(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-f39f7f02","chunk-651089ac"],{"0251":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyMetaData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyMetaDataInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyMetaData"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"industry"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessDescription"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"website"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:226}};n.loc.source={body:"mutation updateCompanyMetaData($input: UpdateCompanyMetaDataInput!) {\n  updateCompanyMetaData(input: $input) {\n    id\n    meta {\n      industry\n      businessDescription\n    }\n    links {\n      website\n    }\n    country\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyMetaData"]=r(n,"updateCompanyMetaData")},"028d":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getSocialMediaConnections"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"socialMediaConnections"},name:{kind:"Name",value:"getSocialMediaConnections"},arguments:[],directives:[]}]}}],loc:{start:0,end:88}};n.loc.source={body:"query getSocialMediaConnections {\n  socialMediaConnections: getSocialMediaConnections\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["getSocialMediaConnections"]=r(n,"getSocialMediaConnections")},"02c3":function(e,t,n){"use strict";n("84c7")},"02f3":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteUser"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[]}]}}],loc:{start:0,end:57}};n.loc.source={body:"mutation deleteUser($id: ID!) {\n  deleteUser(id: $id) \n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["deleteUser"]=r(n,"deleteUser")},"035e":function(e,t,n){"use strict";n("1002")},"0393":function(e,t,n){"use strict";var i=n("5530"),a=(n("0481"),n("4069"),n("210b"),n("604c")),s=n("d9bd");t["a"]=a["a"].extend({name:"v-expansion-panels",provide:function(){return{expansionPanels:this}},props:{accordion:Boolean,disabled:Boolean,flat:Boolean,hover:Boolean,focusable:Boolean,inset:Boolean,popout:Boolean,readonly:Boolean,tile:Boolean},computed:{classes:function(){return Object(i["a"])(Object(i["a"])({},a["a"].options.computed.classes.call(this)),{},{"v-expansion-panels":!0,"v-expansion-panels--accordion":this.accordion,"v-expansion-panels--flat":this.flat,"v-expansion-panels--hover":this.hover,"v-expansion-panels--focusable":this.focusable,"v-expansion-panels--inset":this.inset,"v-expansion-panels--popout":this.popout,"v-expansion-panels--tile":this.tile})}},created:function(){this.$attrs.hasOwnProperty("expand")&&Object(s["a"])("expand","multiple",this),Array.isArray(this.value)&&this.value.length>0&&"boolean"===typeof this.value[0]&&Object(s["a"])(':value="[true, false, true]"',':value="[0, 2]"',this)},methods:{updateItem:function(e,t){var n=this.getValue(e,t),i=this.getValue(e,t+1);e.isActive=this.toggleMethod(n),e.nextIsActive=this.toggleMethod(i)}}})},"039a":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"CreateEmailChangeRequest"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateEmailChangeRequestInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"newEmail"},name:{kind:"Name",value:"createEmailChangeRequest"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:128}};n.loc.source={body:"mutation CreateEmailChangeRequest($input: CreateEmailChangeRequestInput!){\n  newEmail: createEmailChangeRequest(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["CreateEmailChangeRequest"]=r(n,"CreateEmailChangeRequest")},"03a4":function(e,t,n){"use strict";var i=n("5530"),a=(n("a9e3"),n("caad"),n("2532"),n("b64b"),n("0481"),n("4069"),n("bb18"),n("8dd9")),s=(n("99af"),n("7863"),n("ade3")),r=(n("d81d"),n("498a"),n("d3b7"),n("25f0"),n("b680"),n("9e29"),n("c37a")),o=n("0789"),l=n("58df"),c=n("297c"),d=n("a293"),u=n("80d2"),m=n("d9bd"),f=Object(l["a"])(r["a"],c["a"]).extend({name:"v-slider",directives:{ClickOutside:d["a"]},mixins:[c["a"]],props:{disabled:Boolean,inverseLabel:Boolean,max:{type:[Number,String],default:100},min:{type:[Number,String],default:0},step:{type:[Number,String],default:1},thumbColor:String,thumbLabel:{type:[Boolean,String],default:void 0,validator:function(e){return"boolean"===typeof e||"always"===e}},thumbSize:{type:[Number,String],default:32},tickLabels:{type:Array,default:function(){return[]}},ticks:{type:[Boolean,String],default:!1,validator:function(e){return"boolean"===typeof e||"always"===e}},tickSize:{type:[Number,String],default:2},trackColor:String,trackFillColor:String,value:[Number,String],vertical:Boolean},data:function(){return{app:null,oldValue:null,thumbPressed:!1,mouseTimeout:-1,isFocused:!1,isActive:!1,noClick:!1,startOffset:0}},computed:{classes:function(){return Object(i["a"])(Object(i["a"])({},r["a"].options.computed.classes.call(this)),{},{"v-input__slider":!0,"v-input__slider--vertical":this.vertical,"v-input__slider--inverse-label":this.inverseLabel})},internalValue:{get:function(){return this.lazyValue},set:function(e){e=isNaN(e)?this.minValue:e;var t=this.roundValue(Math.min(Math.max(e,this.minValue),this.maxValue));t!==this.lazyValue&&(this.lazyValue=t,this.$emit("input",t))}},trackTransition:function(){return this.thumbPressed?this.showTicks||this.stepNumeric?"0.1s cubic-bezier(0.25, 0.8, 0.5, 1)":"none":""},minValue:function(){return parseFloat(this.min)},maxValue:function(){return parseFloat(this.max)},stepNumeric:function(){return this.step>0?parseFloat(this.step):0},inputWidth:function(){var e=(this.roundValue(this.internalValue)-this.minValue)/(this.maxValue-this.minValue)*100;return isNaN(e)?0:e},trackFillStyles:function(){var e,t=this.vertical?"bottom":"left",n=this.vertical?"top":"right",i=this.vertical?"height":"width",a=this.$vuetify.rtl?"auto":"0",r=this.$vuetify.rtl?"0":"auto",o=this.isDisabled?"calc(".concat(this.inputWidth,"% - 10px)"):"".concat(this.inputWidth,"%");return e={transition:this.trackTransition},Object(s["a"])(e,t,a),Object(s["a"])(e,n,r),Object(s["a"])(e,i,o),e},trackStyles:function(){var e,t=this.vertical?this.$vuetify.rtl?"bottom":"top":this.$vuetify.rtl?"left":"right",n=this.vertical?"height":"width",i="0px",a=this.isDisabled?"calc(".concat(100-this.inputWidth,"% - 10px)"):"calc(".concat(100-this.inputWidth,"%)");return e={transition:this.trackTransition},Object(s["a"])(e,t,i),Object(s["a"])(e,n,a),e},showTicks:function(){return this.tickLabels.length>0||!(this.isDisabled||!this.stepNumeric||!this.ticks)},numTicks:function(){return Math.ceil((this.maxValue-this.minValue)/this.stepNumeric)},showThumbLabel:function(){return!this.isDisabled&&!(!this.thumbLabel&&!this.$scopedSlots["thumb-label"])},computedTrackColor:function(){if(!this.isDisabled)return this.trackColor?this.trackColor:this.isDark?this.validationState:this.validationState||"primary lighten-3"},computedTrackFillColor:function(){if(!this.isDisabled)return this.trackFillColor?this.trackFillColor:this.validationState||this.computedColor},computedThumbColor:function(){return this.thumbColor?this.thumbColor:this.validationState||this.computedColor}},watch:{min:function(e){var t=parseFloat(e);t>this.internalValue&&this.$emit("input",t)},max:function(e){var t=parseFloat(e);t<this.internalValue&&this.$emit("input",t)},value:{handler:function(e){this.internalValue=e},immediate:!0}},mounted:function(){this.app=document.querySelector("[data-app]")||Object(m["c"])("Missing v-app or a non-body wrapping element with the [data-app] attribute",this)},methods:{genDefaultSlot:function(){var e=[this.genLabel()],t=this.genSlider();return this.inverseLabel?e.unshift(t):e.push(t),e.push(this.genProgress()),e},genSlider:function(){return this.$createElement("div",{class:Object(i["a"])({"v-slider":!0,"v-slider--horizontal":!this.vertical,"v-slider--vertical":this.vertical,"v-slider--focused":this.isFocused,"v-slider--active":this.isActive,"v-slider--disabled":this.isDisabled,"v-slider--readonly":this.isReadonly},this.themeClasses),directives:[{name:"click-outside",value:this.onBlur}],on:{click:this.onSliderClick,mousedown:this.onSliderMouseDown,touchstart:this.onSliderMouseDown}},this.genChildren())},genChildren:function(){return[this.genInput(),this.genTrackContainer(),this.genSteps(),this.genThumbContainer(this.internalValue,this.inputWidth,this.isActive,this.isFocused,this.onFocus,this.onBlur)]},genInput:function(){return this.$createElement("input",{attrs:Object(i["a"])({value:this.internalValue,id:this.computedId,disabled:!0,readonly:!0,tabindex:-1},this.$attrs)})},genTrackContainer:function(){var e=[this.$createElement("div",this.setBackgroundColor(this.computedTrackColor,{staticClass:"v-slider__track-background",style:this.trackStyles})),this.$createElement("div",this.setBackgroundColor(this.computedTrackFillColor,{staticClass:"v-slider__track-fill",style:this.trackFillStyles}))];return this.$createElement("div",{staticClass:"v-slider__track-container",ref:"track"},e)},genSteps:function(){var e=this;if(!this.step||!this.showTicks)return null;var t=parseFloat(this.tickSize),n=Object(u["i"])(this.numTicks+1),i=this.vertical?"bottom":this.$vuetify.rtl?"right":"left",a=this.vertical?this.$vuetify.rtl?"left":"right":"top";this.vertical&&n.reverse();var r=n.map((function(n){var r,o=[];e.tickLabels[n]&&o.push(e.$createElement("div",{staticClass:"v-slider__tick-label"},e.tickLabels[n]));var l=n*(100/e.numTicks),c=e.$vuetify.rtl?100-e.inputWidth<l:l<e.inputWidth;return e.$createElement("span",{key:n,staticClass:"v-slider__tick",class:{"v-slider__tick--filled":c},style:(r={width:"".concat(t,"px"),height:"".concat(t,"px")},Object(s["a"])(r,i,"calc(".concat(l,"% - ").concat(t/2,"px)")),Object(s["a"])(r,a,"calc(50% - ".concat(t/2,"px)")),r)},o)}));return this.$createElement("div",{staticClass:"v-slider__ticks-container",class:{"v-slider__ticks-container--always-show":"always"===this.ticks||this.tickLabels.length>0}},r)},genThumbContainer:function(e,t,n,i,a,s){var r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"thumb",o=[this.genThumb()],l=this.genThumbLabelContent(e);return this.showThumbLabel&&o.push(this.genThumbLabel(l)),this.$createElement("div",this.setTextColor(this.computedThumbColor,{ref:r,key:r,staticClass:"v-slider__thumb-container",class:{"v-slider__thumb-container--active":n,"v-slider__thumb-container--focused":i,"v-slider__thumb-container--show-label":this.showThumbLabel},style:this.getThumbContainerStyles(t),attrs:{role:"slider",tabindex:this.isDisabled?-1:this.$attrs.tabindex?this.$attrs.tabindex:0,"aria-label":this.$attrs["aria-label"]||this.label,"aria-valuemin":this.min,"aria-valuemax":this.max,"aria-valuenow":this.internalValue,"aria-readonly":String(this.isReadonly),"aria-orientation":this.vertical?"vertical":"horizontal"},on:{focus:a,blur:s,keydown:this.onKeyDown}}),o)},genThumbLabelContent:function(e){return this.$scopedSlots["thumb-label"]?this.$scopedSlots["thumb-label"]({value:e}):[this.$createElement("span",[String(e)])]},genThumbLabel:function(e){var t=Object(u["h"])(this.thumbSize),n=this.vertical?"translateY(20%) translateY(".concat(Number(this.thumbSize)/3-1,"px) translateX(55%) rotate(135deg)"):"translateY(-20%) translateY(-12px) translateX(-50%) rotate(45deg)";return this.$createElement(o["e"],{props:{origin:"bottom center"}},[this.$createElement("div",{staticClass:"v-slider__thumb-label-container",directives:[{name:"show",value:this.isFocused||this.isActive||"always"===this.thumbLabel}]},[this.$createElement("div",this.setBackgroundColor(this.computedThumbColor,{staticClass:"v-slider__thumb-label",style:{height:t,width:t,transform:n}}),[this.$createElement("div",e)])])])},genThumb:function(){return this.$createElement("div",this.setBackgroundColor(this.computedThumbColor,{staticClass:"v-slider__thumb"}))},getThumbContainerStyles:function(e){var t=this.vertical?"top":"left",n=this.$vuetify.rtl?100-e:e;return n=this.vertical?100-n:n,Object(s["a"])({transition:this.trackTransition},t,"".concat(n,"%"))},onSliderMouseDown:function(e){var t,n=this;if(e.preventDefault(),this.oldValue=this.internalValue,this.isActive=!0,null===(t=e.target)||void 0===t?void 0:t.matches(".v-slider__thumb-container, .v-slider__thumb-container *")){this.thumbPressed=!0;var i=e.target.getBoundingClientRect(),a="touches"in e?e.touches[0]:e;this.startOffset=this.vertical?a.clientY-(i.top+i.height/2):a.clientX-(i.left+i.width/2)}else this.startOffset=0,window.clearTimeout(this.mouseTimeout),this.mouseTimeout=window.setTimeout((function(){n.thumbPressed=!0}),300);var s=!u["C"]||{passive:!0,capture:!0},r=!!u["C"]&&{passive:!0},o="touches"in e;this.onMouseMove(e),this.app.addEventListener(o?"touchmove":"mousemove",this.onMouseMove,r),Object(u["a"])(this.app,o?"touchend":"mouseup",this.onSliderMouseUp,s),this.$emit("start",this.internalValue)},onSliderMouseUp:function(e){e.stopPropagation(),window.clearTimeout(this.mouseTimeout),this.thumbPressed=!1;var t=!!u["C"]&&{passive:!0};this.app.removeEventListener("touchmove",this.onMouseMove,t),this.app.removeEventListener("mousemove",this.onMouseMove,t),this.$emit("mouseup",e),this.$emit("end",this.internalValue),Object(u["k"])(this.oldValue,this.internalValue)||(this.$emit("change",this.internalValue),this.noClick=!0),this.isActive=!1},onMouseMove:function(e){"mousemove"===e.type&&(this.thumbPressed=!0),this.internalValue=this.parseMouseMove(e)},onKeyDown:function(e){if(this.isInteractive){var t=this.parseKeyDown(e,this.internalValue);null==t||t<this.minValue||t>this.maxValue||(this.internalValue=t,this.$emit("change",t))}},onSliderClick:function(e){if(this.noClick)this.noClick=!1;else{var t=this.$refs.thumb;t.focus(),this.onMouseMove(e),this.$emit("change",this.internalValue)}},onBlur:function(e){this.isFocused=!1,this.$emit("blur",e)},onFocus:function(e){this.isFocused=!0,this.$emit("focus",e)},parseMouseMove:function(e){var t=this.vertical?"top":"left",n=this.vertical?"height":"width",i=this.vertical?"clientY":"clientX",a=this.$refs.track.getBoundingClientRect(),s=a[t],r=a[n],o="touches"in e?e.touches[0][i]:e[i],l=Math.min(Math.max((o-s-this.startOffset)/r,0),1)||0;return this.vertical&&(l=1-l),this.$vuetify.rtl&&(l=1-l),parseFloat(this.min)+l*(this.maxValue-this.minValue)},parseKeyDown:function(e,t){if(this.isInteractive){var n=u["y"].pageup,i=u["y"].pagedown,a=u["y"].end,s=u["y"].home,r=u["y"].left,o=u["y"].right,l=u["y"].down,c=u["y"].up;if([n,i,a,s,r,o,l,c].includes(e.keyCode)){e.preventDefault();var d=this.stepNumeric||1,m=(this.maxValue-this.minValue)/d;if([r,o,l,c].includes(e.keyCode)){var f=this.$vuetify.rtl?[r,c]:[o,c],p=f.includes(e.keyCode)?1:-1,v=e.shiftKey?3:e.ctrlKey?2:1;t+=p*d*v}else if(e.keyCode===s)t=this.minValue;else if(e.keyCode===a)t=this.maxValue;else{var g=e.keyCode===i?1:-1;t-=g*d*(m>100?m/10:10)}return t}}},roundValue:function(e){if(!this.stepNumeric)return e;var t=this.step.toString().trim(),n=t.indexOf(".")>-1?t.length-t.indexOf(".")-1:0,i=this.minValue%this.stepNumeric,a=Math.round((e-i)/this.stepNumeric)*this.stepNumeric+i;return parseFloat(Math.min(a,this.maxValue).toFixed(n))}}}),p=n("7bc6"),v=n("2b0e"),g=n("15fd"),h=n("53ca"),b=["a"];function k(e){e=Object(i["a"])({},e);var t=Object(p["c"])(e),n=Object(p["b"])(e),a=Object(p["d"])(e);return{alpha:e.a,hex:t.substr(0,7),hexa:t,hsla:n,hsva:e,hue:e.h,rgba:a}}function y(e){var t=Object(p["a"])(e),n=Object(p["c"])(t),i=Object(p["d"])(t);return{alpha:t.a,hex:n.substr(0,7),hexa:n,hsla:e,hsva:t,hue:t.h,rgba:i}}function C(e){var t=Object(p["g"])(e),n=Object(p["h"])(e),i=Object(p["b"])(t);return{alpha:t.a,hex:n.substr(0,7),hexa:n,hsla:i,hsva:t,hue:t.h,rgba:e}}function S(e){var t=Object(p["e"])(e),n=Object(p["b"])(t),i=Object(p["d"])(t);return{alpha:t.a,hex:e.substr(0,7),hexa:e,hsla:n,hsva:t,hue:t.h,rgba:i}}function x(e){return S(Object(p["o"])(e))}function w(e,t){return t.every((function(t){return e.hasOwnProperty(t)}))}function N(e,t){if(!e)return C({r:255,g:0,b:0,a:1});if("string"===typeof e){if("transparent"===e)return S("#00000000");var n=Object(p["o"])(e);return t&&n===t.hexa?t:S(n)}if("object"===Object(h["a"])(e)){if(e.hasOwnProperty("alpha"))return e;var a=e.hasOwnProperty("a")?parseFloat(e.a):1;if(w(e,["r","g","b"]))return t&&e===t.rgba?t:C(Object(i["a"])(Object(i["a"])({},e),{},{a:a}));if(w(e,["h","s","l"]))return t&&e===t.hsla?t:y(Object(i["a"])(Object(i["a"])({},e),{},{a:a}));if(w(e,["h","s","v"]))return t&&e===t.hsva?t:k(Object(i["a"])(Object(i["a"])({},e),{},{a:a}))}return C({r:255,g:0,b:0,a:1})}function _(e,t){if(t){e.a;var n=Object(g["a"])(e,b);return n}return e}function $(e,t){if(null==t)return e;if("string"===typeof t)return 7===t.length?e.hex:e.hexa;if("object"===Object(h["a"])(t)){var n="number"===typeof t.a&&0===t.a?!!t.a:!t.a;if(w(t,["r","g","b"]))return _(e.rgba,n);if(w(t,["h","s","l"]))return _(e.hsla,n);if(w(t,["h","s","v"]))return _(e.hsva,n)}return e}function D(e){return!!e&&("string"===typeof e?e.length>7:"object"===Object(h["a"])(e)&&(w(e,["a"])||w(e,["alpha"])))}var E=v["a"].extend({name:"v-color-picker-preview",props:{color:Object,disabled:Boolean,hideAlpha:Boolean},methods:{genAlpha:function(){var e=this;return this.genTrack({staticClass:"v-color-picker__alpha",props:{thumbColor:"grey lighten-2",hideDetails:!0,value:this.color.alpha,step:0,min:0,max:1},style:{backgroundImage:this.disabled?void 0:"linear-gradient(to ".concat(this.$vuetify.rtl?"left":"right",", transparent, ").concat(Object(p["i"])(this.color.rgba),")")},on:{input:function(t){return e.color.alpha!==t&&e.$emit("update:color",k(Object(i["a"])(Object(i["a"])({},e.color.hsva),{},{a:t})))}}})},genSliders:function(){return this.$createElement("div",{staticClass:"v-color-picker__sliders"},[this.genHue(),!this.hideAlpha&&this.genAlpha()])},genDot:function(){return this.$createElement("div",{staticClass:"v-color-picker__dot"},[this.$createElement("div",{style:{background:Object(p["f"])(this.color.rgba)}})])},genHue:function(){var e=this;return this.genTrack({staticClass:"v-color-picker__hue",props:{thumbColor:"grey lighten-2",hideDetails:!0,value:this.color.hue,step:0,min:0,max:360},on:{input:function(t){return e.color.hue!==t&&e.$emit("update:color",k(Object(i["a"])(Object(i["a"])({},e.color.hsva),{},{h:t})))}}})},genTrack:function(e){return this.$createElement(f,Object(i["a"])(Object(i["a"])({class:"v-color-picker__track"},e),{},{props:Object(i["a"])({disabled:this.disabled},e.props)}))}},render:function(e){return e("div",{staticClass:"v-color-picker__preview",class:{"v-color-picker__preview--hide-alpha":this.hideAlpha}},[this.genDot(),this.genSliders()])}}),O=(n("d59f"),v["a"].extend({name:"v-color-picker-canvas",props:{color:{type:Object,default:function(){return C({r:255,g:0,b:0,a:1})}},disabled:Boolean,dotSize:{type:[Number,String],default:10},height:{type:[Number,String],default:150},width:{type:[Number,String],default:300}},data:function(){return{boundingRect:{width:0,height:0,left:0,top:0}}},computed:{dot:function(){return this.color?{x:this.color.hsva.s*parseInt(this.width,10),y:(1-this.color.hsva.v)*parseInt(this.height,10)}:{x:0,y:0}}},watch:{"color.hue":"updateCanvas"},mounted:function(){this.updateCanvas()},methods:{emitColor:function(e,t){var n=this.boundingRect,i=n.left,a=n.top,s=n.width,r=n.height;this.$emit("update:color",k({h:this.color.hue,s:Object(u["f"])(e-i,0,s)/s,v:1-Object(u["f"])(t-a,0,r)/r,a:this.color.alpha}))},updateCanvas:function(){if(this.color){var e=this.$refs.canvas,t=e.getContext("2d");if(t){var n=t.createLinearGradient(0,0,e.width,0);n.addColorStop(0,"hsla(0, 0%, 100%, 1)"),n.addColorStop(1,"hsla(".concat(this.color.hue,", 100%, 50%, 1)")),t.fillStyle=n,t.fillRect(0,0,e.width,e.height);var i=t.createLinearGradient(0,0,0,e.height);i.addColorStop(0,"hsla(0, 0%, 100%, 0)"),i.addColorStop(1,"hsla(0, 0%, 0%, 1)"),t.fillStyle=i,t.fillRect(0,0,e.width,e.height)}}},handleClick:function(e){this.disabled||(this.boundingRect=this.$el.getBoundingClientRect(),this.emitColor(e.clientX,e.clientY))},handleMouseDown:function(e){e.preventDefault(),this.disabled||(this.boundingRect=this.$el.getBoundingClientRect(),window.addEventListener("mousemove",this.handleMouseMove),window.addEventListener("mouseup",this.handleMouseUp))},handleMouseMove:function(e){this.disabled||this.emitColor(e.clientX,e.clientY)},handleMouseUp:function(){window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("mouseup",this.handleMouseUp)},genCanvas:function(){return this.$createElement("canvas",{ref:"canvas",attrs:{width:this.width,height:this.height}})},genDot:function(){var e=parseInt(this.dotSize,10)/2,t=Object(u["h"])(this.dot.x-e),n=Object(u["h"])(this.dot.y-e);return this.$createElement("div",{staticClass:"v-color-picker__canvas-dot",class:{"v-color-picker__canvas-dot--disabled":this.disabled},style:{width:Object(u["h"])(this.dotSize),height:Object(u["h"])(this.dotSize),transform:"translate(".concat(t,", ").concat(n,")")}})}},render:function(e){return e("div",{staticClass:"v-color-picker__canvas",style:{width:Object(u["h"])(this.width),height:Object(u["h"])(this.height)},on:{click:this.handleClick,mousedown:this.handleMouseDown}},[this.genCanvas(),this.genDot()])}})),T=n("3835"),A=(n("8a79"),n("fb6a"),n("9f7f1"),n("afdd")),I=n("9d26"),P={rgba:{inputs:[["r",255,"int"],["g",255,"int"],["b",255,"int"],["a",1,"float"]],from:C},hsla:{inputs:[["h",360,"int"],["s",1,"float"],["l",1,"float"],["a",1,"float"]],from:y},hexa:{from:S}},F=v["a"].extend({name:"v-color-picker-edit",props:{color:Object,disabled:Boolean,hideAlpha:Boolean,hideModeSwitch:Boolean,mode:{type:String,default:"rgba",validator:function(e){return Object.keys(P).includes(e)}}},data:function(){return{modes:P,internalMode:this.mode}},computed:{currentMode:function(){return this.modes[this.internalMode]}},watch:{mode:function(e){this.internalMode=e}},created:function(){this.internalMode=this.mode},methods:{getValue:function(e,t){return"float"===t?Math.round(100*e)/100:"int"===t?Math.round(e):0},parseValue:function(e,t){return"float"===t?parseFloat(e):"int"===t&&parseInt(e,10)||0},changeMode:function(){var e=Object.keys(this.modes),t=e.indexOf(this.internalMode),n=e[(t+1)%e.length];this.internalMode=n,this.$emit("update:mode",n)},genInput:function(e,t,n,i){return this.$createElement("div",{staticClass:"v-color-picker__input"},[this.$createElement("input",{key:e,attrs:t,domProps:{value:n},on:i}),this.$createElement("span",e.toUpperCase())])},genInputs:function(){var e=this;if("hexa"===this.internalMode){var t=this.color.hexa,n=this.hideAlpha&&t.endsWith("FF")?t.substr(0,7):t;return this.genInput("hex",{maxlength:this.hideAlpha?7:9,disabled:this.disabled},n,{change:function(t){var n=t.target;e.$emit("update:color",e.currentMode.from(Object(p["o"])(n.value)))}})}var i=this.hideAlpha?this.currentMode.inputs.slice(0,-1):this.currentMode.inputs;return i.map((function(t){var n=Object(T["a"])(t,3),i=n[0],a=n[1],r=n[2],o=e.color[e.internalMode];return e.genInput(i,{type:"number",min:0,max:a,step:"float"===r?"0.01":"int"===r?"1":void 0,disabled:e.disabled},e.getValue(o[i],r),{input:function(t){var n=t.target,a=e.parseValue(n.value||"0",r);e.$emit("update:color",e.currentMode.from(Object.assign({},o,Object(s["a"])({},i,a)),e.color.alpha))}})}))},genSwitch:function(){return this.$createElement(A["a"],{props:{small:!0,icon:!0,disabled:this.disabled},on:{click:this.changeMode}},[this.$createElement(I["a"],"$unfold")])}},render:function(e){return e("div",{staticClass:"v-color-picker__edit"},[this.genInputs(),!this.hideModeSwitch&&this.genSwitch()])}}),L=(n("31ce"),n("dca8"),Object.freeze({base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"})),V=Object.freeze({base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"}),R=Object.freeze({base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"}),j=Object.freeze({base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"}),U=Object.freeze({base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"}),B=Object.freeze({base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"}),M=Object.freeze({base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"}),q=Object.freeze({base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"}),H=Object.freeze({base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"}),z=Object.freeze({base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"}),G=Object.freeze({base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"}),W=Object.freeze({base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"}),K=Object.freeze({base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"}),Q=Object.freeze({base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"}),Y=Object.freeze({base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"}),Z=Object.freeze({base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"}),X=Object.freeze({base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"}),J=Object.freeze({base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"}),ee=Object.freeze({base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"}),te=Object.freeze({black:"#000000",white:"#ffffff",transparent:"transparent"}),ne=Object.freeze({red:L,pink:V,purple:R,deepPurple:j,indigo:U,blue:B,lightBlue:M,cyan:q,teal:H,green:z,lightGreen:G,lime:W,yellow:K,amber:Q,orange:Y,deepOrange:Z,brown:X,blueGrey:J,grey:ee,shades:te}),ie=n("7560");function ae(e){return Object.keys(e).map((function(t){var n=e[t];return n.base?[n.base,n.darken4,n.darken3,n.darken2,n.darken1,n.lighten1,n.lighten2,n.lighten3,n.lighten4,n.lighten5]:[n.black,n.white,n.transparent]}))}var se=x("#FFFFFF").rgba,re=x("#000000").rgba,oe=Object(l["a"])(ie["a"]).extend({name:"v-color-picker-swatches",props:{swatches:{type:Array,default:function(){return ae(ne)}},disabled:Boolean,color:Object,maxWidth:[Number,String],maxHeight:[Number,String]},methods:{genColor:function(e){var t=this,n=this.$createElement("div",{style:{background:e}},[Object(u["k"])(this.color,N(e,null))&&this.$createElement(I["a"],{props:{small:!0,dark:Object(p["l"])(this.color.rgba,se)>2&&this.color.alpha>.5,light:Object(p["l"])(this.color.rgba,re)>2&&this.color.alpha>.5}},"$success")]);return this.$createElement("div",{staticClass:"v-color-picker__color",on:{click:function(){return t.disabled||t.$emit("update:color",x("transparent"===e?"#00000000":e))}}},[n])},genSwatches:function(){var e=this;return this.swatches.map((function(t){var n=t.map(e.genColor);return e.$createElement("div",{staticClass:"v-color-picker__swatch"},n)}))}},render:function(e){return e("div",{staticClass:"v-color-picker__swatches",style:{maxWidth:Object(u["h"])(this.maxWidth),maxHeight:Object(u["h"])(this.maxHeight)}},[this.$createElement("div",this.genSwatches())])}}),le=n("c995");t["a"]=Object(l["a"])(le["a"],ie["a"]).extend({name:"v-color-picker",props:{canvasHeight:{type:[String,Number],default:150},disabled:Boolean,dotSize:{type:[Number,String],default:10},flat:Boolean,hideCanvas:Boolean,hideSliders:Boolean,hideInputs:Boolean,hideModeSwitch:Boolean,mode:{type:String,default:"rgba",validator:function(e){return Object.keys(P).includes(e)}},showSwatches:Boolean,swatches:Array,swatchesMaxHeight:{type:[Number,String],default:150},value:{type:[Object,String]},width:{type:[Number,String],default:300}},data:function(){return{internalValue:C({r:255,g:0,b:0,a:1})}},computed:{hideAlpha:function(){return!!this.value&&!D(this.value)}},watch:{value:{handler:function(e){this.updateColor(N(e,this.internalValue))},immediate:!0}},methods:{updateColor:function(e){this.internalValue=e;var t=$(this.internalValue,this.value);Object(u["k"])(t,this.value)||(this.$emit("input",t),this.$emit("update:color",this.internalValue))},genCanvas:function(){return this.$createElement(O,{props:{color:this.internalValue,disabled:this.disabled,dotSize:this.dotSize,width:this.width,height:this.canvasHeight},on:{"update:color":this.updateColor}})},genControls:function(){return this.$createElement("div",{staticClass:"v-color-picker__controls"},[!this.hideSliders&&this.genPreview(),!this.hideInputs&&this.genEdit()])},genEdit:function(){var e=this;return this.$createElement(F,{props:{color:this.internalValue,disabled:this.disabled,hideAlpha:this.hideAlpha,hideModeSwitch:this.hideModeSwitch,mode:this.mode},on:{"update:color":this.updateColor,"update:mode":function(t){return e.$emit("update:mode",t)}}})},genPreview:function(){return this.$createElement(E,{props:{color:this.internalValue,disabled:this.disabled,hideAlpha:this.hideAlpha},on:{"update:color":this.updateColor}})},genSwatches:function(){return this.$createElement(oe,{props:{dark:this.dark,light:this.light,disabled:this.disabled,swatches:this.swatches,color:this.internalValue,maxHeight:this.swatchesMaxHeight},on:{"update:color":this.updateColor}})}},render:function(e){return e(a["a"],{staticClass:"v-color-picker",class:Object(i["a"])(Object(i["a"])({"v-color-picker--flat":this.flat},this.themeClasses),this.elevationClasses),props:{maxWidth:this.width}},[!this.hideCanvas&&this.genCanvas(),(!this.hideSliders||!this.hideInputs)&&this.genControls(),this.showSwatches&&this.genSwatches()])}})},"074c":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserPhone"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateUserPhoneInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserPhone"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:94}};n.loc.source={body:"mutation UpdateUserPhone ($input: UpdateUserPhoneInput!) {\n  updateUserPhone (input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["UpdateUserPhone"]=r(n,"UpdateUserPhone")},"074f":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorSignatureHTML"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorSignatureHTMLInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAmbassadorSignatureHTML"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:156}};n.loc.source={body:"mutation updateCompanyAmbassadorSignatureHTML($input: UpdateCompanyAmbassadorSignatureHTMLInput!){\n    updateCompanyAmbassadorSignatureHTML(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorSignatureHTML"]=r(n,"updateCompanyAmbassadorSignatureHTML")},"0e8b":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Leads"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"LeadsInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leads"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:76}};n.loc.source={body:"query Leads($input: LeadsInput!) {\n  leads(input: $input) {\n    total\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["Leads"]=r(n,"Leads")},"0fa8":function(e,t,n){},1002:function(e,t,n){},1014:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));n("2ca0"),n("ac1f"),n("1276");var i=function(e){if(e.startsWith("http://")){var t=e.split("http://")[1];return"https://"+t}return e.startsWith("https://")?e:"https://"+e}},"114a5":function(e,t,n){"use strict";n("2a2e")},"11dc":function(e,t,n){"use strict";n("524c")},1641:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"upgradeToBasic"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpgradeToBasicInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"upgradeToBasic"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:89}};n.loc.source={body:"mutation upgradeToBasic($input: UpgradeToBasicInput!) {\n  upgradeToBasic(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["upgradeToBasic"]=r(n,"upgradeToBasic")},"17b7":function(e,t,n){},1877:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"saveOnofficeSelectedContactTypes"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OnofficeSelectedContactTypesInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"config"},name:{kind:"Name",value:"saveOnofficeSelectedContactTypes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isTokenVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"selectedContactTypes"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:209}};n.loc.source={body:"mutation saveOnofficeSelectedContactTypes($input: OnofficeSelectedContactTypesInput!) {\n  config: saveOnofficeSelectedContactTypes(input: $input) {\n    token\n    isTokenVerified\n    selectedContactTypes\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["saveOnofficeSelectedContactTypes"]=r(n,"saveOnofficeSelectedContactTypes")},"194d":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"EmailChangeRequest"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"newEmail"},name:{kind:"Name",value:"emailChangeRequest"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[]}]}}],loc:{start:0,end:81}};n.loc.source={body:"query EmailChangeRequest ($id: ID!) {\n  newEmail: emailChangeRequest (id: $id) \n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["EmailChangeRequest"]=r(n,"EmailChangeRequest")},"19a2":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyCommission"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyCommissionInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyCommission"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:113}};n.loc.source={body:"mutation updateCompanyCommission($input: UpdateCompanyCommissionInput!){\nupdateCompanyCommission(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyCommission"]=r(n,"updateCompanyCommission")},"1b2e":function(e,t,n){"use strict";var i=n("b0af"),a=function(){var e=this,t=e._self._c;return t("step-container",e._g({attrs:{"required-data":e.requiredData,data:e.data,"on-submit":e.submit,"has-steps":e.isOnboarding,"has-changes":e.hasChanges,"hide-secondary-actions":e.hideSecondaryActions}},e.$listeners),[e.isOnboarding?t("publication",{attrs:{data:e.data,"is-onboarding":"","save-ambassador-image":e.saveAmbassadorImage,"save-company-image":e.saveImage,variant:e.variant}}):t(i["a"],{attrs:{flat:""}},[t("publication",{staticClass:"mx-4",attrs:{data:e.data,"save-ambassador-image":e.saveAmbassadorImage,"save-company-image":e.saveImage,variant:e.variant,"delete-company-image":e.deleteImage}})],1)],1)},s=[],r=n("2909"),o=n("1da1"),l=n("5530"),c=(n("96cf"),n("b0c0"),n("e9c4"),n("d3b7"),n("3ca3"),n("ddb0"),n("99af"),n("2b3d"),n("9861"),n("d81d"),n("4de4"),n("b64b"),n("a866")),d=n("b75e"),u=n("7a83"),m=n.n(u),f=n("ede5"),p=n.n(f),v=n("cc9d"),g=n.n(v),h=n("2a70"),b=n.n(h),k=n("5da3"),y=n.n(k),C=n("7317"),S=n.n(C),x=n("7bbd"),w=n.n(x),N=n("dfa6"),_=n.n(N),$=n("0798"),D=n("62ad"),E=n("67b6"),O=n("43a6"),T=n("0fd9"),A=n("8654"),I=function(){var e=this,t=e._self._c;return t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[t("div",{staticClass:"mid-gray"},[t("Feature",{attrs:{"feature-slug":e.featureNames.ONBOARDING_PREVIEW}},[t("div",[e.isOnboarding&&e.data.previewLink?t("div",[t($["a"],{staticClass:"mx-n4",attrs:{type:"info",text:""}},[e._v(" "+e._s(e.$t("onboarding.publication.previewMessage"))+" "),t("a",{attrs:{href:e.data.previewLink,target:"_blank",rel:"noopener noreferrer"}},[e._v(e._s(e.$t("onboarding.publication.previewLinkText")))])])],1):e._e()])]),t("div",[t("h2",{staticClass:"pr-4 ml-n2"},[e._v(" "+e._s(e.$t("onboarding.publication.contactTitle"))+" ")])]),t("div",{staticClass:"pb-4 mb-2"},[t("h4",{staticClass:"pr-4 ml-n2"},[e._v(" "+e._s(e.$t("onboarding.publication.contactSubtitle"))+" ")])]),t(T["a"],{staticClass:"d-flex justify-space-between",class:{"flex-column":e.$vuetify.breakpoint.smAndDown}},[t(D["a"],{staticClass:"pr-0 pa-0 pr-md-2",attrs:{cols:"12",md:"2"}},[t(A["a"],{ref:"ambassador.salutation",attrs:{outlined:"",label:e.$t("onboarding.publication.salutation"),placeholder:e.$t("onboarding.publication.salutationPlaceholder"),"validate-on-blur":""},model:{value:e.data.ambassador.salutation,callback:function(t){e.$set(e.data.ambassador,"salutation",t)},expression:"data.ambassador.salutation"}})],1),t(D["a"],{staticClass:"pr-0 pa-0 pr-md-2",attrs:{cols:"12",md:"5"}},[t(A["a"],{ref:"ambassador.firstname",attrs:{id:"ambassador_firstname",outlined:"",label:e.$t("onboarding.publication.firstname"),placeholder:e.$t("onboarding.publication.firstnamePlaceholder"),"validate-on-blur":"",rules:[e.rules.optionalForOnboarding(e.isOnboarding)]},model:{value:e.data.ambassador.firstname,callback:function(t){e.$set(e.data.ambassador,"firstname",t)},expression:"data.ambassador.firstname"}})],1),t(D["a"],{staticClass:"pa-0",attrs:{cols:"12",md:"5"}},[t(A["a"],{ref:"ambassador.lastname",attrs:{outlined:"",label:e.$t("onboarding.publication.lastname"),placeholder:e.$t("onboarding.publication.lastnamePlaceholder"),"validate-on-blur":"",rules:[e.rules.optionalForOnboarding(e.isOnboarding)]},model:{value:e.data.ambassador.lastname,callback:function(t){e.$set(e.data.ambassador,"lastname",t)},expression:"data.ambassador.lastname"}})],1)],1),t(T["a"],{staticClass:"d-flex justify-space-between"},[t(A["a"],{ref:"ambassador.role",attrs:{outlined:"",label:e.$t("onboarding.publication.role"),placeholder:e.$t("onboarding.publication.rolePlaceholder"),"validate-on-blur":"",rules:[e.rules.optionalForOnboarding(e.isOnboarding)]},model:{value:e.data.ambassador.role,callback:function(t){e.$set(e.data.ambassador,"role",t)},expression:"data.ambassador.role"}})],1),t("div",{staticClass:"pb-4 mb-2"},[t("h4",{staticClass:"pr-4 ml-n2"},[e._v(" "+e._s(e.$t("onboarding.publication.contactDetails"))+" ")])]),t(T["a"],{staticClass:"d-flex justify-space-between"},[t(D["a"],{staticClass:"pr-0 pa-0 pr-md-2",attrs:{cols:"12",sm:"6"}},[t("PhoneField",{attrs:{id:"ambassador_phone",rules:[e.rules.optionalForOnboarding(e.isOnboarding)],"validate-on-blur":""},model:{value:e.data.ambassador.phone,callback:function(t){e.$set(e.data.ambassador,"phone",t)},expression:"data.ambassador.phone"}})],1),t(D["a"],{staticClass:"pa-0 mt-7 mt-md-0",attrs:{cols:"12",sm:"6"}},[t("PhoneField",{attrs:{id:"ambassador_mobile",label:e.$t("onboarding.publication.mobile"),rules:[e.rules.optionalForOnboarding(e.isOnboarding)],"validate-on-blur":""},model:{value:e.data.ambassador.mobile,callback:function(t){e.$set(e.data.ambassador,"mobile",t)},expression:"data.ambassador.mobile"}})],1)],1),t(T["a"],{staticClass:"d-flex justify-space-between py-4 mt-7 mt-md-5"},[t(A["a"],{ref:"ambassador.email",attrs:{type:"email",outlined:"",label:e.$t("onboarding.publication.email"),placeholder:e.$t("onboarding.publication.emailPlaceholder"),rules:[e.rules.email,e.rules.optionalForOnboarding(e.isOnboarding)],"validate-on-blur":"",disabled:!e.isOnboarding},model:{value:e.data.ambassador.email,callback:function(t){e.$set(e.data.ambassador,"email",t)},expression:"data.ambassador.email"}})],1),t("div",{staticClass:"pb-4 mb-2"},[t("h2",{staticClass:"pr-4 ml-n2"},[e._v(" "+e._s(e.$t("onboarding.publication.sloganTitle"))+" ")])]),t(T["a"],[t(A["a"],{ref:"slogan",attrs:{outlined:"",label:e.$t("onboarding.publication.slogan"),placeholder:e.$t("onboarding.publication.sloganPlaceholder"),"validate-on-blur":"",rules:[e.rules.optionalForOnboarding(e.isOnboarding)]},model:{value:e.data.slogan,callback:function(t){e.$set(e.data,"slogan",t)},expression:"data.slogan"}})],1),i.config.isColorEditable?t("div",[t("div",{staticClass:"pb-4"},[t("h2",{staticClass:"pr-4 d-inline"},[e._v(" "+e._s(e.$t("onboarding.publication.colorsTitle"))+" ")])]),t("div",{staticClass:"pb-4"},[t("h4",{staticClass:"pb-4 d-inline"},[e._v(" "+e._s(e.$t("onboarding.publication.colorsSubtitle"))+" ")])]),t(T["a"],[t(D["a"],{staticClass:"pr-2 pa-0 align-center d-flex flex-column",attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"px-4"},[t("h4",[e._v(" "+e._s(e.$t("onboarding.publication.primaryColor"))+" ")]),t("ColorPicker",{model:{value:e.data.theme.colors.primary,callback:function(t){e.$set(e.data.theme.colors,"primary",t)},expression:"data.theme.colors.primary"}})],1)]),t(D["a"],{staticClass:"pr-2 pa-0 align-center d-flex flex-column",attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"px-4"},[t("h4",[e._v(" "+e._s(e.$t("onboarding.publication.secondaryColor"))+" ")]),t("ColorPicker",{model:{value:e.data.theme.colors.secondary,callback:function(t){e.$set(e.data.theme.colors,"secondary",t)},expression:"data.theme.colors.secondary"}})],1)])],1)],1):e._e(),t("div",{staticClass:"pt-4 pb-4"},[t("h2",{staticClass:"pr-4 ml-n2"},[e._v(" "+e._s(e.$t("onboarding.publication.imagesTitle"))+" ")])]),t(T["a"],e._l(e.imageArray,(function(n){return t(D["a"],{key:n.name,attrs:{cols:"12",md:"6"}},[t("ImageContainer",e._b({attrs:{"save-image":e.saveImage,"delete-image":e.deleteImage}},"ImageContainer",n,!1))],1)})),1),t("Feature",{attrs:{"feature-slug":e.featureNames.CONTRACT}},[t("div",[e.isOnboarding?t("div",{staticClass:"pt-4"},[t("h2",{staticClass:"pr-4 d-inline"},[e._v(" "+e._s(e.$t("onboarding.publication.logoApprovalTitle"))+" ")])]):e._e(),e.isOnboarding?t(T["a"],[t(D["a"],[t("h4",{staticClass:"pb-4"},[e._v(" "+e._s(e.$t("onboarding.publication.logoApprovalSubtitle"))+" ")]),t(O["a"],{attrs:{row:"",rules:[e.rules.optionalBooleanForOnboarding(e.isOnboarding)]},model:{value:e.data.isReferenceCustomer,callback:function(t){e.$set(e.data,"isReferenceCustomer",t)},expression:"data.isReferenceCustomer"}},[t(E["a"],{attrs:{label:e.$t("onboarding.publication.logoApprovalYes"),value:!0}}),t(E["a"],{attrs:{label:e.$t("onboarding.publication.logoApprovalNo"),value:!1}})],1)],1)],1):e._e()],1)])],1)]}}])})},P=[],F=n("65e0"),L=n("03a4"),V=n("b675"),R=function(){var e=this,t=e._self._c;return t("div",[t(L["a"],e._g({attrs:{mode:"hexa","hide-mode-switch":""},model:{value:e.model,callback:function(t){e.model=t},expression:"model"}},e.$listeners)),t(V["a"],{staticClass:"hidden",attrs:{type:"number",value:e.brightness,rules:[e.hasSufficientContrast]}}),e.brightness>e.maxBrightness?t($["a"],{attrs:{type:"error",text:""}},[e._v(" "+e._s(e.$t("colorPicker.lowContrastAlert"))+" ")]):t($["a"],{staticClass:"font-weight-bold",attrs:{dark:"",color:e.model}},[e._v(" "+e._s(e.$t("colorPicker.sufficientContrastAlert"))+" ")])],1)},j=[],U=(n("a9e3"),n("ac1f"),{props:{maxBrightness:{type:Number,default:186},value:{type:String,default:"#000000"}},data:function(){return{model:this.value}},computed:{brightness:function(){var e=this.hexToRgb(this.model),t=e.red,n=e.green,i=e.blue;return.299*t+.587*n+.114*i}},methods:{hexToRgb:function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{red:parseInt(t[1],16),green:parseInt(t[2],16),blue:parseInt(t[3],16)}:{red:0,green:0,blue:0}},hasSufficientContrast:function(){return this.brightness<=this.maxBrightness}}}),B=U,M=n("2877"),q=Object(M["a"])(B,R,j,!1,null,null,null),H=q.exports,z=n("8036"),G=n("b9aa"),W={DV1:"v1",CHV1:"v1",ATV1:"v1",DV2:"v2",CHV2:"v2",DV3:"v3",DV4:"v4",REMAX:"remax",VOLKSBANK:"voba"};function K(e){var t=e.variant,n=e.lpSlug,i=e.useDefault,a=void 0!==i&&i,s=a||!W[t]?"hero.jpg?w=500":"hero-".concat(W[t],".jpg?w=500");return"https://static.bottimmo.com/images/assets/".concat(n,"/").concat(s)}var Q={components:{ColorPicker:H,PhoneField:z["a"],ImageContainer:G["a"]},mixins:[c["a"]],props:{data:{type:Object,default:function(){return{}}},isOnboarding:{type:Boolean,default:!1},saveAmbassadorImage:{type:Function,required:!0},saveCompanyImage:{type:Function,required:!0},deleteCompanyImage:{type:Function,default:function(){}},variant:{type:String,default:""}},data:function(){return{images:{},ambassadorImages:{},defaultSignatures:{text:"default text",html:"<h3>default html</h3>"},previewHTMLSignature:!1,previewTextSignature:!1}},computed:{hasLpValuationHero:function(){return this.getFeature(this.featureNames.VALUATION).config.hasLpValuationHero},valuationHeroImage:function(){var e,t,n;return(null===(e=this.data)||void 0===e||null===(t=e.images)||void 0===t||null===(n=t.lpValuationHero)||void 0===n?void 0:n.url)||K({variant:this.variant,lpSlug:"immobilienbewertung",useDefault:!this.hasLpValuationHero})},imageArray:function(){var e,t,n;return[{name:"logo",title:this.$t("onboarding.publication.logo"),src:this.images.logo||this.data.images.logo.url,disabled:!(null!==(e=this.getFeature(this.featureNames.COMPANY))&&void 0!==e&&null!==(t=e.config)&&void 0!==t&&t.isLogoEditable),minHeight:100,minWidth:1200},{name:"team",title:this.$t("onboarding.publication.teamImage"),src:this.images.team||this.data.images.team.url,minHeight:800,minWidth:1200,ratio:1.5,disabled:!0},{name:"image",title:this.$t("onboarding.publication.portrait"),src:this.ambassadorImages.image||(null===(n=this.data.ambassador.image)||void 0===n?void 0:n.url),minHeight:1200,minWidth:1200,ratio:1},{name:"region",title:this.$t("onboarding.publication.regionImage"),src:this.images.region||this.data.images.region.url,minHeight:800,minWidth:1200,ratio:1.5,disabled:this.isOnboarding},{name:"lpValuationHero",title:this.$t("onboarding.publication.valuationHeroImage"),src:this.images.lpValuationHero||this.valuationHeroImage,minHeight:650,minWidth:1950,ratio:3,disabled:!this.hasLpValuationHero||this.isOnboarding,askForImageRights:!0,canDeleteImage:!0}].filter((function(e){var t=e.disabled;return!t}))}},created:function(){this.rules={email:F["b"],optionalForOnboarding:F["l"],optionalBooleanForOnboarding:F["k"]}},methods:{saveImage:function(e,t){"image"===t?this.saveImageAmbassador(e,t):(this.$set(this.images,t,URL.createObjectURL(e)),this.saveCompanyImage(e,t))},deleteImage:function(e){this.$set(this.images,e,null),this.deleteCompanyImage(e)},saveImageAmbassador:function(e,t){this.$set(this.ambassadorImages,t,URL.createObjectURL(e)),this.saveAmbassadorImage(e,t)}}},Y=Q,Z=Object(M["a"])(Y,I,P,!1,null,null,null),X=Z.exports,J=n("8fcf"),ee={components:{StepContainer:d["a"],Publication:X},mixins:[c["a"]],props:{companyId:{type:String,required:!0},slogan:{type:String,default:""},ambassador:{type:Object,required:!0},theme:{type:Object,required:!0},images:{type:Object,required:!0},isReferenceCustomer:{type:Boolean,default:function(){return null}},isOnboarding:{type:Boolean,default:!1},previewLink:{type:String,default:""},variant:{type:String,default:""},name:{type:String,default:""},links:{type:Object,default:function(){return{website:""}}},address:{type:Object,default:function(){return{street:"",zip:"",city:""}}},mailProvider:{type:String,default:null},hideSecondaryActions:{type:Boolean,default:!1}},data:function(){return{data:{companyId:this.companyId,slogan:this.slogan,ambassador:this.ambassador,theme:this.theme,images:this.images,isReferenceCustomer:this.isReferenceCustomer,isOnboarding:this.isOnboarding,previewLink:this.previewLink,name:this.name,links:this.links,address:this.address,mailProvider:this.mailProvider}}},computed:{refetchPendingChanges:function(){return{query:w.a,variables:{companyId:this.companyId}}},refetchCompany:function(){return{query:_.a,variables:{id:this.companyId}}}},methods:{requiredData:function(e){var t=e.slogan,n=e.ambassador,i=n.firstname,a=n.lastname,s=n.role,r=n.phone,o=n.email,c=n.mobile,d=n.image.url,u=e.theme.colors,m=u.primary,f=u.secondary,p=e.images.logo.url;return Object(l["a"])({slogan:t,firstname:i,lastname:a,role:s,phone:r,email:o,imageUrl:d,primary:m,secondary:f,mobile:c},this.isLogoRequired()&&{logoUrl:p})},isLogoRequired:function(){var e=this.getFeature("company");return e.config.isLogoEditable},hasChanges:function(e,t){var n=e.images,i=e.slogan,a=e.ambassador,s=e.theme,r=e.isReferenceCustomer,o=e.isOnboarding,l=t.images,c=t.slogan,d=t.ambassador,u=t.theme,m=t.isReferenceCustomer,f=t.isOnboarding;return JSON.stringify({images:n,slogan:i,ambassador:a,theme:s,isReferenceCustomer:r,isOnboarding:o})!==JSON.stringify({images:l,slogan:c,ambassador:d,theme:u,isReferenceCustomer:m,isOnboarding:f})},submit:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,Promise.all([t.updateAmbassador(e.ambassador),t.updateImages(),t.updateColors(e.theme.colors),t.updateSlogan(e.slogan)].concat(Object(r["a"])(t.isOnboarding?[t.updateIsReferenceCustomer(e.isReferenceCustomer)]:[])));case 2:case"end":return n.stop()}}),n)})))()},updateColors:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){var i,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=e.primary,a=e.secondary,n.next=3,t.$apollo.mutate({mutation:p.a,variables:{input:{companyId:t.companyId,colors:{primary:i,secondary:a}}},refetchQueries:[t.refetchPendingChanges]});case 3:case"end":return n.stop()}}),n)})))()},updateSlogan:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e){n.next=2;break}return n.abrupt("return");case 2:return n.next=4,t.$apollo.mutate({mutation:y.a,variables:{input:{companyId:t.companyId,slogan:e}},refetchQueries:[t.refetchPendingChanges]});case 4:case"end":return n.stop()}}),n)})))()},updateIsReferenceCustomer:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$apollo.mutate({mutation:S.a,variables:{input:{companyId:t.companyId,isReferenceCustomer:Boolean(e)}},refetchQueries:[t.refetchPendingChanges]});case 2:case"end":return n.stop()}}),n)})))()},saveAmbassadorImage:function(e,t){this.$set(this.data.ambassador[t],"file",e),this.$set(this.data.ambassador[t],"url",URL.createObjectURL(e))},saveImage:function(e,t){this.$set(this.data.images[t],"file",e),this.$set(this.data.images[t],"url",URL.createObjectURL(e))},updateImages:function(){var e=this;return Object(o["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=Object.keys(e.data.images).filter((function(t){return e.data.images[t].file})).map((function(t){return{type:t,image:{id:e.data.images[t].id,file:e.data.images[t].file}}})),t.next=3,e.$apollo.mutate({mutation:g.a,variables:{input:{companyId:e.companyId,images:n}},update:function(t,n){var i=n.data.updateOnboardingCompanyImages,a=t.readQuery({query:_.a,variables:{id:e.companyId}});a.company.images=i.images,t.writeQuery({query:_.a,data:a,variables:{id:e.companyId}})},refetchQueries:[e.refetchPendingChanges]});case 3:J["a"].$emit(J["b"].TRIGGER_ANIMATION);case 4:case"end":return t.stop()}}),t)})))()},deleteImage:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!t.data.images[e].id){n.next=4;break}return n.next=3,t.$apollo.mutate({mutation:b.a,variables:{input:{companyId:t.data.companyId,type:e}},update:function(e,t){t.data.deleteCompanyImage;J["a"].$emit(J["b"].SHOW_SNACKBAR,{color:"success",text:"Erfolgreich gelöscht"})},refetchQueries:[t.refetchCompany,t.refetchPendingChanges]});case 3:t.$tracking.event("Settings",t.$tracking.trackingEvents.CLICKED,"Delete Image");case 4:t.data.images[e]={};case 5:case"end":return n.stop()}}),n)})))()},updateAmbassador:function(e){var t=this;return Object(o["a"])(regeneratorRuntime.mark((function n(){var i,a,s,r,o,c,d,u,f,p,v,g;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=e.salutation,a=e.firstname,s=e.lastname,r=e.role,o=e.email,c=e.phone,d=e.mobile,u=e.signature,f=u.text,p=u.html,v=u.customTemplateSignature,g=e.image,n.next=3,t.$apollo.mutate({mutation:m.a,variables:{input:Object(l["a"])({companyId:t.companyId,salutation:i,firstname:a,lastname:s,role:r,email:o,phone:c,mobile:d,signature:{text:f,html:p,customTemplateSignature:v}},g.file&&{image:{id:g.id,file:g.file}})},update:function(e,n){var i=n.data.ambassador,a=e.readQuery({query:_.a,variables:{id:t.companyId}});a.company.ambassador=Object(l["a"])({},i),e.writeQuery({query:_.a,data:a,variables:{id:t.companyId}})},refetchQueries:[t.refetchPendingChanges]});case 3:case"end":return n.stop()}}),n)})))()}}},te=ee,ne=Object(M["a"])(te,a,s,!1,null,null,null);t["a"]=ne.exports},"1f4f":function(e,t,n){"use strict";var i=n("5530"),a=(n("a9e3"),n("8b37"),n("80d2")),s=n("7560"),r=n("58df");t["a"]=Object(r["a"])(s["a"]).extend({name:"v-simple-table",props:{dense:Boolean,fixedHeader:Boolean,height:[Number,String]},computed:{classes:function(){return Object(i["a"])({"v-data-table--dense":this.dense,"v-data-table--fixed-height":!!this.height&&!this.fixedHeader,"v-data-table--fixed-header":this.fixedHeader,"v-data-table--has-top":!!this.$slots.top,"v-data-table--has-bottom":!!this.$slots.bottom},this.themeClasses)}},methods:{genWrapper:function(){return this.$slots.wrapper||this.$createElement("div",{staticClass:"v-data-table__wrapper",style:{height:Object(a["h"])(this.height)}},[this.$createElement("table",Object(a["s"])(this))])}},render:function(e){return e("div",{staticClass:"v-data-table",class:this.classes},[Object(a["s"])(this,"top"),this.genWrapper(),Object(a["s"])(this,"bottom")])}})},"200c":function(e,t,n){"use strict";n("aa44")},"210b":function(e,t,n){},"228e":function(e,t,n){},2332:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"flowfactContactsCount"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FlowfactSelectedContactStatusesInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"flowfactContactsCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"count"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxCount"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"countPerStatus"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:166}};n.loc.source={body:"query flowfactContactsCount($input: FlowfactSelectedContactStatusesInput!) {\n  flowfactContactsCount(input: $input) {\n    count\n    maxCount\n    countPerStatus\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["flowfactContactsCount"]=r(n,"flowfactContactsCount")},2658:function(e,t,n){},"26e4":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"hoppermationSenders"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"senders"},name:{kind:"Name",value:"hoppermationSenders"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDefault"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAcknowledged"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fromEmail"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"replyToEmail"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:202}};n.loc.source={body:"query hoppermationSenders($companyId: ID!) {\n  senders: hoppermationSenders(companyId: $companyId) {\n    id\n    isVerified\n    isDefault\n    isAcknowledged\n    fromEmail\n    replyToEmail\n    name\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["hoppermationSenders"]=r(n,"hoppermationSenders")},2835:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateUser"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateUserInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"role"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:186}};n.loc.source={body:"mutation updateUser($input: UpdateUserInput!) {\n  updateUser(input: $input) {\n    id\n    firstname\n    lastname\n    email\n    phone\n    role {\n      id\n      name\n      slug\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateUser"]=r(n,"updateUser")},2998:function(e,t,n){"use strict";n("228e")},"2a2e":function(e,t,n){},"2a70":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteCompanyImage"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DeleteCompanyImageInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteCompanyImage"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:102}};n.loc.source={body:"mutation deleteCompanyImage($input: DeleteCompanyImageInput!) {\n  deleteCompanyImage(input: $input)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["deleteCompanyImage"]=r(n,"deleteCompanyImage")},"2a78":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"savePropstackSelectedContactStatuses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PropstackSelectedContactStatusesInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"config"},name:{kind:"Name",value:"savePropstackSelectedContactStatuses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isTokenVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"selectedContactStatusIds"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:225}};n.loc.source={body:"mutation savePropstackSelectedContactStatuses($input: PropstackSelectedContactStatusesInput!) {\n  config: savePropstackSelectedContactStatuses(input: $input) {\n    token\n    isTokenVerified\n    selectedContactStatusIds\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["savePropstackSelectedContactStatuses"]=r(n,"savePropstackSelectedContactStatuses")},"2bfd":function(e,t,n){},"2cea":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanySlogan"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanySloganInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanySlogan"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:101}};n.loc.source={body:"mutation updateCompanySlogan($input: UpdateCompanySloganInput!){\nupdateCompanySlogan(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanySlogan"]=r(n,"updateCompanySlogan")},"2fb1":function(e,t,n){},"30f2":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"onboardingMaterialPreview"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companySlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"onboardingMaterialPreview"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companySlug"},value:{kind:"Variable",name:{kind:"Name",value:"companySlug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"preview"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"file"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"landingpageSlug"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:162}};n.loc.source={body:"query onboardingMaterialPreview ($companySlug: String!) {\n  onboardingMaterialPreview (companySlug: $companySlug) {\n    preview\n    file\n    landingpageSlug\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["onboardingMaterialPreview"]=r(n,"onboardingMaterialPreview")},"31ce":function(e,t,n){},"353a":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"onofficeContactTypes"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"onofficeContactTypes"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:117}};n.loc.source={body:"query onofficeContactTypes($companyId: ID!)  {\n  onofficeContactTypes(companyId: $companyId) {\n    id\n    name\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["onofficeContactTypes"]=r(n,"onofficeContactTypes")},"35a6":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateBookedLandingpages"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateBookedLandingpagesInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"company"},name:{kind:"Name",value:"updateBookedLandingpages"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"bookedLandingpageSlugs"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:168}};n.loc.source={body:"mutation updateBookedLandingpages($input: UpdateBookedLandingpagesInput!) {\n  company: updateBookedLandingpages(input: $input) {\n    id\n    bookedLandingpageSlugs\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateBookedLandingpages"]=r(n,"updateBookedLandingpages")},"35c9":function(e,t,n){"use strict";n("b555")},"37f8":function(e,t,n){"use strict";n("bec8")},3970:function(e,t,n){},"3ce4":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createOrUpdateCancelation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateOrUpdateCancelationInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createOrUpdateCancelation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:123}};n.loc.source={body:"mutation createOrUpdateCancelation($input: CreateOrUpdateCancelationInput!) {\n  createOrUpdateCancelation(input: $input)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["createOrUpdateCancelation"]=r(n,"createOrUpdateCancelation")},"3df3":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorPortrait"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorPortraitInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAmbassadorPortrait"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:141}};n.loc.source={body:"mutation updateCompanyAmbassadorPortrait($input: UpdateCompanyAmbassadorPortraitInput!) {\n  updateCompanyAmbassadorPortrait(input: $input)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorPortrait"]=r(n,"updateCompanyAmbassadorPortrait")},4355:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"onofficeContactsCountByType"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"onofficeContactsCountByType"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"countPerStatus"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:93}};n.loc.source={body:"query onofficeContactsCountByType {\n  onofficeContactsCountByType {\n    countPerStatus\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["onofficeContactsCountByType"]=r(n,"onofficeContactsCountByType")},4371:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Company"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"company"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"street"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"about"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imprint"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"privacy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"website"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"slogan"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"regionName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"industry"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessDescription"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:308}};n.loc.source={body:"query Company($id: String) {\n  company(id: $id) {\n    id\n    name\n    country\n    address {\n      city\n      country\n      street\n      zip\n    }\n    links {\n      about\n      imprint\n      privacy\n      website\n    }\n    slogan\n    regionName\n    meta {\n      industry\n      businessDescription\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["Company"]=r(n,"Company")},4529:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"downgradeToBasic"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DowngradeToBasicInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"downgradeToBasic"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:95}};n.loc.source={body:"mutation downgradeToBasic($input: DowngradeToBasicInput!) {\n  downgradeToBasic(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["downgradeToBasic"]=r(n,"downgradeToBasic")},"459f":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Settings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"company"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isPhoneOptional"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enabledPhoneVerification"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"VALUATION"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"plotValuation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"showInPropertyValuation"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"lead"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postalShipping"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allGuides"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"activeLandingpages"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:349}};n.loc.source={body:"query Settings ($companyId: String) {\n  settings (companyId: $companyId) {\n    company {\n      isPhoneOptional\n      enabledPhoneVerification {\n        VALUATION\n      }\n      plotValuation {\n        showInPropertyValuation\n      }\n    }\n    lead {\n      postalShipping {\n        type\n        allGuides\n        activeLandingpages\n      }\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["Settings"]=r(n,"Settings")},4668:function(e,t,n){"use strict";n("3970")},"46af":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorPhone"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorPhoneInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAmbassadorPhone"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:133}};n.loc.source={body:"mutation updateCompanyAmbassadorPhone ($input: UpdateCompanyAmbassadorPhoneInput!) {\n  updateCompanyAmbassadorPhone (input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorPhone"]=r(n,"updateCompanyAmbassadorPhone")},4935:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"users"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"users"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isBlocked"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"role"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isInitial"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAssignable"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:220}};n.loc.source={body:"query users($companyId: ID!) {\n  users(companyId: $companyId) {\n    id\n    firstname\n    lastname\n    email\n    phone\n    isBlocked\n    role {\n      id\n      name\n      slug\n      isInitial\n      isAssignable\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["users"]=r(n,"users")},"49e2":function(e,t,n){"use strict";var i=n("0789"),a=n("9d65"),s=n("a9ad"),r=n("3206"),o=n("80d2"),l=n("58df"),c=Object(l["a"])(a["a"],s["a"],Object(r["a"])("expansionPanel","v-expansion-panel-content","v-expansion-panel"));t["a"]=c.extend().extend({name:"v-expansion-panel-content",data:function(){return{isActive:!1}},computed:{parentIsActive:function(){return this.expansionPanel.isActive}},watch:{parentIsActive:{immediate:!0,handler:function(e,t){var n=this;e&&(this.isBooted=!0),null==t?this.isActive=e:this.$nextTick((function(){return n.isActive=e}))}}},created:function(){this.expansionPanel.registerContent(this)},beforeDestroy:function(){this.expansionPanel.unregisterContent()},render:function(e){var t=this;return e(i["a"],this.showLazyContent((function(){return[e("div",t.setBackgroundColor(t.color,{staticClass:"v-expansion-panel-content",directives:[{name:"show",value:t.isActive}]}),[e("div",{class:"v-expansion-panel-content__wrap"},Object(o["s"])(t,"default",{open:t.isActive}))])]})))}})},"4ca4":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"upgradeToExpert"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpgradeToExpertInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"upgradeToExpert"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:92}};n.loc.source={body:"mutation upgradeToExpert($input: UpgradeToExpertInput!) {\n  upgradeToExpert(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["upgradeToExpert"]=r(n,"upgradeToExpert")},"4cbe":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyTheme"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyThemeInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyTheme"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"colors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"primary"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"secondary"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:157}};n.loc.source={body:"mutation updateCompanyTheme($input: UpdateCompanyThemeInput!) {\n  updateCompanyTheme(input: $input) {\n    colors {\n      primary\n      secondary\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyTheme"]=r(n,"updateCompanyTheme")},"4e2f":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"roles"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"roles"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDefault"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"permissions"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAssignable"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:117}};n.loc.source={body:"query roles {\n  roles {\n    id\n    slug\n    name\n    isDefault\n    description\n    permissions\n    isAssignable\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["roles"]=r(n,"roles")},"50cd":function(e,t,n){},5123:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteCompanyWithDelay"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteCompanyWithDelay"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[]}]}}],loc:{start:0,end:80}};n.loc.source={body:"mutation deleteCompanyWithDelay($id: ID!) {\n  deleteCompanyWithDelay(id: $id)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["deleteCompanyWithDelay"]=r(n,"deleteCompanyWithDelay")},5233:function(e,t,n){},"524c":function(e,t,n){},5333:function(e,t,n){"use strict";n("5233")},"538b":function(e,t,n){"use strict";var i=n("0798"),a=n("62ad"),s=n("0fd9"),r=n("b974"),o=n("b73d"),l=n("3a2f"),c=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.crm.title"),subtitle:e.$t("settings.crm.subtitle",{readablePlatformName:e.readablePlatformName}),icon:"mdi-account-sync-outline","is-default-open":"","hide-header":e.slimMode}},[t(s["a"],{staticClass:"mx-0 my-2 mx-md-2"},[e.slimMode?e._e():t(a["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.crm.selection-texts.0"))+" ")]),t("div",{staticClass:"grey--text"},[t("p",[e._v(e._s(e.$t("settings.crm.selection-texts.1")))]),t("p",[e._v(e._s(e.$t("settings.crm.selection-texts.2",{readablePlatformName:e.readablePlatformName}))+".")])])]),e.slimMode?e._e():t(a["a"],{staticClass:"pt-2 pt-md-8",attrs:{cols:"12","offset-md":"1",md:"5"}},[t(l["a"],{attrs:{top:"",disabled:!e.hasBeenActivated},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,a=n.attrs;return[t("div",e._g({staticClass:"w-full"},i),[t(r["a"],e._b({attrs:{items:e.providers,disabled:!!e.loadingPart||e.hasBeenActivated,loading:"crmProvider"===e.loadingPart,label:"CRM",outlined:"",required:"","hide-details":""},on:{click:function(t){return e.onClick("CRM",e.crmProvider)},change:function(t){return e.update({crmProvider:t},"crmProvider")}},model:{value:e.crmProvider,callback:function(t){e.crmProvider=t},expression:"crmProvider"}},"v-select",a,!1))],1)]}}],null,!1,3758109238)},[t("span",[e._v(e._s(e.$t("settings.crm.help-texts.0")))])]),t("div",{staticClass:"mx-2"},[t("span",{staticClass:"text-body-2"},[e._v(" "+e._s(e.$t("settings.crm.help-texts.1"))+" "),t("a",{attrs:{href:e.helpLink,target:"_blank"}},[e._v(" "+e._s(e.$t("settings.crm.help-texts.2"))+" ")])])])],1)],1),e.crmProvider?t(e.credentialsComponent,{tag:"component",attrs:{disabled:!!e.loadingPart||e.isActive},on:{isVerified:function(t){return e.isConnectionVerified=t}}}):e._e(),e.isConnectionVerified?t(e.filterComponent,{tag:"component",attrs:{id:"CrmFilter",disabled:!!e.loadingPart||e.isActive},on:{isFilterSelected:e.setSelectedFilter}}):e._e(),e.isConnectionVerified&&e.isFilterSelected?t(s["a"],{staticClass:"mx-0 my-2 mx-md-2"},[t(a["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.crm.synch-texts.0"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.crm.synch-texts.1"))+" ")])]),t(a["a"],{staticClass:"flex-row pt-0 pb-6 pt-md-4 d-flex align-center justify-md-end",attrs:{cols:"12","offset-md":"1",md:"5"}},[t("div",{staticClass:"pr-2 mt-5 switch-toggle grey--text",class:{"text--darken-1":!e.loadingPart,"text--lighten-1":!!e.loadingPart},on:{click:e.toggleSwitch}},[e._v(" "+e._s(e.$t("labels.manual"))+" ")]),t(o["a"],{attrs:{label:e.$t("labels.automatic"),loading:"syncModus"===e.loadingPart,disabled:!!e.loadingPart,"hide-details":""},on:{change:function(t){return e.update({syncModus:t?"AUTO":"MANUALLY"},"syncModus")}},model:{value:e.automaticSync,callback:function(t){e.automaticSync=t},expression:"automaticSync"}})],1)],1):e._e(),e.isConnectionVerified&&e.isFilterSelected?t(s["a"],{staticClass:"mx-0 my-2 mx-md-2"},[t(a["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.crm.synch-texts.2"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.crm.synch-texts.3"))+" ")])]),t(a["a"],{staticClass:"pt-2 pt-md-8 d-flex flex-column align-md-end",attrs:{cols:"12","offset-md":"1",md:"5"}},[t("SynchronisationState",{staticClass:"mb-4",attrs:{"is-active":e.isActive}}),e.isActive?t("DeactivateSyncDialog",{attrs:{disabled:!!e.loadingPart,loading:"isActive"===e.loadingPart,"automatic-sync":e.automaticSync},on:{deactivate:function(){return e.update({isActive:!1},"isActive")}}}):t("ActivateSyncDialog",{attrs:{id:"ActivateSyncDialog",disabled:!!e.loadingPart,loading:"isActive"===e.loadingPart,"automatic-sync":e.automaticSync},on:{activate:function(){return e.update({isActive:!0},"isActive")}}})],1)],1):e._e(),e.crmProvider?e._e():t(s["a"],{staticClass:"mx-0 my-2 mx-md-2"},[t(i["a"],{staticClass:"w-full pl-8 my-4",attrs:{icon:"mdi-lightbulb-on-20",prominent:"",text:"",type:"info"}},[t("p",{staticClass:"pl-6 ma-0 font-weight-bold"},[e._v(" "+e._s(e.$t("labels.our-tip"))+": ")]),t("p",{staticClass:"pl-6"},[e._v(" "+e._s(e.$t("settings.crm.info-texts.0"))),t("br"),e._v(" "+e._s(e.$t("settings.crm.info-texts.1",{platform:e.readablePlatformName}))),t("br"),e._v(" "+e._s(e.$t("settings.crm.info-texts.2"))),t("br"),e._v(" "+e._s(e.$t("settings.crm.info-texts.3"))+" "),t("a",{attrs:{href:"/leads"}},[e._v(e._s(e.$t("settings.crm.info-texts.4")))])])])],1)],1)},d=[],u=n("5530"),m=n("1da1"),f=(n("d3b7"),n("96cf"),n("eaf3")),p=n.n(f),v=n("6ce2"),g=n("a866"),h=n("8fcf"),b=n("3b55"),k=n("cc20"),y=n("132d"),C=function(){var e=this,t=e._self._c;return t("div",[t(k["a"],{attrs:{color:e.state.color,"text-color":"white"}},[t(y["a"],{attrs:{left:""}},[e._v(" "+e._s(e.state.icon)+" ")]),t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.$t("labels.synchronisation-state.status"))+" "),t("b",[e._v(e._s(e.$t(e.state.label)))])])],1)],1)},S=[],x={ACTIVE:{icon:"mdi-sync",color:"success",label:"labels.synchronisation-state.active"},INACTIVE:{icon:"mdi-sync-off",color:"warning",label:"labels.synchronisation-state.inactive"}},w={props:{isActive:{type:Boolean,default:!1}},computed:{state:function(){return this.isActive?x.ACTIVE:x.INACTIVE}}},N=w,_=n("2877"),$=Object(_["a"])(N,C,S,!1,null,null,null),D=$.exports,E=n("8336"),O=n("b0af"),T=n("99d9"),A=n("169a"),I=n("2fa4"),P=n("71d9"),F=n("2a7f"),L=function(){var e=this,t=e._self._c;return t("div",{staticClass:"w-full"},[t(E["a"],{staticClass:"w-full",attrs:{color:"primary",disabled:e.disabled,loading:e.loading},on:{click:function(t){e.show=!0}}},[e._v(" "+e._s(e.$t("buttons.activate-sync-dialog.cta"))+" ")]),t(A["a"],{attrs:{width:"700"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t(O["a"],[t(T["d"],{staticClass:"pa-0"},[t(P["a"],{attrs:{color:"primary",dark:"",flat:""}},[e.automaticSync?t(F["b"],[e._v(" "+e._s(e.$t("settings.crm.activate-sync-dialog.title"))+" ")]):t(F["b"],[e._v(" "+e._s(e.$t("settings.crm.activate-sync-dialog.title-manual"))+" ")]),t(I["a"]),t(F["a"],[t(E["a"],{attrs:{icon:"",dark:""},on:{click:function(t){e.show=!1}}},[t(y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(T["c"],{staticClass:"mt-4 text-body-1"},[t(s["a"],[t(a["a"],[t("p",[e._v(" "+e._s(e.$t("settings.crm.activate-sync-dialog.body-texts.0",{readablePlatformName:e.readablePlatformName,readableCrmName:e.readableCrmName}))+" ")]),e.automaticSync?e._e():t("p",[e._v(" "+e._s(e.$t("settings.crm.activate-sync-dialog.body-texts.1",{readablePlatformName:e.readablePlatformName,readableCrmName:e.readableCrmName}))+" ")]),e.automaticSync?t("p",[e._v(" "+e._s(e.$t("settings.crm.activate-sync-dialog.body-texts.2",{readablePlatformName:e.readablePlatformName,readableCrmName:e.readableCrmName}))+" ")]):e._e()])],1)],1),t(T["a"],[t(I["a"]),t(E["a"],{attrs:{text:""},on:{click:function(t){e.show=!1}}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(E["a"],{attrs:{color:"primary"},on:{click:e.activate}},[e._v(" "+e._s(e.$t("labels.activate"))+" ")])],1)],1)],1)],1)},V=[],R=n("687b"),j={mixins:[b["a"],R["a"]],props:{automaticSync:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{show:!1}},methods:{activate:function(){this.$emit("activate"),this.show=!1}}},U=j,B=Object(_["a"])(U,L,V,!1,null,null,null),M=B.exports,q=function(){var e=this,t=e._self._c;return t("div",{staticClass:"w-full"},[t(E["a"],{staticClass:"w-full",attrs:{disabled:e.disabled,loading:e.loading},on:{click:function(t){e.show=!0}}},[e._v(" "+e._s(e.$t("settings.crm.deactivate-sync-dialog.title"))+" ")]),t(A["a"],{attrs:{width:"700"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t(O["a"],[t(T["d"],{staticClass:"pa-0"},[t(P["a"],{attrs:{color:"warning",dark:"",flat:""}},[t(y["a"],{staticClass:"mr-4",attrs:{large:""}},[e._v(" mdi-alert ")]),t(F["b"],[e._v(e._s(e.$t("settings.crm.deactivate-sync-dialog.title")))]),t(I["a"]),t(F["a"],[t(E["a"],{attrs:{icon:"",dark:""},on:{click:function(t){e.show=!1}}},[t(y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(T["c"],{staticClass:"mt-4 text-body-1"},[t(s["a"],[t(a["a"],[t("p",[e._v(" "+e._s(e.$t("settings.crm.deactivate-sync-dialog.body-texts.0",{readablePlatformName:e.readablePlatformName}))+" ")])])],1)],1),t(T["a"],[t(I["a"]),t(E["a"],{attrs:{text:""},on:{click:function(t){e.show=!1}}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(E["a"],{attrs:{color:"warning"},on:{click:e.deactivate}},[e._v(" Stoppen ")])],1)],1)],1)],1)},H=[],z={mixins:[b["a"]],props:{loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function(){return{show:!1}},methods:{deactivate:function(){this.$emit("deactivate"),this.show=!1}}},G=z,W=Object(_["a"])(G,q,H,!1,null,null,null),K=W.exports,Q=function(){var e=this,t=e._self._c;return t(s["a"],{staticClass:"mx-0 my-2 mx-md-2"},[t(a["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.crm.credentials.title"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.crm.credentials.propstack-texts.0"))+" ")])]),t(a["a"],{staticClass:"pt-2 pt-md-8 d-flex flex-column align-end",attrs:{cols:"12","offset-md":"1",md:"5"}},[t("Credentials",{attrs:{disabled:e.disabled,hint:e.$t("settings.crm.credentials.propstack-texts.1"),placeholder:"SMzzrQiGjJv3TRyWwEGvf8GToUHhsji6nlPw0ppB",token:e.token,"is-token-verified":e.isTokenVerified,"validation-rules":[e.rules.length],"token-length":40,"save-credentials":e.saveCredentials,"validate-credentials":e.validateCredentials}})],1)],1)},Y=[],Z=n("e8ce"),X=n.n(Z),J=n("fc41"),ee=n.n(J),te=n("0e8e"),ne=n.n(te),ie=n("8654"),ae=function(){var e=this,t=e._self._c;return t("div",{staticClass:"w-full d-flex flex-column align-end",on:{mouseover:e.onMouseOver,mouseleave:e.onMouseLeave}},[t(l["a"],{attrs:{top:"",disabled:!e.disabled},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,a=n.attrs;return[t("div",e._g({staticClass:"w-full",style:e.cssProps},i),[t(ie["a"],e._b({staticClass:"w-full",class:{verified:e.isTokenVerified},attrs:{counter:e.tokenLength,outlined:"",placeholder:e.placeholder,hint:e.hint,label:e.$t("settings.crm.credentials.label"),disabled:e.isLoading||e.isTokenVerified,loading:e.isLoading,rules:e.validationRules},scopedSlots:e._u([{key:"append",fn:function(){return[t(l["a"],{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,a=n.attrs;return[t("div",{staticClass:"mt-n2"},[t(E["a"],{attrs:{icon:"",disabled:e.isLoading||e.disabled},on:{click:function(){return e.save(null)}}},[t(y["a"],e._g(e._b({attrs:{width:"24",height:"24",color:e.isTokenVerified&&!e.showDelete?"success":""}},"v-icon",a,!1),i),[e._v(" "+e._s(e.isTokenVerified&&!e.showDelete?"mdi-check-circle":"mdi-close-circle")+" ")])],1)],1)]}}],null,!0)},[t("span",[e._v(e._s(e.$t("settings.crm.credentials.delete")))])])]},proxy:!0}],null,!0),model:{value:e.value,callback:function(t){e.value=t},expression:"value"}},"v-text-field",a,!1))],1)]}}])},[t("span",[e._v(e._s(e.$t("settings.crm.credentials.tooltip")))])]),e.isTokenVerified?e._e():t(E["a"],{attrs:{color:"primary",disabled:!e.validationRules.every((function(t){return!0===t(e.value)}))||e.isLoading},on:{click:e.validate}},[t(y["a"],[e._v(" mdi-sync ")]),e._v(" "+e._s(e.$t("buttons.verify.cta"))+" ")],1)],1)},se=[],re=(n("a9e3"),n("02c5")),oe={props:{disabled:{type:Boolean,default:!1},isTokenVerified:{type:Boolean,default:!1},placeholder:{type:String,default:""},hint:{type:String,default:""},token:{type:String,default:""},tokenLength:{type:Number,default:0},validationRules:{type:Array,default:function(){return[]}},saveCredentials:{type:Function,required:!0},validateCredentials:{type:Function,required:!0}},data:function(){return{showDelete:!1,isLoading:!1,value:""}},computed:{cssProps:function(){return{"--succcess-color":this.$vuetify.theme.themes.light.success}}},watch:{token:function(){this.value=this.token},isTokenVerified:function(e){e&&this.value&&this.validate(!1)}},methods:{onMouseOver:function(){var e=this;return Object(m["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.showDelete=!0;case 1:case"end":return t.stop()}}),t)})))()},onMouseLeave:function(){var e=this;return Object(m["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.showDelete=!1;case 1:case"end":return t.stop()}}),t)})))()},save:function(e){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.isLoading=!0,t.value=e,n.prev=2,n.next=5,t.saveCredentials(e);case 5:n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](2),h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.crm.error")});case 10:return n.prev=10,t.isLoading=!1,n.finish(10);case 13:case"end":return n.stop()}}),n,null,[[2,7,10,13]])})))()},validate:function(){var e=arguments,t=this;return Object(m["a"])(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=!(e.length>0&&void 0!==e[0])||e[0],t.isLoading=!0,n.prev=2,n.next=5,t.validateCredentials(t.value);case 5:i&&h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.crm.credentials.success")}),n.next=12;break;case 8:n.prev=8,n.t0=n["catch"](2),h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.crm.credentials.error")}),re["d"]("Invalid Token for company: ".concat(t.$auth.user.companyId));case 12:return n.prev=12,t.isLoading=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[2,8,12,15]])})))()}}},le=oe,ce=(n("035e"),Object(_["a"])(le,ae,se,!1,null,"128815a0",null)),de=ce.exports,ue={components:{Credentials:de},props:{disabled:{type:Boolean,default:!1}},data:function(){return{isTokenVerified:!1,token:null}},created:function(){var e=this;this.rules={length:function(t){return!t||40===(null===t||void 0===t?void 0:t.length)||e.$t("settings.crm.credentials.propstack-texts.2")}}},methods:{saveCredentials:function(e){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$apollo.mutate({mutation:ee.a,variables:{input:{token:e}},update:function(e,t){var n=t.data.propstackConfig,i=e.readQuery({query:ne.a});i.propstackConfig=n,e.writeQuery({query:ne.a,data:i})}});case 2:case"end":return n.stop()}}),n)})))()},validateCredentials:function(e){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$apollo.mutate({mutation:X.a,variables:{input:{token:e}},update:function(e,n){var i=n.data.propstackConfig,a=e.readQuery({query:ne.a});a.propstackConfig=i,t.$emit("isVerified",i.isTokenVerified),e.writeQuery({query:ne.a,data:a})}});case 2:case"end":return n.stop()}}),n)})))()}},apollo:{propstackConfig:{query:ne.a,variables:function(){return{companyId:this.$auth.user.companyId}},update:function(e){var t=e.propstackConfig;return this.token=t.token,this.isTokenVerified=t.isTokenVerified,this.$emit("isVerified",t.isTokenVerified),t}}}},me=ue,fe=Object(_["a"])(me,Q,Y,!1,null,null,null),pe=fe.exports,ve=n("490a"),ge=function(){var e=this,t=e._self._c;return t(s["a"],{staticClass:"mx-0 my-2 mx-md-2"},[t(a["a"],{attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.crm.propstack-filter.title"))),t("br")]),t("p",{staticClass:"pa-0 ma-0 grey--text"},[e._v(" "+e._s(e.$t("settings.crm.propstack-filter.body-texts.0"))),t("br"),e._v(" "+e._s(e.$t("settings.crm.propstack-filter.body-texts.1"))+" ")]),t("p",{staticClass:"mt-2 grey--text"},[t("b",[e._v(e._s(e.$t("labels.caution"))+":")]),e._v(" "+e._s(e.$t("settings.crm.propstack-filter.body-texts.2"))+" "+e._s(e.$t("settings.crm.propstack-filter.body-texts.3"))+" ")])])]),t(a["a"],{staticClass:"pt-2 pt-md-8",attrs:{cols:"12","offset-md":"1",md:"5"}},[t("ContactFilter",{attrs:{"contact-status":e.contactStatuses,"initial-selected-contact-types":e.selectedContactTypes,"add-count":e.addCount,"count-is-loading":e.countIsLoading,hint:e.$t("settings.crm.propstack-filter.labels.hint"),label:e.$t("settings.crm.propstack-filter.labels.label")},on:{blur:e.updateContactTypes}}),e.countIsLoading||e.selectedContactTypes.length>0?t(i["a"],{attrs:{type:"info",dense:"",text:""}},[e.countIsLoading?t("span",[t(ve["a"],{staticClass:"px-4",attrs:{size:20,width:3,indeterminate:""}}),e._v(" "+e._s(e.$t("settings.crm.propstack-filter.info-texts.0"))+" ... ")],1):t("div",[t("p",[e._v(e._s(e.$t("settings.crm.propstack-filter.body-texts.1",{combinedPropstackContactsCount:e.combinedPropstackContactsCount})))]),t("p",[e._v(" "+e._s(e.$t("settings.crm.propstack-filter.body-texts.2"))),t("br"),e._v(" "+e._s(e.$t("settings.crm.propstack-filter.body-texts.3"))),t("br"),t("br"),e._v(" "+e._s(e.$t("settings.crm.propstack-filter.info-texts.4",{readablePlatformName:e.readablePlatformName}))+" ")])])]):e._e()],1)],1)},he=[],be=n("3835"),ke=(n("13d5"),n("07ac"),n("4de4"),n("4fadc"),n("caad"),n("2532"),n("8ba4"),n("99af"),n("d81d"),n("b0c0"),n("2a78")),ye=n.n(ke),Ce=n("d764"),Se=n.n(Ce),xe=n("961d"),we=n.n(xe),Ne=function(){var e=this,t=e._self._c;return t(r["a"],{attrs:{items:e.contactStatusItems,label:e.label||e.$t("labels.contact-filter.label"),hint:e.hint||e.$t("labels.contact-filter.hint"),disabled:e.countIsLoading,multiple:"",outlined:"",chips:"","persistent-hint":""},on:{blur:e.handleBlur},model:{value:e.selectedContactTypes,callback:function(t){e.selectedContactTypes=t},expression:"selectedContactTypes"}})},_e=[],$e=n("2909"),De=(n("ac1f"),n("1276"),{props:{addCount:{type:Function,default:null},countIsLoading:{type:Boolean,default:!1},hint:{type:String,default:""},label:{type:String,default:""},initialSelectedContactTypes:{type:Array,default:function(){return[]}},contactStatus:{type:Array,default:function(){return[]}}},data:function(){return{selectedContactTypes:this.initialSelectedContactTypes}},computed:{contactStatusItems:function(){return[{text:this.$t("labels.contact-filter.all"),value:"ALL"},{divider:!0},{text:this.$t("labels.contact-filter.no-status"),value:"UNDEFINED"}].concat(Object($e["a"])(this.contactStatus)).map(this.addCount)}},watch:{selectedContactTypes:{handler:function(e,t){!t.includes("ALL")&&e.includes("ALL")&&(this.selectedContactTypes=["ALL"]),t.includes("ALL")&&e.length>1&&(this.selectedContactTypes=this.selectedContactTypes.filter((function(e){return"ALL"!==e})))},deep:!0},initialSelectedContactTypes:{handler:function(e){this.selectedContactTypes=e},deep:!0}},methods:{prepareTagName:function(e){try{return e.split(":")[2]}catch(t){return e}},handleBlur:function(){this.$emit("blur",this.selectedContactTypes)}}}),Ee=De,Oe=Object(_["a"])(Ee,Ne,_e,!1,null,null,null),Te=Oe.exports,Ae={components:{ContactFilter:Te},mixins:[b["a"]],data:function(){return{isLoading:!1,selectedContactTypes:[],stopCountPoll:!1}},computed:{countIsLoading:function(){return!this.propstackContactsCount},totalCount:function(){var e;return Object.values((null===(e=this.propstackContactsCount)||void 0===e?void 0:e.countPerStatus)||[]).reduce((function(e,t){return e+t}),0)},combinedPropstackContactsCount:function(){var e,t,n=this;if(null!==(e=this.propstackContactsCount)&&void 0!==e&&e.countPerStatus){var i=Object.entries(null===(t=this.propstackContactsCount)||void 0===t?void 0:t.countPerStatus).filter((function(e){var t=Object(be["a"])(e,1),i=t[0];return n.selectedContactTypes.includes(i)||n.selectedContactTypes.includes("ALL")})).reduce((function(e,t){var n=Object(be["a"])(t,2),i=(n[0],n[1]);return e+i}),0);return i}}},watch:{selectedContactTypes:{handler:function(e,t){!t.includes("ALL")&&e.includes("ALL")&&(this.selectedContactTypes=["ALL"]),t.includes("ALL")&&e.length>1&&(this.selectedContactTypes=this.selectedContactTypes.filter((function(e){return"ALL"!==e})))},deep:!0}},methods:{addCount:function(e){var t,n=e.text,i=e.value;if(!i)return{divider:!0};var a="ALL"===i?this.totalCount:(null===(t=this.propstackContactsCount)||void 0===t?void 0:t.countPerStatus[i])||0;return{text:Number.isInteger(this.combinedPropstackContactsCount)?"".concat(n," (").concat(a,")"):"".concat(n," (...)"),value:i}},updateContactTypes:function(e){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.selectedContactTypes=e,t.isLoading=!0,n.prev=2,n.next=5,t.$apollo.mutate({mutation:ye.a,variables:{input:{selectedContactStatusIds:t.selectedContactTypes,companyId:t.$auth.user.companyId}}});case 5:h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.crm.propstack-filter.success")}),n.next=13;break;case 8:return n.prev=8,n.t0=n["catch"](2),n.next=12,t.$apollo.queries.propstackConfig.refetch();case 12:h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.crm.propstack-filter.error")});case 13:return n.prev=13,t.$emit("isFilterSelected",t.selectedContactTypes.length>0),t.isLoading=!1,n.finish(13);case 17:case"end":return n.stop()}}),n,null,[[2,8,13,17]])})))()}},apollo:{contactStatuses:{query:we.a,variables:function(){return{companyId:this.$auth.user.companyId}},update:function(e){var t=e.contactStatuses;return t.map((function(e){var t=e.id,n=e.name;return{text:n,value:t}}))}},propstackConfig:{query:ne.a,variables:function(){return{companyId:this.$auth.user.companyId}},update:function(e){var t=e.propstackConfig;return this.selectedContactTypes=t.selectedContactStatusIds,this.$emit("isFilterSelected",this.selectedContactTypes&&this.selectedContactTypes.length>0),t}},propstackContactsCount:{query:Se.a,variables:function(){return{input:{companyId:this.$auth.user.companyId,selectedContactStatusIds:this.selectedContactTypes}}},skip:function(){return this.stopCountPoll},result:function(e){var t;null!==e&&void 0!==e&&null!==(t=e.data)&&void 0!==t&&t.propstackContactsCount&&(this.stopCountPoll=!0)},pollInterval:1e4}}},Ie=Ae,Pe=Object(_["a"])(Ie,ge,he,!1,null,null,null),Fe=Pe.exports,Le=function(){var e=this,t=e._self._c;return t(s["a"],{staticClass:"mx-0 my-2 mx-md-2"},[t(a["a"],{attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.crm.onoffice-filter.title"))),t("br")]),t("p",{staticClass:"pa-0 ma-0 grey--text"},[e._v(" "+e._s(e.$t("settings.crm.onoffice-filter.body-texts.0"))),t("br"),e._v(" "+e._s(e.$t("settings.crm.onoffice-filter.body-texts.1"))+" ")]),t("p",{staticClass:"mt-2 grey--text"},[t("b",[e._v(e._s(e.$t("labels.caution"))+":")]),e._v(" "+e._s(e.$t("settings.crm.onoffice-filter.body-texts.2"))+" "+e._s(e.$t("settings.crm.onoffice-filter.body-texts.3"))+" ")])])]),t(a["a"],{staticClass:"pt-2 pt-md-8",attrs:{cols:"12","offset-md":"1",md:"5"}},[t("ContactFilter",{attrs:{"contact-status":e.onofficeContactTypes,"initial-selected-contact-types":e.selectedContactTypes,"add-count":e.addCount,"count-is-loading":e.countIsLoading,hint:e.$t("settings.crm.onoffice-filter.labels.hint"),label:e.$t("settings.crm.onoffice-filter.labels.label")},on:{blur:e.updateContactTypes}}),e.countIsLoading||e.selectedContactTypes.length>0?t(i["a"],{attrs:{type:"info",dense:"",text:""}},[e.countIsLoading?t("span",[t(ve["a"],{staticClass:"px-4",attrs:{size:20,width:3,indeterminate:""}}),e._v(" "+e._s(e.$t("settings.crm.onoffice-filter.info-texts.0"))+" ... ")],1):t("div",[t("p",[e._v(e._s(e.$t("settings.crm.onoffice-filter.info-texts.1",{combinedOnofficeContactsCount:e.combinedOnofficeContactsCount})))]),t("p",[e._v(" "+e._s(e.$t("settings.crm.onoffice-filter.info-texts.2"))),t("br"),e._v(" "+e._s(e.$t("settings.crm.onoffice-filter.info-texts.3"))),t("br"),t("br"),e._v(" "+e._s(e.$t("settings.crm.onoffice-filter.info-texts.3",{readablePlatformName:e.readablePlatformName}))+" ")])])]):e._e()],1)],1)},Ve=[],Re=n("1877"),je=n.n(Re),Ue=n("be68"),Be=n.n(Ue),Me=n("580f"),qe=n.n(Me),He=n("4355"),ze=n.n(He),Ge=n("353a"),We=n.n(Ge),Ke={components:{ContactFilter:Te},mixins:[b["a"]],data:function(){return{isLoading:!1,selectedContactTypes:[]}},computed:{countIsLoading:function(){return!this.onofficeContactsCountByType},combinedOnofficeContactsCount:function(){var e,t,n=this;if(null!==(e=this.onofficeContactsCountByType)&&void 0!==e&&e.countPerStatus){var i=Object.entries(null===(t=this.onofficeContactsCountByType)||void 0===t?void 0:t.countPerStatus).filter((function(e){var t=Object(be["a"])(e,1),i=t[0];return n.selectedContactTypes.includes(i)})).reduce((function(e,t){var n=Object(be["a"])(t,2),i=(n[0],n[1]);return e+i}),0);return i}}},watch:{selectedContactTypes:{handler:function(e,t){!t.includes("ALL")&&e.includes("ALL")&&(this.selectedContactTypes=["ALL"]),t.includes("ALL")&&e.length>1&&(this.selectedContactTypes=this.selectedContactTypes.filter((function(e){return"ALL"!==e})))},deep:!0}},methods:{addCount:function(e){var t,n=e.text,i=e.value;if(!i)return{divider:!0};var a=(null===(t=this.onofficeContactsCountByType)||void 0===t?void 0:t.countPerStatus[i])||0;return{text:Number.isInteger(this.combinedOnofficeContactsCount)?"".concat(n," (").concat(a,")"):"".concat(n," (...)"),value:i}},updateContactTypes:function(e){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.selectedContactTypes=e,t.isLoading=!0,n.prev=2,n.next=5,t.$apollo.mutate({mutation:je.a,variables:{input:{selectedContactTypes:t.selectedContactTypes,companyId:t.$auth.user.companyId}}});case 5:h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.crm.onoffice-filter.success")}),n.next=13;break;case 8:return n.prev=8,n.t0=n["catch"](2),n.next=12,t.$apollo.queries.onofficeConfig.refetch();case 12:h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.crm.onoffice-filter.error")});case 13:return n.prev=13,t.$emit("isFilterSelected",t.selectedContactTypes.length>0),t.isLoading=!1,n.finish(13);case 17:case"end":return n.stop()}}),n,null,[[2,8,13,17]])})))()}},apollo:{onofficeContactTypes:{query:We.a,variables:function(){return{companyId:this.$auth.user.companyId}},update:function(e){var t=e.onofficeContactTypes;return t.map((function(e){var t=e.id,n=e.name;return{text:n,value:t}}))}},onofficeConfig:{query:Be.a,variables:function(){return{companyId:this.$auth.user.companyId}},update:function(e){var t=e.onofficeConfig;return this.selectedContactTypes=t.selectedContactTypes,this.$emit("isFilterSelected",this.selectedContactTypes.length>0),t}},onofficeContactsCount:{query:qe.a,skip:function(){return!this.selectedContactTypes||0===this.selectedContactTypes.length},variables:function(){return{input:{selectedContactTypes:this.selectedContactTypes,companyId:this.$auth.user.companyId}}}},onofficeContactsCountByType:{query:ze.a}}},Qe=Ke,Ye=Object(_["a"])(Qe,Le,Ve,!1,null,null,null),Ze=Ye.exports,Xe=function(){var e=this,t=e._self._c;return t(s["a"],{staticClass:"mx-0 my-2 mx-md-2"},[t(a["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.crm.credentials.title"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.crm.credentials.flowfact-texts.0"))+" ")])]),t(a["a"],{staticClass:"pt-2 pt-md-8 d-flex flex-column align-end",attrs:{cols:"12","offset-md":"1",md:"5"}},[t("Credentials",{attrs:{disabled:e.disabled,placeholder:"1d4ed3a7-3d6f-4f25-f227-c5fa0cc3ab4d",token:e.token,"is-token-verified":e.isTokenVerified,"validation-rules":[e.rules.required],"save-credentials":e.saveCredentials,"validate-credentials":e.validateCredentials}})],1)],1)},Je=[],et=n("fab3"),tt=n.n(et),nt=n("829a"),it=n.n(nt),at=n("76b5"),st=n.n(at),rt=n("65e0"),ot={components:{Credentials:de},props:{disabled:{type:Boolean,default:!1}},data:function(){return{isTokenVerified:!1,token:null}},created:function(){this.rules={required:rt["n"]}},methods:{saveCredentials:function(e){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$apollo.mutate({mutation:it.a,variables:{input:{token:e}},update:function(e,t){var n=t.data.flowfactConfig,i=e.readQuery({query:st.a});i.flowfactConfig=n,e.writeQuery({query:st.a,data:i})}});case 2:case"end":return n.stop()}}),n)})))()},validateCredentials:function(e){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$apollo.mutate({mutation:tt.a,variables:{input:{token:e}},update:function(e,n){var i=n.data.flowfactConfig,a=e.readQuery({query:st.a});a.flowfactConfig=i,t.$emit("isVerified",i.isTokenVerified),e.writeQuery({query:st.a,data:a})}});case 2:case"end":return n.stop()}}),n)})))()}},apollo:{flowfactConfig:{query:st.a,variables:function(){return{companyId:this.$auth.user.companyId}},update:function(e){var t,n=e.flowfactConfig;return this.token=null===n||void 0===n?void 0:n.token,this.isTokenVerified=null!==(t=null===n||void 0===n?void 0:n.isTokenVerified)&&void 0!==t&&t,this.$emit("isVerified",this.isTokenVerified),n}}}},lt=ot,ct=(n("02c3"),Object(_["a"])(lt,Xe,Je,!1,null,"81cba21a",null)),dt=ct.exports,ut=function(){var e=this,t=e._self._c;return t(s["a"],{staticClass:"mx-0 my-2 mx-md-2"},[t(a["a"],{attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.crm.flowfact-filter.title"))),t("br")]),t("p",{staticClass:"pa-0 ma-0 grey--text"},[e._v(" "+e._s(e.$t("settings.crm.flowfact-filter.body-texts.0"))),t("br"),e._v(" "+e._s(e.$t("settings.crm.flowfact-filter.body-texts.1"))+" ")]),t("p",{staticClass:"mt-2 grey--text"},[t("b",[e._v(e._s(e.$t("labels.caution"))+":")]),e._v(" "+e._s(e.$t("settings.crm.flowfact-filter.body-texts.2"))+" "+e._s(e.$t("settings.crm.flowfact-filter.body-texts.3"))),t("br")])])]),t(a["a"],{staticClass:"pt-2 pt-md-8",attrs:{cols:"12","offset-md":"1",md:"5"}},[t(r["a"],{attrs:{items:e.contactTags,label:e.$t("labels.tags"),multiple:"",outlined:"",chips:"",hint:e.$t("settings.crm.flowfact-filter.labels.select"),"persistent-hint":"",disabled:e.countIsLoading},on:{blur:e.updateContactTypes},model:{value:e.selectedContactTypes,callback:function(t){e.selectedContactTypes=t},expression:"selectedContactTypes"}}),e.countIsLoading||e.selectedContactTypes.length>0?t(i["a"],{attrs:{type:"info",dense:"",text:""}},[e.countIsLoading?t("span",[t(ve["a"],{staticClass:"px-4",attrs:{size:20,width:3,indeterminate:""}}),e._v(" "+e._s(e.$t("settings.crm.flowfact-filter.info-texts.0"))+" ")],1):t("div",[t("p",[e._v(e._s(e.$t("settings.crm.flowfact-filter.info-texts.1",{max:e.flowfactContactsCount.maxCount})))]),e.moreTagsThanContacts?t("p",[e._v(" "+e._s(e.$t("settings.crm.flowfact-filter.info-texts.2"))+" ")]):e._e(),t("p",[e._v(" "+e._s(e.$t("settings.crm.flowfact-filter.info-texts.3"))),t("br"),e._v(" "+e._s(e.$t("settings.crm.flowfact-filter.info-texts.4",{readablePlatformName:e.readablePlatformName}))),t("br"),e._v(" "+e._s(e.$t("settings.crm.flowfact-filter.info-texts.5"))+" ")])])]):e._e()],1)],1)},mt=[],ft=n("89ff"),pt=n.n(ft),vt=n("a180"),gt=n.n(vt),ht=n("2332"),bt=n.n(ht),kt={mixins:[b["a"]],data:function(){return{isLoading:!1,contactStatuses:[],selectedContactTypes:[]}},computed:{countIsLoading:function(){return!this.flowfactContactsCount},totalCount:function(){var e;return Object.values((null===(e=this.flowfactContactsCount)||void 0===e?void 0:e.countPerStatus)||[]).reduce((function(e,t){return e+t}),0)},contactTags:function(){return[{text:this.$t("settings.crm.flowfact-filter.labels.all"),value:"ALL"},{divider:!0},{text:this.$t("settings.crm.flowfact-filter.labels.no-tags"),value:"UNDEFINED"}].concat(Object($e["a"])(this.contactStatuses)).map(this.addCount)},moreTagsThanContacts:function(){var e,t;return(null===(e=this.flowfactContactsCount)||void 0===e?void 0:e.count)>(null===(t=this.flowfactContactsCount)||void 0===t?void 0:t.maxCount)}},watch:{selectedContactTypes:{handler:function(e,t){!t.includes("ALL")&&e.includes("ALL")&&(this.selectedContactTypes=["ALL"]),t.includes("ALL")&&e.length>1&&(this.selectedContactTypes=this.selectedContactTypes.filter((function(e){return"ALL"!==e})))},deep:!0}},methods:{addCount:function(e){var t,n,i,a=e.text,s=e.value;if(!s)return{divider:!0};var r="ALL"===s?null===(t=this.flowfactContactsCount)||void 0===t?void 0:t.countPerStatus.ALL:(null===(n=this.flowfactContactsCount)||void 0===n?void 0:n.countPerStatus[s])||0;return{text:Number.isInteger(null===(i=this.flowfactContactsCount)||void 0===i?void 0:i.count)?"".concat(a," (").concat(r,")"):"".concat(a," (...)"),value:s}},updateContactTypes:function(){var e=this;return Object(m["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.isLoading=!0,t.prev=1,t.next=4,e.$apollo.mutate({mutation:pt.a,variables:{input:{selectedContactStatusIds:e.selectedContactTypes,companyId:e.$auth.user.companyId}}});case 4:h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.crm.flowfact-filter.success")}),t.next=12;break;case 7:return t.prev=7,t.t0=t["catch"](1),t.next=11,e.$apollo.queries.flowfactConfig.refetch();case 11:h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.crm.flowfact-filter.error")});case 12:return t.prev=12,e.$emit("isFilterSelected",e.selectedContactTypes.length>0),e.isLoading=!1,t.finish(12);case 16:case"end":return t.stop()}}),t,null,[[1,7,12,16]])})))()}},apollo:{contactStatuses:{query:gt.a,variables:function(){return{companyId:this.$auth.user.companyId}},update:function(e){var t=e.flowfactContactTags;return t.map((function(e){var t=e.id,n=e.name;return{text:n,value:t}}))}},flowfactConfig:{query:st.a,variables:function(){return{companyId:this.$auth.user.companyId}},update:function(e){var t=e.flowfactConfig;return this.selectedContactTypes=t.selectedContactStatusIds,this.$emit("isFilterSelected",this.selectedContactTypes&&this.selectedContactTypes.length>0),t}},flowfactContactsCount:{query:bt.a,debounce:1e3,variables:function(){return{input:{selectedContactStatusIds:this.selectedContactTypes,companyId:this.$auth.user.companyId}}}}}},yt=kt,Ct=Object(_["a"])(yt,ut,mt,!1,null,null,null),St=Ct.exports,xt=function(){var e=this,t=e._self._c;return t(s["a"],{staticClass:"mx-0 my-2 mx-md-2"},[t(a["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.crm.credentials.title"))+" ")]),e.onofficeConfig&&e.onofficeConfig.isTokenVerified?t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.crm.credentials.on-office-texts.0"))+" ")]):t("div",{staticClass:"grey--text"},[t("p",[e._v(" "+e._s(e.$t("settings.crm.credentials.on-office-texts.1",{platform:e.readablePlatformName}))+" "),t("a",{attrs:{href:"https://smart.onoffice.de/smart/smart.php",target:"_blank"}},[e._v(" "+e._s(e.$t("settings.crm.credentials.on-office-texts.2"))+" ")]),e._v(" "+e._s(e.$t("settings.crm.credentials.on-office-texts.3"))+" ")]),t(i["a"],{attrs:{type:"info",dense:"",text:""}},[t("p",{domProps:{innerHTML:e._s(e.$t("settings.crm.credentials.on-office-texts.4",{platform:e.readablePlatformName}))}})])],1)]),t(a["a"],{staticClass:"pt-2 pt-md-8 d-flex flex-column align-end",attrs:{cols:"12","offset-md":"1",md:"5"}},[e.onofficeConfig&&e.onofficeConfig.isTokenVerified?t(k["a"],{attrs:{color:"success"}},[e._v(" "+e._s(e.$t("labels.connection-verified"))+" "),t(y["a"],{staticClass:"ml-4"},[e._v(" mdi-check-circle ")])],1):t("a",{attrs:{href:"https://smart.onoffice.de/smart/smart.php",target:"_blank"}},[t(E["a"],{attrs:{color:"primary"}},[e._v(e._s(e.$t("buttons.on-office.cta")))])],1)],1)],1)},wt=[],Nt={mixins:[b["a"]],apollo:{onofficeConfig:{query:Be.a,variables:function(){return{companyId:this.$auth.user.companyId}},update:function(e){var t=e.onofficeConfig;return this.$emit("isVerified",t&&t.isTokenVerified),t}}}},_t=Nt,$t=Object(_["a"])(_t,xt,wt,!1,null,null,null),Dt=$t.exports,Et={components:{SettingsCard:v["a"],PropstackCredentials:pe,SynchronisationState:D,ActivateSyncDialog:M,DeactivateSyncDialog:K,PropstackFilter:Fe,OnofficeCredentials:Dt,OnofficeFilter:Ze,FlowfactCredentials:dt,FlowfactFilter:St},mixins:[g["a"],b["a"],R["a"]],props:{hideHelp:{type:Boolean,default:!1},slimMode:{type:Boolean,default:!1}},data:function(){return{crmProvider:null,isActive:!1,hasBeenActivated:!1,automaticSync:null,isConnectionVerified:!1,isFilterSelected:!1,loadingPart:!1,isHelpHidden:this.hideHelp}},computed:{credentialsComponent:function(){return{PROPSTACK:"PropstackCredentials",ONOFFICE:"OnofficeCredentials",FLOWFACT:"FlowfactCredentials"}[this.crmProvider]},filterComponent:function(){return{PROPSTACK:"PropstackFilter",ONOFFICE:"OnofficeFilter",FLOWFACT:"FlowfactFilter"}[this.crmProvider]},helpLink:function(){return{PROPSTACK:"https://scribehow.com/shared/Propstack_mit_BOTTIMMO_synchronisieren__98hEYNQbQamsQVJV3no6RQ",ONOFFICE:"https://scribehow.com/shared/onOffice_mit_BOTTIMMO_verbinden__sUIm44idQpeHIDqdJnHIZA",FLOWFACT:"https://scribehow.com/shared/FLOWFACT_mit_BOTTIMMO_synchronisieren__HIuNi9KqT6GQKhBDZvF4jA"}[this.crmProvider]||"https://hilfe.bottimmo.com/portal/de/kb/general/einstellungen/crm"},isHorizontal:function(){return this.$vuetify.breakpoint.mdAndUp}},watch:{crmConfig:{deep:!0,handler:function(e){this.updateData(e||{})}},isConnectionVerified:function(e){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e){n.next=4;break}return n.next=3,t.$nextTick();case 3:return n.abrupt("return",null===(i=document.querySelector("#CrmFilter"))||void 0===i?void 0:i.scrollIntoView({behavior:"smooth"}));case 4:case"end":return n.stop()}}),n)})))()}},mounted:function(){this.updateData(this.crmConfig||{})},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},toggleSwitch:function(){this.automaticSync=!this.automaticSync,this.update({syncModus:this.automaticSync?"AUTO":"MANUALLY"},"syncModus"),this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Toggle Contacts Synchronization Mode")},updateData:function(e){this.crmProvider=e.crmProvider,this.automaticSync="AUTO"===e.syncModus,this.isActive=e.isActive,this.hasBeenActivated=e.hasBeenActivated},update:function(e,t){var n=this;return Object(m["a"])(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return n.loadingPart=t,i.prev=1,i.next=4,new Promise((function(e){return setTimeout(e,700)}));case 4:return i.next=6,n.$apollo.mutate({mutation:p.a,variables:{input:Object(u["a"])({companyId:n.$auth.user.companyId,crmProvider:n.crmProvider,isActive:n.isActive,syncModus:n.automaticSync?"AUTO":"MANUALLY"},e)}});case 6:n.$tracking.event("Settings",n.$tracking.trackingEvents.CLICKED,"Create or Update CRM Company Config"),h["a"].$emit(h["b"].CRM_UPDATED),h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"success",text:n.$t("alerts.settings.crm.success")}),i.next=16;break;case 11:return i.prev=11,i.t0=i["catch"](1),i.next=15,n.$apollo.queries.config.refetch();case 15:h["a"].$emit(h["b"].SHOW_SNACKBAR,{color:"error",text:n.$t("alerts.settings.crm.error")});case 16:return i.prev=16,n.loadingPart=!1,i.finish(16);case 19:case"end":return i.stop()}}),i,null,[[1,11,16,19]])})))()},setSelectedFilter:function(e){this.isFilterSelected=e,this.$emit("isFilterSelected",e),setTimeout((function(){var e;return null===(e=document.querySelector("#ActivateSyncDialog"))||void 0===e?void 0:e.scrollIntoView({behavior:"smooth"})}),500),this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"CRM Selected Filter")}}},Ot=Et,Tt=(n("b7a0"),Object(_["a"])(Ot,c,d,!1,null,"94796156",null));t["a"]=Tt.exports},"53b6":function(e,t,n){"use strict";n("5b94")},"55d1":function(e,t,n){"use strict";n("f1eb")},5600:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorName"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorNameInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAmbassadorName"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:130}};n.loc.source={body:"mutation updateCompanyAmbassadorName ($input: UpdateCompanyAmbassadorNameInput!) {\n  updateCompanyAmbassadorName (input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorName"]=r(n,"updateCompanyAmbassadorName")},"580f":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"onofficeContactsCount"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"OnofficeSelectedContactTypesInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"onofficeContactsCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:116}};n.loc.source={body:"query onofficeContactsCount($input: OnofficeSelectedContactTypesInput!) {\n  onofficeContactsCount(input: $input) \n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["onofficeContactsCount"]=r(n,"onofficeContactsCount")},"58ae":function(e,t,n){"use strict";n("cdc6")},5986:function(e,t,n){"use strict";n("2fb1")},"59d7":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"setAsDefaultSender"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"senderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"sender"},name:{kind:"Name",value:"setAsDefaultSender"},arguments:[{kind:"Argument",name:{kind:"Name",value:"senderId"},value:{kind:"Variable",name:{kind:"Name",value:"senderId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDefault"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fromEmail"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAcknowledged"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:182}};n.loc.source={body:"mutation setAsDefaultSender($senderId: ID!) {\n  sender: setAsDefaultSender(senderId: $senderId) {\n    id\n    isDefault\n    isVerified\n    fromEmail\n    isAcknowledged\n    name\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["setAsDefaultSender"]=r(n,"setAsDefaultSender")},"5a4a":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorData"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorDataInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"ambassador"},name:{kind:"Name",value:"updateCompanyAmbassadorData"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:141}};n.loc.source={body:"mutation updateCompanyAmbassadorData($input: UpdateCompanyAmbassadorDataInput!) {\n  ambassador: updateCompanyAmbassadorData(input: $input)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorData"]=r(n,"updateCompanyAmbassadorData")},"5ae2":function(e,t,n){"use strict";n("0fa8")},"5b04":function(e,t,n){e.exports=n.p+"img/ellipse.ecbd26d1.svg"},"5b81":function(e,t,n){"use strict";var i=n("23e7"),a=n("c65b"),s=n("e330"),r=n("1d80"),o=n("1626"),l=n("7234"),c=n("44e7"),d=n("577e"),u=n("dc4a"),m=n("90d8"),f=n("0cb2"),p=n("b622"),v=n("c430"),g=p("replace"),h=TypeError,b=s("".indexOf),k=s("".replace),y=s("".slice),C=Math.max;i({target:"String",proto:!0},{replaceAll:function(e,t){var n,i,s,p,S,x,w,N,_,$=r(this),D=0,E=0,O="";if(!l(e)){if(n=c(e),n&&(i=d(r(m(e))),!~b(i,"g")))throw new h("`.replaceAll` does not allow non-global regexes");if(s=u(e,g),s)return a(s,e,$,t);if(v&&n)return k(d($),e,t)}p=d($),S=d(e),x=o(t),x||(t=d(t)),w=S.length,N=C(1,w),D=b(p,S);while(-1!==D)_=x?d(t(S,D,p)):f(S,p,D,[],void 0,t),O+=y(p,E,D)+_,E=D+w,D=D+N>p.length?-1:b(p,S,D+N);return E<p.length&&(O+=y(p,E)),O}})},"5b94":function(e,t,n){},"5da3":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateOnboardingCompanySlogan"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateOnboardingCompanySlogan"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateOnboardingCompanySlogan"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slogan"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:149}};n.loc.source={body:"mutation updateOnboardingCompanySlogan($input: UpdateOnboardingCompanySlogan!){\nupdateOnboardingCompanySlogan(input: $input){\n    id\n    slogan\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateOnboardingCompanySlogan"]=r(n,"updateOnboardingCompanySlogan")},"5e39":function(e,t,n){},6274:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"resendHoppermationSenderValidation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"senderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"resendHoppermationSenderValidation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"senderId"},value:{kind:"Variable",name:{kind:"Name",value:"senderId"}}}],directives:[]}]}}],loc:{start:0,end:122}};n.loc.source={body:"mutation resendHoppermationSenderValidation($senderId: ID!) {\n  resendHoppermationSenderValidation(senderId: $senderId)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["resendHoppermationSenderValidation"]=r(n,"resendHoppermationSenderValidation")},"639e":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Settings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"settings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"company"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isPhoneOptional"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"enabledPhoneVerification"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"VALUATION"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"plotValuation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"showInPropertyValuation"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"lead"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postalShipping"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allGuides"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"activeLandingpages"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:349}};n.loc.source={body:"query Settings ($companyId: String) {\n  settings (companyId: $companyId) {\n    company {\n      isPhoneOptional\n      enabledPhoneVerification {\n        VALUATION\n      }\n      plotValuation {\n        showInPropertyValuation\n      }\n    }\n    lead {\n      postalShipping {\n        type\n        allGuides\n        activeLandingpages\n      }\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["Settings"]=r(n,"Settings")},"64af":function(e,t,n){"use strict";n("f071")},"66ab":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Company"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"company"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"street"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"about"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"imprint"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"privacy"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"website"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"region"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"lpValuationHero"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"ambassador"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salutation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"role"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mobile"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slogan"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"regionName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"commission"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"industry"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessDescription"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"theme"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"colors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"primary"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"secondary"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"locale"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:862}};n.loc.source={body:"query Company($id: String) {\n  company(id: $id) {\n    id\n    name\n    country\n    address {\n      city\n      country\n      street\n      zip\n    }\n    links {\n      about\n      imprint\n      privacy\n      website\n    }\n    images {\n      logo {\n        url\n        name\n        id\n      }\n      team {\n        url\n        name\n        id\n      }\n      region {\n        url\n        name\n        id\n      }\n      lpValuationHero {\n        url\n        name\n        id\n      }\n    }\n    ambassador {\n      id\n      salutation\n      firstname\n      lastname\n      name\n      role\n      email\n      image {\n        id\n        url\n      }\n      phone\n      mobile\n    }\n    slug\n    slogan\n    regionName\n    commission\n    meta {\n      industry\n      businessDescription\n    }\n    theme {\n      colors {\n        primary\n        secondary\n      }\n    }\n    locale\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["Company"]=r(n,"Company")},"6b06":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createAnamnesisFromWebsite"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"url"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"anamnesis"},name:{kind:"Name",value:"createAnamnesisFromWebsite"},arguments:[{kind:"Argument",name:{kind:"Name",value:"url"},value:{kind:"Variable",name:{kind:"Name",value:"url"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"meta"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"industry"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"businessDescription"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:198}};n.loc.source={body:"mutation createAnamnesisFromWebsite($url: String!) {\n  anamnesis: createAnamnesisFromWebsite(url: $url) {\n    id\n    name\n    country\n    meta {\n      industry\n      businessDescription\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["createAnamnesisFromWebsite"]=r(n,"createAnamnesisFromWebsite")},"6ce2":function(e,t,n){"use strict";var i=n("8336"),a=n("ce7e"),s=n("0789"),r=n("132d"),o=n("2fa4"),l=function(){var e=this,t=e._self._c;return t("div",{staticClass:"my-0 py-0"},[t("div",[e.hideHeader?e._e():t("div",{staticClass:"justify-space-between clickable pb-4 px-2 px-md-4",on:{click:function(t){e.isOpen=!e.isOpen}}},[t("div",{staticClass:"d-flex align-center"},[t(r["a"],{staticClass:"rounded-circle pa-1 icon-background",attrs:{color:"white",small:""}},[e._v(" "+e._s(e.icon)+" ")]),t("span",{staticClass:"pl-2 text-h6"},[e._v(e._s(e.title))]),t(o["a"]),t(i["a"],{attrs:{color:"primary",icon:""}},[t(r["a"],[e._v(e._s(e.isOpen?"mdi-chevron-up-circle-outline":"mdi-chevron-down-circle-outline"))])],1)],1),t("div",[e._v(" "+e._s(e.subtitle)+" ")])]),t(s["a"],[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isOpen,expression:"isOpen"}]},[e.hideHeader?e._e():t(a["a"]),e._t("default")],2)])],1)])},c=[],d={props:{title:{type:String,required:!0},subtitle:{type:String,required:!1,default:""},icon:{type:String,default:"mdi-cog"},isDefaultOpen:{type:Boolean,default:!0},hideHeader:{type:Boolean,default:!1}},data:function(){return{isOpen:this.isDefaultOpen}}},u=d,m=(n("35c9"),n("2877")),f=Object(m["a"])(u,l,c,!1,null,"49659efc",null);t["a"]=f.exports},"6ce5":function(e,t,n){"use strict";n("9496")},"6d12":function(e,t,n){"use strict";n("e799")},"6e84":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"userWithNotificationSettings"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"userWithNotificationSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"notificationSettings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"leadAssigned"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sms"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"newConversion"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"sms"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"news"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"reminder"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:311}};n.loc.source={body:"query userWithNotificationSettings {\n  userWithNotificationSettings {\n    id\n    phone\n    notificationSettings {\n      leadAssigned {\n        sms\n        email\n      }\n      newConversion {\n        sms\n        email\n      }\n      news {\n        email\n      }\n      reminder {\n        email\n      }\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["userWithNotificationSettings"]=r(n,"userWithNotificationSettings")},"72ba":function(e,t,n){"use strict";n("9911");var i=function(){var e=this,t=e._self._c;return e.route?t("router-link",{staticClass:"text-decoration-none",attrs:{to:{name:e.route}}},[t("HelpCardContent",e._b({attrs:{horizontal:e.horizontal,color:e.hasBackgroundColor?e.color:"","is-logo-cutout":e.isLogoCutout}},"HelpCardContent",e.topicContent,!1))],1):t("a",{staticClass:"text-decoration-none",attrs:{href:e.link,target:e.topicContent.target}},[t("HelpCardContent",e._b({attrs:{"is-external":"",horizontal:e.horizontal,color:e.hasBackgroundColor?e.color:"","is-logo-cutout":e.isLogoCutout}},"HelpCardContent",e.topicContent,!1))],1)},a=[],s=n("3b55"),r=n("8336"),o=n("b0af"),l=n("99d9"),c=n("132d"),d=n("adda"),u=n("0fd9"),m=function(){var e=this,t=e._self._c;return t(o["a"],{staticClass:"d-flex justify-space-around",class:{"flex-column":!e.horizontal,"flex-column flex-md-row":e.horizontal},style:{"background-color":e.color},attrs:{outlined:"",height:"100%"}},[e.horizontal?t("div",{staticClass:"d-flex justify-center"},[t(d["a"],{attrs:{"max-width":"150",contain:"",src:"/".concat(e.isLogoCutout?e.logoCutout:e.logo)}})],1):t(d["a"],{attrs:{"max-height":"150",src:e.isLogoCutout?e.logoCutout:e.logo}}),t("div",{staticClass:"d-flex flex-column"},[t(l["d"],{staticClass:"d-flex",class:{"justify-center my-md-4":!e.horizontal}},[t("h4",[e._v(" "+e._s(e.$t(e.title))+" ")])]),t(l["c"],{staticClass:"content text-body-1",class:{"px-6":!e.horizontal}},[e._v(" "+e._s(e.$t(e.text))+" ")]),t(u["a"],{staticClass:"mr-4 footer",class:{"mt-2 mt-md-6":!e.horizontal,"mt-2":e.horizontal}},[t(r["a"],{staticClass:"primary"},[e._v(" "+e._s(e.$t(e.linkText))+" "),e.isExternal?t(c["a"],{staticClass:"ml-2",attrs:{size:"14"}},[e._v(" mdi-open-in-new ")]):e._e()],1)],1)],1)],1)},f=[],p={props:{logo:{type:String,default:""},logoCutout:{type:String,default:""},title:{type:String,default:""},text:{type:String,default:""},linkText:{type:String,default:""},isExternal:{type:Boolean,default:!1},horizontal:{type:Boolean,default:!1},color:{type:String,default:""},isLogoCutout:{type:Boolean,default:!1}}},v=p,g=(n("5333"),n("2877")),h=Object(g["a"])(v,m,f,!1,null,"cb896fb4",null),b=h.exports,k={bottimmo:{CALENDAR:{title:"support.help-card.calendar.title",text:"support.help-card.calendar.text",route:"calendar",linkText:"support.help-card.calendar.link-text",logo:"img/helpcenter-kalender.png",logoCutout:"img/helpcenter-kalender-cutout.png",color:"#8ECCDA"},HELPCENTER:{title:"support.help-card.help-center.title",text:"support.help-card.help-center.text-bottimmo",linkText:"support.help-card.help-center.link-text",target:"_blank",logo:"img/helpcenter-hilfe.png",logoCutout:"img/helpcenter-hilfe-cutout.png",color:"#EAA25A"}},remax:{CALENDAR:{title:"support.help-card.calendar.title",text:"support.help-card.calendar.text",route:"calendar",linkText:"support.help-card.calendar.link-text",logo:"img/helpcenter-kalender.png",logoCutout:"img/helpcenter-kalender-cutout.png",color:"#8ECCDA"},HELPCENTER:{title:"support.help-card.help-center.title",text:"support.help-card.help-center.text-remax",llinkText:"support.help-card.help-center.link-text",target:"_blank",logo:"img/helpcenter-hilfe.png",logoCutout:"img/helpcenter-hilfe-cutout.png",color:"#EAA25A"}}},y={components:{HelpCardContent:b},mixins:[s["a"]],props:{topic:{type:String,default:"null"},config:{type:Object,default:function(){return{}}},horizontal:{type:Boolean,default:!1},hasBackgroundColor:{type:Boolean,default:!1},isLogoCutout:{type:Boolean,default:!1}},computed:{topicContent:function(){return k[this.platform][this.topic]},route:function(){return this.config.route||k[this.platform][this.topic].route},link:function(){return this.config.url||k[this.platform][this.topic].link},color:function(){var e;return null===(e=k[this.platform][this.topic])||void 0===e?void 0:e.color}}},C=y,S=Object(g["a"])(C,i,a,!1,null,null,null);t["a"]=S.exports},7317:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateOnboardingCompanyIsReferenceCustomer"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateOnboardingCompanyIsReferenceCustomer"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"isReferenceCustomer"},name:{kind:"Name",value:"updateOnboardingCompanyIsReferenceCustomer"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isReferenceCustomer"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:222}};n.loc.source={body:"mutation updateOnboardingCompanyIsReferenceCustomer($input: UpdateOnboardingCompanyIsReferenceCustomer!){\nisReferenceCustomer: updateOnboardingCompanyIsReferenceCustomer(input: $input){\n    id\n    isReferenceCustomer\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateOnboardingCompanyIsReferenceCustomer"]=r(n,"updateOnboardingCompanyIsReferenceCustomer")},7431:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"cancelDowngrade"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"cancelDowngrade"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[]}]}}],loc:{start:0,end:86}};n.loc.source={body:"mutation cancelDowngrade($companyId: ID!) {\n  cancelDowngrade(companyId: $companyId)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["cancelDowngrade"]=r(n,"cancelDowngrade")},7539:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserLocale"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateUserLocaleInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserLocale"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:96}};n.loc.source={body:"mutation UpdateUserLocale($input: UpdateUserLocaleInput!) {\n  updateUserLocale(input: $input)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["UpdateUserLocale"]=r(n,"UpdateUserLocale")},"754d":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateHoppermationSender"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateHoppermationSenderInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"sender"},name:{kind:"Name",value:"updateHoppermationSender"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAcknowledged"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fromEmail"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:198}};n.loc.source={body:"mutation updateHoppermationSender($input: UpdateHoppermationSenderInput!) {\n  sender: updateHoppermationSender(input: $input) {\n    id\n    isVerified\n    isAcknowledged\n    fromEmail\n    name\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateHoppermationSender"]=r(n,"updateHoppermationSender")},"761e":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyLinks"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyLinksInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyLinks"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:98}};n.loc.source={body:"mutation updateCompanyLinks($input: UpdateCompanyLinksInput!){\nupdateCompanyLinks(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyLinks"]=r(n,"updateCompanyLinks")},"77b5":function(e,t,n){},7863:function(e,t,n){},"79cc":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"hoppermationDomain"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"hoppermationDomain"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"domain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dkimHost"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dkimText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"returnPathDomain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"returnPathDomainCname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDKIMVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isReturnPathDomainVerified"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:238}};n.loc.source={body:"query hoppermationDomain($companyId: ID!) {\n  domain: hoppermationDomain(companyId: $companyId) {\n    domain\n    dkimHost\n    dkimText\n    returnPathDomain\n    returnPathDomainCname\n    isDKIMVerified\n    isReturnPathDomainVerified\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["hoppermationDomain"]=r(n,"hoppermationDomain")},"7a83":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassador"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateAmbassadorInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"ambassador"},name:{kind:"Name",value:"updateCompanyAmbassador"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"salutation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"role"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mobile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"signature"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customTemplateSignature"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:310}};n.loc.source={body:"mutation updateCompanyAmbassador($input: UpdateAmbassadorInput!) {\n  ambassador: updateCompanyAmbassador(input: $input) {\n    id\n    salutation\n    name\n    role\n    email\n    image {\n      url\n      id\n    }\n    phone\n    mobile\n    signature {\n      html\n      text\n      customTemplateSignature\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassador"]=r(n,"updateCompanyAmbassador")},8036:function(e,t,n){"use strict";var i=n("62ad"),a=n("0fd9"),s=n("b974"),r=n("8654"),o=function(){var e=this,t=e._self._c;return t(a["a"],[t(i["a"],{staticClass:"pr-0 mr-0",attrs:{cols:"5",md:"4",xl:"5"}},[t(s["a"],{attrs:{items:e.countryCallingCodes,disabled:e.disabled,label:e.$t("labels.country-calling-code"),outlined:"","item-text":"displayText","item-value":"countryCallingCode","hide-details":"auto",required:"",rules:[function(t){return!!t||e.$t("labels.country-calling-code-required")}],selectable:function(e){return e.disabled}},on:{click:function(t){return e.onClick("Country Calling Code",e.countryCallingCode)},change:e.updateFullPhoneNumber},model:{value:e.countryCallingCode,callback:function(t){e.countryCallingCode=t},expression:"countryCallingCode"}})],1),t(i["a"],{attrs:{cols:"7",md:"8",xl:"7"}},[e.phoneValidation?t(r["a"],{attrs:{outlined:"",rules:e.validationRules,label:e.label||e.$t("labels.phone-number"),hint:e.hint||e.$t("labels.phone-field-hint"),type:"tel","hide-details":"auto",disabled:e.disabled,"validate-on-blur":e.validateOnBlur,"error-messages":e.errorMessage,loading:e.loading},on:{click:function(t){return e.onClick("Phone Number",e.nationalNumber)},blur:e.updateFullPhoneNumber,input:e.updateFullPhoneNumberOnChange},model:{value:e.nationalNumber,callback:function(t){e.nationalNumber=t},expression:"nationalNumber"}}):e._e()],1)],1)},l=[],c=n("1da1"),d=n("2909"),u=(n("96cf"),n("99af"),n("4e827"),n("4de4"),n("d3b7"),n("d81d"),n("caad"),n("3ca3"),n("ddb0"),n("498a"),n("a15b"),n("4d63"),n("c607"),n("ac1f"),n("2c3e"),n("25f0"),n("466d"),n("7db0"),n("65e0")),m=[{callingCode:"93",countryCode:"AF"},{callingCode:"355",countryCode:"AL"},{callingCode:"213",countryCode:"DZ"},{callingCode:"1-684",countryCode:"AS"},{callingCode:"376",countryCode:"AD"},{callingCode:"244",countryCode:"AO"},{callingCode:"1-264",countryCode:"AI"},{callingCode:"672",countryCode:"AQ"},{callingCode:"1-268",countryCode:"AG"},{callingCode:"54",countryCode:"AR"},{callingCode:"374",countryCode:"AM"},{callingCode:"297",countryCode:"AW"},{callingCode:"61",countryCode:"AU"},{callingCode:"43",countryCode:"AT"},{callingCode:"994",countryCode:"AZ"},{callingCode:"1-242",countryCode:"BS"},{callingCode:"973",countryCode:"BH"},{callingCode:"880",countryCode:"BD"},{callingCode:"1-246",countryCode:"BB"},{callingCode:"375",countryCode:"BY"},{callingCode:"32",countryCode:"BE"},{callingCode:"501",countryCode:"BZ"},{callingCode:"229",countryCode:"BJ"},{callingCode:"1-441",countryCode:"BM"},{callingCode:"975",countryCode:"BT"},{callingCode:"591",countryCode:"BO"},{callingCode:"387",countryCode:"BA"},{callingCode:"267",countryCode:"BW"},{callingCode:"55",countryCode:"BR"},{callingCode:"246",countryCode:"IO"},{callingCode:"1-284",countryCode:"VG"},{callingCode:"673",countryCode:"BN"},{callingCode:"359",countryCode:"BG"},{callingCode:"226",countryCode:"BF"},{callingCode:"257",countryCode:"BI"},{callingCode:"855",countryCode:"KH"},{callingCode:"237",countryCode:"CM"},{callingCode:"1",countryCode:"CA"},{callingCode:"238",countryCode:"CV"},{callingCode:"1-345",countryCode:"KY"},{callingCode:"236",countryCode:"CF"},{callingCode:"235",countryCode:"TD"},{callingCode:"56",countryCode:"CL"},{callingCode:"86",countryCode:"CN"},{callingCode:"61",countryCode:"CX"},{callingCode:"61",countryCode:"CC"},{callingCode:"57",countryCode:"CO"},{callingCode:"269",countryCode:"KM"},{callingCode:"682",countryCode:"CK"},{callingCode:"506",countryCode:"CR"},{callingCode:"385",countryCode:"HR"},{callingCode:"53",countryCode:"CU"},{callingCode:"599",countryCode:"CW"},{callingCode:"357",countryCode:"CY"},{callingCode:"420",countryCode:"CZ"},{callingCode:"243",countryCode:"CD"},{callingCode:"45",countryCode:"DK"},{callingCode:"253",countryCode:"DJ"},{callingCode:"1-767",countryCode:"DM"},{callingCode:"1-809",countryCode:"DO"},{callingCode:"670",countryCode:"TL"},{callingCode:"593",countryCode:"EC"},{callingCode:"20",countryCode:"EG"},{callingCode:"503",countryCode:"SV"},{callingCode:"240",countryCode:"GQ"},{callingCode:"291",countryCode:"ER"},{callingCode:"372",countryCode:"EE"},{callingCode:"251",countryCode:"ET"},{callingCode:"500",countryCode:"FK"},{callingCode:"298",countryCode:"FO"},{callingCode:"679",countryCode:"FJ"},{callingCode:"358",countryCode:"FI"},{callingCode:"33",countryCode:"FR"},{callingCode:"689",countryCode:"PF"},{callingCode:"241",countryCode:"GA"},{callingCode:"220",countryCode:"GM"},{callingCode:"995",countryCode:"GE"},{callingCode:"49",countryCode:"DE"},{callingCode:"233",countryCode:"GH"},{callingCode:"350",countryCode:"GI"},{callingCode:"30",countryCode:"GR"},{callingCode:"299",countryCode:"GL"},{callingCode:"1-473",countryCode:"GD"},{callingCode:"1-671",countryCode:"GU"},{callingCode:"502",countryCode:"GT"},{callingCode:"44-1481",countryCode:"GG"},{callingCode:"224",countryCode:"GN"},{callingCode:"245",countryCode:"GW"},{callingCode:"592",countryCode:"GY"},{callingCode:"509",countryCode:"HT"},{callingCode:"504",countryCode:"HN"},{callingCode:"852",countryCode:"HK"},{callingCode:"36",countryCode:"HU"},{callingCode:"354",countryCode:"IS"},{callingCode:"91",countryCode:"IN"},{callingCode:"62",countryCode:"ID"},{callingCode:"98",countryCode:"IR"},{callingCode:"964",countryCode:"IQ"},{callingCode:"353",countryCode:"IE"},{callingCode:"44-1624",countryCode:"IM"},{callingCode:"972",countryCode:"IL"},{callingCode:"39",countryCode:"IT"},{callingCode:"225",countryCode:"CI"},{callingCode:"1-876",countryCode:"JM"},{callingCode:"81",countryCode:"JP"},{callingCode:"44-1534",countryCode:"JE"},{callingCode:"962",countryCode:"JO"},{callingCode:"7",countryCode:"KZ"},{callingCode:"254",countryCode:"KE"},{callingCode:"686",countryCode:"KI"},{callingCode:"383",countryCode:"XK"},{callingCode:"965",countryCode:"KW"},{callingCode:"996",countryCode:"KG"},{callingCode:"856",countryCode:"LA"},{callingCode:"371",countryCode:"LV"},{callingCode:"961",countryCode:"LB"},{callingCode:"266",countryCode:"LS"},{callingCode:"231",countryCode:"LR"},{callingCode:"218",countryCode:"LY"},{callingCode:"423",countryCode:"LI"},{callingCode:"370",countryCode:"LT"},{callingCode:"352",countryCode:"LU"},{callingCode:"853",countryCode:"MO"},{callingCode:"389",countryCode:"MK"},{callingCode:"261",countryCode:"MG"},{callingCode:"265",countryCode:"MW"},{callingCode:"60",countryCode:"MY"},{callingCode:"960",countryCode:"MV"},{callingCode:"223",countryCode:"ML"},{callingCode:"356",countryCode:"MT"},{callingCode:"692",countryCode:"MH"},{callingCode:"222",countryCode:"MR"},{callingCode:"230",countryCode:"MU"},{callingCode:"262",countryCode:"YT"},{callingCode:"52",countryCode:"MX"},{callingCode:"691",countryCode:"FM"},{callingCode:"373",countryCode:"MD"},{callingCode:"377",countryCode:"MC"},{callingCode:"976",countryCode:"MN"},{callingCode:"382",countryCode:"ME"},{callingCode:"1-664",countryCode:"MS"},{callingCode:"212",countryCode:"MA"},{callingCode:"258",countryCode:"MZ"},{callingCode:"95",countryCode:"MM"},{callingCode:"264",countryCode:"NA"},{callingCode:"674",countryCode:"NR"},{callingCode:"977",countryCode:"NP"},{callingCode:"31",countryCode:"NL"},{callingCode:"599",countryCode:"AN"},{callingCode:"687",countryCode:"NC"},{callingCode:"64",countryCode:"NZ"},{callingCode:"505",countryCode:"NI"},{callingCode:"227",countryCode:"NE"},{callingCode:"234",countryCode:"NG"},{callingCode:"683",countryCode:"NU"},{callingCode:"850",countryCode:"KP"},{callingCode:"1-670",countryCode:"MP"},{callingCode:"47",countryCode:"NO"},{callingCode:"968",countryCode:"OM"},{callingCode:"92",countryCode:"PK"},{callingCode:"680",countryCode:"PW"},{callingCode:"970",countryCode:"PS"},{callingCode:"507",countryCode:"PA"},{callingCode:"675",countryCode:"PG"},{callingCode:"595",countryCode:"PY"},{callingCode:"51",countryCode:"PE"},{callingCode:"63",countryCode:"PH"},{callingCode:"64",countryCode:"PN"},{callingCode:"48",countryCode:"PL"},{callingCode:"351",countryCode:"PT"},{callingCode:"1-787",countryCode:"PR"},{callingCode:"974",countryCode:"QA"},{callingCode:"242",countryCode:"CG"},{callingCode:"262",countryCode:"RE"},{callingCode:"40",countryCode:"RO"},{callingCode:"7",countryCode:"RU"},{callingCode:"250",countryCode:"RW"},{callingCode:"590",countryCode:"BL"},{callingCode:"290",countryCode:"SH"},{callingCode:"1-869",countryCode:"KN"},{callingCode:"1-758",countryCode:"LC"},{callingCode:"590",countryCode:"MF"},{callingCode:"508",countryCode:"PM"},{callingCode:"1-784",countryCode:"VC"},{callingCode:"685",countryCode:"WS"},{callingCode:"378",countryCode:"SM"},{callingCode:"239",countryCode:"ST"},{callingCode:"966",countryCode:"SA"},{callingCode:"221",countryCode:"SN"},{callingCode:"381",countryCode:"RS"},{callingCode:"248",countryCode:"SC"},{callingCode:"232",countryCode:"SL"},{callingCode:"65",countryCode:"SG"},{callingCode:"1-721",countryCode:"SX"},{callingCode:"421",countryCode:"SK"},{callingCode:"386",countryCode:"SI"},{callingCode:"677",countryCode:"SB"},{callingCode:"252",countryCode:"SO"},{callingCode:"27",countryCode:"ZA"},{callingCode:"82",countryCode:"KR"},{callingCode:"211",countryCode:"SS"},{callingCode:"34",countryCode:"ES"},{callingCode:"94",countryCode:"LK"},{callingCode:"249",countryCode:"SD"},{callingCode:"597",countryCode:"SR"},{callingCode:"47",countryCode:"SJ"},{callingCode:"268",countryCode:"SZ"},{callingCode:"46",countryCode:"SE"},{callingCode:"41",countryCode:"CH"},{callingCode:"963",countryCode:"SY"},{callingCode:"886",countryCode:"TW"},{callingCode:"992",countryCode:"TJ"},{callingCode:"255",countryCode:"TZ"},{callingCode:"66",countryCode:"TH"},{callingCode:"228",countryCode:"TG"},{callingCode:"690",countryCode:"TK"},{callingCode:"676",countryCode:"TO"},{callingCode:"1-868",countryCode:"TT"},{callingCode:"216",countryCode:"TN"},{callingCode:"90",countryCode:"TR"},{callingCode:"993",countryCode:"TM"},{callingCode:"1-649",countryCode:"TC"},{callingCode:"688",countryCode:"TV"},{callingCode:"1-340",countryCode:"VI"},{callingCode:"256",countryCode:"UG"},{callingCode:"380",countryCode:"UA"},{callingCode:"971",countryCode:"AE"},{callingCode:"44",countryCode:"GB"},{callingCode:"1",countryCode:"US"},{callingCode:"598",countryCode:"UY"},{callingCode:"998",countryCode:"UZ"},{callingCode:"678",countryCode:"VU"},{callingCode:"379",countryCode:"VA"},{callingCode:"58",countryCode:"VE"},{callingCode:"84",countryCode:"VN"},{callingCode:"681",countryCode:"WF"},{callingCode:"212",countryCode:"EH"},{callingCode:"967",countryCode:"YE"},{callingCode:"260",countryCode:"ZM"},{callingCode:"263",countryCode:"ZW"}],f=m,p={inject:["companyBaseData"],props:{value:{type:String,default:""},label:{type:String,default:""},hint:{type:String,default:""},disabled:{type:Boolean,default:!1},rules:{type:Array,default:function(){return[]}},errorMessage:{type:String,default:""},validateOnBlur:{type:Boolean,default:!1},updateOnInput:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},validatePhone:{type:Boolean,default:!1}},data:function(){return{countryCallingCode:"",nationalNumber:"",validationRules:[u["m"],this.validateWholePhoneNumber].concat(Object(d["a"])(this.rules)),phoneValidation:null,codes:f}},computed:{countryCallingCodes:function(){var e=["DE","AT","CH"],t=[],n=f.map((function(n){var i={countryCode:n.countryCode,countryCallingCode:n.callingCode,displayText:"".concat(n.callingCode," (").concat(n.countryCode,")"),disabled:!1};return e.includes(n.countryCode)?(t.push(i),null):i})).filter((function(e){return null!==e})).sort((function(e,t){return e.countryCode.localeCompare(t.countryCode)})),i={countryCode:"-",countryCallingCode:"-",displayText:"────",disabled:!0};return n.unshift(i),n.unshift.apply(n,t),n}},watch:{value:function(){this.setSplittedValues()}},created:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.setSplittedValues(),i=function(){return n.e("libphonenumber-js/max").then(n.bind(null,"ff4b"))},t.next=4,i();case 4:e.phoneValidation=t.sent;case 5:case"end":return t.stop()}}),t)})))()},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},setSplittedValues:function(){var e=this.getSplittedPhoneNumber(),t=e.countryCallingCode,n=e.nationalNumber;this.countryCallingCode=t.trim(),this.nationalNumber=n.trim()},getSplittedPhoneNumber:function(){if(this.value)return this.parseValueToSplittedFormat();var e=this.getCountryCallingCodeForCompany();return{countryCallingCode:e,nationalNumber:""}},validateWholePhoneNumber:function(){var e=this.getSplittedPhoneNumber(),t=e.countryCallingCode,n=e.nationalNumber;if(this.validatePhone&&n){var i="+"+t+n;return!Object(u["e"])(i)&&this.phoneValidation.isValidPhoneNumber(i)||this.$t("labels.phone-invalid")}return!0},updateFullPhoneNumberOnChange:function(){this.updateOnInput&&this.updateFullPhoneNumber()},updateFullPhoneNumber:function(){var e=this.countryCallingCode&&"+",t="";this.nationalNumber&&(t="".concat(e).concat(this.countryCallingCode).concat(this.nationalNumber).trim()),this.$emit("input",t)},parseValueToSplittedFormat:function(){var e=this.countryCallingCodes.map((function(e){return e.countryCallingCode})).join("|"),t=new RegExp("^((00|\\+)(?<countryCallingCode>"+e+"))?(?<nationalNumber>.*)"),n=this.value.match(t),i=n.groups,a=i.countryCallingCode,s=void 0===a?"":a,r=i.nationalNumber,o=void 0===r?this.value:r;return{countryCallingCode:s,nationalNumber:o}},getCountryCallingCodeForCompany:function(){var e=this,t=this.countryCallingCodes[0].countryCallingCode;return this.companyBaseData&&this.companyBaseData.country&&(t=this.countryCallingCodes.find((function(t){return t.countryCode===e.companyBaseData.country.toUpperCase()})).countryCallingCode),t}}},v=p,g=n("2877"),h=Object(g["a"])(v,o,l,!1,null,null,null);t["a"]=h.exports},"826c":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateUser"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateUserInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"user"},name:{kind:"Name",value:"updateUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:96}};n.loc.source={body:"mutation updateUser($input: UpdateUserInput!) {\n  user: updateUser(input: $input) {\n    id\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateUser"]=r(n,"updateUser")},"829a":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"saveFlowfactCredentials"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FlowfactCredentialsInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"flowfactConfig"},name:{kind:"Name",value:"saveFlowfactCredentials"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isTokenVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"selectedContactStatusIds"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:194}};n.loc.source={body:"mutation saveFlowfactCredentials($input: FlowfactCredentialsInput!) {\n  flowfactConfig: saveFlowfactCredentials(input: $input) {\n    token\n    isTokenVerified\n    selectedContactStatusIds\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["saveFlowfactCredentials"]=r(n,"saveFlowfactCredentials")},"82fb":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorMobile"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorMobileInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAmbassadorMobile"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:136}};n.loc.source={body:"mutation updateCompanyAmbassadorMobile ($input: UpdateCompanyAmbassadorMobileInput!) {\n  updateCompanyAmbassadorMobile (input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorMobile"]=r(n,"updateCompanyAmbassadorMobile")},8353:function(e,t,n){},"841d":function(e,t,n){"use strict";n("e9b7")},"84c7":function(e,t,n){},"84f2":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Company"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"company"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"landingpages"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"status"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"ambassador"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"role"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mobile"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:273}};n.loc.source={body:"query Company ($id: String) {\n  company (id: $id) {\n    id\n    landingpages {\n      id  \n      type   \n      slug  \n      name\n      status\n    }\n    ambassador {\n      id\n      firstname\n      lastname\n      name\n      role\n      email\n      phone\n      mobile\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["Company"]=r(n,"Company")},8640:function(e,t,n){"use strict";n.r(t);var i,a=n("0798"),s=n("8336"),r=n("b0af"),o=n("ce7e"),l=n("0fd9"),c=n("71a3"),d=n("c671"),u=n("fe57"),m=n("aac8"),f=(n("b0c0"),function(){var e=this,t=e._self._c;return t("div",[t("BaseHeader",{attrs:{title:e.$t("settings.title"),"style-variant":6,icon:"mdi-cog"},scopedSlots:e._u([{key:"design",fn:function(){return[t("HeaderDesign")]},proxy:!0},{key:"desc",fn:function(){return[t("p",[e._v(" "+e._s(e.$t("settings.subtitle"))+" ")])]},proxy:!0}])}),e.showRegeneration?t(a["a"],{attrs:{border:"left",type:"warning"}},[t(l["a"],{staticClass:"py-1",class:{"pl-4":e.$vuetify.breakpoint.smAndDown}},[e._v(" "+e._s(e.$t("alerts.settings.show-regeneration"))+" ")]),t(l["a"],{staticClass:"justify-end",class:{"justify-center":e.$vuetify.breakpoint.smAndDown}},[t("Feature",{attrs:{"feature-slug":e.featureNames.BILLWERK},scopedSlots:e._u([{key:"inactive",fn:function(){return[t(s["a"],{staticClass:"mx-4 mb-4",attrs:{width:e.$vuetify.breakpoint.mdAndDown?"100%":"350px",color:"primary",to:"/support"}},[e._v(" "+e._s(e.$t("buttons.settings.contact-support"))+" ")])]},proxy:!0}],null,!1,2910558282)},[[e.company?t("Regenerate",{attrs:{company:e.company}}):e._e()]],2)],1)],1):e._e(),t(r["a"],{staticClass:"px-2 pt-2 px-md-4",attrs:{outlined:""}},[t("div",[t(u["a"],{attrs:{"show-arrows":""},model:{value:e.section,callback:function(t){e.section=t},expression:"section"}},e._l(e.sections,(function(n){var i=n.name;return t(c["a"],{key:i},[e._v(" "+e._s(e.$t(i))+" ")])})),1),t(o["a"]),t(m["a"],{staticClass:"pt-4",model:{value:e.section,callback:function(t){e.section=t},expression:"section"}},e._l(e.sections,(function(e){var n=e.name,i=e.component;return t(d["a"],{key:n},[t(i,{tag:"component"})],1)})),1)],1)])],1)}),p=[],v=(n("4de4"),n("d3b7"),n("d81d"),n("b64b"),n("ac1f"),n("5319"),n("a523")),g=function(){var e=this,t=e._self._c;return e.settings&&e.guides?t(v["a"],{staticClass:"layout-container pa-0"},[t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.isPhoneVerificationEditable?t("div",[t("OptionalPhoneSettings",{attrs:{settings:e.settings,"refetch-settings":e.refetchCompanySettings}}),t(o["a"],{staticClass:"my-4"})],1):e._e()]}}],null,!1,2599436099)}),e.showValuationSettings?t("ValuationSettings",{attrs:{settings:e.settings,"refetch-settings":e.refetchCompanySettings}}):e._e(),e.showValuationSettings?t(o["a"],{staticClass:"my-4"}):e._e(),t("Feature",{attrs:{"feature-slug":e.featureNames.RETURNCALL_TOPICS}},[t("div",[t("ReturnCallSettings"),t(o["a"],{staticClass:"my-4"})],1)]),e.activeGuides.length>0?t("div",[t("PostalShippingSettings",{attrs:{settings:e.settings,guides:e.activeGuides,"refetch-settings":e.refetchCompanySettings,"is-default-open":!e.showValuationSettings&&!e.showNavigationSettings}}),t(o["a"],{staticClass:"my-4"})],1):e._e(),e.showNavigationSettings?t("div",[t("NavigationSettings",{attrs:{settings:e.settings,tools:e.tools,guides:e.guides,checklists:e.checklists}}),t(o["a"],{staticClass:"my-4"})],1):e._e(),t("Feature",{attrs:{"feature-slug":e.featureNames.LANDINGPAGE}},[t("div",[e.company?t("PublicContactSettings",{attrs:{company:e.company,"refetch-company":e.refetchCompany}}):e._e(),t(o["a"],{staticClass:"my-4"})],1)]),t("Feature",{attrs:{"feature-slug":e.featureNames.CONTENT_CREATOR}},[t("SocialMediaSettings")],1)],1):e._e()},h=[],b=n("2909"),k=n("5530"),y=(n("4e827"),n("99af"),n("7db0"),n("62ad")),C=n("adda"),S=n("b73d"),x=function(){var e=this,t=e._self._c;return t("Feature",{attrs:{"feature-slug":e.featureNames.VALUATION},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.isPlotValuationIntegrationEnabled||i.config.isPhoneNumberVerificationEnabled&&i.config.canChangePhoneNumberVerification?t("SettingsCard",{attrs:{title:e.$t("settings.features.valuation.title"),subtitle:e.subtitle,icon:"mdi-home-variant","is-default-open":!1}},[t("div",{staticClass:"pt-4 px-4"},[i.config.isPlotValuationIntegrationEnabled?t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.features.valuation.body-texts.0"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.features.valuation.body-texts.1"))+" ")])])]),t(y["a"],{staticClass:"d-flex justify-center px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",{staticClass:"d-flex flex-column",style:{"max-width":e.$vuetify.breakpoint.smAndDown?"100%":"70%"}},[t("div",{staticClass:"d-flex"},[t("span",[e._v(e._s(e.$t("settings.features.valuation.labels.add-plot-valuation"))+": ")]),t(S["a"],{staticClass:"ma-0 mx-2",attrs:{dense:"","hide-details":""},on:{change:e.updatePlotValuationInValuation},model:{value:e.isPlotValuationInValuation,callback:function(t){e.isPlotValuationInValuation=t},expression:"isPlotValuationInValuation"}})],1),t(C["a"],{attrs:{src:e.plotValuationSettingSrc,alt:"plot valuation image",contain:"","max-width":"100%"}})],1)])],1):e._e(),i.config.isPhoneNumberVerificationEnabled&&i.config.canChangePhoneNumberVerification?t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.features.valuation.body-texts.2"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.features.valuation.body-texts.3"))),t("br")]),t("p",{staticClass:"ma-0 mt-2 grey--text"},[t("b",[e._v(e._s(e.$t("labels.caution"))+":")]),e._v(" "+e._s(e.$t("settings.features.valuation.body-texts.4"))+" "),t("br"),t("b",[e._v(e._s(e.$t("settings.features.valuation.body-texts.5"))+":")]),e._v(" "+e._s(e.$t("settings.features.valuation.body-texts.6"))+" "),t("br"),t("br")])])]),t(y["a"],{staticClass:"d-flex justify-center",class:{"pa-0 px-0":e.$vuetify.breakpoint.smAndDown},attrs:{cols:"12",sm:"6"}},[t("div",{staticClass:"d-flex flex-column",style:{"max-width":e.$vuetify.breakpoint.smAndDown?"100%":"70%"}},[t("div",{staticClass:"d-flex mb-6"},[t("span",[e._v(e._s(e.$t("settings.features.valuation.labels.activate-phone-verification"))+": ")]),t(S["a"],{staticClass:"ma-0 mx-2",attrs:{dense:"","hide-details":""},on:{change:e.updatePhoneVerificationEnabled},model:{value:e.isPhoneVerificationEnabled,callback:function(t){e.isPhoneVerificationEnabled=t},expression:"isPhoneVerificationEnabled"}})],1),t(C["a"],{attrs:{src:e.phoneVerificationSettingSrc,alt:"phone verification image",contain:"","max-width":"100%"}})],1)])],1):e._e(),t("ChangeSettingsAlert")],1)]):e._e()]}}])})},w=[],N=n("1da1"),_=(n("96cf"),n("6ce2")),$=function(){var e=this,t=e._self._c;return t(a["a"],{staticClass:"my-6 pl-4",class:{"mx-0":e.$vuetify.breakpoint.smAndDown},attrs:{icon:"mdi-lightbulb-on-20",prominent:"",text:"",type:"info"}},[t("p",{staticClass:"ma-0 font-weight-bold"},[e._v(" "+e._s(e.$t("labels.hint"))+": ")]),t("span",[e._v(e._s(e.alertText||e.$t("alerts.change-settings")))])])},D=[],E={props:{alertText:{type:String,default:""}}},O=E,T=n("2877"),A=Object(T["a"])(O,$,D,!1,null,null,null),I=A.exports,P=n("95d3"),F=n.n(P),L=n("a9e3f"),V=n.n(L),R=n("8fcf"),j=n("a866"),U={components:{SettingsCard:_["a"],ChangeSettingsAlert:I},mixins:[j["a"]],props:{settings:{type:Object,default:function(){return{}}}},data:function(){return{plotValuationSettingSrc:"img/settings-plot-valuation.png",phoneVerificationSettingSrc:"img/settings-phone-verification.png",isPhoneVerificationEnabled:this.settings.company.enabledPhoneVerification.VALUATION,isPlotValuationInValuation:this.settings.company.plotValuation.showInPropertyValuation}},computed:{subtitle:function(){return this.getFeature(this.featureNames.VALUATION).config.isPlotValuationIntegrationEnabled?this.$t("settings.features.valuation.subtitle-active"):this.$t("settings.features.valuation.subtitle")}},methods:{updatePhoneVerificationEnabled:function(e){this.isPhoneVerificationEnabled=e,this.saveSettings(this.savePhoneVerificationSetting)},updatePlotValuationInValuation:function(e){this.isPlotValuationInValuation=e,this.saveSettings(this.savePlotValuationSetting)},savePhoneVerificationSetting:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$apollo.mutate({mutation:F.a,variables:{input:{enabled:e.isPhoneVerificationEnabled,companyId:e.$auth.user.companyId}}});case 2:case"end":return t.stop()}}),t)})))()},savePlotValuationSetting:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$apollo.mutate({mutation:V.a,variables:{input:{showInPropertyValuation:e.isPlotValuationInValuation,companyId:e.$auth.user.companyId}}});case 2:case"end":return t.stop()}}),t)})))()},saveSettings:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,e();case 3:R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.features.success")}),n.next=9;break;case 6:n.prev=6,n.t0=n["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.features.error")});case 9:case"end":return n.stop()}}),n,null,[[0,6]])})))()}}},B=U,M=Object(T["a"])(B,x,w,!1,null,null,null),q=M.exports,H=n("99d9"),z=n("169a"),G=n("cd55"),W=n("49e2"),K=n("c865"),Q=n("0393"),Y=n("132d"),Z=n("2fa4"),X=n("71d9"),J=n("2a7f"),ee=function(){var e,t=this,n=t._self._c;return n("SettingsCard",{attrs:{title:t.$t("settings.features.navigation.title"),subtitle:t.$t("settings.features.navigation.subtitle"),icon:"mdi-menu","is-default-open":!1}},[n("div",{staticClass:"px-4 pt-4"},t._l(t.categoriesWithItems,(function(e,i){return n(l["a"],{key:i},[n(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[n("div",[n("span",{staticClass:"font-weight-bold"},[t._v(" "+t._s(e.title)),n("br")]),n("span",{staticClass:"grey--text"},[t._v(" "+t._s(t.$t("settings.features.navigation.body-text",{title:e.title}))+" ")])])]),n(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[n(Q["a"],{attrs:{flat:""}},[n(G["a"],{staticClass:"expansion-panel-border",on:{click:function(e){return t.onPanelClick()}}},[n(K["a"],[n("span",[t._v(" "+t._s(t.$t("settings.features.navigation.list",{title:e.title}))+" ")])]),n(W["a"],t._l(e.items,(function(e,i){return n("div",{key:i,staticClass:"py-1",on:{click:function(n){return t.showUpsellingDialog(e)}}},[e.disabled?n("div",{staticClass:"rounded-lg upselling-container"},[n("GradientBackground",{staticStyle:{opacity:"0.9"},attrs:{"top-left":t.gradientColors.start,"top-right":t.gradientColors.end,"bottom-left":t.gradientColors.start,"bottom-right":t.gradientColors.end}}),n("div",{staticClass:"pa-2 overlay"},[n("span",{staticClass:"white--text font-weight-bold"},[t._v(t._s(e.name))]),n("div",{staticClass:"justify-center py-2 d-flex"},[n(s["a"],{attrs:{small:"",color:"primary"}},[t._v(" "+t._s(t.$t("buttons.upselling.cta"))+" ")])],1)])],1):n(S["a"],{attrs:{value:e.slug,label:"".concat(e.name),dense:"",disabled:e.disabled,loading:t.isLoadingSlugs[e.slug]},nativeOn:{"!click":function(n){return t.changeStatus(n,e.slug)}},model:{value:t.activePages,callback:function(e){t.activePages=e},expression:"activePages"}})],1)})),0)],1)],1)],1)],1)})),1),n("ChangeSettingsAlert"),n(z["a"],{attrs:{width:"500"},model:{value:t.isUpsellingDialogVisible,callback:function(e){t.isUpsellingDialogVisible=e},expression:"isUpsellingDialogVisible"}},[n(r["a"],[n(H["d"],{staticClass:"pa-0"},[n(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[n(J["b"],[t._v(t._s(t.$t("settings.features.navigation.activate",{title:t.title})))]),n(Z["a"]),n(J["a"],[n(s["a"],{attrs:{icon:"",dark:""},on:{click:function(e){t.isUpsellingDialogVisible=!1}}},[n(Y["a"],{attrs:{large:""}},[t._v(" mdi-close ")])],1)],1)],1)],1),n(H["c"],{staticClass:"mt-5"},[n("p",[t._v(" "+t._s(t.$t("settings.features.navigation.info-texts.0"))+" "+t._s(t.content)+": "),n("b",[t._v(t._s(null===(e=t.selectedItem)||void 0===e?void 0:e.name))]),t._v(" "+t._s(t.$t("settings.features.navigation.info-texts.1"))+". "+t._s(t.$t("settings.features.navigation.info-texts.2"))+": ")])]),n(H["a"],[n(Z["a"]),n(s["a"],{attrs:{color:"primary",text:""},on:{click:function(e){return t.routeToUpselling()}}},[t._v(" "+t._s(t.$t("settings.features.navigation.info-texts.3"))+" ")])],1)],1)],1)],1)},te=[],ne=(n("07ac"),n("a15b"),n("13d5"),n("caad"),n("2532"),n("188c")),ie=n("4c7d"),ae=n("32f6"),se=n("3b55"),re={components:{SettingsCard:_["a"],ChangeSettingsAlert:I,GradientBackground:ae["a"]},mixins:[ne["a"],j["a"],se["a"]],props:{settings:{type:Object,default:function(){return{}}},guides:{type:Array,default:function(){return[]}},checklists:{type:Array,default:function(){return[]}},tools:{type:Array,default:function(){return[]}}},data:function(){return{loading:!1,selectedItem:null,isUpsellingDialogVisible:!1,activePages:this.getActivePages(),isLoadingSlugs:{},loaderTimeout:null,categories:{tools:{title:this.$t("landingpages.labels.tools"),items:this.tools},guides:{title:this.$t("landingpages.labels.guides"),items:this.guides},checklists:{title:this.$t("landingpages.labels.checklists"),items:this.checklists}}}},computed:{categoriesWithItems:function(){return Object.values(this.categories).filter((function(e){return e.items.length}))},cssProps:function(){return{"--primary-color":this.$vuetify.theme.themes.light.primary}},route:function(){var e;return{guide:"guides",checklist:"checklists"}[null===(e=this.selectedItem)||void 0===e?void 0:e.type.toLowerCase()]||"tools"},title:function(){return{guides:this.$t("settings.features.navigation.title-texts.0"),checklists:this.$t("settings.features.navigation.title-texts.1"),tools:this.$t("settings.features.navigation.title-texts.2")}[this.route]},content:function(){return{guides:this.$t("settings.features.navigation.content-texts.0"),checklists:this.$t("settings.features.navigation.content-texts.1"),tools:this.$t("settings.features.navigation.content-texts.2")}[this.route]}},unmounted:function(){clearTimeout(this.loaderTimeout)},created:function(){var e=this;this.$watch((function(e){return[e.tools,e.guides,e.checklists].join()}),(function(t){e.activePages=e.getActivePages(),e.categories.tools.items=e.tools,e.categories.checklists.items=e.checklists,e.categories.guides.items=e.guides})),R["a"].$on(R["b"].CHANGE_FEATURE_CONFIG,(function(t){t.slug===ie["a"].LANDINGPAGE_NAVIGATION&&(t.error&&R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.features.error")}),e.activePages=e.getActivePages())}))},methods:{getActivePages:function(){var e=this;return[].concat(Object(b["a"])(this.tools),Object(b["a"])(this.guides),Object(b["a"])(this.checklists)).map((function(e){var t=e.slug;return t})).filter((function(t){return e.$features._featuresBySlug["landingpage-navigation"].config[t]}))},onPanelClick:function(){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Upselling")},showUpsellingDialog:function(e){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Upselling"+e.type),e.disabled&&(this.isUpsellingDialogVisible=!0,this.selectedItem=e)},routeToUpselling:function(){this.$router.push("/landingpages/#"+this.route)},finishLoading:function(e){var t=this;setTimeout((function(){t.loading=!1}),e)},changeStatus:function(e,t){var n=this;this.$set(this.isLoadingSlugs,t,!0),this.loaderTimeout=setTimeout((function(){n.saveSettings(t)}),2e3)},saveSettings:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.$features.setCompanyFeature({companyId:t.$auth.user.companyId,slug:ie["a"].LANDINGPAGE_NAVIGATION,config:[].concat(Object(b["a"])(t.tools),Object(b["a"])(t.guides),Object(b["a"])(t.checklists)).reduce((function(e,n){return e[n.slug]=t.activePages.includes(n.slug),e}),{})});case 2:t.$set(t.isLoadingSlugs,e,!1);case 3:case"end":return n.stop()}}),n)})))()}}},oe=re,le=(n("58ae"),Object(T["a"])(oe,ee,te,!1,null,"4341e1df",null)),ce=le.exports,de=n("459f"),ue=n.n(de),me=n("84f2"),fe=n.n(me),pe=n("cbff"),ve=n.n(pe),ge=n("0789"),he=n("490a"),be=n("67b6"),ke=n("43a6"),ye=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.features.postal-shipping.title"),subtitle:e.$t("settings.features.postal-shipping.subtitle"),icon:"mdi-email-fast-outline","is-default-open":e.isDefaultOpen}},[t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.features.postal-shipping.body-texts.0"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.features.postal-shipping.body-texts.1"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t(ke["a"],{attrs:{label:e.$t("settings.features.postal-shipping.labels.mode")},model:{value:e.type,callback:function(t){e.type=t},expression:"type"}},e._l(e.shippingOptions,(function(e){var n=e.label,i=e.value;return t(be["a"],{key:i,attrs:{label:n,value:i}})})),1),e.loading?t("div",{staticClass:"mt-2 d-flex justify-center"},[t(he["a"],{attrs:{indeterminate:"",color:"primary"}})],1):e._e(),e.setToTypeNone&&!e.loading?t("div",{staticClass:"d-flex"},[t(Y["a"],{attrs:{color:"primary"}},[e._v(" mdi-information ")]),t("div",{staticClass:"ml-2",domProps:{innerHTML:e._s(e.$t("settings.features.postal-shipping.ready-text"))}})],1):e._e()],1)],1),"MANUAL"!==e.type||e.loading?e._e():t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.features.postal-shipping.body-texts.2"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.features.postal-shipping.body-texts.3"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t(ke["a"],{attrs:{"hide-details":"",label:e.$t("settings.features.postal-shipping.labels.guide")},model:{value:e.allGuides,callback:function(t){e.allGuides=t},expression:"allGuides"}},[t(be["a"],{attrs:{label:e.$t("settings.features.postal-shipping.labels.option-all"),value:!0}}),t(be["a"],{attrs:{label:e.$t("settings.features.postal-shipping.labels.option-select"),value:!1}})],1),t(ge["a"],[e.allGuides?e._e():t("div",{staticClass:"pt-2"},e._l(e.guides,(function(n){var i=n.name,a=n.id,s=n.slug;return t("LabelSwitch",{key:a,staticClass:"ma-2 switch",attrs:{value:e.landingpageValues[s],"min-height":"100px",label:i},on:{input:function(t){return e.updatePostalShippingSetting(t,s)}}})})),1)])],1)])],1),t(a["a"],{staticClass:"ma-0 mt-4",attrs:{icon:"mdi-lightbulb-on-20",prominent:"",text:"",type:"info"}},[t("p",{staticClass:"ma-0 font-weight-bold"},[e._v(" "+e._s(e.$t("labels.hint"))+": ")]),t("span",{staticClass:"pb-2 pt-4"},[e._v(e._s(e.$t("settings.features.postal-shipping.info-texts.0"))+": ")]),t("p",[e._v(" "+e._s(e.$t("settings.features.postal-shipping.info-texts.1"))+" ")]),t("p",[e._v(" "+e._s(e.$t("settings.features.postal-shipping.info-texts.2"))+" ")])])],1)])},Ce=[],Se=n("3835"),xe=n("ade3"),we=(n("4fadc"),n("8c69")),Ne=n.n(we),_e=function(){var e=this,t=e._self._c;return t("div",{class:"d-flex row align-center ".concat(e.justify," flex-nowrap")},[t("div",{staticClass:"clickable",on:{click:function(){return e.switchValue=!e.switchValue}}},[e._t("label"),e.label?t("span",[e._v(" "+e._s(e.label)+" ")]):e._e()],2),t(S["a"],e._b({staticClass:"my-0 ml-6 pt-0",attrs:{"hide-details":"",loading:e.loading},scopedSlots:e._u([{key:"label",fn:function(){return[t("span",{class:e.switchValue?"mr-2":"mr-0"},[e._v(" "+e._s(e.switchValue?e.$t("labels.on"):e.$t("labels.off"))+" ")])]},proxy:!0}]),model:{value:e.switchValue,callback:function(t){e.switchValue=t},expression:"switchValue"}},"v-switch",e.$attrs,!1))],1)},$e=[],De={props:{label:{type:String,default:""},value:{type:Boolean},justify:{type:String,default:"justify-space-between"}},data:function(){return{switchValue:this.value,loading:!1}},watch:{switchValue:function(e){var t=this;this.loading="primary",setTimeout((function(){t.$emit("input",e),t.loading=!1}),700)}}},Ee=De,Oe=(n("f2fb"),Object(T["a"])(Ee,_e,$e,!1,null,null,null)),Te=Oe.exports,Ae={components:{SettingsCard:_["a"],LabelSwitch:Te},props:{settings:{type:Object,default:function(){return{}}},guides:{type:Array,default:function(){return[]}},refetchSettings:{type:Function,default:function(){}},isDefaultOpen:{type:Boolean,default:!1}},data:function(){var e=this;return{type:this.settings.lead.postalShipping.type,loading:!1,setToTypeNone:!1,allGuides:this.settings.lead.postalShipping.allGuides,shippingOptions:[{label:this.$t("settings.features.postal-shipping.labels.option-online"),value:"NONE"},{label:this.$t("settings.features.postal-shipping.labels.option-manual"),value:"MANUAL"}],landingpageValues:this.guides.reduce((function(t,n){var i=n.slug;return Object(k["a"])(Object(k["a"])({},t),{},Object(xe["a"])({},i,e.settings.lead.postalShipping.activeLandingpages.includes(i)))}),{})}},watch:{type:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.setToTypeNone="NONE"===e,t.loading=!0,n.next=4,t.saveSettings();case 4:t.finishLoading(700);case 5:case"end":return n.stop()}}),n)})))()},allGuides:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e||0!==Object.entries(t.landingpageValues).filter((function(e){var t=Object(Se["a"])(e,2),n=(t[0],t[1]);return n})).length||(t.landingpageValues=t.guides.reduce((function(e,t){var n=t.slug;return Object(k["a"])(Object(k["a"])({},e),{},Object(xe["a"])({},n,!0))}),{})),n.next=3,t.saveSettings();case 3:case"end":return n.stop()}}),n)})))()}},methods:{updatePostalShippingSetting:function(e,t){this.landingpageValues[t]=e,this.saveSettings()},finishLoading:function(e){var t=this;setTimeout((function(){t.loading=!1}),e)},saveSettings:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$apollo.mutate({mutation:Ne.a,variables:{input:{companyId:e.$auth.user.companyId,type:e.type,allGuides:e.allGuides,activeLandingpages:Object.entries(e.landingpageValues).filter((function(e){var t=Object(Se["a"])(e,2),n=(t[0],t[1]);return n})).map((function(e){var t=Object(Se["a"])(e,1),n=t[0];return n}))}}});case 3:e.refetchSettings(),t.next=10;break;case 6:t.prev=6,t.t0=t["catch"](0),e.loading=!1,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.features.error")});case 10:case"end":return t.stop()}}),t,null,[[0,6]])})))()}}},Ie=Ae,Pe=(n("c0eb"),Object(T["a"])(Ie,ye,Ce,!1,null,"415e673a",null)),Fe=Pe.exports,Le=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.features.contact.title"),subtitle:e.$t("settings.features.contact.subtitle"),icon:"mdi-cog","is-default-open":!1}},[t("div",{staticClass:"pt-4 px-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.features.contact.body-texts.0"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.features.contact.body-texts.1"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",md:"6"}},[t("TextForm",{attrs:{fields:e.contactFields},on:{update:e.updateContact}})],1)],1),t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.features.contact.body-texts.2"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.features.contact.body-texts.3"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",md:"6"}},[t("PhoneField",{attrs:{"update-on-input":""},on:{input:function(t){return e.updateContact({phone:t})}},model:{value:e.phone,callback:function(t){e.phone=t},expression:"phone"}}),t("PhoneField",{attrs:{label:e.$t("settings.features.contact.labels.mobile"),"update-on-input":""},on:{input:function(t){return e.updateContact({mobile:t})}},model:{value:e.mobile,callback:function(t){e.mobile=t},expression:"mobile"}}),t("div",{staticClass:"py-6"},[t("TextForm",{attrs:{fields:e.emailField},on:{update:e.updateContact}})],1)],1)],1)],1)])},Ve=[],Re=n("5600"),je=n.n(Re),Ue=n("cd89"),Be=n.n(Ue),Me=n("46af"),qe=n.n(Me),He=n("82fb"),ze=n.n(He),Ge=n("9cc5"),We=n.n(Ge),Ke=n("4bd4"),Qe=function(){var e=this,t=e._self._c;return t("div",{staticClass:"w-full"},[t(Ke["a"],{ref:"textForm",model:{value:e.isFormValid,callback:function(t){e.isFormValid=t},expression:"isFormValid"}},e._l(e.fields,(function(n){return t(l["a"],{key:n.name,staticClass:"ma-0 pa-0 mb-4"},[t("CheckTextField",e._b({attrs:{loading:e.isLoading[n.name],rules:n.isRequired?[e.rules.required]:[],outlined:"","hide-details":"","validate-on-input":""},on:{click:function(t){return e.onClick(n.name,e.fieldsData[n.name])},change:function(t){return e.update(n.name,e.fieldsData[n.name])}},model:{value:e.fieldsData[n.name],callback:function(t){e.$set(e.fieldsData,n.name,t)},expression:"fieldsData[field.name]"}},"CheckTextField",n,!1))],1)})),1)],1)},Ye=[],Ze=n("65e0"),Xe=n("dae0"),Je={components:{CheckTextField:Xe["a"]},props:{fields:{type:Array,default:function(){return[]}},hasDebounceTimer:{type:Boolean,default:!0}},data:function(){var e=this.initFieldFlags(),t=this.mapFieldValues();return{fieldsData:Object(k["a"])({},t),debounceTimeout:null,spinnerTimeout:null,isLoading:e,isFormValid:!1,isFieldValid:e}},watch:{fields:function(){var e=this.mapFieldValues();this.fieldsData=Object(k["a"])({},e)}},created:function(){this.rules={required:Ze["n"]}},unmounted:function(){clearTimeout(this.spinnerTimeout),clearTimeout(this.debounceTimeout)},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},update:function(e,t){var n=this;return Object(N["a"])(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:clearTimeout(n.debounceTimeout),n.debounceTimeout=setTimeout((function(){n.isLoading[e]=!0,n.spinnerTimeout=setTimeout(Object(N["a"])(regeneratorRuntime.mark((function i(){var a;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,n.$refs.textForm.validate();case 2:a=i.sent,a&&n.$emit("update",Object(xe["a"])({},e,t)),n.isLoading[e]=!1;case 5:case"end":return i.stop()}}),i)}))),1e3)}),2e3);case 2:case"end":return i.stop()}}),i)})))()},initFieldFlags:function(){return this.fields.reduce((function(e,t){return e[t.name]=!1,e}),{})},mapFieldValues:function(){return this.fields.reduce((function(e,t){return e[t.name]=t.value,e}),{})}}},et=Je,tt=Object(T["a"])(et,Qe,Ye,!1,null,null,null),nt=tt.exports,it=n("8036"),at={components:{SettingsCard:_["a"],TextForm:nt,PhoneField:it["a"]},mixins:[j["a"]],props:{company:{type:Object,default:function(){return{}}},refetchCompany:{type:Function,default:function(){}}},data:function(){return{phone:this.company.ambassador.phone,mobile:this.company.ambassador.mobile}},computed:{contactFields:function(){return[{label:this.$t("settings.features.contact.labels.name"),name:"name",placeholder:"",required:!1,value:this.company.ambassador.name},{label:this.$t("settings.features.contact.labels.role"),name:"role",placeholder:"",required:!1,value:this.company.ambassador.role}]},emailField:function(){return[{label:this.$t("settings.features.contact.labels.email"),name:"email",placeholder:"",required:!1,value:this.company.ambassador.email}]}},methods:{updateContact:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){var i,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i={name:je.a,role:Be.a,phone:qe.a,mobile:ze.a,email:We.a},a=Object.keys(e)[0],i[a]){n.next=5;break}return R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.features.error")}),n.abrupt("return");case 5:return n.prev=5,n.next=8,t.$apollo.mutate({mutation:i[a],variables:{input:Object(k["a"])({companyId:t.$auth.user.companyId},e)}});case 8:t.refetchCompany(),t.$tracking.event("Settings",t.$tracking.trackingEvents.EDITED,a),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.features.success")}),n.next=16;break;case 13:n.prev=13,n.t0=n["catch"](5),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.features.error")});case 16:case"end":return n.stop()}}),n,null,[[5,13]])})))()}}},st=at,rt=Object(T["a"])(st,Le,Ve,!1,null,null,null),ot=rt.exports,lt=n("d50b"),ct=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.features.phone.title"),subtitle:e.$t("settings.features.phone.subtitle"),icon:"mdi-phone-check","is-default-open":!1}},[t("div",{staticClass:"pt-4 px-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.features.phone.body-texts.0"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.features.phone.body-texts.1"))+" ")]),t("br"),t("br"),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.features.phone.body-texts.2"))),t("br"),e._v(" "+e._s(e.$t("settings.features.phone.body-texts.3"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t(ke["a"],{attrs:{label:e.$t("settings.features.phone.labels.info")},model:{value:e.isPhoneOptional,callback:function(t){e.isPhoneOptional=t},expression:"isPhoneOptional"}},[t(be["a"],{staticClass:"mb-1 pa-2 suggestion",attrs:{color:"primary",value:!0},on:{click:function(t){return e.onClick("Optional - potentially more leads",e.isPhoneOptional)}},scopedSlots:e._u([{key:"label",fn:function(){return[t("div",{staticClass:"flex-column d-flex"},[t("span",[e._v(" "+e._s(e.$t("settings.features.phone.labels.optional"))+" ")])])]},proxy:!0}])}),t(be["a"],{staticClass:"mb-1 pa-2 suggestion",attrs:{color:"primary",value:!1},on:{click:function(t){return e.onClick("Mandatory - easier contact",e.isPhoneOptional)}},scopedSlots:e._u([{key:"label",fn:function(){return[t("div",{staticClass:"flex-column d-flex"},[t("span",[e._v(" "+e._s(e.$t("settings.features.phone.labels.required"))+" ")])])]},proxy:!0}])})],1)],1)],1),t("ChangeSettingsAlert",{attrs:{"alert-text":e.$t("alerts.settings.features.phone.info")}})],1)])},dt=[],ut=n("dfc3"),mt=n.n(ut),ft={components:{SettingsCard:_["a"],ChangeSettingsAlert:I},mixins:[j["a"]],props:{settings:{type:Object,default:function(){return{}}},refetchSettings:{type:Function,default:function(){}}},data:function(){return{isPhoneOptional:this.settings.company.isPhoneOptional}},watch:{isPhoneOptional:function(){this.saveSettings()}},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},saveSettings:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$apollo.mutate({mutation:mt.a,variables:{input:{isPhoneOptional:e.isPhoneOptional,companyId:e.$auth.user.companyId}}});case 3:e.refetchSettings(),e.$tracking.event("Settings",e.$tracking.trackingEvents.EDITED,"update Phone Optional",{isPhoneOptional:e.isPhoneOptional,companyId:e.$auth.user.companyId}),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.features.success")}),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.features.error")});case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))()}}},pt=ft,vt=Object(T["a"])(pt,ct,dt,!1,null,null,null),gt=vt.exports,ht=n("8860"),bt=n("da13"),kt=n("1800"),yt=n("5d23"),Ct=n("34c3"),St=n("3a2f"),xt=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.features.return-call.title"),subtitle:e.$t("settings.features.return-call.subtitle"),icon:"mdi-phone","is-default-open":!1}},[t("div",{staticClass:"py-4 px-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.features.return-call.body-texts.0"))+" ")]),t("div",{staticClass:"grey--text mt-4"},[e._v(" "+e._s(e.$t("settings.features.return-call.body-texts.1"))+" ")])]),t("ChangeSettingsAlert",{attrs:{"alert-text":e.$t("settings.features.return-call.body-texts.2")}})],1),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",md:"6"}},[t(l["a"],[t(y["a"],{attrs:{cols:"12",md:"10",sm:"8"}},[t(s["a"],{staticClass:"w-full",on:{click:e.showCreateReturnCallDialog}},[t(Y["a"],{attrs:{alt:e.$t("buttons.return-call.cta")}},[e._v(" mdi-plus ")]),e._v(" "+e._s(e.$t("buttons.return-call.cta"))+" ")],1),t(ht["a"],{attrs:{dense:""}},[t("draggable",{attrs:{handle:".js-draggable"},on:{start:function(t){e.drag=!0},end:e.onDragEnd},model:{value:e.returnCallTopics,callback:function(t){e.returnCallTopics=t},expression:"returnCallTopics"}},e._l(e.returnCallTopics,(function(n,i){return t("transition-group",{key:n.slug},[n.isHidden?e._e():t(bt["a"],{key:n.slug,staticClass:"white",class:i%2===1?"grey lighten-4":"",attrs:{ripple:!1}},[t(Ct["a"],{staticClass:"js-draggable reason-list__draggable"},[t(Y["a"],[e._v("mdi-drag-horizontal-variant")])],1),t(yt["a"],[t(yt["c"],[e._v(" "+e._s(n.label)+" ")])],1),t(kt["a"],{class:{"mr-10":!n.isCustom}},[t(S["a"],{staticClass:"ma-0 mx-2",attrs:{dense:"","hide-details":""},on:{change:function(t){return e.updateTopic(n)}},model:{value:n.isActive,callback:function(t){e.$set(n,"isActive",t)},expression:"item.isActive"}})],1),n.isCustom?t(kt["a"],{staticClass:"ml-0"},[t(St["a"],{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(i){var a=i.on,r=i.attrs;return[t(s["a"],e._g(e._b({attrs:{color:"error",icon:""},on:{click:function(t){return t.stopPropagation(),function(){return e.hideTopic(n)}.apply(null,arguments)}}},"v-btn",r,!1),a),[t(Y["a"],{attrs:{alt:e.$t("labels.remove")}},[e._v(" mdi-trash-can-outline ")])],1)]}}],null,!0)},[t("span",[e._v(e._s(e.$t("labels.remove")))])])],1):e._e()],1)],1)})),1)],1),t(s["a"],{staticClass:"primary mt-4 w-full",attrs:{disabled:e.isLoading||!e.hasChanges,loading:e.isLoading},on:{click:e.saveChanges}},[e._v(" "+e._s(e.$t("buttons.return-call.save"))+" ")])],1)],1)],1)],1)],1),t("ReturnCallDialog",{attrs:{show:e.showReturnCallDialog},on:{addReason:e.addReturnCallReason,close:function(t){e.showReturnCallDialog=!1}}})],1)},wt=[],Nt=(n("3ca3"),n("ddb0"),n("5b81"),n("498a"),n("8654")),_t=function(){var e=this,t=e._self._c;return t("div",[t(z["a"],{attrs:{value:e.show,width:"550"},on:{input:e.close}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[t(J["b"],[e._v(" "+e._s(e.$t("buttons.return-call.cta"))+" ")]),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:e.close}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(H["c"],{staticClass:"mt-8 text-body-1 user-form"},[t("div",[t(Ke["a"],{ref:"form",model:{value:e.valid,callback:function(t){e.valid=t},expression:"valid"}},[t(Nt["a"],{attrs:{label:e.$t("settings.features.return-call.labels.add"),outlined:"",rules:[e.rules.required]},model:{value:e.returnCallReason,callback:function(t){e.returnCallReason=t},expression:"returnCallReason"}})],1)],1)]),t(H["a"],{staticClass:"pb-4"},[t(s["a"],{attrs:{text:""},on:{click:e.close}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(Z["a"]),t(s["a"],{staticClass:"px-4 mr-2 mb-2",attrs:{color:"primary",disabled:e.isLoading,loading:e.isLoading},on:{click:e.submit}},[e._v(" "+e._s(e.$t("labels.save"))+" ")])],1)],1)],1)],1)},$t=[],Dt={props:{show:{type:Boolean,default:!1}},data:function(){return{rules:{required:Ze["n"]},isLoading:!1,valid:!1,returnCallReason:null}},methods:{close:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$refs.form.resetValidation(),e.$emit("close");case 2:case"end":return t.stop()}}),t)})))()},submit:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.$refs.form.validate(),e.valid){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,e.createReturnCallReason();case 5:case"end":return t.stop()}}),t)})))()},createReturnCallReason:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:try{e.isLoading=!0,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.return-call.success")}),e.close(),e.$emit("addReason",e.returnCallReason),e.returnCallReason=null,e.$tracking.event("Settings",e.$tracking.trackingEvents.EDITED,"Add callback reason")}catch(n){R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.return-call.error")})}finally{e.isLoading=!1}case 1:case"end":return t.stop()}}),t)})))()}}},Et=Dt,Ot=Object(T["a"])(Et,_t,$t,!1,null,null,null),Tt=Ot.exports,At={components:{SettingsCard:_["a"],ChangeSettingsAlert:I,ReturnCallDialog:Tt,draggable:function(){return Promise.all([n.e("chunk-699fe8bf"),n.e("import")]).then(n.t.bind(null,"310e",7))}},mixins:[j["a"]],data:function(){return{returnCallTopics:[],showReturnCallDialog:!1,hasChanges:!1,isLoading:!1}},created:function(){var e=this;this.returnCallTopics=this.getTopics(),R["a"].$on(R["b"].CHANGE_FEATURE_CONFIG,(function(t){t.slug===ie["a"].RETURNCALL_TOPICS&&t.error&&R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.this.$t("alerts.settings.features.error")})}))},methods:{getTopics:function(){return this.$features._featuresBySlug[ie["a"].RETURNCALL_TOPICS].config.topics},showCreateReturnCallDialog:function(){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Add callback reason"),this.showReturnCallDialog=!0},addReturnCallReason:function(e){this.hasChanges=!0;var t=e.trim().replaceAll(" ","_").toUpperCase(),n=this.returnCallTopics.find((function(e){return e.slug===t}));n?this.returnCallTopics=this.returnCallTopics.map((function(e){return e.slug===t?Object(k["a"])(Object(k["a"])({},e),{},{isActive:!0,isHidden:!1}):e})):this.returnCallTopics.unshift({slug:t,label:e,isActive:!0,isCustom:!0})},updateTopic:function(e){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Update Topic"),this.hasChanges=!0},hideTopic:function(e){this.hasChanges=!0,this.returnCallTopics=this.returnCallTopics.map((function(t){return t.slug===e.slug?Object(k["a"])(Object(k["a"])({},t),{},{isActive:!1,isHidden:!0}):t}))},onDragEnd:function(){this.hasChanges=!0},saveChanges:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.isLoading=!0,t.next=4,e.$features.setCompanyFeature({companyId:e.$auth.user.companyId,slug:ie["a"].RETURNCALL_TOPICS,config:{topics:e.returnCallTopics}});case 4:e.hasChanges=!1,e.isLoading=!1,e.$tracking.event("Settings",e.$tracking.trackingEvents.CLICKED,"Return call Save Changes"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.features.success")}),t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.features.error")});case 13:return t.prev=13,e.isLoading=!1,t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[0,10,13,16]])})))()}}},It=At,Pt=(n("a540"),Object(T["a"])(It,xt,wt,!1,null,null,null)),Ft=Pt.exports,Lt=n("8212"),Vt=n("1f4f"),Rt=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.features.social-media.title"),subtitle:e.$t("settings.features.social-media.subtitle"),icon:"mdi-web","is-default-open":!1}},[t("div",{staticClass:"pt-4 px-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.features.social-media.body-texts.0"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.features.social-media.body-texts.1"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2 mb-6",attrs:{cols:"12",sm:"6"}},[t(Vt["a"],{scopedSlots:e._u([{key:"default",fn:function(){return[t("thead",[t("tr",[t("th",{staticClass:"text-left"},[e._v(" "+e._s(e.$t("settings.features.social-media.labels.channel"))+" ")]),t("th")])]),t("tbody",e._l(e.connections,(function(n){return t("tr",{key:n.value},[t("td",[t(Lt["a"],{attrs:{left:"",size:"20"}},[t(C["a"],{attrs:{src:n.icon}})],1),t("span",{staticClass:"ml-3"},[e._v(e._s(n.text))])],1),t("td",{staticClass:"text-right"},[t(s["a"],{attrs:{text:"",disabled:e.isLoading,loading:e.isLoading,color:"error"},on:{click:function(t){return e.disconnect(n.value)}}},[e._v(" "+e._s(e.$t("settings.features.social-media.buttons.disconnect"))+" ")])],1)])})),0)]},proxy:!0}])})],1)],1)],1)])},jt=[],Ut=n("028d"),Bt=n.n(Ut),Mt=n("8965"),qt=n.n(Mt),Ht=n("b08c"),zt={components:{SettingsCard:_["a"]},mixins:[j["a"]],props:{},data:function(){return{isLoading:!1,socialMediaConnections:[]}},computed:{connections:function(){var e=this;return[{value:"facebook",text:"Facebook",icon:Ht["b"].facebookPost},{value:"instagram",text:"Instagram",icon:Ht["b"].instagramPost},{value:"linkedin",text:"LinkedIn",icon:Ht["b"].linkedinPost}].filter((function(t){return e.socialMediaConnections.includes(t.value.toUpperCase())}))}},apollo:{socialMediaConnections:{query:Bt.a}},methods:{disconnect:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,t.isLoading=!0,n.next=4,t.$apollo.mutate({mutation:qt.a,variables:{input:e.toUpperCase()},refetchQueries:[{query:Bt.a}]});case 4:R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.features.success")}),n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.features.error")});case 10:return n.prev=10,t.isLoading=!1,n.finish(10);case 13:case"end":return n.stop()}}),n,null,[[0,7,10,13]])})))()}}},Gt=zt,Wt=Object(T["a"])(Gt,Rt,jt,!1,null,null,null),Kt=Wt.exports,Qt={components:{ValuationSettings:q,PostalShippingSettings:Fe,PublicContactSettings:ot,NavigationSettings:ce,OptionalPhoneSettings:gt,ReturnCallSettings:Ft,SocialMediaSettings:Kt},mixins:[j["a"]],computed:{showValuationSettings:function(){var e=this.getFeature(ie["a"].VALUATION),t=e.isActive,n=e.config;n=void 0===n?{}:n;var i=n.isPhoneNumberVerificationEnabled,a=n.canChangePhoneNumberVerification;return this.isFeatureActive(ie["a"].PLOT_VALUATION)||t&&i&&a},showNavigationSettings:function(){return this.isFeatureActive(ie["a"].LANDINGPAGE_NAVIGATION)},landingpages:function(){if(!this.company||!this.landingpageTemplates)return[];var e=this.landingpageTemplates.map((function(e){return Object(k["a"])(Object(k["a"])({},e),{},{disabled:!0})}));return[].concat(Object(b["a"])(this.company.landingpages),Object(b["a"])(e)).sort((function(e,t){return e.slug>t.slug?1:-1}))},tools:function(){return this.landingpages.map((function(e){return Object(k["a"])(Object(k["a"])({},e),lt["a"].find((function(t){return t.type===e.type})))})).filter((function(e){return e.order})).sort((function(e,t){return e.order-t.order}))},guides:function(){return this.landingpages.filter((function(e){var t=e.type;return"GUIDE"===t}))},checklists:function(){return this.landingpages.filter((function(e){var t=e.type;return"CHECKLIST"===t}))},activeGuides:function(){return this.guides.filter((function(e){var t=e.status;return"ACTIVE"===t}))}},created:function(){this.featureNames=ie["a"]},methods:{refetchCompanySettings:function(){return this.$apollo.queries.settings.refetch()},refetchCompany:function(){return this.$apollo.queries.company.refetch()}},apollo:{settings:{query:ue.a,variables:function(){return{companyId:this.$auth.user.companyId}}},company:{query:fe.a,variables:function(){return{id:this.$auth.user.companyId}}},landingpageTemplates:{query:ve.a,variables:function(){return{input:{companyId:this.$auth.user.companyId,onlyDefault:!0}}}}}},Yt=Qt,Zt=Object(T["a"])(Yt,g,h,!1,null,null,null),Xt=Zt.exports,Jt=function(){var e=this,t=e._self._c;return e.company?t(v["a"],{staticClass:"layout-container pa-0"},[t("ContactSettings",{attrs:{settings:e.settings,company:e.company}}),t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.isMetaCompanyDataEditable?t("div",[t("div",[t(o["a"],{staticClass:"my-4"}),t("AiSettings",{staticClass:"my-4",attrs:{settings:e.settings,company:e.company}})],1)]):e._e()]}}],null,!1,3670310333)}),t("Feature",{attrs:{"feature-slug":e.featureNames.LANDINGPAGE}},[t("div",[t(o["a"],{staticClass:"my-4"}),t("WebSettings",{staticClass:"my-4",attrs:{settings:e.settings,company:e.company}})],1)]),t("Feature",{attrs:{"feature-slug":e.featureNames.LANDINGPAGE}},[t("div",[t(o["a"],{staticClass:"my-4"}),t("ImageSettings",{attrs:{company:e.company}})],1)]),t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.isColorEditable?t("div",[t(o["a"],{staticClass:"my-4"}),t("ColorSettings",{attrs:{company:e.company}})],1):e._e()]}}],null,!1,424265320)}),t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.isCompanyLanguageEditable?t("div",[t(o["a"],{staticClass:"my-4"}),t("LanguageSettings",{attrs:{company:e.company},on:{updateCompanyLocale:e.updateCompanyLocale}})],1):e._e()]}}],null,!1,3194345380)}),t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.isOtherCompanyDataEditable?t("div",[t(o["a"],{staticClass:"my-4"}),t("OtherSettings",{attrs:{company:e.company}})],1):e._e()]}}],null,!1,67562207)})],1):e._e()},en=[],tn=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.company.title"),subtitle:e.$t("settings.company.subtitle"),icon:"mdi-account-outline","is-default-open":!1}},[t("div",{staticClass:"pt-4 px-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.body-texts.0"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.body-texts.1"))+" ")])])]),t(y["a"],{staticClass:"d-flex justify-center px-0 px-md-2 mt-4",attrs:{cols:"12",sm:"6"}},[t("AddressData",e._b({on:{saveSettings:e.saveSettings}},"AddressData",e.companyAddressData,!1))],1)],1),t("Feature",{attrs:{"feature-slug":e.featureNames.LANDINGPAGE}},[t(l["a"],{staticClass:"mt-8"},[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.body-texts.2"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.body-texts.3"))+" ")])])]),t(y["a"],{staticClass:"d-flex justify-center px-0 px-md-2 mt-4",attrs:{cols:"12",sm:"6"}},[t("AmbassadorData",e._b({on:{saveSettings:e.saveAmbassadorSettings}},"AmbassadorData",e.ambassador,!1))],1)],1)],1)],1)])},nn=[],an=n("15fd"),sn=n("b974"),rn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"w-full"},[t(Ke["a"],{ref:"addressForm",on:{change:function(t){e.error=""}},model:{value:e.isFormValid,callback:function(t){e.isFormValid=t},expression:"isFormValid"}},[t(l["a"],{staticClass:"ma-0 pa-0 mb-2"},[t(Nt["a"],{attrs:{outlined:"",label:e.$t("settings.company.address-data.company-name"),placeholder:e.$t("settings.company.address-data.company-placeholder"),rules:[e.rules.length({max:47})],loading:e.isLoading.name},on:{click:function(t){return e.onClick("Company Name",e.companyData.name)},input:function(t){return e.update("name",t,"Company Name")}},model:{value:e.companyData.name,callback:function(t){e.$set(e.companyData,"name",t)},expression:"companyData.name"}})],1),t(l["a"],{staticClass:"ma-0 pa-0 mb-2"},[t(Nt["a"],{attrs:{outlined:"",label:e.$t("settings.company.address-data.street"),placeholder:e.$t("settings.company.address-data.street-placeholder"),loading:e.isLoading.street},on:{click:function(t){return e.onClick("Street and House Number",e.companyData.street)},input:function(t){return e.update("street",t,"Street and House Number")}},model:{value:e.companyData.street,callback:function(t){e.$set(e.companyData,"street",t)},expression:"companyData.street"}})],1),t(l["a"],{staticClass:"d-flex justify-space-between ma-0 pa-0 mb-2"},[t(y["a"],{staticClass:"pr-0 pa-0 pr-md-2",attrs:{cols:"12",md:"4"}},[t(Nt["a"],{attrs:{outlined:"",label:e.$t("labels.zip"),type:"number",placeholder:"12345",rules:[e.rules.zip,e.rules.length({min:4,max:5})],loading:e.isLoading.zip},on:{click:function(t){return e.onClick("ZIP",e.companyData.zip)},input:function(t){return e.update("zip",t,"ZIP")}},model:{value:e.companyData.zip,callback:function(t){e.$set(e.companyData,"zip",t)},expression:"companyData.zip"}})],1),t(y["a"],{staticClass:"pr-0 pa-0",attrs:{cols:"12",md:"8"}},[t(Nt["a"],{attrs:{outlined:"",label:e.$t("labels.city"),placeholder:e.$t("labels.city-example"),loading:e.isLoading.city},on:{click:function(t){return e.onClick("City",e.companyData.city)},input:function(t){return e.update("city",t,"City")}},model:{value:e.companyData.city,callback:function(t){e.$set(e.companyData,"city",t)},expression:"companyData.city"}})],1)],1),t(l["a"],{staticClass:"ma-0 pa-0 mb-2"},[t(sn["a"],{attrs:{items:e.availableCountryItems,label:e.$t("labels.country"),outlined:"",required:"",rules:[e.rules.required]},on:{click:function(t){return e.onClick("Country",e.companyData.country)},change:function(t){return e.update("country",t,"Country")}},model:{value:e.companyData.country,callback:function(t){e.$set(e.companyData,"country",t)},expression:"companyData.country"}})],1)],1)],1)},on=[],ln=n("a482"),cn={mixins:[ln["b"]],props:{name:{type:String,default:""},address:{type:Object,default:function(){return{}}}},data:function(){var e,t,n,i,a;return{companyData:{name:this.name,street:null===(e=this.address)||void 0===e?void 0:e.street,zip:null===(t=this.address)||void 0===t?void 0:t.zip,city:null===(n=this.address)||void 0===n?void 0:n.city,country:null===(i=this.address)||void 0===i||null===(a=i.country)||void 0===a?void 0:a.toUpperCase()},debounceTimeout:null,spinnerTimeout:null,isLoading:{name:!1,street:!1,city:!1,zip:!1,country:!1},isFormValid:!1}},watch:{name:function(){this.companyData.name=this.name},address:function(){var e;this.companyData.street=this.address.street,this.companyData.zip=this.address.zip,this.companyData.city=this.address.city,this.companyData.country=null===(e=this.address.country)||void 0===e?void 0:e.toUpperCase()}},created:function(){this.rules={zip:Ze["p"],length:Ze["h"],required:Ze["n"]}},unmounted:function(){clearTimeout(this.spinnerTimeout),clearTimeout(this.debounceTimeout)},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},update:function(e,t,n){var i=this;return Object(N["a"])(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:i.companyData[e]=t,clearTimeout(i.debounceTimeout),i.debounceTimeout=setTimeout((function(){i.isLoading[e]=!0,i.spinnerTimeout=setTimeout(Object(N["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,i.$refs.addressForm.validate();case 2:a=t.sent,a&&(i.$emit("saveSettings",Object(k["a"])({},i.companyData)),i.$tracking.event("Settings",i.$tracking.trackingEvents.EDITED,n)),i.isLoading[e]=!1;case 5:case"end":return t.stop()}}),t)}))),1e3)}),2e3);case 3:case"end":return a.stop()}}),a)})))()}}},dn=cn,un=Object(T["a"])(dn,rn,on,!1,null,null,null),mn=un.exports,fn=function(){var e=this,t=e._self._c;return t("div",{staticClass:"w-full"},[t(Ke["a"],{ref:"ambassadorForm",on:{change:function(t){e.error=""}},model:{value:e.isFormValid,callback:function(t){e.isFormValid=t},expression:"isFormValid"}},[t(l["a"],{staticClass:"ma-0 pa-0 mb-2"},[t(Nt["a"],{ref:"name",attrs:{id:"contact_person_system_name",outlined:"",label:e.$t("labels.name"),placeholder:"Max Makler",loading:e.isLoading.name},on:{click:function(t){return e.onClick("Name",e.ambassadorData.name)},input:function(t){return e.update("name",t,"Name")}},model:{value:e.ambassadorData.name,callback:function(t){e.$set(e.ambassadorData,"name",t)},expression:"ambassadorData.name"}})],1),t(l["a"],{staticClass:"ma-0 pa-0 mb-2"},[t("PhoneField",{attrs:{loading:e.isLoading.phone,"update-on-input":""},on:{input:function(t){return e.update("phone",t,"Country Calling Code")}},model:{value:e.ambassadorData.phone,callback:function(t){e.$set(e.ambassadorData,"phone",t)},expression:"ambassadorData.phone"}})],1),t(l["a"],{staticClass:"ma-0 pa-0 mb-2"},[t(Nt["a"],{ref:"email",staticClass:"pt-6",attrs:{type:"email",outlined:"",label:e.$t("labels.email"),placeholder:"info@max-makler.de",rules:[e.rules.email],loading:e.isLoading.email},on:{click:function(t){return e.onClick("E-Mail Address",e.ambassadorData.email)},input:function(t){return e.update("email",t,"E-Mail Address")}},model:{value:e.ambassadorData.email,callback:function(t){e.$set(e.ambassadorData,"email",t)},expression:"ambassadorData.email"}})],1)],1)],1)},pn=[],vn={components:{PhoneField:it["a"]},props:{ambassador:{type:Object,default:function(){return{}}}},data:function(){return{ambassadorData:Object(k["a"])({},this.ambassador),debounceTimeout:null,spinnerTimeout:null,isLoading:{name:!1,phone:!1,email:!1},isFormValid:!1}},watch:{ambassador:function(){this.ambassadorData=Object(k["a"])({},this.ambassador)}},created:function(){this.rules={email:Ze["b"]},this.featureNames=ie["a"]},unmounted:function(){clearTimeout(this.spinnerTimeout),clearTimeout(this.debounceTimeout)},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},update:function(e,t,n){var i=this;return Object(N["a"])(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:i.ambassadorData[e]=t,clearTimeout(i.debounceTimeout),i.debounceTimeout=setTimeout((function(){i.isLoading[e]=!0,i.spinnerTimeout=setTimeout(Object(N["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,i.$refs.ambassadorForm.validate();case 2:a=t.sent,a&&(i.$emit("saveSettings",Object(k["a"])({},i.ambassadorData)),i.$tracking.event("Settings",i.$tracking.trackingEvents.EDITED,n)),i.isLoading[e]=!1;case 5:case"end":return t.stop()}}),t)}))),1e3)}),2e3);case 3:case"end":return a.stop()}}),a)})))()}}},gn=vn,hn=Object(T["a"])(gn,fn,pn,!1,null,null,null),bn=hn.exports,kn=n("e2a5"),yn=n.n(kn),Cn=n("fc01"),Sn=n.n(Cn),xn=n("5a4a"),wn=n.n(xn),Nn=n("7bbd"),_n=n.n(Nn),$n=["__typename","name"],Dn={components:{SettingsCard:_["a"],AddressData:mn,AmbassadorData:bn},mixins:[j["a"]],props:{company:{type:Object,default:function(){return{}}},settings:{type:Object,default:function(){return{}}}},computed:{companyAddressData:function(){var e=this.company,t=e.name,n=e.address;return{name:t,address:n}},ambassador:function(){var e=this.company.ambassador;return{ambassador:e}}},methods:{saveSettings:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){var i,a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.__typename,i=e.name,a=void 0===i?"":i,s=Object(an["a"])(e,$n),n.prev=1,n.next=4,t.$apollo.mutate({mutation:yn.a,variables:{input:{companyId:t.$auth.user.companyId,name:a}},refetchQueries:[{query:_n.a,variables:{companyId:t.company.id}}]});case 4:return n.next=6,t.$apollo.mutate({mutation:Sn.a,variables:{input:{companyId:t.$auth.user.companyId,address:s}},refetchQueries:[{query:_n.a,variables:{companyId:t.company.id}}]});case 6:R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.company.success")}),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.company.error")});case 12:case"end":return n.stop()}}),n,null,[[1,9]])})))()},saveAmbassadorSettings:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){var i,a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=e.name,a=e.email,s=e.phone,n.prev=1,n.next=4,t.$apollo.mutate({mutation:wn.a,variables:{input:{companyId:t.$auth.user.companyId,ambassador:{name:i,email:a,phone:s}}},refetchQueries:[{query:_n.a,variables:{companyId:t.company.id}}]});case 4:R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.company.success")}),n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.company.error")});case 10:case"end":return n.stop()}}),n,null,[[1,7]])})))()}}},En=Dn,On=Object(T["a"])(En,tn,nn,!1,null,null,null),Tn=On.exports,An=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.company.website.title"),subtitle:e.$t("settings.company.website.subtitle"),icon:"mdi-web","is-default-open":!1}},[t("div",{staticClass:"px-4 pt-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.website.body-texts.0"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.website.body-texts.1"))),t("br"),e._v(" "+e._s(e.$t("settings.company.website.body-texts.2"))+" ")])])]),t(y["a"],{staticClass:"justify-center px-0 mt-4 d-flex px-md-2",attrs:{cols:"12",sm:"6"}},[t("LinkSettings",{attrs:{links:e.links},on:{updateSettings:e.saveSettings}})],1)],1),t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.isSlugEditable?t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.website.body-texts-light.0"))+" ")])]),t("div",{staticClass:"grey--text"},[t("p",[e._v(e._s(e.$t("settings.company.website.body-texts-light.1")))]),t("p",{domProps:{innerHTML:e._s(e.$t("settings.company.website.body-texts-light.2"))}}),t("p",[e._v(" "+e._s(e.$t("settings.company.website.body-texts-light.3"))+" ")])])])]),t(y["a"],{staticClass:"justify-center px-0 mt-4 d-flex px-md-2",attrs:{cols:"12",sm:"6"}},[t("SlugData",e._b({attrs:{"parent-error":e.$t(e.slugError),"parent-success":e.$t(e.slugSuccess)},on:{updateSlug:e.saveSlug}},"SlugData",e.companySlug,!1))],1)],1):e._e()]}}])})],1)])},In=[],Pn=(n("159b"),n("466d"),function(){var e=this,t=e._self._c;return t("div",{staticClass:"w-full"},[t(Ke["a"],{ref:"linksForm",model:{value:e.isFormValid,callback:function(t){e.isFormValid=t},expression:"isFormValid"}},[t(l["a"],{staticClass:"ma-0 pa-0 mb-2"},[t("CheckTextField",{attrs:{label:e.$t("settings.company.website.labels.url-website"),placeholder:"https://www.max-makler.de",loading:e.isLoading.website,rules:[e.rules.url,e.rules.required],outlined:"","validate-on-input":""},on:{click:function(t){return e.onClick("URL to your website",e.linksData.website)}},model:{value:e.linksData.website,callback:function(t){e.$set(e.linksData,"website",t)},expression:"linksData.website"}})],1),t(l["a"],{staticClass:"ma-0 pa-0 mb-2"},[t("CheckTextField",{attrs:{label:e.$t("settings.company.website.labels.url-about"),placeholder:"https://www.max-makler.de/team",loading:e.isLoading.about,rules:[e.rules.url],outlined:"","validate-on-input":""},on:{click:function(t){return e.onClick("URL to your About us / Team page",e.linksData.about)}},model:{value:e.linksData.about,callback:function(t){e.$set(e.linksData,"about",t)},expression:"linksData.about"}})],1),t(l["a"],{staticClass:"ma-0 pa-0 mb-2"},[t("CheckTextField",{attrs:{label:e.$t("settings.company.website.labels.url-imprint"),placeholder:"https://www.max-makler.de/team",loading:e.isLoading.imprint,rules:[e.rules.url,e.rules.required],outlined:"","validate-on-input":""},on:{click:function(t){return e.onClick("URL to your Legal Notice",e.linksData.imprint)}},model:{value:e.linksData.imprint,callback:function(t){e.$set(e.linksData,"imprint",t)},expression:"linksData.imprint"}})],1),t(l["a"],{staticClass:"ma-0 pa-0 mb-2"},[t("CheckTextField",{attrs:{label:e.$t("settings.company.website.labels.url-privacy"),placeholder:"https://www.max-makler.de/team",loading:e.isLoading.privacy,rules:[e.rules.url,e.rules.required],outlined:"","validate-on-input":""},on:{click:function(t){return e.onClick("URL to your Privacy Policy",e.linksData.privacy)}},model:{value:e.linksData.privacy,callback:function(t){e.$set(e.linksData,"privacy",t)},expression:"linksData.privacy"}})],1)],1)],1)}),Fn=[],Ln={components:{CheckTextField:Xe["a"]},props:{links:{type:Object,default:function(){return{}}},hasDebounceTimer:{type:Boolean,default:!0}},data:function(){return{linksData:Object(k["a"])({},this.links),debounceTimeout:null,spinnerTimeout:null,isLoading:{website:!1,imprint:!1,privacy:!1,about:!1},isFormValid:!1,isFieldValid:{website:!1,imprint:!1,privacy:!1,about:!1}}},watch:{links:function(){this.linksData=Object(k["a"])({},this.links)},"linksData.website":function(){this.update("website",this.linksData.website,"URL to your website")},"linksData.about":function(){this.update("about",this.linksData.about,"URL to your About us / Team page")},"linksData.imprint":function(){this.update("imprint",this.linksData.imprint,"URL to your Legal Notice")},"linksData.privacy":function(){this.update("privacy",this.linksData.privacy,"URL to your Privacy Policy")}},created:function(){this.rules={url:Ze["o"],required:Ze["n"]}},unmounted:function(){clearTimeout(this.spinnerTimeout),clearTimeout(this.debounceTimeout)},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},update:function(e,t,n){var i=this;return Object(N["a"])(regeneratorRuntime.mark((function a(){return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:if(i.links[e]!==t){a.next=2;break}return a.abrupt("return");case 2:clearTimeout(i.debounceTimeout),i.debounceTimeout=setTimeout((function(){i.isLoading[e]=!0,i.spinnerTimeout=setTimeout(Object(N["a"])(regeneratorRuntime.mark((function t(){var a;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,i.$refs.linksForm.validate();case 2:a=t.sent,a&&(i.$emit("updateSettings",Object(k["a"])({},i.linksData)),i.$tracking.event("Settings",i.$tracking.trackingEvents.EDITED,n)),i.isLoading[e]=!1;case 5:case"end":return t.stop()}}),t)}))),1e3)}),2e3);case 4:case"end":return a.stop()}}),a)})))()}}},Vn=Ln,Rn=Object(T["a"])(Vn,Pn,Fn,!1,null,null,null),jn=Rn.exports,Un=function(){var e=this,t=e._self._c;return e.isSlugEditable?t("div",{staticClass:"w-full"},[t(Ke["a"],{ref:"linksForm",on:{submit:e.submit},model:{value:e.isFormValid,callback:function(t){e.isFormValid=t},expression:"isFormValid"}},[t(l["a"],{staticClass:"mb-2 ma-0 pa-0"},[t(Nt["a"],{ref:"slug",attrs:{outlined:"",type:"url",label:"Ihre persönliche Landinpage URL",prefix:"https://",error:e.hasParentError,"error-messages":e.errorMessages,succes:e.hasParentSuccess,"success-messages":e.successMessages,suffix:e.landingpageDomain,rules:[e.rules.required,e.rules.length({min:5}),e.rules.matchPattern(/^[a-z0-9](-?[a-z0-9])*$/,e.$t("alerts.settings.company.slug-data.error-validation"))],loading:e.isLoading},on:{input:e.update,"update:error":function(t){e.isFieldValid=!t},submit:e.submit},model:{value:e.slugData,callback:function(t){e.slugData=t},expression:"slugData"}})],1)],1)],1):e._e()},Bn=[],Mn={mixins:[j["a"]],props:{slug:{type:String,default:function(){return""}},hasDebounceTimer:{type:Boolean,default:!0},parentError:{type:String,default:null},parentSuccess:{type:String,default:null}},data:function(){return{slugData:this.slug,debounceTimeout:null,spinnerTimeout:null,isLoading:!1,isFormValid:!1,isFieldValid:!1,inputError:this.parentError,inputSuccess:this.parentSuccess}},computed:{isSlugEditable:function(){return this.getFeature(ie["a"].COMPANY).config.isSlugEditable},landingpageDomain:function(){var e,t;return".".concat(null===(e=this.$features.feature(ie["a"].LANDINGPAGE))||void 0===e||null===(t=e.config)||void 0===t?void 0:t.baseDomain)},hasParentError:function(){return Boolean(this.inputError)},errorMessages:function(){return this.inputError?[this.inputError]:[]},hasParentSuccess:function(){return Boolean(this.inputSuccess)},successMessages:function(){return this.inputSuccess?[this.inputSuccess]:[]}},watch:{slug:function(){this.slugData=this.slug},parentError:function(){this.inputError=this.parentError},parentSuccess:function(){this.inputSuccess=this.parentSuccess}},created:function(){this.rules={required:Ze["n"],length:Ze["h"],matchPattern:Ze["j"]}},unmounted:function(){clearTimeout(this.spinnerTimeout),clearTimeout(this.debounceTimeout)},methods:{submit:function(e){return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.preventDefault();case 1:case"end":return t.stop()}}),t)})))()},update:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:t.inputError=null,t.inputSuccess=null,t.slugData=e,t.hasDebounceTimer?(clearTimeout(t.debounceTimeout),t.debounceTimeout=setTimeout((function(){t.isLoading=!0,t.spinnerTimeout=setTimeout(Object(N["a"])(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$refs.linksForm.validate();case 2:if(e.t0=e.sent,!e.t0){e.next=5;break}e.t0=t.slugData.toLowerCase()!==t.slug.toLowerCase();case 5:n=e.t0,n&&t.$emit("updateSlug",t.slugData),t.isLoading=!1;case 8:case"end":return e.stop()}}),e)}))),1e3)}),2e3)):t.$emit("updateSlug",t.slugData);case 4:case"end":return n.stop()}}),n)})))()}}},qn=Mn,Hn=Object(T["a"])(qn,Un,Bn,!1,null,null,null),zn=Hn.exports,Gn=n("761e"),Wn=n.n(Gn),Kn=n("de8b"),Qn=n.n(Kn),Yn=n("1014"),Zn=["__typename"],Xn={components:{SettingsCard:_["a"],LinkSettings:jn,SlugData:zn},mixins:[j["a"]],props:{company:{type:Object,default:function(){return{}}},settings:{type:Object,default:function(){return{}}}},data:function(){return{slugError:null,slugSuccess:null,links:this.company.links}},computed:{companySlug:function(){var e=this.company.slug;return{slug:e}}},watch:{company:function(){this.links=this.company.links}},methods:{saveSettings:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return e.__typename,i=Object(an["a"])(e,Zn),Object.keys(i).forEach((function(e){i[e]=i[e]?Object(Yn["a"])(i[e]):null})),n.prev=2,n.next=5,t.$apollo.mutate({mutation:Wn.a,variables:{input:{companyId:t.$auth.user.companyId,links:i}},refetchQueries:[{query:_n.a,variables:{companyId:t.company.id}}]});case 5:t.links=i,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.company.success")}),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](2),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.company.error")});case 12:case"end":return n.stop()}}),n,null,[[2,9]])})))()},saveSlug:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){var i,a,s,r,o;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.slugError=null,t.slugSuccess=null,n.prev=2,n.next=5,t.$apollo.mutate({mutation:Qn.a,variables:{input:{companyId:t.$auth.user.companyId,newSlug:e}},refetchQueries:[{query:_n.a,variables:{companyId:t.company.id}}]});case 5:i="alerts.settings.company.slug-data.success",t.slugSuccess=i,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t(i)}),n.next=13;break;case 10:n.prev=10,n.t0=n["catch"](2),n.t0.message.match(/Missing permission/)?(a="alerts.settings.company.slug-data.error-permission",t.slugError=a,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t(a)})):n.t0.message.match(/Slug already taken/)?(s="alerts.settings.company.slug-data.error-taken",t.slugError=s,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t(s)})):n.t0.message.match(/Expected/)?(r="alerts.settings.company.slug-data.error-blacklist",t.slugError=r,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t(r)})):(o="alerts.settings.company.slug-data.error",t.slugError=o,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t(o)}));case 13:case"end":return n.stop()}}),n,null,[[2,10]])})))()}}},Jn=Xn,ei=Object(T["a"])(Jn,An,In,!1,null,null,null),ti=ei.exports,ni=n("c6a6"),ii=n("a844"),ai=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.company.ai.title"),subtitle:e.$t("settings.company.ai.subtitle"),icon:"mdi-brain","is-default-open":!1}},[t("div",{staticClass:"px-4 pt-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.ai.body.title"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.ai.body.text"))),t("br")])])]),t(y["a"],{staticClass:"justify-center px-0 mt-4 d-flex px-md-2 d-flex flex-column",attrs:{cols:"12",sm:"6"}},[t(ni["a"],{staticClass:"pointer mb-6",attrs:{items:e.availableCountryItems,"item-text":"text","item-value":"value",label:e.$t("settings.company.ai.country-field.label"),outlined:"","hide-details":"",placeholder:e.$t("product-finder.basic-info.country-placeholder"),loading:e.loading.country,"return-object":""},on:{blur:function(t){var n;return e.update({country:null===(n=e.country)||void 0===n?void 0:n.value})}},scopedSlots:e._u([{key:"selection",fn:function(n){return[t("span",[e._v(e._s(n.item.text))])]}},{key:"item",fn:function(n){return[t("span",{staticClass:"ml-2"},[e._v(e._s(n.item.text))])]}}]),model:{value:e.country,callback:function(t){e.country=t},expression:"country"}}),t("div",{staticClass:"w-full mb-6"},[t("IndustryField",{attrs:{loading:e.loading.industry,label:e.$t("settings.company.ai.industry-field.label")},on:{blur:function(t){var n;return e.update({industry:null===(n=e.industry)||void 0===n?void 0:n.value})}},model:{value:e.industry,callback:function(t){e.industry=t},expression:"industry"}})],1),t("div",{staticClass:"w-full mb-6"},[t(ii["a"],{attrs:{loading:e.loading.businessDescription,label:e.$t("settings.company.ai.businessDescription-field.label"),placeholder:e.$t("product-finder.enter-description-placeholder"),rows:"4","hide-details":"",outlined:""},on:{blur:function(t){return e.update({businessDescription:e.businessDescription})}},model:{value:e.businessDescription,callback:function(t){e.businessDescription=t},expression:"businessDescription"}})],1),t("CheckTextField",{attrs:{label:e.$t("settings.company.website.labels.url-website"),placeholder:"https://www.max-makler.de",rules:[e.rules.url],outlined:"","validate-on-input":"",loading:e.loading.websiteUrl},on:{blur:function(t){e.update({websiteUrl:e.website?e.formatHttpsUrl(e.website):""})}},model:{value:e.website,callback:function(t){e.website=t},expression:"website"}})],1)],1)],1)])},si=[],ri=n("0251"),oi=n.n(ri),li=(n("841c"),function(){var e=this,t=e._self._c;return t(ni["a"],e._b({ref:"autocomplete",staticClass:"ma-0 pointer",attrs:{items:e.industries,"search-input":e.search,clearable:"","item-text":"text","item-value":"value",outlined:"","hide-details":"",placeholder:e.$t("product-finder.industry-placeholder"),"return-object":""},on:{"update:searchInput":function(t){e.search=t},"update:search-input":function(t){e.search=t},blur:function(t){return e.onBlur},"click:clear":e.removeIndustry,click:e.onclick,keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.addIndustry.apply(null,arguments)}},scopedSlots:e._u([{key:"selection",fn:function(n){return[t("span",[e._v(e._s(n.item.text))])]}},{key:"item",fn:function(n){return[t("span",{staticClass:"ml-2"},[e._v(e._s(n.item.text))])]}},{key:"no-data",fn:function(){return[t(s["a"],{staticClass:"ml-2",attrs:{elevation:"0",text:"",outlined:"",color:"primary"},on:{click:e.addIndustry}},[e._v(" "+e._s(e.$t("buttons.product-finder.add"))+": "+e._s(e.search)+" ")])]},proxy:!0}]),model:{value:e.industry,callback:function(t){e.industry=t},expression:"industry"}},"v-autocomplete",e.$attrs,!1))}),ci=[],di=[{header:"product-finder.industries.beauty"},{value:"Hairdresser / Barber",text:"product-finder.industries.hairdresser-barber"},{value:"Beautician / Cosmetologist",text:"product-finder.industries.cosmetologist"},{value:"Permanent Makeup",text:"product-finder.industries.permanent-makeup"},{value:"Tattoo and Piercing",text:"product-finder.industries.tattoo-and-piercing"},{value:"Hair Removal and Laser",text:"product-finder.industries.hair-removal-and-laser"},{value:"Nail Design",text:"product-finder.industries.nail-design"},{value:"Makeup Artist",text:"product-finder.industries.makeup-artist"},{value:"Cosmetic Surgeon",text:"product-finder.industries.cosmetic-surgeon"},{value:"Tanning Salon / Solarium",text:"product-finder.industries.tanning-salon-solarium"},{value:"Dental Hygienist",text:"product-finder.industries.dental-hygienist"},{value:"Other beauty",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.educational-services"},{value:"School",text:"product-finder.industries.school"},{value:"College / University",text:"product-finder.industries.college-university"},{value:"Kindergarten",text:"product-finder.industries.kindergarten"},{value:"Childcare",text:"product-finder.industries.childcare"},{value:"Boarding School",text:"product-finder.industries.boarding-school"},{value:"Private Further and Continuing Education",text:"product-finder.industries.private-further-continuing-education"},{value:"Vocational Training",text:"product-finder.industries.vocational-training"},{value:"Online Courses & E-Learning",text:"product-finder.industries.online-courses-e-learning"},{value:"Tutoring and Private Lessons",text:"product-finder.industries.tutoring-and-private-lessons"},{value:"Music, Dance, and Drama Schools",text:"product-finder.industries.music-dance-and-drama-schools"},{value:"Language School, Language Trips",text:"product-finder.industries.language-school-language-trips"},{value:"Other educational services",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.coaching"},{value:"Personality Coaching",text:"product-finder.industries.personality-coaching"},{value:"Business Coaching",text:"product-finder.industries.business-coaching"},{value:"Life Coaching",text:"product-finder.industries.life-coaching"},{value:"Health and Wellness Coaching",text:"product-finder.industries.health-and-wellness-coaching"},{value:"Career Coaching",text:"product-finder.industries.career-coaching"},{value:"Executive Coaching",text:"product-finder.industries.executive-coaching"},{value:"Team Coaching",text:"product-finder.industries.team-coaching"},{value:"Relationship Coaching",text:"product-finder.industries.relationship-coaching"},{value:"Financial Coaching",text:"product-finder.industries.financial-coaching"},{value:"Other coaching",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.power-engineering-renewable-energies"},{value:"Renewable Energies",text:"product-finder.industries.renewable-energies"},{value:"Electrical Energy Engineering",text:"product-finder.industries.electrical-energy-engineering"},{value:"Energy Efficiency and Management",text:"product-finder.industries.energy-efficiency-and-management"},{value:"Network Technology and Management",text:"product-finder.industries.network-technology-and-management"},{value:"Environmental Technology",text:"product-finder.industries.environmental-technology"},{value:"Other",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.financial-services"},{value:"Financial Advisory",text:"product-finder.industries.financial-advisory"},{value:"Accounting",text:"product-finder.industries.accounting"},{value:"Insurance",text:"product-finder.industries.insurance"},{value:"Mortgages",text:"product-finder.industries.mortgages"},{value:"Debt Counseling and Insolvency Services",text:"product-finder.industries.debt-counseling-and-insolvency-services"},{value:"Lawyer",text:"product-finder.industries.lawyer"},{value:"Other financial services",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.fitness-wellness"},{value:"Gym",text:"product-finder.industries.gym"},{value:"Personal Training",text:"product-finder.industries.personal-training"},{value:"Day Spa",text:"product-finder.industries.day-spa"},{value:"Health and Fitness Courses",text:"product-finder.industries.health-and-fitness-courses"},{value:"Sports and Fitness Events",text:"product-finder.industries.sports-and-fitness-events"},{value:"Other fitness wellness",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.gastronomy"},{value:"Restaurant / Bar / Café",text:"product-finder.industries.restaurant-bar-café"},{value:"Food Truck / Snack Bar",text:"product-finder.industries.food-truck-snack-bar"},{value:"Bakery / Confectionery",text:"product-finder.industries.bakery-confectionery"},{value:"Catering",text:"product-finder.industries.catering"},{value:"Canteen",text:"product-finder.industries.canteen"},{value:"Club / Disco",text:"product-finder.industries.club-disco"},{value:"Other gastronomy",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.health-care"},{value:"Private Clinic",text:"product-finder.industries.private-clinic"},{value:"Nursing Home",text:"product-finder.industries.nursing-home"},{value:"Assisted Living",text:"product-finder.industries.assisted-living"},{value:"Alternative Medicine and Naturopath",text:"product-finder.industries.alternative-medicine-and-naturopath"},{value:"Pharmacy",text:"product-finder.industries.pharmacy"},{value:"Medical Products Supplier",text:"product-finder.industries.medical-products-supplier"},{value:"Sanitary Products Supplier",text:"product-finder.industries.sanitary-products-supplier"},{value:"Medical Supplies Store",text:"product-finder.industries.medical-supplies-store"},{value:"Home Care Service",text:"product-finder.industries.home-care-service"},{value:"Physiotherapy",text:"product-finder.industries.physiotherapy"},{value:"Occupational Therapy",text:"product-finder.industries.occupational-therapy"},{value:"Osteopathy",text:"product-finder.industries.osteopathy"},{value:"Chiropractic",text:"product-finder.industries.chiropractic"},{value:"Acupuncture",text:"product-finder.industries.acupuncture"},{value:"Prenatal Classes / Midwife",text:"product-finder.industries.prenatal-classes-midwife"},{value:"Other health care",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.ngos"},{value:"General Aid Organization",text:"product-finder.industries.general-aid-organization"},{value:"Environmental Protection Organization",text:"product-finder.industries.environmental-protection-organization"},{value:"Animal Aid Organization",text:"product-finder.industries.animal-aid-organization"},{value:"Children's Aid Organization",text:"product-finder.industries.children-aid-organization"},{value:"Humanitarian Aid Organization",text:"product-finder.industries.humanitarian-aid-organization"},{value:"Emergency Relief and Preparedness",text:"product-finder.industries.emergency-relief-and-preparedness"},{value:"Development Organization",text:"product-finder.industries.development-organization"},{value:"Other ngos",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.legal-services"},{value:"Media and Copyright Law",text:"product-finder.industries.media-and-copyright-law"},{value:"Real Estate Law",text:"product-finder.industries.real-estate-law"},{value:"Inheritance Law",text:"product-finder.industries.inheritance-law"},{value:"Family Law",text:"product-finder.industries.family-law"},{value:"Labor Law",text:"product-finder.industries.labor-law"},{value:"Administrative Law",text:"product-finder.industries.administrative-law"},{value:"Civil Law",text:"product-finder.industries.civil-law"},{value:"Criminal Law",text:"product-finder.industries.criminal-law"},{value:"Constitutional Law",text:"product-finder.industries.constitutional-law"},{value:"Other legal services",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.travel-hospitality"},{value:"Sports Hotel",text:"product-finder.industries.sports-hotel"},{value:"Wellness Hotel",text:"product-finder.industries.wellness-hotel"},{value:"Theme Hotel",text:"product-finder.industries.theme-hotel"},{value:"Family Hotel",text:"product-finder.industries.family-hotel"},{value:"Adults Only Hotel",text:"product-finder.industries.adults-only-hotel"},{value:"Spa / Bath",text:"product-finder.industries.spa-bath"},{value:"Amusement Park",text:"product-finder.industries.amusement-park"},{value:"Outdoor / Indoor Playground",text:"product-finder.industries.outdoor-indoor-playground"},{value:"Adventure Park",text:"product-finder.industries.adventure-park"},{value:"Other Leisure Facility",text:"product-finder.industries.other-leisure-facility"},{value:"Cinema",text:"product-finder.industries.cinema"},{value:"Diving School / Water Sports School",text:"product-finder.industries.diving-school-water-sports-school"},{value:"Travel Agency",text:"product-finder.industries.travel-agency"},{value:"Tour Operator",text:"product-finder.industries.tour-operator"},{value:"Other travel hospitality",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.theater-or-museum"},{value:"Museum",text:"product-finder.industries.museum"},{value:"Gallery",text:"product-finder.industries.gallery"},{value:"Theater / Opera House",text:"product-finder.industries.theater-opera-house"},{value:"Auction House",text:"product-finder.industries.auction-house"},{value:"Artist Collective or Independent Artist",text:"product-finder.industries.artist-collective-or-independent-artist"},{value:"Arts and Crafts Design",text:"product-finder.industries.arts-and-crafts-design"},{value:"Other theater or museum",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.events"},{value:"Wedding Planner",text:"product-finder.industries.wedding-planner"},{value:"Event Planner",text:"product-finder.industries.event-planner"},{value:"Event Location",text:"product-finder.industries.event-location"},{value:"CoWorking Space",text:"product-finder.industries.coworking-space"},{value:"Photographer",text:"product-finder.industries.photographer"},{value:"Funeral Director",text:"product-finder.industries.funeral-director"},{value:"Wedding Officiant",text:"product-finder.industries.wedding-officiant"},{value:"Funeral Speaker",text:"product-finder.industries.funeral-speaker"},{value:"Other events",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.npos"},{value:"Sports Club",text:"product-finder.industries.sports-club"},{value:"Music Association",text:"product-finder.industries.music-association"},{value:"Leisure Club",text:"product-finder.industries.leisure-club"},{value:"Animal / Nature Conservation Association",text:"product-finder.industries.animal-nature-conservation-association"},{value:"Social Club",text:"product-finder.industries.social-club"},{value:"Rescue and Social Services Association",text:"product-finder.industries.rescue-and-social-services-association"},{value:"Cultural Association",text:"product-finder.industries.cultural-association"},{value:"Supporting / Sponsoring Association",text:"product-finder.industries.supporting-sponsoring-association"},{value:"Religious Association",text:"product-finder.industries.religious-association"},{value:"Hobby Club",text:"product-finder.industries.hobby-club"},{value:"Other npos",text:"product-finder.industries.other"},{divider:!0},{header:"product-finder.industries.other"},{value:"Crafts",text:"product-finder.industries.crafts"},{value:"Kitchen Construction",text:"product-finder.industries.kitchen-construction"},{value:"Photovoltaic Systems",text:"product-finder.industries.photovoltaic-systems"},{value:"Heating Installation",text:"product-finder.industries.heating-installation"},{value:"Plumbing",text:"product-finder.industries.plumbing"},{value:"Landscaping",text:"product-finder.industries.landscaping"},{value:"Architect",text:"product-finder.industries.architect"}],ui={props:{value:{type:Object,default:function(){return{}}}},data:function(){return{industry:this.value,search:"",industries:[]}},watch:{industry:function(e){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Industry Selected",e.value),this.$emit("input",e)},value:function(e){this.industry=e}},mounted:function(){var e=this;this.industries=this.getIndustries(),this.industry&&!this.industries.some((function(t){var n=t.value;return n===e.industry.value}))&&this.industries.unshift(this.industry)},methods:{onclick:function(){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Industry Selection opened")},onBlur:function(){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Industry Selection closed")},addIndustry:function(){this.industries.unshift({value:this.search,text:this.search,key:this.search}),this.industry={value:this.search,text:this.search,key:this.search},this.search="",this.$refs.autocomplete.blur(),this.$tracking.event("Account Creation",this.$tracking.trackingEvents.TYPED,"Own Industry",this.industry.value)},removeIndustry:function(){this.industry={}},getIndustries:function(){var e=this;return di.map((function(t){return t.divider?t:t.header?{header:e.$t(t.header)}:t.value?{value:t.value,text:e.$t(t.text),key:t.text}:void 0}))}}},mi=ui,fi=(n("df55"),Object(T["a"])(mi,li,ci,!1,null,"a65c0040",null)),pi=fi.exports,vi={components:{SettingsCard:_["a"],IndustryField:pi,CheckTextField:Xe["a"]},mixins:[j["a"],ln["b"]],props:{company:{type:Object,default:function(){return{}}}},data:function(){return{loading:{},rules:{url:Ze["o"]},industry:{},country:null,businessDescription:"",website:"",slugError:null,slugSuccess:null}},watch:{company:{handler:function(){var e,t,n,i,a=this;this.industry={value:null===(e=this.company.meta)||void 0===e?void 0:e.industry,text:null===(t=this.company.meta)||void 0===t?void 0:t.industry,key:null===(n=this.company.meta)||void 0===n?void 0:n.industry},this.businessDescription=null===(i=this.company.meta)||void 0===i?void 0:i.businessDescription,this.website=this.company.links.website,this.country=this.availableCountryItems.find((function(e){var t;return e.value===(null===(t=a.company.country)||void 0===t?void 0:t.toUpperCase())}))},immediate:!0,deep:!0}},methods:{formatHttpsUrl:Yn["a"],setLoadingForInput:function(e,t){this.loading=Object(k["a"])(Object(k["a"])({},this.loading),Object.keys(e).reduce((function(e,n){return Object(k["a"])(Object(k["a"])({},e),{},Object(xe["a"])({},n,t))}),{}))},update:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,t.setLoadingForInput(e,!0),n.next=4,t.$apollo.mutate({mutation:oi.a,variables:{input:e}});case 4:return n.next=6,new Promise((function(e){return setTimeout(e,1e3)}));case 6:R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.company.success")}),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.company.error")});case 12:return n.prev=12,t.setLoadingForInput(e,!1),n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[0,9,12,15]])})))()}}},gi=vi,hi=Object(T["a"])(gi,ai,si,!1,null,null,null),bi=hi.exports,ki=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.company.images.title"),subtitle:e.$t("settings.company.images.subtitle"),icon:"mdi-camera","is-default-open":!1}},[t("div",{staticClass:"pt-4 px-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.0"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.1",{platform:e.readablePlatformName}))),t("br"),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.2"))+" ")])])]),t(y["a"],{attrs:{cols:"12",sm:"6"}},[t("ImageContainer",e._b({attrs:{"save-image":e.updateAmbassadorImage}},"ImageContainer",e.portrait,!1))],1)],1),e.isLogoEditable?t(l["a"],{staticClass:"mt-8 mb-2"},[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.3"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.4"))),t("br"),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.5"))+" ")])])]),t(y["a"],{attrs:{cols:"12",sm:"6"}},[t("ImageContainer",e._b({attrs:{"save-image":e.updateImage}},"ImageContainer",e.logo,!1))],1)],1):e._e(),t(l["a"],{staticClass:"mt-8 mb-2"},[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.6"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.7",{platform:e.readablePlatformName}))),t("br"),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.8"))+" ")])])]),t(y["a"],{attrs:{cols:"12",sm:"6"}},[t("ImageContainer",e._b({attrs:{"save-image":e.updateImage}},"ImageContainer",e.team,!1))],1)],1),t(l["a"],{staticClass:"mt-8 mb-2"},[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.9"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.10"))),t("br"),t("br")])])]),t(y["a"],{attrs:{cols:"12",sm:"6"}},[t("ImageContainer",e._b({attrs:{"save-image":e.updateImage}},"ImageContainer",e.region,!1))],1)],1),t("Feature",{attrs:{"feature-slug":e.featureNames.VALUATION}},[t(l["a"],{staticClass:"mt-8 mb-2"},[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.11"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.images.body-texts.12"))),t("br"),e._v(" "),t("br")])])]),t(y["a"],{attrs:{cols:"12",sm:"6"}},[t("ImageContainer",e._b({attrs:{"save-image":e.updateImage}},"ImageContainer",e.lpValuationHero,!1))],1)],1)],1)],1)])},yi=[],Ci=n("9c0e"),Si=n.n(Ci),xi=n("3df3"),wi=n.n(xi),Ni=n("66ab"),_i=n.n(Ni),$i=n("b9aa"),Di={components:{SettingsCard:_["a"],ImageContainer:$i["a"]},mixins:[j["a"],se["a"]],props:{company:{type:Object,default:function(){return{}}}},computed:{isLogoEditable:function(){var e,t;return null===(e=this.getFeature(this.featureNames.COMPANY))||void 0===e||null===(t=e.config)||void 0===t?void 0:t.isLogoEditable},logo:function(){return{name:"logo",title:this.$t("settings.company.images.labels.company-logo"),src:this.company.images.logo.url,minHeight:100,minWidth:1200}},portrait:function(){var e;return{name:"image",title:this.$t("settings.company.images.labels.portrait-picture"),src:null===(e=this.company.ambassador.image)||void 0===e?void 0:e.url,minHeight:1200,minWidth:1200,ratio:1}},team:function(){var e;return{name:"team",title:this.$t("settings.company.images.labels.team-picture"),src:null===(e=this.company.images.team)||void 0===e?void 0:e.url,minHeight:800,minWidth:1200,ratio:1.5}},region:function(){var e;return{name:"region",title:this.$t("settings.company.images.labels.region-picture"),src:null===(e=this.company.images.region)||void 0===e?void 0:e.url,minHeight:800,minWidth:1200,ratio:1.5,askForImageRights:!0,canDeleteImage:!0}},lpValuationHero:function(){var e;return{name:"lpValuationHero",title:this.$t("settings.company.images.labels.valuation-picture"),src:null===(e=this.company.images.lpValuationHero)||void 0===e?void 0:e.url,minHeight:650,minWidth:1950,ratio:3,disabled:!this.getFeature(this.featureNames.VALUATION).config.hasLpValuationHero,askForImageRights:!0,canDeleteImage:!0}}},methods:{updateImage:function(e){var t=arguments,n=this;return Object(N["a"])(regeneratorRuntime.mark((function i(){var a,s;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=t.length>1&&void 0!==t[1]?t[1]:"logo",i.prev=1,i.next=4,n.$apollo.mutate({mutation:Si.a,variables:{input:{companyId:n.company.id,images:[{type:a,image:{id:null===(s=n.company.images[a])||void 0===s?void 0:s.id,file:e}}]}},refetchQueries:[{query:_i.a,variables:{id:n.company.id}},{query:_n.a,variables:{companyId:n.company.id}}]});case 4:n.$tracking.event("Settings",n.$tracking.trackingEvents.UPLOAD,"Uploaded"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:n.$t("alerts.settings.company.success")}),i.next=11;break;case 8:i.prev=8,i.t0=i["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:n.$t("alerts.settings.company.error")});case 11:case"end":return i.stop()}}),i,null,[[1,8]])})))()},updateAmbassadorImage:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.$apollo.mutate({mutation:wi.a,variables:{input:{companyId:t.company.id,image:{id:null===(i=t.company.ambassador.image)||void 0===i?void 0:i.id,file:e}}},refetchQueries:[{query:_i.a,variables:{id:t.company.id}},{query:_n.a,variables:{companyId:t.company.id}}]});case 3:t.$tracking.event("Settings",t.$tracking.trackingEvents.UPLOAD,"Uploaded"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.company.success")}),n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.company.error")});case 10:case"end":return n.stop()}}),n,null,[[0,7]])})))()}}},Ei=Di,Oi=Object(T["a"])(Ei,ki,yi,!1,null,null,null),Ti=Oi.exports,Ai=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.company.colors.title"),subtitle:e.$t("settings.company.colors.subtitle"),icon:"mdi-palette","is-default-open":!1}},[t("div",{staticClass:"py-4 px-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.colors.body-texts.0"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.colors.body-texts.1"))+" ")])])]),e.primaryColor?t(y["a"],{staticClass:"d-flex flex-column justify-center px-0 px-md-2 mt-4",attrs:{cols:"12",sm:"6"}},[t("div",{staticClass:"d-flex justify-center align-end",on:{click:function(t){return e.triggerPrimaryDialog()}}},[t("ContrastIndicator",{attrs:{"selected-color":e.primaryColor,"has-sufficient-contrast":e.hasPrimarySufficientContrast}}),t("SetColorDialog",{attrs:{title:e.$t("settings.company.colors.adjust-primary-color"),abort:e.resetPrimaryColor,save:e.updateColors,"show-dialog":e.showPrimaryDialog,"has-sufficient-contrast":e.hasPrimarySufficientContrast},model:{value:e.primaryColor,callback:function(t){e.primaryColor=t},expression:"primaryColor"}})],1)]):e._e()],1),t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.colors.body-texts.2"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.colors.body-texts.3"))+" ")])])]),e.secondaryColor?t(y["a"],{staticClass:"d-flex flex-column justify-center px-0 px-md-2 mt-4",attrs:{cols:"12",sm:"6"}},[t("div",{staticClass:"d-flex justify-center align-end",on:{click:function(t){return e.triggerSecondaryDialog()}}},[t("ContrastIndicator",{attrs:{"selected-color":e.secondaryColor,"has-sufficient-contrast":e.hasSecondarySufficientContrast}}),t("SetColorDialog",{attrs:{title:e.$t("settings.company.colors.adjust-secondary-color"),abort:e.resetSecondaryColor,save:e.updateColors,"show-dialog":e.showSecondaryDialog,"has-sufficient-contrast":e.hasSecondarySufficientContrast},model:{value:e.secondaryColor,callback:function(t){e.secondaryColor=t},expression:"secondaryColor"}})],1)]):e._e()],1)],1)])},Ii=[],Pi=function(){var e=this,t=e._self._c;return e.hasSufficientContrast?t("div",{staticClass:"indicator d-flex flex-column justify-center align-stretch",style:{backgroundColor:e.selectedColor,color:"#ffffff"}},[t("div",{staticClass:"text-center",domProps:{innerHTML:e._s(e.$t("alerts.contrast-indicator.success"))}}),t(Y["a"],{staticClass:"py-4",attrs:{large:"",color:"white"}},[e._v(" mdi-check ")])],1):t("div",{staticClass:"indicator indicator__failure d-flex flex-column justify-center align-stretch"},[t("div",{staticClass:"text-center text-body-2",domProps:{innerHTML:e._s(e.$t("alerts.contrast-indicator.error"))}}),t(Y["a"],{staticClass:"py-4",attrs:{large:"",color:"red"}},[e._v(" mdi-block-helper ")]),t("div",{staticClass:"text-center text-body-2"},[e._v(" "+e._s(e.$t("alerts.contrast-indicator.info"))+" ")])],1)},Fi=[],Li={props:{selectedColor:{type:String,default:"#000000"},hasSufficientContrast:{type:Boolean,default:!1}}},Vi=Li,Ri=(n("114a5"),Object(T["a"])(Vi,Pi,Fi,!1,null,null,null)),ji=Ri.exports,Ui=n("03a4"),Bi=function(){var e=this,t=e._self._c;return t(z["a"],{attrs:{transition:"dialog-bottom-transition","max-width":"350",persistent:""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on;return[t("div",{staticClass:"d-flex"},[t(s["a"],e._g({staticClass:"primary white--text",attrs:{rounded:!1,icon:"",small:""}},i),[t(Y["a"],[e._v(" mdi-pencil ")])],1)],1)]}}]),model:{value:e.dialog,callback:function(t){e.dialog=t},expression:"dialog"}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[t(J["b"],[e._v(" "+e._s(e.title)+" ")]),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:e.onAbort}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(H["c"],{staticClass:"mt-4"},[t(Ui["a"],e._g({attrs:{mode:"hexa","hide-mode-switch":""},model:{value:e.model,callback:function(t){e.model=t},expression:"model"}},e.$listeners)),e.hasSufficientContrast?e._e():t(a["a"],{attrs:{type:"error"}},[e._v(" "+e._s(e.$t("alerts.color-dialog.error"))+" ")])],1),t(H["a"],{staticClass:"justify-end"},[t(s["a"],{attrs:{text:""},on:{click:e.onAbort}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(s["a"],{attrs:{color:"primary",disabled:!e.hasSufficientContrast},on:{click:e.saveColor}},[e._v(" "+e._s(e.$t("labels.save"))+" ")])],1)],1)],1)},Mi=[],qi={props:{value:{type:String,default:"#000000"},title:{type:String,default:"Farbe anpassen"},abort:{type:Function,default:function(){}},save:{type:Function,default:function(){}},showDialog:{type:Boolean,default:!1},hasSufficientContrast:{type:Boolean,default:!1}},data:function(){return{model:this.value,dialog:this.showDialog}},watch:{showDialog:function(){this.dialog=this.showDialog},value:function(){this.model=this.value}},methods:{saveColor:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.save(e.model);case 2:e.dialog=!1;case 3:case"end":return t.stop()}}),t)})))()},onAbort:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.abort();case 2:e.dialog=!1;case 3:case"end":return t.stop()}}),t)})))()}}},Hi=qi,zi=Object(T["a"])(Hi,Bi,Mi,!1,null,null,null),Gi=zi.exports,Wi=n("4cbe"),Ki=n.n(Wi),Qi={components:{SettingsCard:_["a"],ContrastIndicator:ji,SetColorDialog:Gi},props:{company:{type:Object,default:function(){return{}}}},data:function(){return{primaryColor:null,secondaryColor:null,showPrimaryDialog:!1,showSecondaryDialog:!1,maxBrightness:186}},computed:{primaryBrightness:function(){var e=this.hexToRgb(this.primaryColor),t=e.red,n=e.green,i=e.blue;return.299*t+.587*n+.114*i},hasPrimarySufficientContrast:function(){return this.primaryBrightness<=this.maxBrightness},secondaryBrightness:function(){var e=this.hexToRgb(this.secondaryColor),t=e.red,n=e.green,i=e.blue;return.299*t+.587*n+.114*i},hasSecondarySufficientContrast:function(){return this.secondaryBrightness<=this.maxBrightness}},mounted:function(){this.primaryColor=this.company.theme.colors.primary,this.secondaryColor=this.company.theme.colors.secondary},methods:{triggerPrimaryDialog:function(){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Adjust Primary Color"),this.showPrimaryDialog=!0},triggerSecondaryDialog:function(){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Adjust Secondary Color"),this.showSecondaryDialog=!0},resetPrimaryColor:function(){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Reset Primary Color"),this.showPrimaryDialog=!1,this.primaryColor=this.company.theme.colors.primary},resetSecondaryColor:function(){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Reset Secondary Color"),this.showSecondaryDialog=!1,this.secondaryColor=this.company.theme.colors.secondary},hexToRgb:function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{red:parseInt(t[1],16),green:parseInt(t[2],16),blue:parseInt(t[3],16)}:{red:0,green:0,blue:0}},updateColors:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.showPrimaryDialog=!1,e.showSecondaryDialog=!1,t.prev=2,t.next=5,e.$apollo.mutate({mutation:Ki.a,variables:{input:{companyId:e.company.id,colors:{primary:e.primaryColor,secondary:e.secondaryColor}}},refetchQueries:[{query:_i.a,variables:{id:e.company.id}},{query:_n.a,variables:{companyId:e.company.id}}]});case 5:e.$tracking.event("Settings",e.$tracking.trackingEvents.EDITED,"Update Company Theme"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.company.success")}),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](2),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.company.error")});case 12:case"end":return t.stop()}}),t,null,[[2,9]])})))()}}},Yi=Qi,Zi=Object(T["a"])(Yi,Ai,Ii,!1,null,null,null),Xi=Zi.exports,Ji=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.company.language.title"),subtitle:e.$t("settings.company.language.subtitle"),"is-default-open":!1}},[t("div",{staticClass:"px-4 pt-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.language.body-texts.0"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.language.body-texts.1"))+" ")]),t("br"),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.language.body-texts.2",{readablePlatformName:e.readablePlatformName}))+" ")]),t("span",{staticStyle:{"text-decoration":"underline",color:"forestgreen"}},[t("router-link",{attrs:{to:"/settings/profile"}},[e._v(e._s(e.$t("settings.company.language.body-texts.3")))])],1),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.language.body-texts.4")))])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t(sn["a"],{attrs:{outlined:"",value:e.companyLocale,items:e.availableLocales},on:{change:e.updateCompanyLocale},scopedSlots:e._u([{key:"item",fn:function(t){return[e._v(" "+e._s(e.$t("language.".concat(t.item)))+" ")]}},{key:"selection",fn:function(t){return[e._v(" "+e._s(e.$t("language.".concat(t.item)))+" ")]}}])})],1)],1)],1)])},ea=[],ta=["en-GB","en-US","de-DE","de-CH","de-AT","ar","bn","zh","cs","da","nl","fi","fr","hi","hu","it","ja","ko","lv","nb-NO","pl","pt","ro","ru","sr","sk","es","sv","tr","vi"],na=n("feaa"),ia=n.n(na),aa=n("35bc"),sa={components:{SettingsCard:_["a"]},mixins:[se["a"],j["a"]],props:{company:{type:Object,default:function(){return{}}}},data:function(){return{localeMapping:{en:"en-GB",de:"de-DE"}}},computed:{companyLocale:function(){if(this.company.locale)return this.company.locale;var e=this.$i18n.locale;return this.localeMapping[e]||e},availableLocales:function(){var e=this;return this.company.locale?ta:ta.map((function(t){return e.localeMapping[t]||t}))}},methods:{updateCompanyLocale:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,t.$apollo.mutate({mutation:ia.a,variables:{input:{locale:e}}});case 3:t.$emit("updateCompanyLocale"),t.$tracking.event("Settings",t.$tracking.trackingEvents.EDITED,"Update Company"),Object(aa["a"])("success",t.$t("alerts.language-switch.success")),n.next=11;break;case 8:n.prev=8,n.t0=n["catch"](0),Object(aa["a"])("error",t.$t("alerts.language-switch.error"));case 11:case"end":return n.stop()}}),n,null,[[0,8]])})))()}}},ra=sa,oa=Object(T["a"])(ra,Ji,ea,!1,null,null,null),la=oa.exports,ca=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.company.additional.title"),icon:"mdi-wrench-outline","is-default-open":!1}},[t("div",{staticClass:"px-4 pt-4"},[t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.isSloganEditable?t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.additional.body-texts.0"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.additional.body-texts.1"))),t("br"),e._v(" "+e._s(e.$t("settings.company.additional.body-texts.2"))+" ")])])]),t(y["a"],{staticClass:"justify-center px-0 mt-4 d-flex px-md-2",attrs:{cols:"12",sm:"6"}},[t("TextSettings",{attrs:{fields:e.sloganField},on:{update:e.update}})],1)],1):e._e()]}}])}),t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.isCommissionEditable?t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.additional.body-texts.3"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.additional.body-texts.4"))+" ")])])]),t(y["a"],{staticClass:"justify-center px-0 mt-4 d-flex px-md-2",attrs:{cols:"12",sm:"6"}},[t("TextSettings",{attrs:{fields:e.commissionField},on:{update:e.update}})],1)],1):e._e()]}}])}),t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.isRegionEditable?t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.company.additional.region.title"))+" ")])]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.company.additional.region.subtitle"))+" ")])])]),t(y["a"],{staticClass:"justify-center px-0 mt-4 d-flex px-md-2",attrs:{cols:"12",sm:"6"}},[t("TextSettings",{attrs:{fields:e.regionField},on:{update:e.update}})],1)],1):e._e()]}}])})],1)])},da=[],ua=n("2cea"),ma=n.n(ua),fa=n("9d48"),pa=n.n(fa),va=n("19a2"),ga=n.n(va),ha=function(){var e=this,t=e._self._c;return t("div",{staticClass:"w-full"},[t(Ke["a"],{ref:"textForm",model:{value:e.isFormValid,callback:function(t){e.isFormValid=t},expression:"isFormValid"}},e._l(e.fields,(function(n){return t(l["a"],{key:n.name,staticClass:"ma-0 pa-0 mb-2"},[t("CheckTextField",e._b({attrs:{loading:e.isLoading[n.name],rules:n.isRequired?[e.rules.required]:[],outlined:"","validate-on-input":""},on:{click:function(t){return e.onClick(n.name,e.fieldsData[n.name])},change:function(t){return e.update(n.name,e.fieldsData[n.name])}},model:{value:e.fieldsData[n.name],callback:function(t){e.$set(e.fieldsData,n.name,t)},expression:"fieldsData[field.name]"}},"CheckTextField",n,!1))],1)})),1)],1)},ba=[],ka={components:{CheckTextField:Xe["a"]},props:{fields:{type:Array,default:function(){return[]}}},data:function(){var e=this.initFieldFlags(),t=this.mapFieldValues();return{fieldsData:Object(k["a"])({},t),debounceTimeout:null,spinnerTimeout:null,isLoading:e,isFormValid:!1,isFieldValid:e}},watch:{fields:function(){var e=this.mapFieldValues();this.fieldsData=Object(k["a"])({},e)}},created:function(){this.rules={required:Ze["n"]}},unmounted:function(){clearTimeout(this.spinnerTimeout),clearTimeout(this.debounceTimeout)},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},update:function(e,t){var n=this;return Object(N["a"])(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:clearTimeout(n.debounceTimeout),n.debounceTimeout=setTimeout((function(){n.isLoading[e]=!0,n.spinnerTimeout=setTimeout(Object(N["a"])(regeneratorRuntime.mark((function i(){var a;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,n.$refs.textForm.validate();case 2:a=i.sent,a&&(n.$emit("update",Object(xe["a"])({},e,t)),n.$tracking.event("Settings",n.$tracking.trackingEvents.EDITED,e)),n.isLoading[e]=!1;case 5:case"end":return i.stop()}}),i)}))),1e3)}),2e3);case 2:case"end":return i.stop()}}),i)})))()},initFieldFlags:function(){return this.fields.reduce((function(e,t){return e[t.name]=!1,e}),{})},mapFieldValues:function(){return this.fields.reduce((function(e,t){return e[t.name]=t.value,e}),{})}}},ya=ka,Ca=Object(T["a"])(ya,ha,ba,!1,null,null,null),Sa=Ca.exports,xa={components:{SettingsCard:_["a"],TextSettings:Sa},mixins:[j["a"]],props:{company:{type:Object,default:function(){return{}}}},data:function(){return{slugError:null,slugSuccess:null}},computed:{sloganField:function(){return[{label:this.$t("settings.company.additional.slogan-field.label"),name:"slogan",placeholder:this.$t("settings.company.additional.slogan-field.placeholder"),required:!1,value:this.company.slogan}]},commissionField:function(){return[{label:this.$t("settings.company.additional.commission-field.label"),name:"commission",placeholder:this.$t("settings.company.additional.commission-field.placeholder"),required:!1,value:this.company.commission,type:"number",suffix:"%"}]},regionField:function(){return[{label:this.$t("settings.company.additional.region-field.label"),name:"regionName",placeholder:this.$t("settings.company.additional.region-field.placeholder"),required:!1,value:this.company.regionName,type:"text"}]}},methods:{update:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){var i,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i={slogan:ma.a,commission:ga.a,regionName:pa.a},a=Object.keys(e)[0],i[a]){n.next=5;break}return R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.company.error")}),n.abrupt("return");case 5:return n.prev=5,n.next=8,t.$apollo.mutate({mutation:i[a],variables:{input:Object(k["a"])({companyId:t.$auth.user.companyId},e)},refetchQueries:[{query:_n.a,variables:{companyId:t.$auth.user.companyId}}]});case 8:R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.company.success")}),n.next=14;break;case 11:n.prev=11,n.t0=n["catch"](5),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.company.error")});case 14:case"end":return n.stop()}}),n,null,[[5,11]])})))()}}},wa=xa,Na=Object(T["a"])(wa,ca,da,!1,null,null,null),_a=Na.exports,$a=n("639e"),Da=n.n($a),Ea={components:{LanguageSettings:la,ContactSettings:Tn,WebSettings:ti,AiSettings:bi,ImageSettings:Ti,ColorSettings:Xi,OtherSettings:_a},mixins:[j["a"]],methods:{updateCompanyLocale:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$apollo.queries.company.refetch();case 2:case"end":return t.stop()}}),t)})))()}},apollo:{settings:{query:Da.a,variables:function(){return{companyId:this.$auth.user.companyId}}},company:{query:_i.a,variables:function(){return{id:this.$auth.user.companyId}},update:function(e){var t=e.company;return t.images.logo=t.images.logo||{},t.images.team=t.images.team||{},t.images.region=t.images.region||{},t.images.lpValuationHero=t.images.lpValuationHero||{},t.ambassador.image=t.ambassador.image||{},t}}}},Oa=Ea,Ta=Object(T["a"])(Oa,Jt,en,!1,null,null,null),Aa=Ta.exports,Ia=function(){var e=this,t=e._self._c;return t(v["a"],{staticClass:"pa-0 layout-container"},[e.company?t("AccountSection",{attrs:{company:e.company}}):e._e(),t(o["a"],{staticClass:"my-4"}),e.company?t("SubscriptionSection",{attrs:{company:e.company}}):e._e()],1)},Pa=[],Fa=function(){var e=this,t=e._self._c;return t("div",[t(z["a"],{attrs:{"max-width":"1200",persistent:""},on:{"click:outside":function(t){e.isMarkeroDowngradeDialog=!1}},model:{value:e.isMarkeroDowngradeDialog,callback:function(t){e.isMarkeroDowngradeDialog=t},expression:"isMarkeroDowngradeDialog"}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[t(J["b"],{domProps:{textContent:e._s(e.$t("product-packages.main-title"))}}),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:function(t){e.isMarkeroDowngradeDialog=!1}}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(H["c"],{staticClass:"d-flex justify-space-between text-align-center my-5"},[t("ProductPackages",{attrs:{company:e.company}})],1)],1)],1),t("SettingsCard",{attrs:{title:e.$t("settings.subscription.title"),subtitle:e.$t("settings.subscription.subtitle"),icon:"mdi-account-cog","is-default-open":!1}},[t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.subscription.body-texts.0"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.subscription.body-texts.1",{readablePlatformName:e.readablePlatformName}))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",{staticClass:"d-flex flex-row mt-4"},[t("SubscriptionState",{attrs:{"subscription-state":e.subscriptionState}}),t("Permission",{attrs:{permission:"settings-subscription:change"}},[t("Feature",{attrs:{"feature-slug":e.featureNames.CHANGE_SUBSCRIPTION}},[t(s["a"],{staticClass:"ml-4",class:{"w-full mt-4":e.$vuetify.breakpoint.smAndDown},attrs:{color:"primary",text:""},on:{click:e.handleDowngrade}},[t(Y["a"],[e._v("mdi-swap-horizontal")]),e._v(" "+e._s(e.$t("settings.subscription.options"))+" ")],1)],1)],1)],1),t("Permission",{attrs:{permission:"settings-subscription:cancel"},scopedSlots:e._u([{key:"noPermission",fn:function(){return[t("div",{staticClass:"mt-8"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.subscription.delete-account"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.subscription.delete-account-subtitle"))+" ")])])]},proxy:!0}])},[[e.subscriptionState?t(e.currentStep,{tag:"component",attrs:{company:e.company},on:{handleDowngrade:e.handleDowngrade,actionSuccess:e.getContractDetails}}):e._e()]],2)],1)],1),t("Permission",{attrs:{permission:"settings-subscription:cancel"}},[e.showDeleteAccountSection?t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.subscription.delete-account-full"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.subscription.delete-account-full-subtitle"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("DeleteAccount",{attrs:{"subscription-state":e.subscriptionState,"end-date":e.endDate}})],1)],1):e._e()],1),t("ChangeSubscription",{attrs:{dialog:e.isDowngradeDialog,company:e.company},on:{close:function(t){e.isDowngradeDialog=!1}}})],1)])],1)},La=[],Va=n("8b4f"),Ra=n("a9e6"),ja=function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex align-center"},[t(Y["a"],{staticClass:"mr-2",attrs:{color:e.state.color}},[e._v(" "+e._s(e.state.icon)+" ")]),t("span",[e._v(e._s(e.$t("labels.subscription-state.label"))+" "),t("b",[e._v(e._s(e.$t(e.state.label)))]),e._v(".")])],1)},Ua=[],Ba=n("24bb"),Ma=(i={},Object(xe["a"])(i,Ba["a"].FREE,{icon:"mdi-account-check",color:"success",label:"labels.subscription-state.active"}),Object(xe["a"])(i,Ba["a"].ACTIVE,{icon:"mdi-account-check",color:"success",label:"labels.subscription-state.active"}),Object(xe["a"])(i,Ba["a"].INACTIVE,{icon:"mdi-account-cancel",color:"error",label:"labels.subscription-state.inactive"}),Object(xe["a"])(i,Ba["a"].CANCELED,{icon:"mdi-account-cancel",color:"info",label:"labels.subscription-state.cancelled"}),i),qa={props:{subscriptionState:{type:String,default:null}},computed:{state:function(){return Ma[this.subscriptionState||Ba["a"].FREE]}}},Ha=qa,za=Object(T["a"])(Ha,ja,Ua,!1,null,null,null),Ga=za.exports,Wa=function(){var e=this,t=e._self._c;return t(a["a"],[t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.$t("settings.delete-account.title"))),t("br")]),t("div",{staticClass:"black--text"},[t("p",[e._v(" "+e._s(e.$t("settings.delete-account.subtitle"))+" ")]),e.canDeleteAccount?e._e():t("p",[t("b",[e._v(e._s(e.$t("settings.delete-account.body-texts.0"))+": ")]),e._v(e._s(e.$t("settings.delete-account.body-texts.1",{date:e.formatDate(e.endDate,"DATE_LONG")}))+" ")])]),t("div",{staticClass:"d-flex justify-end"},[e.canDeleteAccount?t("Dialog",{attrs:{action:"delete",title:e.$t("settings.delete-account.dialog.title"),content:e.$t("settings.delete-account.dialog.content",{readablePlatformName:e.readablePlatformName}),submit:function(){return e.deleteAccount()},color:"error"}},[t(s["a"],{attrs:{color:"error",small:"",disabled:!e.canDeleteAccount},on:{click:e.deleteAccount}},[t(Y["a"],{staticClass:"mr-2",attrs:{small:""}},[e._v(" mdi-delete ")]),e._v(" "+e._s(e.$t("buttons.delete-account.cta"))+" ")],1)],1):e._e()],1)])},Ka=[],Qa=n("8e41"),Ya={components:{Dialog:Qa["a"]},mixins:[se["a"]],props:{subscriptionState:{type:String,default:""},endDate:{type:Date,default:null}},computed:{canDeleteAccount:function(){return this.subscriptionState===Ba["a"].INACTIVE}},methods:{deleteAccount:function(){}}},Za=Ya,Xa=Object(T["a"])(Za,Wa,Ka,!1,null,null,null),Ja=Xa.exports,es=n("7e85"),ts=n("e516"),ns=n("9c54"),is=function(){var e=this,t=e._self._c;return t(z["a"],{attrs:{persistent:"",width:"unset"},model:{value:e.dialog,callback:function(t){e.dialog=t},expression:"dialog"}},[t(ge["a"],[t(r["a"],[t(H["d"],{staticClass:"pa-0",staticStyle:{height:"30px"}},[t(X["a"],{attrs:{color:"transparent",dark:"",flat:""}},[t(Z["a"]),t(J["a"],[e.showCloseButton?t(s["a"],{attrs:{color:"grey",icon:""},on:{click:e.close}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1):e._e()],1)],1)],1),t(H["c"],{staticClass:"px-0 mt-5 d-flex",staticStyle:{"max-height":"700px",overflow:"hidden"}},[t(es["a"],{ref:"stepContainer",staticClass:"w-full",staticStyle:{"background-color":"transparent",overflow:"scroll"},attrs:{flat:""},model:{value:e.step,callback:function(t){e.step=t},expression:"step"}},[t(ns["b"],[t(ts["a"],{staticClass:"pa-0",attrs:{step:"1"}},[t("div",{staticClass:"px-4 text-center"},[t("h1",{staticClass:"display-1 font-weight-black"},[e._v(" "+e._s(e.$t("products.title"))+" ")]),t("p",{staticClass:"mt-1 mb-2 text-subtitle-2"},[e._v(" "+e._s(e.$t("products.subtitle"))+" ")])]),1===e.step?t("Products",{staticClass:"py-0 my-0",style:{width:e.$vuetify.breakpoint.smAndDown?"100%":"1200px"},attrs:{"country-code":e.company.country.toUpperCase(),"is-package-change":!0,"hide-downgrade":e.hideDowngrade,"current-package":e.currentPackage},on:{productSelected:e.handleProductSelected}}):e._e()],1),t(ts["a"],{attrs:{step:"2"}},[2===e.step&&e.isUpgrade?t("UpgradeWarning",{style:{width:e.$vuetify.breakpoint.smAndDown?"100%":"600px"},attrs:{"current-package":e.currentPackage,"new-package":e.newPackage},on:{cancel:e.close,submit:e.changePackage}}):e._e(),2!==e.step||e.isUpgrade?e._e():t("DowngradeWarning",{style:{width:e.$vuetify.breakpoint.smAndDown?"100%":"600px"},attrs:{"current-package":e.currentPackage,"new-package":e.newPackage},on:{cancel:e.close,submit:e.changePackage}})],1),t(ts["a"],{attrs:{step:"3"}},[3===e.step?t("ChangeAnimation",{style:{width:e.$vuetify.breakpoint.smAndDown?"100%":"800px"},attrs:{"current-package":e.currentPackage,"new-package":e.newPackage,"is-change-subscription-done":e.isChangeSubscriptionDone},on:{finished:e.handleLoadingFinished}}):e._e()],1),t(ts["a"],{staticClass:"px-0",attrs:{step:"4"}},[4===e.step&&e.isUpgrade?t("UpgradeOnboarding",{style:{width:e.$vuetify.breakpoint.smAndDown?"100%":"800px"},attrs:{company:e.company,"new-package":e.newPackage},on:{submit:e.handleNextStep,scrollToTop:e.scrollToTop}}):e._e()],1),t(ts["a"],{attrs:{step:"5"}},[5===e.step?t("FinishedAnimation",{style:{width:e.$vuetify.breakpoint.smAndDown?"100%":"800px"},attrs:{"is-upgrade":e.isUpgrade,"new-package":e.newPackage},on:{finished:e.handleUpgradeOnboardingFinished}}):e._e()],1)],1)],1)],1)],1)],1)],1)},as=[],ss=n("cfdb"),rs=n("a3ca"),os=n("7079"),ls=function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex justify-center flex-column align-center w-full"},[t("div",{staticClass:"d-flex flex-column align-center w-full mt-16",staticStyle:{height:"120px"}},[e.showNewLogo?e._e():t("PackageLogo",{staticClass:"bounce-out",attrs:{"current-package":e.oldPackage,"show-label":!1,size:"large"}}),e.showNewLogo?t("PackageLogo",{staticClass:"bounce-in",class:{pulse:e.showPulse},attrs:{"current-package":e.newPackage,"show-label":!1,size:"large"}}):e._e()],1),t("h2",[e._v(e._s(e.title))]),t("p",[e._v(e._s(e.subtitle)+" ")])])},cs=[],ds=n("47f6"),us={components:{PackageLogo:ds["a"]},props:{currentPackage:{type:String,default:""},newPackage:{type:String,default:""},isChangeSubscriptionDone:{type:Boolean,default:!1}},data:function(){return{oldPackage:this.currentPackage,product:{},showNewLogo:!1,showPulse:!1,animationFinished:!1,initalTimeout:null,newLogoTimeout:null,finishedTimeout:null}},computed:{title:function(){return Object(ss["b"])(this.oldPackage,this.newPackage)?this.$t("settings.change-animation.titles.0"):this.$t("settings.change-animation.titles.1")},subtitle:function(){return Object(ss["b"])(this.oldPackage,this.newPackage)?this.$t("settings.change-animation.subtitles.0",{package:this.newPackage}):this.$t("settings.change-animation.subtitles.1",{package:this.newPackage})}},watch:{isChangeSubscriptionDone:function(e){e&&this.handleFinished()},animationFinished:function(e){e&&this.handleFinished()}},mounted:function(){var e=this;this.initalTimeout=setTimeout((function(){e.showNewLogo=!0,e.newLogoTimeout=setTimeout((function(){e.showPulse=!0,e.finishedTimeout=setTimeout((function(){e.animationFinished=!0}),5e3)}),900)}),1900)},methods:{handleFinished:function(){this.isChangeSubscriptionDone&&this.animationFinished&&this.$emit("finished")}}},ms=us,fs=(n("11dc"),Object(T["a"])(ms,ls,cs,!1,null,null,null)),ps=fs.exports,vs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex justify-center flex-column align-center w-full"},[t("div",{staticClass:"d-flex flex-column align-center w-full mt-16",staticStyle:{height:"120px"}},[e.showDoneLogo?e._e():t("PackageLogo",{staticClass:"bounce-out-done",attrs:{"current-package":e.newPackage,"show-label":!1,size:"large"}}),e.showDoneLogo?t("div",{staticClass:"d-flex bounce-in-done",class:{"pulse-done":e.showPulse}},[t("div",{staticClass:"mr-8",staticStyle:{position:"relative"}},[t(Y["a"],{staticClass:"mr-2 static-gradient-background background-clip-icon",staticStyle:{position:"absolute"},style:{left:"-25px",top:"-18px"},attrs:{size:100}},[e._v(" mdi-check-decagram ")])],1)]):e._e()],1),t("h2",[e._v(e._s(e.title)+" ")]),t("p",{staticClass:"text-center"},[e._v(" "+e._s(e.subtitle)+" ")])])},gs=[],hs={components:{PackageLogo:ds["a"]},props:{isUpgrade:{type:Boolean,default:!0},newPackage:{type:String,default:""}},data:function(){return{product:{},showDoneLogo:!1,showPulse:!1}},computed:{title:function(){return this.isUpgrade?this.$t("settings.finished-animation.titles.0"):this.$t("settings.finished-animation.titles.1")},subtitle:function(){return this.isUpgrade?this.$t("settings.finished-animation.subtitles.0",{package:this.newPackage}):this.$t("settings.finished-animation.subtitles.1",{package:this.newPackage})}},mounted:function(){var e=this;setTimeout((function(){e.showDoneLogo=!0,setTimeout((function(){e.showPulse=!0,setTimeout((function(){e.$emit("finished")}),5e3)}),900)}),1900)}},bs=hs,ks=(n("b898"),Object(T["a"])(bs,vs,gs,!1,null,null,null)),ys=ks.exports,Cs=function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex flex-column align-center"},[t("h1",{staticClass:"text-center mb-2"},[e._v(" "+e._s(e.$t("settings.upgrade-onboarding.title",{newPackage:e.newPackage}))+" ")]),t(es["a"],{staticClass:"w-full",attrs:{flat:""},model:{value:e.step,callback:function(t){e.step=t},expression:"step"}},[t(ns["b"],[e.hasGuideStep?t(ts["a"],{attrs:{step:e.getStep("Landingpages")}},[t("div",{staticClass:"d-flex justify-center"},[t("span",{staticClass:"text-subtitle-2 text-center"},[e._v(" "+e._s(e.$t("settings.upgrade-onboarding.subtitle",{newPackage:e.newPackage}))),t("br"),e._v(" "+e._s(e.$t("settings.upgrade-onboarding.info"))+" ")])]),t("Landingpages",e._b({staticClass:"px-4",attrs:{"count-of-guides":1,"hide-description":"","hide-secondary-actions":""},on:{nextStep:e.handleNextStep,dirty:e.handleDirty}},"Landingpages",e.landingpageDataProps,!1))],1):e._e(),t(ts["a"],{attrs:{step:e.getStep("Publikation")}},[t("div",{ref:"publicationForm",staticClass:"d-flex justify-center mb-4",attrs:{id:"publicationForm"}},[t("span",{staticClass:"text-subtitle-2 text-center"},[e._v(" "+e._s(e.$t("settings.upgrade-onboarding.body-texts.0"))),t("br"),e._v(" "+e._s(e.$t("settings.upgrade-onboarding.body-texts.1"))+" ")])]),t(a["a"],{attrs:{type:"warning"}},[e._v(" "+e._s(e.$t("settings.upgrade-onboarding.body-texts.2"))+" ")]),e.step===e.getStep("Publikation")?t("Publication",e._b({staticClass:"px-4",attrs:{"is-onboarding":"","hide-secondary-actions":""},on:{nextStep:function(t){return e.$emit("submit")},dirty:e.handleDirty}},"Publication",e.publicationDataProps,!1)):e._e()],1)],1)],1)],1)},Ss=[],xs=n("ef6a"),ws=n("1b2e"),Ns={ATV1:"https://static.bottimmo.com/assets/onboarding/previews/A4C_Ratgeber-Vorschau/Ratgeber-Vorschau.pdf",CHV1:"https://static.bottimmo.com/assets/onboarding/previews/C0X_Ratgeber-Vorschau/Ratgeber-Vorschau.pdf",CHV2:"https://static.bottimmo.com/assets/onboarding/previews/C3BE_Ratgeber-Vorschau/Ratgeber-Vorschau.pdf",DV1:"https://static.bottimmo.com/assets/onboarding/previews/D4AL_Ratgeber-Vorschau/Ratgeber-Vorschau.pdf",DV2:"https://static.bottimmo.com/assets/onboarding/previews/D6EM_Ratgeber-Vorschau/Ratgeber-Vorschau.pdf",DV3:"https://static.bottimmo.com/assets/onboarding/previews/D8QT_Ratgeber-Vorschau/Ratgeber-Vorschau.pdf",DV4:"https://static.bottimmo.com/assets/onboarding/previews/D91RL_Ratgeber-Vorschau/Ratgeber-Vorschau.pdf",REMAX:"https://static.bottimmo.com/assets/onboarding/previews/R13PO_Ratgeber-Vorschau/Ratgeber-Vorschau.pdf",VOBA:"https://static.bottimmo.com/assets/onboarding/previews/V99F7_Ratgeber-Vorschau/Ratgeber-Vorschau.pdf"},_s={components:{Landingpages:xs["a"],Publication:ws["a"]},mixins:[j["a"]],props:{newPackage:{type:String,default:""},company:{type:Object,default:function(){}}},data:function(){return{step:1,isDirty:!1,missingData:{},products:[]}},computed:{publicationDataProps:function(){var e=this.company,t=e.id,n=e.slogan,i=e.ambassador,a=e.name,s=e.links,r=e.address,o=e.mailProvider,l=e.images,c=l.team,d=l.logo,u=l.office,m=l.region,f=e.variant,p=e.theme,v=e.isReferenceCustomer;i.image=i.image||{},p.colors.primary=p.colors.primary||"#000000",p.colors.secondary=p.colors.secondary||"#000000";var g=Ns[f];return{companyId:t,slogan:n,ambassador:i,name:a,links:s,address:r,mailProvider:o,previewLink:g,theme:p,isReferenceCustomer:v,images:{team:c||{},logo:d||{},office:u||{},region:m||{}}}},landingpageDataProps:function(){var e=this.company,t=e.id,n=e.variant,i=e.country,a=e.bookedLandingpageSlugs;return{companyId:t,variant:n,country:i,bookedLandingpageSlugs:a}},steps:function(){var e=[{route:"landigpages",title:"Landingpages",disabled:!this.hasGuideStep},{route:"publication",title:"Publikation"}];return e.filter((function(e){var t=e.disabled;return!t})).map((function(e,t){return Object(k["a"])(Object(k["a"])({},e),{},{step:t+1})}))},hasGuideStep:function(){var e;return this.isFeatureActive(this.featureNames.LANDINGPAGE)&&(null===(e=this.getFeature(this.featureNames.LANDINGPAGE))||void 0===e?void 0:e.config.canBookLandingpages)}},methods:{handleNextStep:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.$emit("scrollToTop");var t=this.step+e;this.step=t<1?1:t},handleDirty:function(e){this.isDirty=e},getStep:function(e){var t;return null===(t=this.steps.find((function(t){return t.title===e})))||void 0===t?void 0:t.step}}},$s=_s,Ds=Object(T["a"])($s,Cs,Ss,!1,null,null,null),Es=Ds.exports,Os=function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex justify-center flex-column align-center w-full"},[t("div",{staticClass:"px-4 text-center"},[t("h1",{staticClass:"display-1 font-weight-black"},[e._v(" "+e._s(e.$t("labels.caution"))+"! ")]),t("p",{staticClass:"mt-1 mb-2 text-subtitle-2"},[e._v(" "+e._s(e.$t("settings.downgrade-warning.body-texts.0",{date:e.formatDate(e.downgradeAt,"DATE_LONG")}))),t("br"),e._v(" "+e._s(e.$t("settings.downgrade-warning.body-texts.1",{newPackage:e.newPackage}))),t("br"),e._v(" "+e._s(e.$t("settings.downgrade-warning.body-texts.2"))+" ")])]),t("div",{staticClass:"d-flex flex-column align-center w-full"},[t("ul",e._l(e.lostFeatures,(function(n,i){return t("li",{key:i},[e._v(" "+e._s(e.$t(n))+" ")])})),0),t(a["a"],{staticClass:"mt-4",attrs:{type:"warning"}},[t("b",[e._v(e._s(e.$t("settings.downgrade-warning.body-texts.3")))]),e._v(" "+e._s(e.$t("settings.downgrade-warning.body-texts.4"))+" ")])],1),t("div",{staticClass:"d-flex justify-end mb-2 w-full",class:{"flex-column":e.$vuetify.breakpoint.smAndDown}},[t(s["a"],{class:{"w-full mb-4":e.$vuetify.breakpoint.smAndDown,"mr-4":e.$vuetify.breakpoint.mdAndUp},on:{click:e.cancel}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(s["a"],{class:{"w-full":e.$vuetify.breakpoint.smAndDown},attrs:{color:"primary"},on:{click:e.submit}},[e._v(" "+e._s(e.$t("buttons.downgrade-warning.cta"))+" ")])],1)])},Ts=[],As=(n("fb6a"),{mixins:[se["a"]],inject:["contractDetails"],props:{currentPackage:{type:String,default:""},newPackage:{type:String,default:""}},data:function(){return{products:ss["c"]}},computed:{lostFeatures:function(){var e=Object.values(this.products[this.platform]).find((function(e){return e.productName===rs["ProductType"].BASIC})).features.slice(1),t=Object.values(this.products[this.platform]).find((function(e){return e.productName===rs["ProductType"].EXPERT})).features.slice(1);return this.currentPackage===rs["ProductType"].EXPERT&&this.newPackage===rs["ProductType"].BASIC?t:this.currentPackage===rs["ProductType"].EXPERT&&this.newPackage===rs["ProductType"].LIGHT?[].concat(Object(b["a"])(e),Object(b["a"])(t)):e},downgradeAt:function(){var e,t;return(null===(e=this.contractDetails)||void 0===e?void 0:e.endDate)||(null===(t=this.contractDetails)||void 0===t?void 0:t.endDateIfCancelledNow)}},methods:{cancel:function(){this.$emit("cancel")},submit:function(){this.$emit("submit")}}}),Is=As,Ps=Object(T["a"])(Is,Os,Ts,!1,null,null,null),Fs=Ps.exports,Ls=function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex justify-center flex-column align-center w-full"},[t("div",{staticClass:"px-4 text-center"},[t("h1",{staticClass:"display-1 font-weight-black"},[e._v(" "+e._s(e.$t("settings.upgrade-warning.body-texts.0"))+" ")]),t("p",{staticClass:"mt-1 mb-2 text-subtitle-2"},[e._v(" "+e._s(e.$t("settings.upgrade-warning.body-texts.1",{newPackage:e.newPackage}))+" ")])]),t("div",{staticClass:"d-flex flex-column align-center w-full"},[t("ul",e._l(e.features,(function(n,i){return t("li",{key:i},[e._v(" "+e._s(e.$t(n))+" ")])})),0),t(a["a"],{staticClass:"mt-4",attrs:{type:"info"}},[t("b",[e._v(e._s(e.$t("settings.upgrade-warning.body-texts.2")))]),e._v(" "+e._s(e.$t("settings.upgrade-warning.body-texts.3"))+" ")])],1),t("div",{staticClass:"d-flex justify-end mb-2 w-full",class:{"flex-column":e.$vuetify.breakpoint.smAndDown}},[t(s["a"],{class:{"w-full mb-4":e.$vuetify.breakpoint.smAndDown,"mr-4":e.$vuetify.breakpoint.mdAndUp},on:{click:e.cancel}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(s["a"],{class:{"w-full":e.$vuetify.breakpoint.smAndDown},attrs:{color:"primary"},on:{click:e.submit}},[e._v(" "+e._s(e.$t("buttons.upgrade-warning.cta"))+" ")])],1)])},Vs=[],Rs={mixins:[se["a"]],props:{currentPackage:{type:String,default:""},newPackage:{type:String,default:""}},data:function(){return{products:ss["c"]}},computed:{features:function(){var e=Object.values(this.products[this.platform]).find((function(e){return e.productName===rs["ProductType"].BASIC})).features.slice(1),t=Object.values(this.products[this.platform]).find((function(e){return e.productName===rs["ProductType"].EXPERT})).features.slice(1);return this.currentPackage===rs["ProductType"].LIGHT&&this.newPackage===rs["ProductType"].BASIC?e:this.currentPackage===rs["ProductType"].LIGHT&&this.newPackage===rs["ProductType"].EXPERT?[].concat(Object(b["a"])(e),Object(b["a"])(t)):t},upgradeAt:function(){return new Date}},methods:{cancel:function(){this.$emit("cancel")},submit:function(){this.$emit("submit")}}},js=Rs,Us=Object(T["a"])(js,Ls,Vs,!1,null,null,null),Bs=Us.exports,Ms=n("8987"),qs=n.n(Ms),Hs=n("4529"),zs=n.n(Hs),Gs=n("1641"),Ws=n.n(Gs),Ks=n("4ca4"),Qs=n.n(Ks),Ys={components:{Products:os["default"],ChangeAnimation:ps,UpgradeOnboarding:Es,FinishedAnimation:ys,DowngradeWarning:Fs,UpgradeWarning:Bs},props:{dialog:{type:Boolean,default:!1},company:{type:Object,default:function(){}},hideDowngrade:{type:Boolean,default:!1}},data:function(){return{step:1,newPackage:"",isYearly:!0,isUpgrade:!0,isChangeSubscriptionDone:!1}},computed:{showCloseButton:function(){return 1===this.step},currentPackage:function(){var e;return null===(e=this.company)||void 0===e?void 0:e.productType}},methods:{scrollToTop:function(){var e=this;this.$nextTick((function(){e.$refs.stepContainer.$el.scrollTop=0}))},handleLoadingFinished:function(){this.isUpgrade?this.handleNextStep():this.handleNextStep(2)},handleGoToFirstStep:function(){this.step=1},handleNextStep:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.step+e;this.step=t<1?1:t},changePackage:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.handlePackageChange({productName:e.newPackage}),e.handleNextStep();case 2:case"end":return t.stop()}}),t)})))()},handleProductSelected:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){var i,a;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:i=e.productName,a=e.isYearly,t.newPackage=i,t.isUpgrade=Object(ss["b"])(t.currentPackage,t.newPackage),t.isYearly=a,t.handleNextStep(),t.$tracking.event("Plans and Pricing",t.$tracking.trackingEvents.CLICKED,i);case 6:case"end":return n.stop()}}),n)})))()},handlePackageChange:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){var i,a,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return a=e.productName,s=(i={},Object(xe["a"])(i,rs["ProductType"].LIGHT,qs.a),Object(xe["a"])(i,rs["ProductType"].BASIC,t.isUpgrade?Ws.a:zs.a),Object(xe["a"])(i,rs["ProductType"].EXPERT,Qs.a),i)[a],n.prev=2,n.next=5,t.$apollo.mutate({mutation:s,variables:{input:{isYearly:t.isYearly,companyId:t.$auth.user.companyId}}});case 5:return n.next=7,t.$auth.getTokenSilently({ignoreCache:!0});case 7:t.$tracking.event("Settings",t.$tracking.trackingEvents.CLICKED,"Switch Package"),t.isChangeSubscriptionDone=!0,n.next=15;break;case 11:n.prev=11,n.t0=n["catch"](2),n.t0.message.match(/Cannot change from yearly to monthly/)?R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:"Wechsel von jährlich auf monatlich nicht möglich."}):R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:"Problem beim wechseln des Pakets."}),t.handleGoToFirstStep();case 15:case"end":return n.stop()}}),n,null,[[2,11]])})))()},handleUpgradeOnboardingFinished:function(){this.$router.go(0)},close:function(){var e=this;this.step=0,this.isChangeSubscriptionDone=!1,this.$nextTick((function(){e.step=1})),this.$emit("close")}}},Zs=Ys,Xs=Object(T["a"])(Zs,is,as,!1,null,null,null),Js=Xs.exports,er=n("8742"),tr=function(){var e=this,t=e._self._c;return t("div",[t("Step",{attrs:{action:function(){return e.dialog=!0},title:e.$t("settings.delete-account.step-free.title"),icon:"mdi-delete",type:"error"}},[t("div",{staticClass:"black--text"},[e._v(" "+e._s(e.$t("settings.delete-account.step-free.body-texts.0",{readablePlatformName:e.readablePlatformName}))),t("br"),e._v(" "+e._s(e.$t("settings.delete-account.step-free.body-texts.1"))),t("br"),t("br"),e._v(" "+e._s(e.$t("settings.delete-account.step-free.body-texts.2",{date:e.formatDate(e.date)}))),t("br"),e._v(" "+e._s(e.$t("settings.delete-account.step-free.body-texts.3"))+": "),t("ul",[t("li",[e._v(e._s(e.$t("settings.delete-account.step-free.list.0")))]),t("li",[e._v(e._s(e.$t("settings.delete-account.step-free.list.1")))]),t("li",[e._v(e._s(e.$t("settings.delete-account.step-free.list.2",{readablePlatformName:e.readablePlatformName})))]),e.isPlatformMarkero?e._e():t("li",[e._v(" "+e._s(e.$t("settings.delete-account.step-free.list.3"))+" ")]),e.isPlatformMarkero?e._e():t("li",[e._v(" "+e._s(e.$t("settings.delete-account.step-free.list.4"))+" ")])])])]),t(z["a"],{attrs:{persistent:"","max-width":"600"},model:{value:e.dialog,callback:function(t){e.dialog=t},expression:"dialog"}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"error",dark:"",flat:""}},[t(J["b"],[t(Y["a"],{attrs:{medium:"",left:""}},[e._v(" mdi-alert ")]),e._v(" "+e._s(e.$t("labels.caution"))+" ")],1)],1)],1),t(H["d"],{staticClass:"headline"},[e._v(" "+e._s(e.$t("settings.delete-account.step-free.body-texts.4"))+" ")]),t(H["c"],[e._v(" "+e._s(e.$t("settings.delete-account.step-free.body-texts.5"))+" ")]),t(H["a"],{staticClass:"justify-end"},[t(s["a"],{attrs:{text:""},on:{click:function(t){e.dialog=!1}}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(s["a"],{attrs:{loading:e.loading,disabled:e.loading,color:"error"},on:{click:e.deleteAccount}},[e._v(" "+e._s(e.$t("buttons.delete-account.delete-completely"))+" ")])],1)],1)],1)],1)},nr=[],ir=n("dfa6"),ar=n.n(ir),sr=n("5123"),rr=n.n(sr),or=function(){var e=this,t=e._self._c;return t(a["a"],{staticClass:"mt-8",attrs:{type:e.type,icon:e.icon,outlined:""}},[t("span",{staticClass:"font-weight-bold black--text"},[e._v(e._s(e.title)),t("br")]),t("div",{staticClass:"black--text"},[e._t("default")],2),t("div",{staticClass:"d-flex justify-end"},[t(s["a"],{attrs:{color:e.type,text:"",loading:e.loading,disabled:e.loading},on:{click:e.action}},[e.icon?t(Y["a"],{staticClass:"mr-2"},[e._v(" "+e._s(e.icon)+" ")]):e._e(),e._v(" "+e._s(e.title)+" ")],1)],1)])},lr=[],cr={props:{action:{type:Function,required:!0},title:{type:String,default:null},icon:{type:String,required:!0},type:{type:String,default:null},loading:{type:Boolean,default:!1}}},dr=cr,ur=Object(T["a"])(dr,or,lr,!1,null,null,null),mr=ur.exports,fr={components:{Step:mr},mixins:[se["a"]],data:function(){return{dialog:!1,loading:!1}},computed:{date:function(){var e=new Date;return e.setDate(e.getDate()+7),e}},methods:{deleteAccount:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.$apollo.mutate({mutation:rr.a,variables:{id:e.$auth.user.companyId},refetchQueries:[{query:ar.a,variables:{id:e.$auth.user.companyId}}]});case 4:R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.delete-account.success-completely")}),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.delete-account.error-completely")});case 10:return t.prev=10,e.loading=!1,t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[1,7,10,13]])})))()}}},pr=fr,vr=Object(T["a"])(pr,tr,nr,!1,null,null,null),gr=vr.exports,hr=function(){var e,t,n=this,i=n._self._c;return i("div",[i("Step",{attrs:{action:function(){n.showDiaolog=!0},title:n.$t("settings.subscription.delete-account"),icon:"mdi-account-cancel"}},[i("div",{staticClass:"black--text"},[n._v(" "+n._s(n.$t("settings.delete-account.step-active.body-texts.0",{readablePlatformName:n.readablePlatformName}))+" "+n._s(n.$t("settings.delete-account.step-active.body-texts.1"))),i("br"),i("br"),n._v(" "+n._s(n.$t("settings.delete-account.step-active.body-texts.2"))+": "+n._s(n.formatDate(n.effectiveCancellationDate,"DATE_LONG"))),i("br"),i("br"),n._v(" "+n._s(n.$t("settings.delete-account.step-active.body-texts.3",{date:n.formatDate(null===(e=n.contractDetails)||void 0===e?void 0:e.endDateIfCancelledNow,"DATE_LONG")}))+": "),i("ul",[i("li",[n._v(n._s(n.$t("settings.delete-account.step-active.list.0")))]),i("li",[n._v(n._s(n.$t("settings.delete-account.step-active.list.1")))]),i("li",[n._v(n._s(n.$t("settings.delete-account.step-active.list.2",{readablePlatformName:n.readablePlatformName})))]),i("li",[n._v(n._s(n.$t("settings.delete-account.step-active.list.3")))])])])]),i("CancelSubscription",{attrs:{dialog:n.showDiaolog,"next-possible-termination-date":null===(t=n.contractDetails)||void 0===t?void 0:t.endDateIfCancelledNow},on:{handleDowngrade:function(e){return n.$emit("handleDowngrade")},cancelContract:n.cancelContract,downgradeToFreeLight:n.downgradeToFreeLight,close:function(e){n.showDiaolog=!1}}})],1)},br=[],kr=function(){var e=this,t=e._self._c;return t(z["a"],{attrs:{width:"800",persistent:""},model:{value:e.dialog,callback:function(t){e.dialog=t},expression:"dialog"}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[t(J["b"],[e._v(e._s(e.$t(e.toolbarTitle)))]),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:e.close}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(H["c"],{staticClass:"mt-5"},[t(e.component,{tag:"component",attrs:{"next-possible-termination-date":e.nextPossibleTerminationDate,"selected-variant":e.selectedVariant},on:{handleDowngrade:e.handleDowngrade,handleCancelation:e.handleCancelation,updateCancelationReasons:e.handleCancelationReason,handleSwitchplan:e.handleSwitchplan}})],1),t(H["a"],{class:{"flex-column align-end ":e.$vuetify.breakpoint.xs}},[t(Z["a"]),"LOADING"!==e.state?t(s["a"],{staticClass:"grey--text",attrs:{text:""},on:{click:e.close}},[e._v(" "+e._s(e.$t("labels.close"))+" ")]):e._e(),"LOADING"!==e.state?t(s["a"],{staticClass:"ml-2",attrs:{text:"",color:"primary"},on:{click:e.nextState}},[e._v(" "+e._s(e.$t(e.buttonText))+" ")]):e._e()],1)],1)],1)},yr=[],Cr=n("ac7c"),Sr=function(){var e=this,t=e._self._c;return t("div",[t("p",{staticClass:"text-subtitle-1"},[e._v(" "+e._s(e.$t("settings.delete-account.feedback.title"))+" ")]),t(l["a"],[t(y["a"],{attrs:{cols:"12",md:"8"}},[e._l(e.readableCancelationReasons,(function(n){return t(Cr["a"],{key:n.value,attrs:{label:e.$t(n.label),value:n.value,small:"","hide-details":""},model:{value:e.cancelationReasons.reasons,callback:function(t){e.$set(e.cancelationReasons,"reasons",t)},expression:"cancelationReasons.reasons"}})})),t("div",{staticClass:"mt-6"},[t(Nt["a"],{attrs:{label:e.$t("settings.delete-account.feedback.other-label"),placeholder:e.$t("settings.delete-account.feedback.other-placeholder"),"persistent-placeholder":"",outlined:""},model:{value:e.cancelationReasons.other,callback:function(t){e.$set(e.cancelationReasons,"other",t)},expression:"cancelationReasons.other"}})],1)],2)],1)],1)},xr=[],wr=(n("dca8"),Object.freeze({TECHNICAL_ISSUES:"TECHNICAL_ISSUES",MISSING_FEATURES:"MISSING_FEATURES",SERVICE_AND_HELP:"SERVICE_AND_HELP",NO_SUCCESS:"NO_SUCCESS",NO_NEED:"NO_NEED",HIGH_PRICING:"HIGH_PRICING"})),Nr=wr,_r=[{value:Nr.TECHNICAL_ISSUES,label:"settings.delete-account.feedback.reasons.0"},{value:Nr.MISSING_FEATURES,label:"settings.delete-account.feedback.reasons.1"},{value:Nr.SERVICE_AND_HELP,label:"settings.delete-account.feedback.reasons.2"},{value:Nr.NO_SUCCESS,label:"settings.delete-account.feedback.reasons.3"},{value:Nr.NO_NEED,label:"settings.delete-account.feedback.reasons.4"},{value:Nr.HIGH_PRICING,label:"settings.delete-account.feedback.reasons.5"}],$r={mixins:[se["a"]],data:function(){return{cancelationReasons:{reasons:[],other:""},readableCancelationReasons:_r}},watch:{cancelationReasons:{deep:!0,handler:function(){this.$emit("updateCancelationReasons",this.cancelationReasons)}}}},Dr=$r,Er=Object(T["a"])(Dr,Sr,xr,!1,null,null,null),Or=Er.exports,Tr=function(){var e=this,t=e._self._c;return t("div",[t("p",{staticClass:"text-subtitle-1"},[e._v(" "+e._s(e.$t("settings.delete-account.help.title",{readablePlatformName:e.readablePlatformName}))+": ")]),t("div",e._l(e.topics,(function(n,i){return t("Feature",{key:i,attrs:{"feature-slug":n},scopedSlots:e._u([{key:"default",fn:function(e){var n=e.feature;return[t(l["a"],{staticClass:"mt-8"},[t("HelpCard",{attrs:{topic:i,config:n.config,horizontal:"","has-background-color":"","is-logo-cutout":""}})],1)]}}],null,!0)})})),1)])},Ar=[],Ir=n("72ba"),Pr={components:{HelpCard:Ir["a"]},mixins:[se["a"],j["a"]],computed:{topics:function(){return{CALENDAR:this.featureNames.EVENT_CALENDAR,HELPCENTER:this.featureNames.HELPCENTER}}}},Fr=Pr,Lr=Object(T["a"])(Fr,Tr,Ar,!1,null,null,null),Vr=Lr.exports,Rr=function(){var e=this,t=e._self._c;return t("div",[t("p",{staticClass:"text-subtitle-1"},[e._v(" "+e._s(e.$t("settings.delete-account.downgrade.title"))+" ")]),t(r["a"],{staticClass:"d-flex elevation-0 blue lighten-4 flex-column flex-md-row"},[t("div",{staticClass:"justify-center d-flex"},[t(C["a"],{attrs:{"max-width":"250",contain:"",src:"/img/switch-package-cutout.png"}})],1),t("div",{staticClass:"d-flex flex-column"},[t(H["d"],{staticClass:"d-flex"},[t("h4",{staticStyle:{"word-break":"break-word"}},[e._v(" "+e._s(e.$t("settings.delete-account.downgrade.subtitle"))+" ")])]),t(H["c"],{staticClass:"mb-4 text-body-1"},[t("span",[e._v(" "+e._s(e.greetingText)+","),t("br"),e._v(" "+e._s(e.$t("settings.delete-account.downgrade.text"))+" ")]),t(l["a"],{staticClass:"justify-end mt-2 mr-4 d-flex"},[t(s["a"],{staticClass:"primary",on:{click:e.handleDowngrade}},[e._v(" "+e._s(e.$t("buttons.delete-account.downgrade"))+" ")])],1)],1)],1)])],1)},jr=[],Ur={computed:{greetingText:function(){return this.$auth.user.name||this.$t("settings.delete-account.downgrade.greeting")}},methods:{handleDowngrade:function(){this.$emit("handleDowngrade")}}},Br=Ur,Mr=Object(T["a"])(Br,Rr,jr,!1,null,null,null),qr=Mr.exports,Hr=function(){var e=this,t=e._self._c;return t("div",[t("p",{staticClass:"text-subtitle-1"},[e._v(" "+e._s(e.$t("settings.delete-account.information.title",{date:e.formatDate(e.nextPossibleTerminationDate,"DATE_LONG")}))+": ")]),t("ul",{staticClass:"text-subtitle-1"},[t("li",[e._v(e._s(e.$t("settings.delete-account.information.list.0")))]),t("li",[e._v(e._s(e.$t("settings.delete-account.information.list.1")))]),t("li",[e._v(e._s(e.$t("settings.delete-account.information.list.1",{readablePlatformName:e.readablePlatformName})))]),t("li",[e._v(e._s(e.$t("settings.delete-account.information.list.3")))])]),t(a["a"],{staticClass:"mt-8",attrs:{type:"info"}},[t("p",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.delete-account.information.subtitle"))+" ")]),t("p",[e._v(" "+e._s(e.$t("settings.delete-account.information.info",{readablePlatformName:e.readablePlatformName}))+" ")])])],1)},zr=[],Gr={mixins:[se["a"]],props:{nextPossibleTerminationDate:{type:Date,default:""}}},Wr=Gr,Kr=Object(T["a"])(Wr,Hr,zr,!1,null,null,null),Qr=Kr.exports,Yr=function(){var e=this,t=e._self._c;return t(l["a"],e._l(e.variants,(function(n,i){return t(y["a"],{key:i,attrs:{cols:"12",md:"6"}},[t(r["a"],{staticClass:"elevation-0 h-full",class:{primary:n.isActive,"grey lighten-3":!n.isActive},attrs:{ripple:!1},on:{click:function(t){return e.switchVariant(n.name)}}},[t("div",{staticClass:"d-flex"},[t(ke["a"],{staticClass:"ml-4",model:{value:e.selectedPlan,callback:function(t){e.selectedPlan=t},expression:"selectedPlan"}},[t(be["a"],{attrs:{value:n.name,color:"black"}})],1),t(H["b"],[e._v(" "+e._s(e.getVariantHeaders(n.name))+" ")])],1),t(H["c"],[t("ul",e._l(e.getVariantTexts(n.name),(function(n,i){return t("li",{key:i},[e._v(" "+e._s(n)+" ")])})),0)])],1)],1)})),1)},Zr=[],Xr={mixins:[se["a"]],props:{selectedVariant:{type:String,default:"free"},nextPossibleTerminationDate:{type:Date,default:""}},data:function(){return{variants:[{name:"free",isActive:!0},{name:"delete",isActive:!1}],selectedPlan:this.selectedVariant}},methods:{switchVariant:function(e){this.selectedPlan=e,this.variants.forEach((function(t){t.isActive=t.name===e})),this.$emit("handleSwitchplan",this.selectedPlan)},daysUntil:function(e){var t=new Date,n=new Date(e),i=n-t,a=Math.ceil(i/864e5);return a},getVariantHeaders:function(e){return{free:this.$t("settings.delete-account.switchplan.header.free",{date:this.formatDate(this.nextPossibleTerminationDate,"DATE_LONG")}),delete:this.$t("settings.delete-account.switchplan.header.delete",{date:this.formatDate(this.nextPossibleTerminationDate,"DATE_LONG")})}[e]},getVariantTexts:function(e){return{free:[this.$t("settings.delete-account.switchplan.list-free.0",{platform:this.readablePlatformName}),this.$t("settings.delete-account.switchplan.list-free.1"),this.$t("settings.delete-account.switchplan.list-free.2"),this.$t("settings.delete-account.switchplan.list-free.3",{platform:this.readablePlatformName}),this.$t("settings.delete-account.switchplan.list-free.4"),this.$t("settings.delete-account.switchplan.list-free.5")],delete:[this.$t("settings.delete-account.switchplan.list-delete.0"),this.$t("settings.delete-account.switchplan.list-delete.1"),this.$t("settings.delete-account.switchplan.list-delete.2",{platform:this.readablePlatformName}),this.$t("settings.delete-account.switchplan.list-delete.3",{days:this.daysUntil(this.nextPossibleTerminationDate),date:this.formatDate(this.nextPossibleTerminationDate,"DATE_LONG")})]}[e]}}},Jr=Xr,eo=Object(T["a"])(Jr,Yr,Zr,!1,null,null,null),to=eo.exports,no=n("8e36"),io=function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex align-center flex-column"},[t("div",{staticClass:"d-flex align-center"},[t(Y["a"],{staticClass:"mr-1"},[e._v(" mdi-check ")]),t("span",{staticClass:"text-subtitle-1"},[e._v(e._s(e.$t("settings.delete-account.loading.title")))])],1),t("p",{staticClass:"mt-2"},[e._v(" "+e._s("free"===e.selectedVariant?e.$t("settings.delete-account.loading.text-free"):e.$t("settings.delete-account.loading.text-non-free"))+" ")]),t(no["a"],{staticClass:"mt-4 linear-progress",attrs:{color:"primary",size:"20",indeterminate:""}})],1)},ao=[],so={mixins:[se["a"]],props:{selectedVariant:{type:String,default:""}},data:function(){return{timeout:null}},unmounted:function(){clearTimeout(this.timeout)},created:function(){var e=this;this.timeout=setTimeout((function(){e.$emit("handleCancelation")}),3e3)}},ro=so,oo=(n("e7a4"),Object(T["a"])(ro,io,ao,!1,null,"fdbb0d74",null)),lo=oo.exports,co=n("a495"),uo=n("3ce4"),mo=n.n(uo),fo={components:{Feedback:Or,Downgrade:qr,Help:Vr,Information:Qr,Switchplan:to,Loading:lo},mixins:[j["a"]],props:{dialog:{type:Boolean,default:!1},nextPossibleTerminationDate:{type:Date,default:null}},data:function(){return{state:"FEEDBACK",cancelationReason:{reasons:[],other:""},selectedVariant:Object(rs["isLightUser"])(this.$auth.user)?"delete":"free"}},computed:{isLight:function(){return Object(rs["isLightUser"])(this.$auth.user)},toolbarTitle:function(){return{FEEDBACK:"settings.delete-account.toolbar-titles.0",DOWNGRADE:"settings.delete-account.toolbar-titles.0",HELP:"settings.delete-account.toolbar-titles.0",INFORMATION:"settings.delete-account.toolbar-titles.0",SWITCHPLAN:"settings.delete-account.toolbar-titles.1",LOADING:{free:"settings.delete-account.toolbar-titles.2",delete:"settings.delete-account.toolbar-titles.0"}[this.selectedVariant]}[this.state]},buttonText:function(){return{FEEDBACK:"settings.delete-account.button-texts.0",DOWNGRADE:"settings.delete-account.button-texts.0",HELP:"settings.delete-account.button-texts.1",INFORMATION:"settings.delete-account.button-texts.2",SWITCHPLAN:{free:"settings.delete-account.button-texts.3",delete:"settings.delete-account.button-texts.4"}[this.selectedVariant]}[this.state]},component:function(){return{FEEDBACK:function(){return Or},DOWNGRADE:function(){return qr},HELP:function(){return Vr},INFORMATION:function(){return Qr},SWITCHPLAN:function(){return to},LOADING:function(){return lo}}[this.state]()}},methods:{nextState:function(){var e,t=this,n={FEEDBACK:co["a"].CANCELATION_FEEDBACK_SEND,DOWNGRADE:co["a"].CANCELATION_DOWNGRADE_SKIPPED,HELP:co["a"].CANCELATION_HELP_SKIPPED,INFORMATION:co["a"].CANCELATION_INFORMATION_SKIPPED,SWITCHPLAN:co["a"].CANCELATION_SWITCHPLAN_SKIPPED}[this.state];return null===(e=this.$gtm)||void 0===e||e.trackEvent({event:n}),{FEEDBACK:function(){return t.submitCancelationReason()},DOWNGRADE:function(){t.state="HELP"},HELP:function(){t.state="INFORMATION"},INFORMATION:function(){t.isLight?t.state="LOADING":t.state="SWITCHPLAN"},SWITCHPLAN:function(){t.state="LOADING"}}[this.state]()},handleCancelationReason:function(e){var t=e.reasons,n=e.other;this.cancelationReason={reasons:t,other:n}},handleCancelation:function(){var e,t;"free"===this.selectedVariant?(null===(e=this.$gtm)||void 0===e||e.trackEvent({event:co["a"].CANCELATION_SWITCHPLAN_TRIGGERED}),this.$emit("downgradeToFreeLight")):(null===(t=this.$gtm)||void 0===t||t.trackEvent({event:co["a"].CANCELATION_TRIGGERED}),this.$emit("cancelContract"));this.close()},handleDowngrade:function(){this.$emit("handleDowngrade"),this.close()},handleSwitchplan:function(e){this.selectedVariant=e},close:function(){this.state="FEEDBACK",this.selectedVariant=this.isLight?"delete":"free",this.$emit("close")},submitCancelationReason:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=e.cancelationReason.reasons,(!n||e.cancelationReason.other.length>0)&&n.push("OTHER"),t.next=4,e.$apollo.mutate({mutation:mo.a,variables:{input:{companyId:e.$auth.user.companyId,other:e.cancelationReason.other,reasons:n}}});case 4:e.state=e.isFeatureActive(e.featureNames.CHANGE_SUBSCRIPTION)?"DOWNGRADE":"HELP";case 5:case"end":return t.stop()}}),t)})))()}}},po=fo,vo=Object(T["a"])(po,kr,yr,!1,null,null,null),go=vo.exports,ho=n("9d72"),bo=n.n(ho),ko={components:{Step:mr,CancelSubscription:go},mixins:[se["a"],Ra["a"]],data:function(){return{loading:!1,showDiaolog:!1}},computed:{effectiveCancellationDate:function(){var e,t=new Date(null===(e=this.contractDetails)||void 0===e?void 0:e.endDateIfCancelledNow),n=t.setDate(t.getDate()-1);return n}},methods:{cancelContract:function(){var e=this;this.portal&&(this.loading=!0,this.portal.contractCancel(Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.getContractDetails(),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.delete-account.success")}),e.$emit("actionSuccess"),e.loading=!1,t.next=6,e.$apollo.mutate({mutation:mo.a,variables:{input:{companyId:e.$auth.user.companyId,completedAt:new Date}}});case 6:case"end":return t.stop()}}),t)}))),(function(){R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.delete-account.error")}),e.loading=!1})))},downgradeToFreeLight:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.portal){t.next=2;break}return t.abrupt("return");case 2:return e.contractCancelLoading=!0,t.prev=3,t.next=6,e.$apollo.mutate({mutation:bo.a,variables:{input:{companyId:e.$auth.user.companyId}}});case 6:return t.next=8,e.$auth.getTokenSilently({ignoreCache:!0});case 8:e.contractCancelLoading=!1,e.$router.go(0),t.next=16;break;case 12:t.prev=12,t.t0=t["catch"](3),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.delete-account.error-cancel")}),e.contractCancelLoading=!1;case 16:case"end":return t.stop()}}),t,null,[[3,12]])})))()}}},yo=ko,Co=Object(T["a"])(yo,hr,br,!1,null,null,null),So=Co.exports,xo=function(){var e=this,t=e._self._c;return t("Step",{attrs:{title:e.$t("settings.delete-account.step-cancelled.title"),icon:"mdi-account-reactivate",type:"success",loading:e.loading,action:e.reactivateContract}},[t("div",{staticClass:"black--text"},[t("p",[e._v(" "+e._s(e.$t("settings.delete-account.step-cancelled.body-texts.0",{date:e.formatDate(e.endDate,"DATE_LONG")}))),t("br")]),t("p",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.delete-account.step-cancelled.body-texts.1",{date:e.formatDate(e.endDate,"DATE_LONG"),readablePlatformName:e.readablePlatformName}))+" ")]),t("p",[e._v(" "+e._s(e.$t("settings.delete-account.step-cancelled.body-texts.2",{date:e.formatDate(e.endDate,"DATE_LONG")}))+" "+e._s(e.$t("settings.delete-account.step-cancelled.body-texts.3",{date:e.formatDate(e.endDate,"DATE_LONG"),readablePlatformName:e.readablePlatformName}))+" ")])])])},wo=[],No=n("e11c9"),_o=n.n(No),$o={components:{Step:mr},mixins:[se["a"],Ra["a"]],data:function(){return{loading:!1}},computed:{endDate:function(){var e;return null!==(e=this.contractDetails)&&void 0!==e&&e.endDate?new Date(this.contractDetails.endDate):null}},methods:{reactivateContract:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.$apollo.mutate({mutation:_o.a,variables:{companyId:e.$auth.user.companyId}});case 4:e.$emit("actionSuccess"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.reactivate-account.success")}),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.reactivate-account.error")});case 11:return t.prev=11,e.getContractDetails(),e.loading=!1,t.finish(11);case 15:case"end":return t.stop()}}),t,null,[[1,8,11,15]])})))()}}},Do=$o,Eo=Object(T["a"])(Do,xo,wo,!1,null,null,null),Oo=Eo.exports,To=function(){var e,t=this,n=t._self._c;return n("Step",{attrs:{action:t.revokeDeletion,title:t.$t("settings.delete-account.step-revoke.title"),icon:"mdi-restore",type:"success"}},[n("div",{staticClass:"black--text"},[n("div",{staticClass:"pt-2"},[t._v(" "+t._s(t.$t("settings.delete-account.step-revoke.subtitle",{date:t.formatDate(null===(e=t.company)||void 0===e?void 0:e.deleteOn)}))+": ")]),n("ul",[n("li",[t._v(t._s(t.$t("settings.delete-account.step-free.list.0")))]),n("li",[t._v(t._s(t.$t("settings.delete-account.step-free.list.1")))]),n("li",[t._v(t._s(t.$t("settings.delete-account.step-free.list.2",{readablePlatformName:t.readablePlatformName})))]),t.isPlatformMarkero?t._e():n("li",[t._v(" "+t._s(t.$t("settings.delete-account.step-free.list.3"))+" ")]),t.isPlatformMarkero?t._e():n("li",[t._v(" "+t._s(t.$t("settings.delete-account.step-free.list.4"))+" ")])])])])},Ao=[],Io=n("fe71"),Po=n.n(Io),Fo={components:{Step:mr},mixins:[se["a"]],methods:{revokeDeletion:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.prev=1,t.next=4,e.$apollo.mutate({mutation:Po.a,variables:{id:e.$auth.user.companyId},refetchQueries:[{query:ar.a,variables:{id:e.$auth.user.companyId}}]});case 4:R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.reactivate-account.success")}),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.reactivate-account.error")});case 10:return t.prev=10,e.loading=!1,t.finish(10);case 13:case"end":return t.stop()}}),t,null,[[1,7,10,13]])})))()}},apollo:{company:{query:ar.a,variables:function(){return{id:this.$auth.user.companyId}}}}},Lo=Fo,Vo=Object(T["a"])(Lo,To,Ao,!1,null,null,null),Ro=Vo.exports,jo=function(){var e=this,t=e._self._c;return t("div",[t(z["a"],{attrs:{"max-width":"1200",persistent:""},on:{"click:outside":function(t){e.dialog=!1}},model:{value:e.dialog,callback:function(t){e.dialog=t},expression:"dialog"}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[t(J["b"],{domProps:{textContent:e._s(e.$t("product-packages.main-title"))}}),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:function(t){e.dialog=!1}}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(H["c"],{staticClass:"d-flex justify-space-between text-align-center my-5"},[t("ProductPackages",{attrs:{company:e.company}})],1)],1)],1),t(a["a"],{staticClass:"mt-8",attrs:{type:"info",icon:"mdi-swap-horizontal",color:"primary",outlined:""}},[t("span",{staticClass:"font-weight-bold black--text"},[e._v(" "+e._s(e.$t("settings.delete-account.step-downgrade.title"))+" "),t("br")]),t("div",{staticClass:"black--text"},[e._v(" "+e._s(e.$t("settings.delete-account.step-downgrade.body-texts.0",{readablePlatformName:e.readablePlatformName}))+" "),t("br"),e._v(" "+e._s(e.$t("settings.delete-account.step-downgrade.body-texts.1"))),t("br"),t("span",{class:e.isPlatformMarkero?"d-block mb-1 font-weight-bold":""},[e._v(" "+e._s(e.$t("settings.delete-account.step-downgrade.body-texts.2")))]),t("br"),e._v(" "+e._s(e.$t("settings.delete-account.step-downgrade.body-texts.3"))+" "),e.isPlatformMarkero?t("ul",{staticClass:"no-bullets"},[t("li",[e._v(e._s(e.$t("settings.delete-account.step-downgrade.list.0")))]),t("li",[e._v(e._s(e.$t("settings.delete-account.step-downgrade.list.1")))])]):e._e()]),t("div",{staticClass:"d-flex justify-end"},[t(s["a"],{attrs:{color:"primary",text:""},on:{click:function(t){e.dialog=!0}}},[t(Y["a"],{staticClass:"mr-2"},[e._v(" mdi-swap-horizontal ")]),e._v(" "+e._s(e.$t("buttons.step-downgrade.label"))+" ")],1)],1)])],1)},Uo=[],Bo=n("ebaa"),Mo={components:{ProductPackages:Bo["default"]},mixins:[se["a"]],props:{company:{type:Object,default:function(){}}},data:function(){return{dialog:!1}}},qo=Mo,Ho=(n("c044"),Object(T["a"])(qo,jo,Uo,!1,null,"39c599f4",null)),zo=Ho.exports,Go={components:{ProductPackages:Bo["default"],SettingsCard:_["a"],SubscriptionState:Ga,DeleteAccount:Ja,ChangeSubscription:Js,Permission:er["a"],Free:gr,DowngradeInfo:zo,Active:So,Cancelled:Oo},mixins:[se["a"],Va["a"],Ra["a"],j["a"]],props:{company:{type:Object,default:function(){}}},data:function(){return{revokeCancellationLoading:!1,contractCancelLoading:!1,isDowngradeDialog:!1,isMarkeroDowngradeDialog:!1}},computed:{isBeginner:function(){var e;return(null===(e=this.company)||void 0===e?void 0:e.productType)===rs["ProductType"].BEGINNER},currentStep:function(){var e,t;return null!==(e=this.company)&&void 0!==e&&e.deleteOn?Ro:(t={},Object(xe["a"])(t,Ba["a"].FREE,gr),Object(xe["a"])(t,Ba["a"].ACTIVE,this.isPlatformMarkero?zo:So),Object(xe["a"])(t,Ba["a"].CANCELED,Oo),t)[this.subscriptionState]},showDeleteAccountSection:function(){return[Ba["a"].CANCELED,Ba["a"].INACTIVE].includes(this.subscriptionState)},endDate:function(){var e;return null!==(e=this.contractDetails)&&void 0!==e&&e.endDate?new Date(this.contractDetails.endDate):null}},methods:{handleDowngrade:function(){this.isPlatformMarkero?this.isMarkeroDowngradeDialog=!0:this.isDowngradeDialog=!0}}},Wo=Go,Ko=Object(T["a"])(Wo,Fa,La,!1,null,null,null),Qo=Ko.exports,Yo=function(){var e,t=this,n=t._self._c;return n("div",[n("SettingsCard",{attrs:{title:t.$t("settings.account-settings.title"),subtitle:t.$t("settings.account-settings.subtitle"),icon:"mdi-account-cog","is-default-open":!0}},[n("div",{staticClass:"pa-4"},[n(l["a"],[n(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[n("div",[n("span",{staticClass:"font-weight-bold"},[t._v(" "+t._s(t.$t("settings.account-settings.body-texts.0"))),n("br")]),n("span",{staticClass:"grey--text"},[t._v(" "+t._s(t.$t("settings.account-settings.body-texts.1",{readablePlatformName:t.readablePlatformName}))+" ")])])]),n(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[n("Package",{attrs:{company:t.company,disabled:!(null===(e=t.pendingDowngrade)||void 0===e||!e.downgradeAt)}}),n("DowngradeInfo",{attrs:{"pending-downgrade":t.pendingDowngrade},on:{refetch:t.refetchPendingDowngrade}})],1)],1)],1)])],1)},Zo=[],Xo=function(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"d-flex justify-space-between flex-md-row flex-column"},[t(z["a"],{attrs:{"max-width":"1200",persistent:""},on:{"click:outside":function(t){e.isMarkeroUpgradeDialogOpen=!1}},model:{value:e.isMarkeroUpgradeDialogOpen,callback:function(t){e.isMarkeroUpgradeDialogOpen=t},expression:"isMarkeroUpgradeDialogOpen"}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[t(J["b"],{domProps:{textContent:e._s(e.$t("product-packages.main-title"))}}),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:function(t){e.isMarkeroUpgradeDialogOpen=!1}}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(H["c"],{staticClass:"d-flex justify-space-between text-align-center my-5"},[t("ProductPackages",{attrs:{company:e.company}})],1)],1)],1),t("PackageLogo",{attrs:{"current-package":e.currentPackage}}),t("Permission",{attrs:{permission:"subscription:change"}},[t("Feature",{attrs:{"feature-slug":e.featureNames.CHANGE_SUBSCRIPTION}},[e.isExpert?e._e():t(s["a"],{class:{"w-full mt-4":e.$vuetify.breakpoint.smAndDown},attrs:{color:"primary",disabled:e.disabled},on:{click:e.changeSubscription}},[t(Y["a"],[e._v("mdi-swap-horizontal")]),e._v(" "+e._s(e.$t("buttons.package.cta"))+" ")],1)],1)],1)],1),t("ChangeSubscription",{attrs:{dialog:e.isUpgradeDialogOpen,"current-package":e.currentPackage,company:e.company,"hide-downgrade":!0},on:{close:function(t){e.isUpgradeDialogOpen=!1}}})],1)},Jo=[],el={components:{ProductPackages:Bo["default"],ChangeSubscription:Js,PackageLogo:ds["a"],Permission:er["a"]},mixins:[j["a"],se["a"]],props:{company:{type:Object,default:function(){}},disabled:{type:Boolean,default:!1}},data:function(){return{isUpgradeDialogOpen:!1,isMarkeroUpgradeDialogOpen:!1}},computed:{isExpert:function(){var e;return(null===(e=this.company)||void 0===e?void 0:e.productType)===rs["ProductType"].EXPERT},currentPackage:function(){var e;return null===(e=this.company)||void 0===e?void 0:e.productType}},methods:{changeSubscription:function(){this.$tracking.event("Plan",this.$tracking.trackingEvents.CLICKED,"Change Subscription"),this.isPlatformMarkero?this.isMarkeroUpgradeDialogOpen=!0:this.isUpgradeDialogOpen=!0}}},tl=el,nl=Object(T["a"])(tl,Xo,Jo,!1,null,null,null),il=nl.exports,al=function(){var e=this,t=e._self._c;return e.downgradeAt?t(a["a"],{staticClass:"mt-8",attrs:{icon:"mdi-arrow-down-bold-circle-outline",outlined:""}},[t("span",{staticClass:"font-weight-bold black--text"},[e._v(e._s(e.$t("settings.downgrade-info.title"))),t("br")]),t("div",{staticClass:"black--text"},[t("p",{domProps:{innerHTML:e._s(e.$t("settings.downgrade-info.warning",{productType:e.productType,date:e.formatDate(e.downgradeAt,"DATE_LONG")}))}}),t("div",{staticClass:"d-flex flex-column align-center w-full"},[t("ul",e._l(e.lostFeatures,(function(n,i){return t("li",{key:i},[e._v(" "+e._s(e.$t(n))+" ")])})),0),t(a["a"],{staticClass:"mt-4",attrs:{type:"warning"}},[t("b",[e._v(e._s(e.$t("labels.caution"))+": ")]),e._v(" "+e._s(e.$t("settings.downgrade-info.info"))+" ")])],1)]),t("div",{staticClass:"d-flex justify-end"},[t(s["a"],{attrs:{color:"primary",loading:e.loading,disabled:e.loading},on:{click:e.cancelDowngrade}},[t(Y["a"],{staticClass:"mr-2"},[e._v(" mdi-account-reactivate ")]),e._v(" "+e._s(e.$t("buttons.downgrade-info.cta"))+" ")],1)],1)]):e._e()},sl=[],rl=n("7431"),ol=n.n(rl),ll={mixins:[se["a"]],props:{pendingDowngrade:{type:Object,default:function(){}}},data:function(){return{products:ss["c"],loading:!1}},computed:{isBasic:function(){return Object(rs["isBasicUser"])(this.$auth.user)},isExpert:function(){return Object(rs["isExpertUser"])(this.$auth.user)},downgradeAt:function(){var e;return null===(e=this.pendingDowngrade)||void 0===e?void 0:e.downgradeAt},productType:function(){var e;return null===(e=this.pendingDowngrade)||void 0===e?void 0:e.productType},lostFeatures:function(){var e=Object.values(this.products[this.platform]).find((function(e){return e.productName===rs["ProductType"].BASIC})).features.slice(1),t=Object.values(this.products[this.platform]).find((function(e){return e.productName===rs["ProductType"].EXPERT})).features.slice(1);return this.isExpert&&this.productType===rs["ProductType"].BASIC?t:this.isExpert&&this.productType===rs["ProductType"].LIGHT?[].concat(Object(b["a"])(e),Object(b["a"])(t)):e}},methods:{cancelDowngrade:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.loading=!0,t.next=3,e.$apollo.mutate({mutation:ol.a,variables:{companyId:e.$auth.user.companyId}});case 3:e.$emit("refetch"),e.loading=!1,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.downgrade-info.success")}),e.$tracking.event("Plan",e.$tracking.trackingEvents.CLICKED,"Cancel Downgrade");case 7:case"end":return t.stop()}}),t)})))()}}},cl=ll,dl=Object(T["a"])(cl,al,sl,!1,null,null,null),ul=dl.exports,ml=n("f964"),fl=n.n(ml),pl={components:{SettingsCard:_["a"],Package:il,DowngradeInfo:ul},mixins:[se["a"],Ra["a"]],props:{company:{type:Object,default:function(){}}},methods:{refetchPendingDowngrade:function(){this.$apollo.queries.pendingDowngrade.refetch()}},apollo:{pendingDowngrade:{query:fl.a,variables:function(){return{companyId:this.$auth.user.companyId}}}}},vl=pl,gl=Object(T["a"])(vl,Yo,Zo,!1,null,null,null),hl=gl.exports,bl={components:{SubscriptionSection:Qo,AccountSection:hl},mixins:[Ra["a"],se["a"]],apollo:{company:{query:ar.a,variables:function(){return{id:this.$auth.user.companyId}}}}},kl=bl,yl=Object(T["a"])(kl,Ia,Pa,!1,null,null,null),Cl=yl.exports,Sl=function(){var e=this,t=e._self._c;return t(v["a"],{staticClass:"pa-0 layout-container"},[t("PaymentMethod"),t(o["a"],{staticClass:"my-4"}),t("BillingData",{attrs:{"billing-self-service-portal-details":e.billingSelfServicePortalDetails}}),t(o["a"],{staticClass:"my-4"}),t("Invoice",{attrs:{"billing-self-service-portal-details":e.billingSelfServicePortalDetails}})],1)},xl=[],wl=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.payment.payment-method.title"),subtitle:e.$t("settings.payment.payment-method.subtitle"),icon:"mdi-cash-check","is-default-open":!0}},[t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.payment.payment-method.body-texts.0"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.payment.payment-method.body-texts.1"))),t("br"),e._v(" "+e._s(e.$t("settings.payment.payment-method.body-texts.2"))+" ")]),t(C["a"],{staticClass:"mt-2",attrs:{src:n("d657"),alt:"billwerk+ reepay logo",width:"130",contain:""}})],1)]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[e.paymentMethod?t("div",{staticClass:"justify-center d-flex mb-sm-0"},[t(sn["a"],{attrs:{items:e.paymentMethodItems,label:e.$t("settings.payment.payment-method.labels.type"),disabled:e.isChangeDisabled,required:"",outlined:"",hint:e.$t("settings.payment.payment-method.labels.hint"),"persistent-hint":e.isChangeDisabled},on:{click:function(t){return e.onClick("Choose payment method",e.paymentMethod)}},model:{value:e.paymentMethod,callback:function(t){e.paymentMethod=t},expression:"paymentMethod"}})],1):e._e(),e.showRedirectMessage?t(a["a"],{attrs:{outlined:""}},[t("div",{staticClass:"justify-center d-flex flex-column align-center"},[t("div",{staticClass:"justify-center d-flex align-center"},[t(Y["a"],{staticClass:"mr-2",attrs:{color:"success"}},[e._v(" mdi-shield-check ")]),t("span",[t("b",[e._v(e._s(e.$t("alerts.settings.payment-method.title")))])])],1),t("p",[e._v(e._s(e.$t("alerts.settings.payment-method.redirect")))]),t(he["a"],{attrs:{color:"primary",width:"3",size:"20",indeterminate:""}})],1)]):e._e(),!e.showRedirectMessage&&(e.isDebit||e.isCreditCard||e.isInvoice)?t(a["a"],{attrs:{type:"info"}},[e.isCreditCard?t("div",[t(l["a"],[t(y["a"],[e._v(" "+e._s(e.$t("alerts.settings.payment-method.credit-card-label"))+": ")]),t(y["a"],[t("b",[e._v(e._s(e.paymentInfo.cardType))])])],1),t(l["a"],[t(y["a"],[e._v(e._s(e.$t("alerts.settings.payment-method.credit-card-info"))+": ")]),t(y["a"],[t("b",[e._v(e._s(e.paymentInfo.maskedCard))])])],1),t(l["a"],[t(y["a"],[e._v(e._s(e.$t("alerts.settings.payment-method.user"))+":")]),t(y["a"],[t("b",[e._v(e._s(e.paymentInfo.name))])])],1)],1):e._e(),e.isDebit?t("div",[t(l["a"],[t(y["a"],[e._v(" "+e._s(e.$t("alerts.settings.payment-method.debit-label"))+": ")]),t(y["a"],[t("b",[e._v(e._s(e.formatDate(e.paymentInfo.signatureDate,"DATE_LONG")))])])],1),t(l["a"],[t(y["a"],[e._v(e._s(e.$t("alerts.settings.payment-method.debit-info"))+": ")]),t(y["a"],[t("b",[e._v(e._s(e.paymentInfo.IBAN))])])],1),t(l["a"],[t(y["a"],[e._v(e._s(e.$t("alerts.settings.payment-method.user"))+":")]),t(y["a"],[t("b",[e._v(e._s(e.paymentInfo.name))])])],1)],1):e._e(),e.isInvoice?t("div",[t("p",[e._v(e._s(e.$t("labels.our-tip"))+":")]),t("p",[e._v(e._s(e.$t("alerts.settings.payment-method.hint"))+":")]),t("ul",e._l(Object.keys(e.paymentMethodLabels),(function(n){return t("li",{key:n},[e._v(" "+e._s(e.$t(e.paymentMethodLabels[n]))+" ")])})),0)]):e._e()]):e._e(),e.isInvoice||e.isNone?e._e():t("div",{staticClass:"justify-end d-flex text-uppercase"},[t("a",{on:{click:e.startPayment}},[e._v(e._s(e.$t("settings.payment.payment-method.labels.update",{method:e.$t(e.paymentMethodLabels[e.paymentMethod])})))])])],1)],1)],1)])},Nl=[],_l=(n("2b3d"),n("9861"),n("25f0"),{"CreditCard:Reepay":"settings.payment.payment-method.methods.credit-card","ApplePay:Reepay":"settings.payment.payment-method.methods.apple-pay","Debit:Reepay":"settings.payment.payment-method.methods.debit"}),$l="CreditCard:Reepay",Dl="paymentCallback",El={components:{SettingsCard:_["a"]},mixins:[se["a"],j["a"],Ra["a"]],data:function(){return{paymentMethodLabels:_l,showRedirectMessage:!1,state:!1,responseTimeout:null}},computed:{isChangeDisabled:function(){return this.paymentMethodItems.length<=1},paymentMethods:function(){var e=this.$features.feature(this.featureNames.BILLWERK),t=e.config;return t.paymentMethods||[$l]},paymentMethodItems:function(){var e=this;return this.paymentMethods.filter((function(e){return"ApplePay:Reepay"!==e||window.ApplePaySession})).map((function(t){return{text:e.$t(_l[t]),value:t}})).concat(this.isInvoice?{text:this.$t("settings.payment.payment-method.methods.invoice"),value:"BlackLabel:InvoicePayment",disabled:!0}:[]).concat(this.isNone?{text:this.$t("settings.payment.payment-method.methods.none"),value:"none:none",disabled:!0}:[])}},watch:{isSubscriptionJsInitialized:function(e){e&&"finalize"===this.state&&this.finalize()},paymentMethod:{handler:function(e,t){null!=e&&null!==t&&e!==t&&this.startPayment()}}},created:function(){this.isCallbackAfterPayment()&&(this.state="finalize")},mounted:function(){window.scrollTo(0,0)},unmounted:function(){clearTimeout(this.responseTimeout)},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},isCallbackAfterPayment:function(){return this.$route.query[Dl]},startPayment:function(){var e=this;this.$tracking.event("Settings",this.$tracking.trackingEvents.EDITED,"Start Payment Process"),this.$tracking.event("Settings",this.$tracking.trackingEvents.EDITED,"Add Payment Method"),this.showRedirectMessage=!0,setTimeout((function(){e.startPaymentProcess()}),3e3)},composePaymentRedirectUrl:function(){var e=this.$route.path,t=new URL(e,window.location.origin);return t.searchParams.set(Dl,"1"),t.toString()},startPaymentProcess:function(){var e=this,t={publicApiKey:"643e86758f671d3e53dc3c58",providerReturnUrl:this.composePaymentRedirectUrl()},n={bearer:this.paymentMethod},i=function(){e.portal.paymentChange(e.paymentService,n,e.handlePaymentChangedSuccess,(function(){R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.payment-method.error")}),e.paymentMethod=null,e.showRedirectMessage=!1,e.getContractDetails(),e.$router.replace(e.$route.name)}))},a=function(e){console.log("Payment service init error",e)};this.paymentService=new this.SubscriptionJS.Payment(t,i,a)},handlePaymentChangedSuccess:function(e){var t;e.Url?window.location.href=e.Url:(this.$tracking.event("Settings",this.$tracking.trackingEvents.SELECTED,"Payment Method Added"),null===(t=this.$gtm)||void 0===t||t.trackEvent({event:co["a"].ONBOARDING_PAYMENT_SUCCEEDED}))},finalize:function(){this.SubscriptionJS.finalize(this.handleFinalizeSuccess,this.handleFinalizeError)},handleFinalizeSuccess:function(){this.paymentMethod=null,this.getContractDetails(),this.$router.replace(this.$route.path)},handleFinalizeError:function(e){var t=this;this.responseTimeout=setTimeout((function(){e.errorCode.includes("Canceled")?t.$router.replace(t.$route.name):R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.payment-method.error")})}),3e3)}}},Ol=El,Tl=(n("64af"),Object(T["a"])(Ol,wl,Nl,!1,null,"1671f4d3",null)),Al=Tl.exports,Il=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.payment.billing-data.title"),subtitle:e.$t("settings.payment.billing-data.subtitle"),icon:"mdi-account-cash","is-default-open":!1}},[t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.payment.billing-data.body-texts.0"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.payment.billing-data.body-texts.1"))),t("br"),e._v(" "+e._s(e.$t("settings.payment.billing-data.body-texts.2"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[e.customer?t("div",{staticClass:"justify-center d-flex mb-sm-0"},[t("CustomerForm",{staticClass:"w-full",attrs:{"submit-button-text":"Aktualisieren","is-submitting":!1,"show-coupon-field":!1,"show-email":"","show-country":"","show-coupon":"","disable-country-selection":"","show-address-line1":"","immediate-submit":"","validate-on-input":""},on:{submit:e.saveBillingData},model:{value:e.customer,callback:function(t){e.customer=t},expression:"customer"}})],1):e._e()])],1)],1)])},Pl=[],Fl=n("53ca"),Ll=n("51d4"),Vl={components:{SettingsCard:_["a"],CustomerForm:Ll["a"]},mixins:[se["a"],j["a"],Va["a"]],props:{billingSelfServicePortalDetails:{type:Object,default:function(){return{}}}},data:function(){return{portal:null,customer:{emailAddress:this.$auth.user.email,firstName:this.$auth.user.given_name,lastName:this.$auth.user.family_name,companyName:"",vatId:"",couponCode:"",paymentMethod:"",address:{street:"",houseNumber:"",postalCode:"",city:"",country:""}},originalCustomer:{emailAddress:this.$auth.user.email,firstName:this.$auth.user.given_name,lastName:this.$auth.user.family_name,companyName:"",vatId:"",couponCode:"",paymentMethod:"",address:{addressLine1:"",street:"",houseNumber:"",postalCode:"",city:"",country:""}}}},computed:{isDirty:function(){var e=this,t=Object.keys(this.originalCustomer).some((function(t){if("object"===Object(Fl["a"])(e.originalCustomer[t])){var n=Object.keys(e.originalCustomer[t]).some((function(n){return e.originalCustomer[t][n]!==e.customer[t][n]}));return n}return e.originalCustomer[t]!==e.customer[t]}));return t}},watch:{billingSelfServicePortalDetails:function(e){null!==e&&void 0!==e&&e.Token&&(this.portal=new this.SubscriptionJS.Portal(this.billingSelfServicePortalDetails.Token),this.getContractDetails())}},methods:{getContractDetails:function(){var e=this;this.portal&&this.portal.contractDetails((function(t){var n=t.Customer,i=n.CompanyName,a=n.FirstName,s=n.LastName,r=n.VatId,o=n.EmailAddress,l=n.Address,c=l.AddressLine1,d=l.Street,u=l.HouseNumber,m=l.PostalCode,f=l.City,p=l.Country;e.originalCustomer={emailAddress:o||e.customer.emailAddress,companyName:i||e.customer.companyName,firstName:a||e.customer.firstName,lastName:s||e.customer.lastName,vatId:r||e.customer.vatId,address:{addressLine1:c||e.customer.address.addressLine1,street:d||e.customer.address.street,houseNumber:u||e.customer.address.houseNumber,postalCode:m||e.customer.address.postalCode,city:f||e.customer.address.city,country:(null===p||void 0===p?void 0:p.toUpperCase())||e.customer.address.country}},e.customer=Object(k["a"])(Object(k["a"])({},e.originalCustomer),{},{address:Object(k["a"])({},e.originalCustomer.address)})}),(function(){R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.billing-data.error-loading")})}))},saveBillingData:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.isDirty){t.next=2;break}return t.abrupt("return");case 2:n={emailAddress:e.customer.emailAddress,firstName:e.customer.firstName,lastName:e.customer.lastName,vatId:e.customer.vatId,companyName:e.customer.companyName,address:{addressLine1:e.customer.address.addressLine1,street:e.customer.address.street,houseNumber:e.customer.address.houseNumber,postalCode:e.customer.address.postalCode,city:e.customer.address.city,country:e.customer.address.country.toUpperCase()}},e.portal.customerChange(n,(function(){e.getContractDetails(),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.billing-data.success")})}),(function(){R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.billing-data.error")})}));case 4:case"end":return t.stop()}}),t)})))()}}},Rl=Vl,jl=(n("d234"),Object(T["a"])(Rl,Il,Pl,!1,null,"463bbb5e",null)),Ul=jl.exports,Bl=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.payment.invoice.title"),subtitle:e.$t("settings.payment.invoice.subtitle"),icon:"mdi-list-box","is-default-open":!1}},[t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.payment.invoice.label"))+" ")]),t("br")])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",{staticClass:"d-flex justify-end"},[t("a",{attrs:{href:e.billingSelfServicePortalUrl,target:"_blank"}},[t(s["a"],{attrs:{color:"primary"},on:{click:function(t){return e.onClick("Payment Invoices")}}},[t(Y["a"],{staticClass:"mr-2",attrs:{small:""}},[e._v(" mdi-file-sign ")]),e._v(" "+e._s(e.$t("settings.payment.invoice.label"))+" ")],1)],1)])])],1)],1)])},Ml=[],ql={components:{SettingsCard:_["a"]},props:{billingSelfServicePortalDetails:{type:Object,default:function(){return{}}}},computed:{billingSelfServicePortalUrl:function(){var e;return null===(e=this.billingSelfServicePortalDetails)||void 0===e?void 0:e.Url}},methods:{onClick:function(e){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e)}}},Hl=ql,zl=Object(T["a"])(Hl,Bl,Ml,!1,null,null,null),Gl=zl.exports,Wl=n("5c57"),Kl=n.n(Wl),Ql={components:{PaymentMethod:Al,BillingData:Ul,Invoice:Gl},apollo:{billingSelfServicePortalDetails:{query:Kl.a}}},Yl=Ql,Zl=Object(T["a"])(Yl,Sl,xl,!1,null,null,null),Xl=Zl.exports,Jl=function(){var e=this,t=e._self._c;return t(v["a"],{staticClass:"layout-container pa-0"},[t("SenderSettings"),t("Feature",{attrs:{"feature-slug":e.featureNames.COMPANY},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[e.company&&i.config.isSalutationEditable?t("div",[t(o["a"],{staticClass:"my-4"}),t("SalutationSettings",{attrs:{company:e.company,"refetch-company":e.refetchCompany}})],1):e._e()]}}])}),t(o["a"],{staticClass:"my-4"}),t("DomainSettings"),e.company?t(o["a"],{staticClass:"my-4"}):e._e(),e.company?t("SignatureSettings",{attrs:{company:e.company,"refetch-company":e.refetchCompany}}):e._e()],1)},ec=[],tc=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.email.domain-settings.title"),subtitle:e.$t("settings.email.domain-settings.subtitle"),icon:"mdi-email-seal","is-default-open":!1}},[t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.domain-settings.body-texts.0"))+" ")])]),t("div",{staticClass:"grey--text mb-2"},[e._v(" "+e._s(e.$t("settings.email.domain-settings.body-texts.1"))+" ")])])]),t(y["a"],{staticClass:"d-flex flex-column px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",{staticClass:"mr-12 d-flex align-center justify-space-between"},[t(Nt["a"],{staticClass:"font-weight-bold",attrs:{label:"Domain","hide-details":"",readonly:"",outlined:"","auto-grow":"","no-resize":"",rows:"1",value:e.domain.domain},on:{click:function(t){return e.onClick("Domain",e.domain.domain)}}})],1)])],1)],1),e.hoppermation.hasDKIMVerification?t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.domain-settings.dkim-texts.0"))+" ")])]),t("div",{staticClass:"grey--text mb-2"},[t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.$t("settings.email.domain-settings.dkim-texts.1"))),t("br")]),e._v(" "+e._s(e.$t("settings.email.domain-settings.dkim-texts.2"))+" ")]),t("div",{staticClass:"grey--text mb-2"},[t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.$t("settings.email.domain-settings.dkim-texts.3"))),t("br")]),e._v(" "+e._s(e.$t("settings.email.domain-settings.dkim-texts.4"))+" ")])])]),t(y["a"],{staticClass:"d-flex flex-column px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",{staticClass:"mb-4 d-flex align-center justify-space-between"},[e.domain.isDKIMVerified?t("div",{staticClass:"font-weight-bold"},[t(Y["a"],{staticClass:"pr-4",attrs:{color:"success"}},[e._v(" mdi-check-decagram ")]),t("span",[e._v(e._s(e.$t("settings.email.domain-settings.labels.verified")))])],1):t("div",{staticClass:"font-weight-bold"},[t(Y["a"],{staticClass:"pr-4",attrs:{color:"error"}},[e._v(" mdi-alert-decagram ")]),t("span",[e._v(e._s(e.$t("settings.email.domain-settings.labels.not-verified")))])],1),e.domain.isDKIMVerified?e._e():t(s["a"],{staticClass:"px-2 option-btn",attrs:{outlined:"",color:"primary",loading:e.isLoading,disabled:e.isLoading},on:{click:e.verifyDKIM}},[e._v(" "+e._s(e.$t("buttons.verify.cta"))+" ")])],1),t("div",[t("div",{staticClass:"d-flex"},[t(ii["a"],{staticClass:"mb-4",attrs:{label:e.$t("settings.email.domain-settings.labels.hostname"),"hide-details":"",readonly:"",outlined:"","auto-grow":"","no-resize":"",rows:"1",value:e.domain.dkimHost},on:{click:function(t){return e.onClick("Hostname",e.domain.dkimHost)}}}),t("CopyToClipboardButton",{attrs:{value:e.domain.dkimHost}})],1),t("div",{staticClass:"d-flex"},[t(ii["a"],{staticClass:"mb-4",attrs:{label:e.$t("settings.email.domain-settings.labels.txt-entry"),"hide-details":"",readonly:"",outlined:"","auto-grow":"","no-resize":"",value:e.domain.dkimText},on:{click:function(t){return e.onClick("TXT Entry",e.domain.dkimText)}}}),t("CopyToClipboardButton",{attrs:{value:e.domain.dkimText}})],1)])])],1)],1):e._e(),e.hoppermation.hasReturnPathVerification?t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("div",{staticClass:"d-flex align-center"},[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.domain-settings.return-path-texts.0"))+" ")])]),t("div",{staticClass:"grey--text mb-2"},[t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.$t("settings.email.domain-settings.return-path-texts.1"))),t("br")]),e._v(" "+e._s(e.$t("settings.email.domain-settings.return-path-texts.2"))+" ")]),t("div",{staticClass:"grey--text mb-2"},[t("span",{staticClass:"font-weight-bold"},[e._v(e._s(e.$t("settings.email.domain-settings.return-path-texts.3"))),t("br")]),e._v(" "+e._s(e.$t("settings.email.domain-settings.return-path-texts.3"))+" ")])])]),t(y["a"],{staticClass:"d-flex flex-column px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",{staticClass:"mb-4 d-flex align-center justify-space-between"},[e.domain.isReturnPathDomainVerified?t("div",{staticClass:"font-weight-bold"},[t(Y["a"],{staticClass:"pr-4",attrs:{color:"success"}},[e._v(" mdi-check-decagram ")]),t("span",[e._v(e._s(e.$t("settings.email.domain-settings.labels.verified")))])],1):t("div",{staticClass:"font-weight-bold"},[t(Y["a"],{staticClass:"pr-4",attrs:{color:"error"}},[e._v(" mdi-alert-decagram ")]),t("span",[e._v(e._s(e.$t("settings.email.domain-settings.labels.not-verified")))])],1),e.domain.isReturnPathDomainVerified?e._e():t(s["a"],{staticClass:"px-2 option-btn",attrs:{outlined:"",color:"primary",disabled:e.isLoading,loading:e.isLoading},on:{click:e.verifyReturnPath}},[e._v(" "+e._s(e.$t("buttons.verify.cta"))+" ")])],1),t("div",[t("div",{staticClass:"d-flex"},[t(ii["a"],{staticClass:"mb-4",attrs:{label:e.$t("settings.email.domain-settings.labels.hostname"),"hide-details":"",readonly:"",outlined:"","auto-grow":"","no-resize":"",rows:"1",value:e.domain.returnPathDomain},on:{click:function(t){return e.onClick("Hostname",e.domain.returnPathDomain)}}}),t("CopyToClipboardButton",{attrs:{value:e.domain.returnPathDomain}})],1),t("div",{staticClass:"d-flex"},[t(ii["a"],{staticClass:"mb-4",attrs:{label:e.$t("settings.email.domain-settings.labels.cname-entry"),"hide-details":"",readonly:"",outlined:"",rows:1,"auto-grow":"","no-resize":"",value:e.domain.returnPathDomainCname},on:{click:function(t){return e.onClick("CNAME Entry",e.domain.returnPathDomainCname)}}}),t("CopyToClipboardButton",{attrs:{value:e.domain.returnPathDomainCname}})],1)])])],1)],1):e._e(),e.hoppermation.hasReturnPathVerification||e.hoppermation.hasDKIMVerification?t(a["a"],{staticClass:"ma-0 mb-8",attrs:{icon:"mdi-lightbulb-on-20",prominent:"",text:"",type:"info"}},[t("p",{staticClass:"ma-0 font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.domain-settings.howto-texts.0"))+" ")]),t("ol",[t("li",[e._v(" "+e._s(e.$t("settings.email.domain-settings.howto-texts.1"))),t("br"),t("a",{attrs:{href:"https://postmarkapp.com/support/article/1090-resources-for-adding-dkim-and-return-path-records-to-dns-for-common-hosts-and-dns-providers",target:"_blank",rel:"noopener"}},[e._v(e._s(e.$t("settings.email.domain-settings.howto-texts.2")))])]),t("li",[e._v(" "+e._s(e.$t("settings.email.domain-settings.howto-texts.3"))+" ")])])]):e._e(),t("VerifyDomainDialog",{attrs:{dialog:e.verifyDialog},on:{close:function(t){e.verifyDialog=!1}}})],1)},nc=[],ic=function(){var e=this,t=e._self._c;return t(St["a"],{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,a=n.attrs;return[t(s["a"],e._g(e._b({staticClass:"px-0 ml-2",attrs:{icon:""},on:{click:e.copyToClipboard}},"v-btn",a,!1),i),[t(Y["a"],[e._v(" mdi-content-copy ")])],1)]}}])},[t("span",[e._v("Kopieren")])])},ac=[];function sc(e){return rc.apply(this,arguments)}function rc(){return rc=Object(N["a"])(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,navigator.clipboard.writeText(t);case 3:return e.abrupt("return",!0);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",!1);case 9:case"end":return e.stop()}}),e,null,[[0,6]])}))),rc.apply(this,arguments)}var oc={props:{value:{type:String,default:""}},methods:{copyToClipboard:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.$tracking.event("Settings",e.$tracking.trackingEvents.CLICKED,"Copy to Clipboard"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:"In die Zwischenablage kopiert."}),t.next=4,sc(e.value);case 4:return t.abrupt("return",t.sent);case 5:case"end":return t.stop()}}),t)})))()}}},lc=oc,cc=Object(T["a"])(lc,ic,ac,!1,null,null,null),dc=cc.exports,uc=n("79cc"),mc=n.n(uc),fc=n("e2db"),pc=n.n(fc),vc=function(){var e=this,t=e._self._c;return t(z["a"],{attrs:{width:"550"},model:{value:e.dialog,callback:function(t){e.dialog=t},expression:"dialog"}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[t(J["b"],[e._v("Wie kann ich die Domainverifizierung nutzen?")]),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:function(t){return e.$emit("close")}}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(H["c"],{staticClass:"mt-4 text-body-1"},[t("div",{staticClass:"pb-4"},[e._v(" Ihre Domain ist noch nicht vollständig verifiziert. ")]),t("div",{staticClass:"pb-4"},[e._v(" In den DNS-Einstellungen des Hosters Ihrer Internetadresse (Domain) müssen diese Einträge hinzugefügt werden. ")]),t("a",{attrs:{href:"https://postmarkapp.com/support/article/1090-resources-for-adding-dkim-and-return-path-records-to-dns-for-common-hosts-and-dns-providers",target:"_blank",rel:"noopener"}},[e._v("Hier finden Sie eine Anleitung gängiger Hoster")])]),t(H["a"],[t(Z["a"]),t(s["a"],{attrs:{color:"success",text:""},on:{click:function(t){return e.$emit("close")}}},[e._v(" Schliessen ")])],1)],1)],1)},gc=[],hc={props:{dialog:{type:Boolean,default:!1}}},bc=hc,kc=Object(T["a"])(bc,vc,gc,!1,null,null,null),yc=kc.exports,Cc={components:{SettingsCard:_["a"],VerifyDomainDialog:yc,CopyToClipboardButton:dc},mixins:[j["a"]],data:function(){return{isLoading:!1,verifyDialog:!1,domain:{}}},computed:{hoppermation:function(){var e=this.getFeature(ie["a"].HOPPERMATION),t=e.config;t=void 0===t?{config:{}}:t;var n=t.hasDKIMVerification,i=t.hasReturnPathVerification;return{hasDKIMVerification:n,hasReturnPathVerification:i}}},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},verifyDKIM:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.onClick("Verify DKIM",!0),t.next=3,e.verifyDomain();case 3:e.domain.isDKIMVerified||(e.verifyDialog=!0);case 4:case"end":return t.stop()}}),t)})))()},verifyReturnPath:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.onClick("Verify Return Path",!0),t.next=3,e.verifyDomain();case 3:null!==(n=e.domain)&&void 0!==n&&n.isReturnPathDomainVerified||(e.verifyDialog=!0);case 4:case"end":return t.stop()}}),t)})))()},copyToClipboard:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.$tracking.event("Settings",t.$tracking.trackingEvents.CLICKED,"Copy to Clipboard"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.email.domain-settings.success-copy")}),n.next=4,sc(e);case 4:return n.abrupt("return",n.sent);case 5:case"end":return n.stop()}}),n)})))()},verifyDomain:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.isLoading=!0,t.next=4,e.$apollo.mutate({mutation:pc.a,variables:{companyId:e.$auth.user.companyId},update:function(t,n){var i=n.data.domain;t.writeQuery({query:mc.a,data:{domain:i},variables:{companyId:e.$auth.user.companyId}})}});case 4:e.$tracking.event("Settings",e.$tracking.trackingEvents.CLICKED,"Verify Domain"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.email.domain-settings.success")}),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.email.domain-settings.error")});case 11:return t.prev=11,e.isLoading=!1,t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[0,8,11,14]])})))()}},apollo:{domain:{query:mc.a,variables:function(){return{companyId:this.$auth.user.companyId}}}}},Sc=Cc,xc=Object(T["a"])(Sc,tc,nc,!1,null,null,null),wc=xc.exports,Nc=function(){var e,t=this,n=t._self._c;return n("SettingsCard",{attrs:{title:t.$t("settings.email.sender-settings.title"),subtitle:t.$t("settings.email.sender-settings.subtitle"),icon:"mdi-email-fast-outline","is-default-open":!1}},[n(l["a"],{staticClass:"ma-2"},[n(y["a"],{attrs:{cols:"12",md:"6"}},[n("div",{staticClass:"font-weight-bold"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.body-texts.0"))+" ")]),n("div",{staticClass:"grey--text"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.body-texts.1"))+" ")]),n("div",{staticClass:"font-weight-bold mt-4"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.body-texts.2"))+" ")]),n("div",{staticClass:"grey--text"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.body-texts.3"))+" ")]),n("div",{staticClass:"font-weight-bold mt-4"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.body-texts.4"))+" ")]),n("div",{staticClass:"grey--text"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.body-texts.5"))+" ")])]),n(y["a"],{attrs:{cols:"12",offset:"1",md:"5"}},[n(r["a"],{staticClass:"my-4 pa-2",attrs:{outlined:""}},[n(C["a"],{attrs:{src:"https://static.bottimmo.com/images/assets/app-branding/email-sender.png?h=800"}})],1)],1)],1),n("div",{staticClass:"ma-2 d-flex"},[n(Z["a"]),n("CreateSenderDialog",{attrs:{"company-name":null===(e=t.company)||void 0===e?void 0:e.name},on:{opened:function(e){t.senderCreated=!1},created:function(e){t.senderCreated=!0}}})],1),t.senderCreated?n(a["a"],{staticClass:"ma-4",attrs:{border:"left","colored-border":"",type:"info",elevation:"2"}},[n("h3",{staticClass:"info--text"},[t._v(" "+t._s(t.$t("alerts.settings.email.success"))+" ")]),n("div",[t._v(t._s(t.$t("alerts.settings.email.info")))])]):t._e(),n(Vt["a"],{staticClass:"ma-2",scopedSlots:t._u([{key:"default",fn:function(){return[n("thead",[n("tr",[n("th",{staticClass:"text-left"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.labels.sender-name"))+" ")]),n("th",{staticClass:"text-left"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.labels.sender-email"))+" ")]),n("th",{staticClass:"text-left"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.labels.reply-to-email"))+" ")]),n("th",{staticClass:"text-center"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.labels.verified"))+" ")]),n("th",{staticClass:"text-center"},[t._v(" "+t._s(t.$t("settings.email.sender-settings.labels.active"))+" ")]),n("th",{staticClass:"text-center"})])]),n("tbody",t._l(t.senders,(function(e){return n("tr",{key:e.id,class:e.isDefault?"font-weight-bold":"grey--text"},[n("td",[t._v(t._s(e.name))]),n("td",[t._v(t._s(e.fromEmail))]),n("td",[t._v(t._s(e.replyToEmail))]),n("td",[n("div",{staticClass:"d-flex justify-center"},[e.isVerified?n(Y["a"],{attrs:{color:"success"}},[t._v(" mdi-check-circle ")]):n("VerifySenderDialog",{attrs:{sender:e}})],1)]),n("td",[n("div",{staticClass:"d-flex justify-center"},[e.isDefault?n(Y["a"],{attrs:{color:"success"}},[t._v(" mdi-check-circle ")]):e.isVerified?n(s["a"],{attrs:{color:"success",outlined:"",disabled:t.isLoading,loading:t.isLoading},on:{click:function(n){return t.setAsDefaultSender(e.id)}}},[t._v(" "+t._s(t.$t("labels.activate"))+" ")]):t._e()],1)]),n("td",[n("div",{staticClass:"d-flex justify-center"},[n("UpdateSenderDialog",{attrs:{sender:e}})],1)])])})),0)]},proxy:!0}])})],1)},_c=[],$c=n("26e4"),Dc=n.n($c),Ec=n("59d7"),Oc=n.n(Ec),Tc=n("eaef"),Ac=n.n(Tc),Ic=function(){var e=this,t=e._self._c;return t("div",[t(s["a"],{attrs:{color:"primary"},on:{click:function(t){return e.showDialog()}}},[t(Y["a"],[e._v(" mdi-plus ")]),e._v(" "+e._s(e.$t("buttons.create-sender-dialog.cta"))+" ")],1),t(z["a"],{attrs:{width:"1000"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[t(J["b"],[e._v(e._s(e.$t("settings.email.create-sender-dialog.title")))]),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:function(t){e.show=!1}}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(H["c"],{staticClass:"mt-4 text-body-1"},[t(l["a"],[t(y["a"],{attrs:{cols:"12",md:"7"}},[t("p",[e._v(" "+e._s(e.$t("settings.email.create-sender-dialog.body-texts.0"))+" ")]),t("p",{domProps:{innerHTML:e._s(e.$t("settings.email.create-sender-dialog.body-texts.1"))}}),t("div",{staticClass:"pt-2"},[t(Ke["a"],{on:{submit:function(t){return t.preventDefault(),e.createSender.apply(null,arguments)}},model:{value:e.valid,callback:function(t){e.valid=t},expression:"valid"}},[t(Nt["a"],{attrs:{label:e.$t("labels.name"),outlined:"",rules:[e.rules.required]},on:{click:function(t){return e.onClick("Name",e.name)}},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),t(Nt["a"],{attrs:{autofocus:"",rules:[e.rules.email,e.rules.required],outlined:"",label:e.$t("settings.email.create-sender-dialog.labels.from-email"),required:""},on:{click:function(t){return e.onClick("Sender Address",e.fromEmail)}},model:{value:e.fromEmail,callback:function(t){e.fromEmail=t},expression:"fromEmail"}}),t(Nt["a"],{attrs:{rules:[e.rules.email],outlined:"",label:e.$t("settings.email.create-sender-dialog.labels.reply-to-email")},on:{click:function(t){return e.onClick("Reply-To Address",e.replyToEmail)}},model:{value:e.replyToEmail,callback:function(t){e.replyToEmail=t},expression:"replyToEmail"}})],1)],1)]),t(y["a"],{attrs:{cols:"12",md:"5"}},[t(C["a"],{attrs:{src:"https://static.bottimmo.com/images/assets/app-branding/email-verification-mail.png?h=600"}})],1)],1)],1),t(H["a"],[t(s["a"],{attrs:{text:""},on:{click:function(t){e.show=!1}}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(Z["a"]),t(s["a"],{attrs:{color:"success",disabled:e.isLoading,loading:e.isLoading,text:""},on:{click:e.createSender}},[e._v(" "+e._s(e.$t("labels.save"))+" ")])],1)],1)],1)],1)},Pc=[],Fc=n("d7f2"),Lc=n.n(Fc),Vc={props:{companyName:{type:String,default:""}},data:function(){return{rules:{email:Ze["b"],required:Ze["n"]},show:!1,isLoading:!1,valid:!1,name:this.companyName,fromEmail:null,replyToEmail:null}},watch:{companyName:function(e){this.name=e},show:function(e){e&&this.$emit("opened")}},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},showDialog:function(){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Create Sender Dialog"),this.show=!0},createSender:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.valid){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,e.isLoading=!0,t.next=6,e.$apollo.mutate({mutation:Lc.a,variables:{input:{companyId:e.$auth.user.companyId,name:e.name,fromEmail:e.fromEmail,replyToEmail:e.replyToEmail}},refetchQueries:[{query:Dc.a,variables:{companyId:e.$auth.user.companyId}}]});case 6:e.$tracking.event("Settings",e.$tracking.trackingEvents.CLICKED,"Create Sender"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.email.create-sender.success")}),e.show=!1,e.$emit("created"),t.next=15;break;case 12:t.prev=12,t.t0=t["catch"](2),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.email.create-sender.error")});case 15:return t.prev=15,e.isLoading=!1,t.finish(15);case 18:case"end":return t.stop()}}),t,null,[[2,12,15,18]])})))()}}},Rc=Vc,jc=Object(T["a"])(Rc,Ic,Pc,!1,null,null,null),Uc=jc.exports,Bc=function(){var e,t=this,n=t._self._c;return n("div",[n(s["a"],{attrs:{color:"success",loading:t.isLoading,disabled:t.isLoading,outlined:""},on:{click:t.checkStatus}},[t._v(" "+t._s(t.$t("buttons.verify.cta"))+" ")]),n(z["a"],{attrs:{width:"1000"},model:{value:t.show,callback:function(e){t.show=e},expression:"show"}},[n(r["a"],[n(H["d"],{staticClass:"pa-0"},[n(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[n(J["b"],[t._v(t._s(t.$t("settings.email.verify-sender-dialog.title")))]),n(Z["a"]),n(J["a"],[n(s["a"],{attrs:{icon:"",dark:""},on:{click:function(e){t.show=!1}}},[n(Y["a"],{attrs:{large:""}},[t._v(" mdi-close ")])],1)],1)],1)],1),n(H["c"],{staticClass:"mt-4 text-body-1"},[n(l["a"],[n(y["a"],{attrs:{cols:"12",md:"8"}},[n("h3",[t._v(t._s(t.$t("settings.email.verify-sender-dialog.body-texts.0")))]),n("ol",{staticClass:"py-2"},[n("li",{staticClass:"my-2"},[t._v(" "+t._s(t.$t("settings.email.verify-sender-dialog.body-texts.1"))+" ("),n("strong",[t._v(t._s(null===(e=t.sender)||void 0===e?void 0:e.fromEmail))]),t._v("). ")]),n("li",{staticClass:"my-2",domProps:{innerHTML:t._s(t.$t("settings.email.verify-sender-dialog.body-texts.2"))}}),n("li",{staticClass:"my-2",domProps:{innerHTML:t._s(t.$t("settings.email.verify-sender-dialog.body-texts.3"))}})]),n("p",[t._v(t._s(t.$t("settings.email.verify-sender-dialog.body-texts.4")))]),n("h3",{staticClass:"mt-6 mb-2"},[t._v(" "+t._s(t.$t("settings.email.verify-sender-dialog.body-texts.5"))+" ")]),n("p",[t._v(" "+t._s(t.$t("settings.email.verify-sender-dialog.body-texts.6"))+" "),n(s["a"],{staticClass:"text-none px-0 pb-1 body-1",attrs:{color:"primary",loading:t.isLoading,disabled:t.isLoading,text:"","x-small":""},on:{click:t.resendVerificationMail}},[t._v(" "+t._s(t.$t("settings.email.verify-sender-dialog.body-texts.7"))+" ")]),n("br"),t._v(" "+t._s(t.$t("settings.email.verify-sender-dialog.body-texts.8"))+" ")],1)]),n(y["a"],{attrs:{cols:"12",md:"4"}},[n(C["a"],{attrs:{src:"https://static.bottimmo.com/images/assets/app-branding/email-verification-mail.png?h=600"}})],1)],1)],1)],1)],1)],1)},Mc=[],qc=n("b973"),Hc=n.n(qc),zc=n("6274"),Gc=n.n(zc),Wc={props:{sender:{type:Object,required:!0}},data:function(){return{rules:{email:Ze["b"],required:Ze["n"]},show:!1,isLoading:!1,valid:!1,name:null,fromEmail:null,replyToEmail:null}},methods:{resendVerificationMail:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.isLoading=!0,t.prev=1,t.next=4,e.$apollo.mutate({mutation:Gc.a,variables:{senderId:e.sender.id}});case 4:t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.email.verify-sender.error-send")});case 9:return t.prev=9,e.isLoading=!1,e.show=!1,t.finish(9);case 13:case"end":return t.stop()}}),t,null,[[1,6,9,13]])})))()},checkStatus:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e.isLoading=!0,t.prev=1,t.next=4,e.$apollo.mutate({mutation:Hc.a,variables:{senderId:e.sender.id},refetchQueries:[{query:Dc.a,variables:{companyId:e.$auth.user.companyId}}]});case 4:n=t.sent,i=n.data.sender,i.isVerified?R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.email.verify-sender.success")}):e.show=!0,t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.email.verify-sender.error")});case 12:return t.prev=12,e.isLoading=!1,t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[1,9,12,15]])})))()}}},Kc=Wc,Qc=Object(T["a"])(Kc,Bc,Mc,!1,null,null,null),Yc=Qc.exports,Zc=function(){var e=this,t=e._self._c;return t("div",[t(St["a"],{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,a=n.attrs;return[t(s["a"],e._g(e._b({attrs:{color:"success",icon:""},on:{click:function(t){e.show=!0}}},"v-btn",a,!1),i),[t(Y["a"],{attrs:{alt:e.$t("settings.email.update-sender-dialog.labels.edit")}},[e._v(" mdi-pencil-outline ")])],1)]}}])},[t("span",[e._v(e._s(e.$t("settings.email.update-sender-dialog.labels.edit")))])]),t(z["a"],{attrs:{width:"550"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[t(J["b"],[e._v(e._s(e.$t("settings.email.update-sender-dialog.title")))]),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:function(t){e.show=!1}}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(H["c"],{staticClass:"mt-4 text-body-1"},[t("div",{staticClass:"pb-4"},[t("p",[e._v(" "+e._s(e.$t("settings.email.update-sender-dialog.body-texts.0"))+" ")]),t(Ke["a"],{on:{submit:function(t){return t.preventDefault(),e.createSender.apply(null,arguments)}},model:{value:e.valid,callback:function(t){e.valid=t},expression:"valid"}},[t(Nt["a"],{attrs:{autofocus:"",label:e.$t("labels.name"),outlined:"",rules:[e.rules.required]},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}}),t(Nt["a"],{attrs:{disabled:"",rules:[e.rules.email,e.rules.required],outlined:"",label:e.$t("settings.email.update-sender-dialog.labels.from-email"),required:""},model:{value:e.fromEmail,callback:function(t){e.fromEmail=t},expression:"fromEmail"}}),t(Nt["a"],{attrs:{rules:[e.rules.email],outlined:"",label:e.$t("settings.email.update-sender-dialog.labels.reply-to-email")},model:{value:e.replyToEmail,callback:function(t){e.replyToEmail=t},expression:"replyToEmail"}})],1)],1)]),t(H["a"],[t(s["a"],{attrs:{text:""},on:{click:function(t){e.show=!1}}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(Z["a"]),t(s["a"],{attrs:{color:"success",disabled:e.isLoading,loading:e.isLoading,text:""},on:{click:e.createSender}},[e._v(" "+e._s(e.$t("labels.save"))+" ")])],1)],1)],1)],1)},Xc=[],Jc=n("754d"),ed=n.n(Jc),td={props:{sender:{type:Object,required:!0}},data:function(){return{rules:{email:Ze["b"],required:Ze["n"]},show:!1,isLoading:!1,valid:!1,name:this.sender.name,fromEmail:this.sender.fromEmail,replyToEmail:this.sender.replyToEmail}},methods:{createSender:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.valid){t.next=2;break}return t.abrupt("return");case 2:return t.prev=2,e.isLoading=!0,t.next=6,e.$apollo.mutate({mutation:ed.a,variables:{input:{senderId:e.sender.id,name:e.name,replyToEmail:e.replyToEmail}},refetchQueries:[{query:Dc.a,variables:{companyId:e.$auth.user.companyId}}]});case 6:R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.email.update-sender.success")}),e.show=!1,t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](2),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.email.update-sender.error")});case 13:return t.prev=13,e.isLoading=!1,t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[2,10,13,16]])})))()}}},nd=td,id=Object(T["a"])(nd,Zc,Xc,!1,null,null,null),ad=id.exports,sd={components:{SettingsCard:_["a"],CreateSenderDialog:Uc,VerifySenderDialog:Yc,UpdateSenderDialog:ad},mixins:[j["a"]],data:function(){return{senderCreated:!1,isLoading:!1,domain:{}}},computed:{},methods:{setAsDefaultSender:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.isLoading=!0,n.prev=1,n.next=4,t.$apollo.mutate({mutation:Oc.a,variables:{senderId:e},refetchQueries:[{query:Dc.a,variables:{companyId:t.$auth.user.companyId}}]});case 4:R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.email.default-sender.success")}),n.next=10;break;case 7:n.prev=7,n.t0=n["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.email.default-sender.error")});case 10:return n.prev=10,t.isLoading=!1,n.finish(10);case 13:case"end":return n.stop()}}),n,null,[[1,7,10,13]])})))()}},apollo:{senders:{query:Dc.a,variables:function(){return{companyId:this.$auth.user.companyId}}},company:{query:Ac.a,variables:function(){return{id:this.$auth.user.companyId}}}}},rd=sd,od=Object(T["a"])(rd,Nc,_c,!1,null,null,null),ld=od.exports,cd=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.email.salutation-settings.title"),subtitle:e.$t("settings.email.salutation-settings.subtitle"),icon:"mdi-chat","is-default-open":!1}},[t(l["a"],{staticClass:"ma-2"},[t(y["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.salutation-settings.body-texts.0"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.email.salutation-settings.body-texts.1"))+" ")])]),t(y["a"],{attrs:{cols:"12",md:"6"}},[t("TextForm",{attrs:{fields:e.salutationFields},on:{update:e.updateCustomWording}}),t("div",{staticClass:"w-50 d-flex justify-end"},[t(s["a"],{attrs:{outlined:"",disabled:!e.hasCustomWording()},on:{click:function(){return e.updateCustomWording({salutation:"",farewell:""})}}},[e._v(" "+e._s(e.$t("labels.reset"))+" ")])],1)],1)],1)],1)},dd=[],ud=n("a608"),md=n.n(ud),fd={components:{SettingsCard:_["a"],TextForm:nt},mixins:[j["a"]],props:{company:{type:Object,default:function(){return{}}},refetchCompany:{type:Function,default:function(){}}},data:function(){var e,t;return{isLoading:!1,customWording:{salutation:(null===(e=this.company.customWording)||void 0===e?void 0:e.salutation)||"",farewell:(null===(t=this.company.customWording)||void 0===t?void 0:t.farewell)||""}}},computed:{salutationFields:function(){return[{label:this.$t("settings.email.salutation-settings.labels.salutation"),name:"salutation",placeholder:"",required:!1,value:this.customWording.salutation},{label:this.$t("settings.email.salutation-settings.labels.farewell"),name:"farewell",placeholder:"",required:!1,value:this.customWording.farewell}]}},watch:{company:{deep:!0,handler:function(){this.customWording.farewell=this.company.customWording.farewell,this.customWording.salutation=this.company.customWording.salutation}}},methods:{hasCustomWording:function(){return Boolean(this.customWording.salutation||this.customWording.farewell)},updateCustomWording:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.isLoading=!0,n.prev=1,n.next=4,t.$apollo.mutate({mutation:md.a,variables:{input:Object(k["a"])({companyId:t.$auth.user.companyId,salutation:t.customWording.salutation,farewell:t.customWording.farewell},e)}});case 4:t.$tracking.event("Settings",t.$tracking.trackingEvents.CLICKED,"Update Company Custom Wording"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.email.salutation-settings.success")}),t.refetchCompany(),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.email.salutation-settings.error")});case 12:return n.prev=12,t.isLoading=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[1,9,12,15]])})))()}}},pd=fd,vd=Object(T["a"])(pd,cd,dd,!1,null,null,null),gd=vd.exports,hd=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.email.signature-settings.title"),subtitle:e.$t("settings.email.signature-settings.subtitle"),icon:"mdi-chat","is-default-open":!1}},[e.defaultSignatureAvailable?t(l["a"],{staticClass:"ma-2"},[t(y["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.0"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.1"))+" "),t("br")])]),t(y["a"],{attrs:{cols:"12",md:"6"}},[t(S["a"],{on:{change:e.updateCustomTemplateSignature},model:{value:e.company.ambassador.signature.customTemplateSignature,callback:function(t){e.$set(e.company.ambassador.signature,"customTemplateSignature",t)},expression:"company.ambassador.signature.customTemplateSignature"}})],1)],1):e._e(),e.company.ambassador.signature.customTemplateSignature?e._e():t(l["a"],{staticClass:"ma-2"},[t(y["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.2"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.3"))+" "),t("br"),t("br"),e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.4"))+" ")])]),t(y["a"],{attrs:{cols:"12",md:"6"}},[t("signature-preview",{attrs:{company:e.company,type:"html","custom-signature":e.company.ambassador.signature.customTemplateSignature?e.company.ambassador.signature.html:""}})],1)],1),e.company.ambassador.signature.customTemplateSignature?e._e():t(l["a"],{staticClass:"ma-2"},[t(y["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.5"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.6"))+" ")])]),t(y["a"],{attrs:{cols:"12",md:"6"}},[t(ii["a"],{staticClass:"mb-4",attrs:{value:e.company.ambassador.signature.extra,"hide-details":"",outlined:"","no-resize":""},on:{change:e.updateSignatureExtra}}),t("div",{staticClass:"w-50 d-flex justify-end"},[t(s["a"],{attrs:{outlined:"",disabled:!e.hasSignatureExtra()},on:{click:function(t){return e.updateSignatureExtra("")}}},[e._v(" "+e._s(e.$t("labels.reset"))+" ")])],1)],1)],1),e.company.ambassador.signature.customTemplateSignature?t(l["a"],{staticClass:"ma-2"},[t(y["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.7"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.8"))+" ")])]),t(y["a"],{attrs:{cols:"12",md:"6"}},[t(ii["a"],{staticClass:"mb-4",attrs:{value:e.company.ambassador.signature.html,"hide-details":"",outlined:"","no-resize":""},on:{change:e.updateSignatureHTML}})],1)],1):e._e(),e.company.ambassador.signature.customTemplateSignature?t(l["a"],{staticClass:"ma-2"},[t(y["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.9"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.10"))+" ")])]),t(y["a"],{attrs:{cols:"12",md:"6"}},[t("signature-preview",{attrs:{company:e.company,type:"html","custom-signature":e.company.ambassador.signature.customTemplateSignature?e.company.ambassador.signature.html:""}})],1)],1):e._e(),e.company.ambassador.signature.customTemplateSignature?t(l["a"],{staticClass:"ma-2"},[t(y["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.11"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.12"))+" ")])]),t(y["a"],{attrs:{cols:"12",md:"6"}},[t(ii["a"],{staticClass:"mb-4",attrs:{value:e.company.ambassador.signature.text,"hide-details":"",outlined:"","no-resize":""},on:{change:e.updateSignatureText}})],1)],1):e._e(),e.company.ambassador.signature.customTemplateSignature?t(l["a"],{staticClass:"ma-2"},[t(y["a"],{attrs:{cols:"12",md:"6"}},[t("div",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.13"))+" ")]),t("div",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.email.signature-settings.body-texts.14"))+" ")])]),t(y["a"],{attrs:{cols:"12",md:"6"}},[t("signature-preview",{attrs:{company:e.company,type:"text","custom-signature":e.company.ambassador.signature.customTemplateSignature?e.company.ambassador.signature.text:""}})],1)],1):e._e()],1)},bd=[],kd=n("a363"),yd=n.n(kd),Cd=n("b0e5"),Sd=n.n(Cd),xd=n("074f"),wd=n.n(xd),Nd=n("96c6"),_d=n.n(Nd),$d=function(){var e=this,t=e._self._c;return"html"===e.type?t("div",{domProps:{innerHTML:e._s(e.defaultHtmlTemplate)}}):t("pre",{staticClass:"pre"},[e._v("  "+e._s(e.defaultTextTemplate)+"\n")])},Dd=[],Ed={props:{customSignature:{type:String,default:""},type:{type:String,default:"html"},company:{type:Object,default:function(){return{ambassador:{},links:{},address:{}}}}},computed:{defaultTextTemplate:function(){if(this.customSignature.length)return this.customSignature;var e=this.company.ambassador.name||"".concat(this.company.ambassador.firstname," ").concat(this.company.ambassador.lastname);return"\n        ".concat(e,"\n        ").concat(this.company.ambassador.role,"\n\n        ").concat(this.company.name,"\n\n\n        E-Mail: ").concat(this.company.ambassador.email,"\n\n        Telefon: ").concat(this.company.ambassador.phone,"\n\n        Website: ").concat(this.company.links.website,"\n\n        Adresse: ").concat(this.company.address.street," ").concat(this.company.address.zip," ").concat(this.company.address.city,"\n\n")},defaultHtmlTemplate:function(){var e,t,n,i,a,s,r,o,l,c,d,u;if(this.customSignature.length)return this.customSignature;var m=this.company.ambassador.name||"".concat(this.company.ambassador.firstname," ").concat(this.company.ambassador.lastname),f=this.company.ambassador.signature.extra?'<tr>\n<td align="center" style="font-size:0px;padding:0;word-break:break-word;">\n<p style="border-top:solid 2px #E6E6E6;font-size:1px;margin:0px auto;width:100%;">\n</p>\n\x3c!--[if mso | IE]>\n<table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 2px #E6E6E6;font-size:1px;margin:0px auto;width:280px;" role="presentation" width="280px" >\n<tr>\n<td style="height:0;line-height:0;"> \n</td>\n</tr>\n</table><![endif]--\x3e\n</td>\n</tr> \n<tr>\n<td align="left" style="font-size:0px;padding:5px 15px 10px 0px;word-break:break-word;">\n<div style="font-family:Arial, sans-serif;font-size:8px;line-height:1;text-align:left;color:#A1A1A1;">'.concat(this.company.ambassador.signature.extra,"</div>\n</td>\n</tr>\n"):"";return'<!doctype html>\n<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">\n  <head>\n    <title>\n      Preview\n    </title>\n    \x3c!--[if !mso]>\x3c!--\x3e\n    <meta http-equiv="X-UA-Compatible" content="IE=edge">\n    \x3c!--<![endif]--\x3e\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n    <meta name="viewport" content="width=device-width, initial-scale=1">\n    <style type="text/css">\n      #outlook a { padding:0; }\n      body { margin:0;padding:0;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%; }\n      table, td { border-collapse:collapse;mso-table-lspace:0pt;mso-table-rspace:0pt; }\n      img { border:0;height:auto;line-height:100%; outline:none;text-decoration:none;-ms-interpolation-mode:bicubic; }\n      p { display:block;margin:13px 0; }\n    </style>\n    \x3c!--[if mso]>\n    <noscript>\n    <xml>\n    <o:OfficeDocumentSettings>\n      <o:AllowPNG/>\n      <o:PixelsPerInch>96</o:PixelsPerInch>\n    </o:OfficeDocumentSettings>\n    </xml>\n    </noscript>\n    <![endif]--\x3e\n    \x3c!--[if lte mso 11]>\n    <style type="text/css">\n      .mj-outlook-group-fix { width:100% !important; }\n    </style>\n    <![endif]--\x3e\n    \n    \n    <style type="text/css">\n      @media only screen and (min-width:480px) {\n        .mj-column-per-100 { width:100% !important; max-width: 100%; }\n.mj-column-per-50 { width:50% !important; max-width: 50%; }\n      }\n    </style>\n    <style media="screen and (min-width:480px)">\n      .moz-text-html .mj-column-per-100 { width:100% !important; max-width: 100%; }\n.moz-text-html .mj-column-per-50 { width:50% !important; max-width: 50%; }\n    </style>\n    \n  \n    <style type="text/css">\n    \n    \n\n    @media only screen and (max-width:480px) {\n      table.mj-full-width-mobile { width: 100% !important; }\n      td.mj-full-width-mobile { width: auto !important; }\n    }\n  \n    </style>\n    <style type="text/css">\n    .ambassador-images { width: 80px !important; } .ambassador-text { width: 220px !important; }\n    </style>\n    \n  </head>\n  <body style="word-spacing:normal;background-color:#F4F4F4;">\n    \n    <div style="display:none;font-size:1px;color:#ffffff;line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">\n      PreHeader\n    </div>\n  \n    \n      <div\n         style="background-color:#F4F4F4;"\n      >\n        \n      \n      \x3c!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#F4F4F4" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--\x3e\n    \n      \n      <div  style="background:#F4F4F4;background-color:#F4F4F4;margin:0px auto;max-width:600px;">\n        \n        <table\n           align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F4F4F4;background-color:#F4F4F4;width:100%;"\n        >\n          <tbody>\n            <tr>\n              <td\n                 style="direction:ltr;font-size:0px;padding:5px 20px;text-align:center;"\n              >\n                \x3c!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr></tr></table><![endif]--\x3e\n              </td>\n            </tr>\n          </tbody>\n        </table>\n        \n      </div>\n    \n      \n      \x3c!--[if mso | IE]></td></tr></table><![endif]--\x3e\n    \n    \x3c!-- [ --\x3e\n      \n      \x3c!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#ffffff" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--\x3e\n    \n      \n      <div  style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:600px;">\n        \n        <table\n           align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#ffffff;background-color:#ffffff;width:100%;"\n        >\n          <tbody>\n            <tr>\n              <td\n                 style="direction:ltr;font-size:0px;padding:5px 20px;padding-bottom:0;text-align:center;"\n              >\n                \x3c!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr><td class="" style="width:560px;" ><![endif]--\x3e\n            \n      <div\n         class="mj-column-per-100 mj-outlook-group-fix" style="font-size:0;line-height:0;text-align:left;display:inline-block;width:100%;direction:ltr;"\n      >\n        \x3c!--[if mso | IE]><table border="0" cellpadding="0" cellspacing="0" role="presentation" ><tr><td style="vertical-align:top;width:280px;" ><![endif]--\x3e\n                \n      <div '.concat(null!==(e=this.company.ambassador)&&void 0!==e&&null!==(t=e.image)&&void 0!==t&&t.url||null!==(n=this.company.images)&&void 0!==n&&null!==(i=n.logo)&&void 0!==i&&i.url?"":'style="display: none',';"\n         class="mj-column-per-50 mj-outlook-group-fix ambassador-images" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:50%;"\n      >\n        \n      <table\n         border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"\n      >\n        <tbody>\n          \n              <tr  style="display: ').concat(null!==(a=this.company.ambassador)&&void 0!==a&&null!==(s=a.image)&&void 0!==s&&s.url?"unset":"none",';">\n                <td\n                   align="left" style="font-size:0px;padding:10px 25px 10px 0px;word-break:break-word;"\n                >\n                  \n      <table\n         border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;"\n      >\n        <tbody>\n          <tr>\n            <td  style="width:60px;">\n              \n      <img\n         alt="Portrait" height="60" src="').concat(null===(r=this.company.ambassador)||void 0===r||null===(o=r.image)||void 0===o?void 0:o.url,'&amp;w=120&amp;h=120" style="border:0;border-radius:50%;display:block;outline:none;text-decoration:none;height:60px;width:100%;font-size:13px;" width="60"\n      />\n    \n            </td>\n          </tr>\n        </tbody>\n      </table>\n    \n                </td>\n              </tr>\n            \n              <tr  style="display: ').concat(null!==(l=this.company.images)&&void 0!==l&&null!==(c=l.logo)&&void 0!==c&&c.url?"unset":"none",';">\n                <td\n                   align="left" style="font-size:0px;padding:10px 25px 10px 0px;word-break:break-word;"\n                >\n                  \n      <table\n         border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-collapse:collapse;border-spacing:0px;"\n      >\n        <tbody>\n          <tr>\n            <td  style="width:60px;">\n              \n      <img\n         alt="Logo" height="20" src="').concat(null===(d=this.company.images)||void 0===d||null===(u=d.logo)||void 0===u?void 0:u.url,'&amp;w=120&amp;h=40" style="border:0;display:block;outline:none;text-decoration:none;height:20px;width:100%;font-size:13px;" width="60"\n      />\n    \n            </td>\n          </tr>\n        </tbody>\n      </table>\n    \n                </td>\n              </tr>\n            \n        </tbody>\n      </table>\n    \n      </div>\n    \n              \x3c!--[if mso | IE]></td><td style="vertical-align:top;width:280px;" ><![endif]--\x3e\n                \n      <div\n         class="mj-column-per-50 mj-outlook-group-fix ambassador-text" style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:50%;"\n      >\n        \n      <table\n         border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;" width="100%"\n      >\n        <tbody>\n          \n              <tr>\n                <td\n                   align="left" style="font-size:0px;padding:0px 15px 5px 0px;word-break:break-word;"\n                >\n                  \n      <div\n         style="font-family:Arial, sans-serif;font-size:14px;line-height:22px;text-align:left;color:#2e3947;"\n><b>').concat(m,'</b></div>\n    \n                </td>\n              </tr>\n            \n              <tr>\n                <td\n                   align="left" style="font-size:0px;padding:0px 15px 10px 0px;word-break:break-word;"\n                >\n                  \n      <div\n         style="font-family:Arial, sans-serif;font-size:10px;line-height:1;text-align:left;color:#2e3947;"\n      >').concat(this.company.ambassador.role,"<br>").concat(this.company.name,'</div>\n    \n                </td>\n              </tr>\n            \n              <tr>\n                <td\n                   align="center" style="font-size:0px;padding:0;word-break:break-word;"\n                >\n                  \n      <p\n         style="border-top:solid 2px #E6E6E6;font-size:1px;margin:0px auto;width:100%;"\n      >\n      </p>\n      \n      \x3c!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" style="border-top:solid 2px #E6E6E6;font-size:1px;margin:0px auto;width:280px;" role="presentation" width="280px" ><tr><td style="height:0;line-height:0;"> &nbsp;\n</td></tr></table><![endif]--\x3e\n    \n    \n                </td>\n              </tr>\n            \n              <tr>\n                <td\n                   align="left" style="font-size:0px;padding:10px 15px 0 0px;word-break:break-word;"\n                >\n                  \n      \n      <table\n         border="0" cellpadding="0" cellspacing="0" role="presentation" style="margin:0px;"\n      >\n        <tbody>\n          \n      <tr\n        \n      >\n        <td  style="padding:4px;vertical-align:middle;">\n          <table\n             border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-radius:3px;width:10px;"\n          >\n            <tbody>\n              <tr>\n                <td  style="padding:0 10px 0 0;font-size:0;height:10px;vertical-align:middle;width:10px;">\n                  <a  href="mailto:').concat(this.company.ambassador.email,'" target="_blank">\n                    <img\n                       height="10" src="https://static.bottimmo.com/assets/email/envelope-solid/envelope.png" style="border-radius:3px;display:block;" width="10"\n                    />\n                  </a>\n                </td>\n              </tr>\n            </tbody>\n          </table>\n        </td>\n        \n          <td  style="vertical-align:middle;">\n            <a\n                 href="mailto:').concat(this.company.ambassador.email,'" style="color:#2e3947;font-size:10px;font-family:Arial, sans-serif;line-height:1;text-decoration:none;" target="_blank">\n').concat(this.company.ambassador.email,'\n            </a>\n          </td>\n          \n      </tr>\n    \n      <tr\n        \n      >\n        <td  style="padding:4px;vertical-align:middle;">\n          <table\n             border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-radius:3px;width:10px;"\n          >\n            <tbody>\n              <tr>\n                <td  style="padding:0 10px 0 0;font-size:0;height:10px;vertical-align:middle;width:10px;">\n                  <a  href="tel:').concat(this.company.ambassador.phone,'" target="_blank">\n                    <img\n                       height="10" src="https://static.bottimmo.com/assets/email/phone-solid/phone.png" style="border-radius:3px;display:block;" width="10"\n                    />\n                  </a>\n                </td>\n              </tr>\n            </tbody>\n          </table>\n        </td>\n        \n          <td  style="vertical-align:middle;">\n            <a\n                 href="tel:').concat(this.company.ambassador.phone,'" style="color:#2e3947;font-size:10px;font-family:Arial, sans-serif;line-height:1;text-decoration:none;" target="_blank">\n              ').concat(this.company.ambassador.phone,'\n            </a>\n          </td>\n          \n      </tr>\n    \n      <tr\n        \n      >\n        <td  style="padding:4px;vertical-align:middle;">\n          <table\n             border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-radius:3px;width:10px;"\n          >\n            <tbody>\n              <tr>\n                <td  style="padding:0 10px 0 0;font-size:0;height:10px;vertical-align:middle;width:10px;">\n                  <a  href="').concat(this.company.ambassador.email,'" target="_blank">\n                    <img\n                       height="10" src="https://static.bottimmo.com/assets/email/link-solid/link.png" style="border-radius:3px;display:block;" width="10"\n                    />\n                  </a>\n                </td>\n              </tr>\n            </tbody>\n          </table>\n        </td>\n        \n          <td  style="vertical-align:middle;">\n            <a\n                 href="').concat(this.company.links.website,'" style="color:#2e3947;font-size:10px;font-family:Arial, sans-serif;line-height:1;text-decoration:none;" target="_blank">\n              ').concat(this.company.links.website,'\n            </a>\n          </td>\n          \n      </tr>\n    \n      <tr\n        \n      >\n        <td  style="padding:4px;vertical-align:middle;">\n          <table\n             border="0" cellpadding="0" cellspacing="0" role="presentation" style="border-radius:3px;width:10px;"\n          >\n            <tbody>\n              <tr>\n                <td  style="padding:0 0 10px 0;font-size:0;height:10px;vertical-align:middle;width:10px;">\n                  <a  href="https://maps.google.com/?q=').concat(this.company.address.street,"+").concat(this.company.address.zip,"+").concat(this.company.address.city,'" target="_blank">\n                    <img\n                       height="10" src="https://static.bottimmo.com/assets/email/map-location-dot-solid/map.png" style="border-radius:3px;display:block;" width="10"\n                    />\n                  </a>\n                </td>\n              </tr>\n            </tbody>\n          </table>\n        </td>\n        \n          <td  style="vertical-align:middle;">\n            <a\n                 href="https://maps.google.com/?q=').concat(this.company.address.street,"+").concat(this.company.address.zip,"+").concat(this.company.address.city,'" style="color:#2e3947;font-size:10px;font-family:Arial, sans-serif;line-height:1;text-decoration:none;" target="_blank">\n').concat(this.company.address.street,"<br> ").concat(this.company.address.zip," ").concat(this.company.address.city,"\n            </a>\n          </td>\n          \n      </tr>\n    \n        </tbody>\n      </table>\n    \n    \n                </td>\n              </tr>\n          ").concat(f,'   \n        </tbody>\n      </table>\n    \n      </div>\n    \n              \x3c!--[if mso | IE]></td></tr></table><![endif]--\x3e\n      </div>\n    \n          \x3c!--[if mso | IE]></td></tr></table><![endif]--\x3e\n              </td>\n            </tr>\n          </tbody>\n        </table>\n        \n      </div>\n    \n      \n      \x3c!--[if mso | IE]></td></tr></table><![endif]--\x3e\n    \n    \x3c!-- ] --\x3e\n      \n      \x3c!--[if mso | IE]><table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:600px;" width="600" bgcolor="#F4F4F4" ><tr><td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;"><![endif]--\x3e\n    \n      \n      <div  style="background:#F4F4F4;background-color:#F4F4F4;margin:0px auto;max-width:600px;">\n        \n        <table\n           align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="background:#F4F4F4;background-color:#F4F4F4;width:100%;"\n        >\n          <tbody>\n            <tr>\n              <td\n                 style="direction:ltr;font-size:0px;padding:5px 20px;text-align:center;"\n              >\n                \x3c!--[if mso | IE]><table role="presentation" border="0" cellpadding="0" cellspacing="0"><tr></tr></table><![endif]--\x3e\n              </td>\n          </tr>\n         </tbody>\n        </table>\n        \n      </div>\n    \n      \n      \x3c!--[if mso | IE]></td></tr></table><![endif]--\x3e\n    \n    \n      </div>\n    \n  </body>\n</html>\n')}}},Od=Ed,Td=(n("6ce5"),Object(T["a"])(Od,$d,Dd,!1,null,"fbdae414",null)),Ad=Td.exports,Id={components:{SettingsCard:_["a"],SignaturePreview:Ad},mixins:[j["a"]],props:{company:{type:Object,default:function(){return{}}},refetchCompany:{type:Function,default:function(){}}},data:function(){return{isLoading:{updateSignatureExtra:!1,updateSignatureText:!1,updateSignatureHTML:!1,updateCustomTemplateSignature:!1}}},computed:{defaultSignatureAvailable:function(){return"HOPPERMATION"===this.company.mailProvider}},methods:{hasSignatureExtra:function(){return""!==this.company.ambassador.signature.extra},updateSignatureExtra:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.isLoading.updateSignatureExtra=!0,n.prev=1,n.next=4,t.$apollo.mutate({mutation:yd.a,variables:{input:{companyId:t.$auth.user.companyId,extra:e}}});case 4:t.$tracking.event("Settings",t.$tracking.trackingEvents.CLICKED,"Update Company Ambassador signature EXTRA"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.email.signature-settings.success")}),t.refetchCompany(),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.email.signature-settings.error")});case 12:return n.prev=12,t.isLoading.updateSignatureExtra=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[1,9,12,15]])})))()},updateSignatureText:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.isLoading.updateSignatureText=!0,n.prev=1,n.next=4,t.$apollo.mutate({mutation:Sd.a,variables:{input:{companyId:t.$auth.user.companyId,text:e}}});case 4:t.$tracking.event("Settings",t.$tracking.trackingEvents.CLICKED,"Update Company Ambassador signature TEXT"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.email.signature-settings.success")}),t.refetchCompany(),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.email.signature-settings.error")});case 12:return n.prev=12,t.isLoading.updateSignatureText=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[1,9,12,15]])})))()},updateSignatureHTML:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.isLoading.updateSignatureHTML=!0,n.prev=1,n.next=4,t.$apollo.mutate({mutation:wd.a,variables:{input:{companyId:t.$auth.user.companyId,html:e}}});case 4:t.$tracking.event("Settings",t.$tracking.trackingEvents.CLICKED,"Update Company Ambassador signature HTML"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.email.signature-settings.success")}),t.refetchCompany(),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.email.signature-settings.error")});case 12:return n.prev=12,t.isLoading.updateSignatureHTML=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[1,9,12,15]])})))()},updateCustomTemplateSignature:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.isLoading.updateCustomTemplateSignature=!0,n.prev=1,n.next=4,t.$apollo.mutate({mutation:_d.a,variables:{input:{companyId:t.$auth.user.companyId,customTemplateSignature:e}}});case 4:t.$tracking.event("Settings",t.$tracking.trackingEvents.CLICKED,"Update Company Ambassador signature, custom template signature"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:t.$t("alerts.settings.email.signature-settings.success")}),t.refetchCompany(),n.next=12;break;case 9:n.prev=9,n.t0=n["catch"](1),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:t.$t("alerts.settings.email.signature-settings.error")});case 12:return n.prev=12,t.isLoading.updateCustomTemplateSignature=!1,n.finish(12);case 15:case"end":return n.stop()}}),n,null,[[1,9,12,15]])})))()}}},Pd=Id,Fd=Object(T["a"])(Pd,hd,bd,!1,null,null,null),Ld=Fd.exports,Vd={components:{DomainSettings:wc,SenderSettings:ld,SalutationSettings:gd,SignatureSettings:Ld},mixins:[j["a"]],methods:{refetchCompany:function(){this.$apollo.queries.company.refetch()}},apollo:{company:{query:Ac.a,variables:function(){return{id:this.$auth.user.companyId}}}}},Rd=Vd,jd=Object(T["a"])(Rd,Jl,ec,!1,null,null,null),Ud=jd.exports,Bd=function(){var e=this,t=e._self._c;return t(v["a"],{staticClass:"layout-container pa-0"},[t("CrmSettings")],1)},Md=[],qd=n("538b"),Hd={components:{CrmSettings:qd["a"]}},zd=Hd,Gd=Object(T["a"])(zd,Bd,Md,!1,null,null,null),Wd=Gd.exports,Kd=n("4845"),Qd=function(){var e=this,t=e._self._c;return t("div",[t("MidB",{staticClass:"banner-design-elements",staticStyle:{right:"50px",top:"20px",opacity:"0.9"},attrs:{width:"150px"}}),t("Leaf",{staticClass:"banner-design-elements",staticStyle:{right:"190px",top:"30px",opacity:"0.3"},attrs:{width:"50px",stroke:"","stroke-width":1}}),t("Leaf",{staticClass:"banner-design-elements",staticStyle:{right:"220px",top:"-20px",opacity:"0.6"},attrs:{width:"80px",stroke:"","stroke-width":1}})],1)},Yd=[],Zd=n("21f1"),Xd=function(){var e=this,t=e._self._c;return t("svg",{attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 94.9 95.1","enable-background":"new 0 0 94.9 95.1","xml:space":"preserve"}},[t("gradient-helper"),t("polygon",{attrs:{fill:"none",stroke:"url(#svg-gradient)","stroke-width":"0.7","stroke-miterlimit":"10",points:"94.5,59.4 59.1,59.4 59.1,94.8,94.2,94.8"}}),t("rect",{attrs:{x:"0.3",y:"0.4",fill:"none",stroke:"url(#svg-gradient)","stroke-width":"0.7","stroke-miterlimit":"10",width:"35.4",height:"94.3"}}),t("rect",{attrs:{x:"59",y:"0.3",fill:"none",stroke:"url(#svg-gradient)","stroke-width":"0.7","stroke-miterlimit":"10",width:"35.4",height:"35.4"}})],1)},Jd=[],eu=n("2721"),tu=n("4b5a"),nu={components:{GradientHelper:tu["a"]},mixins:[eu["a"]]},iu=nu,au=Object(T["a"])(iu,Xd,Jd,!1,null,null,null),su=au.exports,ru={components:{Leaf:Zd["a"],MidB:su}},ou=ru,lu=Object(T["a"])(ou,Qd,Yd,!1,null,null,null),cu=lu.exports,du=function(){var e=this,t=e._self._c;return t(z["a"],{attrs:{"max-width":"700",scrollable:""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,a=n.attrs;return[t(s["a"],e._g(e._b({staticClass:"mx-4 mb-4 no-text-transform",class:{"btn-multiline":e.$vuetify.breakpoint.smAndDown},attrs:{elevation:"0",color:"primary",height:e.$vuetify.breakpoint.smAndDown?60:35,disabled:!e.isLastRegenerationFinished}},"v-btn",a,!1),i),[e.isLastRegenerationFinished?t("span",{staticClass:"text-wrap"},[e._v(e._s(e.$t("buttons.regenerate.generate")))]):t("span",{staticClass:"text-wrap"},[e._v(e._s(e.$t("buttons.regenerate.info")))])])]}}]),model:{value:e.dialog,callback:function(t){e.dialog=t},expression:"dialog"}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[t(J["b"],[e._v(e._s(e.$t("regenerate.title")))]),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:function(t){e.dialog=!1}}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),e.hasRegenerationLimit&&0===e.maxGenerationsPerYear?t(H["c"],{staticClass:"pa-6"},[t("p",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("regenerate.contact-us"))+" ")]),t("client-advisor",{staticClass:"mt-4 ma-lg-6",attrs:{company:e.company}})],1):t(H["c"],{staticClass:"pa-6"},[t("p",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("regenerate.subtitle"))+" ")]),t("Feature",{attrs:{"feature-slug":e.featureNames.BILLWERK},scopedSlots:e._u([{key:"inactive",fn:function(){return[e.hasRegenerationLimit?t("p",{domProps:{innerHTML:e._s(e.$t("regenerate.generation-limit",{max:e.maxGenerationsPerYear}))}}):e._e()]},proxy:!0}])},[[t("div",[t("p",[e._v(e._s(e.$t("regenerate.body-texts.0"))+":")]),t("div",{staticClass:"pb-3 text-center font-weight-bold"},[e._v(" "+e._s(e.$t("regenerate.body-texts.1"))+": "),t("span",{staticClass:"pl-3 text-center font-weight-bold text-h6"},[e._v(" "+e._s(e.regenerationConditions.included?0:e.regenerationConditions.price.value)+" "+e._s(e.regenerationConditions.price.currency)+" ")])]),"EXPERT"===e.company.productType&&e.regenerationConditions.included?t("p",[t("strong",[e._v(e._s(e.$t("labels.caution"))+":")]),t("br"),e._v(" "+e._s(e.$t("regenerate.regeneration-included-text"))+" "+e._s(e.regenerationConditions.price.value)+" "+e._s(e.regenerationConditions.price.currency)+". ")]):e._e(),"EXPERT"!==e.company.productType||e.regenerationConditions.included?e._e():t("p",[t("strong",[e._v(e._s(e.$t("labels.caution"))+":")]),t("br"),e._v(" "+e._s(e.$t("regenerate.regeneration-not-included-text",{value:e.regenerationConditions.price.value,currency:e.regenerationConditions.price.currency}))+" ")]),"BASIC"===e.company.productType?t("p",[t("strong",[e._v(e._s(e.$t("labels.caution"))+":")]),t("br"),e._v(" "+e._s(e.$t("regenerate.basic-text-price",{value:e.regenerationConditions.price.value,currency:e.regenerationConditions.price.currency}))+" ")]):e._e(),t("p",[e._v(e._s(e.$t("regenerate.basic-text-hint")))]),t("p",[e._v(e._s(e.$t("regenerate.basic-text-info")))])])]],2),t("p",{domProps:{innerHTML:e._s(e.$t("regenerate.generation-time",{email:e.$auth.user.email}))}}),t("p",[e._v(" "+e._s(e.$t("regenerate.generation-info"))+" ")]),t("p",[e._v(" "+e._s(e.$t("regenerate.generation-legal",{legalCompanyName:e.legalCompanyName}))+" ")]),"BASIC"!==e.company.productType?t("span",[e._v(" "+e._s(e.$t("regenerate.basic-support"))+": ")]):e._e(),t("client-advisor",{staticClass:"mt-4 ma-lg-6",attrs:{company:e.company}})],1),t(o["a"]),e.hasRegenerationLimit&&0===e.maxGenerationsPerYear?e._e():t(H["a"],[t(Z["a"]),t("div",{staticClass:"flex-column flex-lg-row"},[t(s["a"],{attrs:{text:""},on:{click:function(t){e.dialog=!1}}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(s["a"],{attrs:{text:"",color:"primary",loading:e.isLoading,disabled:e.isLoading},on:{click:e.submit}},[t("Feature",{attrs:{"feature-slug":e.featureNames.BILLWERK},scopedSlots:e._u([{key:"inactive",fn:function(){return[t("div",[e._v(" "+e._s(e.$t("buttons.regenerate.generate"))+" ")])]},proxy:!0}],null,!1,492322068)},[[t("div",[e._v(" "+e._s(e.$t("buttons.regenerate.cta"))+" ")])]],2)],1)],1)],1)],1)],1)},uu=[],mu=n("9a6a"),fu=n.n(mu),pu=n("fe84"),vu=n.n(pu),gu=n("a494"),hu=n.n(gu),bu=n("b149"),ku={components:{ClientAdvisor:bu["a"]},mixins:[se["a"],j["a"]],props:{company:{type:Object,required:!0}},data:function(){return{dialog:!1,isLoading:!1,regenerationConditions:{price:{}}}},computed:{hasRegenerationLimit:function(){var e,t;return null===(e=this.$features.feature(this.featureNames.REGENERATION))||void 0===e||null===(t=e.config)||void 0===t?void 0:t.hasLimit},maxGenerationsPerYear:function(){var e,t;return null===(e=this.$features.feature(this.featureNames.REGENERATION))||void 0===e||null===(t=e.config)||void 0===t?void 0:t.maxGenerationsPerYear},isGenerationDisabled:function(){return!this.isFeatureActive(this.featureNames.BILLWERK)&&!this.regenerationConditions.included}},apollo:{regenerationConditions:{query:vu.a,variables:function(){return{companyId:this.$auth.user.companyId}}},isLastRegenerationFinished:{query:hu.a,variables:function(){return{companyId:this.company.id}},skip:function(){return!this.company}}},methods:{submit:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.isLoading=!0,!e.isGenerationDisabled){t.next=5;break}return R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.regenerate.error-too-many")}),e.isLoading=!1,t.abrupt("return");case 5:return t.prev=5,t.next=8,e.$apollo.mutate({mutation:fu.a,variables:{companyId:e.company.id},refetchQueries:[{query:hu.a,variables:{companyId:e.company.id}}]});case 8:t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](5),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.regenerate.error")});case 13:e.isLoading=!1,e.dialog=!1;case 15:case"end":return t.stop()}}),t,null,[[5,10]])})))()}}},yu=ku,Cu=Object(T["a"])(yu,du,uu,!1,null,null,null),Su=Cu.exports,xu=function(){var e=this,t=e._self._c;return t(v["a"],{staticClass:"layout-container pa-0"},[t("UserSettings")],1)},wu=[],Nu=function(){var e,t=this,n=t._self._c;return(null===(e=t.users)||void 0===e?void 0:e.length)>0?n("SettingsCard",{attrs:{title:t.$t("settings.user.name"),subtitle:t.$t("settings.user.subtitle"),icon:"mdi-account-outline","is-default-open":!0}},[n(l["a"],{staticClass:"ma-2"},[n(y["a"],{attrs:{cols:"12",md:"5"}},[n("div",{staticClass:"font-weight-bold"},[t._v(" "+t._s(t.$t("settings.user.body-texts.0"))+" ")]),n("div",{staticClass:"grey--text mb-2"},[t._v(" "+t._s(t.$t("settings.user.body-texts.1"))+" ")]),n("div",{staticClass:"grey--text"},[t._v(" "+t._s(t.$t("settings.user.body-texts.2"))+" ")])]),n(y["a"],{attrs:{cols:"12",md:"7"}},[n("Feature",{attrs:{"feature-slug":t.featureNames.COMPANY_USER},scopedSlots:t._u([{key:"default",fn:function(e){var i,a,s,r,o=e.feature;return[n("div",{staticClass:"font-weight-bold"},[n("div",[t._v(t._s(t.$t("settings.user.active-users",{current:t.currentUsers,max:null===o||void 0===o||null===(i=o.config)||void 0===i?void 0:i.maxUsers}))),n("br")]),t.possibleUsers(null===o||void 0===o||null===(a=o.config)||void 0===a?void 0:a.maxUsers)<=0?n("div",[t._v(" "+t._s(t.$t("settings.user.no-more-users"))+" ")]):1===t.possibleUsers(null===o||void 0===o||null===(s=o.config)||void 0===s?void 0:s.maxUsers)?n("div",[t._v(" "+t._s(t.$t("settings.user.one-user"))+" ")]):n("div",[t._v(" "+t._s(t.$t("settings.user.multiple-users",{count:t.possibleUsers(null===o||void 0===o||null===(r=o.config)||void 0===r?void 0:r.maxUsers)}))+" ")])])]}}],null,!1,861991075)}),n("Feature",{attrs:{"feature-slug":t.featureNames.AUTHORIZATION},scopedSlots:t._u([{key:"inactive",fn:function(e){var i,r,o=e.feature;return[null===o||void 0===o||!o.isEnabled||null!==o&&void 0!==o&&o.isUpsellingEnabled?n("div",[n("div",{staticClass:"my-4"},[t._v(" "+t._s(t.$t("settings.user.upselling.title"))),n("br"),t._v(" "+t._s(t.$t("settings.user.upselling.subtitle"))+": ")]),n("AuthorizationBenefits"),n("div",{staticClass:"font-weight-bold my-6"},[t._v(" "+t._s(t.$t("settings.user.upselling.price",{price:null===(i=t.price)||void 0===i?void 0:i.price,currency:null===(r=t.price)||void 0===r?void 0:r.currency}))+" ")]),n("ActivateAuthPackageDialog",{attrs:{price:t.price}}),n("div",{staticClass:"caption pt-1 grey--text"},[t._v(" "+t._s(t.$t("settings.user.upselling.info"))+" ")])],1):n("div",[n(a["a"],{staticClass:"mt-4",attrs:{icon:"mdi-lightbulb-on-20",text:"",type:"info"}},[n("p",{staticClass:"ma-0 font-weight-bold"},[t._v(" "+t._s(t.$t("labels.our-tip"))+": ")]),n("div",[t._v(" "+t._s(t.$t("settings.user.expert-info"))+" ")]),n(s["a"],{staticClass:"mt-2",attrs:{color:"primary",to:"/settings/contract"},on:{click:function(e){return t.setTrackingEvent()}}},[t._v(" "+t._s(t.$t("buttons.upgrade-now.cta"))+" ")])],1)],1)]}}],null,!1,3323422300)},[[n("div",{staticClass:"my-4"},[t._v(" "+t._s(t.$t("settings.user.upselling.title"))),n("br"),n(s["a"],{staticClass:"my-2",attrs:{color:"primary",to:"/support"}},[t._v(" "+t._s(t.$t("buttons.ask-support.cta"))+" ")])],1)]],2)],1)],1),n(l["a"],{staticClass:"ma-2"},[n(y["a"],{attrs:{cols:"12",md:"5"}},[n("div",{staticClass:"font-weight-bold"},[t._v(" "+t._s(t.$t("settings.user.user-texts.0"))+" ")]),n("div",{staticClass:"grey--text"},[t._v(" "+t._s(t.$t("settings.user.user-texts.1",{readablePlatformName:t.readablePlatformName}))+" ")]),n("Feature",{attrs:{"feature-slug":t.featureNames.AUTHORIZATION}},[n("div",{staticClass:"grey--text pt-2",domProps:{innerHTML:t._s(t.$t("settings.user.user-texts.2"))}})]),t.initialUsers>3?n(a["a"],{staticClass:"mt-4 mr-10",attrs:{icon:"mdi-lightbulb-on-20",text:"",type:"info"}},[n("p",{staticClass:"ma-0"},[t._v(" "+t._s(t.$t("alerts.settings.user.check-rights"))+" ")]),n("p",{staticClass:"mt-2 mb-0"},[t._v(" "+t._s(t.$t("alerts.settings.user.info"))+" ")])]):t._e()],1),n(y["a"],{attrs:{cols:"12",md:"7"}},[n(Vt["a"],{staticClass:"mb-6",scopedSlots:t._u([{key:"default",fn:function(){var e;return[n("thead",[n("tr",[n("th",{staticClass:"text-left"},[t._v(" "+t._s(t.$t("labels.name"))+" ")]),n("Feature",{attrs:{"feature-slug":t.featureNames.AUTHORIZATION}},[n("th",{staticClass:"text-left"},[t._v(" "+t._s(t.$t("settings.user.labels.authorization"))+" ")])]),n("th",{staticClass:"text-right"})],1)]),n("tbody",[n("tr",{staticClass:"grey lighten-4"},[n("td",[t._v(t._s(t.self.firstname)+" "+t._s(t.self.lastname))]),n("Feature",{attrs:{"feature-slug":t.featureNames.AUTHORIZATION}},[n("td",[t._v(t._s(null===(e=t.self.role)||void 0===e?void 0:e.name)+" ")])]),n("td",{staticClass:"text-right"},[n("router-link",{staticClass:"px-8",attrs:{to:"/settings/profile"}},[t._v(" ("+t._s(t.$t("settings.user.labels.me"))+") ")])],1)],1),t._l(t.otherUsers,(function(e,i){var a,r,o;return n("tr",{key:e.id,class:i%2===1?"grey lighten-4":"",style:(!e.role||(null===(a=e.role)||void 0===a?void 0:a.isAssignable))&&"cursor: pointer;",on:{click:function(){return t.showEditUserDialog(e)}}},[n("td",[t._v(t._s(e.firstname)+" "+t._s(e.lastname)+" "+t._s(e.isBlocked?"[".concat(t.$t("settings.user.labels.blocked"),"]"):""))]),n("Feature",{attrs:{"feature-slug":t.featureNames.AUTHORIZATION}},[n("td",[t._v(t._s(null===(r=e.role)||void 0===r?void 0:r.name)+" ")])]),n("td",[e.id!==t.role.userId&&(!e.role||null!==(o=e.role)&&void 0!==o&&o.isAssignable)?n("div",{staticClass:"d-flex justify-end"},[n("Permission",{attrs:{permission:"user:write"}},[n(St["a"],{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(e){var i=e.on,a=e.attrs;return[n(s["a"],t._g(t._b({staticClass:"mr-6",attrs:{icon:""}},"v-btn",a,!1),i),[n(Y["a"],{attrs:{alt:t.$t("labels.edit")}},[t._v(" mdi-pencil-outline ")])],1)]}}],null,!0)},[n("span",[t._v(t._s(t.$t("labels.edit")))])])],1),n("Permission",{attrs:{permission:"user:delete"}},[n(St["a"],{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function(i){var a=i.on,r=i.attrs;return[n(s["a"],t._g(t._b({attrs:{color:"error",icon:""},on:{click:function(n){return n.stopPropagation(),function(){return t.showDeleteUserDialog(e)}.apply(null,arguments)}}},"v-btn",r,!1),a),[n(Y["a"],{attrs:{alt:t.$t("labels.remove")}},[t._v(" mdi-trash-can-outline ")])],1)]}}],null,!0)},[n("span",[t._v(t._s(t.$t("labels.remove")))])])],1)],1):t._e()])],1)}))],2)]},proxy:!0}],null,!1,2109338080)}),n("Feature",{attrs:{"feature-slug":t.featureNames.COMPANY_USER},scopedSlots:t._u([{key:"default",fn:function(e){var i,a,r=e.feature;return[n("Permission",{attrs:{permission:"user:create"}},[n("div",[n(s["a"],{staticClass:"w-full",attrs:{disabled:t.possibleUsers(null===r||void 0===r||null===(i=r.config)||void 0===i?void 0:i.maxUsers)<=0},on:{click:t.showCreateUserDialog}},[n(Y["a"],{attrs:{alt:t.$t("labels.add")}},[t._v(" mdi-plus ")]),t._v(" "+t._s(t.$t("buttons.add-user.cta"))+" ")],1),n("div",{staticClass:"caption pt-1 grey--text"},[t._v(" "+t._s(t.$t("labels.hint"))+": "+t._s(t.$t("settings.user.add-users",{max:t.possibleUsers(null===r||void 0===r||null===(a=r.config)||void 0===a?void 0:a.maxUsers)}))+" ")])],1)])]}}],null,!1,2325972939)})],1)],1),n("Feature",{attrs:{"feature-slug":t.featureNames.COMPANY_USER}},[n("UpsertUserDialog",{attrs:{show:t.showUserDialog,user:t.currentUser,create:t.create},on:{close:function(e){t.showUserDialog=!1}}})],1),n("DeleteUserDialog",{attrs:{user:t.currentUser,show:t.showUserDeleteDialog},on:{close:function(e){t.showUserDeleteDialog=!1}}})],1):t._e()},_u=[],$u=n("4935"),Du=n.n($u),Eu=n("a6b6"),Ou=n.n(Eu),Tu=function(){var e,t,n=this,i=n._self._c;return i("div",[i(z["a"],{attrs:{value:n.show,width:"550"},on:{input:function(e){return n.$emit("close")}}},[i(r["a"],[i(H["d"],{staticClass:"pa-0"},[i(X["a"],{attrs:{color:"warning",dark:"",flat:""}},[i(J["b"],[n._v(n._s(n.$t("settings.user.delete-user-dialog.title")))]),i(Z["a"]),i(J["a"],[i(s["a"],{attrs:{icon:"",dark:""},on:{click:function(e){return n.$emit("close")}}},[i(Y["a"],{attrs:{large:""}},[n._v(" mdi-close ")])],1)],1)],1)],1),i(H["c"],{staticClass:"mt-4 text-body-1"},[i("div",{staticClass:"pb-4"},[i("p",{domProps:{innerHTML:n._s(n.$t("settings.user.delete-user-dialog.body-texts.0",{firstname:n.user.firstname,lastname:n.user.lastname}))}}),(null===(e=n.leads)||void 0===e?void 0:e.total)>0?i("div",[i("p",{domProps:{innerHTML:n._s(n.$t("settings.user.delete-user-dialog.body-texts.1",{total:null===(t=n.leads)||void 0===t?void 0:t.total,firstname:n.user.firstname,lastname:n.user.lastname}))}}),i("p",[n._v(" "+n._s(n.$t("settings.user.delete-user-dialog.body-texts.2"))+": ")]),i(C["a"],{staticClass:"my-4",attrs:{height:"300",contain:"",src:"/img/leads-filter.png",alt:"Kontaktliste mit Filter"}})],1):n._e(),i("p",[n._v(" "+n._s(n.$t("settings.user.delete-user-dialog.body-texts.3"))+" ")]),i("p",[n._v(" "+n._s(n.$t("settings.user.delete-user-dialog.body-texts.4"))+" ")])])]),i(H["a"],[i(s["a"],{attrs:{text:""},on:{click:function(e){return n.$emit("close")}}},[n._v(" "+n._s(n.$t("labels.cancel"))+" ")]),i(Z["a"]),i(s["a"],{attrs:{color:"primary",disabled:n.isLoading,loading:n.isLoading,text:""},on:{click:n.deleteUser}},[n._v(" "+n._s(n.$t("settings.user.delete-user-dialog.title"))+" ")])],1)],1)],1)],1)},Au=[],Iu=n("0e8b"),Pu=n.n(Iu),Fu=n("02f3"),Lu=n.n(Fu),Vu={props:{user:{type:Object,default:function(){return{}}},show:{type:Boolean,default:!1}},data:function(){var e,t,n;return{isLoading:!1,valid:!1,id:null===(e=this.user)||void 0===e?void 0:e.id,firstname:null===(t=this.user)||void 0===t?void 0:t.firstname,lastname:null===(n=this.user)||void 0===n?void 0:n.lastname}},watch:{user:{handler:function(e){this.id=null===e||void 0===e?void 0:e.id,this.firstname=null===e||void 0===e?void 0:e.firstname,this.lastname=null===e||void 0===e?void 0:e.lastname},deep:!0}},methods:{deleteUser:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.isLoading=!0,t.next=4,e.$apollo.mutate({mutation:Lu.a,variables:{id:e.user.id},refetchQueries:[{query:Du.a,variables:{companyId:e.$auth.user.companyId}}]});case 4:e.$tracking.event("Settings",e.$tracking.trackingEvents.CLICKED,"Delete User"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.user.delete-user-dialog.success")}),e.$emit("close"),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.user.delete-user-dialog.error")});case 12:return t.prev=12,e.isLoading=!1,t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[0,9,12,15]])})))()}},apollo:{leads:{query:Pu.a,variables:function(){return{input:{companyId:this.$auth.user.companyId,page:1,itemsPerPage:1,filters:{assignedUser:this.user.id}}}}}}},Ru=Vu,ju=Object(T["a"])(Ru,Tu,Au,!1,null,null,null),Uu=ju.exports,Bu=(n("a4d3"),n("e01a"),function(){var e=this,t=e._self._c;return t("div",[t(z["a"],{attrs:{value:e.show,width:"550"},on:{input:e.close}},[t(r["a"],[t(H["d"],{staticClass:"pa-0"},[t(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[e.create?t(J["b"],[e._v(" "+e._s(e.$t("buttons.add-user.cta"))+" ")]):t(J["b"],[e._v(" "+e._s(e.$t("settings.user.upsert-user-dialog.label"))+" ")]),t(Z["a"]),t(J["a"],[t(s["a"],{attrs:{icon:"",dark:""},on:{click:e.close}},[t(Y["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(H["c"],{staticClass:"mt-6 pt-2 text-body-1 user-form"},[t("div",[t(Ke["a"],{ref:"form",on:{submit:function(t){return t.preventDefault(),e.editUser.apply(null,arguments)}},model:{value:e.valid,callback:function(t){e.valid=t},expression:"valid"}},[t(Nt["a"],{attrs:{label:e.$t("labels.first-name"),outlined:"",rules:[e.rules.required]},on:{click:function(t){return e.onClick("First Name",e.firstname)}},model:{value:e.firstname,callback:function(t){e.firstname=t},expression:"firstname"}}),t(Nt["a"],{attrs:{label:e.$t("labels.last-name"),outlined:"",rules:[e.rules.required]},on:{click:function(t){return e.onClick("Last Name",e.lastname)}},model:{value:e.lastname,callback:function(t){e.lastname=t},expression:"lastname"}}),t(Nt["a"],{attrs:{rules:[e.rules.email,e.rules.required],outlined:"",label:e.$t("labels.email"),required:""},on:{click:function(t){return e.onClick("Email",e.email)}},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}}),t("PhoneField",{attrs:{loading:e.isLoading.phone,"update-on-input":"",hint:e.$t("settings.user.upsert-user-dialog.mobile-hint")},model:{value:e.phone,callback:function(t){e.phone=t},expression:"phone"}}),t("Feature",{attrs:{"feature-slug":e.featureNames.AUTHORIZATION},scopedSlots:e._u([{key:"inactive",fn:function(){return[t("div",{staticClass:"pt-6"},[t("h3",[e._v(e._s(e.$t("settings.user.upsert-user-dialog.title")))]),t("p",{staticClass:"caption"},[e._v(" "+e._s(e.$t("settings.user.upsert-user-dialog.subtitle"))+" ")]),t(St["a"],{attrs:{top:""},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,a=n.attrs;return[t("div",e._g(e._b({},"div",a,!1),i),[t(ke["a"],{staticClass:"role-select",attrs:{"hide-details":"",disabled:""}},e._l(e.roles,(function(n){var i=n.id,a=n.name,s=n.description;return t(be["a"],{key:i,attrs:{value:i},on:{click:function(t){return e.onClick("Role",a)}},scopedSlots:e._u([{key:"label",fn:function(){return[t("div",{staticClass:"ml-2"},[t("h4",[e._v(e._s(a))]),t("p",{staticClass:"caption mb-0"},[e._v(" "+e._s(s)+" ")])])]},proxy:!0}],null,!0)})})),1)],1)]}}])},[t("span",[e._v(e._s(e.$t("settings.user.upsert-user-dialog.activation-hint")))])])],1)]},proxy:!0}])},[[t("div",{staticClass:"pt-6"},[t("h3",[e._v(e._s(e.$t("settings.user.upsert-user-dialog.title")))]),t("p",{staticClass:"caption"},[e._v(" "+e._s(e.$t("settings.user.upsert-user-dialog.subtitle"))+" ")]),t(ke["a"],{staticClass:"role-select",attrs:{"hide-details":"",rules:[e.rules.required]},model:{value:e.role,callback:function(t){e.role=t},expression:"role"}},e._l(e.roles,(function(n){var i=n.id,a=n.name,s=n.description;return t(be["a"],{key:i,attrs:{value:i},on:{click:function(t){return e.onClick("Role",a)}},scopedSlots:e._u([{key:"label",fn:function(){return[t("div",{staticClass:"ml-2"},[t("h4",[e._v(e._s(a))]),t("p",{staticClass:"caption mb-0"},[e._v(" "+e._s(s)+" ")])])]},proxy:!0}],null,!0)})})),1)],1)]],2)],1)],1)]),t(H["a"],{staticClass:"pb-4"},[t(s["a"],{attrs:{text:""},on:{click:e.close}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(Z["a"]),t(s["a"],{staticClass:"px-4 mr-2 mb-2",attrs:{color:"primary",disabled:e.isLoading,loading:e.isLoading},on:{click:e.submit}},[e._v(" "+e._s(e.create?e.$t("settings.user.upsert-user-dialog.create-account"):e.$t("labels.save"))+" ")])],1)],1)],1)],1)}),Mu=[],qu=n("2835"),Hu=n.n(qu),zu=n("a408"),Gu=n.n(zu),Wu=n("4e2f"),Ku=n.n(Wu),Qu=n("2dc8"),Yu={components:{PhoneField:it["a"],Feature:Qu["a"]},mixins:[j["a"]],props:{user:{type:Object,default:function(){return{}}},create:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},data:function(){var e,t,n,i,a,s,r;return{rules:{email:Ze["b"],required:Ze["n"]},isLoading:!1,valid:!1,defaultRole:null,id:null===(e=this.user)||void 0===e?void 0:e.id,firstname:null===(t=this.user)||void 0===t?void 0:t.firstname,lastname:null===(n=this.user)||void 0===n?void 0:n.lastname,email:null===(i=this.user)||void 0===i?void 0:i.email,role:(null===(a=this.user)||void 0===a||null===(s=a.role)||void 0===s?void 0:s.id)||this.defaultRole,phone:null===(r=this.user)||void 0===r?void 0:r.phone}},watch:{user:{handler:function(e){var t;this.id=null===e||void 0===e?void 0:e.id,this.firstname=null===e||void 0===e?void 0:e.firstname,this.lastname=null===e||void 0===e?void 0:e.lastname,this.email=null===e||void 0===e?void 0:e.email,this.role=(null===e||void 0===e||null===(t=e.role)||void 0===t?void 0:t.id)||this.defaultRole,this.phone=null===e||void 0===e?void 0:e.phone,this.$refs.form&&this.$refs.form.resetValidation()},deep:!0}},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},close:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:e.$emit("close");case 1:case"end":return t.stop()}}),t)})))()},submit:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.$refs.form.validate(),e.valid){t.next=3;break}return t.abrupt("return");case 3:if(!e.create){t.next=8;break}return t.next=6,e.createUser();case 6:t.next=10;break;case 8:return t.next=10,e.editUser();case 10:case"end":return t.stop()}}),t)})))()},editUser:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.isLoading=!0,t.next=4,e.$apollo.mutate({mutation:Hu.a,variables:{input:Object(k["a"])({id:e.user.id,firstname:e.firstname,lastname:e.lastname,email:e.email,phone:e.phone},e.isFeatureActive(e.featureNames.AUTHORIZATION)&&{role:e.role})},refetchQueries:[{query:Du.a,variables:{companyId:e.$auth.user.companyId}}]});case 4:e.$tracking.event("Settings",e.$tracking.trackingEvents.CLICKED,"Edit User"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.user.success")}),e.close(),t.next=12;break;case 9:t.prev=9,t.t0=t["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.user.error")});case 12:return t.prev=12,e.isLoading=!1,t.finish(12);case 15:case"end":return t.stop()}}),t,null,[[0,9,12,15]])})))()},createUser:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.isLoading=!0,t.next=4,e.$apollo.mutate({mutation:Gu.a,variables:{input:Object(k["a"])(Object(k["a"])({companyId:e.$auth.user.companyId,firstname:e.firstname,lastname:e.lastname,email:e.email,phone:e.phone},e.isFeatureActive(e.featureNames.AUTHORIZATION)&&{role:e.role}),{},{receiveNotificationEmails:{leadAction:!0}})},refetchQueries:[{query:Du.a,variables:{companyId:e.$auth.user.companyId}}]});case 4:e.$tracking.event("Settings",e.$tracking.trackingEvents.CLICKED,"Create User"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.user.upsert-texts.0"),texts:[e.$t("alerts.settings.user.upsert-texts.1")],time:1e4}),e.close(),e.firstname=null,e.lastname=null,e.email=null,e.role=null,e.phone=null,t.next=17;break;case 14:t.prev=14,t.t0=t["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.user.error")});case 17:return t.prev=17,e.isLoading=!1,t.finish(17);case 20:case"end":return t.stop()}}),t,null,[[0,14,17,20]])})))()}},apollo:{roles:{query:Ku.a,update:function(e){var t,n=e.roles;return this.defaultRole=this.role||(null===(t=n.find((function(e){return e.isDefault})))||void 0===t?void 0:t.id),n.filter((function(e){return e.isAssignable}))}}}},Zu=Yu,Xu=(n("5986"),Object(T["a"])(Zu,Bu,Mu,!1,null,"6d2c14a8",null)),Ju=Xu.exports,em=function(){var e,t,n,i=this,a=i._self._c;return a("div",[a(s["a"],{staticClass:"px-12 primary",on:{click:function(e){e.stopPropagation(),i.show=!0}}},[i._v(" "+i._s(i.$t("labels.activate"))+" ")]),a(z["a"],{attrs:{width:"550"},model:{value:i.show,callback:function(e){i.show=e},expression:"show"}},[a(r["a"],[a(H["d"],{staticClass:"pa-0"},[a(X["a"],{attrs:{color:"primary",dark:"",flat:""}},[a(J["b"],[i._v(i._s(i.$t("settings.user.activate-auth-package-dialog.title")))]),a(Z["a"]),a(J["a"],[a(s["a"],{attrs:{icon:"",dark:""},on:{click:function(e){i.show=!1}}},[a(Y["a"],{attrs:{large:""}},[i._v(" mdi-close ")])],1)],1)],1)],1),i.state===i.INITIAL?a(H["c"],{staticClass:"mt-4 text-body-1"},[a("div",{staticClass:"pb-4"},[a("div",{staticClass:"mb-2 font-weight-bold"},[i._v(" "+i._s(i.$t("settings.user.activate-auth-package-dialog.body-texts.0"))+" ")]),a("AuthorizationBenefits"),a("div",{staticClass:"mt-6 font-weight-bold"},[i._v(" "+i._s(i.$t("settings.user.activate-auth-package-dialog.body-texts.1"))+" ")]),a("p",{domProps:{innerHTML:i._s(i.$t("settings.user.activate-auth-package-dialog.runtime",{date:i.formatDate(null===(e=i.contractDetails)||void 0===e?void 0:e.endDateIfCancelledNow,"DATE_LONG")}))}}),a("div",{staticClass:"font-weight-bold"},[i._v(" "+i._s(i.$t("settings.user.activate-auth-package-dialog.body-texts.2"))+" ")]),a("p",[a("span",{domProps:{innerHTML:i._s(i.$t("settings.user.activate-auth-package-dialog.price",{price:null===(t=i.price)||void 0===t?void 0:t.price,currency:null===(n=i.price)||void 0===n?void 0:n.currency}))}}),a("a",{attrs:{href:"https://hilfe.bottimmo.com/portal/de/kb/articles/add-on",target:"_blank"}},[i._v(i._s(i.$t("settings.user.activate-auth-package-dialog.link")))])]),i.useIubenda?a("span",[i._v(" Es gelten im Übrigen die "),a("IubendaDocumentLink",{attrs:{type:"terms"}}),i._v(". ")],1):a("router-link",{staticClass:"no-border",attrs:{to:"/license-agreement",target:"_blank"}},[i._v(" "+i._s(i.$t("settings.user.activate-auth-package-dialog.disclaimer"))+" ")])],1)]):i._e(),i.state===i.SPINNER?a(H["c"],{staticClass:"mt-4 text-body-1"},[a("div",{staticClass:"mb-16 d-flex flex-column"},[a(he["a"],{staticClass:"mx-auto my-16",attrs:{color:"primary",width:"10",size:"150",indeterminate:""}}),a("p",{staticClass:"mx-12 my-4 text-center"},[i._v(" "+i._s(i.$t("alerts.settings.user.activate-auth-package-dialog.in-progress"))+"... ")])],1)]):i._e(),i.state===i.SUCCESS?a(H["c"],{staticClass:"mt-4 text-body-1"},[a("div",{staticClass:"mb-8 d-flex flex-column"},[a(Y["a"],{staticClass:"my-8 white",attrs:{size:"150",color:"primary"}},[i._v(" mdi-check-circle ")]),a("p",{staticClass:"mx-12 text-center",domProps:{innerHTML:i._s(i.$t("alerts.settings.user.activate-auth-package-dialog.ready"))}})],1)]):i._e(),i.state===i.INITIAL?a(H["a"],[a(s["a"],{staticClass:"mx-auto mb-8 pa-6",attrs:{color:"primary",disabled:i.isLoading,loading:i.isLoading},on:{click:i.bookAuthorization}},[i._v(" "+i._s(i.$t("buttons.activate-auth-package-dialog.cta"))+" ")])],1):i._e()],1)],1)],1)},tm=[],nm=n("ad77"),im=n.n(nm),am=function(){var e=this,t=e._self._c;return t("ul",{staticClass:"condition-list"},e._l(e.benefits,(function(n,i){return t("li",{key:i,staticClass:"my-1 d-flex align-start"},[t(Y["a"],{staticClass:"mr-2 white",attrs:{color:"primary"}},[e._v(" mdi-check-circle ")]),t("div",[e._v(e._s(e.$t(n)))])],1)})),0)},sm=[],rm=["settings.user.authorization-benefits.0","settings.user.authorization-benefits.1","settings.user.authorization-benefits.2"],om={data:function(){return{benefits:rm}}},lm=om,cm=(n("aeb3"),Object(T["a"])(lm,am,sm,!1,null,"501b3c56",null)),dm=cm.exports,um=n("85fa"),mm={INITIAL:"INITIAL",SPINNER:"SPINNER",SUCCESS:"SUCCESS"},fm={components:{AuthorizationBenefits:dm,IubendaDocumentLink:um["a"]},mixins:[Ra["a"],j["a"]],props:{price:{type:Object,default:function(){return{}}}},data:function(){return Object(k["a"])({show:!1,isLoading:!1,state:mm.INITIAL},mm)},computed:{useIubenda:function(){return this.isFeatureActive(this.featureNames.IUBENDA)}},methods:{bookAuthorization:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,e.isLoading=!0,t.next=4,e.$apollo.mutate({mutation:im.a,refetchQueries:[{query:Du.a,variables:{companyId:e.$auth.user.companyId}}]});case 4:e.state=mm.SPINNER,setTimeout((function(){e.state=mm.SUCCESS,setTimeout(Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$features.loadAllFeaturesForCompany(e.$auth.user.companyId,{reload:!0});case 2:e.$router.go(0),setTimeout((function(){e.show=!1,e.state=mm.INITIAL}),3e3);case 4:case"end":return t.stop()}}),t)}))),6e3)}),4e3),t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:"Upgrade konnte nicht gebucht werden."});case 11:return t.prev=11,e.isLoading=!1,t.finish(11);case 14:case"end":return t.stop()}}),t,null,[[0,8,11,14]])})))()}}},pm=fm,vm=Object(T["a"])(pm,em,tm,!1,null,null,null),gm=vm.exports,hm={components:{SettingsCard:_["a"],DeleteUserDialog:Uu,UpsertUserDialog:Ju,ActivateAuthPackageDialog:gm,AuthorizationBenefits:dm,Feature:Qu["a"],Permission:er["a"]},mixins:[j["a"],se["a"]],data:function(){return{users:[],currentUser:{},create:!1,showUserDialog:!1,showUserDeleteDialog:!1,isLoading:!1}},computed:{currentUsers:function(){return this.users.length},initialUsers:function(){return this.users.filter((function(e){var t;return null===(t=e.role)||void 0===t?void 0:t.isInitial})).length},otherUsers:function(){var e=this;return this.users.filter((function(t){return t.id!==e.role.userId}))},self:function(){var e=this;return this.users.find((function(t){return t.id===e.role.userId}))}},methods:{setTrackingEvent:function(){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Upgrade plan")},possibleUsers:function(e){return Math.max(0,e-this.currentUsers)},showCreateUserDialog:function(){this.create=!0,this.currentUser={},this.showUserDialog=!0,this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Create User Dialog")},showDeleteUserDialog:function(e){this.currentUser=e,this.showUserDeleteDialog=!0,this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Delete User Dialog")},showEditUserDialog:function(e){var t;(!e.role||null!==(t=e.role)&&void 0!==t&&t.isAssignable)&&this.role.isAuthorizedFor("user:write")&&(this.create=!1,this.currentUser=e,this.showUserDialog=!0,this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,"Edit User Dialog"))}},inject:["role"],apollo:{users:{query:Du.a,variables:function(){return{companyId:this.$auth.user.companyId}}},price:{query:Ou.a,variables:function(){return{slug:"roles-and-permissions"}},skip:function(){return!this.role.isAuthorizedFor("settings-subscription:read")}}}},bm=hm,km=Object(T["a"])(bm,Nu,_u,!1,null,null,null),ym=km.exports,Cm={components:{UserSettings:ym}},Sm=Cm,xm=Object(T["a"])(Sm,xu,wu,!1,null,null,null),wm=xm.exports,Nm=function(){var e=this,t=e._self._c;return e.userWithNotificationSettings?t(v["a"],{staticClass:"pa-0 layout-container"},[t("ProfileSettings"),t(o["a"],{staticClass:"my-4"}),t("Feature",{attrs:{"feature-slug":e.featureNames.I18N}},[t("div",[t("LanguageSettings"),t(o["a"],{staticClass:"my-4"})],1)]),t("NotificationSettings",{attrs:{user:e.userWithNotificationSettings,"refetch-user":e.refetchUser,company:e.company}})],1):e._e()},_m=[],$m=n("6e84"),Dm=n.n($m),Em=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.profile.title"),subtitle:e.$t("settings.profile.subtitle",{readablePlatformName:e.readablePlatformName}),"is-default-open":!1}},[t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.profile.body-texts.0"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.profile.body-texts.1",{readablePlatformName:e.readablePlatformName}))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t(Ke["a"],{ref:"userDataForm",model:{value:e.isFormValid,callback:function(t){e.isFormValid=t},expression:"isFormValid"}},[t(v["a"],{staticClass:"ma-0 pa-0"},[t(l["a"],[t(y["a"],[t(Nt["a"],{attrs:{outlined:"",label:e.$t("labels.first-name"),loading:e.isLoading.firstname,rules:[e.rules.required]},on:{click:function(t){return e.onClick("First Name",e.user.firstname)},input:function(t){return e.update("firstname",t)}},model:{value:e.user.firstname,callback:function(t){e.$set(e.user,"firstname",t)},expression:"user.firstname"}})],1)],1),t(l["a"],[t(y["a"],[t(Nt["a"],{attrs:{outlined:"",label:e.$t("labels.last-name"),loading:e.isLoading.lastname,rules:[e.rules.required]},on:{click:function(t){return e.onClick("Last Name",e.user.lastname)},input:function(t){return e.update("lastname",t)}},model:{value:e.user.lastname,callback:function(t){e.$set(e.user,"lastname",t)},expression:"user.lastname"}})],1)],1)],1)],1)],1)],1),t(o["a"]),t(l["a"],{staticClass:"mt-4"},[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.profile.body-texts.2"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.profile.body-texts.3",{readablePlatformName:e.readablePlatformName}))),t("br"),t("b",[e._v(e._s(e.$t("labels.caution"))+":")]),e._v(" "+e._s(e.$t("settings.profile.body-texts.4"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[e.showAlert?t(a["a"],{attrs:{icon:"mdi-lock",type:"warning",text:""}},[e._v(" "+e._s(e.$t("alerts.settings.profile.confirm",{email:e.emailChangeRequest.newEmail}))+" ")]):e._e(),t(Ke["a"],{on:{submit:function(t){return t.preventDefault(),e.submitEmailChangeRequest.apply(null,arguments)}},model:{value:e.valid,callback:function(t){e.valid=t},expression:"valid"}},[t(v["a"],{staticClass:"ma-0 pa-0"},[t(l["a"],[t(y["a"],[t(Nt["a"],{attrs:{label:e.$t("labels.email"),outlined:"",rules:[e.rules.email,e.rules.required]},on:{click:function(t){return e.onClick("E-Mail Address",e.user.email)}},model:{value:e.user.email,callback:function(t){e.$set(e.user,"email",t)},expression:"user.email"}})],1)],1)],1),t(y["a"],{staticClass:"text-right ma-0 pa-0"},[t(s["a"],{attrs:{type:"submit",disabled:!e.isDirty("email"),color:"primary",right:""}},[e._v(" "+e._s(e.$t("buttons.settings.profile.cta"))+" ")])],1)],1)],1)],1)],1)])},Om=[],Tm=n("039a"),Am=n.n(Tm),Im=n("826c"),Pm=n.n(Im),Fm=n("194d"),Lm=n.n(Fm),Vm=n("f969"),Rm=n.n(Vm),jm={components:{SettingsCard:_["a"]},mixins:[se["a"]],data:function(){return{originalUser:null,user:{firstname:this.$auth.user.given_name,lastname:this.$auth.user.family_name,email:this.$auth.user.email},rules:{email:Ze["b"],required:Ze["n"]},error:"",emailChangeRequest:{hasSendRequest:!1,newEmail:""},valid:!1,debounceTimeout:null,spinnerTimeout:null,isLoading:{firstname:!1,lastname:!1},isFormValid:!1}},computed:{showAlert:function(){return this.emailChangeRequest.hasSendRequest}},unmounted:function(){clearTimeout(this.spinnerTimeout),clearTimeout(this.debounceTimeout)},mounted:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.fetchOriginalUser();case 2:return t.next=4,e.checkEmailChangeRequestExists();case 4:case"end":return t.stop()}}),t)})))()},methods:{onClick:function(e,t){this.$tracking.event("Settings",this.$tracking.trackingEvents.CLICKED,e,t)},update:function(e,t){var n=this;return Object(N["a"])(regeneratorRuntime.mark((function i(){return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:n.user[e]=t,clearTimeout(n.debounceTimeout),n.debounceTimeout=setTimeout((function(){n.isLoading[e]=!0,n.spinnerTimeout=setTimeout(Object(N["a"])(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,n.$refs.userDataForm.validate();case 2:i=t.sent,i&&n.submit(),n.isLoading[e]=!1;case 5:case"end":return t.stop()}}),t)}))),1e3)}),2e3);case 3:case"end":return i.stop()}}),i)})))()},isDirty:function(e){return this.originalUser&&this.user[e]!==this.originalUser[e]},fetchOriginalUser:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$apollo.query({query:Rm.a,skip:function(){return this.$auth.loading||!this.$auth.isAuthenticated}});case 3:n=t.sent,i=n.data,e.originalUser=i.identity.user,t.next=11;break;case 8:t.prev=8,t.t0=t["catch"](0),e.error=t.t0;case 11:case"end":return t.stop()}}),t,null,[[0,8]])})))()},checkEmailChangeRequestExists:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$apollo.query({query:Lm.a,variables:{id:e.originalUser.id}});case 3:n=t.sent,i=n.data,e.$tracking.event("Settings",e.$tracking.trackingEvents.EDITED,"Change Email Address Request Exists"),e.emailChangeRequest.newEmail=i.newEmail,e.emailChangeRequest.hasSendRequest=!!e.emailChangeRequest.newEmail,t.next=13;break;case 10:t.prev=10,t.t0=t["catch"](0),e.error=t.t0;case 13:case"end":return t.stop()}}),t,null,[[0,10]])})))()},submit:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){var n,i,a,s,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(n=e.user.firstname!==e.originalUser.firstname,i=e.user.lastname!==e.originalUser.lastname,!n&&!i){t.next=21;break}return a=n?e.user.firstname:e.originalUser.firstname,s=i?e.user.lastname:e.originalUser.lastname,r=e.originalUser.id,t.prev=6,t.next=9,e.$apollo.mutate({mutation:Pm.a,variables:{input:{id:r,firstname:a,lastname:s}}});case 9:e.$tracking.event("Settings",e.$tracking.trackingEvents.EDITED,"Update User Profile"),e.$auth.user.given_name=a,e.$auth.user.family_name=s,e.originalUser.firstname=a,e.originalUser.lastname=s,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.profile.success")}),t.next=21;break;case 17:t.prev=17,t.t0=t["catch"](6),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.profile.error")}),e.error=t.t0;case 21:case"end":return t.stop()}}),t,null,[[6,17]])})))()},submitEmailChangeRequest:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.user.email===e.$auth.user.email){t.next=15;break}return t.prev=1,t.next=4,e.$apollo.mutate({mutation:Am.a,variables:{input:{id:e.originalUser.id,newEmail:e.user.email}}});case 4:n=t.sent,i=n.data,e.$tracking.event("Settings",e.$tracking.trackingEvents.EDITED,"Email Address Change Request"),e.emailChangeRequest.newEmail=i.newEmail,e.emailChangeRequest.hasSendRequest=!!e.emailChangeRequest.newEmail,e.user.email=e.originalUser.email,t.next=15;break;case 12:t.prev=12,t.t0=t["catch"](1),e.error=t.t0;case 15:case"end":return t.stop()}}),t,null,[[1,12]])})))()}}},Um=jm,Bm=Object(T["a"])(Um,Em,Om,!1,null,null,null),Mm=Bm.exports,qm=function(){var e=this,t=e._self._c;return e.user.notificationSettings?t("SettingsCard",{attrs:{title:e.$t("settings.notification.title"),subtitle:e.$t("settings.notification.subtitle"),icon:"mdi-bell-ring","is-default-open":!1}},[t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.notification.body-texts.0"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.notification.body-texts.1"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t(Ke["a"],{ref:"phoneForm",on:{submit:function(t){return t.preventDefault(),e.submit()},change:function(t){e.error=""}},model:{value:e.isFormValid,callback:function(t){e.isFormValid=t},expression:"isFormValid"}},[t("div",{staticClass:"justify-center d-flex mb-sm-0"},[t("PhoneField",{attrs:{disabled:!e.hasMobileNotifications,loading:e.isLoading.phone,"update-on-input":""},model:{value:e.notificationPhone,callback:function(t){e.notificationPhone=t},expression:"notificationPhone"}})],1)])],1)],1),t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.notification.body-texts.2"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.notification.body-texts.2"))+" ")])])]),t(y["a"],{staticClass:"d-flex justify-end",class:{"justify-center px-0":e.$vuetify.breakpoint.smAndDown},attrs:{cols:"12",sm:"6"}},[t("div",{staticClass:"w-full"},[t(l["a"],[t(y["a"],{attrs:{cols:"12",sm:"8"}}),t(y["a"],{staticClass:"justify-center d-flex",attrs:{cols:"6",sm:"2"}},[t("div",{staticClass:"d-flex flex-column align-center"},[t("div",{staticClass:"subtitle-2"},[e._v(" "+e._s(e.$t("settings.notification.options.0"))+" ")]),t(Y["a"],[e._v(" mdi-email-outline ")])],1)]),t(y["a"],{staticClass:"justify-center d-flex",attrs:{cols:"6",sm:"2"}},[t("div",{staticClass:"d-flex flex-column align-center"},[t("div",{staticClass:"subtitle-2"},[e._v(" "+e._s(e.$t("settings.notification.options.1"))+" ")]),t(Y["a"],[e._v(" mdi-phone-message ")])],1)])],1),t("Feature",{attrs:{"feature-slug":e.featureNames.LEAD}},[t("div",[t(l["a"],[t(y["a"],{attrs:{cols:"12",sm:"8"}},[e._v(" "+e._s(e.$t("settings.notification.option-new"))+" "),e.user.notificationSettings.newConversion.email||e.user.notificationSettings.newConversion.sms?e._e():t(St["a"],{attrs:{top:"",color:"warning"},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,a=n.attrs;return[t(Y["a"],e._g(e._b({attrs:{color:"warning",dark:""}},"v-icon",a,!1),i),[e._v(" mdi-alert-circle ")])]}}],null,!1,2840130040)},[t("span",[e._v(e._s(e.$t("settings.notification.no-notifications")))])])],1),t(y["a"],{staticClass:"justify-center d-flex",attrs:{cols:"6",sm:"2"}},[t(S["a"],{attrs:{loading:e.isLoading.newConversion.email},on:{change:function(t){return e.saveSettings("newConversion","email")}},model:{value:e.user.notificationSettings.newConversion.email,callback:function(t){e.$set(e.user.notificationSettings.newConversion,"email",t)},expression:"user.notificationSettings.newConversion.email"}})],1),t(y["a"],{staticClass:"justify-center d-flex",attrs:{cols:"6",sm:"2"}},[t(S["a"],{attrs:{disabled:!e.hasValidPhone||!e.hasMobileNotifications,loading:e.isLoading.newConversion.sms},on:{change:function(t){return e.saveSettings("newConversion","sms")}},model:{value:e.user.notificationSettings.newConversion.sms,callback:function(t){e.$set(e.user.notificationSettings.newConversion,"sms",t)},expression:"user.notificationSettings.newConversion.sms"}})],1)],1),t(l["a"],[t(y["a"],{attrs:{cols:"12",sm:"8"}},[e._v(" "+e._s(e.$t("settings.notification.option-assigned"))+" "),e.user.notificationSettings.leadAssigned.email||e.user.notificationSettings.leadAssigned.sms?e._e():t(St["a"],{attrs:{top:"",color:"warning"},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,a=n.attrs;return[t(Y["a"],e._g(e._b({attrs:{color:"warning",dark:""}},"v-icon",a,!1),i),[e._v(" mdi-alert-circle ")])]}}],null,!1,2840130040)},[t("span",[e._v(e._s(e.$t("settings.notification.no-notifications")))])])],1),t(y["a"],{staticClass:"justify-center d-flex",attrs:{cols:"6",sm:"2"}},[t(S["a"],{attrs:{loading:e.isLoading.leadAssigned.email},on:{change:function(t){return e.saveSettings("leadAssigned","email")}},model:{value:e.user.notificationSettings.leadAssigned.email,callback:function(t){e.$set(e.user.notificationSettings.leadAssigned,"email",t)},expression:"user.notificationSettings.leadAssigned.email"}})],1),t(y["a"],{staticClass:"justify-center d-flex",attrs:{cols:"6",sm:"2"}},[t(S["a"],{attrs:{disabled:!e.hasValidPhone||!e.hasMobileNotifications,loading:e.isLoading.leadAssigned.sms},on:{change:function(t){return e.saveSettings("leadAssigned","sms")}},model:{value:e.user.notificationSettings.leadAssigned.sms,callback:function(t){e.$set(e.user.notificationSettings.leadAssigned,"sms",t)},expression:"user.notificationSettings.leadAssigned.sms"}})],1)],1)],1)]),t("Feature",{attrs:{"feature-slug":e.featureNames.TODO}},[t(l["a"],[t(y["a"],{staticClass:"d-flex",attrs:{sm:"8",cols:"12"}},[t("div",[e._v(" "+e._s(e.$t("settings.notification.option-update"))+" "),t("div",{staticClass:"grey--text caption mt-n1"},[e._v(" "+e._s(e.$t("settings.notification.option-update-subtitle"))+" ")])])]),t(y["a"],{staticClass:"justify-center d-flex",attrs:{cols:"12",sm:"2"}},[t(S["a"],{attrs:{loading:e.isLoading.reminder.email},on:{change:function(t){return e.saveSettings("reminder","email")}},model:{value:e.user.notificationSettings.reminder.email,callback:function(t){e.$set(e.user.notificationSettings.reminder,"email",t)},expression:"user.notificationSettings.reminder.email"}})],1)],1)],1),t("Feature",{attrs:{"feature-slug":e.featureNames.NOTIFICATIONS},scopedSlots:e._u([{key:"default",fn:function(n){var i=n.feature;return[i.config.hasGeneralNotifications?t(l["a"],[t(y["a"],{staticClass:"d-flex",attrs:{sm:"8",cols:"12"}},[t("div",[e._v(" "+e._s(e.$t("settings.notification.option-overall"))+" "),t("div",{staticClass:"grey--text caption mt-n1"},[e._v(" "+e._s(e.$t("settings.notification.option-overall-subtitle",{readablePlatformName:e.readablePlatformName}))+" ")])]),e.user.notificationSettings.news.email?e._e():t(St["a"],{attrs:{top:"",color:"warning"},scopedSlots:e._u([{key:"activator",fn:function(n){var i=n.on,a=n.attrs;return[t(Y["a"],e._g(e._b({staticClass:"pl-2",attrs:{color:"warning",dark:""}},"v-icon",a,!1),i),[e._v(" mdi-alert-circle ")])]}}],null,!0)},[t("span",[e._v(e._s(e.$t("settings.notification.no-notifications")))])])],1),t(y["a"],{staticClass:"justify-center d-flex",attrs:{cols:"12",sm:"2"}},[t(S["a"],{attrs:{loading:e.isLoading.news.email},on:{change:function(t){return e.saveSettings("news","email")}},model:{value:e.user.notificationSettings.news.email,callback:function(t){e.$set(e.user.notificationSettings.news,"email",t)},expression:"user.notificationSettings.news.email"}})],1)],1):e._e()]}}],null,!1,3104808942)})],1)])],1)],1),t(a["a"],{staticClass:"ma-0 mt-4 mb-6",attrs:{icon:"mdi-lightbulb-on-20",prominent:"",text:"",type:"info"}},[t("p",{staticClass:"ma-0 font-weight-bold"},[e._v(" "+e._s(e.$t("labels.hint"))+": ")]),e.hasMobileNotifications?t("ul",{staticStyle:{"list-style":"disc"}},[t("li",[e._v(e._s(e.$t("alerts.settings.notification.info")))]),t("li",[e._v(e._s(e.$t("alerts.settings.notification.info-platform",{readablePlatformName:e.readablePlatformName})))])]):t("div",{staticClass:"d-flex flex-md-row flex-column justify-space-between align-center"},[t("span",{class:{"w-full mt-4":e.$vuetify.breakpoint.smAndDown,"ml-4":e.$vuetify.breakpoint.mdAndUp}},[e._v(" "+e._s(e.$t("alerts.settings.notification.info-product"))+" ")]),e.showUpgradeButton?t("Permission",{attrs:{permission:"subscription:change"}},[t("Feature",{attrs:{"feature-slug":e.featureNames.CHANGE_SUBSCRIPTION}},[t(s["a"],{class:{"w-full mt-4":e.$vuetify.breakpoint.smAndDown,"mr-4":e.$vuetify.breakpoint.mdAndUp},attrs:{color:"info"},on:{click:function(t){e.isUpgradeDialogOpen=!0}}},[e._v(" "+e._s(e.$t("buttons.upgrade-now.cta"))+" ")])],1)],1):e._e()],1)]),t("ChangeSubscription",{attrs:{dialog:e.isUpgradeDialogOpen,"current-package":"LIGHT",company:e.company,"hide-downgrade":!0},on:{close:function(t){e.isUpgradeDialogOpen=!1}}})],1):e._e()},Hm=[],zm=n("c66e"),Gm=n.n(zm),Wm=n("074c"),Km=n.n(Wm),Qm={components:{SettingsCard:_["a"],PhoneField:it["a"],ChangeSubscription:Js,Permission:er["a"]},mixins:[se["a"],j["a"]],props:{company:{type:Object,default:function(){return{}}},user:{type:Object,default:function(){return{}}},refetchUser:{type:Function,default:function(){}}},data:function(){return{notificationPhone:this.user.phone,isFormValid:!1,spinnerTimeout:null,debounceTimeout:null,isUpgradeDialogOpen:!1,isLoading:{leadAssigned:{sms:!1,mail:!1},newConversion:{sms:!1,mail:!1},news:{mail:!1},reminder:{mail:!1},phone:!1}}},computed:{isPhoneDirty:function(){return this.notificationPhone&&this.user.phone!==this.notificationPhone},hasValidPhone:function(){return this.user.phone&&this.user.phone.length>0},hasMobileNotifications:function(){return this.getFeature(this.featureNames.NOTIFICATIONS).config.hasMobileNotifications},showUpgradeButton:function(){return!this.isPlatformMarkero}},watch:{notificationPhone:function(){var e=this;clearTimeout(this.debounceTimeout),this.debounceTimeout=setTimeout((function(){e.isLoading.phone=!0,e.spinnerTimeout=setTimeout((function(){e.submit()}),1e3)}),2e3)}},methods:{saveSettings:function(e,t){var n=this;return Object(N["a"])(regeneratorRuntime.mark((function i(){var a;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return n.isLoading[e][t]=!0,a=n.user.notificationSettings[e][t],i.prev=2,i.next=5,n.$apollo.mutate({mutation:Gm.a,variables:{input:{notification:e,source:t,enabled:a}}});case 5:n.spinnerTimeout=setTimeout((function(){n.refetchUser(),n.isLoading[e][t]=!1,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:n.$t("alerts.settings.notification.success")})}),1e3),i.next=11;break;case 8:i.prev=8,i.t0=i["catch"](2),n.spinnerTimeout=setTimeout((function(){n.refetchUser(),n.isLoading[e][t]=!1,R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:n.$t("alerts.settings.notification.error")})}),1e3);case 11:case"end":return i.stop()}}),i,null,[[2,8]])})))()},submit:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.$refs.phoneForm.validate()){t.next=14;break}return t.prev=1,t.next=4,e.$apollo.mutate({mutation:Km.a,variables:{input:{phone:e.notificationPhone}}});case 4:e.isLoading.phone=!1,e.refetchUser(),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.settings.notification.success-mobile")}),t.next=14;break;case 9:t.prev=9,t.t0=t["catch"](1),"INVALID_PHONE_ERROR"===(null===(n=t.t0.graphQLErrors)||void 0===n||null===(i=n[0])||void 0===i?void 0:i.message)?R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.notification.error-mobile")}):R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.settings.notification.error")}),e.refetchUser(),e.isLoading.phone=!1;case 14:case"end":return t.stop()}}),t,null,[[1,9]])})))()}},unmounted:function(){clearTimeout(this.spinnerTimeout),clearTimeout(this.debounceTimeout)}},Ym=Qm,Zm=(n("2998"),Object(T["a"])(Ym,qm,Hm,!1,null,"43f45ceb",null)),Xm=Zm.exports,Jm=function(){var e=this,t=e._self._c;return t("SettingsCard",{attrs:{title:e.$t("settings.language.title"),subtitle:e.$t("settings.language.subtitle",{readablePlatformName:e.readablePlatformName}),"is-default-open":!1}},[t("div",{staticClass:"pa-4"},[t(l["a"],[t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("div",[t("span",{staticClass:"font-weight-bold"},[e._v(" "+e._s(e.$t("settings.language.body-texts.0"))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.language.body-texts.1",{readablePlatformName:e.readablePlatformName}))),t("br")]),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.language.body-texts.2"))+" ")]),t("span",{staticStyle:{"text-decoration":"underline",color:"forestgreen"}},[t("router-link",{attrs:{to:"/settings/company"}},[e._v(e._s(e.$t("settings.language.body-texts.3")))])],1),t("span",{staticClass:"grey--text"},[e._v(" "+e._s(e.$t("settings.language.body-texts.4"))+" ")])])]),t(y["a"],{staticClass:"px-0 px-md-2",attrs:{cols:"12",sm:"6"}},[t("LanguageSwitch")],1)],1)],1)])},ef=[],tf=function(){var e=this,t=e._self._c;return t("div",[t(sn["a"],{attrs:{outlined:"",value:this.$i18n.locale,items:e.availableLocales},on:{change:e.changeLocale},scopedSlots:e._u([{key:"item",fn:function(t){return[e._v(" "+e._s(e.$t("language.".concat(t.item)))+" ")]}},{key:"selection",fn:function(t){return[e._v(" "+e._s(e.$t("language.".concat(t.item)))+" ")]}}])})],1)},nf=[],af=n("12cb"),sf=n("7539"),rf=n.n(sf),of=af["a"].availableLocales,lf=af["a"].changeLocale,cf={computed:{availableLocales:function(){var e=this.$features.feature("i18n");return of.filter((function(t){var n,i;return null===e||void 0===e||null===(n=e.config)||void 0===n||null===(i=n.availableLocales)||void 0===i?void 0:i.includes(t)}))}},methods:{changeLocale:function(e){var t=this;return Object(N["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return t.$tracking.event("Settings",t.$tracking.trackingEvents.CLICKED,"Change Locale"),lf(e),n.next=4,t.updateUser();case 4:case"end":return n.stop()}}),n)})))()},updateUser:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$apollo.mutate({mutation:rf.a,variables:{input:{appLocale:e.$i18n.locale}}});case 3:e.$tracking.event("Settings",e.$tracking.trackingEvents.EDITED,"Update User"),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("alerts.language-switch.success")}),t.next=10;break;case 7:t.prev=7,t.t0=t["catch"](0),R["a"].$emit(R["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("alerts.language-switch.error")});case 10:case"end":return t.stop()}}),t,null,[[0,7]])})))()}}},df=cf,uf=(n("53b6"),Object(T["a"])(df,tf,nf,!1,null,"3a6d562d",null)),mf=uf.exports,ff={components:{SettingsCard:_["a"],LanguageSwitch:mf},mixins:[se["a"]]},pf=ff,vf=Object(T["a"])(pf,Jm,ef,!1,null,null,null),gf=vf.exports,hf={components:{NotificationSettings:Xm,LanguageSettings:gf,ProfileSettings:Mm},mixins:[j["a"]],data:function(){return{userWithNotificationSettings:null}},methods:{refetchUser:function(){var e=this;return Object(N["a"])(regeneratorRuntime.mark((function t(){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$apollo.query({query:Dm.a,fetchPolicy:"no-cache"});case 2:n=t.sent,i=n.data.userWithNotificationSettings,e.userWithNotificationSettings=i;case 5:case"end":return t.stop()}}),t)})))()}},apollo:{userWithNotificationSettings:{query:Dm.a,fetchPolicy:"no-cache"},company:{query:ar.a,variables:function(){return{id:this.$auth.user.companyId}}}}},bf=hf,kf=Object(T["a"])(bf,Nm,_m,!1,null,null,null),yf=kf.exports,Cf={components:{FunctionalSettings:Xt,CompanySettings:Aa,AccountSettings:Cl,PaymentSettings:Xl,EmailSettings:Ud,CrmSettings:Wd,BaseHeader:Kd["a"],HeaderDesign:cu,Permission:er["a"],Regenerate:Su},mixins:[j["a"]],data:function(){return{section:null,pendingChangesForRegeneration:{},sectionConfig:[{path:"company",name:"settings.company.name",permission:"settings-company:read",component:Aa},{path:"features",name:"settings.features.name",permission:"settings-features:read",component:Xt},{path:"email",name:"settings.email.name",permission:"settings-email:read",feature:ie["a"].HOPPERMATION,component:Ud},{path:"crm",name:"settings.crm.name",permission:"settings-crm:read",feature:ie["a"].CRM,component:Wd},{path:"user",name:"settings.user.name",permission:"settings-user:read",component:wm},{path:"profile",name:"settings.profile.name",permission:"profile:read",component:yf},{path:"payment",name:"settings.payment.name",permission:"settings-subscription:read",feature:ie["a"].BILLWERK,component:Xl},{path:"contract",name:"settings.contract.name",permission:"settings-subscription:read",feature:ie["a"].BILLWERK,component:Cl}]}},inject:["role"],computed:{sections:function(){var e=this;return this.sectionConfig.filter((function(e){var t=e.show;return void 0===t||t()})).filter((function(t){var n=t.permission;return e.role.isAuthorizedFor(n)})).filter((function(t){var n=t.feature;return void 0===n||e.isFeatureActive(n)}))},paths:function(){return this.sections.map((function(e){return e.path}))},showRegeneration:function(){return this.isFeatureActive(this.featureNames.REGENERATION)&&Object.keys(this.pendingChangesForRegeneration).length>0}},watch:{section:function(e){this.paths[e]!==this.$route.params.section&&this.$router.replace("/settings/"+this.paths[e]||!1)},$route:function(){var e=this.paths.indexOf(this.$route.params.section);this.section=e>0?e:0}},created:function(){var e=this.paths.indexOf(this.$route.params.section);this.section=e>0?e:0},apollo:{company:{query:ar.a,variables:function(){return{id:this.$auth.user.companyId}}},pendingChangesForRegeneration:{query:_n.a,variables:function(){return{companyId:this.$auth.user.companyId}},skip:function(){return!this.role.isAuthorizedFor("settings-company:read")}}}},Sf=Cf,xf=Object(T["a"])(Sf,f,p,!1,null,null,null);t["default"]=xf.exports},8965:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"deleteSocialMediaConnection"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"SocialMediaType"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"deleteSocialMediaConnection"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:113}};n.loc.source={body:"mutation deleteSocialMediaConnection ($input: SocialMediaType!) {\n  deleteSocialMediaConnection (input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["deleteSocialMediaConnection"]=r(n,"deleteSocialMediaConnection")},8987:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"downgradeToLight"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DowngradeToLightInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"downgradeToLight"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:95}};n.loc.source={body:"mutation downgradeToLight($input: DowngradeToLightInput!) {\n  downgradeToLight(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["downgradeToLight"]=r(n,"downgradeToLight")},"89ff":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"saveFlowfactSelectedContactStatuses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FlowfactSelectedContactStatusesInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"config"},name:{kind:"Name",value:"saveFlowfactSelectedContactStatuses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isTokenVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"selectedContactStatusIds"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:222}};n.loc.source={body:"mutation saveFlowfactSelectedContactStatuses($input: FlowfactSelectedContactStatusesInput!) {\n  config: saveFlowfactSelectedContactStatuses(input: $input) {\n    token\n    isTokenVerified\n    selectedContactStatusIds\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["saveFlowfactSelectedContactStatuses"]=r(n,"saveFlowfactSelectedContactStatuses")},"8b37":function(e,t,n){},"8ba4":function(e,t,n){"use strict";var i=n("23e7"),a=n("eac5");i({target:"Number",stat:!0},{isInteger:a})},"8c69":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateSettingsPostalShipping"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PostalShippingInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updatePostalShippingSettings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"lead"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"postalShipping"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"allGuides"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"activeLandingpages"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:230}};n.loc.source={body:"mutation UpdateSettingsPostalShipping ($input: PostalShippingInput!) {\n  updatePostalShippingSettings (input: $input) {\n    lead{\n      postalShipping {\n        type\n        allGuides\n        activeLandingpages\n      }\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["UpdateSettingsPostalShipping"]=r(n,"UpdateSettingsPostalShipping")},"8e41":function(e,t,n){"use strict";var i=n("8336"),a=n("b0af"),s=n("99d9"),r=n("169a"),o=n("ce7e"),l=n("132d"),c=n("2fa4"),d=n("71d9"),u=n("2a7f"),m=function(){var e=this,t=e._self._c;return t("div",{staticClass:"text-center"},[t(r["a"],{attrs:{width:"500"},scopedSlots:e._u([{key:"activator",fn:function(n){var a=n.on,s=n.attrs;return[t(i["a"],e._g(e._b({staticClass:"ma-0 pa-0 zero-height"},"v-btn",s,!1),a),[e._t("default")],2)]}}],null,!0),model:{value:e.dialog,callback:function(t){e.dialog=t},expression:"dialog"}},[t(a["a"],[t(s["d"],{staticClass:"pa-0"},[t(d["a"],{attrs:{color:e.color,dark:"",flat:""}},[t(u["b"],[e._v(e._s(e.title))]),t(c["a"]),t(u["a"],[t(i["a"],{attrs:{icon:"",dark:""},on:{click:function(t){e.dialog=!1}}},[t(l["a"],{attrs:{large:""}},[e._v(" mdi-close ")])],1)],1)],1)],1),t(s["c"],{staticClass:"mt-5"},[e._v(" "+e._s(e.content)+" ")]),t(o["a"]),t(s["a"],[t(c["a"]),t(i["a"],{attrs:{text:""},on:{click:function(t){e.dialog=!1}}},[e._v(" "+e._s(e.$t("labels.cancel"))+" ")]),t(i["a"],{attrs:{color:e.operation.ctaClass,loading:e.loadingCta,disabled:e.disabledCta,text:""},on:{click:e.handleSubmit}},[e._v(" "+e._s(e.$t(e.operation.cta))+" ")])],1)],1)],1)],1)},f=[],p={ok:{submitting:"labels.dialog.ok.submitting",cta:"labels.dialog.ok.cta",ctaClass:"primary"},create:{submitting:"labels.dialog.create.submitting",cta:"labels.dialog.create.cta",ctaClass:"primary"},update:{submitting:"labels.dialog.update.submitting",cta:"labels.dialog.update.cta",ctaClass:"primary"},delete:{submitting:"labels.dialog.delete.submitting",cta:"labels.dialog.delete.cta",ctaClass:"red"}},v={props:{title:{type:String,default:""},action:{type:String,required:!0},content:{type:String,default:""},loadingCta:{type:Boolean,default:!1},disabledCta:{type:Boolean,default:!1},submit:{type:Function,default:function(){}},color:{type:String,default:"primary"}},data:function(){return{dialog:!1}},computed:{operation:function(){return p[this.action]}},methods:{handleSubmit:function(){this.submit(),this.dialog=!1}}},g=v,h=(n("9289"),n("2877")),b=Object(h["a"])(g,m,f,!1,null,"26a3842c",null);t["a"]=b.exports},"90b4":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"bookableLandingpageTemplates"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bookableLandingpageTemplates"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:151}};n.loc.source={body:"query bookableLandingpageTemplates ($companyId: ID!) {\n  bookableLandingpageTemplates (companyId: $companyId) {\n    id\n    slug\n    name\n    type\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["bookableLandingpageTemplates"]=r(n,"bookableLandingpageTemplates")},9289:function(e,t,n){"use strict";n("d473")},9496:function(e,t,n){},"95d3":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateCompanyPhoneVerificationSettingsForValuation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyPhoneVerificationSettingsForValuationInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyPhoneVerificationSettingsForValuation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"company"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabledPhoneVerification"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"VALUATION"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:285}};n.loc.source={body:"mutation UpdateCompanyPhoneVerificationSettingsForValuation ($input: UpdateCompanyPhoneVerificationSettingsForValuationInput!) {\n  updateCompanyPhoneVerificationSettingsForValuation (input: $input) { \n    company {\n      enabledPhoneVerification {\n        VALUATION\n      }\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["UpdateCompanyPhoneVerificationSettingsForValuation"]=r(n,"UpdateCompanyPhoneVerificationSettingsForValuation")},"961d":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"contactStatuses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"contactStatuses"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:105}};n.loc.source={body:"query contactStatuses($companyId: ID!) {\n  contactStatuses(companyId: $companyId) {\n    id\n    name\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["contactStatuses"]=r(n,"contactStatuses")},"96c6":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorSignatureCustomTemplateSignature"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorSignatureCustomTemplateSignatureInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAmbassadorSignatureCustomTemplateSignature"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:213}};n.loc.source={body:"mutation updateCompanyAmbassadorSignatureCustomTemplateSignature($input: UpdateCompanyAmbassadorSignatureCustomTemplateSignatureInput!){\n    updateCompanyAmbassadorSignatureCustomTemplateSignature(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorSignatureCustomTemplateSignature"]=r(n,"updateCompanyAmbassadorSignatureCustomTemplateSignature")},"9a6a":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"startRegeneration"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"startRegeneration"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[]}]}}],loc:{start:0,end:91}};n.loc.source={body:"mutation startRegeneration($companyId: ID!){\n  startRegeneration(companyId: $companyId) \n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["startRegeneration"]=r(n,"startRegeneration")},"9c0e":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateOnboardingCompanyImages"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateOnboardingCompanyImagesInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"updateCompanyImages"},name:{kind:"Name",value:"updateOnboardingCompanyImages"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"office"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"region"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"lpValuationHero"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:486}};n.loc.source={body:"mutation updateOnboardingCompanyImages($input: UpdateOnboardingCompanyImagesInput!) {\n  updateCompanyImages:updateOnboardingCompanyImages(input: $input) {\n    id\n    images {\n      logo {\n        url\n        name\n        id\n      }\n      team {\n        url\n        name\n        id\n      }\n      office {\n        url\n        name\n        id\n      }\n      region {\n        url\n        name\n        id\n      }\n      lpValuationHero {\n        url\n        name\n        id\n      }\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateOnboardingCompanyImages"]=r(n,"updateOnboardingCompanyImages")},"9cc5":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorEmail"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorEmailInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAmbassadorEmail"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:133}};n.loc.source={body:"mutation updateCompanyAmbassadorEmail ($input: UpdateCompanyAmbassadorEmailInput!) {\n  updateCompanyAmbassadorEmail (input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorEmail"]=r(n,"updateCompanyAmbassadorEmail")},"9d01":function(e,t,n){},"9d48":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyRegion"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyRegionInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyRegion"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:105}};n.loc.source={body:"mutation updateCompanyRegion($input: UpdateCompanyRegionInput!) {\n  updateCompanyRegion(input: $input)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyRegion"]=r(n,"updateCompanyRegion")},"9d72":function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"downgradeToFreeLight"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DowngradeToFreeLightInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"downgradeToFreeLight"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:108}};n.loc.source={body:"mutation downgradeToFreeLight($input: DowngradeToFreeLightInput!) {\n  downgradeToFreeLight(input: $input)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["downgradeToFreeLight"]=r(n,"downgradeToFreeLight")},"9e29":function(e,t,n){},"9f7f1":function(e,t,n){},a180:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"contactStatuses"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"flowfactContactTags"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:110}};n.loc.source={body:"query contactStatuses($companyId: ID!) {\n  flowfactContactTags(companyId: $companyId) {\n    id\n    name\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["contactStatuses"]=r(n,"contactStatuses")},a363:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorSignatureExtra"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorSignatureExtraInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAmbassadorSignatureExtra"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:155}};n.loc.source={body:"mutation updateCompanyAmbassadorSignatureExtra($input: UpdateCompanyAmbassadorSignatureExtraInput!){\nupdateCompanyAmbassadorSignatureExtra(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorSignatureExtra"]=r(n,"updateCompanyAmbassadorSignatureExtra")},a408:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createUser"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateUserInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"createUser"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"role"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:186}};n.loc.source={body:"mutation createUser($input: CreateUserInput!) {\n  createUser(input: $input) {\n    id\n    firstname\n    lastname\n    email\n    phone\n    role {\n      id\n      name\n      slug\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["createUser"]=r(n,"createUser")},a453:function(e,t,n){},a494:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"isLastRegenerationFinished"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isLastRegenerationFinished"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[]}]}}],loc:{start:0,end:108}};n.loc.source={body:"query isLastRegenerationFinished ($companyId: ID!) {\n  isLastRegenerationFinished (companyId: $companyId) \n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["isLastRegenerationFinished"]=r(n,"isLastRegenerationFinished")},a540:function(e,t,n){"use strict";n("c056")},a608:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyCustomWording"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyCustomWordingInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyCustomWording"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customWording"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salutation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"farewell"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:193}};n.loc.source={body:"mutation updateCompanyCustomWording($input: UpdateCompanyCustomWordingInput!){\nupdateCompanyCustomWording(input: $input){\n    id\n    customWording {\n      salutation\n      farewell\n    } \n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyCustomWording"]=r(n,"updateCompanyCustomWording")},a6b6:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"componentPrice"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"slug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"price"},name:{kind:"Name",value:"componentPrice"},arguments:[{kind:"Argument",name:{kind:"Name",value:"slug"},value:{kind:"Variable",name:{kind:"Name",value:"slug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currency"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:114}};n.loc.source={body:"query componentPrice($slug: String!) {\n  price: componentPrice(slug: $slug) {\n    id\n    price\n    currency\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["componentPrice"]=r(n,"componentPrice")},a9a8:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJUAAAAaCAYAAAC+RB5CAAAH0klEQVR4Ae1aS1IbRxj+Rxqwk02UXXYZys+qLCyfwMMJQCdAOgGwyRZ5laokVcAJECdAnIDxCSIq5YqfxXiXXZRNIgRo8n2jbtFqeqTGAZcx+qpG8+juvx/z9f8aBdmeVPpBeCQiFfHAfHb6bVCTrngi24TcU6njcglHVbLzfoIfJZAZvjiUcoJksu3boC/hmm/d7FdZBaGOIH8TR2wSaoYvFyX+DCRsebcIQBQPZL/IBgRvzYh0+5CT6qtaL4UdSjzbVP7dC+NJFXINlUlTZriVKOmLs0ye+zYqB9BCBYAPFc0IdbsxItVXtdMEJy8HPBOJ+3tzVWfhiazNTN7tRmns7hIOeybZsrMgkGcyw63GWEiv0gt/iR+6SC8s2OmF7GcqMs/Op6QUHjx4sCW5YpTdt2/fdnBfD4JgKcuySIZatVMul7dfvXqV6jaPHz+OB4MBg4kq6vF5ijrPzTouoF10dna2CvmR0XYXbRO2vXfv3jKuq6jTef/+fVu34/NSqbSEPvf53Bwjzvtv3rxpqrkc8Dw/P7/+8uXLjqP/GLKZdhF7TlEUVdAun5Mam577Luolrvncv39/g3NB3d3T09OOal9nWxzr7969S0z5c3NzVBLPVB9dtGW9fT1/KQDny7Hw/XAtIKcTmhVIkH5bEpo3mY5KT0IMIDebObKf4E9dIfTLwUtLMfhNPIpxb1bhi1jGC1nkxFFnB/d1ozziD589evRo/fXr11uufh4+fLiBOs18DufyIyU/pXyQZhllKxhLC89HpMKi6+cR5DzBdVPLwNkkT8yf4+PjypT+xzYAxr2KvinTbkeC1zHn1snJyXqapl1r7Zrq/AKE2lEbUZeNrtG+ivs9s9xYh2XOH3WegzQtq3+9ETfRnhaOJK+CwN2SXfFSDjs6lU8ALCpzYzEODr6B+xrOu6qYEzvA4rNOXYZRbAOLsogXvY4Jp0rGJhfQls0XSiKo24Rt2NboI5eP8zcyGZGSk+j+qSGntBnrn4SCBmmaZRgHNwIJlXBMkLmA66fG3OrQDgfUNgVdrJIwlM32HBdImG8KtR4HWvObdQz5LNtR6zsGrEuME9drxXwe2hXpsB+3w674ZNiDYNpCXxUiHE+pYo1nbaj4FBNnJBqRNPZLARLspjYm/5sM51PHMVocqm79QtF+G+bLXrg22jdRxoUv2kCpHiPG0oa5q4knLELRJI00qdICusyeF9Hh3NTYqtBGHHvT0U3Vlq2hNBTXpQOiLVraLsGxRU2I8wr62QBxW1YdmlSaSprbWD8siQveDvu4yrxGtCxC5VALrZ93HQsvNCVKPRNLVrHeYamDUKP2WNCGeIC7WzxhaciG/dJBKD2e1DUve2yQNZaU1hoaSFyEUhsq4jW0X802nxog25qSVVHEzUHSy9CXolZvYO6j/kOXoHk53cLnmMJc1KcGBnxYVIYJH3Knyjm5XO0TvKRco1lFsTpPNFN0akGC1PY7LHSmBQMa9P0gq65uGy5/BXiizm31Ap0AIbr9fp+XFdazx4C57xc0zV0BBhOTxk2ywfRtY7y0BNyUTT5XbXJCK6c/0W2cpPJ32Ee74VqBnTA1f4bF+VsuAWVe8msV6U3DC5GJgYhXjg/jZMChfbtOAaFERW68XDO01gXoORAg2AWXZcLaadIWbkYNON8pyMlLr/xjWFRAh70UTCbVIJND+UyAF+CbCsnR6/W6cHDzayzY1MWC/O/lakBC0SRTZpVRLYg1yWwmjODEAyCY979HIPMDSeuIKifBS36YHUWVYOGiPaXD3m+Hnex8V11AJuU2U+g3EVTreKE6IOEc20V1lVarytWAebNFyGO/jCrXYF4+ONId1CARjkOd67pKgFQdFbU9mVaXeTjV5oN4oIQtW81+/y52FYLI+8VNgw4/RMsNhnbg6eRO8ltgQrj4l9nRhUBfDfojDDwY1Sn5m2b0RIB0OmWyMmlsTAtMKi8C8mUtdRm70gWmfBlGzRx7WzwwjP7K7g/EdNilQOUFl/ik87kCDu6WjmyYi1LZ4RGY+6F5UlGat2nxBaMypjJ4jXHsmORQWftEj81FHCZGcTpA+ZFNymmgptZ9k9SMRu1cl5avbpMi/8/G0KfKkKl2mEE67L092Q0c/6E6k3JyU02fhjKBNSOjvIN7brBUzs1inidixtxO8l0FmMpAnzRBsUribjPfRW0GM9lQeSia3yPUS+Q8L7aMsooen/nZ5ZJ9U8YKNw58zKbqg6hq+TLMlnulVYjzPNU/PacKzBy+Bv979bmYPvUd7KNBMwTCLIqRoZdh1Jt/A1OJw6ZcI/jCdPaaWgNHnc9JLGNsXTWuujpGWfb/Mz7Mv45Tw8hrxeqg/DzLzsSob7qECLI/4E8NqOKCrnx9Z8HltMNhPzDTC0EWNOZrJy27Xv7tryxH4tv5lA/KWuUzUitKzul6PnV4nrQ4VP9hGFZVOJ/yQ6yWybK7d+9W7H6Knn/MXGjC2Dc/o7jq6HKmCfjhdtJcfNfOBP0nyI5UNNxxJZx9YJAqRyP44c+WXam3N4esarap7wdZuODSVFdNqhluJsY/0wTi9BnuSK6VcrYzIrzpUd8M1wv7T3qxK71Ahx1kyn2OQPK/fswwQyFKjidObTV02IP0Tq3vlauY4faiJIOy5cQFy0wv2BWZYR9c4r9WM9xe/Aes0din5GqqqAAAAABJRU5ErkJggg=="},a9e3f:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdatePlotValuationSettings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PlotValuationSettingsInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updatePlotValuationSettings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"company"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"plotValuation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"showInPropertyValuation"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:213}};n.loc.source={body:"mutation UpdatePlotValuationSettings ($input: PlotValuationSettingsInput!) {\n  updatePlotValuationSettings (input: $input) { \n    company {\n      plotValuation {\n        showInPropertyValuation\n      }\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["UpdatePlotValuationSettings"]=r(n,"UpdatePlotValuationSettings")},aa44:function(e,t,n){},ad77:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"bookAuthorization"},variableDefinitions:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bookAuthorization"},arguments:[],directives:[]}]}}],loc:{start:0,end:51}};n.loc.source={body:"mutation bookAuthorization {\n  bookAuthorization\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["bookAuthorization"]=r(n,"bookAuthorization")},adf1:function(e,t,n){},aeb3:function(e,t,n){"use strict";n("c67b")},b08c:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return s})),n.d(t,"c",(function(){return r}));n("dca8");var i=Object.freeze({facebookPost:"facebookPost",instagramPost:"instagramPost",linkedinPost:"linkedinPost",facebookAds:"facebookAds",gmbNewsPost:"gmbNewsPost",gmbProductDescription:"gmbProductDescription",customerMailing:"customerMailing",blogPost:"blogPost",websiteText:"websiteText",interview:"interview"}),a=(Object.freeze({facebookPost:"Facebook Post",instagramPost:"Instagram Post",linkedinPost:"LinkedIn Post",facebookAds:"Facebook Ads",gmbNewsPost:"Google Unternehmensprofil Newspost",gmbProductDescription:"Google Unternehmensprofil Produktbeschreibung",customerMailing:"Kundenanschreiben",websiteText:"Webseiten Text",interview:"Interview"}),Object.freeze({facebookPost:"/img/kindTypes/facebook.png",instagramPost:"/img/kindTypes/instagram.png",linkedinPost:"/img/kindTypes/linkedin.png",facebookAds:"/img/kindTypes/facebook.png",gmbNewsPost:"/img/kindTypes/post.png",gmbProductDescription:"/img/kindTypes/product-description.png",customerMailing:"/img/kindTypes/email.png",blogPost:"/img/kindTypes/blog-post.png",websiteText:"/img/kindTypes/website-text.png",interview:"/img/kindTypes/interview.png",all:"/img/kindTypes/settings.png"})),s=Object.freeze({facebookPost:"Facebook",instagramPost:"Instagram",linkedinPost:"LinkedIn"}),r=Object.freeze({FACEBOOK:"facebookPost",INSTAGRAM:"instagramPost",LINKEDIN:"linkedinPost"});t["d"]=i},b0e5:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorSignatureText"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorSignatureTextInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAmbassadorSignatureText"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:156}};n.loc.source={body:"mutation updateCompanyAmbassadorSignatureText($input: UpdateCompanyAmbassadorSignatureTextInput!){\n    updateCompanyAmbassadorSignatureText(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorSignatureText"]=r(n,"updateCompanyAmbassadorSignatureText")},b149:function(e,t,n){"use strict";var i=n("b0af"),a=n("132d"),s=n("8860"),r=n("da13"),o=n("5d23"),l=n("34c3"),c=function(){var e,t=this,n=t._self._c;return n(i["a"],[n(s["a"],[n(r["a"],[n(l["a"],[n(a["a"],[t._v("mdi-phone")])],1),n(o["a"],[n(o["c"],["ch"===(null===(e=t.company)||void 0===e?void 0:e.country)?n("a",{attrs:{href:"tel:".concat(t.generalPhoneDE)}},[t._v(" "+t._s(t.generalPhoneDE)+" ")]):n("a",{attrs:{href:"tel:".concat(t.generalPhoneCH)}},[t._v(" "+t._s(t.generalPhoneCH)+" ")])]),n(o["b"],[t._v(" "+t._s(t.$t("labels.phone"))+" ")])],1)],1),n(r["a"],[n(l["a"],[n(a["a"],[t._v("mdi-email")])],1),n(o["a"],[n(o["c"],[n("a",{attrs:{href:"mailto:".concat(t.email)}},[t._v(" "+t._s(t.email)+" ")])]),n(o["b"],[t._v(" "+t._s(t.$t("labels.email"))+" ")])],1)],1)],1)],1)},d=[],u=n("4c7d"),m=n("3b55"),f={mixins:[m["a"]],props:{company:{type:Object,default:null}},data:function(){var e=this.$features.feature(u["a"].SUPPORT_CONTACT).config;return{generalPhoneCH:e.phone.ch,generalPhoneDE:e.phone.de,email:e.support.email}}},p=f,v=n("2877"),g=Object(v["a"])(p,c,d,!1,null,null,null);t["a"]=g.exports},b555:function(e,t,n){},b6f8:function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"d",(function(){return a})),n.d(t,"b",(function(){return s})),n.d(t,"a",(function(){return r}));var i=[{value:"DIRECT_DEBIT",name:"Monatlicher Bankeinzug"},{value:"PREPAYMENT",name:"Vorauszahlung per Rechnung"}],a=[{value:"INVOICE",name:"Monatliche Rechnung"},{value:"PREPAYMENT",name:"Vorauszahlung per Rechnung"}],s={"wohnen-im-alter":{subtitle:"Alles rund um das große Thema „Wohnen im Alter“.",text:"Wenn die Treppen zu steil, der Garten zu groß und einige Zimmer zu leer sind, dann wird es für ältere Menschen Zeit, die Wohnsituation zu überdenken. Hier ist Rat gefragt, der sehr häufig aktiv recherchiert wird. Bringen Sie Ihre Dienstleistung ins Gespräch, indem Sie den Dialog mit diesem hochwertigen Ratgeber beginnen. "},"immobilie-in-der-scheidung":{subtitle:"Zielführende Wege im Umgang mit der gemeinsamen Immobilie.",text:"Einer der häufigsten Gründe für den ungeplanten Immobilienverkauf ist die Scheidung der Bewohner. Und zugleich ist dies der Anlass für die Wahl eines Immobilienmaklers. Denn wenn man sich nicht mehr vertraut oder gar nicht mehr miteinander redet, dann braucht es einen Vermittler. Zeigen Sie mit diesem Ratgeber, dass Sie sich auskennen."},"immobilie-geerbt":{subtitle:"Was im Erbfall wichtig ist und welche Möglichkeiten Eigentümer haben.",text:"Diese Tipps rund um das Erben und Vererben einer Immobilie sind äußerst beliebt bei Immobilieneigentümern. Hier möchte niemand Fehler machen und keinesfalls Geld verschenken. Gerade Erbengemeinschaften sind oft auf der Suche nach Informationen - und dem richtigen Makler, der zwischen den Interessen vermitteln kann und dabei das Beste für alle rausholt.\n    Zeigen Sie Ihre Erfahrung und Ihre Expertise mit Ihrem eigenen Ratgeber zum Thema “Immobilie geerbt”."},"immobilie-geerbt-ratgeber":{subtitle:"Was im Erbfall wichtig ist und welche Möglichkeiten Eigentümer haben.",text:"Diese Tipps rund um das Erben und Vererben einer Immobilie sind äußerst beliebt bei Immobilieneigentümern. Hier möchte niemand Fehler machen und keinesfalls Geld verschenken. Gerade Erbengemeinschaften sind oft auf der Suche nach Informationen - und dem richtigen Makler, der zwischen den Interessen vermitteln kann und dabei das Beste für alle rausholt.\n    Zeigen Sie Ihre Erfahrung und Ihre Expertise mit Ihrem eigenen Ratgeber zum Thema “Immobilie geerbt”."},"immobilien-fakten-und-begriffe":{subtitle:"Hier werden alle notwendigen Begriffe erklärt, um dieselbe Sprache wie ein Immobilienmakler zu sprechen.",text:"Die Immobilienbranche fasziniert viele Menschen. Insbesondere Eigentümer und Investoren wollen mehr erfahren. Da sind Sie bei Ihnen als Experte genau richtig. Mit diesem Ratgeber zeigen Sie, wie tief Sie im Thema sind und glänzen mit umfassender Expertise."},"privater-immobilienverkauf":{subtitle:"Erfolgreich zum Top-Preis verkaufen.",text:"Makler? Wozu brauche ich den eigentlich? Und tatsächlich versuchen immer mehr Eigentümer sich selbst am Verkauf Ihrer Immobilie. Geben Sie doch bereitwillig Tipps aus Ihrem Makleralltag, dann wird vielen Neulingen die Komplexität des Themas schnell bewusst. Dieser sehr stark nachgefragte Ratgeber hat schon viele Privatverkäufer zum Umdenken und damit zum Makler gebracht."},"richtiger-immobilienpreis":{subtitle:"Zeigen Sie, wie man mit der richtigen Strategie zum optimalen Angebotspreis kommt.",text:"Letztendlich ist vieles eine Frage des Preises. Und mit den Preisen in Ihrer Farm kennen Sie sich als Makler perfekt aus! Sie wissen, welchen Effekt zu hohe oder zu niedrige Startpreise haben können. Zeigen Sie sich mit diesem beliebten Ratgeber als kompetenter Partner für den ergebnisorientierten Verkauf einer Immobilie."},"sanierung-einer-immobilie":{subtitle:"So verschönert man ein Zuhause und steigert den Wert.",text:"Sanieren oder verkaufen? Diese Frage stellen sich viele Eigentümer. Sie als Makler wissen Rat, denn Sie kennen den Markt, die Möglichkeiten und die Preise. Mit diesem Ratgeber starten Sie sich ein Gespräch mit Menschen, die Sie sonst vermutlich gar nicht an “ich rede mal mit einem Immobilienmakler” gedacht hätten."},"bewirtschaftung-einer-immobilie-ratgeber":{text:"Brauche ich wirklich einen Makler, um eine Immobilie zu bewirtschaften? Mit dieser Frage beschäftigen sich einige Eigentümer. Unterstützen Sie mit Ihrem Rat, zeigen Sie Fehler und Fallen und überzeugen Sie auf diese Weise davon, Sie mit der Bewirtschaftung zu beauftragen."},leibrente:{subtitle:"Alles über das Trend-Thema Verrentung.",text:"Verkaufen und wohnen bleiben? Das geht. In der eigenen Immobilie wohnen zu bleiben und zugleich mehr finanzielle Freiheit für den Alltag zu genießen, darf tatsächlich als ein Trendthema gelten. Dieser Ratgeber wendet sich direkt an eine ältere Klientel auf der Suche nach Informationen. Für Sie als Makler: ein super spannender Kontakt."},immobilienfinanzierung:{subtitle:"Das komplette Wissen rund um die Finanzierung von Immobilien.",text:"Vor dem Kauf steht die Finanzierung. Bereits an dieser Stelle sollten Sie als Immobilienmakler als kompetenter Berater auftreten. Denn Sie kennen sich aus und haben die richtigen Kontakte. Zugleich steht die Recherche nach der Finanzierung einer Immobilie oft auch im Zusammenhang mit einer Ersatzbeschaffung."},"energetische-sanierung":{subtitle:"Das müssen Eigentümer jetzt wissen.",text:"Die Energiewende ist eines der wichtigsten Themen der Gegenwart. Welchen Beitrag können (und müssen) Privathaushalte leisten? Immobilieneigentümer sind auf der Suche nach Antworten auf dringende Fragen - Sie als Makler können sich hier als Experte in Gespräch bringen. Dieser Ratgeber klärt Ihre Kunden auf und sorgt zugleich für Neukontakte in Ihrem Expertengebiet."}},r={ATV1:"mm-atv1",CHV1:"mm-chv1",CHV2:"mm-chv2",VOLKSBANK:"mm-volksbank",REMAX:"mm-remax",DV1:"mm-dv1",DV2:"mm-dv2",DV3:"mm-dv3",DV4:"mm-dv4",LIGHT:"mm-dv1"}},b73d:function(e,t,n){"use strict";var i=n("15fd"),a=n("5530"),s=(n("0481"),n("4069"),n("ec29"),n("9d01"),n("fe09")),r=n("c37a"),o=n("c3f0"),l=n("0789"),c=n("490a"),d=n("80d2"),u=["title"];t["a"]=s["a"].extend({name:"v-switch",directives:{Touch:o["a"]},props:{inset:Boolean,loading:{type:[Boolean,String],default:!1},flat:{type:Boolean,default:!1}},computed:{classes:function(){return Object(a["a"])(Object(a["a"])({},r["a"].options.computed.classes.call(this)),{},{"v-input--selection-controls v-input--switch":!0,"v-input--switch--flat":this.flat,"v-input--switch--inset":this.inset})},attrs:function(){return{"aria-checked":String(this.isActive),"aria-disabled":String(this.isDisabled),role:"switch"}},validationState:function(){return this.hasError&&this.shouldValidate?"error":this.hasSuccess?"success":null!==this.hasColor?this.computedColor:void 0},switchData:function(){return this.setTextColor(this.loading?void 0:this.validationState,{class:this.themeClasses})}},methods:{genDefaultSlot:function(){return[this.genSwitch(),this.genLabel()]},genSwitch:function(){var e=this.attrs$,t=(e.title,Object(i["a"])(e,u));return this.$createElement("div",{staticClass:"v-input--selection-controls__input"},[this.genInput("checkbox",Object(a["a"])(Object(a["a"])({},this.attrs),t)),this.genRipple(this.setTextColor(this.validationState,{directives:[{name:"touch",value:{left:this.onSwipeLeft,right:this.onSwipeRight}}]})),this.$createElement("div",Object(a["a"])({staticClass:"v-input--switch__track"},this.switchData)),this.$createElement("div",Object(a["a"])({staticClass:"v-input--switch__thumb"},this.switchData),[this.genProgress()])])},genProgress:function(){return this.$createElement(l["c"],{},[!1===this.loading?null:Object(d["s"])(this,"progress")||this.$createElement(c["a"],{props:{color:!0===this.loading||""===this.loading?this.color||"primary":this.loading,size:16,width:2,indeterminate:!0}})])},onSwipeLeft:function(){this.isActive&&this.onChange()},onSwipeRight:function(){this.isActive||this.onChange()},onKeydown:function(e){(e.keyCode===d["y"].left&&this.isActive||e.keyCode===d["y"].right&&!this.isActive)&&this.onChange()}}})},b75e:function(e,t,n){"use strict";var i=n("8336"),a=n("4bd4"),s=n("2fa4"),r=n("3a2f"),o=function(){var e=this,t=e._self._c;return t(a["a"],{ref:"stepContainerForm",on:{submit:function(t){return t.preventDefault(),e.submit.apply(null,arguments)}},model:{value:e.isValid,callback:function(t){e.isValid=t},expression:"isValid"}},[e._t("default"),t("div",{staticClass:"d-flex mt-4",class:{"flex-column":e.hasSteps&&e.$vuetify.breakpoint.smAndDown,"justify-space-between":e.$vuetify.breakpoint.mdAndUp}},[e.hideSecondaryActions?t(s["a"]):t("div",{staticClass:"d-flex",class:{"btn-mobile":e.isMobile}},[e.hasSteps&&!e.isDisabled?t(r["a"],{attrs:{bottom:"",disabled:!e.isDirty},scopedSlots:e._u([{key:"activator",fn:function(n){var a=n.on;return[t("div",e._g({},a),[t(i["a"],{staticClass:"my-4",attrs:{disabled:e.isDirty},on:{click:function(t){return e.$emit("nextStep",-1)}}},[e._v(" "+e._s(e.$t("onboarding.stepContainer.back"))+" ")])],1)]}}],null,!1,1199632507)},[t("span",[e._v(" "+e._s(e.$t("onboarding.stepContainer.saveChanges"))+" ")])]):e._e(),e.isDisabled?e._e():t(i["a"],{staticClass:"my-4 ml-6",on:{click:function(t){return e.$router.go()}}},[e._v(" "+e._s(e.$t("onboarding.stepContainer.cancel"))+" ")])],1),t("div",{staticClass:"d-flex",class:{"btn-mobile":e.isMobile}},[e.isDisabled?e._e():t("loading-button",{staticClass:"ma-md-4 my-4 mr-6",attrs:{color:"primary",type:"submit",disabled:!e.isValid||!e.isDirty,loading:e.isLoading}},[e._v(" "+e._s(e.$t("onboarding.stepContainer.save"))+" ")]),e.hasSteps&&!e.isDisabled?t(r["a"],{attrs:{bottom:"",disabled:!e.isDirty},scopedSlots:e._u([{key:"activator",fn:function(n){var a=n.on;return[t("div",e._g({},a),[t(i["a"],{staticClass:"my-4",attrs:{color:"primary",disabled:e.isDirty},on:{click:function(t){return e.$emit("nextStep",1)}}},[e._v(" "+e._s(e.$t("onboarding.stepContainer.next"))+" ")])],1)]}}],null,!1,1965575677)},[t("span",[e._v(" "+e._s(e.$t("onboarding.stepContainer.saveChanges"))+" ")])]):e._e()],1)],1)],2)},l=[],c=n("1da1"),d=n("3835"),u=(n("96cf"),n("e9c4"),n("d81d"),n("4de4"),n("d3b7"),n("4fadc"),n("02c5")),m=n("f40f"),f=n("8fcf"),p={components:{LoadingButton:m["default"]},props:{data:{type:Object,required:!0},onSubmit:{type:Function,required:!0},requiredData:{type:Function,required:!0},hasChanges:{type:Function,default:function(e,t){return JSON.stringify(e)!==JSON.stringify(t)}},hasSteps:{type:Boolean,default:!1},isDisabled:{type:Boolean,default:!1},hideSecondaryActions:{type:Boolean,default:!1}},data:function(){return{isComplete:!1,isDirty:!1,isValid:!0,isLoading:!1,missingData:[],oldData:JSON.parse(JSON.stringify(this.data))}},computed:{isMobile:function(){return this.$vuetify.breakpoint.mdAndDown}},watch:{isDirty:function(e){this.$emit("dirty",e)},missingData:function(e){this.$emit("missingData",e)},data:{deep:!0,handler:function(e){this.hasChanges(this.oldData,e)&&(this.isDirty=!0,this.missingData=this.getMissingKeys(e),this.oldData=JSON.parse(JSON.stringify(e)))}}},created:function(){this.missingData=this.getMissingKeys(this.data)},mounted:function(){this.$refs.stepContainerForm.validate()},methods:{getMissingKeys:function(e){return Object.entries(this.requiredData(e)).filter((function(e){var t=Object(d["a"])(e,2),n=(t[0],t[1]);return!n})).map((function(e){var t=Object(d["a"])(e,1),n=t[0];return n}))},submit:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.isLoading=!0,!e.$refs.stepContainerForm.validate()){t.next=17;break}return t.prev=2,t.next=5,e.onSubmit(e.data);case 5:e.isDirty=!1,f["a"].$emit(f["b"].SHOW_SNACKBAR,{color:"success",text:e.$t("onboarding.stepContainer.saved")}),t.next=14;break;case 9:t.prev=9,t.t0=t["catch"](2),u["a"]({category:"onboarding",message:"Save failed",data:{data:JSON.stringify(e.data),error:t.t0}}),u["c"](t.t0),f["a"].$emit(f["b"].SHOW_SNACKBAR,{color:"error",text:e.$t("onboarding.stepContainer.saveError")});case 14:return t.prev=14,e.isLoading=!1,t.finish(14);case 17:e.isLoading=!1;case 18:case"end":return t.stop()}}),t,null,[[2,9,14,17]])})))()}}},v=p,g=(n("4668"),n("2877")),h=Object(g["a"])(v,o,l,!1,null,"2a63691b",null);t["a"]=h.exports},b7a0:function(e,t,n){"use strict";n("e9a3")},b898:function(e,t,n){"use strict";n("a453")},b973:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"checkSenderVerification"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"senderId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"sender"},name:{kind:"Name",value:"checkSenderVerification"},arguments:[{kind:"Argument",name:{kind:"Name",value:"senderId"},value:{kind:"Variable",name:{kind:"Name",value:"senderId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fromEmail"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAcknowledged"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:178}};n.loc.source={body:"mutation checkSenderVerification($senderId: ID!) {\n  sender: checkSenderVerification(senderId: $senderId) {\n    id\n    isVerified\n    fromEmail\n    isAcknowledged\n    name\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["checkSenderVerification"]=r(n,"checkSenderVerification")},b9aa:function(e,t,n){"use strict";var i=n("b0af"),a=n("99d9"),s=n("cc20"),r=n("132d"),o=n("adda"),l=n("2fa4"),c=n("71d9"),d=n("2a7f"),u=(n("ac1f"),n("5319"),n("b0c0"),n("a4d3"),n("e01a"),function(){var e,t,n=this,u=n._self._c;return u(i["a"],{attrs:{height:"100%"}},[u(a["d"],{staticClass:"py-0"},[u(c["a"],{staticClass:"px-0",attrs:{flat:""}},[u(d["b"],{staticClass:"text-body-h4"},[n._v(" "+n._s(n.title)+" ")]),u(s["a"],{staticClass:"ml-2 font-weight-bold",attrs:{pill:"",small:""}},[n._v(" "+n._s(null===(e=n.accept)||void 0===e||null===(t=e.replace(/image\//gi,""))||void 0===t?void 0:t.toUpperCase())+" ")]),u(l["a"]),n.canDeleteImage&&!n.disabled?u("Dialog",{attrs:{action:"delete",title:n.$t("settings.company.images.image-container.title",{title:n.title}),content:n.$t("settings.company.images.image-container.content"),submit:function(){return n.deleteImage(n.name)}}},[u(r["a"],{staticStyle:{right:"-20px"},attrs:{color:"grey"}},[n._v(" mdi-delete ")])],1):n._e()],1)],1),u(a["c"],[n.src?u(o["a"],{staticClass:"my-2",attrs:{src:n.src,height:"150px",contain:""}}):u("div",{staticClass:"my-2 grey lighten-3 rounded d-flex flex-column justify-center align-center",staticStyle:{height:"150px"}},[u(r["a"],{attrs:{"x-large":"",contain:"",color:"grey"}},[n._v(" mdi-emoticon-sad-outline ")]),u("span",{staticClass:"grey--text text-caption font-weight-bold"},[n._v(n._s(n.$t("settings.company.images.image-container.no-image")))])],1),u("div",{staticClass:"mb-4 text-body-2"},[n._v(" "+n._s(n.description)+" ")]),u("CropImageUpload",{attrs:{"min-height":n.minHeight,"min-width":n.minWidth,"min-opacity":n.minOpacity,accept:n.accept,ratio:n.ratio,disabled:n.disabled,"ask-for-image-rights":n.askForImageRights,save:function(e){return n.saveImage(e,n.name)}}})],1)],1)}),m=[],f=(n("a9e3"),n("819f")),p=n("8e41"),v={components:{CropImageUpload:f["a"],Dialog:p["a"]},props:{name:{type:String,default:"logo"},title:{type:String,default:"Logo"},description:{type:String,default:""},src:{type:String,default:""},minHeight:{type:Number,default:1200},minWidth:{type:Number,default:1200},minOpacity:{type:Number,default:0},ratio:{type:Number,default:0},accept:{type:String,default:"image/png,image/jpeg"},canDeleteImage:{type:Boolean,default:!1},askForImageRights:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},saveImage:{type:Function,default:function(){}},deleteImage:{type:Function,default:function(){}}}},g=v,h=n("2877"),b=Object(h["a"])(g,u,m,!1,null,null,null);t["a"]=b.exports},bb18:function(e,t,n){},bd90:function(e,t,n){"use strict";var i=n("62ad"),a=n("490a"),s=function(){var e=this,t=e._self._c;return t(i["a"],[t("div",{staticClass:"w-full d-flex justify-center"},[t("div",{staticClass:"loading-box d-flex align-center flex-column pa-4"},[t(a["a"],{staticClass:"mr-2",attrs:{width:"5",size:e.size,color:"primary",indeterminate:""}})],1)])])},r=[],o=(n("a9e3"),{props:{size:{type:Number,default:100}}}),l=o,c=n("2877"),d=Object(c["a"])(l,s,r,!1,null,null,null);t["a"]=d.exports},be82:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createCompanyAnamnesis"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateCompanyAnamnesisInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"createCompanyAnamnesis"},name:{kind:"Name",value:"createCompanyAnamnesis"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"companyId"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:166}};n.loc.source={body:"mutation createCompanyAnamnesis($input: CreateCompanyAnamnesisInput!) {\n    createCompanyAnamnesis: createCompanyAnamnesis(input: $input) {\n        companyId\n    }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["createCompanyAnamnesis"]=r(n,"createCompanyAnamnesis")},bec8:function(e,t,n){},c044:function(e,t,n){"use strict";n("17b7")},c056:function(e,t,n){},c0eb:function(e,t,n){"use strict";n("f1e1")},c66e:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateUserNotificationSettings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateUserNotificationSettingsInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateUserNotificationSettings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:139}};n.loc.source={body:"mutation UpdateUserNotificationSettings ($input: UpdateUserNotificationSettingsInput!) {\n  updateUserNotificationSettings (input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["UpdateUserNotificationSettings"]=r(n,"UpdateUserNotificationSettings")},c67b:function(e,t,n){},c6a6:function(e,t,n){"use strict";var i=n("5530"),a=(n("d81d"),n("d3b7"),n("4de4"),n("498a"),n("7db0"),n("c740"),n("caad"),n("2532"),n("2bfd"),n("b974")),s=n("8654"),r=n("d9f7"),o=n("80d2"),l=Object(i["a"])(Object(i["a"])({},a["b"]),{},{offsetY:!0,offsetOverflow:!0,transition:!1});t["a"]=a["a"].extend({name:"v-autocomplete",props:{autoSelectFirst:{type:Boolean,default:!1},filter:{type:Function,default:function(e,t,n){return n.toLocaleLowerCase().indexOf(t.toLocaleLowerCase())>-1}},hideNoData:Boolean,menuProps:{type:a["a"].options.props.menuProps.type,default:function(){return l}},noFilter:Boolean,searchInput:{type:String}},data:function(){return{lazySearch:this.searchInput}},computed:{classes:function(){return Object(i["a"])(Object(i["a"])({},a["a"].options.computed.classes.call(this)),{},{"v-autocomplete":!0,"v-autocomplete--is-selecting-index":this.selectedIndex>-1})},computedItems:function(){return this.filteredItems},selectedValues:function(){var e=this;return this.selectedItems.map((function(t){return e.getValue(t)}))},hasDisplayedItems:function(){var e=this;return this.hideSelected?this.filteredItems.some((function(t){return!e.hasItem(t)})):this.filteredItems.length>0},currentRange:function(){return null==this.selectedItem?0:String(this.getText(this.selectedItem)).length},filteredItems:function(){var e=this;return!this.isSearching||this.noFilter||null==this.internalSearch?this.allItems:this.allItems.filter((function(t){var n=Object(o["r"])(t,e.itemText),i=null!=n?String(n):"";return e.filter(t,String(e.internalSearch),i)}))},internalSearch:{get:function(){return this.lazySearch},set:function(e){this.lazySearch!==e&&(this.lazySearch=e,this.$emit("update:search-input",e))}},isAnyValueAllowed:function(){return!1},isDirty:function(){return this.searchIsDirty||this.selectedItems.length>0},isSearching:function(){return this.multiple&&this.searchIsDirty||this.searchIsDirty&&this.internalSearch!==this.getText(this.selectedItem)},menuCanShow:function(){return!!this.isFocused&&(this.hasDisplayedItems||!this.hideNoData)},$_menuProps:function(){var e=a["a"].options.computed.$_menuProps.call(this);return e.contentClass="v-autocomplete__content ".concat(e.contentClass||"").trim(),Object(i["a"])(Object(i["a"])({},l),e)},searchIsDirty:function(){return null!=this.internalSearch&&""!==this.internalSearch},selectedItem:function(){var e=this;return this.multiple?null:this.selectedItems.find((function(t){return e.valueComparator(e.getValue(t),e.getValue(e.internalValue))}))},listData:function(){var e=a["a"].options.computed.listData.call(this);return e.props=Object(i["a"])(Object(i["a"])({},e.props),{},{items:this.virtualizedItems,noFilter:this.noFilter||!this.isSearching||!this.filteredItems.length,searchInput:this.internalSearch}),e}},watch:{filteredItems:"onFilteredItemsChanged",internalValue:"setSearch",isFocused:function(e){e?(document.addEventListener("copy",this.onCopy),this.$refs.input&&this.$refs.input.select()):(document.removeEventListener("copy",this.onCopy),this.blur(),this.updateSelf())},isMenuActive:function(e){!e&&this.hasSlot&&(this.lazySearch=null)},items:function(e,t){t&&t.length||!this.hideNoData||!this.isFocused||this.isMenuActive||!e.length||this.activateMenu()},searchInput:function(e){this.lazySearch=e},internalSearch:"onInternalSearchChanged",itemText:"updateSelf"},created:function(){this.setSearch()},destroyed:function(){document.removeEventListener("copy",this.onCopy)},methods:{onFilteredItemsChanged:function(e,t){var n=this;if(e!==t){if(!this.autoSelectFirst){var i=t[this.$refs.menu.listIndex];i?this.setMenuIndex(e.findIndex((function(e){return e===i}))):this.setMenuIndex(-1),this.$emit("update:list-index",this.$refs.menu.listIndex)}this.$nextTick((function(){n.internalSearch&&(1===e.length||n.autoSelectFirst)&&(n.$refs.menu.getTiles(),n.autoSelectFirst&&e.length&&(n.setMenuIndex(0),n.$emit("update:list-index",n.$refs.menu.listIndex)))}))}},onInternalSearchChanged:function(){this.updateMenuDimensions()},updateMenuDimensions:function(){this.isMenuActive&&this.$refs.menu&&this.$refs.menu.updateDimensions()},changeSelectedIndex:function(e){this.searchIsDirty||(this.multiple&&e===o["y"].left?-1===this.selectedIndex?this.selectedIndex=this.selectedItems.length-1:this.selectedIndex--:this.multiple&&e===o["y"].right?this.selectedIndex>=this.selectedItems.length-1?this.selectedIndex=-1:this.selectedIndex++:e!==o["y"].backspace&&e!==o["y"].delete||this.deleteCurrentItem())},deleteCurrentItem:function(){var e=this.selectedIndex,t=this.selectedItems[e];if(this.isInteractive&&!this.getDisabled(t)){var n=this.selectedItems.length-1;if(-1!==this.selectedIndex||0===n){var i=this.selectedItems.length,a=e!==i-1?e:e-1,s=this.selectedItems[a];s?this.selectItem(t):this.setValue(this.multiple?[]:null),this.selectedIndex=a}else this.selectedIndex=n}},clearableCallback:function(){this.internalSearch=null,a["a"].options.methods.clearableCallback.call(this)},genInput:function(){var e=s["a"].options.methods.genInput.call(this);return e.data=Object(r["a"])(e.data,{attrs:{"aria-activedescendant":Object(o["p"])(this.$refs.menu,"activeTile.id"),autocomplete:Object(o["p"])(e.data,"attrs.autocomplete","off")},domProps:{value:this.internalSearch}}),e},genInputSlot:function(){var e=a["a"].options.methods.genInputSlot.call(this);return e.data.attrs.role="combobox",e},genSelections:function(){return this.hasSlot||this.multiple?a["a"].options.methods.genSelections.call(this):[]},onClick:function(e){this.isInteractive&&(this.selectedIndex>-1?this.selectedIndex=-1:this.onFocus(),this.isAppendInner(e.target)||this.activateMenu())},onInput:function(e){if(!(this.selectedIndex>-1)&&e.target){var t=e.target,n=t.value;t.value&&this.activateMenu(),this.multiple||""!==n||this.deleteCurrentItem(),this.internalSearch=n,this.badInput=t.validity&&t.validity.badInput}},onKeyDown:function(e){var t=e.keyCode;!e.ctrlKey&&[o["y"].home,o["y"].end].includes(t)||a["a"].options.methods.onKeyDown.call(this,e),this.changeSelectedIndex(t)},onSpaceDown:function(e){},onTabDown:function(e){a["a"].options.methods.onTabDown.call(this,e),this.updateSelf()},onUpDown:function(e){e.preventDefault(),this.activateMenu()},selectItem:function(e){a["a"].options.methods.selectItem.call(this,e),this.setSearch()},setSelectedItems:function(){a["a"].options.methods.setSelectedItems.call(this),this.isFocused||this.setSearch()},setSearch:function(){var e=this;this.$nextTick((function(){e.multiple&&e.internalSearch&&e.isMenuActive||(e.internalSearch=!e.selectedItems.length||e.multiple||e.hasSlot?null:e.getText(e.selectedItem))}))},updateSelf:function(){(this.searchIsDirty||this.internalValue)&&(this.multiple||this.valueComparator(this.internalSearch,this.getValue(this.internalValue))||this.setSearch())},hasItem:function(e){return this.selectedValues.indexOf(this.getValue(e))>-1},onCopy:function(e){var t,n;if(-1!==this.selectedIndex){var i=this.selectedItems[this.selectedIndex],a=this.getText(i);null===(t=e.clipboardData)||void 0===t||t.setData("text/plain",a),null===(n=e.clipboardData)||void 0===n||n.setData("text/vnd.vuetify.autocomplete.item+plain",a),e.preventDefault()}}}})},c865:function(e,t,n){"use strict";var i=n("5530"),a=n("0789"),s=n("9d26"),r=n("a9ad"),o=n("3206"),l=n("5607"),c=n("80d2"),d=n("58df"),u=Object(d["a"])(r["a"],Object(o["a"])("expansionPanel","v-expansion-panel-header","v-expansion-panel"));t["a"]=u.extend().extend({name:"v-expansion-panel-header",directives:{ripple:l["a"]},props:{disableIconRotate:Boolean,expandIcon:{type:String,default:"$expand"},hideActions:Boolean,ripple:{type:[Boolean,Object],default:!1}},data:function(){return{hasMousedown:!1}},computed:{classes:function(){return{"v-expansion-panel-header--active":this.isActive,"v-expansion-panel-header--mousedown":this.hasMousedown}},isActive:function(){return this.expansionPanel.isActive},isDisabled:function(){return this.expansionPanel.isDisabled},isReadonly:function(){return this.expansionPanel.isReadonly}},created:function(){this.expansionPanel.registerHeader(this)},beforeDestroy:function(){this.expansionPanel.unregisterHeader()},methods:{onClick:function(e){this.$emit("click",e)},genIcon:function(){var e=Object(c["s"])(this,"actions",{open:this.isActive})||[this.$createElement(s["a"],this.expandIcon)];return this.$createElement(a["d"],[this.$createElement("div",{staticClass:"v-expansion-panel-header__icon",class:{"v-expansion-panel-header__icon--disable-rotate":this.disableIconRotate},directives:[{name:"show",value:!this.isDisabled}]},e)])}},render:function(e){var t=this;return e("button",this.setBackgroundColor(this.color,{staticClass:"v-expansion-panel-header",class:this.classes,attrs:{tabindex:this.isDisabled?-1:null,type:"button","aria-expanded":this.isActive},directives:[{name:"ripple",value:this.ripple}],on:Object(i["a"])(Object(i["a"])({},this.$listeners),{},{click:this.onClick,mousedown:function(){return t.hasMousedown=!0},mouseup:function(){return t.hasMousedown=!1}})}),[Object(c["s"])(this,"default",{open:this.isActive},!0),this.hideActions||this.genIcon()])}})},cb3b:function(e,t,n){"use strict";n("dd6d")},cbff:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"landingpageTemplatesForCompany"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"LandingpageTemplatesForCompanyInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"landingpageTemplates"},name:{kind:"Name",value:"landingpageTemplatesForCompany"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"type"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:197}};n.loc.source={body:"query landingpageTemplatesForCompany($input: LandingpageTemplatesForCompanyInput!) {\n  landingpageTemplates: landingpageTemplatesForCompany(input: $input) {\n    id\n    slug\n    name\n    type\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["landingpageTemplatesForCompany"]=r(n,"landingpageTemplatesForCompany")},cc9d:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateOnboardingCompanyImages"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateOnboardingCompanyImagesInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateOnboardingCompanyImages"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"images"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"logo"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"team"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"office"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"region"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"lpValuationHero"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:466}};n.loc.source={body:"mutation updateOnboardingCompanyImages($input: UpdateOnboardingCompanyImagesInput!) {\n  updateOnboardingCompanyImages(input: $input) {\n    id\n    images {\n      logo {\n        url\n        name\n        id\n      }\n      team {\n        url\n        name\n        id\n      }\n      office {\n        url\n        name\n        id\n      }\n      region {\n        url\n        name\n        id\n      }\n      lpValuationHero {\n        url\n        name\n        id\n      }\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateOnboardingCompanyImages"]=r(n,"updateOnboardingCompanyImages")},cd55:function(e,t,n){"use strict";var i=n("5530"),a=n("4e82"),s=n("3206"),r=n("80d2"),o=n("58df");t["a"]=Object(o["a"])(Object(a["a"])("expansionPanels","v-expansion-panel","v-expansion-panels"),Object(s["b"])("expansionPanel",!0)).extend({name:"v-expansion-panel",props:{disabled:Boolean,readonly:Boolean},data:function(){return{content:null,header:null,nextIsActive:!1}},computed:{classes:function(){return Object(i["a"])({"v-expansion-panel--active":this.isActive,"v-expansion-panel--next-active":this.nextIsActive,"v-expansion-panel--disabled":this.isDisabled},this.groupClasses)},isDisabled:function(){return this.expansionPanels.disabled||this.disabled},isReadonly:function(){return this.expansionPanels.readonly||this.readonly}},methods:{registerContent:function(e){this.content=e},unregisterContent:function(){this.content=null},registerHeader:function(e){this.header=e,e.$on("click",this.onClick)},unregisterHeader:function(){this.header=null},onClick:function(e){e.detail&&this.header.$el.blur(),this.$emit("click",e),this.isReadonly||this.isDisabled||this.toggle()},toggle:function(){var e=this;this.$nextTick((function(){return e.$emit("change")}))}},render:function(e){return e("div",{staticClass:"v-expansion-panel",class:this.classes,attrs:{"aria-expanded":String(this.isActive)}},Object(r["s"])(this))}})},cd89:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAmbassadorRole"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAmbassadorRoleInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAmbassadorRole"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:130}};n.loc.source={body:"mutation updateCompanyAmbassadorRole ($input: UpdateCompanyAmbassadorRoleInput!) {\n  updateCompanyAmbassadorRole (input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAmbassadorRole"]=r(n,"updateCompanyAmbassadorRole")},cdc6:function(e,t,n){},d234:function(e,t,n){"use strict";n("77b5")},d473:function(e,t,n){},d50b:function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));n("99af");var i=[{type:"VALUATION",action:"labels.valuated",order:1,icon:"mdi-home",key:"valuations",label:"labels.tools.valuation"},{type:"RETURN_CALL",action:"labels.arranged",order:2,icon:"mdi-phone",key:"returnCalls",label:"labels.tools.return-call"},{type:"PROPERTY_REQUEST",action:"labels.issued",order:3,icon:"mdi-home-search",key:"propertyRequests",label:"labels.tools.property-request"},{type:"QUIZZARD",action:"labels.conducted",order:4,icon:"mdi-home-analytics",key:"quizPreConversion",label:"labels.tools.quizzard"},{type:"LIFE_ANNUITY",action:"labels.conducted",order:5,icon:"mdi-checkbox-marked-circle",key:"lifeAnnuities",label:"labels.tools.life-annuity"},{type:"PARTIAL_SALE",action:"labels.conducted",order:6,icon:"mdi-checkbox-marked-circle",key:"partialSales",label:"labels.tools.partial-sale"},{type:"PLOT_VALUATION",action:"labels.conducted",order:7,icon:"mdi-image-filter-hdr",key:"plotValuations",label:"labels.tools.plot-valuation"}],a=[].concat(i,[{type:"DOWNLOAD",action:"labels.downloaded",order:8,icon:"mdi-file-document-outline",key:"downloads",label:"labels.tools.download"}])},d59f:function(e,t,n){},d657:function(e,t,n){e.exports=n.p+"img/billwerk-plus-logo.676baec5.png"},d764:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"propstackContactsCount"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PropstackSelectedContactStatusesInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"propstackContactsCount"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"countPerStatus"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:146}};n.loc.source={body:"query propstackContactsCount($input: PropstackSelectedContactStatusesInput!) {\n  propstackContactsCount(input: $input) {\n    countPerStatus\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["propstackContactsCount"]=r(n,"propstackContactsCount")},d7f2:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createHoppermationSender"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CreateHoppermationSenderInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"sender"},name:{kind:"Name",value:"createHoppermationSender"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isAcknowledged"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"fromEmail"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:198}};n.loc.source={body:"mutation createHoppermationSender($input: CreateHoppermationSenderInput!) {\n  sender: createHoppermationSender(input: $input) {\n    id\n    isVerified\n    isAcknowledged\n    fromEmail\n    name\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["createHoppermationSender"]=r(n,"createHoppermationSender")},dd6d:function(e,t,n){},de8b:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanySlugByCompany"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanySlugInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanySlugByCompany"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:137}};n.loc.source={body:"mutation updateCompanySlugByCompany($input: UpdateCompanySlugInput!) {\n    updateCompanySlugByCompany(input: $input) {\n        id\n    }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanySlugByCompany"]=r(n,"updateCompanySlugByCompany")},df55:function(e,t,n){"use strict";n("2658")},dfc3:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateIsPhoneOptionalSettings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateIsPhoneOptionalSettingsInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateIsPhoneOptionalSettings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"company"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"isPhoneOptional"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:185}};n.loc.source={body:"mutation updateIsPhoneOptionalSettings ($input: UpdateIsPhoneOptionalSettingsInput!) {\n  updateIsPhoneOptionalSettings (input: $input) { \n    company {\n      isPhoneOptional\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateIsPhoneOptionalSettings"]=r(n,"updateIsPhoneOptionalSettings")},e027:function(e,t,n){"use strict";n("50cd")},e11c9:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"revokeCancellation"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"revokeCancellation"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[]}]}}],loc:{start:0,end:94}};n.loc.source={body:"mutation revokeCancellation($companyId: ID!) {\n  revokeCancellation(companyId: $companyId) \n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["revokeCancellation"]=r(n,"revokeCancellation")},e2a5:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyName"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyNameInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyName"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:95}};n.loc.source={body:"mutation updateCompanyName($input: UpdateCompanyNameInput!){\nupdateCompanyName(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyName"]=r(n,"updateCompanyName")},e2db:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"verifyHoppermationDomain"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"domain"},name:{kind:"Name",value:"verifyHoppermationDomain"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"domain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dkimHost"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"dkimText"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"returnPathDomain"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"returnPathDomainCname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isDKIMVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isReturnPathDomainVerified"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:253}};n.loc.source={body:"mutation verifyHoppermationDomain($companyId: ID!) {\n  domain: verifyHoppermationDomain(companyId: $companyId) {\n    domain\n    dkimHost\n    dkimText\n    returnPathDomain\n    returnPathDomainCname\n    isDKIMVerified\n    isReturnPathDomainVerified\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["verifyHoppermationDomain"]=r(n,"verifyHoppermationDomain")},e799:function(e,t,n){},e7a4:function(e,t,n){"use strict";n("5e39")},e8ce:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"validatePropstackCredentials"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PropstackCredentialsInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"propstackConfig"},name:{kind:"Name",value:"validatePropstackCredentials"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isTokenVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"selectedContactStatusIds"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:206}};n.loc.source={body:"mutation validatePropstackCredentials($input: PropstackCredentialsInput!) {\n  propstackConfig: validatePropstackCredentials(input: $input) {\n    token\n    isTokenVerified\n    selectedContactStatusIds\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["validatePropstackCredentials"]=r(n,"validatePropstackCredentials")},e9a3:function(e,t,n){},e9b7:function(e,t,n){},eac5:function(e,t,n){"use strict";var i=n("861d"),a=Math.floor;e.exports=Number.isInteger||function(e){return!i(e)&&isFinite(e)&&a(e)===e}},eaef:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Company"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"company"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mailProvider"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"customWording"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"salutation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"farewell"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"links"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"website"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"address"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"street"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"city"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"zip"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"country"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"ambassador"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"firstname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"lastname"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"role"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"email"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"phone"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"mobile"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"image"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"signature"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"customTemplateSignature"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"html"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"extra"},arguments:[],directives:[]}]}}]}}]}}]}}],loc:{start:0,end:513}};n.loc.source={body:"query Company ($id: String) {\n  company (id: $id) {\n    id\n    name\n    mailProvider\n    customWording {\n      salutation\n      farewell\n    }\n    links {\n      website\n    }\n    address {\n      street\n      city\n      zip\n      country\n    }\n    ambassador {\n      id\n      firstname\n      lastname\n      name\n      role\n      email\n      phone\n      mobile\n      image {\n        url\n        id\n      }\n      signature {\n        customTemplateSignature\n        text\n        html\n        extra\n      }\n    }\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["Company"]=r(n,"Company")},eaf3:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"createOrUpdateCrmCompanyConfig"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"CrmCompanyConfigInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"config"},name:{kind:"Name",value:"createOrUpdateCrmCompanyConfig"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"companyId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"crmProvider"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"syncModus"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isActive"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"hasBeenActivated"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:216}};n.loc.source={body:"mutation createOrUpdateCrmCompanyConfig($input: CrmCompanyConfigInput!) {\n  config: createOrUpdateCrmCompanyConfig(input: $input) {\n    companyId\n    crmProvider\n    syncModus\n    isActive\n    hasBeenActivated\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["createOrUpdateCrmCompanyConfig"]=r(n,"createOrUpdateCrmCompanyConfig")},ebaa:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e._self._c;return t("div",{staticClass:"full-size-container h-full col-12",style:e.cssProps},[e.hasActivePackage?e._e():t("h2",{staticClass:"d-flex justify-center text-center main-title"},[e._v(" "+e._s(e.$t("product-packages.main-title"))),t("br")]),t("div",{staticClass:"pa-0 mx-auto package-selection-tabs-wrapper"},[t("div",{staticClass:"d-flex justify-center text-center"},[t("div",{staticClass:"package-selection-tabs d-flex justify-space-between align-center",class:{"col-12":e.isMobile}},[t("div",{staticClass:"pay-monthly mr-sm-10 py-2 pointer",class:{selected:"monthly"===e.payingPeriod,"col-6":e.isMobile},on:{click:function(t){return e.setMonthlyPayingPeriod()}}},[t("h4",[e._v(e._s(e.$t("product-packages.pay-monthly")))])]),t("div",{staticClass:"pay-annually py-2 pointer",class:{selected:"yearly"===e.payingPeriod,"col-6":e.isMobile},on:{click:function(t){return e.setYearlyPayingPeriod()}}},[t("h4",[e._v(e._s(e.$t("product-packages.pay-annually"))+" - "),t("span",[e._v(e._s(e.$t("product-packages.save"))+" ~20%")])])])])]),e.isMobile?e._e():t("div",{staticClass:"d-flex justify-end currency-wrapper"},[t("Currencies",{attrs:{"currency-symbol":e.currencySymbol},on:{updateCurrencySymbol:e.updateCurrencySymbol}})],1)]),e.isMobile?t("div",{staticClass:"packages-tabs d-flex justify-center py-1"},[t("div",{staticClass:"package-tab pointer mr-5 align-center text-center",class:{"active-tab-basic":e.activeTab===e.TabName.BEGINNER},on:{click:function(t){e.activeTab=e.TabName.BEGINNER}}},[t("h5",[e._v(e._s(e.$t("product-packages.basic-package.title")))]),t("span",{staticClass:"free"},[e._v(e._s(e.$t("product-packages.basic-package.free")))])]),t("div",{staticClass:"package-tab pointer align-center text-center",class:{"active-tab-advanced":e.activeTab===e.TabName.ADVANCED},on:{click:function(t){e.activeTab=e.TabName.ADVANCED}}},[t("h5",[e._v(e._s(e.$t("product-packages.advanced-package.title")))]),t("span",{staticClass:"price"},[e.isAnnualPaying?t("span",[e._v(e._s(e.formatPrice(Math.round(e.advancedPackagePrice.ANNUALLY/12),e.currency,2)))]):t("span",[e._v(e._s(e.formatPrice(e.advancedPackagePrice.MONTHLY,e.currency,2)))])])])]):e._e(),e.isMobile?t("div",{staticClass:"d-flex justify-center",style:{"margin-bottom":e.activeTab===e.TabName.BEGINNER?"30px":"50px"}},[t("Currencies",{attrs:{"currency-symbol":e.currencySymbol},on:{updateCurrencySymbol:e.updateCurrencySymbol}})],1):e._e(),e.isMobile?t("div",{staticClass:"col-12 pa-0"},[t(e.getPackageTabComponent(),{tag:"component",attrs:{"fallback-country-code":e.fallbackCountryCode,"currency-symbol":e.currencySymbol,"paying-period":e.payingPeriod,"has-active-package":e.hasActivePackage,"active-package":e.activePackage,currency:e.currency,"is-basic-package-active":e.isBasicPackageActive,"is-advanced-package-active":e.isAdvancedPackageActive,"product-type":e.getProductType()},on:{navigateToBasicPackage:e.navigateToBasicPackage}})],1):e._e(),e.isMobile?e._e():t("div",{staticClass:"pt-0 mx-auto d-flex justify-center packages-wrapper"},[t("BasicPackage",{attrs:{"currency-symbol":e.currencySymbol,"fallback-country-code":e.fallbackCountryCode,"paying-period":e.payingPeriod,"has-active-package":e.hasActivePackage,"active-package":e.activePackage,"is-basic-package-active":e.isBasicPackageActive,"product-type":e.ProductType.BEGINNER}}),t("div",[t("AdvancedPackage",{attrs:{"fallback-country-code":e.fallbackCountryCode,"currency-symbol":e.currencySymbol,"paying-period":e.payingPeriod,"has-active-package":e.hasActivePackage,"active-package":e.activePackage,currency:e.currency,"is-basic-package-active":e.isBasicPackageActive,"is-advanced-package-active":e.isAdvancedPackageActive,"product-type":e.ProductType.ADVANCED}})],1)],1),e.packageUpdating?t("Info",{attrs:{"is-loading":e.loading,"error-message":e.errorMessage,"updated-package-type":e.updatedPackageType},on:{close:function(t){e.packageUpdating=!1}}}):e._e()],1)},a=[],s=n("1da1"),r=n("ade3"),o=(n("96cf"),n("b64b"),n("7db0"),n("d3b7"),n("8336")),l=n("62ad"),c=n("132d"),d=n("adda"),u=n("da13"),m=n("5d23"),f=n("1baa"),p=n("34c3"),v=n("0fd9"),g=function(){var e=this,t=e._self._c;return t("div",{staticClass:"content-box mx-auto",class:{"content-box-active":e.isAdvancedPackageActive},style:e.cssProps},[t(v["a"],{staticClass:"recommended-row",staticStyle:{"margin-bottom":"30px"},attrs:{justify:"center"}},[t(l["a"],{staticClass:"text-center pa-0",attrs:{cols:"12"}},[t("span",{staticClass:"recommended-wrapper"},[t("span",{staticClass:"recommended"},[e._v(e._s(e.$t("product-packages.advanced-package.recommended")))])])])],1),t(v["a"],{attrs:{justify:"center"}},[t(l["a"],{staticClass:"text-center pa-0 advanced-package-title-wrapper",attrs:{cols:"12"}},[t("h2",{staticClass:"advanced-package-title"},[e._v(" "+e._s(e.$t("product-packages.advanced-package.title"))+" ")])])],1),t(v["a"],{staticClass:"ma-0",attrs:{justify:"center"}},[t(l["a"],{staticClass:"pa-0",attrs:{cols:"12"}},[t(f["a"],e._l(e.packages,(function(n){return t(u["a"],{key:n.text,staticClass:"px-0 list-item-group",attrs:{ripple:!1}},[t(p["a"],{staticClass:"ma-0 pt-1"},[t(c["a"],{staticClass:"check-icon mr-2"},[e._v(" mdi mdi-check-circle ")])],1),t(m["a"],{staticClass:"pa-0 ma-0"},[t(m["c"],[t("h4",{staticClass:"list-item-title"},[e._v(" "+e._s(n.title)+" ")])]),t("h5",{staticClass:"list-item-content"},[e._v(" "+e._s(n.text)+" ")]),n.list?[n.list[0].length>0?t("ul",e._l(n.list,(function(n){return t("li",{key:n,staticClass:"list-item"},[e._v(" "+e._s(n)+" ")])})),0):e._e()]:e._e()],2)],1)})),1)],1)],1),t(v["a"],{staticClass:"pa-0 mx-0 price-wrapper",attrs:{justify:"center"}},[t(l["a"],{staticClass:"text-center pa-0 ma-0",attrs:{cols:"12"}},[t("span",{staticClass:"price mr-1"},[e.isMonthlyPaying?t("span",[e._v(e._s(e.formatPrice(e.advancedPackagePrice.MONTHLY,e.currency,2)))]):e._e(),e.isAnnualPaying?t("span",[e._v(e._s(e.formatPrice(Math.round(e.advancedPackagePrice.ANNUALLY/12),e.currency,2)))]):e._e()]),t("span",[e._v("/ "+e._s(e.$t("product-packages.month"))+" + "+e._s(e.$t("product-packages.advanced-package.tax-label")))]),t("br"),e.isAnnualPaying?t("span",{staticClass:"billed"},[e.isMonthlyPaying?t("span",[e._v(" "+e._s(e.formatPrice(12*e.advancedPackagePrice.MONTHLY,e.currency,2))+" ")]):e._e(),e.isAnnualPaying?t("span",[e._v(" "+e._s(e.formatPrice(e.advancedPackagePrice.ANNUALLY,e.currency,2))+" ")]):e._e(),e._v(" / "+e._s(e.$t("product-packages.annual"))+" + "+e._s(e.$t("product-packages.advanced-package.tax-label"))+" ")]):e._e()]),t(d["a"],{staticClass:"image d-flex justify-center align-center",style:{"margin-top":e.isMonthlyPaying?"37px":"60px"},attrs:{width:"80",src:n("5b04"),contain:""}},[t("div",{staticClass:"text-center"},[t("p",{staticClass:"seven-days col-12 ma-0 pa-0"},[e._v(" "+e._s(e.$t("product-packages.advanced-package.discount-info.label-one"))+" ")]),t("p",{staticClass:"money-back col-12 ma-0 pa-0"},[e._v(" "+e._s(e.$t("product-packages.advanced-package.discount-info.label-two"))+" ")]),t("p",{staticClass:"guarantee col-12 ma-0 pa-0"},[e._v(" "+e._s(e.$t("product-packages.advanced-package.discount-info.label-three"))+" ")])])])],1),t(v["a"],{staticClass:"ma-0",attrs:{justify:"center"}},[t(l["a"],{staticClass:"text-center pa-0 submit-button-wrapper",attrs:{cols:"12"}},[t(o["a"],{staticClass:"submit-button",style:e.buttonCss,attrs:{elevation:"0",disabled:e.isAdvancedPackageActive},on:{click:e.submit}},[e.hasActivePackage?t("span",[e._v(" "+e._s(e.$t("buttons.product-packages.advanced-package.upgrade-warning"))+" ")]):t("span",[e._v(" "+e._s(e.$t("buttons.product-packages.advanced-package.label"))+" ")])])],1),t(l["a"],{staticClass:"pa-0 ma-0 text-center",attrs:{cols:"12"}},[e.isMonthlyPaying?t("span",{staticClass:"no-credit-card-label"},[e._v(" "+e._s(e.$t("buttons.product-packages.advanced-package.info-one"))+" ")]):e._e(),e.isAnnualPaying?t("h6",{staticClass:"no-credit-card-label"},[e._v(" "+e._s(e.$t("buttons.product-packages.advanced-package.info-two"))+" ")]):e._e()])],1),e.hasActivePackage?t(v["a"],{attrs:{justify:"center"}},[t(l["a"],{staticClass:"text-center",attrs:{cols:"12"}},[e.isAdvancedPackageActive?e._e():t("UpdatePackageInfo",{attrs:{type:"info","package-type":e.productType}})],1)],1):e._e()],1)},h=[],b=(n("e9c4"),n("dca8"),Object.freeze({MONTHLY:"monthly",ANNUALLY:"yearly"})),k=n("3b55"),y=Object.freeze({BEGINNER:"beginner"}),C=Object.freeze({MONTHLY:"advanced-monthly",ANNUALLY:"advanced-yearly"}),S=Object.freeze({Price:0}),x=Object.freeze({MONTHLY:19,ANNUALLY:199}),w=(Object.freeze({MONTHLY:49,ANNUALLY:468}),Object.freeze({MONTHLY:15,ANNUALLY:144}),Object.freeze({MONTHLY:15,ANNUALLY:144}),Object.freeze({MONTHLY:15,ANNUALLY:144}),Object.freeze({MONTHLY:15,ANNUALLY:144}),Object.freeze({MONTHLY:9,ANNUALLY:84}),n("a866")),N=n("21c8"),_=n("0798"),$=function(){var e=this,t=e._self._c;return t("div",{staticClass:"d-flex justify-center flex-column align-center w-full"},[t("div",{staticClass:"d-flex flex-column align-center w-full"},[t(_["a"],{staticClass:"mt-4 text-left",attrs:{type:e.type,icon:"mdi mdi-information"}},[[t("b",[e._v(e._s(e.$t("settings.upgrade-warning.body-texts.2")))]),e._v(" "+e._s(e.$t("settings.upgrade-warning.body-texts.3"))+" ")]],2)],1)])},D=[],E=n("d16e"),O={mixins:[k["a"]],props:{packageType:{type:String,default:null},type:{type:String,default:null}},computed:{activePackageType:function(){var e,t;return null===(e=this.$auth)||void 0===e||null===(t=e.user)||void 0===t?void 0:t.productType},isBasicPackageActive:function(){return this.activePackageType===E["a"].BEGINNER}}},T=O,A=n("2877"),I=Object(A["a"])(T,$,D,!1,null,null,null),P=I.exports,F=n("188c"),L={components:{UpdatePackageInfo:P},mixins:[k["a"],w["a"],F["a"]],props:{isBasicPackageActive:{type:Boolean,default:!1},isAdvancedPackageActive:{type:Boolean,default:!1},productType:{type:String,default:""},payingPeriod:{type:String,default:""},currencySymbol:{type:String,default:""},fallbackCountryCode:{type:String,default:""},hasActivePackage:{type:Boolean,default:!1},activePackage:{type:String,default:null},currency:{type:String,default:""}},data:function(){return{packages:[{title:this.translate("benefit-one.title"),text:this.translate("benefit-one.text")},{title:this.translate("benefit-two.title"),text:this.translate("benefit-two.text")},{title:this.translate("benefit-three.title"),text:this.translate("benefit-three.text"),list:[this.translate("benefit-three.list.0"),this.translate("benefit-three.list.1"),this.translate("benefit-three.list.2")]},{title:this.translate("benefit-four.title"),text:this.translate("benefit-four.text")},{title:this.translate("benefit-five.title"),text:this.translate("benefit-five.text")}],isUpgrade:!1}},computed:{cssProps:function(){return{"--mid-yellow":this.$vuetify.theme.themes.light.markero.midYellow,"--light-orange":this.$vuetify.theme.themes.light.markero.lightOrange}},isMobile:function(){return this.$vuetify.breakpoint.mdAndDown},infoColor:function(){return{color:this.$vuetify.theme.themes.light.markero.blue}},buttonCss:function(){return{"background-color":this.$vuetify.theme.themes.light.markero.blue}},advancedPackagePrice:function(){return x},isMonthlyPaying:function(){return this.payingPeriod===b.MONTHLY},isAnnualPaying:function(){return this.payingPeriod===b.ANNUALLY}},methods:{translate:function(e){return this.$t("product-packages.advanced-package.package-benefits.".concat(e))},setToSessionStorage:function(){var e,t=this.$route.query;sessionStorage.setItem("productPackageQuery",JSON.stringify({readableIds:this.isAnnualPaying?[C.ANNUALLY]:[C.MONTHLY],isYearly:this.isAnnualPaying,productType:this.productType,countryCode:null!==(e=null===t||void 0===t?void 0:t.countryCode)&&void 0!==e?e:this.fallbackCountryCode,companyId:null===t||void 0===t?void 0:t.companyId,currencySymbol:this.currencySymbol,monthlyPrice:this.isMonthlyPaying?x.MONTHLY:x.ANNUALLY/12,yearlyPrice:this.isMonthlyPaying?12*x.MONTHLY:x.ANNUALLY}))},submit:function(){this.setToSessionStorage(),this.hasActivePackage?(this.$tracking.event("Plans and Pricing",this.$tracking.trackingEvents.CLICKED,"ADVANCED"),this.$tracking.event("Plan",this.$tracking.trackingEvents.CLICKED,"Upgrade"),this.navigateToPaymentPage()):(this.$tracking.event("Plan Selection",this.$tracking.trackingEvents.CLICKED,"ADVANCED"),this.navigateToRegisterPage())},navigateToRegisterPage:function(){var e=Object(N["a"])();window.self!==window.top?window.open(this.$router.resolve({name:"register",query:e}).href,"_blank"):this.$router.push({name:"register",query:e,replace:!0})},navigateToPaymentPage:function(){this.$router.push({name:"change-package-payment",query:Object(N["a"])(),replace:!0})}}},V=L,R=(n("6d12"),Object(A["a"])(V,g,h,!1,null,"462b3bd2",null)),j=R.exports,U=function(){var e=this,t=e._self._c;return t("div",{staticClass:"content-box-wrapper",style:e.cssProps},[t("div",{staticClass:"content-box mx-auto",class:{"content-box-active":e.isBasicPackageActive}},[t(v["a"],{staticClass:"basic-package-title-wrapper",attrs:{justify:"center"}},[t(l["a"],{staticClass:"text-center pa-0",attrs:{cols:"12"}},[t("h2",{staticClass:"basic-package-title pa-0"},[e._v(" "+e._s(e.$t("product-packages.basic-package.title"))+" ")])])],1),t(v["a"],{staticClass:"ma-0",attrs:{justify:"center"}},[t(l["a"],{staticClass:"pa-0",attrs:{cols:"12"}},[t(f["a"],e._l(e.packages,(function(n){return t(u["a"],{key:n.text,staticClass:"px-0",attrs:{ripple:!1}},[t(p["a"],{staticClass:"ma-0 pr-2"},[t("div",{staticClass:"circle"},[t("div",{staticClass:"checkmark"})])]),t(m["a"],{staticClass:"pa-0 ma-0"},[t(m["c"],[t("h4",{staticClass:"list-item-title"},[e._v(" "+e._s(n.title)+" ")])]),t("h5",{staticClass:"list-item-content"},[e._v(" "+e._s(n.text)+" ")]),n.list?[n.list[0].length>0?t("ul",e._l(n.list,(function(n){return t("li",{key:n,staticClass:"list-item"},[e._v(" "+e._s(n)+" ")])})),0):e._e()]:e._e()],2)],1)})),1)],1)],1),t(v["a"],{staticClass:"pa-0 mx-0 price-wrapper",attrs:{justify:"center"}},[t(l["a"],{staticClass:"text-center pa-0 ma-0",attrs:{cols:"12"}},[t("span",{staticClass:"price",style:{color:e.$vuetify.theme.themes.light.markero.blue}},[e._v(" "+e._s(e.formatPrice(e.basicPackagePrice.Price,e.currency))+" ")])])],1),t(v["a"],{staticClass:"ma-0",attrs:{justify:"center"}},[t(l["a"],{staticClass:"text-center pa-0 submit-button-wrapper"},[t(o["a"],{staticClass:"submit-button",style:e.buttonCss,attrs:{elevation:"0",disabled:e.isBasicPackageActive},on:{click:e.submit}},[e.hasActivePackage?t("span",[e._v(" "+e._s(e.$t("buttons.downgrade-warning.cta"))+" ")]):t("span",[e._v(" "+e._s(e.$t("buttons.product-packages.basic-package.label"))+" ")])])],1),t(l["a"],{staticClass:"pa-0 ma-0 text-center",attrs:{cols:"12"}},[t("span",{staticClass:"no-credit-card-label"},[e._v(e._s(e.$t("buttons.product-packages.basic-package.info")))])])],1)],1)])},B=[],M=n("f3da"),q=n("a495"),H=n("9036"),z={mixins:[k["a"],F["a"]],props:{isBasicPackageActive:{type:Boolean,default:!1},productType:{type:String,default:""},payingPeriod:{type:String,default:""},currencySymbol:{type:String,default:""},fallbackCountryCode:{type:String,default:""},hasActivePackage:{type:Boolean,default:!1}},data:function(){return{packages:[{title:this.translate("benefit-one.title"),text:this.translate("benefit-one.text")},{title:this.translate("benefit-two.title"),text:this.translate("benefit-two.text")},{title:this.translate("benefit-three.title"),text:this.translate("benefit-three.text")},{title:this.translate("benefit-four.title"),text:this.translate("benefit-four.text")}]}},computed:{cssProps:function(){return{"--mid-yellow":this.$vuetify.theme.themes.light.markero.midYellow,"--dark-grey":this.$vuetify.theme.themes.light.markero.darkGrey,"--light-orange":this.$vuetify.theme.themes.light.markero.lightOrange}},currency:function(){var e,t=(e={},Object(r["a"])(e,M["a"].SWISSFRANC,"CHF"),Object(r["a"])(e,M["a"].EURO,"EUR"),e);return t[this.currencySymbol]||"USD"},infoColor:function(){return{color:"".concat(this.$vuetify.theme.themes.light.primary,"30")}},buttonCss:function(){return{"background-color":this.$vuetify.theme.themes.light.primary}},basicPackagePrice:function(){return S},isAnnualPaying:function(){return this.payingPeriod===b.ANNUALLY}},methods:{translate:function(e){return this.$t("product-packages.basic-package.package-benefits.".concat(e))},setToSessionStorage:function(){var e,t=this.$route.query;sessionStorage.setItem("productPackageQuery",JSON.stringify({readableIds:[y.BEGINNER],productType:this.productType,isYearly:this.isAnnualPaying,companyId:null===t||void 0===t?void 0:t.companyId,currencySymbol:this.currencySymbol,countryCode:null!==(e=null===t||void 0===t?void 0:t.countryCode)&&void 0!==e?e:this.fallbackCountryCode}))},submit:function(){this.setToSessionStorage(),this.hasActivePackage?(this.$tracking.event("Plans and Pricing",this.$tracking.trackingEvents.CLICKED,"BEGINNER"),this.$tracking.event("Plan",this.$tracking.trackingEvents.CLICKED,"Downgrade"),this.navigateToPaymentPage()):(this.$tracking.event("Plan Selection",this.$tracking.trackingEvents.CLICKED,"BEGINNER"),this.$tracking.event(q["a"].START_TRIAL,this.$tracking.trackingEvents.CLICKED),this.navigateToRegisterPage())},navigateToRegisterPage:function(){var e=Object(N["a"])();window.self!==window.top?window.open(this.$router.resolve({name:"register",query:e}).href,"_blank"):this.$router.push({name:"register",query:e,replace:!0})},navigateToPaymentPage:function(){this.$router.push({name:"change-package-payment",query:Object(N["a"])(),replace:!0})},navigateToProductFinder:function(){this.$router.push({name:"signup-markero",step:H["a"].WEBSITE})}}},G=z,W=(n("200c"),Object(A["a"])(G,U,B,!1,null,"286a3ed0",null)),K=W.exports,Q=Object.freeze({BEGINNER:"beginner",ADVANCED:"advanced"}),Y=n("ee05"),Z=n("a482"),X=n("c6a6"),J=function(){var e=this,t=e._self._c;return t("span",{staticClass:"currency",class:{"col-4":e.isMobile},style:e.cssProps},[t(X["a"],{style:{width:e.isMobile?"":"85px","border-radius":e.isMobile?"8px !important":"","background-color":"white",border:"1px solid ".concat(e.$vuetify.theme.themes.light.markero.blue),color:e.$vuetify.theme.themes.light.markero.blue},attrs:{items:e.currenciesSymbol,outlined:"",flat:"","hide-details":""},on:{change:e.updateCurrencySymbol,mousedown:e.onClick,blur:e.onBlur},model:{value:e.selectedCurrencySymbol,callback:function(t){e.selectedCurrencySymbol=t},expression:"selectedCurrencySymbol"}})],1)},ee=[],te={props:{currencySymbol:{type:String,default:""}},data:function(){return{selectedCurrencySymbol:this.currencySymbol,currenciesSymbol:[M["a"].USDOLLAR,M["a"].EURO,M["a"].SWISSFRANC]}},computed:{cssProps:function(){return{"--blue":this.$vuetify.theme.themes.light.markero.blue}},isMobile:function(){return this.$vuetify.breakpoint.smAndDown}},watch:{currencySymbol:function(e){this.selectedCurrencySymbol=e}},methods:{onBlur:function(){this.$tracking.event("Plan Selection",this.$tracking.trackingEvents.CLICKED,"Change currency close")},onClick:function(){this.$tracking.event("Plan Selection",this.$tracking.trackingEvents.CLICKED,"Change currency open")},updateCurrencySymbol:function(){this.$emit("updateCurrencySymbol",this.selectedCurrencySymbol)}}},ne=te,ie=(n("cb3b"),Object(A["a"])(ne,J,ee,!1,null,"7713db1a",null)),ae=ie.exports,se=n("169a"),re=function(){var e=this,t=e._self._c;return t(se["a"],{attrs:{width:"600",color:"white",persistent:""},model:{value:e.dialog,callback:function(t){e.dialog=t},expression:"dialog"}},[t("div",{staticClass:"dialog pa-5"},[e.isLoading?t("div",{staticClass:"d-flex justify-center align-center",staticStyle:{"min-height":"250px"}},[t("ProgressCircular")],1):e._e(),e.isLoading||e.hasError?e._e():[t("div",{staticClass:"text-center"},[t("span",{staticClass:"mdi mdi-check-circle success-icon",style:e.successIconColor})]),t("h1",{staticClass:"text-center"},[e._v(" "+e._s(e.$t("payment.package-update.success.title",{updatedPackageType:e.updatedPackageType}))+"! ")]),e.isPackageDowngraded?t("p",{staticClass:"text-center mb-0"},[e._v(" "+e._s(e.$t("payment.package-update.success.description-downgrade",{productType:e.productType}))+" ")]):t("p",{staticClass:"text-center mb-0"},[e._v(" "+e._s(e.$t("payment.package-update.success.description-upgrade",{updatedPackageType:e.updatedPackageType}))+" ")])],!e.isLoading&&e.hasError?[t("div",{staticClass:"text-center"},[t("span",{staticClass:"mdi mdi-alert-circle-outline error-icon",style:e.errorIconColor})]),t("h1",{staticClass:"text-center"},[e._v(" "+e._s(e.$t("payment.package-update.error.title"))+"! ")]),t("p",{staticClass:"text-center mb-0"},[e._v(" "+e._s(e.errorMessage)+" ")])]:e._e()],2)])},oe=[],le=n("bd90"),ce={components:{ProgressCircular:le["a"]},props:{updatedPackageType:{type:String,default:""},errorMessage:{type:String,default:""},isLoading:{type:Boolean,default:!1}},data:function(){return{dialog:!0,navigatePageTimeout:null}},computed:{productType:function(){var e,t;return null===(e=this.$auth)||void 0===e||null===(t=e.user)||void 0===t?void 0:t.productType},isPackageDowngraded:function(){return this.productType===E["a"].ADVANCED&&this.updatedPackageType===E["a"].BEGINNER},hasError:function(){return""!==this.errorMessage},successIconColor:function(){return{color:this.$vuetify.theme.themes.light.primary}},errorIconColor:function(){return{color:"red"}}},mounted:function(){this.initPageNavigation()},unmounted:function(){this.navigatePageTimeout&&clearTimeout(this.navigatePageTimeout)},methods:{initPageNavigation:function(){var e=this;this.navigatePageTimeout=setTimeout((function(){e.handleNavigation()}),8e3)},handleNavigation:function(){this.hasError?this.$emit("close"):this.navigateToDashboard()},navigateToDashboard:function(){window.location.href=window.location.origin+"/dashboard"}}},de=ce,ue=(n("55d1"),Object(A["a"])(de,re,oe,!1,null,"7493481e",null)),me=ue.exports,fe={components:{Currencies:ae,ProductFinder:Y["default"],BasicPackage:K,AdvancedPackage:j,Info:me},mixins:[F["a"]],props:{company:{type:Object,default:function(){}}},data:function(){return{activeTab:"",payingPeriod:b.ANNUALLY,currenciesSymbol:[M["a"].USDOLLAR,M["a"].EURO,M["a"].SWISSFRANC],currencySymbol:M["a"].USDOLLAR,fallbackCountryCode:null,redirectPageTimeout:null,loading:!0,packageUpdating:!1,updatedPackageType:null,errorMessage:""}},computed:{currency:function(){var e,t=(e={},Object(r["a"])(e,M["a"].SWISSFRANC,"CHF"),Object(r["a"])(e,M["a"].EURO,"EUR"),e);return t[this.currencySymbol]||"USD"},advancedPackagePrice:function(){return x},isAnnualPaying:function(){return this.payingPeriod===b.ANNUALLY},cssProps:function(){return{"--blue-color":this.$vuetify.theme.themes.light.markero.blue,"--light-orange":this.$vuetify.theme.themes.light.markero.lightOrange}},ProductType:function(){return E["a"]},productType:function(){var e;return null===(e=this.company)||void 0===e?void 0:e.productType},isBasicPackageActive:function(){return this.productType===E["a"].BEGINNER},isAdvancedPackageActive:function(){return this.productType===E["a"].ADVANCED},hasActivePackage:function(){return!!this.productType},activePackage:function(){return this.hasActivePackage?this.productType:null},hasQueries:function(){return Object.keys(this.$route.query).length>0},TabName:function(){return Q},isMobile:function(){return this.$vuetify.breakpoint.smAndDown},isYearlyPaying:function(){return this.payingPeriod===b.ANNUALLY}},watch:{$route:function(){this.$router.go(0)}},mounted:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!e.hasQueries){t.next=6;break}return t.next=3,e.setCurrencySymbol();case 3:return e.setPayingPeriod(),e.isMobile&&e.setActiveTab(),t.abrupt("return");case 6:return t.next=8,e.fetchBrowserGeolocation();case 8:e.isMobile&&e.setActiveTab();case 9:case"end":return t.stop()}}),t)})))()},unmounted:function(){this.redirectPageTimeout&&clearTimeout(this.redirectPageTimeout)},methods:{setMonthlyPayingPeriod:function(){this.payingPeriod="monthly",this.$tracking.event("Plan Selection",this.$tracking.trackingEvents.CLICKED,"pay monthly")},setYearlyPayingPeriod:function(){this.payingPeriod="yearly",this.$tracking.event("Plan Selection",this.$tracking.trackingEvents.CLICKED,"pay yearly")},getProductType:function(){var e;return(e={},Object(r["a"])(e,this.TabName.BEGINNER,E["a"].BEGINNER),Object(r["a"])(e,this.TabName.ADVANCED,E["a"].ADVANCED),e)[this.activeTab]},getPackageTabComponent:function(){var e;return(e={},Object(r["a"])(e,this.TabName.BEGINNER,"BasicPackage"),Object(r["a"])(e,this.TabName.ADVANCED,"AdvancedPackage"),e)[this.activeTab]},setPayingPeriod:function(){var e;this.payingPeriod=null!==(e=this.$route.query)&&void 0!==e&&e.isYearly?null===b||void 0===b?void 0:b.ANNUALLY:null===b||void 0===b?void 0:b.MONTHLY},fetchBrowserGeolocation:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:try{e.fallbackCountryCode="DE",e.getFallbackCurrencySymbol()}catch(n){e.updateCurrencySymbol(M["a"].USDOLLAR)}case 1:case"end":return t.stop()}}),t)})))()},updateCurrencySymbol:function(e){this.$tracking.event("Plan Selection",this.$tracking.trackingEvents.CLICKED,"Change currency selected"),this.currencySymbol=e},navigateToProductFinder:function(){this.$router.push({name:"signup-markero",step:H["a"].WEBSITE})},navigateToBasicPackage:function(){this.activeTab=Q.BEGINNER},setCurrencySymbol:function(){var e=this;return Object(s["a"])(regeneratorRuntime.mark((function t(){var n,i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=null===(n=e.$route.query)||void 0===n?void 0:n.currencySymbol,!i){t.next=5;break}e.updateCurrencySymbol(i),t.next=7;break;case 5:return t.next=7,e.fetchBrowserGeolocation();case 7:case"end":return t.stop()}}),t)})))()},getFallbackCurrencySymbol:function(){var e,t=this,n=Z["a"].find((function(e){return e.countryCode===t.fallbackCountryCode}));this.updateCurrencySymbol(null!==(e=null===n||void 0===n?void 0:n.currencySymbol)&&void 0!==e?e:M["a"].USDOLLAR)},setActiveTab:function(){this.activeTab=Q.BEGINNER}}},pe=fe,ve=(n("e027"),Object(A["a"])(pe,i,a,!1,null,"4a8d9d94",null));t["default"]=ve.exports},ede5:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyTheme"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyThemeInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyTheme"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"colors"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"primary"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"secondary"},arguments:[],directives:[]}]}}]}}]}}],loc:{start:0,end:157}};n.loc.source={body:"mutation updateCompanyTheme($input: UpdateCompanyThemeInput!) {\n  updateCompanyTheme(input: $input) {\n    colors {\n      primary\n      secondary\n    }\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyTheme"]=r(n,"updateCompanyTheme")},ee05:function(e,t,n){"use strict";n.r(t);var i=n("62ad"),a=n("0789"),s=n("adda"),r=n("0fd9"),o=(n("b0c0"),function(){var e=this,t=e._self._c;return e.anamnesis?t(r["a"],{staticClass:"product-finder-wrapper"},[t("div",{staticClass:"company-logo-wrapper col-12 pa-0 d-flex justify-center"},[t(s["a"],{staticClass:"my-2",attrs:{alt:"Company Logo",src:n("a9a8"),"max-width":"160",contain:""}})],1),t(i["a"],{staticClass:"anamnesis mx-auto ma-0 pa-0 d-flex flex-column justify-center",attrs:{cols:"11",lg:"6"}},[t(a["d"],["website"===e.activeStep?t("Website",{attrs:{"website-url":e.anamnesis.websiteUrl},on:{websiteUrl:function(t){e.anamnesis.websiteUrl=t},next:e.createAnamnesisFromWebsite}}):"process"===e.activeStep?t("Process",{attrs:{completed:e.completed},on:{back:function(t){return e.updateActiveStep("website")},next:e.handleProcessed}}):e._e(),"website-retry"===e.activeStep?t("WebsiteRetry",{attrs:{"website-url":e.anamnesis.websiteUrl},on:{websiteUrl:function(t){e.anamnesis.websiteUrl=t},next:e.createAnamnesisFromWebsite,back:function(t){return e.createAnamnesisFromWebsite(!0)}}}):"basic-info"===e.activeStep?t("BasicInfo",{attrs:{country:e.anamnesis.country,"completed-fields":e.completedFields,name:e.anamnesis.name,"website-url":e.anamnesis.websiteUrl,industry:e.anamnesis.industry,"business-description":e.anamnesis.businessDescription},on:{country:function(t){e.anamnesis.country=t},name:function(t){e.anamnesis.name=t},industry:function(t){e.anamnesis.industry=t},businessDescription:function(t){e.anamnesis.businessDescription=t},back:function(t){return e.updateActiveStep("website")},next:e.saveAnamnesis}}):"success"===e.activeStep?t("Success"):e._e()],1)],1)],1):e._e()}),l=[],c=n("1da1"),d=n("5530"),u=n("ade3"),m=(n("96cf"),n("e9c4"),n("7db0"),n("d3b7"),n("c6a6")),f=n("4bd4"),p=n("8654"),v=n("a844"),g=function(){var e=this,t=e._self._c;return t("div",{staticClass:"pa-sm-0 text-center d-flex flex-column gap-1 gap-lg-2"},[t("div",{class:{"mb-5":e.isCurrentStepName||e.isCurrentStepIndustry}},[t("h1",{staticClass:"justify-center mx-auto px-sm-0"},[e.isCurrentStepName?t("span",{staticClass:"title-text"},[e._v(" "+e._s(e.$t("product-finder.basic-info.title-step-one"))+" ")]):e._e(),e.isCurrentStepIndustry?t("span",{staticClass:"title-text"},[e._v(" "+e._s(e.$t("product-finder.basic-info.title-step-two"))+" ")]):e._e()])]),t(f["a"],{ref:"form",on:{submit:function(t){return t.preventDefault(),e.changeRouteNext.apply(null,arguments)}}},[e.isCurrentStepName?t("div",[t("h4",{staticClass:"text-start pb-2 link-label"},[e._v(" "+e._s(e.$t("product-finder.basic-info.company-name-title"))+" ")]),t(p["a"],{staticClass:"ma-0 pa-0 name-input",attrs:{value:e.name,"hide-details":"",outlined:""},on:{click:function(t){return e.onNameClick()},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.changeRouteNext.apply(null,arguments))},input:function(t){return e.$emit("name",t)}}})],1):e._e(),e.isCurrentStepCountry?t("div",[t("h4",{staticClass:"text-start pb-2 link-label"},[e._v(" "+e._s(e.$t("product-finder.basic-info.country-box-title"))+" ")]),t(m["a"],{staticClass:"pointer",attrs:{value:e.country,items:e.availableCountries,clearable:"","item-text":"text","item-value":"value",outlined:"","hide-details":"",placeholder:e.$t("product-finder.basic-info.country-placeholder"),"return-object":""},on:{input:function(t){return e.$emit("country",t)},click:function(t){return e.onCountryClick()},blur:function(t){return e.onCountryBlur()},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.changeRouteNext.apply(null,arguments))},"click:clear":function(t){return e.$emit("country",null)}},scopedSlots:e._u([{key:"selection",fn:function(n){return[t("span",[e._v(e._s(n.item.text))])]}},{key:"item",fn:function(n){return[t("span",{staticClass:"ml-2"},[e._v(e._s(n.item.text))])]}}],null,!1,906761508)})],1):e._e(),e.isCurrentStepIndustry?t("div",[t("h4",{staticClass:"text-start pb-2 link-label"},[e._v(" "+e._s(e.$t("product-finder.additional-info.industry-box-title"))+" ")]),t(p["a"],{attrs:{value:e.industry,"hide-details":"",outlined:""},on:{click:function(t){return e.onIndustryClick()},input:function(t){return e.$emit("industry",t)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.changeRouteNext.apply(null,arguments))}}})],1):e._e(),e.isCurrentStepDescription?t("div",[t("h4",{staticClass:"pb-2 text-start link-label"},[e._v(" "+e._s(e.$t("product-finder.additional-info.description-box-title"))+" ")]),t(v["a"],{staticClass:"mt-2",attrs:{value:e.businessDescription,placeholder:e.$t("product-finder.enter-description-placeholder"),rows:"5",outlined:"",counter:"5000",rules:[e.rules.lengthWithEmptySpace({max:5e3})]},on:{input:function(t){return e.$emit("businessDescription",t)},click:function(t){return e.onBusinessDescriptionClick()},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.changeRouteNext.apply(null,arguments))}}})],1):e._e(),t("div",{staticClass:"d-flex gap-1 mt-10"},[t("Button",{on:{click:function(t){return e.changeRouteBack()}}},[t("span",{staticClass:"proceed"},[e._v(e._s(e.$t("buttons.product-finder.back")))])]),t("Button",{attrs:{type:"submit",primary:""}},[e.isCurrentStepDescription?t("span",{staticClass:"proceed"},[e._v(" "+e._s(e.$t("buttons.product-finder.finish"))+" ")]):t("span",{staticClass:"proceed"},[e._v(e._s(e.$t("buttons.product-finder.next")))])])],1)])],1)},h=[],b=(n("d81d"),n("4de4"),n("a482")),k=n("8336"),y=function(){var e=this,t=e._self._c;return t(k["a"],e._g(e._b({staticClass:"flex-grow-1",class:{secondary:!e.primary,primary:e.primary},style:e.cssProps,attrs:{elevation:"0","x-large":""}},"v-btn",e.$attrs,!1),e.$listeners),[e._t("default")],2)},C=[],S={inheritAttrs:!1,props:{primary:{type:Boolean,default:!1}},computed:{cssProps:function(){return{"--blue":this.$vuetify.theme.themes.light.markero.blue,"--dark-blue":this.$vuetify.theme.themes.light.markero.darkBlue}}}},x=S,w=(n("841d"),n("2877")),N=Object(w["a"])(x,y,C,!1,null,"76660912",null),_=N.exports,$=n("65e0"),D=n("9036"),E={components:{Button:_},mixins:[b["b"]],props:{name:{type:String,default:""},country:{type:Object,default:function(){return{}}},completedFields:{type:Object,default:function(){return{}}},industry:{type:String,default:""},businessDescription:{type:String,default:""}},computed:{Routes:function(){return D["a"]},currentStep:function(){return this.$route.params.step},isActiveField:function(){var e=this;return function(t,n){return e.currentStep===t&&!e.completedFields[n]}},isCurrentStepName:function(){return this.isActiveField(D["a"].INFO,"name")},isCurrentStepCountry:function(){return this.isActiveField(D["a"].ORIGIN,"country")},isCurrentStepIndustry:function(){return this.isActiveField(D["a"].INDUSTRY,"industry")},isCurrentStepDescription:function(){return this.isActiveField(D["a"].DESCRIPTION,"businessDescription")},stepsList:function(){var e=this;return[{step:D["a"].INFO,field:"name"},{step:D["a"].ORIGIN,field:"country"},{step:D["a"].INDUSTRY,field:"industry"},{step:D["a"].DESCRIPTION,field:"businessDescription"}].filter((function(t){return!e.completedFields[t.field]})).map((function(e){return e.step}))}},watch:{country:function(e){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Country selected",e.value)}},created:function(){this.rules={lengthWithEmptySpace:$["i"]}},methods:{changeRouteBack:function(){var e=this.getAdjacentStep("back");if(!e)return this.$router.push({path:"/signup-markero/company-info-url"}),void this.$emit("back");this.$router.push({path:"/signup-markero/".concat(e)})},changeRouteNext:function(){var e=this.$refs.form.validate();if(e){var t=this.getAdjacentStep("next");t?this.$router.push({path:"/signup-markero/".concat(t)}):this.$emit("next")}},getAdjacentStep:function(e){var t=this.stepsList.indexOf(this.$route.params.step);if(-1===t)return this.stepsList[0]||null;var n="next"===e?t+1:t-1;return this.stepsList[n]||null},onCountryClick:function(){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Country Selection opened")},onNameClick:function(){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Name input clicked")},onIndustryClick:function(){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Industry input clicked")},onBusinessDescriptionClick:function(){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Business Description clicked")},onCountryBlur:function(){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Country Selection closed")}}},O=E,T=(n("5ae2"),Object(w["a"])(O,g,h,!1,null,"09bb157a",null)),A=T.exports,I=n("0798"),P=n("ac7c"),F=function(){var e=this,t=e._self._c;return t("div",{staticClass:"pa-sm-0 text-center",style:e.cssProps},[t("h1",{staticClass:"title-text justify-center mx-auto px-sm-0"},[e._v(" "+e._s(e.$t("product-finder.website.title"))+" ")]),t("div",{staticClass:"sub-title-text mt-4"},[e._v(" "+e._s(e.$t("product-finder.website.sub-title"))+" ")]),t("div",{staticClass:"mt-10 mb-2"},[t("h4",{staticClass:"pb-2 text-left link-label"},[e._v(" "+e._s(e.$t("product-finder.website.link-label"))+" ")]),t(f["a"],{ref:"website",on:{submit:function(t){return t.preventDefault(),e.proceed.apply(null,arguments)}}},[t(p["a"],{staticClass:"website-input",attrs:{value:e.websiteUrl,outlined:"",type:"url",placeholder:e.$t("product-finder.enter-website-placeholder"),rules:e.noWebsite?[]:[e.rules.url,e.rules.required],"validate-on-blur":""},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.proceed.apply(null,arguments))},click:e.onWebsiteUrlClicked,input:e.onChangeWebsiteUrl}}),t(P["a"],{staticClass:"my-0",attrs:{"hide-details":""},scopedSlots:e._u([{key:"label",fn:function(){return[t("span",{staticClass:"checkbox-text"},[e._v(e._s(e.$t("product-finder.website.no-website")))])]},proxy:!0}]),model:{value:e.noWebsite,callback:function(t){e.noWebsite=t},expression:"noWebsite"}}),e.noWebsite?t(I["a"],{staticClass:"warning mt-4",attrs:{type:"warning",icon:"mdi mdi-alert-circle-outline"}},[e._v(" "+e._s(e.$t("product-finder.website.warning"))+" ")]):e._e(),t("Button",{staticClass:"proceed w-full mt-8 mt-sm-10",attrs:{type:"submit",primary:""}},[e._v(" "+e._s(e.$t("buttons.product-finder.next"))+" ")])],1)],1)])},L=[],V={components:{Button:_},mixins:[b["b"]],props:{websiteUrl:{type:String,default:""}},data:function(){return{noWebsite:!1}},computed:{cssProps:function(){return{"--primary":this.$vuetify.theme.themes.light.primary}}},watch:{noWebsite:function(e){var t=e?"Website Needed":"Website Existing";this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,t)}},created:function(){this.rules={url:$["o"],required:$["n"]}},methods:{onChangeWebsiteUrl:function(e){this.noWebsite&&(this.noWebsite=!1),this.$emit("websiteUrl",e)},proceed:function(){var e=this.$refs.website.validate();e&&this.$emit("next",this.noWebsite)},onWebsiteUrlClicked:function(){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Website URL input")}}},R=V,j=(n("f859"),Object(w["a"])(R,F,L,!1,null,"56d19964",null)),U=j.exports,B=function(){var e=this,t=e._self._c;return t("div",{staticClass:"pa-sm-0 text-center"},[t("h1",{staticClass:"justify-center mx-auto px-sm-0"},[e._v(" "+e._s(e.$t("product-finder.website-retry.title"))+" ")]),t("div",{staticClass:"my-4"},[e._v(" "+e._s(e.$t("product-finder.website-retry.sub-title"))+" ")]),t("div",{staticClass:"mt-8 mb-6"},[t("h4",{staticClass:"pb-2 text-left"},[e._v(" "+e._s(e.$t("product-finder.website-retry.link-label"))+" ")]),t(f["a"],{ref:"website",on:{submit:function(t){return t.preventDefault(),e.proceed.apply(null,arguments)}}},[t(p["a"],{staticClass:"website-input",attrs:{value:e.websiteUrl,outlined:"",type:"url",placeholder:e.$t("product-finder.enter-website-placeholder"),rules:[e.rules.url,e.rules.required],"validate-on-blur":""},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.proceed.apply(null,arguments))},click:e.onWebsiteUrlClicked,input:function(t){return e.$emit("websiteUrl",t)}}}),t("div",{staticClass:"d-flex gap-1 flex-column flex-md-row mt-3 mt-sm-0"},[t("Button",{on:{click:function(t){return e.$emit("back")}}},[e._v(" "+e._s(e.$t("buttons.product-finder.continue-without-website"))+" ")]),t("Button",{attrs:{type:"submit",primary:""}},[e._v(" "+e._s(e.$t("buttons.product-finder.retry"))+" ")])],1)],1)],1)])},M=[],q={components:{Button:_},mixins:[b["b"]],props:{websiteUrl:{type:String,default:""}},created:function(){this.rules={url:$["o"],required:$["n"]}},methods:{proceed:function(){var e=this.$refs.website.validate();e&&this.$emit("next")},onWebsiteUrlClicked:function(){this.$tracking.event("Account Creation",this.$tracking.trackingEvents.CLICKED,"Website URL input")}}},H=q,z=Object(w["a"])(H,B,M,!1,null,null,null),G=z.exports,W=n("132d"),K=function(){var e=this,t=e._self._c;return t("div",{staticClass:"text-center",staticStyle:{"margin-top":"30%"}},[t("div",{staticClass:"d-flex flex-column justify-center"},[t("h1",{staticClass:"justify-center mb-10"},[e._v(" "+e._s(e.$t("product-finder.success.title"))+" ")]),t(W["a"],{attrs:{color:"primary",size:"200"}},[e._v(" mdi-check-circle ")]),t("p",{staticClass:"mt-10"},[e._v(" "+e._s(e.$t("product-finder.success.info",{seconds:e.seconds}))+" ")])],1)])},Q=[],Y={data:function(){return{seconds:4}},mounted:function(){this.$router.push({path:"/signup-markero/".concat(D["a"].SUCCESS)}),this.startCountdown()},methods:{startCountdown:function(){var e=this,t=setInterval((function(){e.seconds>0?e.seconds--:(clearInterval(t),e.$router.push({name:"dashboard"}))}),1e3)}}},Z=Y,X=Object(w["a"])(Z,K,Q,!1,null,null,null),J=X.exports,ee=n("490a"),te=(n("b680"),function(){var e=this,t=e._self._c;return t("div",{staticClass:"text-center",staticStyle:{"margin-top":"30%"}},[t("h1",{staticClass:"row justify-center mb-10"},[e._v(" "+e._s(e.$t("product-finder.generate.title"))),t("br"),e._v(" "+e._s(e.$t("product-finder.generate.subtitle"))+" ")]),t("div",{staticClass:"row justify-center"},[t(ee["a"],{attrs:{rotate:360,value:e.progress,size:200,width:15,color:"primary"}},[t("h2",[e._v(" "+e._s(e.progress.toFixed(0))+" % ")])])],1)])}),ne=[],ie={props:{completed:{type:Boolean,default:!1}},data:function(){return{progress:0,duration:6e4,interval:null,startTime:null}},watch:{completed:function(e){e&&this.completeProgressDelayed()}},mounted:function(){this.$router.push({path:"/signup-markero/".concat(D["a"].SCRAPE)}),this.startProgress()},beforeDestroy:function(){clearInterval(this.interval)},methods:{startProgress:function(){this.startTime=Date.now(),this.interval=setInterval(this.updateProgress,100)},updateProgress:function(){var e=Date.now()-this.startTime,t=e/this.duration;this.progress=100*(1-Math.exp(-5*t)),this.progress>=100&&(this.progress=100,clearInterval(this.interval))},completeProgressDelayed:function(){var e=this;clearInterval(this.interval);var t=this.progress,n=Date.now(),i=3e3;this.interval=setInterval((function(){var a=Date.now()-n,s=a/i;e.progress=t+(100-t)*s,e.progress>=100&&(e.progress=100,clearInterval(e.interval),e.$emit("next"))}),100)}}},ae=ie,se=Object(w["a"])(ae,te,ne,!1,null,null,null),re=se.exports,oe=n("3b55"),le=n("be82"),ce=n.n(le),de=n("6b06"),ue=n.n(de),me=n("4371"),fe=n.n(me),pe=n("1014"),ve=n("35bc"),ge={components:{Success:J,BasicInfo:A,Website:U,WebsiteRetry:G,Process:re},mixins:[oe["a"],b["b"]],data:function(){return{activeStep:"website",anamnesis:null,completed:!1}},computed:{isDefaultRoute:function(){return this.$route.params.step===D["a"].WEBSITE},completedFields:function(){var e,t;return{name:!!this.company.name,country:!!this.company.country,industry:!(null===(e=this.company.meta)||void 0===e||!e.industry),businessDescription:!(null===(t=this.company.meta)||void 0===t||!t.businessDescription)}}},watch:{$route:function(e){var t,n=(t={},Object(u["a"])(t,D["a"].WEBSITE,"website"),Object(u["a"])(t,D["a"].INFO,"basic-info"),t),i=n[e.params.step];i&&this.updateActiveStep(i)},anamnesis:{handler:function(e){sessionStorage.setItem("anamnesis",JSON.stringify(e))},deep:!0}},mounted:function(){this.isDefaultRoute||this.$router.push({path:"/signup-markero/".concat(D["a"].WEBSITE)}),this.anamnesis=Object(d["a"])({country:this.availableCountries[0],websiteUrl:"",name:"",industry:"",businessDescription:""},JSON.parse(sessionStorage.getItem("anamnesis")))},apollo:{company:{query:fe.a,variables:function(){return{id:this.$auth.user.companyId}},update:function(e){var t,n,i,a,s=e.company,r=JSON.parse(sessionStorage.getItem("anamnesis"));return this.anamnesis.name=s.name||r.name,this.anamnesis.websiteUrl=(null===(t=s.links)||void 0===t?void 0:t.websiteUrl)||r.websiteUrl,this.anamnesis.country=this.availableCountries.find((function(e){return e.countryCode===s.country}))||r.country,this.anamnesis.industry=null!==(n=s.meta)&&void 0!==n&&n.industry?null===(i=s.meta)||void 0===i?void 0:i.industry:r.industry,this.anamnesis.businessDescription=(null===(a=s.meta)||void 0===a?void 0:a.businessDescription)||r.businessDescription,s}}},methods:{handleProcessed:function(){var e,t;if(!(this.company.name&&this.company.country&&null!==(e=this.company.meta)&&void 0!==e&&e.industry&&null!==(t=this.company.meta)&&void 0!==t&&t.businessDescription))return this.updateActiveStep("basic-info");this.updateActiveStep("success")},updateActiveStep:function(e){var t=this;this.activeStep="",setTimeout((function(){t.activeStep=e}),300)},createAnamnesisFromWebsite:function(e){var t=this;return Object(c["a"])(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(!e){n.next=5;break}return n.next=3,t.$router.push({path:"/signup-markero/".concat(D["a"].INFO)});case 3:return t.updateActiveStep("basic-info"),n.abrupt("return");case 5:return t.completed=!1,t.updateActiveStep("process"),n.prev=7,n.next=10,t.$apollo.mutate({mutation:ue.a,variables:{url:Object(pe["a"])(t.anamnesis.websiteUrl)},refetchQueries:[{query:fe.a,variables:{id:t.$auth.user.companyId}}]});case 10:n.next=15;break;case 12:n.prev=12,n.t0=n["catch"](7),t.updateActiveStep("website-retry");case 15:t.completed=!0;case 16:case"end":return n.stop()}}),n,null,[[7,12]])})))()},saveAnamnesis:function(){var e=this;return Object(c["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,e.$apollo.mutate({mutation:ce.a,variables:{input:{businessDescription:e.anamnesis.businessDescription,name:e.anamnesis.name,country:e.anamnesis.country.countryCode,industry:e.anamnesis.industry,websiteUrl:e.anamnesis.websiteUrl.length?Object(pe["a"])(e.anamnesis.websiteUrl):""}}});case 3:t.next=9;break;case 5:throw t.prev=5,t.t0=t["catch"](0),Object(ve["a"])("error",e.$t("product-finder.generate.error")),t.t0;case 9:e.updateActiveStep("success"),sessionStorage.removeItem("anamnesis");case 11:case"end":return t.stop()}}),t,null,[[0,5]])})))()}}},he=ge,be=(n("37f8"),Object(w["a"])(he,o,l,!1,null,"ebb3680a",null));t["default"]=be.exports},ef6a:function(e,t,n){"use strict";var i=n("0798"),a=n("8336"),s=n("b0af"),r=n("ac7c"),o=n("62ad"),l=n("adda"),c=n("0fd9"),d=(n("b0c0"),n("caad"),n("2532"),n("99af"),function(){var e=this,t=e._self._c;return e.countOfGuides>0?t("step-container",e._g({staticStyle:{padding:"0px !important"},attrs:{"required-data":e.requiredData,data:{selectedLandingpages:e.selectedLandingpages},"on-submit":e.submit,"has-steps":"","hide-secondary-actions":e.hideSecondaryActions}},e.$listeners),[t("div",{staticClass:"px-1 px-md-2"},[e.hideDescription?e._e():t("div",[e._v(" "+e._s(e.$t("onboarding.landingpages.selectedGuides",{count:e.countOfGuides}))+" "+e._s(e.$t("onboarding.landingpages.chooseGuides",{count:e.countOfGuides}))+" ")]),e._l(e.guides,(function(n){var i=n.name,d=n.slug;return t(s["a"],{key:d,staticClass:"my-6 px-8 py-4"},[t(c["a"],[t(o["a"],{attrs:{cols:"12",sm:"8",lg:"10"}},[t(r["a"],{staticClass:"mt-0",attrs:{value:d,"hide-details":"",disabled:e.allSelected&&!e.selectedLandingpages.includes(d)},scopedSlots:e._u([{key:"label",fn:function(){return[t("div",{staticClass:"px-4"},[t("h3",[e._v(" "+e._s(i)+" ")]),e.teaserSubtitle(d)?t("h4",{staticClass:"pt-2"},[e._v(" "+e._s(e.teaserSubtitle(d))+" ")]):e._e(),t("div",{staticClass:"py-2"},[e._v(" "+e._s(e.teaserText(d))+" ")])])]},proxy:!0}],null,!0),model:{value:e.selectedLandingpages,callback:function(t){e.selectedLandingpages=t},expression:"selectedLandingpages"}}),t("div",{staticClass:"ml-6 flex-wrap"},[t("a",{staticClass:"text-decoration-none",attrs:{target:"_blank",rel:"noopener noreferrer",href:"https://".concat(e.exampleCompanySlug,".immowissen.org/").concat(d)}},[t(a["a"],{staticClass:"mx-6 my-2"},[e._v(" "+e._s(e.$t("onboarding.landingpages.exampleLandingpage"))+" ")])],1),t("a",{staticClass:"text-decoration-none",attrs:{target:"_blank",rel:"noopener noreferrer",href:e.material(d)}},[t(a["a"],{staticClass:"mx-6 my-2"},[e._v(" "+e._s(e.$t("onboarding.landingpages.exampleGuide"))+" ")])],1)])],1),t(o["a"],{attrs:{cols:"12",sm:"4",lg:"2"}},[t(l["a"],{staticClass:"elevation-4",attrs:{centered:"",contain:"",src:e.previewImage(d)}})],1)],1)],1)}))],2),e.allSelected?t(i["a"],{staticClass:"mx-4",attrs:{text:"",type:"info"}},[e._v(" "+e._s(e.$t("onboarding.landingpages.allSelected",{count:e.countOfGuides}))+" "+e._s(e.$t("onboarding.landingpages.selectionExhausted"))+" "+e._s(e.$t("onboarding.landingpages.removeSelection"))+" "+e._s(e.$t("onboarding.landingpages.contactSales",{count:e.countOfGuides}))+" ")]):e._e()],1):e._e()}),u=[],m=n("1da1"),f=(n("96cf"),n("a9e3"),n("4de4"),n("d3b7"),n("7db0"),n("02c5")),p=n("b75e"),v=n("90b4"),g=n.n(v),h=n("30f2"),b=n.n(h),k=n("35a6"),y=n.n(k),C=n("b6f8"),S={components:{StepContainer:p["a"]},props:{companyId:{type:String,required:!0},country:{type:String,required:!0},variant:{type:String,required:!0},countOfGuides:{type:Number,required:!0},bookedLandingpageSlugs:{type:Array,required:!0},hideDescription:{type:Boolean,default:!1},hideSecondaryActions:{type:Boolean,default:!1}},data:function(){return{companyName:this.name,bookableLandingpageTemplates:[],onboardingMaterialPreview:[],selectedLandingpages:this.bookedLandingpageSlugs}},computed:{guides:function(){return this.bookableLandingpageTemplates.filter((function(e){var t=e.type;return"GUIDE"===t}))},allSelected:function(){return this.selectedLandingpages.length>=this.countOfGuides},exampleCompanySlug:function(){return C["a"][this.variant]}},apollo:{bookableLandingpageTemplates:{query:g.a,variables:function(){return{companyId:this.$auth.user.companyId}}},onboardingMaterialPreview:{query:b.a,variables:function(){return{companySlug:this.exampleCompanySlug}}}},methods:{requiredData:function(){return{bookedLandingpageSlugs:this.allSelected}},teaserText:function(e){return C["b"][e]?C["b"][e].text:(f["d"]("Missing Teaser for ".concat(e)),"")},teaserSubtitle:function(e){return C["b"][e]?C["b"][e].subtitle:(f["d"]("Missing Teaser for ".concat(e)),"")},material:function(e){var t;return null===(t=this.onboardingMaterialPreview.find((function(t){var n=t.landingpageSlug;return n===e})))||void 0===t?void 0:t.file},previewImage:function(e){var t;return null===(t=this.onboardingMaterialPreview.find((function(t){var n=t.landingpageSlug;return n===e})))||void 0===t?void 0:t.preview},submit:function(e){var t=this;return Object(m["a"])(regeneratorRuntime.mark((function n(){var i;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return i=e.selectedLandingpages,n.next=3,t.$apollo.mutate({mutation:y.a,variables:{input:{companyId:t.companyId,bookedLandingpageSlugs:i}}});case 3:case"end":return n.stop()}}),n)})))()}}},x=S,w=n("2877"),N=Object(w["a"])(x,d,u,!1,null,null,null);t["a"]=N.exports},f071:function(e,t,n){},f1e1:function(e,t,n){},f1eb:function(e,t,n){},f2fb:function(e,t,n){"use strict";n("8353")},f859:function(e,t,n){"use strict";n("adf1")},f964:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"getPendingDowngrade"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"pendingDowngrade"},name:{kind:"Name",value:"getPendingDowngrade"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"productType"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"downgradeAt"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:148}};n.loc.source={body:"query getPendingDowngrade($companyId: ID!) {\n  pendingDowngrade: getPendingDowngrade(companyId: $companyId)  {\n    productType\n    downgradeAt\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["getPendingDowngrade"]=r(n,"getPendingDowngrade")},fab3:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"validateFlowfactCredentials"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"FlowfactCredentialsInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"flowfactConfig"},name:{kind:"Name",value:"validateFlowfactCredentials"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isTokenVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"selectedContactStatusIds"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:202}};n.loc.source={body:"mutation validateFlowfactCredentials($input: FlowfactCredentialsInput!) {\n  flowfactConfig: validateFlowfactCredentials(input: $input) {\n    token\n    isTokenVerified\n    selectedContactStatusIds\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["validateFlowfactCredentials"]=r(n,"validateFlowfactCredentials")},fc01:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"updateCompanyAddress"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyAddressInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyAddress"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:104}};n.loc.source={body:"mutation updateCompanyAddress($input: UpdateCompanyAddressInput!){\nupdateCompanyAddress(input: $input)\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["updateCompanyAddress"]=r(n,"updateCompanyAddress")},fc41:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"savePropstackCredentials"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PropstackCredentialsInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"propstackConfig"},name:{kind:"Name",value:"savePropstackCredentials"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"token"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"isTokenVerified"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"selectedContactStatusIds"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:198}};n.loc.source={body:"mutation savePropstackCredentials($input: PropstackCredentialsInput!) {\n  propstackConfig: savePropstackCredentials(input: $input) {\n    token\n    isTokenVerified\n    selectedContactStatusIds\n  }\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["savePropstackCredentials"]=r(n,"savePropstackCredentials")},fe71:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"revokeCompanyDeletionWithDelay"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"id"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"revokeCompanyDeletionWithDelay"},arguments:[{kind:"Argument",name:{kind:"Name",value:"id"},value:{kind:"Variable",name:{kind:"Name",value:"id"}}}],directives:[]}]}}],loc:{start:0,end:96}};n.loc.source={body:"mutation revokeCompanyDeletionWithDelay($id: ID!) {\n  revokeCompanyDeletionWithDelay(id: $id)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["revokeCompanyDeletionWithDelay"]=r(n,"revokeCompanyDeletionWithDelay")},fe84:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"regenerationConditions"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"companyId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"ID"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"regenerationConditions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"companyId"},value:{kind:"Variable",name:{kind:"Name",value:"companyId"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"price"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"currency"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"included"},arguments:[],directives:[]}]}}]}}],loc:{start:0,end:163}};n.loc.source={body:"query regenerationConditions ($companyId: ID!) {\n  regenerationConditions (companyId: $companyId) {\n    price {\n      value\n      currency\n    }\n    included\n  }\n}",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["regenerationConditions"]=r(n,"regenerationConditions")},feaa:function(e,t){var n={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"UpdateCompanyLocale"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"input"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"UpdateCompanyLocaleInput"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"updateCompanyLocale"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"Variable",name:{kind:"Name",value:"input"}}}],directives:[]}]}}],loc:{start:0,end:107}};n.loc.source={body:"mutation UpdateCompanyLocale($input: UpdateCompanyLocaleInput!) {\n    updateCompanyLocale(input: $input)\n}\n",name:"GraphQL request",locationOffset:{line:1,column:1}};function i(e,t){if("FragmentSpread"===e.kind)t.add(e.name.value);else if("VariableDefinition"===e.kind){var n=e.type;"NamedType"===n.kind&&t.add(n.name.value)}e.selectionSet&&e.selectionSet.selections.forEach((function(e){i(e,t)})),e.variableDefinitions&&e.variableDefinitions.forEach((function(e){i(e,t)})),e.definitions&&e.definitions.forEach((function(e){i(e,t)}))}var a={};function s(e,t){for(var n=0;n<e.definitions.length;n++){var i=e.definitions[n];if(i.name&&i.name.value==t)return i}}function r(e,t){var n={kind:e.kind,definitions:[s(e,t)]};e.hasOwnProperty("loc")&&(n.loc=e.loc);var i=a[t]||new Set,r=new Set,o=new Set;i.forEach((function(e){o.add(e)}));while(o.size>0){var l=o;o=new Set,l.forEach((function(e){if(!r.has(e)){r.add(e);var t=a[e]||new Set;t.forEach((function(e){o.add(e)}))}}))}return r.forEach((function(t){var i=s(e,t);i&&n.definitions.push(i)})),n}(function(){n.definitions.forEach((function(e){if(e.name){var t=new Set;i(e,t),a[e.name.value]=t}}))})(),e.exports=n,e.exports["UpdateCompanyLocale"]=r(n,"UpdateCompanyLocale")}}]);
//# sourceMappingURL=chunk-f39f7f02.66fd27fa.js.map