/*! For license information please see app.min.js.LICENSE.txt */
(()=>{var t={1688:function(t,e,n){var i,r,o;function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}o=function(){"use strict";var t=function(){return(t=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}).apply(this,arguments)},e=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],n={_disable:[],_enable:[],allowInput:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==("undefined"==typeof window?"undefined":a(window))&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enable:[],enableSeconds:!1,enableTime:!1,errorHandler:function(t){return"undefined"!=typeof console&&console.warn(t)},getWeek:function(t){var e=new Date(t.getTime());e.setHours(0,0,0,0),e.setDate(e.getDate()+3-(e.getDay()+6)%7);var n=new Date(e.getFullYear(),0,4);return 1+Math.round(((e.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},i={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(t){var e=t%100;if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},r=function(t){return("0"+t).slice(-2)},o=function(t){return!0===t?1:0};function s(t,e,n){var i;return void 0===n&&(n=!1),function(){var r=this,o=arguments;null!==i&&clearTimeout(i),i=window.setTimeout((function(){i=null,n||t.apply(r,o)}),e),n&&!i&&t.apply(r,o)}}var c=function(t){return t instanceof Array?t:[t]};function l(t,e,n){if(!0===n)return t.classList.add(e);t.classList.remove(e)}function d(t,e,n){var i=window.document.createElement(t);return e=e||"",n=n||"",i.className=e,void 0!==n&&(i.textContent=n),i}function u(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function p(t,e){var n=d("div","numInputWrapper"),i=d("input","numInput "+t),r=d("span","arrowUp"),o=d("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?i.type="number":(i.type="text",i.pattern="\\d*"),void 0!==e)for(var a in e)i.setAttribute(a,e[a]);return n.appendChild(i),n.appendChild(r),n.appendChild(o),n}var f=function(){},h=function(t,e,n){return n.months[e?"shorthand":"longhand"][t]},m={D:f,F:function(t,e,n){t.setMonth(n.months.longhand.indexOf(e))},G:function(t,e){t.setHours(parseFloat(e))},H:function(t,e){t.setHours(parseFloat(e))},J:function(t,e){t.setDate(parseFloat(e))},K:function(t,e,n){t.setHours(t.getHours()%12+12*o(new RegExp(n.amPM[1],"i").test(e)))},M:function(t,e,n){t.setMonth(n.months.shorthand.indexOf(e))},S:function(t,e){t.setSeconds(parseFloat(e))},U:function(t,e){return new Date(1e3*parseFloat(e))},W:function(t,e,n){var i=parseInt(e),r=new Date(t.getFullYear(),0,2+7*(i-1),0,0,0,0);return r.setDate(r.getDate()-r.getDay()+n.firstDayOfWeek),r},Y:function(t,e){t.setFullYear(parseFloat(e))},Z:function(t,e){return new Date(e)},d:function(t,e){t.setDate(parseFloat(e))},h:function(t,e){t.setHours(parseFloat(e))},i:function(t,e){t.setMinutes(parseFloat(e))},j:function(t,e){t.setDate(parseFloat(e))},l:f,m:function(t,e){t.setMonth(parseFloat(e)-1)},n:function(t,e){t.setMonth(parseFloat(e)-1)},s:function(t,e){t.setSeconds(parseFloat(e))},u:function(t,e){return new Date(parseFloat(e))},w:f,y:function(t,e){t.setFullYear(2e3+parseFloat(e))}},v={D:"(\\w+)",F:"(\\w+)",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"(\\w+)",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"(\\w+)",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},g={Z:function(t){return t.toISOString()},D:function(t,e,n){return e.weekdays.shorthand[g.w(t,e,n)]},F:function(t,e,n){return h(g.n(t,e,n)-1,!1,e)},G:function(t,e,n){return r(g.h(t,e,n))},H:function(t){return r(t.getHours())},J:function(t,e){return void 0!==e.ordinal?t.getDate()+e.ordinal(t.getDate()):t.getDate()},K:function(t,e){return e.amPM[o(t.getHours()>11)]},M:function(t,e){return h(t.getMonth(),!0,e)},S:function(t){return r(t.getSeconds())},U:function(t){return t.getTime()/1e3},W:function(t,e,n){return n.getWeek(t)},Y:function(t){return t.getFullYear()},d:function(t){return r(t.getDate())},h:function(t){return t.getHours()%12?t.getHours()%12:12},i:function(t){return r(t.getMinutes())},j:function(t){return t.getDate()},l:function(t,e){return e.weekdays.longhand[t.getDay()]},m:function(t){return r(t.getMonth()+1)},n:function(t){return t.getMonth()+1},s:function(t){return t.getSeconds()},u:function(t){return t.getTime()},w:function(t){return t.getDay()},y:function(t){return String(t.getFullYear()).substring(2)}},y=function(t){var e=t.config,r=void 0===e?n:e,o=t.l10n,a=void 0===o?i:o;return function(t,e,n){var i=n||a;return void 0!==r.formatDate?r.formatDate(t,e,i):e.split("").map((function(e,n,o){return g[e]&&"\\"!==o[n-1]?g[e](t,i,r):"\\"!==e?e:""})).join("")}},b=function(t){var e=t.config,r=void 0===e?n:e,o=t.l10n,a=void 0===o?i:o;return function(t,e,i,o){if(0===t||t){var s,c=o||a,l=t;if(t instanceof Date)s=new Date(t.getTime());else if("string"!=typeof t&&void 0!==t.toFixed)s=new Date(t);else if("string"==typeof t){var d=e||(r||n).dateFormat,u=String(t).trim();if("today"===u)s=new Date,i=!0;else if(/Z$/.test(u)||/GMT$/.test(u))s=new Date(t);else if(r&&r.parseDate)s=r.parseDate(t,d);else{s=r&&r.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0);for(var p=void 0,f=[],h=0,g=0,y="";h<d.length;h++){var b=d[h],_="\\"===b,w="\\"===d[h-1]||_;if(v[b]&&!w){y+=v[b];var C=new RegExp(y).exec(t);C&&(p=!0)&&f["Y"!==b?"push":"unshift"]({fn:m[b],val:C[++g]})}else _||(y+=".");f.forEach((function(t){var e=t.fn,n=t.val;return s=e(s,n,c)||s}))}s=p?s:void 0}}if(s instanceof Date&&!isNaN(s.getTime()))return!0===i&&s.setHours(0,0,0,0),s;r.errorHandler(new Error("Invalid date provided: "+l))}}};function _(t,e,n){return void 0===n&&(n=!0),!1!==n?new Date(t.getTime()).setHours(0,0,0,0)-new Date(e.getTime()).setHours(0,0,0,0):t.getTime()-e.getTime()}var w=function(t,e,n){return t>Math.min(e,n)&&t<Math.max(e,n)},C={DAY:864e5};"function"!=typeof Object.assign&&(Object.assign=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!t)throw TypeError("Cannot convert undefined or null to object");for(var i=function(e){e&&Object.keys(e).forEach((function(n){return t[n]=e[n]}))},r=0,o=e;r<o.length;r++)i(o[r]);return t});var k=300;function x(f,m){var g={config:t({},n,S.defaultConfig),l10n:i};function x(t){return t.bind(g)}function P(){var t=g.config;!1===t.weekNumbers&&1===t.showMonths||!0!==t.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==g.calendarContainer&&(g.calendarContainer.style.visibility="hidden",g.calendarContainer.style.display="block"),void 0!==g.daysContainer){var e=(g.days.offsetWidth+1)*t.showMonths;g.daysContainer.style.width=e+"px",g.calendarContainer.style.width=e+(void 0!==g.weekWrapper?g.weekWrapper.offsetWidth:0)+"px",g.calendarContainer.style.removeProperty("visibility"),g.calendarContainer.style.removeProperty("display")}}))}function T(t){0===g.selectedDates.length&&ot(),void 0!==t&&"blur"!==t.type&&function(t){t.preventDefault();var e="keydown"===t.type,n=t.target;void 0!==g.amPM&&t.target===g.amPM&&(g.amPM.textContent=g.l10n.amPM[o(g.amPM.textContent===g.l10n.amPM[0])]);var i=parseFloat(n.getAttribute("min")),a=parseFloat(n.getAttribute("max")),s=parseFloat(n.getAttribute("step")),c=parseInt(n.value,10),l=c+s*(t.delta||(e?38===t.which?1:-1:0));if(void 0!==n.value&&2===n.value.length){var d=n===g.hourElement,u=n===g.minuteElement;l<i?(l=a+l+o(!d)+(o(d)&&o(!g.amPM)),u&&N(void 0,-1,g.hourElement)):l>a&&(l=n===g.hourElement?l-a-o(!g.amPM):i,u&&N(void 0,1,g.hourElement)),g.amPM&&d&&(1===s?l+c===23:Math.abs(l-c)>s)&&(g.amPM.textContent=g.l10n.amPM[o(g.amPM.textContent===g.l10n.amPM[0])]),n.value=r(l)}}(t);var e=g._input.value;M(),_t(),g._input.value!==e&&g._debouncedChange()}function M(){if(void 0!==g.hourElement&&void 0!==g.minuteElement){var t,e,n=(parseInt(g.hourElement.value.slice(-2),10)||0)%24,i=(parseInt(g.minuteElement.value,10)||0)%60,r=void 0!==g.secondElement?(parseInt(g.secondElement.value,10)||0)%60:0;void 0!==g.amPM&&(t=n,e=g.amPM.textContent,n=t%12+12*o(e===g.l10n.amPM[1]));var a=void 0!==g.config.minTime||g.config.minDate&&g.minDateHasTime&&g.latestSelectedDateObj&&0===_(g.latestSelectedDateObj,g.config.minDate,!0);if(void 0!==g.config.maxTime||g.config.maxDate&&g.maxDateHasTime&&g.latestSelectedDateObj&&0===_(g.latestSelectedDateObj,g.config.maxDate,!0)){var s=void 0!==g.config.maxTime?g.config.maxTime:g.config.maxDate;(n=Math.min(n,s.getHours()))===s.getHours()&&(i=Math.min(i,s.getMinutes())),i===s.getMinutes()&&(r=Math.min(r,s.getSeconds()))}if(a){var c=void 0!==g.config.minTime?g.config.minTime:g.config.minDate;(n=Math.max(n,c.getHours()))===c.getHours()&&(i=Math.max(i,c.getMinutes())),i===c.getMinutes()&&(r=Math.max(r,c.getSeconds()))}L(n,i,r)}}function $(t){var e=t||g.latestSelectedDateObj;e&&L(e.getHours(),e.getMinutes(),e.getSeconds())}function O(){var t=g.config.defaultHour,e=g.config.defaultMinute,n=g.config.defaultSeconds;if(void 0!==g.config.minDate){var i=g.config.minDate.getHours(),r=g.config.minDate.getMinutes();(t=Math.max(t,i))===i&&(e=Math.max(r,e)),t===i&&e===r&&(n=g.config.minDate.getSeconds())}if(void 0!==g.config.maxDate){var o=g.config.maxDate.getHours(),a=g.config.maxDate.getMinutes();(t=Math.min(t,o))===o&&(e=Math.min(a,e)),t===o&&e===a&&(n=g.config.maxDate.getSeconds())}L(t,e,n)}function L(t,e,n){void 0!==g.latestSelectedDateObj&&g.latestSelectedDateObj.setHours(t%24,e,n||0,0),g.hourElement&&g.minuteElement&&!g.isMobile&&(g.hourElement.value=r(g.config.time_24hr?t:(12+t)%12+12*o(t%12==0)),g.minuteElement.value=r(e),void 0!==g.amPM&&(g.amPM.textContent=g.l10n.amPM[o(t>=12)]),void 0!==g.secondElement&&(g.secondElement.value=r(n)))}function D(t){var e=parseInt(t.target.value)+(t.delta||0);(e/1e3>1||"Enter"===t.key&&!/[^\d]/.test(e.toString()))&&Q(e)}function E(t,e,n,i){return e instanceof Array?e.forEach((function(e){return E(t,e,n,i)})):t instanceof Array?t.forEach((function(t){return E(t,e,n,i)})):(t.addEventListener(e,n,i),void g._handlers.push({element:t,event:e,handler:n,options:i}))}function F(t){return function(e){1===e.which&&t(e)}}function A(){mt("onChange")}function I(t,e){var n=void 0!==t?g.parseDate(t):g.latestSelectedDateObj||(g.config.minDate&&g.config.minDate>g.now?g.config.minDate:g.config.maxDate&&g.config.maxDate<g.now?g.config.maxDate:g.now),i=g.currentYear,r=g.currentMonth;try{void 0!==n&&(g.currentYear=n.getFullYear(),g.currentMonth=n.getMonth())}catch(t){t.message="Invalid date supplied: "+n,g.config.errorHandler(t)}e&&g.currentYear!==i&&(mt("onYearChange"),z()),!e||g.currentYear===i&&g.currentMonth===r||mt("onMonthChange"),g.redraw()}function R(t){~t.target.className.indexOf("arrow")&&N(t,t.target.classList.contains("arrowUp")?1:-1)}function N(t,e,n){var i=t&&t.target,r=n||i&&i.parentNode&&i.parentNode.firstChild,o=vt("increment");o.delta=e,r&&r.dispatchEvent(o)}function j(t,e,n,i){var r=tt(e,!0),o=d("span","flatpickr-day "+t,e.getDate().toString());return o.dateObj=e,o.$i=i,o.setAttribute("aria-label",g.formatDate(e,g.config.ariaDateFormat)),-1===t.indexOf("hidden")&&0===_(e,g.now)&&(g.todayDateElem=o,o.classList.add("today"),o.setAttribute("aria-current","date")),r?(o.tabIndex=-1,gt(e)&&(o.classList.add("selected"),g.selectedDateElem=o,"range"===g.config.mode&&(l(o,"startRange",g.selectedDates[0]&&0===_(e,g.selectedDates[0],!0)),l(o,"endRange",g.selectedDates[1]&&0===_(e,g.selectedDates[1],!0)),"nextMonthDay"===t&&o.classList.add("inRange")))):o.classList.add("flatpickr-disabled"),"range"===g.config.mode&&function(t){return!("range"!==g.config.mode||g.selectedDates.length<2)&&_(t,g.selectedDates[0])>=0&&_(t,g.selectedDates[1])<=0}(e)&&!gt(e)&&o.classList.add("inRange"),g.weekNumbers&&1===g.config.showMonths&&"prevMonthDay"!==t&&n%7==1&&g.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+g.config.getWeek(e)+"</span>"),mt("onDayCreate",o),o}function q(t){t.focus(),"range"===g.config.mode&&it(t)}function V(t){for(var e=t>0?0:g.config.showMonths-1,n=t>0?g.config.showMonths:-1,i=e;i!=n;i+=t)for(var r=g.daysContainer.children[i],o=t>0?0:r.children.length-1,a=t>0?r.children.length:-1,s=o;s!=a;s+=t){var c=r.children[s];if(-1===c.className.indexOf("hidden")&&tt(c.dateObj))return c}}function H(t,e){var n=et(document.activeElement||document.body),i=void 0!==t?t:n?document.activeElement:void 0!==g.selectedDateElem&&et(g.selectedDateElem)?g.selectedDateElem:void 0!==g.todayDateElem&&et(g.todayDateElem)?g.todayDateElem:V(e>0?1:-1);return void 0===i?g._input.focus():n?void function(t,e){for(var n=-1===t.className.indexOf("Month")?t.dateObj.getMonth():g.currentMonth,i=e>0?g.config.showMonths:-1,r=e>0?1:-1,o=n-g.currentMonth;o!=i;o+=r)for(var a=g.daysContainer.children[o],s=n-g.currentMonth===o?t.$i+e:e<0?a.children.length-1:0,c=a.children.length,l=s;l>=0&&l<c&&l!=(e>0?c:-1);l+=r){var d=a.children[l];if(-1===d.className.indexOf("hidden")&&tt(d.dateObj)&&Math.abs(t.$i-l)>=Math.abs(e))return q(d)}g.changeMonth(r),H(V(r),0)}(i,e):q(i)}function B(t,e){for(var n=(new Date(t,e,1).getDay()-g.l10n.firstDayOfWeek+7)%7,i=g.utils.getDaysInMonth((e-1+12)%12),r=g.utils.getDaysInMonth(e),o=window.document.createDocumentFragment(),a=g.config.showMonths>1,s=a?"prevMonthDay hidden":"prevMonthDay",c=a?"nextMonthDay hidden":"nextMonthDay",l=i+1-n,u=0;l<=i;l++,u++)o.appendChild(j(s,new Date(t,e-1,l),l,u));for(l=1;l<=r;l++,u++)o.appendChild(j("",new Date(t,e,l),l,u));for(var p=r+1;p<=42-n&&(1===g.config.showMonths||u%7!=0);p++,u++)o.appendChild(j(c,new Date(t,e+1,p%r),p,u));var f=d("div","dayContainer");return f.appendChild(o),f}function U(){if(void 0!==g.daysContainer){u(g.daysContainer),g.weekNumbers&&u(g.weekNumbers);for(var t=document.createDocumentFragment(),e=0;e<g.config.showMonths;e++){var n=new Date(g.currentYear,g.currentMonth,1);n.setMonth(g.currentMonth+e),t.appendChild(B(n.getFullYear(),n.getMonth()))}g.daysContainer.appendChild(t),g.days=g.daysContainer.firstChild,"range"===g.config.mode&&1===g.selectedDates.length&&it()}}function z(){if(!(g.config.showMonths>1||"dropdown"!==g.config.monthSelectorType)){g.monthsDropdownContainer.tabIndex=-1,g.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(n=t,!(void 0!==g.config.minDate&&g.currentYear===g.config.minDate.getFullYear()&&n<g.config.minDate.getMonth()||void 0!==g.config.maxDate&&g.currentYear===g.config.maxDate.getFullYear()&&n>g.config.maxDate.getMonth())){var e=d("option","flatpickr-monthDropdown-month");e.value=new Date(g.currentYear,t).getMonth().toString(),e.textContent=h(t,g.config.shorthandCurrentMonth,g.l10n),e.tabIndex=-1,g.currentMonth===t&&(e.selected=!0),g.monthsDropdownContainer.appendChild(e)}}var n}function W(){var t,e=d("div","flatpickr-month"),n=window.document.createDocumentFragment();g.config.showMonths>1||"static"===g.config.monthSelectorType?t=d("span","cur-month"):(g.monthsDropdownContainer=d("select","flatpickr-monthDropdown-months"),E(g.monthsDropdownContainer,"change",(function(t){var e=t.target,n=parseInt(e.value,10);g.changeMonth(n-g.currentMonth),mt("onMonthChange")})),z(),t=g.monthsDropdownContainer);var i=p("cur-year",{tabindex:"-1"}),r=i.getElementsByTagName("input")[0];r.setAttribute("aria-label",g.l10n.yearAriaLabel),g.config.minDate&&r.setAttribute("min",g.config.minDate.getFullYear().toString()),g.config.maxDate&&(r.setAttribute("max",g.config.maxDate.getFullYear().toString()),r.disabled=!!g.config.minDate&&g.config.minDate.getFullYear()===g.config.maxDate.getFullYear());var o=d("div","flatpickr-current-month");return o.appendChild(t),o.appendChild(i),n.appendChild(o),e.appendChild(n),{container:e,yearElement:r,monthElement:t}}function Y(){u(g.monthNav),g.monthNav.appendChild(g.prevMonthNav),g.config.showMonths&&(g.yearElements=[],g.monthElements=[]);for(var t=g.config.showMonths;t--;){var e=W();g.yearElements.push(e.yearElement),g.monthElements.push(e.monthElement),g.monthNav.appendChild(e.container)}g.monthNav.appendChild(g.nextMonthNav)}function G(){g.weekdayContainer?u(g.weekdayContainer):g.weekdayContainer=d("div","flatpickr-weekdays");for(var t=g.config.showMonths;t--;){var e=d("div","flatpickr-weekdaycontainer");g.weekdayContainer.appendChild(e)}return K(),g.weekdayContainer}function K(){var t=g.l10n.firstDayOfWeek,e=g.l10n.weekdays.shorthand.slice();t>0&&t<e.length&&(e=e.splice(t,e.length).concat(e.splice(0,t)));for(var n=g.config.showMonths;n--;)g.weekdayContainer.children[n].innerHTML="\n      <span class='flatpickr-weekday'>\n        "+e.join("</span><span class='flatpickr-weekday'>")+"\n      </span>\n      "}function J(t,e){void 0===e&&(e=!0);var n=e?t:t-g.currentMonth;n<0&&!0===g._hidePrevMonthArrow||n>0&&!0===g._hideNextMonthArrow||(g.currentMonth+=n,(g.currentMonth<0||g.currentMonth>11)&&(g.currentYear+=g.currentMonth>11?1:-1,g.currentMonth=(g.currentMonth+12)%12,mt("onYearChange"),z()),U(),mt("onMonthChange"),yt())}function Z(t){return!(!g.config.appendTo||!g.config.appendTo.contains(t))||g.calendarContainer.contains(t)}function X(t){if(g.isOpen&&!g.config.inline){var e="function"==typeof(a=t).composedPath?a.composedPath()[0]:a.target,n=Z(e),i=e===g.input||e===g.altInput||g.element.contains(e)||t.path&&t.path.indexOf&&(~t.path.indexOf(g.input)||~t.path.indexOf(g.altInput)),r="blur"===t.type?i&&t.relatedTarget&&!Z(t.relatedTarget):!i&&!n&&!Z(t.relatedTarget),o=!g.config.ignoredFocusElements.some((function(t){return t.contains(e)}));r&&o&&(g.close(),"range"===g.config.mode&&1===g.selectedDates.length&&(g.clear(!1),g.redraw()))}var a}function Q(t){if(!(!t||g.config.minDate&&t<g.config.minDate.getFullYear()||g.config.maxDate&&t>g.config.maxDate.getFullYear())){var e=t,n=g.currentYear!==e;g.currentYear=e||g.currentYear,g.config.maxDate&&g.currentYear===g.config.maxDate.getFullYear()?g.currentMonth=Math.min(g.config.maxDate.getMonth(),g.currentMonth):g.config.minDate&&g.currentYear===g.config.minDate.getFullYear()&&(g.currentMonth=Math.max(g.config.minDate.getMonth(),g.currentMonth)),n&&(g.redraw(),mt("onYearChange"),z())}}function tt(t,e){void 0===e&&(e=!0);var n=g.parseDate(t,void 0,e);if(g.config.minDate&&n&&_(n,g.config.minDate,void 0!==e?e:!g.minDateHasTime)<0||g.config.maxDate&&n&&_(n,g.config.maxDate,void 0!==e?e:!g.maxDateHasTime)>0)return!1;if(0===g.config.enable.length&&0===g.config.disable.length)return!0;if(void 0===n)return!1;for(var i=g.config.enable.length>0,r=i?g.config.enable:g.config.disable,o=0,s=void 0;o<r.length;o++){if("function"==typeof(s=r[o])&&s(n))return i;if(s instanceof Date&&void 0!==n&&s.getTime()===n.getTime())return i;if("string"==typeof s&&void 0!==n){var c=g.parseDate(s,void 0,!0);return c&&c.getTime()===n.getTime()?i:!i}if("object"==a(s)&&void 0!==n&&s.from&&s.to&&n.getTime()>=s.from.getTime()&&n.getTime()<=s.to.getTime())return i}return!i}function et(t){return void 0!==g.daysContainer&&-1===t.className.indexOf("hidden")&&g.daysContainer.contains(t)}function nt(t){var e=t.target===g._input,n=g.config.allowInput,i=g.isOpen&&(!n||!e),r=g.config.inline&&e&&!n;if(13===t.keyCode&&e){if(n)return g.setDate(g._input.value,!0,t.target===g.altInput?g.config.altFormat:g.config.dateFormat),t.target.blur();g.open()}else if(Z(t.target)||i||r){var o=!!g.timeContainer&&g.timeContainer.contains(t.target);switch(t.keyCode){case 13:o?(t.preventDefault(),T(),dt()):ut(t);break;case 27:t.preventDefault(),dt();break;case 8:case 46:e&&!g.config.allowInput&&(t.preventDefault(),g.clear());break;case 37:case 39:if(o||e)g.hourElement&&g.hourElement.focus();else if(t.preventDefault(),void 0!==g.daysContainer&&(!1===n||document.activeElement&&et(document.activeElement))){var a=39===t.keyCode?1:-1;t.ctrlKey?(t.stopPropagation(),J(a),H(V(1),0)):H(void 0,a)}break;case 38:case 40:t.preventDefault();var s=40===t.keyCode?1:-1;g.daysContainer&&void 0!==t.target.$i||t.target===g.input?t.ctrlKey?(t.stopPropagation(),Q(g.currentYear-s),H(V(1),0)):o||H(void 0,7*s):t.target===g.currentYearElement?Q(g.currentYear-s):g.config.enableTime&&(!o&&g.hourElement&&g.hourElement.focus(),T(t),g._debouncedChange());break;case 9:if(o){var c=[g.hourElement,g.minuteElement,g.secondElement,g.amPM].concat(g.pluginElements).filter((function(t){return t})),l=c.indexOf(t.target);if(-1!==l){var d=c[l+(t.shiftKey?-1:1)];t.preventDefault(),(d||g._input).focus()}}else!g.config.noCalendar&&g.daysContainer&&g.daysContainer.contains(t.target)&&t.shiftKey&&(t.preventDefault(),g._input.focus())}}if(void 0!==g.amPM&&t.target===g.amPM)switch(t.key){case g.l10n.amPM[0].charAt(0):case g.l10n.amPM[0].charAt(0).toLowerCase():g.amPM.textContent=g.l10n.amPM[0],M(),_t();break;case g.l10n.amPM[1].charAt(0):case g.l10n.amPM[1].charAt(0).toLowerCase():g.amPM.textContent=g.l10n.amPM[1],M(),_t()}(e||Z(t.target))&&mt("onKeyDown",t)}function it(t){if(1===g.selectedDates.length&&(!t||t.classList.contains("flatpickr-day")&&!t.classList.contains("flatpickr-disabled"))){for(var e=t?t.dateObj.getTime():g.days.firstElementChild.dateObj.getTime(),n=g.parseDate(g.selectedDates[0],void 0,!0).getTime(),i=Math.min(e,g.selectedDates[0].getTime()),r=Math.max(e,g.selectedDates[0].getTime()),o=!1,a=0,s=0,c=i;c<r;c+=C.DAY)tt(new Date(c),!0)||(o=o||c>i&&c<r,c<n&&(!a||c>a)?a=c:c>n&&(!s||c<s)&&(s=c));for(var l=0;l<g.config.showMonths;l++)for(var d=g.daysContainer.children[l],u=function(i,r){var c=d.children[i],l=c.dateObj.getTime(),u=a>0&&l<a||s>0&&l>s;return u?(c.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach((function(t){c.classList.remove(t)})),"continue"):o&&!u?"continue":(["startRange","inRange","endRange","notAllowed"].forEach((function(t){c.classList.remove(t)})),void(void 0!==t&&(t.classList.add(e<=g.selectedDates[0].getTime()?"startRange":"endRange"),n<e&&l===n?c.classList.add("startRange"):n>e&&l===n&&c.classList.add("endRange"),l>=a&&(0===s||l<=s)&&w(l,n,e)&&c.classList.add("inRange"))))},p=0,f=d.children.length;p<f;p++)u(p)}}function rt(){!g.isOpen||g.config.static||g.config.inline||ct()}function ot(){g.setDate(void 0!==g.config.minDate?new Date(g.config.minDate.getTime()):new Date,!0),O(),_t()}function at(t){return function(e){var n=g.config["_"+t+"Date"]=g.parseDate(e,g.config.dateFormat),i=g.config["_"+("min"===t?"max":"min")+"Date"];void 0!==n&&(g["min"===t?"minDateHasTime":"maxDateHasTime"]=n.getHours()>0||n.getMinutes()>0||n.getSeconds()>0),g.selectedDates&&(g.selectedDates=g.selectedDates.filter((function(t){return tt(t)})),g.selectedDates.length||"min"!==t||$(n),_t()),g.daysContainer&&(lt(),void 0!==n?g.currentYearElement[t]=n.getFullYear().toString():g.currentYearElement.removeAttribute(t),g.currentYearElement.disabled=!!i&&void 0!==n&&i.getFullYear()===n.getFullYear())}}function st(){"object"!=a(g.config.locale)&&void 0===S.l10ns[g.config.locale]&&g.config.errorHandler(new Error("flatpickr: invalid locale "+g.config.locale)),g.l10n=t({},S.l10ns.default,"object"==a(g.config.locale)?g.config.locale:"default"!==g.config.locale?S.l10ns[g.config.locale]:void 0),v.K="("+g.l10n.amPM[0]+"|"+g.l10n.amPM[1]+"|"+g.l10n.amPM[0].toLowerCase()+"|"+g.l10n.amPM[1].toLowerCase()+")",void 0===t({},m,JSON.parse(JSON.stringify(f.dataset||{}))).time_24hr&&void 0===S.defaultConfig.time_24hr&&(g.config.time_24hr=g.l10n.time_24hr),g.formatDate=y(g),g.parseDate=b({config:g.config,l10n:g.l10n})}function ct(t){if(void 0!==g.calendarContainer){mt("onPreCalendarPosition");var e=t||g._positionElement,n=Array.prototype.reduce.call(g.calendarContainer.children,(function(t,e){return t+e.offsetHeight}),0),i=g.calendarContainer.offsetWidth,r=g.config.position.split(" "),o=r[0],a=r.length>1?r[1]:null,s=e.getBoundingClientRect(),c=window.innerHeight-s.bottom,d="above"===o||"below"!==o&&c<n&&s.top>n,u=window.pageYOffset+s.top+(d?-n-2:e.offsetHeight+2);if(l(g.calendarContainer,"arrowTop",!d),l(g.calendarContainer,"arrowBottom",d),!g.config.inline){var p=window.pageXOffset+s.left-(null!=a&&"center"===a?(i-s.width)/2:0),f=window.document.body.offsetWidth-s.right,h=p+i>window.document.body.offsetWidth,m=f+i>window.document.body.offsetWidth;if(l(g.calendarContainer,"rightMost",h),!g.config.static)if(g.calendarContainer.style.top=u+"px",h)if(m){var v=document.styleSheets[0];if(void 0===v)return;var y=window.document.body.offsetWidth,b=Math.max(0,y/2-i/2),_=v.cssRules.length,w="{left:"+s.left+"px;right:auto;}";l(g.calendarContainer,"rightMost",!1),l(g.calendarContainer,"centerMost",!0),v.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+w,_),g.calendarContainer.style.left=b+"px",g.calendarContainer.style.right="auto"}else g.calendarContainer.style.left="auto",g.calendarContainer.style.right=f+"px";else g.calendarContainer.style.left=p+"px",g.calendarContainer.style.right="auto"}}}function lt(){g.config.noCalendar||g.isMobile||(yt(),U())}function dt(){g._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(g.close,0):g.close()}function ut(t){t.preventDefault(),t.stopPropagation();var e=function t(e,n){return n(e)?e:e.parentNode?t(e.parentNode,n):void 0}(t.target,(function(t){return t.classList&&t.classList.contains("flatpickr-day")&&!t.classList.contains("flatpickr-disabled")&&!t.classList.contains("notAllowed")}));if(void 0!==e){var n=e,i=g.latestSelectedDateObj=new Date(n.dateObj.getTime()),r=(i.getMonth()<g.currentMonth||i.getMonth()>g.currentMonth+g.config.showMonths-1)&&"range"!==g.config.mode;if(g.selectedDateElem=n,"single"===g.config.mode)g.selectedDates=[i];else if("multiple"===g.config.mode){var o=gt(i);o?g.selectedDates.splice(parseInt(o),1):g.selectedDates.push(i)}else"range"===g.config.mode&&(2===g.selectedDates.length&&g.clear(!1,!1),g.latestSelectedDateObj=i,g.selectedDates.push(i),0!==_(i,g.selectedDates[0],!0)&&g.selectedDates.sort((function(t,e){return t.getTime()-e.getTime()})));if(M(),r){var a=g.currentYear!==i.getFullYear();g.currentYear=i.getFullYear(),g.currentMonth=i.getMonth(),a&&(mt("onYearChange"),z()),mt("onMonthChange")}if(yt(),U(),_t(),g.config.enableTime&&setTimeout((function(){return g.showTimeInput=!0}),50),r||"range"===g.config.mode||1!==g.config.showMonths?void 0!==g.selectedDateElem&&void 0===g.hourElement&&g.selectedDateElem&&g.selectedDateElem.focus():q(n),void 0!==g.hourElement&&void 0!==g.hourElement&&g.hourElement.focus(),g.config.closeOnSelect){var s="single"===g.config.mode&&!g.config.enableTime,c="range"===g.config.mode&&2===g.selectedDates.length&&!g.config.enableTime;(s||c)&&dt()}A()}}g.parseDate=b({config:g.config,l10n:g.l10n}),g._handlers=[],g.pluginElements=[],g.loadedPlugins=[],g._bind=E,g._setHoursFromDate=$,g._positionCalendar=ct,g.changeMonth=J,g.changeYear=Q,g.clear=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0),g.input.value="",void 0!==g.altInput&&(g.altInput.value=""),void 0!==g.mobileInput&&(g.mobileInput.value=""),g.selectedDates=[],g.latestSelectedDateObj=void 0,!0===e&&(g.currentYear=g._initialDate.getFullYear(),g.currentMonth=g._initialDate.getMonth()),g.showTimeInput=!1,!0===g.config.enableTime&&O(),g.redraw(),t&&mt("onChange")},g.close=function(){g.isOpen=!1,g.isMobile||(void 0!==g.calendarContainer&&g.calendarContainer.classList.remove("open"),void 0!==g._input&&g._input.classList.remove("active")),mt("onClose")},g._createElement=d,g.destroy=function(){void 0!==g.config&&mt("onDestroy");for(var t=g._handlers.length;t--;){var e=g._handlers[t];e.element.removeEventListener(e.event,e.handler,e.options)}if(g._handlers=[],g.mobileInput)g.mobileInput.parentNode&&g.mobileInput.parentNode.removeChild(g.mobileInput),g.mobileInput=void 0;else if(g.calendarContainer&&g.calendarContainer.parentNode)if(g.config.static&&g.calendarContainer.parentNode){var n=g.calendarContainer.parentNode;if(n.lastChild&&n.removeChild(n.lastChild),n.parentNode){for(;n.firstChild;)n.parentNode.insertBefore(n.firstChild,n);n.parentNode.removeChild(n)}}else g.calendarContainer.parentNode.removeChild(g.calendarContainer);g.altInput&&(g.input.type="text",g.altInput.parentNode&&g.altInput.parentNode.removeChild(g.altInput),delete g.altInput),g.input&&(g.input.type=g.input._type,g.input.classList.remove("flatpickr-input"),g.input.removeAttribute("readonly"),g.input.value=""),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(t){try{delete g[t]}catch(t){}}))},g.isEnabled=tt,g.jumpToDate=I,g.open=function(t,e){if(void 0===e&&(e=g._positionElement),!0===g.isMobile)return t&&(t.preventDefault(),t.target&&t.target.blur()),void 0!==g.mobileInput&&(g.mobileInput.focus(),g.mobileInput.click()),void mt("onOpen");if(!g._input.disabled&&!g.config.inline){var n=g.isOpen;g.isOpen=!0,n||(g.calendarContainer.classList.add("open"),g._input.classList.add("active"),mt("onOpen"),ct(e)),!0===g.config.enableTime&&!0===g.config.noCalendar&&(0===g.selectedDates.length&&ot(),!1!==g.config.allowInput||void 0!==t&&g.timeContainer.contains(t.relatedTarget)||setTimeout((function(){return g.hourElement.select()}),50))}},g.redraw=lt,g.set=function(t,n){if(null!==t&&"object"==a(t))for(var i in Object.assign(g.config,t),t)void 0!==pt[i]&&pt[i].forEach((function(t){return t()}));else g.config[t]=n,void 0!==pt[t]?pt[t].forEach((function(t){return t()})):e.indexOf(t)>-1&&(g.config[t]=c(n));g.redraw(),_t(!1)},g.setDate=function(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=g.config.dateFormat),0!==t&&!t||t instanceof Array&&0===t.length)return g.clear(e);ft(t,n),g.showTimeInput=g.selectedDates.length>0,g.latestSelectedDateObj=g.selectedDates[g.selectedDates.length-1],g.redraw(),I(),$(),0===g.selectedDates.length&&g.clear(!1),_t(e),e&&mt("onChange")},g.toggle=function(t){if(!0===g.isOpen)return g.close();g.open(t)};var pt={locale:[st,K],showMonths:[Y,P,G],minDate:[I],maxDate:[I]};function ft(t,e){var n=[];if(t instanceof Array)n=t.map((function(t){return g.parseDate(t,e)}));else if(t instanceof Date||"number"==typeof t)n=[g.parseDate(t,e)];else if("string"==typeof t)switch(g.config.mode){case"single":case"time":n=[g.parseDate(t,e)];break;case"multiple":n=t.split(g.config.conjunction).map((function(t){return g.parseDate(t,e)}));break;case"range":n=t.split(g.l10n.rangeSeparator).map((function(t){return g.parseDate(t,e)}))}else g.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(t)));g.selectedDates=n.filter((function(t){return t instanceof Date&&tt(t,!1)})),"range"===g.config.mode&&g.selectedDates.sort((function(t,e){return t.getTime()-e.getTime()}))}function ht(t){return t.slice().map((function(t){return"string"==typeof t||"number"==typeof t||t instanceof Date?g.parseDate(t,void 0,!0):t&&"object"==a(t)&&t.from&&t.to?{from:g.parseDate(t.from,void 0),to:g.parseDate(t.to,void 0)}:t})).filter((function(t){return t}))}function mt(t,e){if(void 0!==g.config){var n=g.config[t];if(void 0!==n&&n.length>0)for(var i=0;n[i]&&i<n.length;i++)n[i](g.selectedDates,g.input.value,g,e);"onChange"===t&&(g.input.dispatchEvent(vt("change")),g.input.dispatchEvent(vt("input")))}}function vt(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e}function gt(t){for(var e=0;e<g.selectedDates.length;e++)if(0===_(g.selectedDates[e],t))return""+e;return!1}function yt(){g.config.noCalendar||g.isMobile||!g.monthNav||(g.yearElements.forEach((function(t,e){var n=new Date(g.currentYear,g.currentMonth,1);n.setMonth(g.currentMonth+e),g.config.showMonths>1||"static"===g.config.monthSelectorType?g.monthElements[e].textContent=h(n.getMonth(),g.config.shorthandCurrentMonth,g.l10n)+" ":g.monthsDropdownContainer.value=n.getMonth().toString(),t.value=n.getFullYear().toString()})),g._hidePrevMonthArrow=void 0!==g.config.minDate&&(g.currentYear===g.config.minDate.getFullYear()?g.currentMonth<=g.config.minDate.getMonth():g.currentYear<g.config.minDate.getFullYear()),g._hideNextMonthArrow=void 0!==g.config.maxDate&&(g.currentYear===g.config.maxDate.getFullYear()?g.currentMonth+1>g.config.maxDate.getMonth():g.currentYear>g.config.maxDate.getFullYear()))}function bt(t){return g.selectedDates.map((function(e){return g.formatDate(e,t)})).filter((function(t,e,n){return"range"!==g.config.mode||g.config.enableTime||n.indexOf(t)===e})).join("range"!==g.config.mode?g.config.conjunction:g.l10n.rangeSeparator)}function _t(t){void 0===t&&(t=!0),void 0!==g.mobileInput&&g.mobileFormatStr&&(g.mobileInput.value=void 0!==g.latestSelectedDateObj?g.formatDate(g.latestSelectedDateObj,g.mobileFormatStr):""),g.input.value=bt(g.config.dateFormat),void 0!==g.altInput&&(g.altInput.value=bt(g.config.altFormat)),!1!==t&&mt("onValueUpdate")}function wt(t){var e=g.prevMonthNav.contains(t.target),n=g.nextMonthNav.contains(t.target);e||n?J(e?-1:1):g.yearElements.indexOf(t.target)>=0?t.target.select():t.target.classList.contains("arrowUp")?g.changeYear(g.currentYear+1):t.target.classList.contains("arrowDown")&&g.changeYear(g.currentYear-1)}return function(){g.element=g.input=f,g.isOpen=!1,function(){var i=["wrap","weekNumbers","allowInput","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],r=t({},m,JSON.parse(JSON.stringify(f.dataset||{}))),o={};g.config.parseDate=r.parseDate,g.config.formatDate=r.formatDate,Object.defineProperty(g.config,"enable",{get:function(){return g.config._enable},set:function(t){g.config._enable=ht(t)}}),Object.defineProperty(g.config,"disable",{get:function(){return g.config._disable},set:function(t){g.config._disable=ht(t)}});var a="time"===r.mode;if(!r.dateFormat&&(r.enableTime||a)){var s=S.defaultConfig.dateFormat||n.dateFormat;o.dateFormat=r.noCalendar||a?"H:i"+(r.enableSeconds?":S":""):s+" H:i"+(r.enableSeconds?":S":"")}if(r.altInput&&(r.enableTime||a)&&!r.altFormat){var l=S.defaultConfig.altFormat||n.altFormat;o.altFormat=r.noCalendar||a?"h:i"+(r.enableSeconds?":S K":" K"):l+" h:i"+(r.enableSeconds?":S":"")+" K"}r.altInputClass||(g.config.altInputClass=g.input.className+" "+g.config.altInputClass),Object.defineProperty(g.config,"minDate",{get:function(){return g.config._minDate},set:at("min")}),Object.defineProperty(g.config,"maxDate",{get:function(){return g.config._maxDate},set:at("max")});var d=function(t){return function(e){g.config["min"===t?"_minTime":"_maxTime"]=g.parseDate(e,"H:i")}};Object.defineProperty(g.config,"minTime",{get:function(){return g.config._minTime},set:d("min")}),Object.defineProperty(g.config,"maxTime",{get:function(){return g.config._maxTime},set:d("max")}),"time"===r.mode&&(g.config.noCalendar=!0,g.config.enableTime=!0),Object.assign(g.config,o,r);for(var u=0;u<i.length;u++)g.config[i[u]]=!0===g.config[i[u]]||"true"===g.config[i[u]];for(e.filter((function(t){return void 0!==g.config[t]})).forEach((function(t){g.config[t]=c(g.config[t]||[]).map(x)})),g.isMobile=!g.config.disableMobile&&!g.config.inline&&"single"===g.config.mode&&!g.config.disable.length&&!g.config.enable.length&&!g.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),u=0;u<g.config.plugins.length;u++){var p=g.config.plugins[u](g)||{};for(var h in p)e.indexOf(h)>-1?g.config[h]=c(p[h]).map(x).concat(g.config[h]):void 0===r[h]&&(g.config[h]=p[h])}mt("onParseConfig")}(),st(),g.input=g.config.wrap?f.querySelector("[data-input]"):f,g.input?(g.input._type=g.input.type,g.input.type="text",g.input.classList.add("flatpickr-input"),g._input=g.input,g.config.altInput&&(g.altInput=d(g.input.nodeName,g.config.altInputClass),g._input=g.altInput,g.altInput.placeholder=g.input.placeholder,g.altInput.disabled=g.input.disabled,g.altInput.required=g.input.required,g.altInput.tabIndex=g.input.tabIndex,g.altInput.type="text",g.input.setAttribute("type","hidden"),!g.config.static&&g.input.parentNode&&g.input.parentNode.insertBefore(g.altInput,g.input.nextSibling)),g.config.allowInput||g._input.setAttribute("readonly","readonly"),g._positionElement=g.config.positionElement||g._input):g.config.errorHandler(new Error("Invalid input element specified")),function(){g.selectedDates=[],g.now=g.parseDate(g.config.now)||new Date;var t=g.config.defaultDate||("INPUT"!==g.input.nodeName&&"TEXTAREA"!==g.input.nodeName||!g.input.placeholder||g.input.value!==g.input.placeholder?g.input.value:null);t&&ft(t,g.config.dateFormat),g._initialDate=g.selectedDates.length>0?g.selectedDates[0]:g.config.minDate&&g.config.minDate.getTime()>g.now.getTime()?g.config.minDate:g.config.maxDate&&g.config.maxDate.getTime()<g.now.getTime()?g.config.maxDate:g.now,g.currentYear=g._initialDate.getFullYear(),g.currentMonth=g._initialDate.getMonth(),g.selectedDates.length>0&&(g.latestSelectedDateObj=g.selectedDates[0]),void 0!==g.config.minTime&&(g.config.minTime=g.parseDate(g.config.minTime,"H:i")),void 0!==g.config.maxTime&&(g.config.maxTime=g.parseDate(g.config.maxTime,"H:i")),g.minDateHasTime=!!g.config.minDate&&(g.config.minDate.getHours()>0||g.config.minDate.getMinutes()>0||g.config.minDate.getSeconds()>0),g.maxDateHasTime=!!g.config.maxDate&&(g.config.maxDate.getHours()>0||g.config.maxDate.getMinutes()>0||g.config.maxDate.getSeconds()>0),Object.defineProperty(g,"showTimeInput",{get:function(){return g._showTimeInput},set:function(t){g._showTimeInput=t,g.calendarContainer&&l(g.calendarContainer,"showTimeInput",t),g.isOpen&&ct()}})}(),g.utils={getDaysInMonth:function(t,e){return void 0===t&&(t=g.currentMonth),void 0===e&&(e=g.currentYear),1===t&&(e%4==0&&e%100!=0||e%400==0)?29:g.l10n.daysInMonth[t]}},g.isMobile||function(){var t=window.document.createDocumentFragment();if(g.calendarContainer=d("div","flatpickr-calendar"),g.calendarContainer.tabIndex=-1,!g.config.noCalendar){if(t.appendChild((g.monthNav=d("div","flatpickr-months"),g.yearElements=[],g.monthElements=[],g.prevMonthNav=d("span","flatpickr-prev-month"),g.prevMonthNav.innerHTML=g.config.prevArrow,g.nextMonthNav=d("span","flatpickr-next-month"),g.nextMonthNav.innerHTML=g.config.nextArrow,Y(),Object.defineProperty(g,"_hidePrevMonthArrow",{get:function(){return g.__hidePrevMonthArrow},set:function(t){g.__hidePrevMonthArrow!==t&&(l(g.prevMonthNav,"flatpickr-disabled",t),g.__hidePrevMonthArrow=t)}}),Object.defineProperty(g,"_hideNextMonthArrow",{get:function(){return g.__hideNextMonthArrow},set:function(t){g.__hideNextMonthArrow!==t&&(l(g.nextMonthNav,"flatpickr-disabled",t),g.__hideNextMonthArrow=t)}}),g.currentYearElement=g.yearElements[0],yt(),g.monthNav)),g.innerContainer=d("div","flatpickr-innerContainer"),g.config.weekNumbers){var e=function(){g.calendarContainer.classList.add("hasWeeks");var t=d("div","flatpickr-weekwrapper");t.appendChild(d("span","flatpickr-weekday",g.l10n.weekAbbreviation));var e=d("div","flatpickr-weeks");return t.appendChild(e),{weekWrapper:t,weekNumbers:e}}(),n=e.weekWrapper,i=e.weekNumbers;g.innerContainer.appendChild(n),g.weekNumbers=i,g.weekWrapper=n}g.rContainer=d("div","flatpickr-rContainer"),g.rContainer.appendChild(G()),g.daysContainer||(g.daysContainer=d("div","flatpickr-days"),g.daysContainer.tabIndex=-1),U(),g.rContainer.appendChild(g.daysContainer),g.innerContainer.appendChild(g.rContainer),t.appendChild(g.innerContainer)}g.config.enableTime&&t.appendChild(function(){g.calendarContainer.classList.add("hasTime"),g.config.noCalendar&&g.calendarContainer.classList.add("noCalendar"),g.timeContainer=d("div","flatpickr-time"),g.timeContainer.tabIndex=-1;var t=d("span","flatpickr-time-separator",":"),e=p("flatpickr-hour",{"aria-label":g.l10n.hourAriaLabel});g.hourElement=e.getElementsByTagName("input")[0];var n=p("flatpickr-minute",{"aria-label":g.l10n.minuteAriaLabel});if(g.minuteElement=n.getElementsByTagName("input")[0],g.hourElement.tabIndex=g.minuteElement.tabIndex=-1,g.hourElement.value=r(g.latestSelectedDateObj?g.latestSelectedDateObj.getHours():g.config.time_24hr?g.config.defaultHour:function(t){switch(t%24){case 0:case 12:return 12;default:return t%12}}(g.config.defaultHour)),g.minuteElement.value=r(g.latestSelectedDateObj?g.latestSelectedDateObj.getMinutes():g.config.defaultMinute),g.hourElement.setAttribute("step",g.config.hourIncrement.toString()),g.minuteElement.setAttribute("step",g.config.minuteIncrement.toString()),g.hourElement.setAttribute("min",g.config.time_24hr?"0":"1"),g.hourElement.setAttribute("max",g.config.time_24hr?"23":"12"),g.minuteElement.setAttribute("min","0"),g.minuteElement.setAttribute("max","59"),g.timeContainer.appendChild(e),g.timeContainer.appendChild(t),g.timeContainer.appendChild(n),g.config.time_24hr&&g.timeContainer.classList.add("time24hr"),g.config.enableSeconds){g.timeContainer.classList.add("hasSeconds");var i=p("flatpickr-second");g.secondElement=i.getElementsByTagName("input")[0],g.secondElement.value=r(g.latestSelectedDateObj?g.latestSelectedDateObj.getSeconds():g.config.defaultSeconds),g.secondElement.setAttribute("step",g.minuteElement.getAttribute("step")),g.secondElement.setAttribute("min","0"),g.secondElement.setAttribute("max","59"),g.timeContainer.appendChild(d("span","flatpickr-time-separator",":")),g.timeContainer.appendChild(i)}return g.config.time_24hr||(g.amPM=d("span","flatpickr-am-pm",g.l10n.amPM[o((g.latestSelectedDateObj?g.hourElement.value:g.config.defaultHour)>11)]),g.amPM.title=g.l10n.toggleTitle,g.amPM.tabIndex=-1,g.timeContainer.appendChild(g.amPM)),g.timeContainer}()),l(g.calendarContainer,"rangeMode","range"===g.config.mode),l(g.calendarContainer,"animate",!0===g.config.animate),l(g.calendarContainer,"multiMonth",g.config.showMonths>1),g.calendarContainer.appendChild(t);var a=void 0!==g.config.appendTo&&void 0!==g.config.appendTo.nodeType;if((g.config.inline||g.config.static)&&(g.calendarContainer.classList.add(g.config.inline?"inline":"static"),g.config.inline&&(!a&&g.element.parentNode?g.element.parentNode.insertBefore(g.calendarContainer,g._input.nextSibling):void 0!==g.config.appendTo&&g.config.appendTo.appendChild(g.calendarContainer)),g.config.static)){var s=d("div","flatpickr-wrapper");g.element.parentNode&&g.element.parentNode.insertBefore(s,g.element),s.appendChild(g.element),g.altInput&&s.appendChild(g.altInput),s.appendChild(g.calendarContainer)}g.config.static||g.config.inline||(void 0!==g.config.appendTo?g.config.appendTo:window.document.body).appendChild(g.calendarContainer)}(),function(){if(g.config.wrap&&["open","close","toggle","clear"].forEach((function(t){Array.prototype.forEach.call(g.element.querySelectorAll("[data-"+t+"]"),(function(e){return E(e,"click",g[t])}))})),g.isMobile)!function(){var t=g.config.enableTime?g.config.noCalendar?"time":"datetime-local":"date";g.mobileInput=d("input",g.input.className+" flatpickr-mobile"),g.mobileInput.step=g.input.getAttribute("step")||"any",g.mobileInput.tabIndex=1,g.mobileInput.type=t,g.mobileInput.disabled=g.input.disabled,g.mobileInput.required=g.input.required,g.mobileInput.placeholder=g.input.placeholder,g.mobileFormatStr="datetime-local"===t?"Y-m-d\\TH:i:S":"date"===t?"Y-m-d":"H:i:S",g.selectedDates.length>0&&(g.mobileInput.defaultValue=g.mobileInput.value=g.formatDate(g.selectedDates[0],g.mobileFormatStr)),g.config.minDate&&(g.mobileInput.min=g.formatDate(g.config.minDate,"Y-m-d")),g.config.maxDate&&(g.mobileInput.max=g.formatDate(g.config.maxDate,"Y-m-d")),g.input.type="hidden",void 0!==g.altInput&&(g.altInput.type="hidden");try{g.input.parentNode&&g.input.parentNode.insertBefore(g.mobileInput,g.input.nextSibling)}catch(t){}E(g.mobileInput,"change",(function(t){g.setDate(t.target.value,!1,g.mobileFormatStr),mt("onChange"),mt("onClose")}))}();else{var t=s(rt,50);g._debouncedChange=s(A,k),g.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&E(g.daysContainer,"mouseover",(function(t){"range"===g.config.mode&&it(t.target)})),E(window.document.body,"keydown",nt),g.config.inline||g.config.static||E(window,"resize",t),void 0!==window.ontouchstart?E(window.document,"touchstart",X):E(window.document,"mousedown",F(X)),E(window.document,"focus",X,{capture:!0}),!0===g.config.clickOpens&&(E(g._input,"focus",g.open),E(g._input,"mousedown",F(g.open))),void 0!==g.daysContainer&&(E(g.monthNav,"mousedown",F(wt)),E(g.monthNav,["keyup","increment"],D),E(g.daysContainer,"mousedown",F(ut))),void 0!==g.timeContainer&&void 0!==g.minuteElement&&void 0!==g.hourElement&&(E(g.timeContainer,["increment"],T),E(g.timeContainer,"blur",T,{capture:!0}),E(g.timeContainer,"mousedown",F(R)),E([g.hourElement,g.minuteElement],["focus","click"],(function(t){return t.target.select()})),void 0!==g.secondElement&&E(g.secondElement,"focus",(function(){return g.secondElement&&g.secondElement.select()})),void 0!==g.amPM&&E(g.amPM,"mousedown",F((function(t){T(t),A()}))))}}(),(g.selectedDates.length||g.config.noCalendar)&&(g.config.enableTime&&$(g.config.noCalendar?g.latestSelectedDateObj||g.config.minDate:void 0),_t(!1)),P(),g.showTimeInput=g.selectedDates.length>0||g.config.noCalendar;var i=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!g.isMobile&&i&&ct(),mt("onReady")}(),g}function P(t,e){for(var n=Array.prototype.slice.call(t).filter((function(t){return t instanceof HTMLElement})),i=[],r=0;r<n.length;r++){var o=n[r];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=x(o,e||{}),i.push(o._flatpickr)}catch(t){console.error(t)}}return 1===i.length?i[0]:i}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(t){return P(this,t)},HTMLElement.prototype.flatpickr=function(t){return P([this],t)});var S=function(t,e){return"string"==typeof t?P(window.document.querySelectorAll(t),e):t instanceof Node?P([t],e):P(t,e)};return S.defaultConfig={},S.l10ns={en:t({},i),default:t({},i)},S.localize=function(e){S.l10ns.default=t({},S.l10ns.default,e)},S.setDefaults=function(e){S.defaultConfig=t({},S.defaultConfig,e)},S.parseDate=b({}),S.formatDate=y({}),S.compareDates=_,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(t){return P(this,t)}),Date.prototype.fp_incr=function(t){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof t?parseInt(t,10):t))},"undefined"!=typeof window&&(window.flatpickr=S),S},"object"==a(e)?t.exports=o():void 0===(r="function"==typeof(i=o)?i.call(e,n,e,t):i)||(t.exports=r)},5661:()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,i(r.key),r)}}function n(t,e,n){return(e=i(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function i(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,n||"default");if("object"!=t(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:n+""}var r=function(){return t=function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),n(this,"element",void 0),n(this,"backdrop",void 0),n(this,"isShown",void 0),n(this,"isTransitionOngoing",void 0),this.element=e,this.backdrop=document.createElement("DIV"),this.backdrop.classList.add("modal-backdrop"),this.backdrop.classList.add("show"),this.isShown=!1,this.isTransitionOngoing=!1},(i=[{key:"show",value:function(){this.isShown||this.isTransitionOngoing||this.triggerEvent("show.bs.modal").defaultPrevented||(this.isShown=!0,this.isTransitionOngoing=!0,document.body.classList.add("modal-open"),this._adjustDialog(),document.body.append(this.backdrop),this._showElement())}},{key:"hide",value:function(){!this.isShown||this.isTransitionOngoing||this.triggerEvent("hide.bs.modal").defaultPrevented||(this.isShown=!1,this.isTransitionOngoing=!0,this.element.classList.remove("show"),this._hideModal())}},{key:"handleAction",value:function(t){switch(t){case"show":this.show();break;case"hide":this.hide()}return this}},{key:"triggerEvent",value:function(t){return(t=t instanceof Event?t:new CustomEvent(t)).target=this.element,this.element.dispatchEvent(t),t}},{key:"_adjustDialog",value:function(){var t=this.element.scrollHeight>document.documentElement.clientHeight;if(t){var e=this.isRTL()?"paddingRight":"paddingLeft";this.element.style[e]="".concat(0,"px")}}},{key:"_showElement",value:function(){var t=this;document.body.contains(this.element)||document.body.append(this.element),this.element.style.display="block",this.element.removeAttribute("aria-hidden"),this.element.setAttribute("aria-modal","true"),this.element.setAttribute("role","dialog"),this.element.scrollTop=0;var e=this.element.querySelector(".modal-body");e&&(e.scrollTop=0),this.element.classList.add("show"),setTimeout((function(){t.isTransitionOngoing=!1,t.triggerEvent("shown.bs.modal")}),300)}},{key:"_hideModal",value:function(){this.element.style.display="none",this.element.setAttribute("aria-hidden","true"),this.element.removeAttribute("aria-modal"),this.element.removeAttribute("role"),this.isTransitionOngoing=!1,this.backdrop.remove(),document.body.classList.remove("modal-open"),this.triggerEvent("hidden.bs.modal")}},{key:"isRTL",value:function(){return!0}}])&&e(t.prototype,i),r&&e(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,i,r}();HTMLElement.prototype.modal=function(t){return void 0===this._modal&&(this._modal=new r(this)),this._modal.handleAction(t)}},2428:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".overlay-container[data-v-7d06473b]{display:flex}.overlay-wrapper[data-v-7d06473b]{position:relative;width:100%}.flag-selection-wrapper[data-v-7d06473b],.product-selection-wrapper[data-v-7d06473b]{background:#f0f8f7;border-radius:15px;padding:10px}.icon[data-v-7d06473b]{font-size:28px}.icon-selection[data-v-7d06473b]{display:flex;justify-content:space-between;margin-left:16px;width:82px}.icon-selected[data-v-7d06473b]{bottom:0;cursor:pointer;filter:brightness(0) invert(1);font-size:2rem;left:35%;position:absolute}.system-lang[data-v-7d06473b]{max-width:-moz-min-content;max-width:min-content}.flag-selection[data-v-7d06473b],.system-lang[data-v-7d06473b]{display:inline-block}.select-flag[data-v-7d06473b]{cursor:pointer}.country-flag[data-v-7d06473b]{border-radius:15px;box-shadow:0 0 20px 2px rgba(0,0,0,.15);display:block;height:auto;width:82px}.country-flag[data-v-7d06473b]:hover:not(.country-flag-selected){cursor:pointer;filter:brightness(.9)}.country-flag-selected[data-v-7d06473b]{filter:brightness(.6);opacity:1;transition:all .6s ease}",""]);const o=r},3652:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,"ul[data-v-24e7c0f6]{padding:0}.confirmed-box-wrapper[data-v-24e7c0f6]{cursor:pointer}.confirmed-box[data-v-24e7c0f6]{align-items:center;display:flex;height:100%;justify-content:center;margin:0}.confirmed-box li[data-v-24e7c0f6]{display:flex;margin:0 7px;padding:15px}.confirmed-box .bubble[data-v-24e7c0f6]{min-width:80px}.confirmed-box .check-icon[data-v-24e7c0f6]{font-size:35px}.confirmed-box .validity-info[data-v-24e7c0f6]{display:flex;flex-direction:column;text-align:left}.confirmed-box .validity-info span[data-v-24e7c0f6]{font-size:16px;font-weight:700}.confirmed-box .validity-info small[data-v-24e7c0f6]{font-size:12px}.duration-text span[data-v-24e7c0f6]{font-size:20px;margin-bottom:-5px}.duration-text small[data-v-24e7c0f6]{font-size:14px}.bubble-wrapper[data-v-24e7c0f6]{align-items:center;display:flex;height:100%;justify-content:left;margin:0}.bubble-wrapper .bubble[data-v-24e7c0f6]{margin-right:15px;padding:15px}.bubble[data-v-24e7c0f6]{align-items:center;border-radius:5px;cursor:pointer;display:flex;flex-direction:column;height:55px;justify-content:center;text-align:center}.bubble-unselected[data-v-24e7c0f6]{border:2px solid var(--main-color);color:var(--main-color)}.bubble-selected[data-v-24e7c0f6],.bubble[data-v-24e7c0f6]:hover{background-color:var(--main-color);color:#fff}.vehicle-bubble[data-v-24e7c0f6]{height:70px;min-width:100px}.duration-bubble[data-v-24e7c0f6]{width:80px}.datepicker[data-v-24e7c0f6]{border:1.5px solid var(--main-color)}.validity-info[data-v-24e7c0f6]{font-weight:700}.validity-info span[data-v-24e7c0f6]{font-size:20px}.remove-product-btn[data-v-24e7c0f6]{cursor:pointer;text-decoration:underline!important}",""]);const o=r},90:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".evidence-checker-container .license-plate-background{background-position:top;background-repeat:no-repeat;background-size:contain;height:1.5rem;width:1rem}.evidence-checker-container .loader-container{background:rgba(240,248,247,.8);bottom:0;left:0;position:absolute;right:0;top:0;z-index:9999999}.evidence-checker-container .loader-container .preloader .status{left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}.evidence-checker-container .loader-container .preloader .status .spinner{position:relative;text-align:center}.evidence-checker-container .loader-container .preloader .status .spinner .spinner-inner{height:2.5rem;margin:6.25rem auto 1rem;position:relative;width:2.5rem}.evidence-checker-container .loader-container .preloader .status .spinner .spinner-text{font-weight:bolder}",""]);const o=r},3350:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,'.christmas-banner[data-v-5036a4c0]{background:transparent url(/assets/img/gift_voucher/banner_bg.jpg) no-repeat 50% 90%;background-size:cover}@supports(background-image:url("/assets/img/gift_voucher/banner_bg.webp")){.christmas-banner[data-v-5036a4c0]{background-image:url(/assets/img/gift_voucher/banner_bg.webp)}}.normal-banner .gift-voucher-description[data-v-5036a4c0],.normal-banner .heading[data-v-5036a4c0]{color:var(--main-color)}.normal-banner[data-v-5036a4c0]:after{background:transparent url(/assets/img/gift_voucher/normal_banner.jpg) no-repeat;background-position-x:100%;background-size:cover;content:"";height:calc(100% - 20px);left:0;margin:10px 0;opacity:.5;position:absolute;top:0;transform:scaleX(-1);width:100%;z-index:-1}@supports(background-image:url("/assets/img/gift_voucher/normal_banner.webp")){.normal-banner[data-v-5036a4c0]:after{background-image:url(/assets/img/gift_voucher/normal_banner.webp)}}@media(min-width:769px){.normal-banner[data-v-5036a4c0]:after{background-position-x:25%;background-size:contain;transform:scaleX(1)}}@media(min-width:769px)and (min-width:992px){.normal-banner[data-v-5036a4c0]:after{background-position-x:70%;background-size:contain;opacity:1}}.banner[data-v-5036a4c0]{align-items:center;border:2px solid var(--main-color);border-radius:10px;color:#fff;display:flex;flex-direction:row;font-family:Prompt,sans-serif;gap:.5rem;justify-content:space-between;min-height:110px;padding:1.5rem;position:relative;width:100%}@media(max-width:768px){.banner[data-v-5036a4c0]{flex-direction:column;justify-content:center}}.banner .heading[data-v-5036a4c0]{font-size:x-large}.banner .btn[data-v-5036a4c0]{width:12.5ch}',""]);const o=r},4205:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".icon-text-container .icon-text-container-title span{background-color:#595f66;border-radius:.25rem;color:#fff;font-family:Prompt,sans-serif;font-size:1rem;font-weight:600;line-height:1.5;padding:5px}",""]);const o=r},4010:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".form.contains-license-plate-template [name=country_code]{height:50px}.license-plate-input-container{position:relative}.license-plate-input-container .license-plate-input{background-repeat:no-repeat;background-size:250px}.license-plate-input-container .license-plate-input .license-plate-input-field{float:left;height:70%}.license-plate-input-container .license-plate-input .license-plate-input-field .form-control{font-size:clamp(1rem,6vw,2.6rem);line-height:37px;padding:2px;text-align:center}.license-plate-input-container .invalid-icon{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545'%3E%3Ccircle cx='6' cy='6' r='4.5'/%3E%3Cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3E%3Ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:contain;display:none;height:20px;margin-left:5px;position:absolute;top:50%;transform:translateY(-50%);width:20px}.license-plate-input-container.is-invalid .invalid-icon{display:block}.license-plate-input-container .field-preview>div{position:relative;top:50%;transform:translateY(-50%)}",""]);const o=r},8751:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".centered{justify-content:center}",""]);const o=r},8010:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,"@media screen and (max-width:767px){.birthday-voucher-popup-container .modal-dialog{margin:0;max-height:unset;min-height:unset}.birthday-voucher-popup-container .modal-dialog .modal-content{width:calc(100vw - .5rem)}}@media screen and (min-width:768px){.birthday-voucher-popup-container .horizontal-centered{margin:0 auto}}.birthday-voucher-popup-container .modal-header{padding-bottom:0}.birthday-voucher-popup-container .modal-body{padding-top:.5rem}.birthday-voucher-popup-container .modal-body .datepicker-input input{background:var(--main-background-light-light)!important}",""]);const o=r},4908:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,"@media screen and (max-width:767px){.cancel-order-popup-container .modal-dialog{margin:0;max-height:unset;min-height:unset}.cancel-order-popup-container .modal-dialog .modal-content{width:calc(100vw - .5rem)}}@media screen and (min-width:768px){.cancel-order-popup-container .horizontal-centered{margin:0 auto}}.cancel-order-popup-container .modal-header{padding-bottom:0}.cancel-order-popup-container .modal-body{padding-top:.5rem}",""]);const o=r},5651:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".license-plate-input-container .license-plate-input .license-plate-input-field .form-control{font-size:clamp(1rem,5vw,2rem)!important}.change-order-buttons-container #change-order-modal .modal-header{padding-bottom:.125rem}.change-order-buttons-container #change-order-modal .modal-body{padding-top:.125rem}.change-order-buttons-container .loader-container{background:hsla(0,0%,100%,.8);bottom:0;left:0;position:absolute;right:0;top:0;z-index:9999999}.change-order-buttons-container .loader-container .preloader .status{left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}.change-order-buttons-container .loader-container .preloader .status .spinner{position:relative;text-align:center}.change-order-buttons-container .loader-container .preloader .status .spinner .spinner-inner{height:2.5rem;margin:auto auto 1rem;position:relative;width:2.5rem}.change-order-buttons-container .loader-container .preloader .status .spinner .spinner-text{font-weight:bolder}@media(max-width:991px){.row{margin-left:-15px;margin-right:-15px}}",""]);const o=r},1972:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".overview-grid[data-v-a4c62200]{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:max-content;padding:140px 0 0;text-align:left}.overview-grid.revoked[data-v-a4c62200]{grid-template-columns:50%;justify-content:center}@media screen and (max-width:992px){.overview-grid[data-v-a4c62200]{gap:1rem;grid-template-columns:100%!important;padding-bottom:2rem}}.overview-grid[data-v-a4c62200] .heading{font-size:xx-large}@media screen and (max-width:992px){.overview-grid[data-v-a4c62200] .heading{font-size:x-large}}.overview-grid[data-v-a4c62200] .heading.tight{line-height:1}.overview-grid>.top[data-v-a4c62200]{display:flex;flex-direction:row;justify-content:space-between;padding:1rem}.overview-grid>.top .top__expand[data-v-a4c62200]{align-items:center;display:flex;gap:.2rem}.overview-grid>.left[data-v-a4c62200]{display:flex;flex-direction:column;justify-content:space-between}@media screen and (max-width:992px){.overview-grid>.left[data-v-a4c62200]{order:2}}.overview-grid fieldset[data-v-a4c62200]{border:2pt solid #dee2e1;-o-border-image:initial;border-image:initial;border-radius:12px;transition:all .6s cubic-bezier(1,.01,1,.01)}.overview-grid fieldset legend[data-v-a4c62200]{all:revert;color:var(--main-color);font-size:xx-large;font-weight:600;text-align:center}.mdi-chevron-right[data-v-a4c62200]{transition:transform .3s ease}.mdi-chevron-right.active[data-v-a4c62200]{transform:rotate(90deg)}",""]);const o=r},3272:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,'.right[data-v-07b48ca3]{background-color:var(--main-background-light-light);border-radius:10px;padding:2rem}@media screen and (max-width:992px){.right[data-v-07b48ca3]{border-radius:unset;order:1}}.right[data-v-07b48ca3]>.separator{margin:2rem 0}.subtext[data-v-07b48ca3]{margin-top:-5px}[data-v-07b48ca3] .separator{align-items:center;display:flex;text-align:center}[data-v-07b48ca3] .separator:before{border-bottom:1px solid #000;content:"";flex:1}[data-v-07b48ca3] .separator:after{border-bottom:1px solid #000;content:"";flex:1}[data-v-07b48ca3] .separator:not(:empty):before{margin-right:.25em}[data-v-07b48ca3] .separator:not(:empty):after{margin-left:.25em}[data-v-07b48ca3] .split{align-items:center;display:flex;flex-direction:row;gap:.5rem}',""]);const o=r},2154:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".revocation-notice[data-v-f8fe5072]{align-items:center;display:flex;gap:1rem}.revocation-notice i[data-v-f8fe5072]{font-size:xxx-large}.product[data-v-f8fe5072]{gap:1.5rem}.product img[data-v-f8fe5072]{width:25%}.product>.product__details .product__name[data-v-f8fe5072]{font-size:large}.advantages[data-v-f8fe5072]{display:grid;grid-template-columns:1fr 1fr}@media(max-width:767px){.advantages[data-v-f8fe5072]{grid-template-columns:1fr}.advantages>div[data-v-f8fe5072]{justify-content:start;padding:0}}.advantages h3[data-v-f8fe5072]{font-size:medium}.details[data-v-f8fe5072],.price[data-v-f8fe5072]{justify-content:space-between}.price__total[data-v-f8fe5072]{white-space:nowrap}[data-v-f8fe5072] .price__total__main{line-height:1}[data-v-f8fe5072] .price__total__sub{margin-top:-5px}.payments li[data-v-f8fe5072],.payments ol[data-v-f8fe5072]{list-style:none;padding:0}dd[data-v-f8fe5072],dl[data-v-f8fe5072],dt[data-v-f8fe5072]{font-weight:inherit;margin:0}",""]);const o=r},6071:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".product[data-v-536ba0e8]{gap:1.5rem}.product img[data-v-536ba0e8]{width:25%}.product>.product__details .product__name[data-v-536ba0e8]{font-size:large}.price[data-v-536ba0e8]{justify-content:space-between}.price__total[data-v-536ba0e8]{white-space:nowrap}.payments li[data-v-536ba0e8],.payments ol[data-v-536ba0e8]{list-style:none;padding:0}dd[data-v-536ba0e8],dl[data-v-536ba0e8],dt[data-v-536ba0e8]{font-weight:inherit;margin:0}",""]);const o=r},4171:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,"@keyframes placeholder-glow-2feb928a{50%{opacity:.2}}.placeholder-glow .placeholder[data-v-2feb928a]{animation:placeholder-glow-2feb928a 2s ease-in-out infinite}.placeholder[data-v-2feb928a]{animation:placeholder-flow;background-color:gray;border:none;border-radius:5px;cursor:wait;display:inline-block;height:50px;min-height:1em;opacity:.5;vertical-align:middle;width:100%}fieldset[data-v-2feb928a]{border:2pt solid #dee2e1;-o-border-image:initial;border-image:initial;border-radius:12px;transition:all .6s cubic-bezier(1,.01,1,.01)}fieldset legend[data-v-2feb928a]{all:revert;color:var(--main-color);font-size:xx-large;font-weight:600;text-align:center}.paymentmethods[data-v-2feb928a]{display:flex;flex-direction:column;padding:1rem}.paymentmethods .paymentmethod[data-v-2feb928a]{flex-grow:1}.paymentmethods .paymentmethod[data-v-2feb928a]:hover{cursor:pointer}.more[data-v-2feb928a]{align-items:center;display:flex;gap:.2rem;text-decoration:underline!important}.mdi-chevron-right[data-v-2feb928a]{transition:transform .3s ease}.mdi-chevron-right.active[data-v-2feb928a]{transform:rotate(-90deg)}",""]);const o=r},1842:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".orderCancellationButton{cursor:pointer}#terminate-payment-subscription-modal .loader-container{background:hsla(0,0%,100%,.8);bottom:0;left:0;position:absolute;right:0;top:0;z-index:9999999}#terminate-payment-subscription-modal .loader-container .preloader .status{left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}#terminate-payment-subscription-modal .loader-container .preloader .status .spinner{position:relative;text-align:center}#terminate-payment-subscription-modal .loader-container .preloader .status .spinner .spinner-inner{height:2.5rem;margin:auto auto 1rem;position:relative;width:2.5rem}#terminate-payment-subscription-modal .loader-container .preloader .status .spinner .spinner-text{font-weight:bolder}span.old{text-decoration:line-through}",""]);const o=r},9539:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,"@media screen and (max-width:767px){.insurance-popup-container .modal-dialog{margin:0;max-height:unset;min-height:unset}.insurance-popup-container .modal-dialog .modal-content{width:calc(100vw - .5rem)}}@media screen and (min-width:768px){.insurance-popup-container .horizontal-centered{margin:0 auto}}.insurance-popup-container .modal-header{padding-bottom:0}.insurance-popup-container .modal-body{padding-top:.5rem}",""]);const o=r},1738:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".order-payment-container .payment-col:not(.disabled):not([disabled]){cursor:pointer;margin-bottom:1.25rem}.order-payment-container .payment-method-container{position:relative}.order-payment-container .payment-method-container .payment-icon:not(.payment-icon-image){font-size:48px}.order-payment-container .payment-method-container .payment-icon.payment-icon-image{display:block;margin-top:-5px}.order-payment-container .paypal-payment-container .form-group{margin-bottom:0;margin-top:1.25rem}.order-payment-container .paypal-fixed-height{height:62px}",""]);const o=r},4006:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".gift-voucher-container[data-v-7643834c]{align-items:center;display:flex;flex-direction:column;justify-content:center}.gift-voucher-input-container[data-v-7643834c]{background-color:var(--main-background-light-light);border:1px solid var(--main-color);border-radius:10px;display:flex;flex-direction:row;flex-shrink:1;font-size:1.5rem;font-weight:400;gap:.33rem;justify-content:center;line-height:1.5;padding:.375rem .75rem}@media(max-width:450px){.gift-voucher-input-container[data-v-7643834c]{font-size:min(1rem,4vmin)}}@media(max-width:992px){.gift-voucher-input-container[data-v-7643834c]{font-size:min(1.3rem,4vmin)}}.gift-voucher-input-container input[data-v-7643834c]{all:unset;box-sizing:content-box;text-align:center;width:6.5ch}.gift-voucher-input-container span[data-v-7643834c]{flex-shrink:1}",""]);const o=r},9520:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".gift-voucher-info[data-v-7ec92236]{display:flex;flex-direction:column;margin:0 auto;max-width:66%}@media(max-width:992px){.gift-voucher-info[data-v-7ec92236]{max-width:100%}}.gift-voucher-info span[data-v-7ec92236]{color:#000}.gift-voucher-info .gift-voucher-info-row[data-v-7ec92236]{display:flex;flex-direction:row;justify-content:space-between}",""]);const o=r},7178:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".revoked-order-modal{z-index:999}.revoked-order-backdrop{z-index:998}",""]);const o=r},7587:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".order-setup-popup-container #popup_accepted{height:0;width:3em}.order-setup-popup-container #popup_accepted:before{height:3em;width:3em}.order-setup-popup-container #popup_accepted:checked:before{align-items:center;display:flex;justify-content:center}@media(min-width:576px)and (max-width:992px){.order-setup-popup-container .modal-dialog{max-width:unset}}@media screen and (min-width:300px){.order-setup-popup-container #popup_accepted:checked:before{align-items:center;display:flex;justify-content:center;margin:0!important}.order-setup-popup-container #popup_accepted{height:4em;width:3em}}@media screen and (max-width:767px){.order-setup-popup-container .modal-dialog{margin:0;max-height:unset;min-height:unset}.order-setup-popup-container .modal-dialog .modal-content{width:calc(100vw - .5rem)}}@media screen and (min-width:768px){.order-setup-popup-container .horizontal-centered{margin:0 auto}}.order-setup-popup-container .modal-header{padding-bottom:.5rem}.order-setup-popup-container .order-setup-popup-form{height:100%;position:relative}.order-setup-popup-container .order-setup-popup-form .modal-body{padding-top:0}.order-setup-popup-container .order-setup-popup-form .modal-footer{padding-bottom:.5rem;padding-top:.5rem}.order-setup-popup-container .order-setup-popup-form .modal-footer.border-primary{border-bottom:0!important;border-left:0!important;border-right:0!important}",""]);const o=r},7429:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,"@media screen and (max-width:767px){.cancel-order-popup-container .modal-dialog{margin:0;max-height:unset;min-height:unset}.cancel-order-popup-container .modal-dialog .modal-content{width:calc(100vw - .5rem)}}@media screen and (min-width:768px){.cancel-order-popup-container .horizontal-centered{margin:0 auto}}.cancel-order-popup-container .modal-header{padding-bottom:0}.cancel-order-popup-container .modal-body{padding-top:.5rem}",""]);const o=r},3190:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".order-form-container #paypal-button-container{padding-left:20px;padding-right:20px}body.maintenance-modal-open #shop-maintenance-mode-modal{z-index:999999991}body.maintenance-modal-open .modal-backdrop{z-index:999999990}",""]);const o=r},46:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".product-price[data-v-1146b472]{font-size:25px;font-weight:700}",""]);const o=r},2500:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,'.product-order-form[data-v-8c8e1d70]{position:relative}.product-order-form .custom-control-switch-row[data-v-8c8e1d70]{max-width:470px}.product-order-form .disabled-element[data-v-8c8e1d70]{position:relative}.product-order-form .disabled-element[data-v-8c8e1d70]:after{background-color:hsla(0,0%,100%,.5);bottom:0;content:" ";cursor:not-allowed;left:0;position:absolute;right:0;top:0;z-index:88888}.product-order-form .same-margin-top[data-v-8c8e1d70]{margin-top:20px}.product-order-form .payment-method-container[data-v-8c8e1d70],.product-order-form .summary-container[data-v-8c8e1d70]{padding:0 1.31rem}.product-order-form>.loader-container[data-v-8c8e1d70]{background-color:hsla(0,0%,100%,.4);bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:99999}.product-order-form>.loader-container.full-page-loader[data-v-8c8e1d70]{position:fixed}.product-order-form>.loader-container #status[data-v-8c8e1d70]{position:fixed!important}.product-order-form #preloader[data-v-8c8e1d70]{background:transparent;position:absolute}.product-order-form .license-plate-background[data-v-8c8e1d70]{background-position:top;background-repeat:no-repeat;background-size:contain;height:28px;width:15px}.product-order-form .product-price[data-v-8c8e1d70]{font-size:30px;font-weight:700}.product-order-form .product-price.old[data-v-8c8e1d70]{font-size:18px;font-weight:unset;text-decoration:line-through}.product-order-form input[type=checkbox][data-v-8c8e1d70],.product-order-form input[type=radio][data-v-8c8e1d70]{-webkit-transform:scale(1.2)}.product-order-form input[type=email][data-v-8c8e1d70],.product-order-form input[type=text][data-v-8c8e1d70]{color:#161c2d}.product-order-form .route-toll-valid-from .prefix-label[data-v-8c8e1d70],.product-order-form .route-toll-valid-from .separator-label[data-v-8c8e1d70],.product-order-form .route-toll-valid-from .to-time-label[data-v-8c8e1d70],.product-order-form .vignette-validity-until .prefix-label[data-v-8c8e1d70],.product-order-form .vignette-validity-until .separator-label[data-v-8c8e1d70],.product-order-form .vignette-validity-until .to-time-label[data-v-8c8e1d70]{font-size:1.15rem}.product-order-form .route-toll-valid-from .from-label[data-v-8c8e1d70],.product-order-form .route-toll-valid-from .to-date-label[data-v-8c8e1d70],.product-order-form .vignette-validity-until .from-label[data-v-8c8e1d70],.product-order-form .vignette-validity-until .to-date-label[data-v-8c8e1d70]{font-size:1.5rem}.product-order-form .invalid-validity-start[data-v-8c8e1d70]{color:#dc3545;font-size:80%;margin-top:.25rem;width:100%}@media(min-width:768px){.product-order-form .ml-md-10[data-v-8c8e1d70]{margin-left:8rem!important}}@media(min-width:992px){.product-order-form .ml-lg-0[data-v-8c8e1d70]{margin-left:0!important}}.shop-voucher-btn[data-v-8c8e1d70]{height:40px;min-width:100px}.max-width[data-v-8c8e1d70]{width:95%}',""]);const o=r},4407:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,"#limit-validity-start-modal .loader-container{background:hsla(0,0%,100%,.8);bottom:0;left:0;position:absolute;right:0;top:0;z-index:9999999}#limit-validity-start-modal .loader-container .preloader .status{left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}#limit-validity-start-modal .loader-container .preloader .status .spinner{position:relative;text-align:center}#limit-validity-start-modal .loader-container .preloader .status .spinner .spinner-inner{height:2.5rem;margin:auto auto 1rem;position:relative;width:2.5rem}#limit-validity-start-modal .loader-container .preloader .status .spinner .spinner-text{font-weight:bolder}",""]);const o=r},4372:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,"#unsubscribe-newsletter-modal .modal-title{max-width:100%!important}#unsubscribe-newsletter-modal .loader-container{background:hsla(0,0%,100%,.8);bottom:0;left:0;position:absolute;right:0;top:0;z-index:9999999}#unsubscribe-newsletter-modal .loader-container .preloader .status{left:0;position:absolute;right:0;top:50%;transform:translateY(-50%)}#unsubscribe-newsletter-modal .loader-container .preloader .status .spinner{position:relative;text-align:center}#unsubscribe-newsletter-modal .loader-container .preloader .status .spinner .spinner-inner{height:2.5rem;margin:auto auto 1rem;position:relative;width:2.5rem}#unsubscribe-newsletter-modal .loader-container .preloader .status .spinner .spinner-text{font-weight:bolder}",""]);const o=r},873:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,'.stepper[data-v-d87000de]{--bs-gray-200:#eee;--bs-gray-500:#999;--bs-gray-600:#777;--bs-gray-800:#444;--bs-light:#f9f9f9;--bs-main:var(--main-color);--fnt:sans-serif;--fnt-size:2rem;align-items:flex-start;counter-reset:step 0;flex-flow:row nowrap;font-family:var(--fnt);font-size:var(--fnt-size);gap:0;justify-content:space-around;margin:2rem 0}.stepper[data-v-d87000de],.stepper>.step[data-v-d87000de]{display:flex;position:relative;width:100%}.stepper>.step[data-v-d87000de]{align-items:center;counter-increment:step;flex-flow:column nowrap;justify-content:flex-start}.stepper>.step[data-v-d87000de]:before{background:var(--bs-gray-200);content:"";height:2px;left:0;position:absolute;top:1.5rem;width:100%}.stepper>.step>.step-label[data-v-d87000de]{background:var(--bs-gray-200);border-radius:50%;color:var(--bs-gray-600);height:3rem;line-height:3rem;margin:0 auto;position:relative;text-align:center;width:3rem}.stepper>.step>.step-label[data-v-d87000de]:before{content:counter(step)}.stepper>.step.active[data-v-d87000de]:before{background:linear-gradient(to right,var(--bs-main),var(--bs-gray-200))}.stepper>.step.active>.step-label[data-v-d87000de]{background:var(--bs-main);color:var(--bs-light);font-weight:700}.stepper>.step.completed[data-v-d87000de]:before{background:var(--bs-main)}.stepper>.step.completed>.step-label[data-v-d87000de]{background:var(--bs-main);color:var(--bs-light)}.stepper>.step>.step-description[data-v-d87000de]{color:var(--bs-gray-500);font-size:clamp(.8rem,2vw,1rem);-webkit-hyphens:auto;hyphens:auto;margin-top:.5rem;overflow-wrap:break-word;text-align:center}.stepper>.step.active>.step-description[data-v-d87000de],.stepper>.step.completed>.step-description[data-v-d87000de]{color:var(--main-color)}.stepper>.step.active>.step-description[data-v-d87000de]{font-weight:700}',""]);const o=r},2248:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,'.flatpickr-calendar{animation:none;background:transparent;background:#fff;border:0;border-radius:5px;box-shadow:1px 0 0 #e6e6e6,-1px 0 0 #e6e6e6,0 1px 0 #e6e6e6,0 -1px 0 #e6e6e6,0 3px 13px rgba(0,0,0,.08);box-sizing:border-box;direction:ltr;display:none;font-size:14px;line-height:24px;opacity:0;padding:0;position:absolute;text-align:center;touch-action:manipulation;visibility:hidden;width:307.875px}.flatpickr-calendar.inline,.flatpickr-calendar.open{max-height:640px;opacity:1;visibility:visible}.flatpickr-calendar.open{display:inline-block;z-index:99999}.flatpickr-calendar.animate.open{animation:fpFadeInDown .3s cubic-bezier(.23,1,.32,1)}.flatpickr-calendar.inline{display:block;position:relative;top:2px}.flatpickr-calendar.static{position:absolute;top:calc(100% + 2px)}.flatpickr-calendar.static.open{display:block;z-index:999}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+1) .flatpickr-day.inRange:nth-child(7n+7){box-shadow:none!important}.flatpickr-calendar.multiMonth .flatpickr-days .dayContainer:nth-child(n+2) .flatpickr-day.inRange:nth-child(7n+1){box-shadow:-2px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-calendar .hasTime .dayContainer,.flatpickr-calendar .hasWeeks .dayContainer{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.flatpickr-calendar .hasWeeks .dayContainer{border-left:0}.flatpickr-calendar.showTimeInput.hasTime .flatpickr-time{border-top:1px solid #e6e6e6;height:40px}.flatpickr-calendar.noCalendar.hasTime .flatpickr-time{height:auto}.flatpickr-calendar:after,.flatpickr-calendar:before{border:solid transparent;content:"";display:block;height:0;left:22px;pointer-events:none;position:absolute;width:0}.flatpickr-calendar.rightMost:after,.flatpickr-calendar.rightMost:before{left:auto;right:22px}.flatpickr-calendar:before{border-width:5px;margin:0 -5px}.flatpickr-calendar:after{border-width:4px;margin:0 -4px}.flatpickr-calendar.arrowTop:after,.flatpickr-calendar.arrowTop:before{bottom:100%}.flatpickr-calendar.arrowTop:before{border-bottom-color:#e6e6e6}.flatpickr-calendar.arrowTop:after{border-bottom-color:#fff}.flatpickr-calendar.arrowBottom:after,.flatpickr-calendar.arrowBottom:before{top:100%}.flatpickr-calendar.arrowBottom:before{border-top-color:#e6e6e6}.flatpickr-calendar.arrowBottom:after{border-top-color:#fff}.flatpickr-calendar:focus{outline:0}.flatpickr-wrapper{display:inline-block;position:relative}.flatpickr-months{display:flex}.flatpickr-months .flatpickr-month{fill:rgba(0,0,0,.9);background:transparent;color:rgba(0,0,0,.9);flex:1;height:34px;line-height:1;overflow:hidden;position:relative;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.flatpickr-months .flatpickr-next-month,.flatpickr-months .flatpickr-prev-month{fill:rgba(0,0,0,.9);color:rgba(0,0,0,.9);cursor:pointer;height:34px;padding:10px;position:absolute;text-decoration:none;top:0;z-index:3}.flatpickr-months .flatpickr-next-month.flatpickr-disabled,.flatpickr-months .flatpickr-prev-month.flatpickr-disabled{display:none}.flatpickr-months .flatpickr-next-month i,.flatpickr-months .flatpickr-prev-month i{position:relative}.flatpickr-months .flatpickr-next-month.flatpickr-prev-month,.flatpickr-months .flatpickr-prev-month.flatpickr-prev-month{left:0}.flatpickr-months .flatpickr-next-month.flatpickr-next-month,.flatpickr-months .flatpickr-prev-month.flatpickr-next-month{right:0}.flatpickr-months .flatpickr-next-month:hover,.flatpickr-months .flatpickr-prev-month:hover{color:#959ea9}.flatpickr-months .flatpickr-next-month:hover svg,.flatpickr-months .flatpickr-prev-month:hover svg{fill:#f64747}.flatpickr-months .flatpickr-next-month svg,.flatpickr-months .flatpickr-prev-month svg{height:14px;width:14px}.flatpickr-months .flatpickr-next-month svg path,.flatpickr-months .flatpickr-prev-month svg path{fill:inherit;transition:fill .1s}.numInputWrapper{height:auto;position:relative}.numInputWrapper input,.numInputWrapper span{display:inline-block}.numInputWrapper input{width:100%}.numInputWrapper input::-ms-clear{display:none}.numInputWrapper input::-webkit-inner-spin-button,.numInputWrapper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.numInputWrapper span{border:1px solid rgba(57,57,57,.15);box-sizing:border-box;cursor:pointer;height:50%;line-height:50%;opacity:0;padding:0 4px 0 2px;position:absolute;right:0;width:14px}.numInputWrapper span:hover{background:rgba(0,0,0,.1)}.numInputWrapper span:active{background:rgba(0,0,0,.2)}.numInputWrapper span:after{content:"";display:block;position:absolute}.numInputWrapper span.arrowUp{border-bottom:0;top:0}.numInputWrapper span.arrowUp:after{border-bottom:4px solid rgba(57,57,57,.6);border-left:4px solid transparent;border-right:4px solid transparent;top:26%}.numInputWrapper span.arrowDown{top:50%}.numInputWrapper span.arrowDown:after{border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid rgba(57,57,57,.6);top:40%}.numInputWrapper span svg{height:auto;width:inherit}.numInputWrapper span svg path{fill:rgba(0,0,0,.5)}.numInputWrapper:hover{background:rgba(0,0,0,.05)}.numInputWrapper:hover span{opacity:1}.flatpickr-current-month{color:inherit;display:inline-block;font-size:135%;font-weight:300;height:34px;left:12.5%;line-height:inherit;line-height:1;padding:7.48px 0 0;position:absolute;text-align:center;transform:translateZ(0);width:75%}.flatpickr-current-month span.cur-month{color:inherit;display:inline-block;font-family:inherit;font-weight:700;margin-left:.5ch;padding:0}.flatpickr-current-month span.cur-month:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .numInputWrapper{display:inline-block;width:6ch;width:7ch\\0}.flatpickr-current-month .numInputWrapper span.arrowUp:after{border-bottom-color:rgba(0,0,0,.9)}.flatpickr-current-month .numInputWrapper span.arrowDown:after{border-top-color:rgba(0,0,0,.9)}.flatpickr-current-month input.cur-year{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:0;box-sizing:border-box;color:inherit;cursor:text;display:inline-block;font-family:inherit;font-size:inherit;font-weight:300;height:auto;line-height:inherit;margin:0;padding:0 0 0 .5ch;vertical-align:initial}.flatpickr-current-month input.cur-year:focus{outline:0}.flatpickr-current-month input.cur-year[disabled],.flatpickr-current-month input.cur-year[disabled]:hover{background:transparent;color:rgba(0,0,0,.5);font-size:100%;pointer-events:none}.flatpickr-current-month .flatpickr-monthDropdown-months{appearance:menulist;-webkit-appearance:menulist;-moz-appearance:menulist;background:transparent;border:none;border-radius:0;box-sizing:border-box;-webkit-box-sizing:border-box;color:inherit;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:300;height:auto;line-height:inherit;margin:-1px 0 0;outline:none;padding:0 0 0 .5ch;position:relative;vertical-align:initial;width:auto}.flatpickr-current-month .flatpickr-monthDropdown-months:active,.flatpickr-current-month .flatpickr-monthDropdown-months:focus{outline:none}.flatpickr-current-month .flatpickr-monthDropdown-months:hover{background:rgba(0,0,0,.05)}.flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month{background-color:transparent;outline:none;padding:0}.flatpickr-weekdays{align-items:center;background:transparent;display:flex;height:28px;overflow:hidden;text-align:center;width:100%}.flatpickr-weekdays .flatpickr-weekdaycontainer{display:flex;flex:1}span.flatpickr-weekday{background:transparent;color:rgba(0,0,0,.54);cursor:default;display:block;flex:1;font-size:90%;font-weight:bolder;line-height:1;margin:0;text-align:center}.dayContainer,.flatpickr-weeks{padding:1px 0 0}.flatpickr-days{align-items:flex-start;display:flex;overflow:hidden;position:relative;width:307.875px}.flatpickr-days:focus{outline:0}.dayContainer{box-sizing:border-box;display:inline-block;display:flex;flex-wrap:wrap;-ms-flex-wrap:wrap;justify-content:space-around;max-width:307.875px;min-width:307.875px;opacity:1;outline:0;padding:0;text-align:left;transform:translateZ(0);width:307.875px}.dayContainer+.dayContainer{box-shadow:-1px 0 0 #e6e6e6}.flatpickr-day{background:none;border:1px solid transparent;border-radius:150px;box-sizing:border-box;color:#393939;cursor:pointer;display:inline-block;flex-basis:14.2857143%;font-weight:400;height:39px;justify-content:center;line-height:39px;margin:0;max-width:39px;position:relative;text-align:center;width:14.2857143%}.flatpickr-day.inRange,.flatpickr-day.nextMonthDay.inRange,.flatpickr-day.nextMonthDay.today.inRange,.flatpickr-day.nextMonthDay:focus,.flatpickr-day.nextMonthDay:hover,.flatpickr-day.prevMonthDay.inRange,.flatpickr-day.prevMonthDay.today.inRange,.flatpickr-day.prevMonthDay:focus,.flatpickr-day.prevMonthDay:hover,.flatpickr-day.today.inRange,.flatpickr-day:focus,.flatpickr-day:hover{background:#e6e6e6;border-color:#e6e6e6;cursor:pointer;outline:0}.flatpickr-day.today{border-color:#959ea9}.flatpickr-day.today:focus,.flatpickr-day.today:hover{background:#959ea9;border-color:#959ea9;color:#fff}.flatpickr-day.endRange,.flatpickr-day.endRange.inRange,.flatpickr-day.endRange.nextMonthDay,.flatpickr-day.endRange.prevMonthDay,.flatpickr-day.endRange:focus,.flatpickr-day.endRange:hover,.flatpickr-day.selected,.flatpickr-day.selected.inRange,.flatpickr-day.selected.nextMonthDay,.flatpickr-day.selected.prevMonthDay,.flatpickr-day.selected:focus,.flatpickr-day.selected:hover,.flatpickr-day.startRange,.flatpickr-day.startRange.inRange,.flatpickr-day.startRange.nextMonthDay,.flatpickr-day.startRange.prevMonthDay,.flatpickr-day.startRange:focus,.flatpickr-day.startRange:hover{background:#569ff7;border-color:#569ff7;box-shadow:none;color:#fff}.flatpickr-day.endRange.startRange,.flatpickr-day.selected.startRange,.flatpickr-day.startRange.startRange{border-radius:50px 0 0 50px}.flatpickr-day.endRange.endRange,.flatpickr-day.selected.endRange,.flatpickr-day.startRange.endRange{border-radius:0 50px 50px 0}.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)){box-shadow:-10px 0 0 #569ff7}.flatpickr-day.endRange.startRange.endRange,.flatpickr-day.selected.startRange.endRange,.flatpickr-day.startRange.startRange.endRange{border-radius:50px}.flatpickr-day.inRange{border-radius:0;box-shadow:-5px 0 0 #e6e6e6,5px 0 0 #e6e6e6}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover,.flatpickr-day.nextMonthDay,.flatpickr-day.notAllowed,.flatpickr-day.notAllowed.nextMonthDay,.flatpickr-day.notAllowed.prevMonthDay,.flatpickr-day.prevMonthDay{background:transparent;border-color:transparent;color:rgba(57,57,57,.3);cursor:default}.flatpickr-day.flatpickr-disabled,.flatpickr-day.flatpickr-disabled:hover{color:rgba(57,57,57,.1);cursor:not-allowed}.flatpickr-day.week.selected{border-radius:0;box-shadow:-5px 0 0 #569ff7,5px 0 0 #569ff7}.flatpickr-day.hidden{visibility:hidden}.rangeMode .flatpickr-day{margin-top:1px}.flatpickr-weekwrapper{float:left}.flatpickr-weekwrapper .flatpickr-weeks{box-shadow:1px 0 0 #e6e6e6;padding:0 12px}.flatpickr-weekwrapper .flatpickr-weekday{float:none;line-height:28px;width:100%}.flatpickr-weekwrapper span.flatpickr-day,.flatpickr-weekwrapper span.flatpickr-day:hover{background:transparent;border:none;color:rgba(57,57,57,.3);cursor:default;display:block;max-width:none;width:100%}.flatpickr-innerContainer{box-sizing:border-box;display:block;display:flex;overflow:hidden}.flatpickr-rContainer{box-sizing:border-box;display:inline-block;padding:0}.flatpickr-time{box-sizing:border-box;display:block;display:flex;height:0;line-height:40px;max-height:40px;outline:0;overflow:hidden;text-align:center}.flatpickr-time:after{clear:both;content:"";display:table}.flatpickr-time .numInputWrapper{flex:1;float:left;height:40px;width:40%}.flatpickr-time .numInputWrapper span.arrowUp:after{border-bottom-color:#393939}.flatpickr-time .numInputWrapper span.arrowDown:after{border-top-color:#393939}.flatpickr-time.hasSeconds .numInputWrapper{width:26%}.flatpickr-time.time24hr .numInputWrapper{width:49%}.flatpickr-time input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield;background:transparent;border:0;border-radius:0;box-shadow:none;box-sizing:border-box;color:#393939;font-size:14px;height:inherit;line-height:inherit;margin:0;padding:0;position:relative;text-align:center}.flatpickr-time input.flatpickr-hour{font-weight:700}.flatpickr-time input.flatpickr-minute,.flatpickr-time input.flatpickr-second{font-weight:400}.flatpickr-time input:focus{border:0;outline:0}.flatpickr-time .flatpickr-am-pm,.flatpickr-time .flatpickr-time-separator{align-self:center;color:#393939;float:left;font-weight:700;height:inherit;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:2%}.flatpickr-time .flatpickr-am-pm{cursor:pointer;font-weight:400;outline:0;text-align:center;width:18%}.flatpickr-time .flatpickr-am-pm:focus,.flatpickr-time .flatpickr-am-pm:hover,.flatpickr-time input:focus,.flatpickr-time input:hover{background:#eee}.flatpickr-input[readonly]{cursor:pointer}@keyframes fpFadeInDown{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}',""]);const o=r},4096:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".review-wrapper[data-v-6b47f8c3]{align-content:center;background:#f0f8f7;border-radius:24px;box-shadow:0 4px 4px 0 rgba(0,0,0,.25);display:flex;justify-content:center;margin-top:15px;min-height:280px;position:relative;width:420px}@media (max-width:700px){.review-wrapper[data-v-6b47f8c3]{margin-left:10px;margin-right:10px;max-width:100%}}.review-wrapper .marks[data-v-6b47f8c3]{margin:10px;padding:5px;position:absolute;right:0}.full-review[data-v-6b47f8c3],.full-reviews[data-v-6b47f8c3]{max-width:100%}.full-reviews[data-v-6b47f8c3]{align-items:flex-start;display:flex;flex-wrap:wrap;gap:100px;justify-content:center;opacity:1;transform:translateX(0);transition:transform .5s ease,opacity .5s ease}.slide-left[data-v-6b47f8c3]{opacity:0;transform:translateX(-10%)}.slide-normal[data-v-6b47f8c3]{opacity:1;transform:translateX(0)}.slide-right[data-v-6b47f8c3]{opacity:0;transform:translateX(10%)}svg[data-v-6b47f8c3]{position:absolute}.review-container[data-v-6b47f8c3]{display:flex;flex-direction:column;height:100%;padding:20px;position:relative;width:100%}.star-rating[data-v-6b47f8c3]{font-size:24px;margin-bottom:20px;position:relative;text-align:center}.star-rating .stars[data-v-6b47f8c3]{background:#088673;border-radius:9px;display:inline-block;padding:3px 15px;position:relative}.star-rating .stars svg[data-v-6b47f8c3]{left:80%;position:absolute;transform:translateX(-80%)}.star-rating .stars svg[data-v-6b47f8c3]:first-of-type{top:90%}.star-rating .stars svg[data-v-6b47f8c3]:nth-of-type(2){left:83%;top:calc(100% + 20px);transform:translateX(-80%)}.star-rating .stars span[data-v-6b47f8c3]{color:#fff}.review-content[data-v-6b47f8c3]{display:flex;flex:1;flex-direction:column;padding:13px}.review-container .text-container[data-v-6b47f8c3]{display:flex;flex:1;flex-direction:column;justify-content:center;text-align:left}.review-content .review-text[data-v-6b47f8c3]{color:#333;font-size:16px;margin-top:20px;position:relative;text-align:left}.reviewer[data-v-6b47f8c3]{margin-top:50px;padding:10px 0}.reviewer[data-v-6b47f8c3],.reviewer-icon[data-v-6b47f8c3]{align-items:center;display:flex}.reviewer-icon[data-v-6b47f8c3]{background-color:#088673;border-radius:50%;color:#fff;font-size:20px;height:70px;justify-content:center;margin-right:10px;width:70px}.reviewer-icon svg[data-v-6b47f8c3]:first-of-type{margin-top:-10px;position:absolute;z-index:1}.reviewer hr[data-v-6b47f8c3]{border:1px solid #088673;margin-bottom:10px;width:240px}.reviewer-name[data-v-6b47f8c3]{color:#088673;font-size:20px;margin-left:10px;text-align:left}.reviewer-name .nameFrom[data-v-6b47f8c3]{color:#999;font-size:14px}.reviewer-name .nameTrustpilot[data-v-6b47f8c3]{background:#088673;border-radius:4px;margin:0;padding:5px}.review-date[data-v-6b47f8c3]{color:#999;display:block;font-size:12px}.arrow-left[data-v-6b47f8c3]{margin-right:50px;transform:rotate(-45deg)}.arrow-left-mobile[data-v-6b47f8c3]{display:none;transform:rotate(-45deg)}.arrow-right[data-v-6b47f8c3]{margin-left:50px;transform:rotate(135deg)}.arrow-right-mobile[data-v-6b47f8c3]{display:none;transform:rotate(135deg)}@media (min-width:1000px){.arrow-left-mobile[data-v-6b47f8c3],.arrow-right-mobile[data-v-6b47f8c3]{display:none}}@media (max-width:1000px){.arrow-right[data-v-6b47f8c3]{right:4%;transform:translate(-50%,-4%)}.arrow-right-mobile[data-v-6b47f8c3]{display:block}.arrow-left[data-v-6b47f8c3]{left:7%;transform:translate(-50%,-7%);z-index:1000}.arrow-left-mobile[data-v-6b47f8c3]{display:block;z-index:1000}}.arrow-left[data-v-6b47f8c3],.arrow-left-mobile[data-v-6b47f8c3],.arrow-right[data-v-6b47f8c3],.arrow-right-mobile[data-v-6b47f8c3]{border-left:2px solid #088673;border-top:2px solid #088673;cursor:pointer;height:30px;width:30px;z-index:1000}.arrow-container[data-v-6b47f8c3]{cursor:pointer;padding:30px;position:absolute;z-index:1500}.arrow-container.right-mobile[data-v-6b47f8c3]{right:2%;top:-5%;transform:translate(-5%,-2%)}.arrow-container.left-mobile[data-v-6b47f8c3]{left:2%;top:-5%;transform:translate(-5%,-2%)}.arrow-container.left[data-v-6b47f8c3]{left:12%;top:50%;transform:translateY(-50%)}.arrow-container.right[data-v-6b47f8c3]{left:85%;top:50%;transform:translate(-50%,-85%)}@media (max-width:1300px){.arrow-left[data-v-6b47f8c3],.arrow-right[data-v-6b47f8c3]{display:none}.arrow-left-mobile[data-v-6b47f8c3],.arrow-right-mobile[data-v-6b47f8c3]{display:block}}@media (max-width:1000px){.reviewer-icon[data-v-6b47f8c3],.reviewer-icon svg[data-v-6b47f8c3]:first-of-type{height:30px;width:30px}.reviewer-icon svg[data-v-6b47f8c3]:nth-of-type(2){height:50px;width:50px}.reviewer-name[data-v-6b47f8c3]{margin-left:30px}.reviewer hr[data-v-6b47f8c3]{width:170px}}",""]);const o=r},9535:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".direction-info{align-items:center;border:1px solid #d2d2d7;color:var(--main-color-gray);min-height:unset}",""]);const o=r},99:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".homepageProduct[data-v-de21260a]{background:#f0f8f7!important;border:1px solid #d2d2d7!important;border-radius:10px;color:#000!important}.homepageProduct[data-v-de21260a]:hover{background-color:var(--main-color)!important;border:1px solid var(--main-color)}",""]);const o=r},6344:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,"input.datepicker-input[data-v-748adf08]{border:none;caret-color:#161c2d;height:100%;min-width:100px;width:100%}.datepicker-overlay .datepicker-input[data-v-748adf08]{word-wrap:normal}",""]);const o=r},1312:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".order-not-payed-row[data-v-00322e7c]{position:relative}.order-not-payed-row .loader-container[data-v-00322e7c]{background-color:hsla(0,0%,100%,.4);bottom:0;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:99999}.order-not-payed-row .loader-container #status[data-v-00322e7c]{position:fixed!important}.trustpilot-img[data-v-00322e7c]{height:auto;width:12rem}.trustpilot-btn-overlay[data-v-00322e7c]{align-items:center;display:flex;justify-content:center}.loader-container[data-v-00322e7c]{height:100px;position:relative}#preloader[data-v-00322e7c]{background:transparent;position:absolute}#preloader .always-show[data-v-00322e7c],#preloader.always-show[data-v-00322e7c]{display:block!important}",""]);const o=r},1648:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".loader-container>#preloader{background-color:hsla(0,0%,100%,.5)!important;background-image:unset}",""]);const o=r},1016:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".platformPayment[data-v-ca2cfd7a]{min-height:58px}",""]);const o=r},9087:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var i=n(6798),r=n.n(i)()((function(t){return t[1]}));r.push([t.id,".pf[data-v-26b4d8e4]{font-size:35px}input[type=radio][data-v-26b4d8e4]{transform:scale(1.2)}",""]);const o=r},6798:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=t(e);return e[2]?"@media ".concat(e[2]," {").concat(n,"}"):n})).join("")},e.i=function(t,n,i){"string"==typeof t&&(t=[[null,t,""]]);var r={};if(i)for(var o=0;o<this.length;o++){var a=this[o][0];null!=a&&(r[a]=!0)}for(var s=0;s<t.length;s++){var c=[].concat(t[s]);i&&r[c[0]]||(n&&(c[2]?c[2]="".concat(n," and ").concat(c[2]):c[2]=n),e.push(c))}},e}},1873:(t,e,n)=>{var i=n(9325).Symbol;t.exports=i},2552:(t,e,n)=>{var i=n(1873),r=n(659),o=n(9350),a=i?i.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?r(t):o(t)}},4128:(t,e,n)=>{var i=n(1800),r=/^\s+/;t.exports=function(t){return t?t.slice(0,i(t)+1).replace(r,""):t}},4840:(t,e,n)=>{var i="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=i},659:(t,e,n)=>{var i=n(1873),r=Object.prototype,o=r.hasOwnProperty,a=r.toString,s=i?i.toStringTag:void 0;t.exports=function(t){var e=o.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var r=a.call(t);return i&&(e?t[s]=n:delete t[s]),r}},9350:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},9325:(t,e,n)=>{var i=n(4840),r="object"==typeof self&&self&&self.Object===Object&&self,o=i||r||Function("return this")();t.exports=o},1800:t=>{var e=/\s/;t.exports=function(t){for(var n=t.length;n--&&e.test(t.charAt(n)););return n}},8221:(t,e,n)=>{var i=n(3805),r=n(124),o=n(6993),a=Math.max,s=Math.min;t.exports=function(t,e,n){var c,l,d,u,p,f,h=0,m=!1,v=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function y(e){var n=c,i=l;return c=l=void 0,h=e,u=t.apply(i,n)}function b(t){var n=t-f;return void 0===f||n>=e||n<0||v&&t-h>=d}function _(){var t=r();if(b(t))return w(t);p=setTimeout(_,function(t){var n=e-(t-f);return v?s(n,d-(t-h)):n}(t))}function w(t){return p=void 0,g&&c?y(t):(c=l=void 0,u)}function C(){var t=r(),n=b(t);if(c=arguments,l=this,f=t,n){if(void 0===p)return function(t){return h=t,p=setTimeout(_,e),m?y(t):u}(f);if(v)return clearTimeout(p),p=setTimeout(_,e),y(f)}return void 0===p&&(p=setTimeout(_,e)),u}return e=o(e)||0,i(n)&&(m=!!n.leading,d=(v="maxWait"in n)?a(o(n.maxWait)||0,e):d,g="trailing"in n?!!n.trailing:g),C.cancel=function(){void 0!==p&&clearTimeout(p),h=0,c=f=l=p=void 0},C.flush=function(){return void 0===p?u:w(r())},C}},3805:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},346:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},4394:(t,e,n)=>{var i=n(2552),r=n(346);t.exports=function(t){return"symbol"==typeof t||r(t)&&"[object Symbol]"==i(t)}},124:(t,e,n)=>{var i=n(9325);t.exports=function(){return i.Date.now()}},6993:(t,e,n)=>{var i=n(4128),r=n(3805),o=n(4394),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,l=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=i(t);var n=s.test(t);return n||c.test(t)?l(t.slice(2),n?2:8):a.test(t)?NaN:+t}},7604:(t,e,n)=>{var i;!function(){"use strict";var r={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function o(t){return function(t,e){var n,i,a,s,c,l,d,u,p,f=1,h=t.length,m="";for(i=0;i<h;i++)if("string"==typeof t[i])m+=t[i];else if("object"==typeof t[i]){if((s=t[i]).keys)for(n=e[f],a=0;a<s.keys.length;a++){if(null==n)throw new Error(o('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[a],s.keys[a-1]));n=n[s.keys[a]]}else n=s.param_no?e[s.param_no]:e[f++];if(r.not_type.test(s.type)&&r.not_primitive.test(s.type)&&n instanceof Function&&(n=n()),r.numeric_arg.test(s.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(o("[sprintf] expecting number but found %T",n));switch(r.number.test(s.type)&&(u=n>=0),s.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,s.width?parseInt(s.width):0);break;case"e":n=s.precision?parseFloat(n).toExponential(s.precision):parseFloat(n).toExponential();break;case"f":n=s.precision?parseFloat(n).toFixed(s.precision):parseFloat(n);break;case"g":n=s.precision?String(Number(n.toPrecision(s.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=s.precision?n.substring(0,s.precision):n;break;case"t":n=String(!!n),n=s.precision?n.substring(0,s.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=s.precision?n.substring(0,s.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=s.precision?n.substring(0,s.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}r.json.test(s.type)?m+=n:(!r.number.test(s.type)||u&&!s.sign?p="":(p=u?"+":"-",n=n.toString().replace(r.sign,"")),l=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",d=s.width-(p+n).length,c=s.width&&d>0?l.repeat(d):"",m+=s.align?p+n+c:"0"===l?p+c+n:c+p+n)}return m}(function(t){if(s[t])return s[t];var e,n=t,i=[],o=0;for(;n;){if(null!==(e=r.text.exec(n)))i.push(e[0]);else if(null!==(e=r.modulo.exec(n)))i.push("%");else{if(null===(e=r.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){o|=1;var a=[],c=e[2],l=[];if(null===(l=r.key.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(l[1]);""!==(c=c.substring(l[0].length));)if(null!==(l=r.key_access.exec(c)))a.push(l[1]);else{if(null===(l=r.index_access.exec(c)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(l[1])}e[2]=a}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");i.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}n=n.substring(e[0].length)}return s[t]=i}(t),arguments)}function a(t,e){return o.apply(null,[t].concat(e||[]))}var s=Object.create(null);e.sprintf=o,e.vsprintf=a,"undefined"!=typeof window&&(window.sprintf=o,window.vsprintf=a,void 0===(i=function(){return{sprintf:o,vsprintf:a}}.call(e,n,e,t))||(t.exports=i))}()},5072:(t,e,n)=>{"use strict";var i,r=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},o=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),a=[];function s(t){for(var e=-1,n=0;n<a.length;n++)if(a[n].identifier===t){e=n;break}return e}function c(t,e){for(var n={},i=[],r=0;r<t.length;r++){var o=t[r],c=e.base?o[0]+e.base:o[0],l=n[c]||0,d="".concat(c," ").concat(l);n[c]=l+1;var u=s(d),p={css:o[1],media:o[2],sourceMap:o[3]};-1!==u?(a[u].references++,a[u].updater(p)):a.push({identifier:d,updater:v(p,e),references:1}),i.push(d)}return i}function l(t){var e=document.createElement("style"),i=t.attributes||{};if(void 0===i.nonce){var r=n.nc;r&&(i.nonce=r)}if(Object.keys(i).forEach((function(t){e.setAttribute(t,i[t])})),"function"==typeof t.insert)t.insert(e);else{var a=o(t.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(e)}return e}var d,u=(d=[],function(t,e){return d[t]=e,d.filter(Boolean).join("\n")});function p(t,e,n,i){var r=n?"":i.media?"@media ".concat(i.media," {").concat(i.css,"}"):i.css;if(t.styleSheet)t.styleSheet.cssText=u(e,r);else{var o=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(o,a[e]):t.appendChild(o)}}function f(t,e,n){var i=n.css,r=n.media,o=n.sourceMap;if(r?t.setAttribute("media",r):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var h=null,m=0;function v(t,e){var n,i,r;if(e.singleton){var o=m++;n=h||(h=l(e)),i=p.bind(null,n,o,!1),r=p.bind(null,n,o,!0)}else n=l(e),i=f.bind(null,n,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).singleton||"boolean"==typeof e.singleton||(e.singleton=r());var n=c(t=t||[],e);return function(t){if(t=t||[],"[object Array]"===Object.prototype.toString.call(t)){for(var i=0;i<n.length;i++){var r=s(n[i]);a[r].references--}for(var o=c(t,e),l=0;l<n.length;l++){var d=s(n[l]);0===a[d].references&&(a[d].updater(),a.splice(d,1))}n=o}}}},164:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});const i={name:"customer-reviews",props:{trustpilotLogo:{type:String,required:!0},appName:{type:String,required:!0},autoSlideTimer:{type:Number,default:3e4},items:{type:Array,required:!0,default:function(){return[]}}},data:function(){return{currentIndex:0,touchStartX:0,touchEndX:0,autoSlideInterval:null}},computed:{currentReviews:function(){if(this.items.length>0){if(window.innerWidth<1e3)return[this.items[this.currentIndex%this.items.length]];var t=(this.currentIndex+1)%this.items.length;return[this.items[this.currentIndex%this.items.length],this.items[t]]}return[]}},mounted:function(){this.setAutoSlide()},beforeDestroy:function(){clearInterval(this.autoSlideInterval)},methods:{generateStarRating:function(t){return"★".repeat(t)+"☆".repeat(5-t)},formatDate:function(t){var e=new Date(t),n=String(e.getDate()).padStart(2,"0"),i=String(e.getMonth()+1).padStart(2,"0"),r=e.getFullYear();return"".concat(n,".").concat(i,".").concat(r)},updateIndex:function(t){this.currentIndex=this.currentIndex+t,this.currentIndex<=-1&&(this.currentIndex=this.items.length)},previousReview:function(){var t=this;setTimeout((function(){t.updateIndex(window.innerWidth<1e3?-1:-2)}),399),this.slideTransition("left")},nextReview:function(){var t=this;setTimeout((function(){t.updateIndex(window.innerWidth<1e3?1:2)}),399),this.slideTransition("right")},handleTouchStart:function(t){this.touchStartX=t.touches[0].clientX},handleTouchEnd:function(t){this.touchEndX=t.changedTouches[0].clientX,this.handleGesture()},handleGesture:function(){this.touchEndX<this.touchStartX?this.nextReview():this.touchEndX>this.touchStartX&&this.previousReview()},setAutoSlide:function(){var t=this;this.autoSlideInterval=setInterval((function(){t.nextReview()}),this.autoSlideTimer)},slideTransition:function(t){var e=this;"left"===t&&(this.$refs.reviewsContainer.classList.add("slide-left"),setTimeout((function(){e.$refs.reviewsContainer.classList.remove("slide-left"),e.$refs.reviewsContainer.classList.add("slide-normal")}),500),setTimeout((function(){e.$refs.reviewsContainer.classList.remove("slide-normal")}),1e3)),"right"===t&&(this.$refs.reviewsContainer.classList.add("slide-right"),setTimeout((function(){e.$refs.reviewsContainer.classList.add("slide-left")}),200),setTimeout((function(){e.$refs.reviewsContainer.classList.remove("slide-left"),e.$refs.reviewsContainer.classList.remove("slide-right"),e.$refs.reviewsContainer.classList.add("slide-normal")}),500),setTimeout((function(){e.$refs.reviewsContainer.classList.remove("slide-normal")}),1e3))}}};var r=n(5072),o=n.n(r),a=n(4096),s={insert:"head",singleton:!1};o()(a.A,s);a.A.locals;const c=(0,n(4486).A)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container",attrs:{itemscope:"",itemtype:"https://schema.org/Review"},on:{touchstart:t.handleTouchStart,touchend:t.handleTouchEnd}},[e("div",{staticClass:"arrow-container left",on:{click:t.previousReview}},[e("div",{staticClass:"arrow-left"})]),t._v(" "),t.currentReviews.length?e("div",{ref:"reviewsContainer",staticClass:"full-reviews"},t._l(t.currentReviews,(function(n){return e("div",{key:n.id,staticClass:"full-review",attrs:{itemscope:"",itemtype:"https://schema.org/Review"}},[e("meta",{attrs:{itemprop:"name",content:t.appName}}),t._v(" "),e("div",{attrs:{itemprop:"author",itemscope:"",itemtype:"https://schema.org/Person"}},[e("span",{staticClass:"d-none",attrs:{itemprop:"name"}},[t._v(t._s(n.name))])]),t._v(" "),e("section",{attrs:{itemprop:"reviewRating",itemscope:"",itemtype:"https://schema.org/Rating"}},[e("div",{staticClass:"arrow-container left-mobile",on:{click:t.previousReview}},[e("div",{staticClass:"arrow-left-mobile"})]),t._v(" "),e("div",{staticClass:"star-rating"},[e("div",{staticClass:"stars"},[e("span",{attrs:{content:n.stars,itemprop:"ratingValue"}},[t._v(t._s(t.generateStarRating(n.stars)))]),t._v(" "),e("svg",{attrs:{width:"27",height:"21",viewBox:"0 0 27 21",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M13.5 21L0.942631 0.75L26.0574 0.75L13.5 21Z",fill:"#088673"}})]),t._v(" "),e("svg",{attrs:{width:"42",height:"5",viewBox:"0 0 42 5",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("ellipse",{attrs:{cx:"21",cy:"2.5",rx:"21",ry:"2.5",fill:"#088673","fill-opacity":"0.4"}})])])]),t._v(" "),e("div",{staticClass:"arrow-container right-mobile",on:{click:t.nextReview}},[e("div",{staticClass:"arrow-right-mobile"})]),t._v(" "),e("div",{staticClass:"row justify-content-center"},[e("div",{staticClass:"review-wrapper"},[e("svg",{staticClass:"marks",attrs:{width:"45",height:"41",viewBox:"0 0 45 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("rect",{attrs:{x:"0.698425",width:"43.6032",height:"41",rx:"11",fill:"#088673"}}),t._v(" "),e("rect",{attrs:{x:"10.4603",y:"19.8492",width:"11.2486",height:"11.9328",rx:"3",fill:"#F0F8F7"}}),t._v(" "),e("path",{attrs:{d:"M13.3699 9.10701L13.4846 9.2103C17.1351 12.4981 19.8624 16.7802 21.3781 21.604V21.604",stroke:"#F0F8F7"}}),t._v(" "),e("path",{attrs:{d:"M13.403 9.16328L14.9778 11.6374C16.3705 13.8255 17.4563 16.2138 18.2037 18.733L18.6965 20.3942",stroke:"#F0F8F7"}}),t._v(" "),e("path",{attrs:{d:"M18.4005 14.5847L14.7612 10.7241L19.0622 20.5511H21.0472L18.4005 14.5847Z",fill:"#F0F8F7"}}),t._v(" "),e("rect",{attrs:{x:"23.0323",y:"19.6806",width:"11.2486",height:"11.9328",rx:"3",fill:"#F0F8F7"}}),t._v(" "),e("path",{attrs:{d:"M25.9419 8.93845L26.0565 9.04174C29.7071 12.3296 32.4344 16.6117 33.9501 21.4355V21.4355",stroke:"#F0F8F7"}}),t._v(" "),e("path",{attrs:{d:"M25.975 8.99472L27.5498 11.4688C28.9425 13.6569 30.0283 16.0453 30.7757 18.5645L31.2685 20.2256",stroke:"#F0F8F7"}}),t._v(" "),e("path",{attrs:{d:"M30.9726 14.4162L27.3333 10.5555L31.6342 20.3826H33.6193L30.9726 14.4162Z",fill:"#F0F8F7"}})]),t._v(" "),e("div",{staticClass:"review-container"},[e("div",{staticClass:"review-content"},[e("div",{staticClass:"text-container"},[e("div",{staticClass:"review-text"},[e("p",{attrs:{itemprop:"reviewBody"}},[t._v(t._s(n.text))])])]),t._v(" "),e("div",{staticClass:"reviewer"},[e("div",{staticClass:"reviewer-icon"},[e("svg",{attrs:{width:"43",height:"51",viewBox:"0 0 33 41",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("circle",{attrs:{cx:"16.5",cy:"16.5",r:"9.5",fill:"#F0F8F7"}}),t._v(" "),e("path",{attrs:{d:"M1.23098 32.3997C8.24758 19.4385 27.1085 20.2401 33 33.75H0.5L1.23098 32.3997Z",fill:"#F0F8F7"}}),t._v(" "),e("path",{attrs:{d:"M0 36C0 33.2386 2.23858 31 5 31H28C30.7614 31 33 33.2386 33 36C33 38.7614 30.7614 41 28 41H5C2.23858 41 0 38.7614 0 36Z",fill:"#F0F8F7"}})]),t._v(" "),e("svg",{attrs:{width:"71",height:"71",viewBox:"0 0 71 71",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("circle",{attrs:{cx:"35.5",cy:"35.5",r:"35.5",fill:"#088673"}}),t._v(" "),e("circle",{attrs:{cx:"63",cy:"59",r:"7.5",fill:"#088673",stroke:"#F0F8F7"}}),t._v(" "),e("line",{attrs:{x1:"59.6",y1:"59.2",x2:"63.6",y2:"62.2",stroke:"#F0F8F7","stroke-width":"2"}}),t._v(" "),e("line",{attrs:{x1:"62.2318",y1:"62.3598",x2:"67.2318",y2:"56.3598",stroke:"#F0F8F7","stroke-width":"2"}})])]),t._v(" "),e("div",{staticClass:"reviewer-name",attrs:{itemprop:"author",itemscope:"",itemtype:"https://schema.org/Person"}},[e("hr"),t._v(" "),e("span",[e("span",{attrs:{itemprop:"name"}},[t._v(t._s(n.name))]),t._v(" "),null!==n.trustpilot_link?e("span",[e("span",{staticClass:"nameFrom",domProps:{innerHTML:t._s(t.$t("frontend.customerReviews_from"))}}),t._v(" "),e("a",{attrs:{href:n.trustpilot_link,target:"_blank",rel:"nofollow"}},[e("img",{staticClass:"nameTrustpilot",attrs:{width:"80",src:t.trustpilotLogo}})])]):t._e()]),t._v(" "),e("span",{staticClass:"review-date"},[t._v(t._s(t.formatDate(n.created_at)))])])])])])])])])])})),0):t._e(),t._v(" "),e("div",{staticClass:"arrow-container right",on:{click:t.nextReview}},[e("div",{staticClass:"arrow-right"})])])}),[],!1,null,"6b47f8c3",null).exports},8652:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){var r;return r=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==i(r)?r:r+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{A:()=>y});const s={name:"ProductSelection",props:["system","vehicles","durations","products","datepickerConfig"],data:function(){return{selectedVehicle:[],selectedDuration:[],selectedDate:this.datepickerConfig.default,selectedDateRuntime:[],selectionDone:!1,datePickerPreset:this.$datePickerOptions}},methods:{preselectData:function(){var t,e,n=this;this.selectedVehicle=null!==(t=this.vehicles[0])&&void 0!==t?t:[],this.selectedDuration=null!==(e=this.durations[this.selectedVehicle.type][0])&&void 0!==e?e:[],this.$nextTick((function(){n.datePickerPreset.minDate=n.datepickerConfig.minDate,n.datePickerPreset.maxDate=n.datepickerConfig.maxDate,n.selectedDate=n.datepickerConfig.default;var t=n.selectedDate.split(".");n.$refs.validitySelection.setDate(new Date("".concat(t[2],".").concat(t[1],".").concat(t[0])))}))},getVehicleLabel:function(t){var e;if(!(t.length<=0))return(null!==(e=t.labels[this.$language])&&void 0!==e?e:t.label.en).replace(/<br>|<br \/>/g,"")},durationIsSelected:function(t){return this.selectedDuration.value===t.value&&this.selectedDuration.isMonth===t.isMonth},selectVehicle:function(t){this.selectedVehicle=t},selectDuration:function(t){this.selectedDuration=t},getRuntimesForSelectedDate:function(){var t,e=this,n=null===(t=this.products.find((function(t){return"VIGNETTE"===t.type&&t.options.find((function(t){return t.type===e.selectedVehicle.type}))&&t.duration.value===e.selectedDuration.value&&t.duration.isMonth===e.selectedDuration.isMonth})))||void 0===t?void 0:t.runtimes;this.selectedDateRuntime=n.find((function(t){var n=e.selectedDate.split(".");return t.from==="".concat(n[2],"-").concat(n[1],"-").concat(n[0])}))},getFormattedDate:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";if(t){var n=t.split(e);return"".concat(n[2],".").concat(n[1],".").concat(n[0])}},getDurationLang:function(t){var e="shopEuropamaut.",n=t.isMonth,i=t.value;return e+=n&&1===i?"kombivignetteDurationMonth":n&&i>1?"kombivignetteDurationMonths":1===i?"kombivignetteDurationDay":"kombivignetteDurationDays",this.$t(e)},toggleSelection:function(){var t=this;if(this.selectionDone=!this.selectionDone,!this.selectionDone){var e=this.selectedDate;setTimeout((function(){t.selectedDate=e;var n=e.split(".");t.$refs.validitySelection.setDate(new Date("".concat(n[2],".").concat(n[1],".").concat(n[0])))}),5)}},closeComponent:function(){this.$emit("close-component")}},watch:{selectedVehicle:function(){var t;this.selectedDuration=null!==(t=this.durations[this.selectedVehicle.type][0])&&void 0!==t?t:[]},selectedDuration:function(){this.getRuntimesForSelectedDate()}},mounted:function(){this.preselectData()}};var c=n(5072),l=n.n(c),d=n(3652),u={insert:"head",singleton:!1};l()(d.A,u);d.A.locals;var p=n(4486);const f={components:{ProductSelection:(0,p.A)(s,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"text-primary"},[e("div",{staticClass:"text-primary p-2"},[t.selectionDone?[e("div",{staticClass:"text-center confirmed-box-wrapper",on:{click:function(e){return e.preventDefault(),t.toggleSelection()}}},[e("ul",{staticClass:"confirmed-box"},[e("li",[t._v("Icon")]),t._v(" "),e("li",{staticClass:"bubble bubble-selected",domProps:{innerHTML:t._s(t.getVehicleLabel(this.selectedVehicle))}}),t._v(" "),e("li",{staticClass:"bubble bubble-selected duration-text"},[e("span",[t._v(t._s(t.selectedDuration.value))]),t._v(" "),e("small",[t._v(t._s(t.getDurationLang(t.selectedDuration)))])]),t._v(" "),e("li",{staticClass:"validity-info"},[e("span",[t._v("\n                            "+t._s(t.$t("shopEuropamaut.validTitle"))+"\n                        ")]),t._v(" "),e("small",[t._v("\n                            "+t._s(t.getFormattedDate(t.selectedDateRuntime.from))+"\n                            -\n                            "+t._s(t.getFormattedDate(t.selectedDateRuntime.until))+"\n                            23:59:59\n                        ")])]),t._v(" "),t._m(0),t._v(" "),e("li",{staticClass:"float-right"},[t._v("\n                        >\n                    ")])])])]:[t._m(1),t._v(" "),e("div",{staticClass:"row mt-2"},[e("div",{staticClass:"col-12"},[e("h5",[t._v(t._s(t.$t("shopEuropamaut.stepOne"))+" "),e("i",{staticClass:"mdi mdi-information-outline icon"})])])]),t._v(" "),e("div",{staticClass:"row mt-2"},[e("div",{staticClass:"col-12 bubble-wrapper"},t._l(t.vehicles,(function(n){return e("div",{key:n.id},[e("div",{staticClass:"bubble vehicle-bubble",class:t.selectedVehicle.id===n.id?"bubble-selected":"bubble-unselected",domProps:{innerHTML:t._s(t.getVehicleLabel(n))},on:{click:function(e){return e.preventDefault(),t.selectVehicle(n)}}})])})),0)]),t._v(" "),e("div",{staticClass:"row mt-2"},[e("div",{staticClass:"col-12"},[e("h5",[t._v(t._s(t.$t("shopEuropamaut.stepOne")))])])]),t._v(" "),e("div",{staticClass:"row mt-2"},[e("div",{staticClass:"col-12 bubble-wrapper"},t._l(t.durations[t.selectedVehicle.type],(function(n){return e("div",{key:n.value+"_"+(Math.random()+1).toString(36).substring(2)},[e("div",{staticClass:"bubble duration-bubble",class:t.durationIsSelected(n)?"bubble-selected":"bubble-unselected",on:{click:function(e){return e.preventDefault(),t.selectDuration(n)}}},[t._v("\n                            "+t._s(n.value)+"\n                            "),e("small",[t._v(t._s(t.getDurationLang(n)))])])])})),0)]),t._v(" "),e("div",{staticClass:"row mt-2"},[e("div",{staticClass:"col-12"},[e("h5",[t._v(t._s(t.$t("shopEuropamaut.stepThree")))])])]),t._v(" "),e("div",{staticClass:"row mt-2"},[e("div",{staticClass:"col-12"},[t._v("\n                    "+t._s(t.$t("shopEuropamaut.validTitle"))+"\n                ")]),t._v(" "),e("div",{staticClass:"col-12 datepicker-overlay"},[e("nova-datepicker",{ref:"validitySelection",staticClass:"datepicker",attrs:{name:"validity_selection",config:t.datePickerPreset,mobileIcon:!0},on:{"dp-change":function(e){return t.getRuntimesForSelectedDate()}},model:{value:t.selectedDate,callback:function(e){t.selectedDate=e},expression:"selectedDate"}})],1)]),t._v(" "),t.selectedDateRuntime?e("div",{staticClass:"row mt-2 text-center"},[e("div",{staticClass:"col-12 validity-info"},[t._v("\n                    "+t._s(t.$t("shopEuropamaut.validTitle"))+"\n                    "),e("span",[t._v(t._s(t.getFormattedDate(t.selectedDateRuntime.from)))]),t._v("\n                    -\n                    "),e("span",[t._v("\n                        "+t._s(t.getFormattedDate(t.selectedDateRuntime.until))+"\n                        23:59:59\n                    ")])])]):t._e(),t._v(" "),e("div",{staticClass:"row mt-3 text-center"},[e("div",{staticClass:"col-6"},[e("a",{staticClass:"btn btn-primary",on:{click:function(e){return e.preventDefault(),t.toggleSelection()}}},[t._v("\n                        "+t._s(t.$t("shopEuropamaut.confirmButton"))+"\n                    ")])]),t._v(" "),e("div",{staticClass:"col-6"},[e("a",{staticClass:"remove-product-btn",on:{click:function(e){return e.preventDefault(),t.closeComponent()}}},[t._v("\n                        "+t._s(t.$t("shopEuropamaut.deleteButton"))+"\n                    ")])])])]],2)])}),[function(){var t=this._self._c;return t("li",[t("i",{staticClass:"check-icon mdi mdi-check-circle-outline"})])},function(){var t=this._self._c;return t("div",{staticClass:"row"},[t("div",{staticClass:"col-12 text-center"},[this._v("\n                    Icon\n                ")])])}],!1,null,"24e7c0f6",null).exports},props:["activeSystems","licensePlates","products","datepickerConfig"],data:function(){return{durations:{},validity:{},datePickerOptions:this.$datePickerOptions,systemComponents:[]}},methods:{selectSystem:function(t){if(!(this.getSystemCount(t)>=3)){var e=this.getSystemProducts(t),n=this.getProductVehicleOptions(e),i={system:t,vehicles:n,durations:this.getVehicleDurations(e,n),products:this.products,datepickerConfig:this.datepickerConfig},r="product-selection-"+(Math.random()+1).toString(36).substring(2);this.systemComponents.push({name:"product-selection",props:i,id:r})}},unselectSystem:function(t){this.systemComponents.splice(this.systemComponents.findIndex((function(e){return e.props.system===t})),1)},getSystemProducts:function(t){return this.products.filter((function(e){return e.system.key===t&&"VIGNETTE"===e.type}))},getProductVehicleOptions:function(t){var e,n,i=-1/0;return t.forEach((function(t){var e=t.options.length;e>i&&(n=t,i=e)})),null!==(e=n.options)&&void 0!==e?e:[]},getVehicleDurations:function(t,e){var n={};return e.forEach((function(e){n[e.type]=[],t.forEach((function(t){t.options.filter((function(t){return t.type===e.type}))&&n[e.type].push(t.duration)})),n[e.type].sort((function(t,e){return(t=t.isMonth?Math.round(30*t.value):t.value)-(e=e.isMonth?Math.round(30*e.value):e.value)}))})),n},systemIsSelected:function(t){return this.systemComponents.find((function(e){return e.props.system===t}))},getSystemCount:function(t){return this.systemComponents.filter((function(e){return e.props.system===t})).length},closeComponent:function(t){this.systemComponents=this.systemComponents.filter((function(e){return e.id!==t}))}}},h=f;var m=n(2428),v={insert:"head",singleton:!1};l()(m.A,v);m.A.locals;var g=(0,p.A)(h,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"europamaut-order-form-container"},[e("form",{staticClass:"europamaut-order-form",attrs:{action:"",method:"post"}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("h4",{staticClass:"mt-0 mb-2 text-primary"},[t._v(t._s(t.$t("shopEuropamaut.flagSelectionTitle")))])]),t._v(" "),e("div",{staticClass:"col-12 flag-selection-wrapper text-center"},t._l(t.activeSystems,(function(n){return e("div",{key:n.systemKey,staticClass:"flag-selection"},[e("div",{staticClass:"text-center mb-2"},[e("span",{staticClass:"system-lang",domProps:{innerHTML:t._s(t.$t(n.lang))}})]),t._v(" "),e("a",{staticClass:"overlay-container",on:{click:function(e){return t.selectSystem(n.systemKey)}}},[e("div",{staticClass:"overlay-wrapper"},[e("img",{staticClass:"country-flag mx-3",class:{"country-flag-selected":t.systemIsSelected(n.systemKey)},attrs:{alt:n.systemKey,src:n.flag}}),t._v(" "),e("i",{staticClass:"mdi mdi-check-circle-outline",class:t.systemIsSelected(n.systemKey)?"icon-selected":"d-none"})])]),t._v(" "),t.systemIsSelected(n.systemKey)?e("div",{staticClass:"mt-1 text-center align-items-center icon-selection"},[e("a",{staticClass:"select-flag",on:{click:function(e){return t.unselectSystem(n.systemKey)}}},[e("i",{staticClass:"mdi mdi-minus-circle-outline icon"})]),t._v(" "),e("span",[t._v("\n                            "+t._s(t.getSystemCount(n.systemKey))+"\n                        ")]),t._v(" "),e("a",{staticClass:"select-flag",on:{click:function(e){return t.selectSystem(n.systemKey)}}},[e("i",{staticClass:"mdi mdi-plus-circle-outline icon"})])]):e("div",{staticClass:"mt-1 text-center icon-selction"},[e("a",{staticClass:"select-flag",on:{click:function(e){return t.selectSystem(n.systemKey)}}},[e("i",{staticClass:"mdi mdi-plus-circle-outline icon"})])])])})),0),t._v(" "),t._l(t.systemComponents,(function(n){return[e(n.name,t._b({key:n.id,ref:n.id,refInFor:!0,tag:"component",staticClass:"mt-3 col-12 product-selection-wrapper",on:{"close-component":function(e){return t.closeComponent(n.id)}}},"component",o({},n.props),!1))]}))],2)])])}),[],!1,null,"7d06473b",null);const y=g.exports},6016:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{A:()=>f});function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(){o=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function p(t,e,n,i){var r=e&&e.prototype instanceof b?e:b,o=Object.create(r.prototype),s=new D(i||[]);return a(o,"_invoke",{value:M(t,n,s)}),o}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",m="suspendedYield",v="executing",g="completed",y={};function b(){}function _(){}function w(){}var C={};u(C,c,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==n&&i.call(x,c)&&(C=x);var P=w.prototype=b.prototype=Object.create(C);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(o,a,s,c){var l=f(t[o],t,a);if("throw"!==l.type){var d=l.arg,u=d.value;return u&&"object"==r(u)&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(u).then((function(t){d.value=t,s(d)}),(function(t){return n("throw",t,s,c)}))}c(l.arg)}var o;a(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return o=o?o.then(r,r):r()}})}function M(e,n,i){var r=h;return function(o,a){if(r===v)throw Error("Generator is already running");if(r===g){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var c=$(s,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===h)throw r=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=v;var l=f(e,n,i);if("normal"===l.type){if(r=i.done?g:m,l.arg===y)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=g,i.method="throw",i.arg=l.arg)}}}function $(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,$(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),y;var o=f(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function E(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(r(e)+" is not iterable")}return _.prototype=w,a(P,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:_,configurable:!0}),_.displayName=u(w,d,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,u(t,d,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},S(T.prototype),u(T.prototype,l,(function(){return this})),e.AsyncIterator=T,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new T(p(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(P),u(P,d,"Generator"),u(P,c,(function(){return this})),u(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=E,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:E(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),y}},e}function a(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,r)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,c,"next",t)}function c(t){a(o,i,r,s,c,"throw",t)}s(void 0)}))}}const c={components:{LicensePlateInput:n(9867).A,LoadingAnimation:n(6072).A},props:{showDescription:{type:Boolean,required:!1,default:function(){return!1}},smallLicensePlate:{type:Boolean,required:!1,default:function(){return!1}},showLandingPageDescription:{type:Boolean,required:!1,default:function(){return!1}},showOrderButtons:{type:Boolean,required:!1,default:function(){return!0}},licensePlateCountries:{type:Array,required:!0,default:function(){return[{country_name:"",country_code:"",allows_multilicenseplate:!1,image:null,placeholder:"B-AB1234"}]}},routeTollUrls:{type:Object,required:!1,default:function(){var t={};return t[this.$language]="",t}},defaultLicensePlateCountry:{type:String,required:!1,default:function(){return""}},defaultLicensePlate:{type:String,required:!1,default:function(){return""}},hideRouteTollProducts:{type:Boolean,required:!1,default:function(){return!1}}},data:function(){return{licensePlateCountry:!1,licensePlate:{value:"",confirm:""},queue:{isLoading:!1,failed:!1,reason:null,id:0,results:null,checkInterval:-1,isValid:!1},changedInputs:{country_code:!1,license:!1,license_confirm:!1,special_license_plate_confirmed:!0},formErrors:{},debouncedValidation:null,hasTemplateForm:!1,licensePlateUpdated:!1}},watch:{defaultLicensePlate:function(){this.licensePlate.value=this.defaultLicensePlate,this.licensePlate.confirm=this.defaultLicensePlate,this.changedInputs.license=!0,this.changedInputs.license_confirm=!0,this.licensePlateUpdated=!0},defaultLicensePlateCountry:function(){this.licensePlateCountry=this.defaultLicensePlateCountry,this.changedInputs.country_code=!0},"licensePlate.value":function(){this.licensePlate.value&&(this.queue.results=null)}},computed:{selectedLicensePlateCountry:function(){var t=this,e=this.licensePlateCountries.filter((function(e){return e.country_code===t.licensePlateCountry}));return e.length?e[0]:null},licensePlateBackground:function(){var t=this.selectedLicensePlateCountry;return null!==t&&"string"==typeof t.image&&t.image.length?{"background-image":"url('/"+t.image+"')"}:null}},methods:{onSubmit:function(t){var e=this;t.preventDefault(),this.queue.isLoading||(this.queue.isLoading=!0,this.queue.reason=null,this.queue.failed=!1,this.validateInput().then((function(){e.queue.isValid?axios.post("/"+e.$language+"/evidence",new FormData(e.$refs.evidenceForm)).then((function(t){if(!t.data.success||"number"!=typeof t.data.id||isNaN(t.data.id))return"string"==typeof t.data.reason&&t.data.reason.length&&(e.queue.failed=!0,e.queue.reason=t.data.reason),void(e.queue.isLoading=!1);e.resetCheckingInterval(),e.queue.id=t.data.id,e.queue.checkInterval=setInterval((function(){e.checkJobStatus()}),3e3)})).catch((function(){e.queue.isLoading=!1})):e.queue.isLoading=!1})))},validateInput:function(){var t=this;return s(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",axios.post("/"+t.$language+"/backend/validate/evidence",new FormData(t.$refs.evidenceForm)).then((function(e){if(!e.data.valid){for(var n in e.data.errors)void 0!==t.changedInputs[n]&&t.changedInputs[n]||delete e.data.errors[n];return t.formErrors=e.data.errors,t.queue.isValid=!1,!1}return t.formErrors={},t.queue.isValid=!0,!0})).catch((function(){t.queue.isValid=!1})));case 1:case"end":return e.stop()}}),e)})))()},inputChange:function(t,e){var n=this;return s(o().mark((function i(){return o().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:void 0!==t&&(n.changedInputs[t]=!0),"boolean"==typeof e&&e&&n.debouncedValidation();case 2:case"end":return i.stop()}}),i)})))()},checkJobStatus:function(){var t=this;return axios.get("/"+this.$language+"/evidence/status/"+this.queue.id).then((function(e){e.data.completed&&(t.resetCheckingInterval(),t.queue.results=e.data.results,t.queue.failed=e.data.failed,t.queue.isLoading=!1)})).catch((function(){t.resetCheckingInterval(),t.queue.isLoading=!1}))},resetCheckingInterval:function(){return-1!==this.queue.checkInterval&&(clearInterval(this.queue.checkInterval),this.queue.checkInterval=-1),this},resultIcon:function(t){switch(t.type.vehicle){case"car":return"mdi mdi-car";case"motorbike":return"mdi mdi-motorbike";default:return"mdi mdi-ticket-confirmation"}},resultTitle:function(t){switch(t.type.product){case"vignette":return this.$t("evidence.vignette_"+t.type.vehicle,{license:this.licensePlate.value});case"routeToll":return"string"==typeof t.type.label&&t.type.label.length?t.type.label:"boolean"==typeof t.isFlexRouteToll&&t.isFlexRouteToll?this.$t("evidence.route_toll_flex"):this.$t("evidence.route_toll");default:return t.title}},isAlreadyValid:function(t){var e=new Date(t.from.value),n=new Date;return e.setHours(0,0,0,0),n.setHours(0,0,0,0),e<=n}},created:function(){var t=n(8221);this.debouncedValidation=t(this.validateInput,2e3)},mounted:function(){this.defaultLicensePlateCountry&&(this.licensePlateCountry=this.defaultLicensePlateCountry,this.changedInputs.country_code=!0),this.defaultLicensePlate&&(this.licensePlate.value=this.defaultLicensePlate,this.licensePlate.confirm=this.defaultLicensePlate,this.changedInputs.license=!0,this.changedInputs.license_confirm=!0)}};var l=n(5072),d=n.n(l),u=n(90),p={insert:"head",singleton:!1};d()(u.A,p);u.A.locals;const f=(0,n(4486).A)(c,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"position-relative evidence-checker-container"},[e("div",{staticClass:"row"},[t.showDescription?e("div",{class:t.smallLicensePlate?"col-lg-6 col-md-12":"col-md-12"},[e("p",{staticClass:"text-muted",domProps:{innerHTML:t._s(t.$t("evidence.description"))}})]):t._e(),t._v(" "),t.showLandingPageDescription?e("div",{class:t.smallLicensePlate?"col-lg-6 col-md-12":"col-md-12"},[e("p",{staticClass:"text-muted",domProps:{innerHTML:t._s(t.$t("evidence.landing_page_description"))}})]):t._e(),t._v(" "),e("form",{ref:"evidenceForm",staticClass:"form",class:{"contains-license-plate-template":t.hasTemplateForm,"col-lg-6 col-md-12":t.smallLicensePlate,"col-md-12":!t.smallLicensePlate},attrs:{method:"post",action:""},on:{submit:function(e){return t.onSubmit(e)}}},[e("div",{staticClass:"row"},[e("div",{staticClass:"mb-3 col-12 col-sm-12"},[e("label",{staticClass:"col-form-label",attrs:{for:"evidenceCountry"}},[t._v(t._s(t.$t("shop.licensing_state")))]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.licensePlateCountry,expression:"licensePlateCountry"}],staticClass:"form-control height-auto-override",class:{"is-invalid":t.formErrors.country_code},attrs:{id:"evidenceCountry",name:"country_code",required:""},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.licensePlateCountry=e.target.multiple?n:n[0]},function(e){return t.inputChange("country_code")}]}},[e("option",{attrs:{disabled:""},domProps:{value:!1}},[t._v("\n                            "+t._s(t.$t("shop.dropdown_required"))+"\n                        ")]),t._v(" "),t._l(t.licensePlateCountries,(function(n){return e("option",{key:n.country_code,domProps:{value:n.country_code}},[t._v("\n                            "+t._s(t.$t("country."+n.country_code))+"\n                        ")])}))],2),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.country_code,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)]),t._v(" "),null!==t.selectedLicensePlateCountry?e("div",{staticClass:"mb-3 col-12 col-sm-12"},[e("label",{staticClass:"col-form-label",attrs:{for:"licensePlate"}},[t._v(t._s(t.$t("shop.license_plate")))]),t._v(" "),e("license-plate-input",{attrs:{"license-plate-country":t.selectedLicensePlateCountry,template:t.selectedLicensePlateCountry.template,required:!0,"is-invalid":"object"===i(t.formErrors.license)&&t.formErrors.license.length>0,name:"license",id:"licensePlate",update:t.licensePlateUpdated,"special-license-plate-error":t.formErrors.special_license_plate_confirmed||null},on:{input:function(e){return t.inputChange("license")},"has-license-plate-template":function(e){t.hasTemplateForm=e},"model-updated":function(e){t.licensePlateUpdated=!1}},model:{value:t.licensePlate.value,callback:function(e){t.$set(t.licensePlate,"value",e)},expression:"licensePlate.value"}},t._l(t.formErrors.license,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)],1):t._e(),t._v(" "),e("div",{staticClass:"col-12 mt-1"},[e("button",{staticClass:"btn btn-primary btn-block",class:t.smallLicensePlate?"mt-1":"",attrs:{type:"submit",disabled:t.queue.isLoading}},[t._v("\n                        "+t._s(t.$t("evidence.submit"))+"\n                    ")])])])]),t._v(" "),t.queue.failed&&null!==t.queue.reason?e("div",{class:{"col-lg-6 col-md-12":t.smallLicensePlate,"col-md-12":!t.smallLicensePlate}},[e("div",{staticClass:"alert alert-warning mt-3"},[e("i",{staticClass:"mdi mdi-alert-circle"}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.queue.reason)}})])]):null===t.queue.results||t.queue.isLoading?t._e():e("div",{class:{"col-lg-6 col-md-12":t.smallLicensePlate,"col-md-12":!t.smallLicensePlate}},[e("div",{staticClass:"row"},[t.queue.failed||0!==t.queue.results.length?t.queue.failed?e("div",{staticClass:"col-12 mt-3"},[e("div",{staticClass:"alert alert-danger"},[e("i",{staticClass:"mdi mdi-alert-circle"}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("generic.failed"))}})])]):t._l(t.queue.results,(function(n){return e("div",{key:JSON.stringify(n),staticClass:"col-12 mt-3"},[e("div",{staticClass:"key-feature d-flex p-3 rounded bg-white shadow"},[e("div",{staticClass:"icon text-center rounded-pill mt-2 mr-3"},[e("i",{staticClass:"text-primary",class:t.resultIcon(n)})]),t._v(" "),e("div",{staticClass:"content mt-2"},[e("h4",{staticClass:"title mb-0"},[t._v("\n                                "+t._s(t.resultTitle(n))+"\n                            ")]),t._v(" "),"boolean"==typeof n.isFlexRouteToll&&n.isFlexRouteToll?e("span",[e("small",{staticClass:"designation text-muted",domProps:{innerHTML:t._s(t.$t("evidence.flexRouteTollValidity"))}})]):e("span",[t.isAlreadyValid(n)?e("small",{staticClass:"designation text-muted",domProps:{innerHTML:t._s(t.$t("evidence.already_valid",{until:n.until.formatted}))}}):e("small",{staticClass:"designation text-muted",domProps:{innerHTML:t._s(t.$t("evidence.validity_range",{from:n.from.formatted,until:n.until.formatted}))}})])])])])})):e("div",{staticClass:"col-12 mt-3"},[e("div",{staticClass:"alert alert-dark"},[e("i",{staticClass:"mdi mdi-alert-circle"}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("evidence.no_result"))}})])]),t._v(" "),e("div",{staticClass:"col-12 mt-3"},[e("a",{staticClass:"btn btn-primary d-block",attrs:{href:"/"+this.$language+"/shop"}},[e("i",{staticClass:"mdi mdi-chevron-right"}),t._v("\n                        "+t._s(t.$t("frontend.d_vignette_buy"))+"\n                    ")]),t._v(" "),"boolean"==typeof t.hideRouteTollProducts&&t.hideRouteTollProducts?t._e():e("a",{staticClass:"btn btn-outline-primary d-block mt-3",attrs:{href:"/"+this.$language+"/shop/"+t.routeTollUrls[this.$language]}},[e("i",{staticClass:"mdi mdi-chevron-right"}),t._v("\n                        "+t._s(t.$t("frontend.d_streckenmaut_buy"))+"\n                    ")])])],2)])]),t._v(" "),e("loading-animation",{attrs:{visible:t.queue.isLoading,"always-show":!1,"preloader-container-id":"","status-container-id":"","loading-text":t.$t("evidence.querying")}})],1)}),[],!1,null,null,null).exports},2450:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});const i={props:{rowClass:{type:String,required:!1,default:function(){return null}},withPriceLabel:{type:Boolean,required:!1,default:function(){return!1}},withTitle:{type:Boolean,required:!1,default:function(){return!1}},titleWithoutPrice:{type:Boolean,required:!1,default:function(){return!1}}}};var r=n(5072),o=n.n(r),a=n(4205),s={insert:"head",singleton:!1};o()(a.A,s);a.A.locals;const c=(0,n(4486).A)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"align-items-center bg-light rounded px-0 p-5 border-primary p-mobile-small icon-text-container"},[e("div",{staticClass:"row",class:t.rowClass},[e("div",{class:{"col-7 col-md-8 col-lg-2":t.withTitle,"col-md-2":!t.withTitle}},[t._t("icon")],2),t._v(" "),t.withTitle?e("div",{staticClass:"icon-text-container-title",class:{"col-5 col-md-4 col-lg-2":t.withPriceLabel||t.titleWithoutPrice,"col-md-4":!t.withPriceLabel&&!t.titleWithoutPrice}},[t._t("title")],2):t._e(),t._v(" "),e("div",{class:{"col-12 col-md-12 col-lg-7":t.withPriceLabel||t.withTitle,"col-md-10":!(t.withPriceLabel||t.withTitle)}},[t._t("default")],2),t._v(" "),t.withPriceLabel?e("div",{class:{"col-12 col-md-12 col-lg-1":t.withTitle,"col-md-4":!t.withTitle}},[t._t("price")],2):t._e()])])}),[],!1,null,null,null).exports},9867:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{A:()=>h});function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(){o=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function p(t,e,n,i){var r=e&&e.prototype instanceof b?e:b,o=Object.create(r.prototype),s=new D(i||[]);return a(o,"_invoke",{value:M(t,n,s)}),o}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",m="suspendedYield",v="executing",g="completed",y={};function b(){}function _(){}function w(){}var C={};u(C,c,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==n&&i.call(x,c)&&(C=x);var P=w.prototype=b.prototype=Object.create(C);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(o,a,s,c){var l=f(t[o],t,a);if("throw"!==l.type){var d=l.arg,u=d.value;return u&&"object"==r(u)&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(u).then((function(t){d.value=t,s(d)}),(function(t){return n("throw",t,s,c)}))}c(l.arg)}var o;a(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return o=o?o.then(r,r):r()}})}function M(e,n,i){var r=h;return function(o,a){if(r===v)throw Error("Generator is already running");if(r===g){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var c=$(s,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===h)throw r=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=v;var l=f(e,n,i);if("normal"===l.type){if(r=i.done?g:m,l.arg===y)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=g,i.method="throw",i.arg=l.arg)}}}function $(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,$(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),y;var o=f(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function E(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(r(e)+" is not iterable")}return _.prototype=w,a(P,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:_,configurable:!0}),_.displayName=u(w,d,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,u(t,d,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},S(T.prototype),u(T.prototype,l,(function(){return this})),e.AsyncIterator=T,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new T(p(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(P),u(P,d,"Generator"),u(P,c,(function(){return this})),u(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=E,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:E(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),y}},e}function a(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,r)}function s(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}const l={props:{required:{type:Boolean,required:!0},name:{type:String,required:!0},id:{type:String,required:!0},licensePlateCountry:{type:Object,required:!0},isInvalid:{type:Boolean,required:!0},hidePlaceholders:{type:Boolean,required:!1,default:function(){return!1}},value:{type:String,required:!1,default:function(){return""}},template:{type:Object,required:!1,default:function(){return{id:null,background:null,template:"%field_1%-%field_2%%field_3%",regex:"^([A-ZÖÜÄ]{1,3})-([A-ZÖÜÄ]{1,2})([0-9]{1,5})",padding_top:null,padding_left:null,field_1_width:null,field_1_margin_right:null,field_1_placeholder:null,field_1_maxlength:null,field_2_width:null,field_2_margin_right:null,field_2_placeholder:null,field_2_maxlength:null,field_3_width:null,field_3_margin_right:null,field_3_placeholder:null,field_3_maxlength:null}}},update:{type:Boolean,required:!1,default:function(){return!1}},disableValidation:{type:Boolean,required:!1,default:function(){return!1}},specialLicensePlateError:{type:Array,required:!1,default:function(){return null}},disabled:{type:Boolean,required:!1,default:function(){return!1}},nonStandardLicensePlate:{type:Boolean,required:!1,default:function(){return!1}}},data:function(){return{showSpecialCharactersInfo:!1,licensePlate:this.value,licensePlateContainerWidth:100,templateMatching:!0,templateInput:{field1:"",field2:"",field3:""},validationData:{disabled:this.disableValidation,isOngoing:!1,isValid:!1,showSpecialCheckbox:!1,isSpecial:!1,xhr:null},shouldHidePlaceholders:!1}},computed:{hasTemplate:function(){return null!==this.template&&null!==this.template.id&&this.templateMatching},hasThirdField:function(){return this.hasTemplate&&null!==this.template.field_3_width},licensePlateCustomBackground:function(){return null===this.licensePlateCountry?null:"boolean"==typeof this.licensePlateCountry.use_template_image&&this.licensePlateCountry.use_template_image&&this.hasTemplate&&"string"==typeof this.template.background&&this.template.background.trim().length>0?this.getPrefixForImageLink(this.template.background)+this.template.background:"string"==typeof this.licensePlateCountry.image&&this.licensePlateCountry.image.length?this.getPrefixForImageLink(this.licensePlateCountry.image)+this.licensePlateCountry.image:null},licensePlateBackground:function(){if(null===this.licensePlateCountry||"string"!=typeof this.licensePlateCountry.image||!this.licensePlateCountry.image.length)return null;var t=this.getPrefixForImageLink(this.licensePlateCountry.image),e={"background-image":"url('".concat(t).concat(this.licensePlateCountry.image,"')")};return-1!==this.licensePlateCountry.image.indexOf("/generic/")&&(e["background-size"]="contain",e["background-position"]="center",e.height="36px",e.width="20px"),e},licensePlateWrapper:function(){return null!==this.licensePlateCountry&&"string"==typeof this.licensePlateCountry.image&&this.licensePlateCountry.image.length&&this.licensePlateCountry.image.includes("/generic/")?{padding:"0","border-radius":"0"}:null},licensePlateTemplateStyling:function(){return this.hasTemplate?{width:this.licensePlateContainerWidth+"%",position:"relative"}:null},field1ContainerStyle:function(){return this.hasTemplate?this.getFieldContainerStyle(1):null},field2ContainerStyle:function(){return this.hasTemplate?this.getFieldContainerStyle(2):null},field3ContainerStyle:function(){return this.hasThirdField?this.getFieldContainerStyle(3):null}},watch:{update:function(){this.update&&(this.licensePlate=this.value,this.convertValueIntoTemplateInput(),this.$emit("model-updated"))},template:function(){this.$emit("has-license-plate-template",this.hasTemplate)},licensePlate:function(){this.licensePlate=this.transformInput(this.licensePlate,!1),this.$emit("input",this.licensePlate),this.validate()},templateInput:{deep:!0,handler:function(){this.templateInput.field1=this.transformInput(this.templateInput.field1,!0),this.templateInput.field2=this.transformInput(this.templateInput.field2,!0),this.templateInput.field3=this.transformInput(this.templateInput.field3,!0),this.licensePlate=this.convertTemplateInput()}},"validationData.isOngoing":function(){var t=this.$el.closest("form");if(null!==t){t.disabled=this.validationData.isOngoing;var e,n=s(t.querySelectorAll('[type="submit"], [type="reset"]'));try{for(n.s();!(e=n.n()).done;){e.value.disabled=this.validationData.isOngoing}}catch(t){n.e(t)}finally{n.f()}}}},methods:{setPlaceholderVisibility:function(){this.shouldHidePlaceholders=""!==this.templateInput.field1||""!==this.templateInput.field2||""!==this.templateInput.field3},transformInput:function(t,e){return t=t.replace(/\s+/g,""),e&&(t=t.replace(/-+/g,"")),t.toUpperCase()},replaceSpecialCharacters:function(t){var e={Ü:"U",Ä:"A",Ö:"O"};return t.replace(/[Ä|Ö|Ü]/g,(function(t){var n=e[t.slice(0,1)];return n.charAt(0)+n.charAt(1).toLowerCase()+t.slice(1)})).replace(new RegExp("["+Object.keys(e).join("|")+"]","g"),(function(t){return e[t]}))},getFieldContainerStyle:function(t){return{top:this.template.padding_top+"%",right:this.template["field_"+t+"_margin_right"]-this.template.padding_left+"%",width:this.template["field_"+t+"_width"]+"%",position:"absolute"}},convertTemplateInput:function(){return(""+this.template.template).replace(/%field_1%/g,this.templateInput.field1).replace(/%field_2%/g,this.templateInput.field2).replace(/%field_3%/g,this.hasThirdField?this.templateInput.field3:"")},convertValueIntoTemplateInput:function(){if(!this.hasTemplate||!this.licensePlate.length||"string"!=typeof this.template.regex||!this.template.regex.length)return this;var t=new RegExp(this.template.regex,"gi").exec(this.licensePlate);if(!t||!t.length)return this.templateMatching=!1,this;this.templateMatching=!0;for(var e=1;e<t.length;e++)void 0!==this.templateInput["field"+e]&&(this.templateInput["field"+e]=t[e]);return this},validate:function(){var t,e=this;return(t=o().mark((function t(){return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!e.validationData.disabled){t.next=6;break}return e.validationData.isOngoing=!1,e.validationData.isValid=!0,e.validationData.showSpecialCheckbox=!1,e.validationData.isSpecial=!1,t.abrupt("return");case 6:if(!e.nonStandardLicensePlate){t.next=8;break}return t.abrupt("return");case 8:e.validationData.xhr();case 9:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,c,"next",t)}function c(t){a(o,i,r,s,c,"throw",t)}s(void 0)}))})()},getPrefixForImageLink:function(t){return 0===t.indexOf("/")||0===t.indexOf("//")||(t.match(/^[a-z]+:\/\//)||[]).length>0?"":"/"}},mounted:function(){var t=this;this.shouldHidePlaceholders=this.hidePlaceholders,this.convertValueIntoTemplateInput(),this.$emit("has-license-plate-template",this.hasTemplate);var e=n(8221);this.validationData.xhr=e((function(){if(!t.nonStandardLicensePlate)return t.validationData.isOngoing=!0,"string"!=typeof t.licensePlate||0===t.licensePlate.trim().length?(t.validationData.isOngoing=!1,t.validationData.showSpecialCheckbox=!1,t.validationData.isValid=!1,t.validationData.isSpecial=!1,null):axios.get("/".concat(t.$language,"/backend/validate/license-plate/").concat(t.licensePlate,"/").concat(t.licensePlateCountry.country_code)).then((function(e){t.validationData.isValid=e.data.valid,t.validationData.showSpecialCheckbox=e.data.isSpecial,t.validationData.isOngoing=!1,t.$emit("license-plate-check-status",e.data.valid)})).catch((function(){t.validationData.isOngoing=!1}))}),200)}};var d=n(5072),u=n.n(d),p=n(4010),f={insert:"head",singleton:!1};u()(p.A,f);p.A.locals;const h=(0,n(4486).A)(l,(function(){var t=this,e=t._self._c;return t.hasTemplate&&!t.nonStandardLicensePlate?e("div",{staticClass:"license-plate-input-container",class:{"is-invalid pr-3":t.isInvalid}},[e("input",{attrs:{name:t.name,type:"hidden"},domProps:{value:t.licensePlate}}),t._v(" "),e("div",{staticClass:"license-plate-input-form-group position-relative clearfix",style:t.licensePlateTemplateStyling},[e("div",{staticClass:"license-plate-input"},[e("div",{staticClass:"license-plate-input-field",style:t.field1ContainerStyle},[t.disabled?e("div",{staticClass:"field-preview form-control h-100"},[e("div",[t._v(t._s(t.templateInput.field1))])]):e("input",{directives:[{name:"model",rawName:"v-model",value:t.templateInput.field1,expression:"templateInput.field1"}],staticClass:"form-control h-100",attrs:{id:t.id+"portion1",maxlength:t.template.field_1_maxlength,name:t.name+"portion1",placeholder:t.shouldHidePlaceholders?"":t.template.field_1_placeholder,autocomplete:"off",type:"text"},domProps:{value:t.templateInput.field1},on:{keyup:t.setPlaceholderVisibility,input:function(e){e.target.composing||t.$set(t.templateInput,"field1",e.target.value)}}})]),t._v(" "),e("div",{staticClass:"license-plate-input-field",style:t.field2ContainerStyle},[t.disabled?e("div",{staticClass:"field-preview form-control h-100"},[e("div",[t._v(t._s(t.templateInput.field2))])]):e("input",{directives:[{name:"model",rawName:"v-model",value:t.templateInput.field2,expression:"templateInput.field2"}],staticClass:"form-control h-100",attrs:{id:t.id+"portion2",maxlength:t.template.field_2_maxlength,name:t.name+"portion2",placeholder:t.shouldHidePlaceholders?"":t.template.field_2_placeholder,autocomplete:"off",type:"text"},domProps:{value:t.templateInput.field2},on:{keyup:t.setPlaceholderVisibility,input:function(e){e.target.composing||t.$set(t.templateInput,"field2",e.target.value)}}})]),t._v(" "),t.hasThirdField?e("div",{staticClass:"license-plate-input-field",style:t.field3ContainerStyle},[t.disabled?e("div",{staticClass:"field-preview form-control h-100"},[e("div",[t._v(t._s(t.templateInput.field3))])]):e("input",{directives:[{name:"model",rawName:"v-model",value:t.templateInput.field3,expression:"templateInput.field3"}],staticClass:"form-control h-100",attrs:{id:t.id+"portion3",maxlength:t.template.field_3_maxlength,name:t.name+"portion3",placeholder:t.shouldHidePlaceholders?"":t.template.field_3_placeholder,autocomplete:"off",type:"text"},domProps:{value:t.templateInput.field3},on:{keyup:t.setPlaceholderVisibility,input:function(e){e.target.composing||t.$set(t.templateInput,"field3",e.target.value)}}})]):t._e()]),t._v(" "),e("img",{attrs:{src:t.licensePlateCustomBackground,alt:"license-plate"}}),t._v(" "),e("div",{staticClass:"invalid-icon",style:{left:t.licensePlateContainerWidth+"%"}})]),t._v(" "),e("div",{ref:"scrollTarget",staticClass:"invalid-feedback",class:{"d-block":t.isInvalid}},[t._t("default")],2),t._v(" "),this.showSpecialCharactersInfo&&!this.name.includes("confirmation")?e("div",{staticClass:"mt-2"},[t._v("\n        "+t._s(t.$t("shop.umlautWarning"))+"\n    ")]):t._e(),t._v(" "),t.validationData.showSpecialCheckbox?e("div",{staticClass:"mt-2"},[e("input",{attrs:{name:"is_special_license_plate",type:"hidden",value:"1"}}),t._v(" "),e("div",{staticClass:"custom-control custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.validationData.isSpecial,expression:"validationData.isSpecial"}],staticClass:"custom-control-input",attrs:{id:"license-is-special",name:"special_license_plate_confirmed",required:"",type:"checkbox"},domProps:{value:!0,checked:Array.isArray(t.validationData.isSpecial)?t._i(t.validationData.isSpecial,!0)>-1:t.validationData.isSpecial},on:{change:function(e){var n=t.validationData.isSpecial,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=!0,a=t._i(n,o);i.checked?a<0&&t.$set(t.validationData,"isSpecial",n.concat([o])):a>-1&&t.$set(t.validationData,"isSpecial",n.slice(0,a).concat(n.slice(a+1)))}else t.$set(t.validationData,"isSpecial",r)}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"license-is-special"},domProps:{innerHTML:t._s(t.$t("shop.isSpecialLicensePlate"))}})]),t._v(" "),"object"===i(t.specialLicensePlateError)&&t.specialLicensePlateError instanceof Array&&t.specialLicensePlateError.length>0?e("div",{staticClass:"invalid-feedback d-block"},t._l(t.specialLicensePlateError,(function(n){return e("span",{key:n,staticClass:"d-block",domProps:{innerHTML:t._s(n)}})})),0):t._e()]):t._e()]):e("div",[e("div",{staticClass:"license-plate-input-form-group"},[e("div",{staticClass:"input-group"},[e("div",{staticClass:"input-group-prepend"},[e("div",{staticClass:"input-group-text",style:t.licensePlateWrapper},[e("div",{staticClass:"license-plate-background",style:t.licensePlateBackground})])]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.licensePlate,expression:"licensePlate"}],staticClass:"form-control height-auto-override",class:{"is-invalid":t.isInvalid},attrs:{id:t.id,disabled:t.disabled,name:t.name,placeholder:t.licensePlateCountry.placeholder,required:t.required,type:"text"},domProps:{value:t.licensePlate},on:{input:function(e){e.target.composing||(t.licensePlate=e.target.value)}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},[t._t("default")],2)])]),t._v(" "),t.validationData.showSpecialCheckbox?e("div",{staticClass:"mt-2"},[e("input",{attrs:{name:"is_special_license_plate",type:"hidden",value:"1"}}),t._v(" "),e("div",{staticClass:"custom-control custom-checkbox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.validationData.isSpecial,expression:"validationData.isSpecial"}],staticClass:"custom-control-input",attrs:{id:"license-is-special-default",name:"special_license_plate_confirmed",required:"",type:"checkbox"},domProps:{value:!0,checked:Array.isArray(t.validationData.isSpecial)?t._i(t.validationData.isSpecial,!0)>-1:t.validationData.isSpecial},on:{change:function(e){var n=t.validationData.isSpecial,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=!0,a=t._i(n,o);i.checked?a<0&&t.$set(t.validationData,"isSpecial",n.concat([o])):a>-1&&t.$set(t.validationData,"isSpecial",n.slice(0,a).concat(n.slice(a+1)))}else t.$set(t.validationData,"isSpecial",r)}}}),t._v(" "),e("label",{staticClass:"custom-control-label",attrs:{for:"license-is-special-default"},domProps:{innerHTML:t._s(t.$t("shop.isSpecialLicensePlate"))}})]),t._v(" "),"object"===i(t.specialLicensePlateError)&&t.specialLicensePlateError instanceof Array&&t.specialLicensePlateError.length>0?e("div",{staticClass:"invalid-feedback d-block"},t._l(t.specialLicensePlateError,(function(n){return e("span",{key:n,staticClass:"d-block",domProps:{innerHTML:t._s(n)}})})),0):t._e()]):t._e()])}),[],!1,null,null,null).exports},6072:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const i={props:{visible:{type:Boolean,required:!0},fullPageLoader:{type:Boolean,required:!1,default:function(){return!1}},alwaysShow:{type:Boolean,required:!1,default:function(){return!0}},preloaderContainerId:{type:String,required:!1,default:function(){return"preloader"}},statusContainerId:{type:String,required:!1,default:function(){return"status"}},loadingText:{type:String,required:!1,default:function(){return null}},horizontalCentered:{type:Boolean,required:!1,default:function(){return!1}}}};const r=(0,n(4486).A)(i,(function(){var t=this,e=t._self._c;return t.visible?e("div",{staticClass:"loader-container loading-animation",class:{"full-page-loader":t.fullPageLoader}},[e("div",{staticClass:"preloader p-4",class:{"always-show":t.alwaysShow},attrs:{id:t.preloaderContainerId}},[e("div",{staticClass:"status",class:{"always-show":t.alwaysShow},attrs:{id:t.statusContainerId}},["string"==typeof t.loadingText&&t.loadingText.length?e("div",{staticClass:"spinner has--loading-text"},[e("div",{staticClass:"spinner-inner",class:{"text-center":t.horizontalCentered}},[e("i",{staticClass:"mdi mdi-loading mdi-spin"})]),t._v(" "),e("div",{staticClass:"spinner-text",domProps:{innerHTML:t._s(t.loadingText)}})]):e("div",{staticClass:"spinner",class:{"text-center":t.horizontalCentered}},[e("i",{staticClass:"mdi mdi-loading mdi-spin"})])])])]):t._e()}),[],!1,null,null,null).exports},181:(t,e,n)=>{"use strict";n.d(e,{A:()=>C});const i={props:{item:{type:Object,required:!0},design:{type:String,required:!1}}};var r=n(5072),o=n.n(r),a=n(99),s={insert:"head",singleton:!1};o()(a.A,s);a.A.locals;var c=n(4486);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}const d={components:{Product:(0,c.A)(i,(function(){var t=this,e=t._self._c;return"homepage"!==t.design?e("div",{staticClass:"col-12 col-md-6 mt-4"},[e("div",{staticClass:"mt-2"},[e("a",{staticClass:"mb-3 directions-product-listing shop-product-card navigator-card bg-white p-3 rounded w-100 text-left",attrs:{href:t.item.productUrl,target:"_blank"}},[e("div",{staticClass:"row w-100 directions-align-center"},[e("div",{staticClass:"col-12 col-lg-8"},[e("div",{staticClass:"row directions-align-center"},[e("div",{staticClass:"col-3 text-left mobile-shop-adverts-text"},[e("img",{staticClass:"directions-flag",attrs:{alt:t.item.productName,width:"50",height:"auto",src:t.item.countryFlag}})]),t._v(" "),e("div",{staticClass:"col-9 text-left"},[e("div",{staticClass:"text-quote mobile-shop-adverts-text",domProps:{innerHTML:t._s(t.item.productName)}})])])]),t._v(" "),e("div",{staticClass:"col-12 col-lg-4 mobile-shop-advert-text-hidden"},[e("div",{staticClass:"call-to-action-advert-container"},[e("strong",{staticClass:"d-block",domProps:{innerHTML:t._s(t.$t("directions.orderNow"))}})])])])])])]):"homepage"===t.design?e("div",{staticClass:"col-12 col-md-6 mt-4"},[e("div",{staticClass:"mt-2"},[e("a",{staticClass:"mb-3 directions-product-listing shop-product-card navigator-card bg-white p-3 rounded w-100 text-left homepageProduct",attrs:{href:t.item.productUrl,target:"_blank"}},[e("div",{staticClass:"row w-100 directions-align-center"},[e("div",{staticClass:"col-12 col-lg-8"},[e("div",{staticClass:"row directions-align-center"},[e("div",{staticClass:"col-3 text-left mobile-shop-adverts-text"},[e("img",{staticClass:"directions-flag",attrs:{alt:t.item.productName,width:"50",height:"auto",src:t.item.countryFlag}})]),t._v(" "),e("div",{staticClass:"col-9 text-left"},[e("div",{staticClass:"mobile-shop-adverts-text",staticStyle:{color:"#000"},domProps:{innerHTML:t._s(t.item.productName)}})])])]),t._v(" "),e("div",{staticClass:"col-12 col-lg-4 mobile-shop-advert-text-hidden"},[e("div",{staticClass:"call-to-action-advert-container"},[e("strong",{staticClass:"d-block",staticStyle:{color:"#000"},domProps:{innerHTML:t._s(t.$t("directions.orderNow"))}})])])])])])]):t._e()}),[],!1,null,"de21260a",null).exports},computed:{firstOutwardRoute:function(){return this.routes.outward.length>0?[this.routes.outward[0]]:[]},requiredProducts:function(){var t=this,e=[];if(this.products.length<=0)return e;for(var n in this.products)this.products[n]instanceof Array&&!(this.products[n].length<=0)&&this.products[n].forEach((function(n){var i,r=null!==(i=n.origin_url_path[t.$language])&&void 0!==i?i:n.origin_url_path.en,o="https://".concat(n.domain,"/").concat(r),a=t.$t("directions.advert_".concat(n.systemKey.slice(-2)));if("route_toll"===n.type.toLowerCase()){var s,c=null!==(s=n.names[t.$language])&&void 0!==s?s:n.names.en;a="".concat(t.$t("directions.requires_vignette_special"),"<br>").concat(c)}else o="".concat(o,"#").concat(t.$t("shop.productAnchor"));e.push({productUrl:o,productName:a,countryFlag:n.flag})}));return e},infos:function(){var t=[];if("object"===l(this.products.infos)&&Object.keys(this.products.infos).length>0)for(var e in this.products.infos){var n=this.products.infos[e],i=n[this.$i18n.fallbackLocale]||n.en||"";"string"==typeof n[this.$i18n.locale]&&n[this.$i18n.locale].trim().length>0&&(i=n[this.$i18n.locale]),i=i||"#",t.push({country:{name:e,label:this.$t("countries."+e.trim().replace(/\s+/,"_").toLowerCase())},content:i,asLink:(i.match(/^http(s?):\/\//)||[]).length>0})}return t}},props:{status:{type:Object,required:!0,default:function(){return{initial:!0,ready:!1,loading:!1,failed:!1,hasRouteBack:!1}}},routes:{type:Object,required:!0,default:function(){return{outward:[],back:[]}}},productRoute:{type:String,required:!0},products:{type:Object,required:!0,default:function(){return{vignettes:[],routeTolls:[],infos:{any:{en:"#",de:"#"}}}}},activeRoute:{type:[String,Number],required:!1},activeBackRoute:{type:[String,Number],required:!1},design:{type:String,required:!1},routeplanerShowProducts:{type:Boolean,require:!1}}};var u=n(9535),p={insert:"head",singleton:!1};o()(u.A,p);u.A.locals;const f=(0,c.A)(d,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"directions"},["homepage"!==t.design?e("div",{staticClass:"row route-chooser mb-4"},[e("div",{staticClass:"col-12 mb-mobile-1",class:{"col-md-6":t.status.hasRouteBack}},[e("b",{staticClass:"mb-3 d-inline-block"},[t._v(t._s(t.$t("directions.trip"))+":")]),t._v(" "),e("div",{staticClass:"routes"},t._l(t.routes.outward,(function(n){return e("button",{key:"route_outward_"+n.id,staticClass:"mb-3 shop-product-card navigator-card bg-white p-4 rounded w-100 text-left",class:{highlighted:n.id===t.activeRoute},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.$emit("select-route",n)}}},[e("div",{staticClass:"text-primary"},[e("i",{staticClass:"mdi mdi-map-marker"}),t._v(" "+t._s(n.summary)+"\n                        "),e("i",{staticClass:"mdi mdi-clock-fast ml-4"}),t._v(" "+t._s(n.duration.text)+"\n                    ")]),t._v(" "),e("div",{staticClass:"text-quote"},[t._v("\n                        "+t._s(n.translatedCountryChanges.join(" → "))+"\n                    ")])])})),0)]),t._v(" "),t.status.hasRouteBack?e("div",{staticClass:"col-12 col-md-6"},[e("b",{staticClass:"mb-3 d-inline-block"},[t._v(t._s(t.$t("directions.trip_back"))+":")]),t._v(" "),e("div",{staticClass:"routes"},t._l(t.routes.back,(function(n){return e("button",{key:"route_back_"+n.id,staticClass:"mb-3 shop-product-card navigator-card bg-white p-4 rounded w-100 text-left",class:{highlighted:n.id===t.activeBackRoute},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.$emit("select-route-back",n)}}},[e("div",{staticClass:"text-primary"},[e("i",{staticClass:"mdi mdi-map-marker"}),t._v(" "+t._s(n.summary)+"\n                        "),e("i",{staticClass:"mdi mdi-clock-fast ml-4"}),t._v(" "+t._s(n.duration.text)+"\n                    ")]),t._v(" "),e("div",{staticClass:"text-quote"},[t._v("\n                        "+t._s(n.translatedCountryChanges.join(" → "))+"\n                    ")])])})),0)]):t._e()]):t._e(),t._v(" "),"homepage"===t.design?e("div",{staticClass:"row"},[e("strong",{staticClass:"col-12",domProps:{innerHTML:t._s(t.$t("directions.travelRoute"))}})]):t._e(),t._v(" "),"homepage"===t.design?e("div",{staticClass:"row mb-5"},[e("div",{staticClass:"col-12 mt-4"},[e("div",{staticClass:"routes"},t._l(t.firstOutwardRoute,(function(n){return e("button",{key:"route_outward_"+n.id,staticClass:"mb-3 shop-product-card navigator-card bg-white p-4 rounded w-100 text-left",class:{highlighted:n.id===t.activeRoute},attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.$emit("select-route",n)}}},[e("div",{staticClass:"text-primary"},[e("i",{staticClass:"mdi mdi-map-marker"}),t._v(" "+t._s(n.summary)+"\n                        "),e("i",{staticClass:"mdi mdi-clock-fast ml-4"}),t._v(" "+t._s(n.duration.text)+"\n                    ")]),t._v(" "),e("div",{staticClass:"text-quote"},[t._v("\n                        "+t._s(n.translatedCountryChanges.join(" → "))+"\n                    ")])])})),0)])]):t._e(),t._v(" "),e("div",{staticClass:"row"},["homepage"!==t.design?e("strong",{staticClass:"col-12",domProps:{innerHTML:t._s(t.$t("directions.productsRequired"))}}):"homepage"===t.design?e("strong",{staticClass:"col-12",domProps:{innerHTML:t._s(t.$t("directions.productsRequired_homepage"))}}):t._e()]),t._v(" "),this.requiredProducts.length>0?e("div",{staticClass:"row"},t._l(t.requiredProducts,(function(n){return e("Product",{key:n.id,attrs:{design:t.design,item:n}})})),1):e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 mt-3"},[t._v("\n            "+t._s(t.$t("directions.nothing_required"))+"\n        ")])]),t._v(" "),t.infos.length>0?[e("div",{staticClass:"row mt-4"},[e("strong",{staticClass:"col-12",domProps:{innerHTML:t._s(t.$t("directions.notImplementedInfoTitle"))}})]),t._v(" "),e("div",{staticClass:"row mt-4"},t._l(t.infos,(function(n,i){return e("div",{key:JSON.stringify(n),staticClass:"col-12 col-md-6",class:{"mb-3":i!==t.infos.length-1}},[n.asLink?e("a",{staticClass:"directions-product-listing direction-info navigator-card bg-white p-3 rounded w-100 text-left",attrs:{href:n.content,target:"_blank",rel:"noopener nofollow"}},[e("strong",[t._v(t._s(n.country.label))]),t._v(": \n                    "),e("span",{domProps:{innerHTML:t._s(t.$t("directions.notImplementedGetInfos"))}})]):e("div",{staticClass:"directions-product-listing direction-info navigator-card bg-white p-3 rounded w-100 text-left",domProps:{innerHTML:t._s(n.content)}})])})),0)]:t._e(),t._v(" "),!0===t.routeplanerShowProducts?e("h2",{staticClass:"mt-lg-5 mt-mobile-3"},[t._v(t._s(t.$t("frontend.routeplaner_homepage_further_products")))]):t._e()],2)}),[],!1,null,null,null).exports;function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?h(Object(n),!0).forEach((function(e){v(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function v(t,e,n){var i;return i=function(t,e){if("object"!=g(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=g(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==g(i)?i:i+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function g(t){return g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},g(t)}const y={props:{mapId:{type:String,required:!0},askForUserLocation:{type:Boolean,required:!1,default:function(){return!0}},initialMapLat:{type:Number,required:!1,default:function(){return 47.6928623}},initialMapLng:{type:Number,required:!1,default:function(){return 12.2247775}},defaultZoom:{type:Number,required:!1,default:function(){return 13}},design:{type:String,required:!1},mapRoute:{type:String,require:!1}},data:function(){return{showInfoBox:!1,status:{initial:!0,ready:!1,loading:!1,failed:!1,hasRouteBack:!1},callbackId:null,autocomplete:{origin:null,destination:null},route:{origin:"",destination:"",includeBack:!1},map:null,directions:{routeKey:0,routes:[],markers:[],polyLines:[]},active:{id:null,route:null},activeBack:{id:null,route:null},requirements:{isVignetteRequired:!1,isRouteTollRequired:!1,hasInfo:!1,products:{vignettes:[],routeTolls:[],infos:{}},systems:{}},isMobile:this.isMobileDevice()}},watch:{status:{deep:!0,handler:function(){this.$emit("status-update",this.status)}}},computed:{autocompleteOptions:function(){return{bounds:{north:90,south:-90,east:180,west:-180},fields:["address_components","geometry","icon","name"],strictBounds:!1}},mapOptions:function(){var t=this.initialMapLat,e=this.initialMapLng,n=this.defaultZoom;try{if(!this.askForUserLocation)throw new Error("The user location request is disabled.");var i=window.sessionStorage.getItem("tollCalculatorPos");if(null===(i=null!==i?JSON.parse(i):null))throw new Error("Missing or invalid position cache.");t=i.lat,e=i.lng,n=i.zoom}catch(t){window.sessionStorage.removeItem("tollCalculatorPos")}return{center:{lat:t,lng:e},zoom:n,mapTypeId:window.google.maps.MapTypeId.ROADMAP,streetViewControl:!1,mapTypeControl:!1,fullscreenControl:!1,scaleControl:!0,controlSize:32}}},methods:{isMobileDevice:function(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},initialize:function(){var t=this;this.autocomplete.origin=new window.google.maps.places.Autocomplete(this.$refs.origin,this.autocompleteOptions),this.autocomplete.origin.addListener("place_changed",(function(){t.route.origin=t.$refs.origin.value})),this.autocomplete.destination=new window.google.maps.places.Autocomplete(this.$refs.destination,this.autocompleteOptions),this.autocomplete.destination.addListener("place_changed",(function(){t.route.destination=t.$refs.destination.value})),this.map=new window.google.maps.Map(this.$refs.map,this.mapOptions),this.status.initial=!1},load:function(){var t=this;this.status.loading||"string"==typeof this.route.origin&&0!==this.route.origin.trim().length&&"string"==typeof this.route.destination&&0!==this.route.destination.trim().length&&(this.status.failed=!1,this.status.loading=!0,this.status.hasRouteBack=this.status.ready=!1,this.active.id=this.active.route=null,this.activeBack.id=this.activeBack.route=null,axios.get("/".concat(this.$language,"/backend/map"),{params:{origin:this.route.origin,destination:this.route.destination,back:this.route.includeBack?"yes":"no"}}).then((function(e){if(!e.data.success)return t.status.failed=!0,void(t.status.loading=!1);t.resetMap(),t.directions.routes=e.data.routes.map((function(t,e){return t.id=e,t})),t.requirements.systems=e.data.systems,t.directions.routeKey++,t.$emit("routes-updated",t.directions.routes),t.drawMap(),t.status.loading=!1,t.status.ready=!0,t.$nextTick((function(){if("homepage"!==t.design){if(!t.$refs.map||!t.$refs.map.scrollIntoView)return;t.$refs.map.scrollIntoView()}}))})).catch((function(){t.status.failed=!0,t.status.loading=!1})))},resetMap:function(){for(var t in this.directions.routes)this.directions.polyLines[t].setMap(null);for(var e in this.directions.markers)this.directions.markers[e].setMap(null);return this.directions.routes=[],this.directions.markers=[],this.directions.polyLines=[],this.$emit("routes-updated",this.directions.routes),this},drawMap:function(){var t=this,e=function(e){var n=t.directions.routes[e];if("object"!==g(n.draw)||!(n.draw instanceof Array))return 1;t.directions.polyLines[e]=new window.google.maps.Polyline({path:n.draw,geodesic:!0,strokeColor:"#777",strokeOpacity:.33,strokeWeight:7,zIndex:1,route:e}),window.google.maps.event.addListener(t.directions.polyLines[e],"click",(function(){t.selectRoute(n,e)})),t.directions.polyLines[e].setMap(t.map);var i="start_".concat(e),r="end_".concat(e);"object"===g(n.start.coordinates)&&null!==n.start.coordinates&&(t.directions.markers[i]=new window.google.maps.Marker({position:n.start.coordinates,map:t.map,title:n.start.address})),"object"===g(n.end.coordinates)&&null!==n.end.coordinates&&(t.directions.markers[r]=new window.google.maps.Marker({position:n.end.coordinates,map:t.map,title:n.end.address}))};for(var n in this.directions.routes)e(n);if(null===this.active.id&&this.directions.routes.length>0)for(var i in this.directions.routes)if("boolean"!=typeof this.directions.routes[i].back||!this.directions.routes[i].back){this.selectRoute(this.directions.routes[i],i);break}if(null===this.activeBack.id&&this.directions.routes.length>0)for(var r in this.directions.routes)if("boolean"==typeof this.directions.routes[r].back&&this.directions.routes[r].back){this.selectRoute(this.directions.routes[r],r),this.status.hasRouteBack=!0;break}return this},updateCenter:function(t,e){null!==this.map&&(e="number"!=typeof e||isNaN(e)?this.mapOptions.zoom:e,this.map.setCenter(new window.google.maps.LatLng(t.lat,t.lng)),this.map.setZoom(e))},highlightActivePolyLines:function(t){if(0!==this.directions.polyLines.length&&void 0!==this.directions.polyLines[t]){for(var e in this.directions.polyLines)e!==t&&this.directions.polyLines[e].setOptions({strokeColor:"#777",zIndex:.5});this.directions.polyLines[t].setOptions({strokeColor:"#2f55d4",zIndex:2})}},selectRoute:function(t,e){e=parseInt(e.toString());var n="boolean"==typeof t.back&&t.back;n?(this.activeBack.id=e,this.activeBack.route=t):(this.active.id=e,this.active.route=t);var i=new window.google.maps.LatLngBounds,r="start_".concat(e),o="end_".concat(e);"object"===g(this.directions.markers[r])&&null!==this.directions.markers[r]&&i.extend(new window.google.maps.LatLng(this.directions.markers[r].position.lat(),this.directions.markers[r].position.lng())),"object"===g(this.directions.markers[o])&&null!==this.directions.markers[o]&&i.extend(new window.google.maps.LatLng(this.directions.markers[o].position.lat(),this.directions.markers[o].position.lng())),this.map.fitBounds(i),this.map.panToBounds(i),this.highlightActivePolyLines(e),this.showNecessaryProducts(n),this.$emit("route-selected",{isBack:n,route:t})},showNecessaryProducts:function(t){var e=(t?this.activeBack:this.active).route,n=(t?this.active:this.activeBack).route,i=[],r=[],o=[],a=[];void 0===e.tollProductRequirements&&(e.tollProductRequirements={vignettes:{},routeTolls:{},infos:{}});var s=e.tollProductRequirements.vignettes,c=e.tollProductRequirements.routeTolls,l=e.tollProductRequirements.infos;for(var d in null!==n&&(s=m(m({},s),n.tollProductRequirements.vignettes),c=m(m({},c),n.tollProductRequirements.routeTolls),l=m(m({},l),n.tollProductRequirements.infos)),s){var u=s[d];-1===r.indexOf(u.system_id)&&(i.push(this.extendProduct(u)),r.push(u.system_id))}for(var p in c){var f=c[p],h=f.names.en||f.names.de||JSON.stringify(f.names);-1===a.indexOf(h)&&(o.push(this.extendProduct(f)),a.push(h))}this.requirements.isVignetteRequired=i.length>0,this.requirements.isRouteTollRequired=o.length>0,this.requirements.hasInfo=Object.keys(l).length>0,this.requirements.products.vignettes=i,this.requirements.products.routeTolls=o,this.requirements.products.infos=l,this.$emit("requirements-updated",this.requirements,this.design)},extendProduct:function(t){return t.isConfigured=!1,t}},beforeMount:function(){var t=this;this.callbackId="tollCalculator_".concat(this._uid),window[this.callbackId]=function(){"object"===g(window.google)?(t.askForUserLocation&&navigator.geolocation&&navigator.geolocation.getCurrentPosition((function(e){var n={lat:e.coords.latitude,lng:e.coords.longitude,zoom:t.defaultZoom};window.sessionStorage.setItem("tollCalculatorPos",JSON.stringify(n)),t.updateCenter(n,n.zoom)})),t.status.isInitialize=!1,t.$nextTick(t.initialize)):t.status.failed=!0}},mounted:function(){"object"===g(window.google)?window[this.callbackId]():this.status.failed=!0}};function b(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return _(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}const w={components:{Directions:f,GoogleMap:(0,c.A)(y,(function(){var t=this,e=t._self._c;return"homepage"===t.design?e("section",{staticClass:"section"},[e("div",{staticClass:"container"},[e("div",{staticClass:"route-planner-content"},[e("div",{staticClass:"planner-header"},[e("h2",{staticClass:"text-center",domProps:{innerHTML:t._s(t.$t("directions.routePlannerHomepageTitle"))}}),t._v(" "),e("p",{staticClass:"text-center",domProps:{innerHTML:t._s(t.$t("directions.routePlanner_homepage_description"))}})]),t._v(" "),e("div",{staticClass:"planner-search-container"},[t.status.loading?e("div",{staticClass:"loading-overlay"}):t._e(),t._v(" "),t.status.loading?e("div",{staticClass:"alert alert-primary mb-0 loading-alert",attrs:{role:"alert"}},[e("i",{staticClass:"mdi mdi-refresh mdi-spin"}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("directions.alert_loading"))}})]):t._e(),t._v(" "),e("div",{staticClass:"search-inputs"},[e("div",{staticClass:"search-items"},[e("div",{staticClass:"input-group"},[e("label",{attrs:{for:"directions-origin-".concat(t.mapId)},domProps:{innerHTML:t._s(t.$t("directions.origin"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.route.origin,expression:"route.origin"}],ref:"origin",attrs:{type:"text",name:"directions_origin",id:"directions-origin-".concat(t.mapId),required:"required",placeholder:t.$t("directions.originPlaceholder")},domProps:{value:t.route.origin},on:{input:function(e){e.target.composing||t.$set(t.route,"origin",e.target.value)}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"})]),t._v(" "),e("div",{staticClass:"input-group"},[e("label",{attrs:{for:"directions-destination-".concat(t.mapId)},domProps:{innerHTML:t._s(t.$t("directions.destination"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.route.destination,expression:"route.destination"}],ref:"destination",attrs:{type:"text",name:"directions_destination",id:"directions-destination-".concat(t.mapId),required:"required",placeholder:t.$t("directions.destinationPlaceholder")},domProps:{value:t.route.destination},on:{input:function(e){e.target.composing||t.$set(t.route,"destination",e.target.value)}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"})])]),t._v(" "),e("p",{staticClass:"go-to-route-planner"},[e("span",{attrs:{id:"info-icon","aria-hidden":"true"}},[t._v("i")]),t._v(" "),t.isMobile?e("a",{attrs:{href:t.mapRoute},domProps:{innerHTML:t._s(t.$t("directions.gotoplanner_mobile"))}}):e("a",{attrs:{href:t.mapRoute},domProps:{innerHTML:t._s(t.$t("directions.gotoplanner"))}})])]),t._v(" "),e("div",{staticClass:"btn-container"},[e("button",{staticClass:"btn btn-primary font-weight-normal w-12ch search-button",attrs:{type:"button",name:"directions_search",disabled:t.status.loading},on:{click:function(e){return e.preventDefault(),t.load.apply(null,arguments)}}},[t._v("\n                        "+t._s(t.$t("directions.search"))+"\n                    ")])])])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.status.initial||t.status.ready,expression:"!status.initial || status.ready"}],class:{"mb-mobile-0":!t.status.ready},staticStyle:{display:"none !important"}},[e("div",{ref:"map",staticClass:"bg-light",staticStyle:{display:"none"},attrs:{id:t.mapId}})])]):"homepage"!==t.design?e("section",{staticClass:"directions section bg-light section-offset-small"},[e("div",{staticClass:"route-planner-page"},[e("div",{staticClass:"container p-4 feature-form selector mb-4 mb-mobile-0"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12 mb-mobile-1 px-0 mobile-spacing-x text-align-left"},[e("div",{staticClass:"input-desktop"},[e("div",{staticClass:"mobile-spacing-y hide-mobile desktop-info-i-top",on:{mouseover:function(e){t.showInfoBox=!0},mouseleave:function(e){t.showInfoBox=!1}}},[e("span",{staticClass:"mdi mdi-information-outline mdi-36px icon-primary-color"})]),t._v(" "),e("div",{staticClass:"form-desktop mobile-spacing-y"},[e("label",{staticClass:"text-xl label-font mobile-top margin-top-labels",attrs:{for:"directions-origin-".concat(t.mapId)},domProps:{innerHTML:t._s(t.$t("directions.origin"))}}),t._v(" "),e("div",{staticClass:"show-mobile",on:{click:function(e){t.showInfoBox=!t.showInfoBox}}},[e("span",{staticClass:"mdi mdi-information-outline mdi-36px icon-primary-color"})]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.route.origin,expression:"route.origin"}],ref:"origin",staticClass:"form-control bg-white overlap-input shadow-lg",attrs:{type:"text",name:"directions_origin",id:"directions-origin-".concat(t.mapId),required:"required",placeholder:t.$t("directions.originPlaceholder")},domProps:{value:t.route.origin},on:{input:function(e){e.target.composing||t.$set(t.route,"origin",e.target.value)}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"})]),t._v(" "),e("div",{staticClass:"form-desktop mobile-spacing-y"},[e("label",{staticClass:"text-xl label-font margin-top-labels",attrs:{for:"directions-destination-".concat(t.mapId)},domProps:{innerHTML:t._s(t.$t("directions.destination"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.route.destination,expression:"route.destination"}],ref:"destination",staticClass:"form-control bg-white overlap-input shadow-lg",attrs:{type:"text",name:"directions_destination",id:"directions-destination-".concat(t.mapId),required:"required",placeholder:t.$t("directions.destinationPlaceholder")},domProps:{value:t.route.destination},on:{input:function(e){e.target.composing||t.$set(t.route,"destination",e.target.value)}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"})]),t._v(" "),e("div",{staticClass:"mb-0 form-desktop"},[e("div",{staticClass:"custom-control custom-checkbox my-mobile-1"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.route.includeBack,expression:"route.includeBack"}],staticClass:"custom-control-input checkbox",attrs:{type:"checkbox",id:"route-back-".concat(t.mapId)},domProps:{value:!0,checked:Array.isArray(t.route.includeBack)?t._i(t.route.includeBack,!0)>-1:t.route.includeBack},on:{change:function(e){var n=t.route.includeBack,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=!0,a=t._i(n,o);i.checked?a<0&&t.$set(t.route,"includeBack",n.concat([o])):a>-1&&t.$set(t.route,"includeBack",n.slice(0,a).concat(n.slice(a+1)))}else t.$set(t.route,"includeBack",r)}}}),t._v(" "),e("label",{staticClass:"custom-control-label margin-top-desktop",attrs:{for:"route-back-".concat(t.mapId)},domProps:{innerHTML:t._s(t.$t("directions.route_back"))}})])]),t._v(" "),e("div",[e("label",{staticClass:"d-mobile-none mb-0",staticStyle:{display:"block"}},[t._v(" ")]),t._v(" "),e("button",{staticClass:"btn btn-primary rounded w-100 button-desktop shadow-lg",attrs:{type:"button",name:"directions_search",disabled:t.status.loading},on:{click:function(e){return e.preventDefault(),t.load.apply(null,arguments)}}},[t._v("\n                                "+t._s(t.$t("directions.search"))+"\n                            ")])])])])]),t._v(" "),e("div",{staticClass:"row map-shift mobile-spacing-x"},[e("div",{staticClass:"col-md-12 bg-white rounded shadow-lg p-0"},[t.status.loading?e("div",{staticClass:"loading-overlay"}):t._e(),t._v(" "),t.status.loading?e("div",{staticClass:"mb-0 loading-alert text-white",attrs:{role:"alert"}},[e("i",{staticClass:"mdi mdi-refresh mdi-spin"}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("directions.alert_loading"))}})]):t._e(),t._v(" "),t.showInfoBox?e("div",{staticClass:"info-overlay p-4 row align-items-center bg-white rounded px-0 border-primary"},[e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center",domProps:{innerHTML:t._s(t.$t("directions.info_title"))}}),t._v(" "),e("span",{staticClass:"text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("directions.info_text"))}})]):t._e(),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.status.initial||t.status.ready,expression:"!status.initial || status.ready"}],staticClass:"google-map mb-0 p-1 w-100 map-height",class:{"mb-mobile-0":!t.status.ready}},[e("div",{ref:"map",staticClass:"bg-light rounded",attrs:{id:t.mapId}})])])])])])]):t._e()}),[],!1,null,null,null).exports},props:{mapId:{type:String,required:!0},productRoute:{type:String,required:!0},isOfferSystemEnabled:{type:Boolean,required:!1,default:function(){return!1}},askForUserLocation:{type:Boolean,required:!1,default:function(){return!0}},initialMapLat:{type:Number,required:!1,default:function(){return 47.6928623}},initialMapLng:{type:Number,required:!1,default:function(){return 12.2247775}},defaultZoom:{type:Number,required:!1,default:function(){return 13}},design:{type:String,required:!1},mapRoute:{type:String,required:!1},routeplanerShowProducts:{type:Boolean,require:!1}},data:function(){return{status:{initial:!0,ready:!1,loading:!1,failed:!1,hasRouteBack:!1},routes:{outward:[],back:[]},active:{id:null,route:null},activeBack:{id:null,route:null},requirements:{isVignetteRequired:!1,isRouteTollRequired:!1,products:{vignettes:[],routeTolls:[]},systems:{}}}},methods:{onStatusUpdate:function(t){this.status=t},onRoutesUpdate:function(t){var e,n=[],i=[],r=b(t);try{for(r.s();!(e=r.n()).done;){var o=e.value;"boolean"==typeof o.back&&o.back?i.push(o):n.push(o)}}catch(t){r.e(t)}finally{r.f()}this.routes.outward=n,this.routes.back=i},onRouteSelection:function(t){"boolean"==typeof t.isBack&&t.isBack?this.activeBack=t.route:this.active=t.route},onRequirementUpdate:function(t){this.requirements=t},onSelectRoute:function(t){this.$refs.map.selectRoute(t,t.id)}}};const C=(0,c.A)(w,(function(){var t=this,e=t._self._c;return e("div",[e("GoogleMap",{key:"route-planner-".concat(t.mapId),ref:"map",attrs:{"map-id":t.mapId,"ask-for-user-location":t.askForUserLocation,"initial-map-lat":t.initialMapLat,"initial-map-lng":t.initialMapLng,"default-zoom":t.defaultZoom,design:t.design,"map-route":t.mapRoute},on:{"status-update":function(e){return t.onStatusUpdate(e)},"routes-updated":function(e){return t.onRoutesUpdate(e)},"route-selected":function(e){return t.onRouteSelection(e)},"requirements-updated":function(e){return t.onRequirementUpdate(e)}}}),t._v(" "),t.status.ready||t.status.loading||t.status.failed?e("section",{staticClass:"directions"},[e("div",{staticClass:"container feature-form"},[t.status.failed?e("div",{staticClass:"failed"},[e("div",{staticClass:"alert alert-warning mb-0",attrs:{role:"alert"}},[e("i",{staticClass:"mdi mdi-alert"}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("directions.alert_failed"))}})])]):t._e(),t._v(" "),"homepage"!==t.design&&t.status.loading?e("div",{staticClass:"loading"},[e("div",{staticClass:"alert alert-primary mb-0",attrs:{role:"alert"}},[e("i",{staticClass:"mdi mdi-refresh mdi-spin"}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("directions.alert_loading"))}})])]):t.status.loading?t._e():e("Directions",{attrs:{status:t.status,routes:t.routes,"product-route":t.productRoute,products:t.requirements.products,"active-route":t.active.id,"active-back-route":t.activeBack.id,design:t.design,"routeplaner-show-products":t.routeplanerShowProducts},on:{"select-route":function(e){return t.onSelectRoute(e,!1)},"select-route-back":function(e){return t.onSelectRoute(e,!0)}}})],1)]):t._e()],1)}),[],!1,null,null,null).exports},2827:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n(5661);const r={props:{id:{type:String,required:!0},centered:{type:Boolean,required:!0},title:{type:String,required:!0},show:{type:Boolean,required:!0},close:{type:Boolean,required:!0},size:{type:String,required:!1,default:function(){return null}},scrollable:{type:Boolean,required:!1,default:function(){return!0}},closeable:{type:Boolean,required:!1,default:function(){return!0}},tighterCloseButton:{type:Boolean,required:!1,default:function(){return!1}},centeredHeader:{type:Boolean,required:!1,default:function(){return!1}}},data:function(){return{isVisible:!1}},computed:{modalDialogClass:function(){var t={"modal-dialog-centered":this.centered,"modal-dialog-scrollable":this.scrollable};return"string"==typeof this.size&&this.size.length&&(t[this.size]=!0),t}},watch:{show:function(){this.show&&!this.isVisible&&this.$refs.modal.modal("show")},close:function(){this.close&&this.isVisible&&this.onClose(null)}},methods:{onClose:function(t){"object"===i(t)&&null!==t&&t.preventDefault(),this.closeable&&this.isVisible&&this.$refs.modal.modal("hide")}},beforeDestroy:function(){var t=this;this.$refs.modal.removeEventListener("show.bs.modal",(function(){t.isVisible=!0,t.$emit("modal-opening")})),this.$refs.modal.removeEventListener("shown.bs.modal",(function(){t.$emit("modal-visible")})),this.$refs.modal.removeEventListener("hide.bs.modal",(function(e){if(!t.closeable)return e.preventDefault(),!1;t.isVisible=!1,t.$emit("modal-close")})),this.$refs.modal.removeEventListener("hidden.bs.modal",(function(){t.$emit("modal-invisible")}))},mounted:function(){var t=this;this.$refs.modal.addEventListener("show.bs.modal",(function(){t.isVisible=!0,t.$emit("modal-opening")})),this.$refs.modal.addEventListener("shown.bs.modal",(function(){t.$emit("modal-visible")})),this.$refs.modal.addEventListener("hide.bs.modal",(function(e){if(!t.closeable)return e.preventDefault(),!1;t.isVisible=!1,t.$emit("modal-close")})),this.$refs.modal.addEventListener("hidden.bs.modal",(function(){t.$emit("modal-invisible")}))}};var o=n(5072),a=n.n(o),s=n(8751),c={insert:"head",singleton:!1};a()(s.A,c);s.A.locals;const l=(0,n(4486).A)(r,(function(){var t=this,e=t._self._c;return e("div",{ref:"modal",staticClass:"modal",attrs:{id:t.id,tabindex:"-1"}},[e("div",{staticClass:"modal-dialog",class:t.modalDialogClass},[e("div",{staticClass:"modal-content"},[e("div",{staticClass:"modal-header",class:{centered:!t.closeable&&t.centeredHeader}},[e("span",{staticClass:"modal-title",domProps:{innerHTML:t._s(t.title)}}),t._v(" "),e("button",{staticClass:"close",class:{"d-none":!t.closeable,tighter:t.tighterCloseButton},attrs:{type:"button",disabled:!t.closeable},on:{click:function(e){return t.onClose(e)}}},[t._m(0)])]),t._v(" "),t._t("default")],2)])])}),[function(){var t=this._self._c;return t("span",{attrs:{"aria-hidden":"true"}},[t("i",{staticClass:"mdi mdi-close"})])}],!1,null,null,null).exports},9137:(t,e,n)=>{"use strict";n.d(e,{A:()=>p});var i=n(1688),r=n.n(i),o=n(5072),a=n.n(o),s=n(2248),c={insert:"head",singleton:!1};a()(s.A,c);s.A.locals;const l={inheritAttrs:!1,props:{config:{type:Object,default:null},mobileIcon:{type:Boolean,default:!1},value:{required:!0,default:null,validator:function(t){return null===t||t instanceof Date||"string"==typeof t||t instanceof String}},placeholder:{type:String,default:function(){var t=new Date,e=t.getDate(),n=t.getMonth()+1;return(e>9?"":"0")+e+"."+(n>9?"":"0")+n+"."+t.getFullYear()}},disabled:{type:Boolean,default:!1},dateFormat:{type:String,default:"d.m.Y"},twelveHourTime:{type:Boolean,default:!1},enableTime:{type:Boolean,default:!1},enableSeconds:{type:Boolean,default:!1},firstDayOfWeek:{type:Number,default:1}},watch:{config:{deep:!0,handler:function(t){var e=this;this.$nextTick((function(){e.flatpickr.set("minDate",t.minDate)}))}}},data:function(){return{flatpickr:null}},mounted:function(){var t=this;this.$nextTick((function(){var e,n;t.flatpickr=r()(t.$refs.datePicker,{minDate:t.config.minDate,maxDate:null!==(e=t.config.maxDate)&&void 0!==e?e:[],enableTime:t.enableTime,enableSeconds:t.enableSeconds,onClose:t.onClose,onChange:t.onChange,dateFormat:t.dateFormat,allowInput:!0,time_24hr:!t.twelveHourTime,locale:t.getLocale(),enable:null!==(n=t.config.enabledDates)&&void 0!==n?n:[]}),t.flatpickr.setDate(t.config.minDate,!0)}))},methods:{setDate:function(t){this.flatpickr.setDate(t,!0),this.$forceUpdate()},setMinDate:function(t){var e=this;Vue.nextTick((function(){e.flatpickr.set("minDate",t),e.$forceUpdate()}))},setMaxDate:function(t){var e=this;Vue.nextTick((function(){e.flatpickr.set("maxDate",t),e.$forceUpdate()}))},getLocale:function(){var t=this.$i18n.messages[this.$i18n.locale].flatpickr;return{weekdays:{shorthand:[t.shorthand_sunday,t.shorthand_monday,t.shorthand_tuesday,t.shorthand_wednesday,t.shorthand_thursday,t.shorthand_friday,t.shorthand_saturday],longhand:[t.longhand_sunday,t.longhand_monday,t.longhand_tuesday,t.longhand_wednesday,t.longhand_thursday,t.longhand_friday,t.longhand_saturday]},months:{shorthand:[t.shorthand_january,t.shorthand_february,t.shorthand_march,t.shorthand_april,t.shorthand_may,t.shorthand_june,t.shorthand_july,t.shorthand_august,t.shorthand_september,t.shorthand_october,t.shorthand_november,t.shorthand_december],longhand:[t.longhand_january,t.longhand_february,t.longhand_march,t.longhand_april,t.longhand_may,t.longhand_june,t.longhand_july,t.longhand_august,t.longhand_september,t.longhand_october,t.longhand_november,t.longhand_december]},firstDayOfWeek:t.first_day_of_week,weekAbbreviation:t.week_abbreviation,rangeSeparator:t.range_separator,time_24hr:"true"===t.time_24hr}},onClose:function(){this.$emit("close",this.$refs.datePicker.value),this.onChange()},onChange:function(){if(this.flatpickr.isMobile&&void 0===this.flatpickr.latestSelectedDateObj){var t=new Date(this.config.minDate);this.$emit("dp-invalid-date",{purchaseAbleDate:t.toLocaleDateString("de-DE",{year:"numeric",month:"2-digit",day:"2-digit"})})}this.$emit("input",this.$refs.datePicker.value),this.$emit("change",this.$refs.datePicker.value),this.$emit("dp-change",this.$refs.datePicker.value)}}};var d=n(6344),u={insert:"head",singleton:!1};a()(d.A,u);d.A.locals;const p=(0,n(4486).A)(l,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"form-control datepicker-input"},[t.mobileIcon?e("i",{staticClass:"mdi mdi-calendar datepicker-icon"}):t._e(),t._v(" "),e("input",t._b({ref:"datePicker",staticClass:"datepicker-input",class:{"!cursor-not-allowed":t.disabled},attrs:{disabled:t.disabled,type:"text",placeholder:t.placeholder},domProps:{value:t.value}},"input",t.$attrs,!1))])}),[],!1,null,"748adf08",null).exports},8733:(t,e,n)=>{"use strict";n.d(e,{A:()=>x});function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}const r={props:{order:{type:Object,required:!0,default:function(){return{product_type:null,dispatch_on:null,was_dispatched:null,was_successful:null,validity_start_string:null,validity_end_string:null,externalProductId:null,order_insurance:null}}},disableChangeButtons:{type:Boolean,required:!0},orderPrice:{type:Number,required:!0},unpaidOrderPrice:{type:Number,required:!0},isPaymentConfirmed:{type:Boolean,required:!0,default:!1},isSetupCompleted:{type:Boolean,required:!0},isPaymentRefunded:{type:Boolean,required:!0},showLoadingAnimation:{type:Boolean,required:!0},isCompletedView:{type:Boolean,required:!0},successfulCompleted:{type:Boolean,required:!0},baseOrderActiveSubscription:{type:Boolean,required:!0},subscriptionLicense:{type:String,required:!0},cancelOrderButtonConfig:{type:Object,required:!1,default:function(){return{visible:!1,hideButton:!1,showMessage:!1,failed:!1,message:null}}},insuranceConfig:{type:Object,required:!1},isTransferOfProductEnabled:{type:Boolean,required:!1,default:function(){return!1}},ongoingOrderUpdate:{type:Object,required:!1,default:function(){return null}},evidenceConfig:{type:Object,required:!1,default:function(){return null}},orderTerminateSubscriptionUrl:{type:String,required:!1,default:function(){return null}},changeLicenseSubscriptionUrl:{type:String,required:!1,default:function(){return null}},hasPaymentSubscription:{type:Boolean,required:!1,default:function(){return!1}}},inject:["isVoucherOrder","giftVoucherPayments"],data:function(){var t,e,n;return{terminateSubscriptionForm:{confirmation:!1},terminateSubscriptionModal:{show:!1,close:!1,closable:!0,showForm:!0},terminateSubscriptionResponse:{show:!1,success:!1,message:null},changeLicenseSubscriptionForm:{license:null!==(t=this.order.subscription_license)&&void 0!==t?t:this.order.license,license_confirmation:null!==(e=this.order.subscription_license)&&void 0!==e?e:this.order.license,country_code:null!==(n=this.order.subscription_country_code)&&void 0!==n?n:this.order.country_code},changeLicenseSubscriptionModal:{show:!1,close:!1,closable:!0,showForm:!0},changeLicenseSubscriptionResponse:{show:!1,success:!1,message:null},terminateSubscriptionOngoing:!1,changeLicenseSubscriptionOngoing:!1,modalIsVisible:!1,runningRequest:!1,confirmError:!1}},computed:{showInsurance:function(){return!this.isPaymentConfirmed&&!this.isSetupCompleted&&!this.order.was_dispatched&&this.insuranceConfig.canBeOrdered},isFlaggedAsAutoRenew:function(){return"boolean"==typeof this.order.auto_renew&&this.order.auto_renew||this.hasPaymentSubscription},selectedLicensePlateCountry:function(){var t=this;try{return this.evidenceConfig.licensePlateCountries.find((function(e){return e.country_code===t.changeLicenseSubscriptionForm.country_code}))}catch(t){return null}},selectedLicensePlateCountryHasTemplate:function(){return null!==this.selectedLicensePlateCountry&&"object"===i(this.selectedLicensePlateCountry.template)&&null!==this.selectedLicensePlateCountry.template},showEstimatedValidity:function(){return!(this.isPaymentConfirmed||this.order.was_successful||new Date(this.order.validity_start)>new Date)},showEstimatedText:function(){return!this.isPaymentConfirmed&&!this.order.was_successful&&!this.isToday(new Date(this.order.validity_start))},giftVoucherPaymentsAmount:function(){return this.giftVoucherPayments.reduce((function(t,e){return t+e.amount}),0)}},methods:{isToday:function(t){var e=new Date;return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()},onTerminatePaymentSubscription:function(){this.terminateSubscriptionModal.show=!0,this.terminateSubscriptionModal.close=!1,this.terminateSubscriptionModal.closable=!0,this.terminateSubscriptionModal.showForm=!0},onAbortTerminatePaymentSubscription:function(){this.terminateSubscriptionModal.closable=!this.terminateSubscriptionOngoing,this.terminateSubscriptionModal.show=!1,this.terminateSubscriptionModal.close=!0,this.terminateSubscriptionModal.showForm=!0},onTerminatePaymentSubscriptionSubmit:function(){var t=this;if(!this.terminateSubscriptionOngoing)if(this.terminateSubscriptionModal.showForm){if(this.terminateSubscriptionResponse.show=!1,this.terminateSubscriptionResponse.message=null,this.terminateSubscriptionResponse.success=!1,this.terminateSubscriptionModal.closable=!0,!this.terminateSubscriptionForm.confirmation)return this.terminateSubscriptionResponse.message=this.$t("order.pleaseConfirmSubscriptionTerminate"),this.terminateSubscriptionResponse.success=!1,void(this.terminateSubscriptionResponse.show=!0);this.terminateSubscriptionOngoing=!0,this.terminateSubscriptionModal.closable=!1,axios.post(this.orderTerminateSubscriptionUrl,this.terminateSubscriptionForm).then((function(e){t.terminateSubscriptionResponse.message=e.data.message,t.terminateSubscriptionResponse.success=e.data.success,t.terminateSubscriptionResponse.show=!0,t.terminateSubscriptionModal.showForm=!t.terminateSubscriptionResponse.success,t.terminateSubscriptionModal.closable=!0,t.terminateSubscriptionOngoing=!1,setTimeout((function(){window.location.reload()}),15)})).catch((function(){t.terminateSubscriptionResponse.message=t.$t("order.subscriptionTerminateFailed"),t.terminateSubscriptionResponse.show=!0,t.terminateSubscriptionResponse.success=!1,t.terminateSubscriptionOngoing=!1}))}else window.location.reload()},onChangeLicenseSubscription:function(){this.changeLicenseSubscriptionModal.show=!0,this.changeLicenseSubscriptionModal.close=!1,this.changeLicenseSubscriptionModal.closable=!0,this.changeLicenseSubscriptionModal.showForm=!0},onAbortChangeLicenseSubscription:function(){this.changeLicenseSubscriptionModal.closable=!this.terminateSubscriptionOngoing,this.changeLicenseSubscriptionModal.show=!1,this.changeLicenseSubscriptionModal.close=!0,this.changeLicenseSubscriptionModal.showForm=!0},onChangeLicenseSubscriptionSubmit:function(){var t=this;this.changeLicenseSubscriptionOngoing||(this.changeLicenseSubscriptionResponse.show=!1,this.changeLicenseSubscriptionResponse.message=null,this.changeLicenseSubscriptionResponse.success=!1,this.changeLicenseSubscriptionModal.closable=!0,this.changeLicenseSubscriptionOngoing=!0,this.changeLicenseSubscriptionModal.closable=!1,axios.post(this.changeLicenseSubscriptionUrl,this.changeLicenseSubscriptionForm).then((function(e){t.changeLicenseSubscriptionResponse.message=e.data.message,t.changeLicenseSubscriptionResponse.success=e.data.success,t.changeLicenseSubscriptionResponse.show=!0,t.changeLicenseSubscriptionModal.showForm=!t.changeLicenseSubscriptionResponse.success,t.changeLicenseSubscriptionModal.closable=!0,t.changeLicenseSubscriptionOngoing=!1,setTimeout((function(){window.location.reload()}),15)})).catch((function(){t.changeLicenseSubscriptionResponse.message=t.$t("order.subscriptionLicenseChangeFailed"),t.changeLicenseSubscriptionResponse.show=!0,t.changeLicenseSubscriptionResponse.success=!1,t.changeLicenseSubscriptionOngoing=!1})))},onModalVisible:function(){}}};var o=n(5072),a=n.n(o),s=n(1842),c={insert:"head",singleton:!1};a()(s.A,c);s.A.locals;var l=n(4486);const d=(0,l.A)(r,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"section"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-6"},[e("h2",{domProps:{innerHTML:t._s(t.$t("shop.order_details"))}})])]),t._v(" "),t.isCompletedView||!t.isPaymentConfirmed&&!t.isSetupCompleted?e("div",{staticClass:"row order-data-col"},[e("div",{staticClass:"col-md-12 mb-2"},[e("div",{staticClass:"bg-light rounded px-4 py-3"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("generic.product"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block"},[t._v("\n                                "+t._s(t.order.product.name)+" -\n                                "),this.isVoucherOrder?[t._v("\n                                    "+t._s(this.order.option.description)+"\n                                ")]:"route_toll"===this.order.product_type?[t._v("\n                                    "+t._s(this.order.option.name)+"\n                                ")]:["string"==typeof this.order.option.displayName&&this.order.option.displayName.length?[e("span",{domProps:{innerHTML:t._s(this.order.option.displayName)}})]:[e("span",{domProps:{innerHTML:t._s(t.$t("shop.vehicle_".concat(this.order.option.vehicle_type)))}})]]],2)]),t._v(" "),t.isVoucherOrder?t._e():[t.order.dispatch_on&&!t.order.was_dispatched?e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("shop.dispatch_on"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block"},[t._v(t._s(t.order.dispatch_on_string))])]):t._e(),t._v(" "),e("div",{staticClass:"col-md-6 my-1"},[t.showEstimatedValidity||t.showEstimatedText?[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("shop.estimated_validity_start"))}})]:[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("shop.validity_start"))}})],t._v(" "),e("span",{staticClass:"h6 mt-1 d-block"},[t.showEstimatedValidity?[t._v("\n                                    "+t._s(t.order.estimated_validity_start_string)+"\n                                    "+t._s(t.order.validity_end_string?"- "+t.order.validity_end_string:"")+"\n                                ")]:[t._v("\n                                    "+t._s(t.order.validity_start_string)+"\n                                    "+t._s(t.order.validity_end_string?"- "+t.order.validity_end_string:"")+"\n                                ")]],2)],2),t._v(" "),e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("shop.license_plate_explicit_order"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block"},[t._v(t._s(t.order.license))])])],t._v(" "),e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("attributes.email"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block"},[t._v(t._s(t.order.email))])]),t._v(" "),e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("generic.price"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block"},[e("span",{class:{old:t.giftVoucherPayments.length>0}},[t._v(t._s(t.orderPrice.toFixed(2))+" €")]),t._v(" "),t.giftVoucherPayments.length>0?e("span",[t._v(t._s((t.orderPrice-t.giftVoucherPaymentsAmount).toFixed(2))+" €")]):t._e()]),t._v(" "),t._l(t.giftVoucherPayments,(function(n){return e("small",{key:n.id,staticClass:"ml-3 d-block text-success"},[t._v("\n                                "+t._s(t.$t("giftVoucher.infoAmountCredited",{amount:n.amount.toFixed(2)}))+"\n                            ")])}))],2),t._v(" "),t.isSetupCompleted&&null!==t.order.externalProductId?e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("order.externalProductId"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block"},[t._v(t._s(t.order.externalProductId))])]):t._e(),t._v(" "),t.isVoucherOrder?t._e():e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("order.registered-status"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block",class:{"text-danger":!t.successfulCompleted,"text-success":t.successfulCompleted},domProps:{innerHTML:t._s(t.$t("generic.".concat(t.successfulCompleted?"yes":"no")))}})]),t._v(" "),e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("order.payed"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block",class:{"text-danger":!t.order.is_fully_paid,"text-success":t.order.is_fully_paid},domProps:{innerHTML:t._s(t.$t("generic.".concat(t.order.is_fully_paid?"yes":"no")))}})]),t._v(" "),t.showInsurance?e("div",{class:t.order.order_insurance&&t.order.dispatch_on&&t.isPaymentConfirmed?"col-md-12 my-1":"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("order.insuranceTitle"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block"},[e("span",{class:{"text-danger":!t.order.order_insurance,"text-success":t.order.order_insurance},domProps:{innerHTML:t._s(t.$t("generic.".concat(t.order.order_insurance?"yes":"no")))}}),t._v(" "),t.isCompletedView&&t.isPaymentConfirmed?t._e():e("a",{staticClass:"btn btn-sm",class:{"btn-outline-danger":t.order.order_insurance,"btn-primary":!t.order.order_insurance},on:{click:function(e){return t.$emit("show-insurance-popup")}}},[e("span",{domProps:{innerHTML:t._s(t.$t("shop.insurance_".concat(t.order.order_insurance?"deactivate":"activate")))}})])])]):t._e(),t._v(" "),t.isFlaggedAsAutoRenew||t.order.subscription_created&&t.baseOrderActiveSubscription?e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("order.subsciptionLicensePlateTitle"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block"},[t._v("\n                                "+t._s(t.subscriptionLicense)+"\n                            ")])]):t._e(),t._v(" "),t.order.order_insurance&&t.order.dispatch_on&&t.isPaymentConfirmed&&!t.order.was_successful&&!t.order.was_dispatched?[e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("order.insuranceAbleUntilTitle"))}}),t._v(" "),e("span",{staticClass:"h6 mt-1 d-block"},[t._v(t._s(t.order.insuranceApplyAbleFormatted))])]),t._v(" "),e("div",{staticClass:"col-md-6 my-1"},[e("span",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.$t("order.cancelOrder"))}}),t._v(" "),e("a",{staticClass:"orderCancellationButton",on:{click:function(e){return t.$emit("show-cancellation-popup")}}},[e("span",{staticClass:"h6 mt-1 d-block",domProps:{innerHTML:t._s(t.$t("order.cancel_button"))}})])])]:t._e(),t._v(" "),t.isFlaggedAsAutoRenew||t.order.subscription_created&&t.baseOrderActiveSubscription?e("div",{staticClass:"col-12 my-1"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6 mt-2 mt-md-0"},[e("button",{staticClass:"btn btn-block btn-outline-primary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("order.terminateSubscriptionButton"))},on:{click:function(e){return e.preventDefault(),t.onTerminatePaymentSubscription.apply(null,arguments)}}})]),t._v(" "),e("div",{staticClass:"col-12 col-md-6 mt-2 mt-md-0"},[e("button",{staticClass:"btn btn-block btn-outline-primary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("order.subscriptionChangePlateButton"))},on:{click:function(e){return e.preventDefault(),t.onChangeLicenseSubscription.apply(null,arguments)}}})])]),t._v(" "),e("modal",{attrs:{id:"terminate-payment-subscription-modal",size:"modal-lg",centered:!0,title:t.$t("order.terminateSubscriptionTitle"),show:t.terminateSubscriptionModal.show,close:t.terminateSubscriptionModal.close,closeable:t.terminateSubscriptionModal.closable},on:{"modal-close":function(e){t.terminateSubscriptionModal.show=!1,t.terminateSubscriptionModal.close=!1},"modal-opening":function(e){t.modalIsVisible=!0},"modal-invisible":function(e){t.modalIsVisible=!1},"modal-visible":t.onModalVisible}},[e("form",{attrs:{method:"post",action:t.orderTerminateSubscriptionUrl,enctype:"multipart/form-data"},on:{submit:function(e){return e.preventDefault(),t.onTerminatePaymentSubscriptionSubmit.apply(null,arguments)}}},[e("div",{staticClass:"modal-body pt-0"},[e("div",{staticClass:"row"},[t.terminateSubscriptionResponse.show&&"string"==typeof t.terminateSubscriptionResponse.message&&t.terminateSubscriptionResponse.message.length>0?e("div",{staticClass:"col-12"},[e("div",{staticClass:"alert",class:{"alert-success":t.terminateSubscriptionResponse.success,"alert-danger":!t.terminateSubscriptionResponse.success}},[e("p",{staticClass:"mb-0"},[t._v(t._s(t.terminateSubscriptionResponse.message))])])]):t._e(),t._v(" "),t.terminateSubscriptionModal.showForm?e("div",{staticClass:"col-12"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("p",{domProps:{innerHTML:t._s(t.$t("order.terminateSubscriptionText"))}})]),t._v(" "),e("div",{staticClass:"col-12"},[e("div",{staticClass:"d-flex align-items-center justify-content-start h-checkbox"},[e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.terminateSubscriptionForm.confirmation,expression:"terminateSubscriptionForm.confirmation"}],staticClass:"checkbox",attrs:{type:"checkbox",id:"payment_subscription",name:"confirmation",required:""},domProps:{checked:Array.isArray(t.terminateSubscriptionForm.confirmation)?t._i(t.terminateSubscriptionForm.confirmation,null)>-1:t.terminateSubscriptionForm.confirmation},on:{change:function(e){var n=t.terminateSubscriptionForm.confirmation,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&t.$set(t.terminateSubscriptionForm,"confirmation",n.concat([null])):o>-1&&t.$set(t.terminateSubscriptionForm,"confirmation",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(t.terminateSubscriptionForm,"confirmation",r)}}})]),t._v(" "),e("label",{staticClass:"ml-3",attrs:{for:"payment_subscription"},domProps:{innerHTML:t._s(t.$t("order.terminateSubscriptionConfirmCheckbox"))}})])])])]):t._e()])]),t._v(" "),e("div",{staticClass:"modal-footer justify-content-end bg-light"},[t.terminateSubscriptionModal.showForm?e("button",{staticClass:"btn btn-secondary",attrs:{type:"button",disabled:t.terminateSubscriptionOngoing},domProps:{innerHTML:t._s(t.$t("generic.cancel"))},on:{click:function(e){return e.preventDefault(),t.onAbortTerminatePaymentSubscription.apply(null,arguments)}}}):t._e(),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"submit",disabled:t.terminateSubscriptionOngoing}},[t.terminateSubscriptionOngoing?e("i",{staticClass:"mdi mdi-loading mdi-spin"}):t.terminateSubscriptionModal.showForm?e("span",{domProps:{innerHTML:t._s(t.$t("order.terminateSubscriptionConfirm"))}}):e("span",{domProps:{innerHTML:t._s(t.$t("frontend.close"))}})])])]),t._v(" "),e("loading-animation",{attrs:{visible:t.terminateSubscriptionOngoing,"always-show":!1,"preloader-container-id":"","status-container-id":"","loading-text":t.$t("order.terminationOngoing")}})],1),t._v(" "),e("modal",{attrs:{id:"change-license-subscription-modal",size:"modal-lg",centered:!0,title:t.$t("order.subsciptionLicensePlateTitle"),show:t.changeLicenseSubscriptionModal.show,close:t.changeLicenseSubscriptionModal.close,closeable:t.changeLicenseSubscriptionModal.closable},on:{"modal-close":function(e){t.changeLicenseSubscriptionModal.show=!1,t.changeLicenseSubscriptionModal.close=!1},"modal-opening":function(e){t.modalIsVisible=!0},"modal-invisible":function(e){t.modalIsVisible=!1},"modal-visible":t.onModalVisible}},[e("form",{attrs:{method:"post",action:t.changeLicenseSubscriptionUrl,enctype:"multipart/form-data"},on:{submit:function(e){return e.preventDefault(),t.onChangeLicenseSubscriptionSubmit.apply(null,arguments)}}},[e("div",{staticClass:"modal-body"},[e("div",{staticClass:"row"},[t.changeLicenseSubscriptionResponse.show&&"string"==typeof t.changeLicenseSubscriptionResponse.message&&t.changeLicenseSubscriptionResponse.message.length>0?e("div",{staticClass:"col-12"},[e("div",{staticClass:"alert",class:{"alert-success":t.changeLicenseSubscriptionResponse.success,"alert-danger":!t.changeLicenseSubscriptionResponse.success}},[e("p",{staticClass:"mb-0"},[t._v("\n                                                        "+t._s(t.changeLicenseSubscriptionResponse.message)+"\n                                                    ")])])]):t._e(),t._v(" "),e("div",{staticClass:"col-12"},[e("div",{staticClass:"row"},[t.evidenceConfig?e("div",{staticClass:"col-12 mb-3"},[e("label",{staticClass:"col-form-label",attrs:{for:"evidenceCountry"}},[t._v(t._s(t.$t("shop.licensing_state")))]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.changeLicenseSubscriptionForm.country_code,expression:"changeLicenseSubscriptionForm.country_code"}],staticClass:"form-control height-auto-override",attrs:{id:"evidenceCountry",name:"country_code",required:""},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.changeLicenseSubscriptionForm,"country_code",e.target.multiple?n:n[0])}}},[e("option",{attrs:{disabled:""},domProps:{value:!1}},[t._v("\n                                                                "+t._s(t.$t("shop.dropdown_required"))+"\n                                                            ")]),t._v(" "),t._l(t.evidenceConfig.licensePlateCountries,(function(n){return e("option",{key:n.country_code,domProps:{value:n.country_code}},[t._v("\n                                                                "+t._s(t.$t("country."+n.country_code))+"\n                                                            ")])}))],2)]):t._e(),t._v(" "),null!==t.selectedLicensePlateCountry?e("div",{staticClass:"col-12 col-md-6 mb-3 mb-md-0"},[e("label",{staticClass:"col-form-label"},[t._v(t._s(t.$t("shop.license_plate")))]),t._v(" "),e("license-plate-input",{attrs:{"license-plate-country":t.selectedLicensePlateCountry,template:t.selectedLicensePlateCountry.template,required:!0,name:"license",id:"licensePlate"},model:{value:t.changeLicenseSubscriptionForm.license,callback:function(e){t.$set(t.changeLicenseSubscriptionForm,"license",e)},expression:"changeLicenseSubscriptionForm.license"}})],1):t._e(),t._v(" "),null!==t.selectedLicensePlateCountry?e("div",{staticClass:"col-12 col-md-6"},[e("label",{staticClass:"col-form-label"},[t._v(t._s(t.$t("shop.license_plate_confirm")))]),t._v(" "),e("license-plate-input",{attrs:{"license-plate-country":t.selectedLicensePlateCountry,template:t.selectedLicensePlateCountry.template,required:!0,name:"license_confirmation",id:"licensePlateConfirm"},model:{value:t.changeLicenseSubscriptionForm.license_confirmation,callback:function(e){t.$set(t.changeLicenseSubscriptionForm,"license_confirmation",e)},expression:"\n                                                                changeLicenseSubscriptionForm.license_confirmation\n                                                            "}})],1):t._e()])])])]),t._v(" "),e("div",{staticClass:"modal-footer bg-light justify-content-end"},[e("button",{staticClass:"btn btn-primary",attrs:{type:"submit",disabled:t.runningRequest}},[t.runningRequest?e("i",{staticClass:"mdi mdi-loading mdi-spin"}):e("span",{domProps:{innerHTML:t._s(t.$t("subscriptionLicensePopup.confirm"))}})])])])])],1):t._e()],2),t._v(" "),t.isCompletedView?[t.order.system_guest_order?[e("p",{staticClass:"text-muted text-sm"},[e("i",{staticClass:"mdi mdi-information-outline"}),t._v("\n                                "+t._s(t.$t("orderChange.notChangableGuestOrder"))+"\n                            ")])]:[t.isPaymentRefunded||null===t.evidenceConfig?t._e():e("order-change-buttons",{staticClass:"mb-2",attrs:{"ongoing-order-update":t.ongoingOrderUpdate,"is-transfer-of-product-enabled":t.isTransferOfProductEnabled,order:t.order,"license-plate-countries":t.evidenceConfig.licensePlateCountries,"default-license-plate-country":t.evidenceConfig.defaultLicensePlateCountry,"default-license-plate":t.order.license,"disable-change-buttons":t.disableChangeButtons},on:{"order-updated":function(e){return t.$emit("order-updated",e)}}})]]:[t.cancelOrderButtonConfig.visible?e("div",{staticClass:"col-12 cancel-order"},[e("div",{staticClass:"btn btn-block btn-no-hover",class:{"mb-3":!t.cancelOrderButtonConfig.hideButton,"d-none":!t.cancelOrderButtonConfig.showMessage,"btn-danger":t.cancelOrderButtonConfig.failed,"btn-primary":!t.cancelOrderButtonConfig.failed},domProps:{innerHTML:t._s(t.cancelOrderButtonConfig.message)}}),t._v(" "),e("button",{staticClass:"btn btn-danger btn-block",class:{"d-none":t.cancelOrderButtonConfig.hideButton},attrs:{type:"button","data-toggle":"modal","data-target":"#cancel-order-modal"},domProps:{innerHTML:t._s(t.$t("order.cancel_button"))}}),t._v(" "),t.cancelOrderButtonConfig.hideButton?t._e():e("div",{staticClass:"modal",attrs:{id:"cancel-order-modal",tabindex:"-1"}},[e("div",{staticClass:"modal-dialog modal-dialog-centered"},[e("div",{staticClass:"modal-content"},[e("div",{staticClass:"modal-body"},[e("div",{staticClass:"btn btn-danger btn-block btn-no-hover",domProps:{innerHTML:t._s(t.$t("order_cancel.confirmation_text"))}})]),t._v(" "),e("div",{staticClass:"modal-footer border-top-0 pt-0"},[e("button",{staticClass:"btn btn-danger",attrs:{type:"button","data-dismiss":"modal"},domProps:{innerHTML:t._s(t.$t("cancel_order.yes"))},on:{click:function(e){return t.$emit("cancel-button-clicked")}}}),t._v(" "),e("button",{staticClass:"btn btn-outline-primary",attrs:{type:"button","data-dismiss":"modal"},domProps:{innerHTML:t._s(t.$t("cancel_order.no"))}})])])])])]):t._e(),t._v(" "),e("loading-animation",{attrs:{visible:t.showLoadingAnimation}})]],2)])]):t._e()])])}),[],!1,null,null,null).exports;const u={props:{config:{type:[Array,Object],required:!0,default:function(){return{show:!1,service:null,token:null,id:null,orderId:null,modalText:""}}}},data:function(){return{modal:{show:!1,hide:!1,closeable:!0},ongoing:!1}},computed:{isUpdateRequired:function(){return"boolean"==typeof this.config.show&&this.config.show},hasService:function(){return"string"==typeof this.config.service&&this.config.service.length>0},updateUri:function(){return"/".concat(this.$language,"/backend/payment/subscription-update/").concat(this.config.id)}},methods:{show:function(){this.modal.hide=!1,this.modal.show=this.modal.closeable=!0},hide:function(){this.modal.closeable&&(this.modal.show=!1,this.modal.hide=!0)},onModalStatusUpdate:function(t){if(!t)return this.$el.ownerDocument.body.classList.remove("overflow-hidden"),void this.hide();this.$el.ownerDocument.body.classList.add("overflow-hidden")}},mounted:function(){var t=this;this.isUpdateRequired&&this.hasService&&this.$nextTick((function(){t.show()}))}};const p=(0,l.A)(u,(function(){var t=this,e=t._self._c;return t.isUpdateRequired&&t.hasService?e("form",{attrs:{method:"POST",enctype:"multipart/form-data",action:t.updateUri}},[e("input",{attrs:{type:"hidden",name:"_token"},domProps:{value:t.config.token}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"orderId"},domProps:{value:t.config.orderId}}),t._v(" "),e("modal",{ref:"modal",attrs:{id:"update-subscription",size:"modal-lg",title:t.$t("subscription.modalTitle"),centered:!0,scrollable:!0,show:t.modal.show,close:t.modal.hide,closeable:t.modal.closeable,"tighter-close-button":!0},on:{"modal-opening":function(e){return t.onModalStatusUpdate(!0)},"modal-close":function(e){return t.onModalStatusUpdate(!1)}}},[e("div",{staticClass:"modal-body"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.$t(t.config.modalText))}})]),t._v(" "),e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button",disabled:t.ongoing},on:{click:function(e){return e.preventDefault(),t.hide.apply(null,arguments)}}},[e("span",{domProps:{innerHTML:t._s(t.$t("frontend.abort"))}})]),t._v(" "),e("button",{staticClass:"btn btn-primary btn-sm",staticStyle:{"font-size":"1rem"},attrs:{type:"submit",disabled:t.ongoing},on:{click:function(e){t.ongoing=!0}}},[t.ongoing?e("i",{staticClass:"mdi mdi-loading mdi-spin",staticStyle:{"margin-right":"5px"}}):t._e(),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("subscription.updateBtn"))}})])])])],1):t._e()}),[],!1,null,null,null).exports;var f=n(9498),h=n(3225),m=n(9469);const v={name:"GiftVoucherBanner",inject:["giftVoucherProductUrl"],props:{giftVoucherChristmasStyle:{type:Boolean,required:!1,default:function(){return!1}}}};var g=n(3350),y={insert:"head",singleton:!1};a()(g.A,y);g.A.locals;const b=(0,l.A)(v,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"banner",class:[t.giftVoucherChristmasStyle?"christmas-banner":"normal-banner"]},[e("div",{staticClass:"heading",domProps:{innerHTML:t._s(t.$t("giftVoucher.bannerHeading"))}}),t._v(" "),e("div",{staticClass:"gift-voucher-description text-center d-mobile-none",domProps:{innerHTML:t._s(t.$t("giftVoucher.bannerDescription"))}}),t._v(" "),e("div",{staticClass:"text-right"},[e("a",{staticClass:"btn btn-primary font-weight-normal",attrs:{href:t.giftVoucherProductUrl}},[t._v("\n            "+t._s(t.$t("shop.buynow"))+"\n        ")])])])}),[],!1,null,"5036a4c0",null).exports;function _(t){return _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_(t)}const w={components:{BirthdayVoucherPopup:n(6140).A,GiftVoucherBanner:b,InsurancePopup:f.A,CancelOrderPopup:h.A,OrderDetails:d,UpdateSubscriptionPopup:p,TrustpilotPopup:m.A},provide:function(){return{isVoucherOrder:this.isVoucherOrder,giftVoucherPayments:this.giftVoucherPayments,giftVoucherProductUrl:this.giftVoucherProductUrl}},beforeDestroy:function(){"object"===("undefined"==typeof Echo?"undefined":_(Echo))&&"function"==typeof Echo.leave&&(Echo.leave("orders."+this.order.hash.replace(/-/g,"_")),Echo.leave("orders.delayed.setup"))},mounted:function(){var t=this,e="orders."+this.order.hash.replace(/-/g,"_");this.waitingForConfirmation.show&&(this.updateWaitingForConfirmationSeconds(this.waitingForConfirmation.secondsToWait),this.waitingIntervalId=setInterval((function(){t.updateWaitingForConfirmationSeconds(t.waitingSecondsLeft-1)}),1e3)),window.loadScript(this.echoScriptSource,(function(){Echo.private(e).listen("OrderUpdated",(function(e){null!==e.orderChanges&&(t.order=Object.assign(t.order,e.orderChanges)),null!==e.paymentChanges&&(t.payment=Object.assign(t.payment,e.paymentChanges))})).listen("DelayedPaymentConfirmation",(function(){-1===t.waitingIntervalId&&(clearInterval(t.waitingIntervalId),t.waitingIntervalId=-1),window.location.href=location.href})),Echo.channel("orders.delayed.setup").listen(".status.updated",(function(e){t.delayedOrderNoticeStatus=e.status}))})),"object"===_(this.order)&&null!==this.order&&void 0!==this.order.country_code&&(this.payerCountry=this.order.country_code||""),this.$nextTick((function(){var e=null;t.$refs.paymentRow?e=t.getScrollTop("paymentRow"):t.$refs.orderDownloadRow&&(e=t.getScrollTop("orderDownloadRow")),null!==e&&e>0&&setTimeout((function(){window.scrollTo(0,e)}),50)}))},props:["shopAdverts","subscriptionLicense","baseOrderActiveSubscription","initialPayment","initialOrder","invoiceDownloadUrl","confirmationDownloadUrl","cancelOrderButton","cancelOrderUrl","revokeAbleByCustomer","evidenceConfig","paymentMethods","csrfToken","isTransferOfProductEnabled","walletFileDownloadUrl","setupPopupConfig","birthdayVoucherConfig","cancelOrderConfig","insuranceConfig","trustpilotConfig","conversionTrackedUrl","bingConversionTrackedUrl","cartConversionTrackedUrl","sklikConversionId","revocationUrl","orderInvoiceUpdateUrl","hideRouteTollProducts","initialDelayedOrderNoticeStatus","ongoingOrderUpdate","echoScriptSource","orderTerminateSubscriptionUrl","changeLicenseSubscriptionUrl","hasPaymentSubscription","waitingForConfirmation","guestOrders","disableChangeButtons","paymentFailureMessage","disablePaymentMethod","updateSubscriptionConfig","giftVoucherPayments","giftVoucherProductUrl","giftVoucherChristmasStyle"],data:function(){return{updatedPayment:null,updatedOrder:null,sendingRequest:!1,paymentMethod:null,paymentMethodSelectionAvailable:!0,hideCancelOrderButton:!1,cancelOrderShowMessage:!1,cancelOrderFailed:!1,cancelOrderMessage:"",showLoadingAnimation:!1,showBirthdayVoucherPopup:this.birthdayVoucherConfig.showPopup,payerCountry:"",delayedOrderNoticeStatus:"boolean"==typeof this.initialDelayedOrderNoticeStatus&&this.initialDelayedOrderNoticeStatus,waitingIntervalId:-1,waitingSecondsLeft:0,waitingFormatted:"00:00:00"}},computed:{orderPrice:function(){var t="number"==typeof this.order.dunning_fee?this.order.dunning_fee:0;return this.order.price+t},unpaidOrderPrice:function(){return this.order.unpaid_amount},wasDispatched:function(){return void 0!==this.order.was_dispatched&&-1!==["true",!0,"1",1].indexOf(this.order.was_dispatched)},finished:function(){return null!==this.order.was_successful&&-1!==[!0,"true",1,"1"].indexOf(this.order.was_successful)||this.wasDispatched&&null!==this.order.was_successful},order:{get:function(){return null!==this.updatedOrder?this.updatedOrder:this.initialOrder},set:function(t){this.updatedOrder=t}},payment:{get:function(){return null!==this.updatedPayment?this.updatedPayment:this.initialPayment},set:function(t){this.updatedPayment=t}},isPaymentConfirmed:function(){return!(!this.payment||this.isPaymentRefunded||!this.payment.succeeded&&!this.payment.is_confirmed)},isPaymentRefunded:function(){return this.payment&&(this.payment.was_refunded||this.payment.wasRefunded||!1)},isSetupCompleted:function(){var t;return null!==(t=null!==this.order.was_successful&&this.order.was_successful)&&void 0!==t&&t},orderFullyPaid:function(){return this.order.is_fully_paid},isCurrentPreorder:function(){return!("boolean"!=typeof this.order.is_preorder||!this.order.is_preorder)&&this.order.validity_start===this.order.product.preorder_validity_from},productIsInPreorderMode:function(){return!("boolean"!=typeof this.order.product.is_preorder||!this.order.product.is_preorder)},productPreorderNotice:function(){return this.isCurrentPreorder?this.order.product.preorder_notice:null},success:function(){return this.finished&&this.order.was_successful},cartConversionTracking:function(){var t=this;return!(this.order.canceled||this.order.cart_conversion_tracked||this.isPaymentConfirmed)&&(Vue.nextTick().then((function(){t.getCartConversionTracking})),!0)},getCartConversionTracking:function(){if(!this.order.cart_conversion_tracked){this.order.cart_conversion_tracked=!0,this.setOrderTrackingFlag("cart");var t=document.createElement("script");t.type="text/javascript",t.text="let cartTracked = false; document.addEventListener('cart.loaded', function() { if (cartTracked) { return; }cartTracked = true; console.log('track the cart for bing..');window.uetq = window.uetq || [];window.uetq.push('event', 'add_to_cart', {});});";for(var e=document.querySelectorAll("#order-cart-conversion script"),n=0;n<e.length;n++)e[n].remove();document.querySelector("#order-cart-conversion").append(t);var i=setInterval((function(){void 0!==window.uetq&&(clearInterval(i),document.dispatchEvent(new Event("cart.loaded")))}),100)}},bingConversionTracking:function(){var t=this;return!(this.order.canceled||this.order.bing_conversion_tracked||!this.isPaymentConfirmed||this.isPaymentRefunded)&&(Vue.nextTick().then((function(){t.getBingConversionTrackingCode})),!0)},getBingConversionTrackingCode:function(){if(!this.order.bing_conversion_tracked){this.order.bing_conversion_tracked=!0,this.setOrderTrackingFlag("bing");var t=document.createElement("script");t.type="text/javascript",t.text='let bingTracked = false; document.addEventListener(\'bing.loaded\', function() { if (bingTracked) { return; }bingTracked = true; console.log(\'track the order for bing..\');window.uetq = window.uetq || [];window.uetq.push("event", "purchase", {});window.uetq.push("event","PRODUCT_PURCHASE",{"ecomm_prodid": "'+this.order.product_type+"-"+this.order.option_id+'","ecomm_pagetype":"PURCHASE"});var conversionConf = {id: '+this.sklikConversionId+",value: 230}; console.log('track the order for sklik ...');if (window.rc && window.rc.conversionHit) {window.rc.conversionHit(conversionConf);}});";for(var e=document.querySelectorAll("#order-bing-conversion script"),n=0;n<e.length;n++)e[n].remove();document.querySelector("#order-bing-conversion").append(t);var i=setInterval((function(){void 0!==window.uetq&&(clearInterval(i),document.dispatchEvent(new Event("bing.loaded")))}),100)}},conversionTracking:function(){var t=this;return!(this.order.canceled||this.order.conversion_tracked||!this.isPaymentConfirmed||this.isPaymentRefunded)&&(Vue.nextTick().then((function(){t.getConversionTrackingCode})),!0)},getConversionTrackingCode:function(){if(!this.order.conversion_tracked){this.order.conversion_tracked=!0,this.setOrderTrackingFlag("google");var t="";switch(this.order.product_type){case"vignette":t="vignette - "+this.order.product.duration+(this.order.product.is_month_duration?" Monat(e)":" Tage")+" - "+this.order.option.vehicle_type;break;case"route_toll":t="route-toll - "+this.order.product.tracking_identifier+" - "+this.order.option.tracking_identifier}var e=document.createElement("script");e.type="text/javascript",e.text="let tracked = false; document.addEventListener('gtag.loaded', function() { if (tracked) { return; }tracked = true; console.log('track the order..');gtag('event', 'purchase', {\"transaction_id\": '"+this.order.id+"',\"value\": '"+this.orderPrice.toFixed(2)+'\',"currency": \'EUR\',"tax": \'0\',"shipping": \'0\',"items": [{"id": \''+this.order.product_type+"-"+this.order.option_id+"',\"name\": '"+t+"',\"category\": '"+this.order.product_type+'\',"quantity": 1,}]})});';for(var n=document.querySelectorAll("#order-conversion script"),i=0;i<n.length;i++)n[i].remove();document.querySelector("#order-conversion").append(e);var r=setInterval((function(){"function"==typeof window.gtag&&(clearInterval(r),r=-1,document.dispatchEvent(new Event("gtag.loaded")))}),100)}},isVoucherOrder:function(){return"voucher_order"===this.order.type}},methods:{updateWaitingForConfirmationSeconds:function(t){this.waitingSecondsLeft=t;var e=Math.floor(t/3600),n=Math.floor((t-3600*e)/60),i=Math.floor(t-3600*e-60*n),r=[];e>0&&r.push((e>9?"":"0")+e),n>0&&r.push((n>9?"":"0")+n),i>0&&r.push((i>9?"":"0")+i),this.waitingFormatted=r.join(":"),t<=0&&-1!==this.waitingIntervalId&&(clearInterval(this.waitingIntervalId),this.waitingIntervalId=-1,window.location.href=location.href)},convertRemToPixels:function(t){return t*parseFloat(getComputedStyle(document.documentElement).fontSize)},getScrollTop:function(t){return this.$refs[t]?this.$refs[t].getBoundingClientRect().top+window.pageYOffset-window.innerHeight/2:null},changeSendingRequest:function(t){this.sendingRequest=t},handleTrustpilotPopup:function(){this.$refs.trustpilotPopup.showModal()},setOrderTrackingFlag:function(t){var e,n=this,i="";switch(t){case"bing":e=this.bingConversionTrackedUrl,i="bing_";break;case"cart":e=this.cartConversionTrackedUrl,i="cart_";break;case"google":e=this.conversionTrackedUrl}axios.post(e).then((function(t){t.data.success&&(n.order[i+"conversion_tracked"]=!0)}))},cancelOrder:function(){var t=this;this.cancelOrderButton&&(this.cancelOrderShowMessage=!1,this.cancelOrderMessage="",this.cancelOrderFailed=!1,this.showLoadingAnimation=!0,axios.post(this.cancelOrderUrl).then((function(e){t.cancelOrderMessage=e.data.message,e.data.success?(t.hideCancelOrderButton=!0,setTimeout((function(){window.location.href=e.data.redirect}),e.data.wait||0)):t.cancelOrderFailed=!0,t.cancelOrderShowMessage=!0})).finally((function(){t.showLoadingAnimation=!1})))}}};var C=n(1312),k={insert:"head",singleton:!1};a()(C.A,k);C.A.locals;const x=(0,l.A)(w,(function(){var t=this,e=t._self._c;return e("section",{staticClass:"order-container"},[!t.isPaymentConfirmed||t.isSetupCompleted&&t.isPaymentRefunded||!t.orderFullyPaid?e("section",{staticClass:"section"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-6"},[e("h2",[t._v(t._s(t.$t("shop.pay_now")))])])]),t._v(" "),t.paymentFailureMessage?e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"alert alert-danger",domProps:{innerHTML:t._s(t.paymentFailureMessage)}})])]):t._e(),t._v(" "),e("div",{ref:"paymentRow",staticClass:"row order-not-payed-row"},[e("div",{staticClass:"col-md-12 mb-2 payment-col"},[e("order-payment",{attrs:{payment:t.payment,"csrf-token":t.csrfToken,order:t.order,price:t.order.price,"payment-methods":t.paymentMethods,countries:t.evidenceConfig.licensePlateCountries,"default-country":t.payerCountry,"is-performing-request":t.sendingRequest,"order-invoice-update-url":t.orderInvoiceUpdateUrl,"is-waiting-for-confirmation":t.waitingForConfirmation.show,"waiting-for-confirmation-time":t.waitingFormatted,"guest-orders":t.guestOrders,"disable-payment-method":t.disablePaymentMethod},on:{"terminate-subscription":function(e){return t.$refs.orderDetails.onTerminatePaymentSubscription()}}})],1)])])]):t._e(),t._v(" "),!t.isPaymentConfirmed&&!t.isSetupCompleted||t.isSetupCompleted&&t.isPaymentRefunded?e("order-details",{ref:"orderDetails",attrs:{order:t.order,"order-price":t.orderPrice,"unpaid-order-price":t.unpaidOrderPrice,"is-payment-confirmed":t.isPaymentConfirmed,"is-setup-completed":t.isSetupCompleted,"is-payment-refunded":t.isPaymentRefunded,"show-loading-animation":t.showLoadingAnimation,"successful-completed":t.success,"base-order-active-subscription":t.baseOrderActiveSubscription,"subscription-license":t.subscriptionLicense,"is-completed-view":!1,"ongoing-order-update":t.ongoingOrderUpdate,"cancel-order-button-config":{visible:t.cancelOrderButton,hideButton:t.hideCancelOrderButton,showMessage:t.cancelOrderShowMessage,failed:t.cancelOrderFailed,message:t.cancelOrderMessage},"order-terminate-subscription-url":t.orderTerminateSubscriptionUrl,"change-license-subscription-url":t.changeLicenseSubscriptionUrl,"has-payment-subscription":t.hasPaymentSubscription,"evidence-config":t.evidenceConfig,"disable-change-buttons":!1,"insurance-config":t.insuranceConfig},on:{"cancel-button-clicked":t.cancelOrder,"show-insurance-popup":function(e){return t.$refs.insurancePopup.showModal()}}}):t._e(),t._v(" "),t.isPaymentConfirmed&&t.orderFullyPaid||t.isSetupCompleted&&!t.isPaymentRefunded?e("section",{staticClass:"section"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row mb-4"},[e("div",{staticClass:"col"},[e("GiftVoucherBanner",{attrs:{"gift-voucher-christmas-style":t.giftVoucherChristmasStyle}})],1)]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-10"},[t.isVoucherOrder?e("h2",{directives:[{name:"t",rawName:"v-t",value:"giftVoucher.boughtSuccessful",expression:"'giftVoucher.boughtSuccessful'"}]}):e("h2",[t.order.dispatch_on?e("span",[t._v("\n                            "+t._s(t.$t("shop.order_insurance_successful",{setup_date:t.order.dispatch_on_string}))+"\n                        ")]):e("span",[t._v("\n                            "+t._s(t.$t("shop.order_download"))+"\n                        ")])])])]),t._v(" "),e("div",{ref:"orderDownloadRow",staticClass:"row"},[e("div",{staticClass:"col-lg-12 mb-2 padding-reset-desktop"},[t.isSetupCompleted?e("div",{staticClass:"status-text mb-3 col-md-12 container-mobile-reset"},[e("icon-text-container",{scopedSlots:t._u([{key:"icon",fn:function(){return[t.success?e("i",{staticClass:"mdi mdi-check status-icon status-icon-success"}):e("i",{staticClass:"mdi mdi-window-close status-icon status-icon-fail"})]},proxy:!0}],null,!1,3596432969)},[t._v(" "),t.success?e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center"},[t._v("\n                                "+t._s(t.$t("shop.success"))+"\n                            ")]):e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center"},[t._v(t._s(t.$t("shop.fail")))]),t._v(" "),t.success?e("span",{staticClass:"text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("order.is_registered_status_text"))}}):e("span",{staticClass:"text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("order.is_not_registered_status_text"))}})])],1):t._e(),t._v(" "),t.isPaymentConfirmed||t.isSetupCompleted?e("div",{staticClass:"payment-success-col"},[t.order.dispatch_on&&!t.order.was_dispatched?e("div",{staticClass:"order-dispatch-later"},[e("div",{staticClass:"col-md-12"},[e("icon-text-container",{scopedSlots:t._u([{key:"icon",fn:function(){return[e("i",{staticClass:"mdi mdi-exclamation status-icon status-icon-warning"})]},proxy:!0}],null,!1,2983997989)},[t._v(" "),e("div",{staticClass:"h-100 align-items-center"},[e("span",{staticClass:"page-title text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("order.in-progress-on-date",{dispatch_date:t.order.dispatch_on_string}))}})])])],1)]):!t.finished&&!t.delayedOrderNoticeStatus&&!t.isSetupCompleted||t.order.retry_count>=2&&!t.delayedOrderNoticeStatus&&!t.isSetupCompleted||1===t.order.retry_count&&t.delayedOrderNoticeStatus&&!t.isSetupCompleted||0===t.order.retry_count&&t.delayedOrderNoticeStatus&&!t.isSetupCompleted?e("div",{staticClass:"order-not-finished"},[t.isCurrentPreorder&&null!==t.productPreorderNotice&&""!==t.productPreorderNotice?e("div",{staticClass:"col-md-12"},[e("icon-text-container",{scopedSlots:t._u([{key:"icon",fn:function(){return[e("i",{staticClass:"mdi mdi-exclamation status-icon status-icon-warning"})]},proxy:!0}],null,!1,2983997989)},[t._v(" "),e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center"}),t._v(" "),e("span",{staticClass:"text-quote mobile-text-center",domProps:{innerHTML:t._s(t.productPreorderNotice)}})])],1):!t.isVoucherOrder&&t.order.popup_confirmed?e("div",{staticClass:"col-md-12 padding-reset-loader-desktop"},[e("div",{staticClass:"bg-light rounded p-3 px-4 py-3"},[t.order.retry_count<2?e("div",{staticClass:"text-center"},[t._v(t._s(t.$t("order.in-progress")))]):t.order.retry_count>=2&&!t.delayedOrderNoticeStatus?e("div",{staticClass:"text-center"},[t._v(t._s(t.$t("order.in-progress-second")))]):t._e(),t._v(" "),t.order.retry_count<2?e("loading-animation",{attrs:{"preloader-container-id":"","status-container-id":"","horizontal-centered":!0,visible:!0}}):t._e()],1)]):t.isVoucherOrder||t.order.popup_confirmed?t.isVoucherOrder?e("div",{staticClass:"col-md-12 padding-reset-loader-desktop"},[e("icon-text-container",{scopedSlots:t._u([{key:"icon",fn:function(){return[e("i",{staticClass:"mdi mdi-check status-icon status-icon-success"})]},proxy:!0}],null,!1,912715401)},[t._v(" "),e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center"},[t._v("\n                                        "+t._s(t.$t("giftVoucher.success"))+"\n                                    ")]),t._v(" "),e("span",{staticClass:"text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("giftVoucher.successText"))}})])],1):t._e():e("div",{staticClass:"col-md-12 padding-reset-loader-desktop"},[e("div",{staticClass:"bg-light rounded p-3 px-4 py-3"},[e("div",{staticClass:"text-center"},[t._v(t._s(t.$t("order.awaiting-confirmation")))]),t._v(" "),e("loading-animation",{attrs:{"preloader-container-id":"","status-container-id":"","horizontal-centered":!0,visible:!0}})],1)])]):e("div",{staticClass:"order-info"},[t.order.was_successful?e("div",{staticClass:"order-was-successful"},[e("div",{staticClass:"row align-items-center no-margin"},[e("div",{staticClass:"col-md-12 text-center container-mobile-reset"},[e("div",{staticClass:"bg-light rounded px-4 py-3"},[e("span",{staticClass:"text-quote"},[t._v(t._s(t.$t("shop.order_summary")))]),t._v(" "),e("h4",{staticClass:"mt-2"},[t._v(t._s(t.order.product.name))]),t._v(" "),e("p",{staticClass:"mt-2 mb-0"},[t._v(t._s(t.$t("generic.price")))]),t._v(" "),e("h2",{staticClass:"mb-2 reset-price"},[t._v(t._s(t.orderPrice.toFixed(2))+" €")]),t._v(" "),e("img",{staticClass:"mw-100",attrs:{src:"/"+t.order.barcode_path,alt:"Vignette Barcode"}}),t._v(" "),e("div",{staticClass:"mt-3"},[t.order.invoice_wanted?e("a",{staticClass:"btn btn-sm btn-primary my-1",staticStyle:{"font-size":"1rem"},attrs:{href:t.invoiceDownloadUrl,target:"_blank"}},[e("i",{staticClass:"mdi mdi-download mr-1"}),t._v("\n                                                    "+t._s(t.$t("order.download-invoice"))+"\n                                                ")]):t._e(),t._v(" "),e("a",{staticClass:"btn btn-sm btn-primary my-1",staticStyle:{"font-size":"1rem"},attrs:{href:t.confirmationDownloadUrl,target:"_blank"}},[e("i",{staticClass:"mdi mdi-download mr-1"}),t._v("\n                                                    "+t._s(t.$t("order.download-confirmation"))+"\n                                                ")]),t._v(" "),"string"==typeof t.order.wallet_filename&&t.order.wallet_filename.length?e("a",{staticClass:"btn btn-sm btn-primary my-1",staticStyle:{"font-size":"1rem"},attrs:{href:t.walletFileDownloadUrl,target:"_blank"}},[e("i",{staticClass:"mdi mdi-download mr-1"}),t._v("\n                                                    "+t._s(t.$t("order.downloadWallet"))+"\n                                                ")]):t._e()])])])])]):t.delayedOrderNoticeStatus&&!t.order.was_successful&&t.order.retry_count>=3?e("div",{staticClass:"order-has-error"},[e("div",{staticClass:"alert alert-danger mb-0"},[e("i",{staticClass:"mdi mdi-alert-circle"}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("order.finish-notice-error"))}})])]):t._e(),t._v(" "),t.delayedOrderNoticeStatus&&2===t.order.retry_count&&!t.order.was_successful?e("div",{staticClass:"mb-0 order-has-error"},[e("div",{staticClass:"alert alert-warning mb-0"},[e("i",{staticClass:"mdi mdi-alert-circle"}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("order.delayedSetup"))}})])]):t._e()])]):t._e()])])])]):t._e(),t._v(" "),!this.order.canceled&&this.isPaymentConfirmed&&!this.isPaymentRefunded&&!1!==t.order.was_successful&&t.trustpilotConfig.enabled?e("section",{staticClass:"section"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12"},[e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center text-center"},[t.trustpilotConfig.cashbackEnabled?[t._v("\n                            "+t._s(t.$t("order.trustpilotTitle"))+"\n                        ")]:[t._v("\n                            "+t._s(t.$t("order.trustpilotTitleWithoutCashback"))+"\n                        ")]],2)])]),t._v(" "),e("div",{staticClass:"mt-3 row"},[e("div",{staticClass:"col-12 col-sm-12 col-md-12 col-lg-6 mx-auto"},[e("div",{staticClass:"bg-light rounded px-4 py-3 border-primary align-items-center"},[t.trustpilotConfig.cashbackEnabled?e("div",{staticClass:"row mb-2"},[e("div",{staticClass:"col-12"},[t._v("\n                                "+t._s(t.$t("order.trustpilotText"))+"\n                            ")])]):t._e(),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-sm-12 col-md-6 trustpilot-btn-overlay"},[t.trustpilotConfig.cashbackEnabled?e("button",{staticClass:"btn btn-primary btn-block",on:{click:function(e){return e.preventDefault(),t.handleTrustpilotPopup.apply(null,arguments)}}},[t._v("\n                                    "+t._s(t.$t("order.trustpilotButton"))+"\n                                ")]):e("a",{staticClass:"btn btn-primary btn-block",attrs:{href:t.$t("trustpilot.homepageUrl"),target:"_blank"}},[t._v("\n                                    "+t._s(t.$t("order.trustpilotButton"))+"\n                                ")])]),t._v(" "),t._m(0)])])])])])]):t._e(),t._v(" "),t.shopAdverts.length>0?e("section",{staticClass:"section"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12"},[e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center"},[t._v("\n                        "+t._s(t.$t("shop.advert_title"))+"\n                    ")]),t._v(" "),e("span",{staticClass:"text-quote mobile-text-center"},[t._v("\n                        "+t._s(t.$t("shop.advert_description"))+"\n                    ")])])]),t._v(" "),e("div",{staticClass:"mt-3 row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"bg-light rounded px-4 py-3"},[e("div",{staticClass:"row"},t._l(t.shopAdverts,(function(n,i){return e("div",{key:n.language_line_shop_name,class:t.shopAdverts.length>1?1===i?"col-md-6 mt-md-0 mt-3":i>1?"col-md-6 mt-md-3 mt-3":"col-md-6":"col-md-12 text-center"},[t.shopAdverts.length>1?[e("div",{staticClass:"row"},[e("div",{staticClass:"col-3 col-md-4 text-right mobile-shop-adverts-text"},[e("a",{attrs:{target:"_blank",href:n.url}},[e("img",{attrs:{width:"40",height:"24",src:n.file,alt:t.$t(n.language_line_shop_name)}})])]),t._v(" "),e("div",{staticClass:"col-9 col-md-8 text-left"},[e("span",{staticClass:"text-quote mobile-shop-adverts-text"},[e("a",{attrs:{target:"_blank",href:n.url+"/"+t.$language},domProps:{innerHTML:t._s(t.$t(n.language_line_shop_name))}})])])])]:[e("img",{attrs:{width:"40",height:"24",src:n.file,alt:t.$t(n.language_line_shop_name)}}),t._v(" "),e("span",{staticClass:"text-quote mobile-shop-adverts-text"},[e("a",{attrs:{target:"_blank",href:n.url+"/"+t.$language},domProps:{innerHTML:t._s(t.$t(n.language_line_shop_name))}})])]],2)})),0)])])])])]):t._e(),t._v(" "),t.isVoucherOrder?t._e():e("section",{staticClass:"section"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[t.cartConversionTracking?e("div",{staticClass:"cart-conversion-tracking-container"},[e("div",{attrs:{id:"order-cart-conversion"}})]):t._e(),t._v(" "),t.bingConversionTracking?e("div",{staticClass:"bing-conversion-tracking-container"},[e("div",{attrs:{id:"order-bing-conversion"}})]):t._e(),t._v(" "),t.evidenceConfig.show?e("div",{staticClass:"col-md-6"},[t.isPaymentConfirmed||t.isSetupCompleted?e("section",[e("div",{staticClass:"container-mobile-reset"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12 padding-reset-headline-desktop"},[e("h2",[t._v(t._s(t.$t("shop.order_check")))])])]),t._v(" "),e("div",{staticClass:"row payment-success-col"},[e("div",{staticClass:"col-md-12 mb-2 container-mobile-reset"},[e("div",{staticClass:"bg-light rounded p-3"},[e("evidence-container",{attrs:{"show-order-buttons":t.evidenceConfig.showOrderButtons,"license-plate-countries":t.evidenceConfig.licensePlateCountries,"route-toll-urls":t.evidenceConfig.routeTollUrls,"default-license-plate-country":t.evidenceConfig.defaultLicensePlateCountry,"default-license-plate":t.order.license,"small-license-plate":!1,"hide-route-toll-products":t.hideRouteTollProducts}})],1)])])])]):t._e()]):t._e(),t._v(" "),"boolean"==typeof t.hideRouteTollProducts&&t.hideRouteTollProducts?t._e():e("div",{staticClass:"col-md-6"},[(t.isPaymentConfirmed||t.isSetupCompleted)&&"vignette"===t.order.product_type?e("section",[e("div",{staticClass:"container-mobile-reset"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12 padding-reset-headline-desktop"},[e("h2",{staticClass:"reset-margin"},[t._v(t._s(t.$t("shop.routetoll_maybe_required")))])])]),t._v(" "),e("div",{staticClass:"row route-toll-warning-col"},[e("div",{staticClass:"col-md-12 mb-2"},[e("icon-text-container",{scopedSlots:t._u([{key:"icon",fn:function(){return[e("i",{staticClass:"mdi mdi-exclamation status-icon status-icon-warning"})]},proxy:!0}],null,!1,2983997989)},[t._v(" "),e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center"},[t._v("\n                                            "+t._s(t.$t("shop.attention_route_toll"))+"\n                                        ")]),t._v(" "),e("span",{staticClass:"d-block text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("shop.routetoll_maybe_required_description"))}}),t._v(" "),e("a",{staticClass:"btn btn-primary mt-4",attrs:{href:t.$t("frontend.tollcalculator_url"),target:"_blank"}},[t._v(t._s(t.$t("shop.check_now")))])])],1)])])]):t._e()])])]),t._v(" "),t.conversionTracking?e("div",{staticClass:"conversion-tracking-container"},[e("div",{attrs:{id:"order-conversion"}})]):t._e()]),t._v(" "),t.isPaymentConfirmed||t.isSetupCompleted?e("order-details",{attrs:{order:t.order,"order-price":t.orderPrice,"unpaid-order-price":t.unpaidOrderPrice,"is-payment-confirmed":t.isPaymentConfirmed,"is-setup-completed":t.isSetupCompleted,"base-order-active-subscription":t.baseOrderActiveSubscription,"subscription-license":t.subscriptionLicense,"is-payment-refunded":t.isPaymentRefunded,"show-loading-animation":t.showLoadingAnimation,"successful-completed":t.success,"is-completed-view":!0,"is-transfer-of-product-enabled":t.isTransferOfProductEnabled,"ongoing-order-update":t.ongoingOrderUpdate,"evidence-config":t.evidenceConfig,"order-terminate-subscription-url":t.orderTerminateSubscriptionUrl,"change-license-subscription-url":t.changeLicenseSubscriptionUrl,"has-payment-subscription":t.hasPaymentSubscription,"disable-change-buttons":t.disableChangeButtons},on:{"order-updated":function(e){t.order=e},"show-cancellation-popup":function(e){return t.$refs.cancelOrderPopup.showModal()}}}):t._e(),t._v(" "),t.order.invoice_wanted?e("section",{staticClass:"section"},[e("div",{staticClass:"container"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-6"},[e("h2",[t._v(t._s(t.$t("shop.invoice_details")))])])]),t._v(" "),e("div",{staticClass:"row invoice-col"},[e("div",{staticClass:"col-md-12 mb-2"},[e("div",{staticClass:"bg-light rounded px-4 py-3"},[e("table",{staticClass:"table table-borderless table-sm mb-0"},[e("tbody",[e("tr",[e("td",{staticClass:"label"},[t._v(t._s(t.$t("shop.first_name")))]),t._v(" "),t.order.first_name?e("td",{staticClass:"value text-right"},[t._v(t._s(t.order.first_name))]):t.order.paypal_first_name?e("td",{staticClass:"value text-right"},[t._v("\n                                    "+t._s(t.order.paypal_first_name)+"\n                                ")]):e("td",{staticClass:"value text-right"},[t._v("–")])]),t._v(" "),e("tr",[e("td",{staticClass:"label"},[t._v(t._s(t.$t("shop.last_name")))]),t._v(" "),t.order.last_name?e("td",{staticClass:"value text-right"},[t._v(t._s(t.order.last_name))]):t.order.paypal_last_name?e("td",{staticClass:"value text-right"},[t._v("\n                                    "+t._s(t.order.paypal_last_name)+"\n                                ")]):e("td",{staticClass:"value text-right"},[t._v("–")])]),t._v(" "),e("tr",[e("td",{staticClass:"label"},[t._v(t._s(t.$t("shop.street")))]),t._v(" "),t.order.street?e("td",{staticClass:"value text-right"},[t._v(t._s(t.order.street))]):e("td",{staticClass:"value text-right"},[t._v("–")])]),t._v(" "),e("tr",[e("td",{staticClass:"label"},[t._v(t._s(t.$t("shop.house_number")))]),t._v(" "),t.order.house?e("td",{staticClass:"value text-right"},[t._v(t._s(t.order.house))]):e("td",{staticClass:"value text-right"},[t._v("–")])]),t._v(" "),e("tr",[e("td",{staticClass:"label"},[t._v(t._s(t.$t("shop.postcode")))]),t._v(" "),t.order.postcode?e("td",{staticClass:"value text-right"},[t._v(t._s(t.order.postcode))]):e("td",{staticClass:"value text-right"},[t._v("–")])]),t._v(" "),e("tr",[e("td",{staticClass:"label"},[t._v(t._s(t.$t("shop.city")))]),t._v(" "),t.order.city?e("td",{staticClass:"value text-right"},[t._v(t._s(t.order.city))]):e("td",{staticClass:"value text-right"},[t._v("–")])])])])])])])])]):t._e(),t._v(" "),e("order-revocation",{attrs:{"order-completed":t.isSetupCompleted,"button-visible":t.revokeAbleByCustomer,order:t.order,"revocation-url":t.revocationUrl,"invoice-download-url":t.invoiceDownloadUrl}}),t._v(" "),e("birthday-voucher-popup",{ref:"birthdayVoucherPopup",attrs:{order:t.order,"birthday-voucher-config":t.birthdayVoucherConfig,"is-payment-confirmed":t.isPaymentConfirmed,"show-popup":t.showBirthdayVoucherPopup}}),t._v(" "),e("order-setup-popup",{attrs:{config:t.setupPopupConfig,order:t.order,"license-plate-countries":t.evidenceConfig.licensePlateCountries,"default-license-plate-country":t.evidenceConfig.defaultLicensePlateCountry}}),t._v(" "),t.insuranceConfig.enabled?e("insurance-popup",{ref:"insurancePopup",attrs:{"is-payment-confirmed":t.isPaymentConfirmed,"insurance-config":t.insuranceConfig,order:t.order}}):t._e(),t._v(" "),e("cancel-order-popup",{ref:"cancelOrderPopup",attrs:{"is-payment-confirmed":t.isPaymentConfirmed,"cancel-order-config":t.cancelOrderConfig,order:t.order}}),t._v(" "),t.trustpilotConfig.enabled?e("trustpilot-popup",{ref:"trustpilotPopup",attrs:{"csrf-token":t.csrfToken,"is-payment-confirmed":t.isPaymentConfirmed,"trustpilot-config":t.trustpilotConfig,order:t.order}}):t._e(),t._v(" "),e("UpdateSubscriptionPopup",{attrs:{config:t.updateSubscriptionConfig}})],1)}),[function(){var t=this._self._c;return t("div",{staticClass:"col-12 col-sm-12 col-md-6"},[t("img",{staticClass:"trustpilot-img",attrs:{src:"/assets/img/trustpilot_logo.png",alt:"Trustpilot"}})])}],!1,null,"00322e7c",null).exports},6140:(t,e,n)=>{"use strict";n.d(e,{A:()=>p});function i(t,e,n){var i;return i=function(t,e){if("object"!=a(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==a(i)?i:i+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,o,a,s=[],c=!0,l=!1;try{if(o=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(i=o.call(n)).done)&&(s.push(i.value),s.length!==e);c=!0);}catch(t){l=!0,r=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(l)throw r}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}const s={props:{isPaymentConfirmed:{type:Boolean,required:!0},birthdayVoucherConfig:{type:Object,required:!0,default:function(){return{submitUri:null,maxDate:null,showPopup:!1}}},order:{type:Object,required:!0}},data:function(){return{email:this.order.email,birthday:null,birthdayVoucherModal:{show:!1,hide:!1,closeable:!0},formStyle:{height:"100%"},bodyStyle:{height:"100%"},formErrors:{},runningRequest:!1,response:{show:!1,success:!1,message:null}}},computed:{shouldBeVisible:function(){return this.isPaymentConfirmed&&this.birthdayVoucherConfig.showPopup}},methods:{showModal:function(){return this.birthdayVoucherModal.show=!0,this.birthdayVoucherModal.hide=!1,this.birthdayVoucherModal.closeable=!0,this},hideModal:function(){return this.birthdayVoucherModal.show=!1,this.birthdayVoucherModal.hide=!0,this.birthdayVoucherModal.closeable=!0,this},resetModal:function(){this.hideModal(),this.runningRequest=!1,this.response.show=!1,this.response.success=!1,this.response.message=null},onModalOpening:function(){this.$el.ownerDocument.body.classList.add("overflow-hidden")},onModalClosing:function(){this.$el.ownerDocument.body.classList.remove("overflow-hidden"),this.onExitSubmit(),this.hideModal()},onExitSubmit:function(){var t=this;this.runningRequest||(this.runningRequest=!0,axios.post(this.birthdayVoucherConfig.popUpUri).finally((function(){t.runningRequest=!1})))},onFormSubmit:function(t){var e=this;if(t.preventDefault(),!this.runningRequest)if(this.$set(this,"formErrors",{}),"string"==typeof this.email&&""!==this.email.trim()&&0!==(this.email.match(/^[\w-.]+@([\w-]+\.)+[\w-]{1,63}$/g)||[]).length)if(this.birthday){this.runningRequest=!0,this.response.show=!1,this.response.success=!1,this.response.message=null;var n=new FormData;n.append("email",this.email),n.append("date",this.birthday),n.append("locale",this.$language),n.append("order",this.order.id),axios.post(this.birthdayVoucherConfig.createUri,n).then((function(t){if(e.response.success=t.data.success,e.response.message=t.data.message,!e.response.success){if("object"===a(t.data.formErrors)){for(var n in t.data.formErrors)void 0!==e.changedInputs[n]&&e.changedInputs[n]||delete t.data.formErrors[n];e.formErrors=t.data.formErrors}return e.response.show=!0,void(e.runningRequest=!1)}e.response.show=!0,e.birthdayVoucherModal.closeable=!1,setTimeout((function(){e.resetModal()}),2e3)})).catch((function(t){e.$set(e,"formErrors",{});var n={};if(t.response.data.errors){for(var o=0,a=Object.entries(t.response.data.errors);o<a.length;o++){var s=r(a[o],2),c=s[0],l=s[1];"order"===c?(e.response.success=!1,e.response.message=e.$t("order.customerBirthdayEntryFailed"),e.response.show=!0):Object.assign(n,i({},c,l))}e.$set(e,"formErrors",n)}e.runningRequest=!1}))}else this.$set(this,"formErrors",{date:[this.$t("order.customerBirthdayPopupMissingBirthday")]});else this.$set(this,"formErrors",{email:[this.$t("order.customerBirthdayPopupInvalidEmail")]})}},mounted:function(){var t=this;this.shouldBeVisible?this.showModal():this.hideModal(),setTimeout((function(){t.$refs.birthdayDatepicker.flatpickr.setDate("01.01.1990")}),50)}};var c=n(5072),l=n.n(c),d=n(8010),u={insert:"head",singleton:!1};l()(d.A,u);d.A.locals;const p=(0,n(4486).A)(s,(function(){var t=this,e=t._self._c;return this.shouldBeVisible?e("div",{staticClass:"birthday-voucher-popup-container"},[e("modal",{ref:"birthdayVoucherModal",attrs:{id:"birthdayVoucherPopup",size:"modal-lg",title:t.$t("order.birthdayVoucherPopupTitle",{amount:this.birthdayVoucherConfig.voucherAmount}),centered:!0,scrollable:!0,show:t.birthdayVoucherModal.show,close:t.birthdayVoucherModal.hide,closeable:t.birthdayVoucherModal.closeable,"tighter-close-button":!0},on:{"modal-opening":t.onModalOpening,"modal-close":t.onModalClosing}},[e("form",{staticClass:"birthday-voucher-popup-form",style:t.formStyle,attrs:{method:"post",action:"",enctype:"multipart/form-data"},on:{submit:function(e){return t.onFormSubmit(e)}}},[e("div",{ref:"birthdayVoucherModalBody",staticClass:"modal-body",style:t.bodyStyle},[t.response.show&&"string"==typeof t.response.message&&t.response.message.length>0?e("div",[e("div",{staticClass:"alert",class:{"alert-success":t.response.success,"alert-danger":!t.response.success}},[e("p",{staticClass:"mb-0"},[t._v(t._s(t.response.message))])])]):t._e(),t._v(" "),e("div",[e("div",{staticClass:"mb-3",domProps:{innerHTML:t._s(t.$t("order.birthdayVoucherPopupText",{amount:this.birthdayVoucherConfig.voucherAmount}))}}),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{staticClass:"col-form-label",attrs:{for:"birthday"}},[t._v("\n                            "+t._s(t.$t("order.birthdayLabel"))+"\n                        ")]),t._v(" "),e("nova-datepicker",{ref:"birthdayDatepicker",class:{"is-invalid":t.formErrors.date},attrs:{id:"customer-birthday-date",name:"date",required:"required",config:t.birthdayVoucherConfig.dpConfig},model:{value:t.birthday,callback:function(e){t.birthday=e},expression:"birthday"}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.date,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)],1),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"email"}},[t._v("\n                            "+t._s(t.$t("shop.email"))+"\n                        ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.email,expression:"email"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.email},attrs:{type:"email",name:"email",id:"email",placeholder:t.$t("shop.email_placeholder"),required:""},domProps:{value:t.email},on:{input:function(e){e.target.composing||(t.email=e.target.value)}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.email,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)]),t._v(" "),e("div",{staticClass:"text-center mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm",staticStyle:{"font-size":"1rem"},attrs:{type:"submit",disabled:t.runningRequest}},[t.runningRequest?e("i",{staticClass:"mdi mdi-loading mdi-spin",staticStyle:{"margin-right":"5px"}}):t._e(),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("order.birthdayVoucherPopupSubmit"))}})])])])])])])],1):t._e()}),[],!1,null,null,null).exports},3225:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}const r={props:{isPaymentConfirmed:{type:Boolean,required:!0},cancelOrderConfig:{type:Object,required:!0,default:function(){return{submitUri:null}}},order:{type:Object,required:!0}},data:function(){return{cancelOrderModal:{show:!1,hide:!1,closeable:!0},formStyle:{height:"100%"},bodyStyle:{height:"100%"},confirmError:!1,confirm:!1,licensePlate:{showForm:!1,country:this.defaultLicensePlateCountry,value:this.order.license,updated:!1},formErrors:{},changedInputs:{country_code:!1,license:!1,special_license_plate_confirmed:!0},hasTemplateForm:!1,runningRequest:!1,response:{show:!1,success:!1,message:null}}},computed:{shouldBeVisible:function(){return this.order.order_insurance&&this.isPaymentConfirmed},modalText:function(){var t=this.$t("cancelOrderPopup.modalText");return t.trim().length>0?t:null}},methods:{showModal:function(){return this.cancelOrderModal.show=!0,this.cancelOrderModal.hide=!1,this.cancelOrderModal.closeable=!0,this},hideModal:function(){return this.cancelOrderModal.show=!1,this.cancelOrderModal.hide=!0,this.cancelOrderModal.closeable=!0,this},onModalOpening:function(){this.$el.ownerDocument.body.classList.add("overflow-hidden")},onModalClosing:function(){this.$el.ownerDocument.body.classList.remove("overflow-hidden"),this.hideModal()},onFormSubmit:function(t){var e=this;if(t.preventDefault(),!this.runningRequest){this.runningRequest=!0,this.formErrors={},this.response.show=!1,this.response.success=!1,this.response.message=null,this.confirmError=!1;var n=new FormData,r=this.cancelOrderConfig.submitUri;axios.post(r,n).then((function(t){if(e.response.success=t.data.success,e.response.message=t.data.message,!e.response.success){if("object"===i(t.data.formErrors)){for(var n in t.data.formErrors)void 0!==e.changedInputs[n]&&e.changedInputs[n]||delete t.data.formErrors[n];e.formErrors=t.data.formErrors}return e.response.show=!0,void(e.runningRequest=!1)}e.response.show=!0,e.cancelOrderModal.closeable=!1,setTimeout((function(){window.location.href=location.href}),2e3)})).catch((function(){e.runningRequest=!1}))}},onShowLicensePlateChange:function(t){var e=this;t.preventDefault(),this.sendingRequest||(this.licensePlate.showForm=!0,this.confirm=!1,this.$nextTick((function(){e.onResize()})))},onAbortLicensePlateChange:function(t){var e=this;t.preventDefault(),this.sendingRequest||(this.licensePlate.showForm=!1,this.licensePlate.country=this.order.country_code,this.licensePlate.value=this.order.license,this.$nextTick((function(){e.onResize()})))},onResize:function(){}},beforeDestroy:function(){var t=this;window.removeEventListener("resize",(function(){t.onResize()}))},beforeMount:function(){var t=this;window.addEventListener("resize",(function(){t.onResize()}))},mounted:function(){this.hideModal()}};var o=n(5072),a=n.n(o),s=n(4908),c={insert:"head",singleton:!1};a()(s.A,c);s.A.locals;const l=(0,n(4486).A)(r,(function(){var t=this,e=t._self._c;return this.shouldBeVisible?e("div",{staticClass:"cancel-order-popup-container"},[e("modal",{ref:"cancelOrderModal",attrs:{id:"cancelOrderPopup",size:"modal-lg",title:t.$t("order.cancelOrder"),centered:!0,scrollable:!0,show:t.cancelOrderModal.show,close:t.cancelOrderModal.hide,closeable:t.cancelOrderModal.closeable,"tighter-close-button":!0},on:{"modal-opening":t.onModalOpening,"modal-visible":t.onResize,"modal-close":t.onModalClosing}},[e("form",{staticClass:"cancel-order-popup-form",style:t.formStyle,attrs:{method:"post",action:"",enctype:"multipart/form-data"},on:{submit:function(e){return t.onFormSubmit(e)}}},[e("div",{ref:"cancelOrderModalBody",staticClass:"modal-body",style:t.bodyStyle},[e("div",[t.response.show&&"string"==typeof t.response.message&&t.response.message.length>0?e("div",[e("div",{staticClass:"alert",class:{"alert-success":t.response.success,"alert-danger":!t.response.success}},[e("p",{staticClass:"mb-0"},[t._v(t._s(t.response.message))])])]):t._e(),t._v(" "),e("div",[null!==t.modalText?e("p",{staticClass:"text-muted",domProps:{innerHTML:t._s(t.modalText)}}):t._e(),t._v(" "),e("div",{staticClass:"text-center mt-1"},[e("button",{staticClass:"btn btn-primary btn-sm",staticStyle:{"font-size":"1rem"},attrs:{type:"submit",disabled:t.runningRequest}},[t.runningRequest?e("i",{staticClass:"mdi mdi-loading mdi-spin",staticStyle:{"margin-right":"5px"}}):t._e(),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("order.cancel_button"))}})])])])])])])])],1):t._e()}),[],!1,null,null,null).exports},5054:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{A:()=>f});function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(){o=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function p(t,e,n,i){var r=e&&e.prototype instanceof b?e:b,o=Object.create(r.prototype),s=new D(i||[]);return a(o,"_invoke",{value:M(t,n,s)}),o}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",m="suspendedYield",v="executing",g="completed",y={};function b(){}function _(){}function w(){}var C={};u(C,c,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==n&&i.call(x,c)&&(C=x);var P=w.prototype=b.prototype=Object.create(C);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(o,a,s,c){var l=f(t[o],t,a);if("throw"!==l.type){var d=l.arg,u=d.value;return u&&"object"==r(u)&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(u).then((function(t){d.value=t,s(d)}),(function(t){return n("throw",t,s,c)}))}c(l.arg)}var o;a(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return o=o?o.then(r,r):r()}})}function M(e,n,i){var r=h;return function(o,a){if(r===v)throw Error("Generator is already running");if(r===g){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var c=$(s,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===h)throw r=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=v;var l=f(e,n,i);if("normal"===l.type){if(r=i.done?g:m,l.arg===y)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=g,i.method="throw",i.arg=l.arg)}}}function $(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,$(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),y;var o=f(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function E(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(i.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}throw new TypeError(r(e)+" is not iterable")}return _.prototype=w,a(P,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:_,configurable:!0}),_.displayName=u(w,d,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,u(t,d,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},S(T.prototype),u(T.prototype,l,(function(){return this})),e.AsyncIterator=T,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new T(p(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(P),u(P,d,"Generator"),u(P,c,(function(){return this})),u(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=E,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:E(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),y}},e}function a(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,r)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function s(t){a(o,i,r,s,c,"next",t)}function c(t){a(o,i,r,s,c,"throw",t)}s(void 0)}))}}const c={props:{order:{type:Object,required:!0},licensePlateCountries:{type:Array,required:!1,default:function(){return[{country_name:"",country_code:"",allows_multilicenseplate:!1,image:null,placeholder:"B-AB1234"}]}},defaultLicensePlateCountry:{type:String,required:!1,default:function(){return""}},defaultLicensePlate:{type:String,required:!1,default:function(){return""}},disableChangeButtons:{type:Boolean,required:!0},isTransferOfProductEnabled:{type:Boolean,required:!1,default:function(){return!1}},ongoingOrderUpdate:{type:Object,required:!1,default:function(){return{id:null,isLicensePlateUpdate:!1,licensePlateCountry:"",licensePlate:"",isValidityRangeUpdate:!1,validityStart:"",isProductTransfer:!1,productTransferEmail:""}}}},data:function(){return{datePickerOptions:this.$datePickerOptions,modal:{title:"",show:!1,close:!1,confirmButtonLabel:""},changeProductOwner:!1,changeLicensePlate:!1,changeValidity:!1,change:{isOngoing:!1,id:null,interval:-1,completed:!1,failureReason:null},licensePlateChange:{country:!1,plate:"",plateConfirm:""},validityChange:{date:""},transferProduct:{email:"",emailConfirm:""},formErrors:{},changedInputs:{country_code:!1,license:!1,license_confirmation:!1,validity_start:!1},isValid:!1,modalIsVisible:!1,ongoingUpdate:this.ongoingOrderUpdate,checkStatusInterval:3e3}},computed:{isChangeable:function(){return void 0===this.order.asfin_account_id&&(this.order.asfin_account_id=null),!(("number"!=typeof this.order.asfin_account_id||isNaN(this.order.asfin_account_id)||this.order.asfin_account_id<=0)&&!this.order.order_insurance&&this.order.was_successful)&&new Date(this.order.validity_start).getTime()>(new Date).getTime()},shouldChangeValidity:function(){return this.order&&this.order.product.duration&&365!==this.order.product.duration},loadingAnimationText:function(){return"boolean"==typeof this.order.order_insurance&&this.order.order_insurance&&!this.order.was_successful?this.$t("orderChange.processingUpdate"):this.$t("orderChange.processing")},isTransferable:function(){return!(!this.isTransferOfProductEnabled||"string"!=typeof this.order.validity_end||!this.order.validity_end.trim().length||!this.order.was_successful&&this.order.order_insurance)&&new Date(this.order.validity_end).getTime()>(new Date).getTime()},showTransferForm:function(){return this.changeProductOwner&&this.isTransferable},selectedLicensePlateCountry:function(){var t=this,e=this.licensePlateCountries.filter((function(e){return e.country_code===t.licensePlateChange.country}));return e.length?e[0]:null},validityDatepickerValue:function(){var t=new Date(this.order.validity_start);return"".concat(this.formatDateNumber(t.getDate()),".").concat(this.formatDateNumber(t.getMonth()+1),".").concat(t.getFullYear())},requestFormData:function(){var t=new FormData;return this.changeLicensePlate&&(t.append("country_code",this.licensePlateChange.country),t.append("license",this.licensePlateChange.plate),t.append("license_confirmation",this.licensePlateChange.plateConfirm)),this.changeValidity&&t.append("validity_start",this.validityChange.date),this.changeProductOwner&&(t.append("email",this.transferProduct.email),t.append("email_confirmation",this.transferProduct.emailConfirm)),t},productWasTransferred:function(){return"boolean"==typeof this.order.transferred&&this.order.transferred}},methods:{onChangeButtonClick:function(t,e){var n=this;t.preventDefault();var i="",r="",o="",a="",s="",c=!1,l=null,d=null;if(null!==this.ongoingUpdate&&null!==this.ongoingUpdate.id){var u=!1;this.ongoingUpdate.isLicensePlateUpdate?(this.changeLicensePlate.country=this.ongoingUpdate.licensePlateCountry,e="license-plate",o=this.ongoingUpdate.licensePlate,u=!0):this.ongoingUpdate.isValidityRangeUpdate?(e="validity-start",a=this.ongoingUpdate.validityStart,u=!0):this.ongoingUpdate.isProductTransfer&&(e="transfer",s=this.ongoingUpdate.productTransferEmail,u=!0),u&&(c=!0,l=this.ongoingUpdate.id,d=function(){n.checkJobStatus()})}switch(e){case"license-plate":i=this.$t("orderChange.changeLicensePlateTitle"),r=this.$t("orderChange.changeLicensePlateConfirm"),this.changeLicensePlate=!0,this.changeValidity=!1,this.changeProductOwner=!1,this.licensePlateChange.plate=o,this.licensePlateChange.plateConfirm=o;break;case"validity-start":i=this.$t("orderChange.changeValidityStartTitle"),r=this.$t("orderChange.changeValidityStartConfirm"),this.changeLicensePlate=!1,this.changeValidity=!0,this.changeProductOwner=!1,this.validityChange.date=a;break;case"transfer":if(!this.isTransferOfProductEnabled)throw new Error("The transfer of product is currently disabled!");i=this.$t("orderChange.transferProductTitle"),r=this.$t("orderChange.transferProductConfirm"),this.changeLicensePlate=!1,this.changeValidity=!1,this.changeProductOwner=!0,this.transferProduct.email=s,this.transferProduct.emailConfirm=s;break;default:throw new Error("Unknown action type provided.")}this.change.isOngoing=c,this.change.id=l,this.change.interval=null===d?-1:setInterval(d,this.checkStatusInterval),this.change.completed=!1,this.change.failureReason=null,this.modal.title=i,this.modal.confirmButtonLabel=r,this.modal.show=!0,this.modalIsVisible=!0},onModalButtonClick:function(t,e){if(t.preventDefault(),!e){if(this.change.isOngoing)return;return this.modal.show=!1,void(this.modal.close=!0)}this.change.completed||this.change.isOngoing?this.change.isOngoing||(this.modal.show=!1,this.modal.hide=!0):this.submit(null)},inputChange:function(t,e){var n=this;return s(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0!==t&&(n.changedInputs[t]=!0);case 2:case"end":return e.stop()}}),e)})))()},formatDateNumber:function(t){return(t>9?"":"0")+t},onModalVisible:function(){var t=this;setTimeout((function(){void 0!==t.$refs.datepicker&&"object"===r(t.$refs.datepicker.flatpickr)&&null!==t.$refs.datepicker.flatpickr&&t.$refs.datepicker.flatpickr.setDate(t.validityDatepickerValue,!0)}),15)},validateChangeRequest:function(){var t=this;return s(o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",axios.post("/"+t.$language+"/backend/validate/changeOrder/"+t.order.id,t.requestFormData).then((function(e){if(!e.data.valid){for(var n in e.data.errors)void 0!==t.changedInputs[n]&&t.changedInputs[n]||delete e.data.errors[n];return t.formErrors=e.data.errors,t.isValid=!1,!1}return t.formErrors={},t.isValid=!0,!0})).catch((function(){t.isValid=!1})));case 1:case"end":return e.stop()}}),e)})))()},submit:function(t){var e=this;"object"===r(t)&&null!==t&&"function"==typeof t.preventDefault&&t.preventDefault(),this.change.isOngoing||(this.change.isOngoing=!0,this.change.failureReason=null,this.validateChangeRequest().then((function(){if(e.isValid){var t="/update-order/",n=!1;!e.order.was_successful&&e.order.order_insurance&&(t+="credentials/",n=!0),axios.post("/"+e.$language+t+e.order.id,e.requestFormData).then((function(t){return!t.data.success||"number"!=typeof t.data.id||isNaN(t.data.id)?(e.change.isOngoing=!1,void(e.change.failureReason=n?t.data.message:null)):n?(e.change.completed=!0,e.change.isOngoing=!1,e.ongoingUpdate=null,e.modal.confirmButtonLabel=e.$t("frontend.close"),e.$emit("order-updated",t.data.order),void setTimeout((function(){window.location.href=location.href}),1700)):(e.resetCheckingInterval(),e.ongoingUpdate={id:t.data.id,isLicensePlateUpdate:e.changeLicensePlate,licensePlateCountry:e.licensePlateChange.country,licensePlate:e.licensePlateChange.plate,isValidityRangeUpdate:e.changeValidity,validityStart:e.validityChange.date,isProductTransfer:e.changeProductOwner,productTransferEmail:e.transferProduct.email},e.change.id=t.data.id,e.change.completed=!1,void(e.change.interval=setInterval((function(){e.checkJobStatus()}),e.checkStatusInterval)))})).catch((function(){e.change.isOngoing=!1}))}else e.change.isOngoing=!1})))},resetCheckingInterval:function(){return-1!==this.change.interval&&(clearInterval(this.change.interval),this.change.interval=-1),this},checkJobStatus:function(){var t=this;return axios.get("/"+this.$language+"/update-order/status/"+this.change.id+"?order_id="+this.order.id).then((function(e){if(e.data.success)t.resetCheckingInterval(),t.change.completed=!0,t.change.isOngoing=!1,t.ongoingUpdate=null,t.modal.confirmButtonLabel=t.$t("frontend.close"),t.$emit("order-updated",e.data.order),setTimeout((function(){window.location.href=location.href}),1700);else switch(e.data.reason){case"failure":t.change.failureReason=e.data.message,t.change.isOngoing=!1,t.ongoingUpdate=null,t.resetCheckingInterval();break;case"order":case"not_found":t.change.isOngoing=!1,t.ongoingUpdate=null,t.resetCheckingInterval()}})).catch((function(){t.change.isOngoing=!1,t.ongoingUpdate=null,t.resetCheckingInterval()}))}},mounted:function(){this.defaultLicensePlateCountry&&(this.licensePlateChange.country=this.defaultLicensePlateCountry,this.changedInputs.country_code=!0)}};var l=n(5072),d=n.n(l),u=n(5651),p={insert:"head",singleton:!1};d()(u.A,p);u.A.locals;const f=(0,n(4486).A)(c,(function(){var t=this,e=t._self._c;return!(t.order.was_successful&&!t.disableChangeButtons||t.order.order_insurance)||t.productWasTransferred&&!t.modalIsVisible?t._e():e("div",{staticClass:"change-order-buttons-container mt-1 mt-md-2 mb-2"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("button",{staticClass:"btn btn-block btn-outline-primary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("orderChange.changeLicensePlate"))},on:{click:function(e){return t.onChangeButtonClick(e,"license-plate")}}})]),t._v(" "),t.shouldChangeValidity?e("div",{staticClass:"col-12 col-md-6 p-2"},[e("button",{staticClass:"btn btn-block btn-outline-primary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("orderChange.changeValidityStart"))},on:{click:function(e){return t.onChangeButtonClick(e,"validity-start")}}})]):t._e(),t._v(" "),t.isTransferOfProductEnabled&&t.isTransferable?e("div",{staticClass:"col-12 col-md-6 p-2"},[e("button",{staticClass:"btn btn-block btn-outline-primary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("orderChange.transferProduct"))},on:{click:function(e){return t.onChangeButtonClick(e,"transfer")}}})]):t._e()])])]),t._v(" "),e("modal",{attrs:{id:"change-order-modal",centered:!0,title:t.modal.title,show:t.modal.show,close:t.modal.close,closeable:!t.change.isOngoing,size:"modal-lg"},on:{"modal-close":function(e){t.modal.show=!1,t.modal.close=!1},"modal-opening":function(e){t.modalIsVisible=!0},"modal-invisible":function(e){t.modalIsVisible=!1},"modal-visible":t.onModalVisible}},[e("div",{staticClass:"modal-body"},[(t.isChangeable||t.showTransferForm||t.change.completed)&&!t.order.system_guest_order?e("form",{ref:"changeForm",staticClass:"row",attrs:{action:"",method:"post"}},[t.change.completed?e("div",{staticClass:"col-12"},[t.changeLicensePlate?e("div",{staticClass:"alert alert-success",domProps:{innerHTML:t._s(t.$t("orderChange.licensePlateChanged",{country:this.order.country_code,plate:this.order.license}))}}):t._e(),t._v(" "),t.changeValidity?e("div",{staticClass:"alert alert-success",domProps:{innerHTML:t._s(t.$t("orderChange.validityChanged",{from:this.order.validity_start_string,until:this.order.validity_end_string}))}}):t._e(),t._v(" "),t.changeProductOwner?e("div",{staticClass:"alert alert-success",domProps:{innerHTML:t._s(t.$t("orderChange.transferStarted",{email:this.transferProduct.email}))}}):t._e()]):t._e(),t._v(" "),"string"==typeof t.change.failureReason&&t.change.failureReason.length?e("div",{staticClass:"col-12"},[e("div",{staticClass:"alert alert-danger",domProps:{innerHTML:t._s(t.change.failureReason)}})]):t._e(),t._v(" "),!t.change.completed&&t.changeLicensePlate?e("div",{staticClass:"col-12"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 mb-3"},[e("label",{staticClass:"col-form-label",attrs:{for:"evidenceCountry"}},[t._v(t._s(t.$t("shop.licensing_state")))]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.licensePlateChange.country,expression:"licensePlateChange.country"}],staticClass:"form-control height-auto-override",class:{"is-invalid":t.formErrors.country_code},attrs:{id:"evidenceCountry",name:"country_code",required:""},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.licensePlateChange,"country",e.target.multiple?n:n[0])},function(e){return t.inputChange("country_code")}]}},[e("option",{attrs:{disabled:""},domProps:{value:!1}},[t._v(t._s(t.$t("shop.dropdown_required")))]),t._v(" "),t._l(t.licensePlateCountries,(function(n){return e("option",{key:n.country_code,domProps:{value:n.country_code}},[t._v("\n                                    "+t._s(t.$t("country."+n.country_code))+"\n                                ")])}))],2),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.country_code,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)]),t._v(" "),null!==t.selectedLicensePlateCountry?e("div",{staticClass:"col-12 col-lg-6 mb-3 mb-md-0"},[e("label",{staticClass:"col-form-label"},[t._v(t._s(t.$t("shop.license_plate")))]),t._v(" "),e("license-plate-input",{attrs:{"license-plate-country":t.selectedLicensePlateCountry,template:t.selectedLicensePlateCountry.template,required:!0,"is-invalid":"object"===i(t.formErrors.license)&&t.formErrors.license.length>0,name:"license",id:"licensePlate"},on:{input:function(e){return t.inputChange("license")}},model:{value:t.licensePlateChange.plate,callback:function(e){t.$set(t.licensePlateChange,"plate",e)},expression:"licensePlateChange.plate"}},t._l(t.formErrors.license,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)],1):t._e(),t._v(" "),null!==t.selectedLicensePlateCountry?e("div",{staticClass:"col-12 col-lg-6"},[e("label",{staticClass:"col-form-label"},[t._v(t._s(t.$t("shop.license_plate_confirm")))]),t._v(" "),e("license-plate-input",{attrs:{"license-plate-country":t.selectedLicensePlateCountry,template:t.selectedLicensePlateCountry.template,required:!0,"is-invalid":"object"===i(t.formErrors.license_confirmation)&&t.formErrors.license_confirmation.length>0,name:"license_confirmation",id:"licensePlateConfirm"},on:{input:function(e){return t.inputChange("license_confirmation")}},model:{value:t.licensePlateChange.plateConfirm,callback:function(e){t.$set(t.licensePlateChange,"plateConfirm",e)},expression:"licensePlateChange.plateConfirm"}},t._l(t.formErrors.license_confirmation,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)],1):t._e()])]):t._e(),t._v(" "),!t.change.completed&&t.changeValidity?e("div",{staticClass:"col-12"},[e("label",{staticClass:"col-form-label",on:{click:function(t){return this.$refs.datepicker.focus()}}},[t._v("\n                        "+t._s(t.$t("shop.validity_start"))+"\n                    ")]),t._v(" "),e("nova-datepicker",{ref:"datepicker",class:{"is-invalid":t.formErrors.validity_start},attrs:{id:"valid_from",name:"validity_start",required:"required",config:t.datePickerOptions},on:{"dp-change":function(e){return t.inputChange("validity_start")}},model:{value:t.validityChange.date,callback:function(e){t.$set(t.validityChange,"date",e)},expression:"validityChange.date"}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.validity_start,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)],1):t._e(),t._v(" "),!t.change.completed&&t.changeProductOwner?e("div",{staticClass:"col-12"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("p",{domProps:{innerHTML:t._s(t.$t("orderChange.transferModalDescription"))}})]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("label",{staticClass:"col-form-label",domProps:{innerHTML:t._s(t.$t("shop.email"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.transferProduct.email,expression:"transferProduct.email"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.email},attrs:{type:"email",id:"orderChangeProductOwnerEmail",name:"email",required:"required"},domProps:{value:t.transferProduct.email},on:{input:[function(e){e.target.composing||t.$set(t.transferProduct,"email",e.target.value)},function(e){return t.inputChange("email")}]}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.email,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("label",{staticClass:"col-form-label",domProps:{innerHTML:t._s(t.$t("orderChange.emailConfirm"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.transferProduct.emailConfirm,expression:"transferProduct.emailConfirm"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.email},attrs:{type:"email",id:"orderChangeProductOwnerEmailConfirm",name:"email_confirm",required:"required"},domProps:{value:t.transferProduct.emailConfirm},on:{input:[function(e){e.target.composing||t.$set(t.transferProduct,"emailConfirm",e.target.value)},function(e){return t.inputChange("email_confirm")}]}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.email_confirm,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])])]):t._e()]):(t.changeProductOwner,e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"alert alert-danger",domProps:{innerHTML:t._s(t.$t("orderChange.notTransferableNotice"))}})])]))]),t._v(" "),t.isChangeable||t.showTransferForm?e("div",{staticClass:"modal-footer"},[t.change.completed?t._e():e("button",{staticClass:"btn btn-secondary",attrs:{type:"button",disabled:t.change.isOngoing},domProps:{innerHTML:t._s(t.$t("frontend.abort"))},on:{click:function(e){return t.onModalButtonClick(e,!1)}}}),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.change.isOngoing},domProps:{innerHTML:t._s(t.modal.confirmButtonLabel)},on:{click:function(e){return t.onModalButtonClick(e,!t.change.completed)}}})]):e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("frontend.ok"))},on:{click:function(e){return t.onModalButtonClick(e,!1)}}})]),t._v(" "),e("loading-animation",{attrs:{visible:t.change.isOngoing,"always-show":!1,"preloader-container-id":"","status-container-id":"","loading-text":t.loadingAnimationText}})],1)],1)}),[],!1,null,null,null).exports},7737:(t,e,n)=>{"use strict";n.d(e,{A:()=>T});const i={name:"Stepper",props:["steps"]};var r=n(5072),o=n.n(r),a=n(873),s={insert:"head",singleton:!1};o()(a.A,s);a.A.locals;var c=n(4486);const l=(0,c.A)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"stepper"},t._l(t.steps,(function(n){return e("div",{key:n.name,staticClass:"step",class:{completed:n.completed,active:n.active}},[e("div",{staticClass:"step-label"}),t._v(" "),e("div",{staticClass:"step-description",domProps:{innerHTML:t._s(n.name)}})])})),0)}),[],!1,null,"d87000de",null).exports;var d=n(134);const u={name:"BaseDetails"};var p=n(3272),f={insert:"head",singleton:!1};o()(p.A,f);p.A.locals;const h=(0,c.A)(u,(function(){return(0,this._self._c)("div",{staticClass:"right"},[this._t("default")],2)}),[],!1,null,"07b48ca3",null).exports,m={name:"Order",components:{BaseDetails:h},props:["order","advantages","formatter","giftVoucherPayments","isRevoked"]};var v=n(2154),g={insert:"head",singleton:!1};o()(v.A,g);v.A.locals;const y=(0,c.A)(m,(function(){var t=this,e=t._self._c;return e("BaseDetails",[t.isRevoked?[e("div",{staticClass:"revocation-notice"},[e("div",{staticClass:"revocation-notice__icon"},[e("i",{staticClass:"mdi mdi-information-outline text-primary"})]),t._v(" "),e("span",{staticClass:"revocation-notice__text text-quote",domProps:{innerHTML:t._s(t.$t("orderRevocation.revokedModalText"))}})]),t._v(" "),e("div",{staticClass:"separator"})]:t._e(),t._v(" "),e("div",{staticClass:"product split"},[e("img",{attrs:{alt:"",src:"/assets/img/vignette.png"}}),t._v(" "),e("dl",{staticClass:"product__details"},["route_toll"===t.order.product_type?e("dd",{staticClass:"product__name font-weight-bold"},[t._v("\n                "+t._s(t.order.product.name)+" - "+t._s(t.order.option.name)+"\n            ")]):e("dd",{staticClass:"product__name font-weight-bold"},[t._v("\n                "+t._s(t.order.product.name)+" - "+t._s(t.$t("shop.vehicle_".concat(t.order.option.vehicle_type)))+"\n            ")]),t._v(" "),e("dt",{staticClass:"text-quote"},[t._v(t._s(t.$t("shop.estimated_validity_start"))+":")]),t._v(" "),e("dd",{staticClass:"font-weight-bold"},[t._v("\n                "+t._s(t.order.estimated_validity_start_string)+"\n                "),t.order.order_timezone?[t._v("\n                    ("+t._s(t.$t("shop.shop_timezone_description"))+")\n                ")]:t._e()],2),t._v(" "),t.order.order_timezone?[e("dd",[t._v(t._s(t.order.estimated_validity_start_timezone_string)+" ("+t._s(t.$t("shop.customer_timezone_description"))+")")])]:t._e()],2)]),t._v(" "),e("div",{staticClass:"separator"}),t._v(" "),e("dl",{staticClass:"price split"},[e("dt",{staticClass:"price__text text-quote"},[e("span",{staticClass:"heading tight d-block",domProps:{innerHTML:t._s(t.$t("orderCheckout.total"))}}),t._v(" "),e("span",{staticClass:"subtext d-block",domProps:{innerHTML:t._s(t.$t("orderCheckout.total_subtext"))}})]),t._v(" "),e("dd",{staticClass:"price__total text-quote"},[e("price",{attrs:{price:t.order.unpaid_amount,"currency-in-newline":!0,"container-class":"heading","price-class":"price__total__main","converted-price-class":"price__total__sub"}})],1)]),t._v(" "),t.giftVoucherPayments.length>0?e("div",{staticClass:"payments"},[e("ol",t._l(t.giftVoucherPayments,(function(n){return e("li",{key:n.id,staticClass:"text-muted"},[t._v("\n                "+t._s(t.$t("giftVoucher.infoAmountCredited",{amount:n.amount.toFixed(2)}))+"\n            ")])})),0)]):t._e(),t._v(" "),e("div",{staticClass:"separator"}),t._v(" "),e("dl",{staticClass:"details split"},[e("dt",{staticClass:"details__text text-quote"},[e("span",{staticClass:"heading tight",domProps:{innerHTML:t._s(t.$t("orderCheckout.license"))}}),t._v(" "),e("br"),t._v(" "),e("span",{staticClass:"subtext",domProps:{innerHTML:t._s(t.$t("orderCheckout.license_subtext"))}})]),t._v(" "),e("dd",{staticClass:"details__licenseplate text-quote"},[e("span",{staticClass:"heading"},[t._v(t._s(t.order.license))])])]),t._v(" "),t.isRevoked?t._e():[e("div",{staticClass:"separator mb-3 text-quote",domProps:{innerHTML:t._s(t.$t("orderCheckout.advantages-title"))}}),t._v(" "),e("div",{staticClass:"advantages"},t._l(t.advantages,(function(n){return e("div",{key:n.id,staticClass:"col d-flex"},[e("div",{staticClass:"advantages-entry text-quote"},[e("i",{staticClass:"mdi text-primary advantage-icon h3",class:"mdi-"+n.icon}),t._v(" "),e("h3",{staticClass:"advantage-header"},[t._v(t._s(n.title))]),t._v(" "),e("p",{staticClass:"advantage-content"},[t._v(t._s(n.description))])])])})),0)]],2)}),[],!1,null,"f8fe5072",null).exports;const b={name:"VoucherOrder",components:{BaseDetails:h},props:["order","advantages","formatter","giftVoucherPayments"]};var _=n(6071),w={insert:"head",singleton:!1};o()(_.A,w);_.A.locals;const C=(0,c.A)(b,(function(){var t=this,e=t._self._c;return e("BaseDetails",[e("div",{staticClass:"product split"},[e("img",{attrs:{alt:"",src:"/assets/img/gift_voucher.png"}}),t._v(" "),e("dl",{staticClass:"product__details"},[e("dd",{staticClass:"product__name font-weight-bold"},[t._v("\n                "+t._s(t.order.product.name)+" - "+t._s(t.order.option.description)+"\n            ")]),t._v(" "),e("dt",{staticClass:"text-muted"},[t._v(t._s(t.$t("shop.email-address"))+":")]),t._v(" "),e("dd",{staticClass:"font-weight-bold"},[t._v(t._s(t.order.email))])])]),t._v(" "),e("div",{staticClass:"separator"}),t._v(" "),e("div",{staticClass:"price split"},[e("dt",{staticClass:"price__text text-quote"},[e("span",{staticClass:"heading tight d-block",domProps:{innerHTML:t._s(t.$t("orderCheckout.total"))}})]),t._v(" "),e("dd",{staticClass:"price__total text-quote"},[e("span",{staticClass:"heading"},[t._v(t._s(t.formatter.format(t.order.unpaid_amount)))])])]),t._v(" "),t.giftVoucherPayments.length>0?e("div",{staticClass:"payments"},[e("ol",t._l(t.giftVoucherPayments,(function(n){return e("li",{key:n.id,staticClass:"text-muted"},[t._v("\n                "+t._s(t.$t("giftVoucher.infoAmountCredited",{amount:n.amount.toFixed(2)}))+"\n            ")])})),0)]):t._e()])}),[],!1,null,"536ba0e8",null).exports;const k={name:"TerminateSubscriptionModal",props:{terminateSubscriptionUrl:{type:String,required:!1,default:function(){return null}}},data:function(){return{form:{confirmation:!1},modal:{show:!1,close:!1,closable:!0,showForm:!0},response:{show:!1,success:!1,message:null},ongoing:!1}},methods:{onTerminatePaymentSubscription:function(){this.modal.show=!0,this.modal.close=!1,this.modal.closable=!0,this.modal.showForm=!0},onAbortTerminatePaymentSubscription:function(){this.modal.closable=!this.ongoing,this.modal.show=!1,this.modal.close=!0,this.modal.showForm=!0},onTerminatePaymentSubscriptionSubmit:function(){var t=this;if(!this.ongoing)if(this.modal.showForm){if(this.response.show=!1,this.response.message=null,this.response.success=!1,this.modal.closable=!0,!this.form.confirmation)return this.response.message=this.$t("order.pleaseConfirmSubscriptionTerminate"),this.response.success=!1,void(this.response.show=!0);this.ongoing=!0,this.modal.closable=!1,axios.post(this.terminateSubscriptionUrl,this.form).then((function(e){t.response.message=e.data.message,t.response.success=e.data.success,t.response.show=!0,t.modal.showForm=!t.response.success,t.modal.closable=!0,t.ongoing=!1,setTimeout((function(){this.$emit("done")}),15)})).catch((function(){t.response.message=t.$t("order.subscriptionTerminateFailed"),t.response.show=!0,t.response.success=!1,t.ongoing=!1}))}else window.location.reload()}}};const x={name:"OrderCheckout",components:{TerminateSubscriptionModal:(0,c.A)(k,(function(){var t=this,e=t._self._c;return e("modal",{attrs:{id:"terminate-payment-subscription-modal",centered:!0,close:t.modal.close,closeable:t.modal.closable,show:t.modal.show,title:t.$t("order.terminateSubscriptionTitle"),size:"modal-lg"},on:{"modal-close":function(e){t.modal.show=!1,t.modal.close=!1}}},[e("form",{attrs:{action:t.terminateSubscriptionUrl,enctype:"multipart/form-data",method:"post"},on:{submit:function(e){return e.preventDefault(),t.onTerminatePaymentSubscriptionSubmit.apply(null,arguments)}}},[e("div",{staticClass:"modal-body pt-0"},[e("div",{staticClass:"row"},[t.response.show&&"string"==typeof t.response.message&&t.response.message.length>0?e("div",{staticClass:"col-12"},[e("div",{staticClass:"alert",class:{"alert-success":t.response.success,"alert-danger":!t.response.success}},[e("p",{staticClass:"mb-0"},[t._v(t._s(t.response.message))])])]):t._e(),t._v(" "),t.modal.showForm?e("div",{staticClass:"col-12"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("p",{domProps:{innerHTML:t._s(t.$t("order.terminateSubscriptionText"))}})]),t._v(" "),e("div",{staticClass:"col-12"},[e("div",{staticClass:"d-flex align-items-center justify-content-start h-checkbox"},[e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.confirmation,expression:"form.confirmation"}],staticClass:"checkbox",attrs:{id:"payment_subscription",name:"confirmation",required:"",type:"checkbox"},domProps:{checked:Array.isArray(t.form.confirmation)?t._i(t.form.confirmation,null)>-1:t.form.confirmation},on:{change:function(e){var n=t.form.confirmation,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&t.$set(t.form,"confirmation",n.concat([null])):o>-1&&t.$set(t.form,"confirmation",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(t.form,"confirmation",r)}}})]),t._v(" "),e("label",{staticClass:"ml-3",attrs:{for:"payment_subscription"},domProps:{innerHTML:t._s(t.$t("order.terminateSubscriptionConfirmCheckbox"))}})])])])]):t._e()])]),t._v(" "),e("div",{staticClass:"modal-footer justify-content-end bg-light"},[t.modal.showForm?e("button",{staticClass:"btn btn-secondary",attrs:{disabled:t.ongoing,type:"button"},domProps:{innerHTML:t._s(t.$t("generic.cancel"))},on:{click:function(e){return e.preventDefault(),t.onAbortTerminatePaymentSubscription.apply(null,arguments)}}}):t._e(),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{disabled:t.ongoing,type:"submit"}},[t.ongoing?e("i",{staticClass:"mdi mdi-loading mdi-spin"}):t.modal.showForm?e("span",{domProps:{innerHTML:t._s(t.$t("order.terminateSubscriptionConfirm"))}}):e("span",{domProps:{innerHTML:t._s(t.$t("frontend.close"))}})])])]),t._v(" "),e("loading-animation",{attrs:{"always-show":!1,"loading-text":t.$t("order.terminationOngoing"),visible:t.ongoing,"preloader-container-id":"","status-container-id":""}})],1)}),[],!1,null,"d7902734",null).exports,Stepper:l,PaymentMethods:d.A},props:["initialOrder","paymentMethods","csrfToken","initialDelayedOrderNoticeStatus","echoScriptSource","guestOrders","advantages","disablePaymentMethod","giftVoucherPayments","terminateSubscriptionUrl","stripePaymentIntentApiUrl","waitingForSubscriptionConfirmation","waitingForSubscriptionConfirmationTimeout"],provide:function(){return{order:this.order}},data:function(){return{formatter:new Intl.NumberFormat("de-DE",{style:"currency",currency:"EUR",minimumFractionDigits:2}),loading:!1,order:this.initialOrder,detailsExpanded:!0,mediaQuery:null,stepperSteps:[{name:this.$t("orderCheckout.step-1"),completed:!0},{name:this.$t("orderCheckout.step-2"),completed:!0},{name:this.$t("orderCheckout.step-3"),active:!0},{name:this.$t("orderCheckout.step-4")}],waitingForSubscriptionConfirmationFailed:!1}},methods:{expandDetails:function(){this.detailsExpanded=!this.detailsExpanded},reloadPage:function(){window.location.href=location.href}},computed:{detailsComponent:function(){return"voucher_order"===this.initialOrder.type?C:y},isRevoked:function(){return!!this.order.revoked},isWaitingForSubscriptionConfirmation:function(){return!!this.waitingForSubscriptionConfirmation}},mounted:function(){var t=this;this.mediaQuery=window.matchMedia("(min-width: 992px)"),this.mediaQuery.addEventListener("change",(function(){t.detailsExpanded=t.mediaQuery.matches})),this.detailsExpanded=this.mediaQuery.matches,this.isWaitingForSubscriptionConfirmation&&(setTimeout((function(){t.reloadPage()}),60*this.waitingForSubscriptionConfirmationTimeout*1e3),window.loadScript(this.echoScriptSource,(function(){Echo.private("orders."+t.order.hash.replace(/-/g,"_")).listen("DelayedPaymentConfirmation",(function(e){"boolean"==typeof e.timeout&&e.timeout?t.waitingForSubscriptionConfirmationFailed=!0:t.reloadPage()}))})))},beforeDestroy:function(){this.mediaQuery.removeEventListener("change")}};var P=n(1972),S={insert:"head",singleton:!1};o()(P.A,S);P.A.locals;const T=(0,c.A)(x,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"container overview-grid",class:{revoked:t.isRevoked}},[t.isRevoked?t._e():e("div",{staticClass:"top mobile-only"},[e("a",{staticClass:"top__expand ml-1",attrs:{role:"button",href:"#"},on:{click:function(e){return e.preventDefault(),t.expandDetails.apply(null,arguments)},touch:function(e){return e.preventDefault(),t.expandDetails.apply(null,arguments)}}},[t._v("\n            "+t._s(t.$t("orderCheckout.mobile-expand-details"))+" "),e("i",{staticClass:"mdi mdi-chevron-right",class:{active:t.detailsExpanded}})]),t._v(" "),e("span",{staticClass:"top__price"},[t._v("\n            "+t._s(t.formatter.format(t.order.unpaid_amount))+"\n        ")])]),t._v(" "),t.isRevoked?t._e():e("div",{staticClass:"left"},[e("h1",{staticClass:"heading desktop-only",domProps:{innerHTML:t._s(t.$t("orderCheckout.overview-title",{id:this.order.id}))}}),t._v(" "),e("div",{staticClass:"wrapper mx-md-5"},[e("Stepper",{attrs:{steps:t.stepperSteps}})],1),t._v(" "),t.isWaitingForSubscriptionConfirmation&&!t.waitingForSubscriptionConfirmationFailed?[e("fieldset",{staticClass:"mx-2"},[e("legend",{attrs:{align:"center"},domProps:{innerHTML:t._s(t.$t("orderCheckout.select-payment-method"))}}),t._v(" "),e("div",{staticClass:"bg-light rounded-bottom p-3 px-4 py-3"},[e("div",{staticClass:"text-center",domProps:{innerHTML:t._s(t.$t("orderCheckout.processing-payment"))}})])])]:e("PaymentMethods",{attrs:{"disable-payment-method":t.disablePaymentMethod,order:t.order,"payment-methods":t.paymentMethods,price:t.order.price,"csrf-token":t.csrfToken,"stripe-payment-intent-api-url":t.stripePaymentIntentApiUrl},on:{"terminate-subscription":function(e){return t.$refs.terminateSubscriptionModal.onTerminatePaymentSubscription()}}})],2),t._v(" "),t.isRevoked?e("h4",{staticClass:"text-primary text-center",domProps:{innerHTML:t._s(t.$t("orderRevocation.revokedModalTitle",{id:this.order.id}))}}):t._e(),t._v(" "),t.detailsExpanded||t.isRevoked?e(t.detailsComponent,{tag:"component",attrs:{order:t.order,advantages:t.advantages,formatter:t.formatter,"gift-voucher-payments":t.giftVoucherPayments,"is-revoked":t.isRevoked}}):t._e(),t._v(" "),e("TerminateSubscriptionModal",{ref:"terminateSubscriptionModal",attrs:{"terminate-subscription-url":t.terminateSubscriptionUrl},on:{done:function(e){return t.window.location.reload()}}}),t._v(" "),e("loading-animation",{attrs:{"full-page-loader":!0,visible:t.loading}})],1)}),[],!1,null,"a4c62200",null).exports},134:(t,e,n)=>{"use strict";n.d(e,{A:()=>D});const i={name:"PaymentNoticeModal",props:["show","close","closeable","title","text"],methods:{onActionClick:function(t){var e=this,n=function(){};if(!0===t)n=function(){e.$emit("continue")};else this.method=null,this.subMethod=null;this.$emit("close"),this.$nextTick((function(){e.closeable=!1,e.close=!1,n()}))}}};var r=n(4486);const o=(0,r.A)(i,(function(){var t=this,e=t._self._c;return e("modal",{attrs:{id:"payment-delay-notice-modal",centered:!0,title:t.title,show:t.show,close:t.close,closeable:t.closeable,size:"modal-lg"}},[e("div",{staticClass:"modal-body"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.text)}})]),t._v(" "),e("div",{staticClass:"modal-footer justify-content-center"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("generic.no"))},on:{click:function(e){return t.onActionClick(!1)}}}),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("shop.continue"))},on:{click:function(e){return t.onActionClick(!0)}}})])])}),[],!1,null,"201ecbbc",null).exports;var a,s=n(5748),c="https://js.stripe.com/v3",l=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,d="loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used",u=function(t){var e=t&&!t.advancedFraudSignals?"?advancedFraudSignals=false":"",n=document.createElement("script");n.src="".concat(c).concat(e);var i=document.head||document.body;if(!i)throw new Error("Expected document.body not to be null. Stripe.js requires a <body> element.");return i.appendChild(n),n},p=null,f=null,h=null,m=function(t){return null!==p?p:(p=new Promise((function(e,n){if("undefined"!=typeof window&&"undefined"!=typeof document)if(window.Stripe&&t&&console.warn(d),window.Stripe)e(window.Stripe);else try{var i=function(){for(var t=document.querySelectorAll('script[src^="'.concat(c,'"]')),e=0;e<t.length;e++){var n=t[e];if(l.test(n.src))return n}return null}();if(i&&t)console.warn(d);else if(i){if(i&&null!==h&&null!==f){var r;i.removeEventListener("load",h),i.removeEventListener("error",f),null===(r=i.parentNode)||void 0===r||r.removeChild(i),i=u(t)}}else i=u(t);h=function(t,e){return function(){window.Stripe?t(window.Stripe):e(new Error("Stripe.js not available"))}}(e,n),f=function(t){return function(){t(new Error("Failed to load Stripe.js"))}}(n),i.addEventListener("load",h),i.addEventListener("error",f)}catch(t){return void n(t)}else e(null)}))).catch((function(t){return p=null,Promise.reject(t)}))},v=!1,g=function(){return a||(a=m(null).catch((function(t){return a=null,Promise.reject(t)})))};Promise.resolve().then((function(){return g()})).catch((function(t){v||console.warn(t)}));var y=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];v=!0;var i=Date.now();return g().then((function(t){return function(t,e,n){if(null===t)return null;var i=t.apply(void 0,e);return function(t,e){t&&t._registerWrapper&&t._registerWrapper({name:"stripe-js",version:"4.7.0",startTime:e})}(i,n),i}(t,e,i)}))};function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function _(){_=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var o=e&&e.prototype instanceof g?e:g,a=Object.create(o.prototype),s=new D(i||[]);return r(a,"_invoke",{value:M(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var p="suspendedStart",f="suspendedYield",h="executing",m="completed",v={};function g(){}function y(){}function w(){}var C={};l(C,a,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==n&&i.call(x,a)&&(C=x);var P=w.prototype=g.prototype=Object.create(C);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(r,o,a,s){var c=u(t[r],t,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==b(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(d).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;r(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return o=o?o.then(r,r):r()}})}function M(e,n,i){var r=p;return function(o,a){if(r===h)throw Error("Generator is already running");if(r===m){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var c=$(s,i);if(c){if(c===v)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===p)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=h;var l=u(e,n,i);if("normal"===l.type){if(r=i.done?m:f,l.arg===v)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=m,i.method="throw",i.arg=l.arg)}}}function $(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,$(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var o=u(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function E(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(b(e)+" is not iterable")}return y.prototype=w,r(P,"constructor",{value:w,configurable:!0}),r(w,"constructor",{value:y,configurable:!0}),y.displayName=l(w,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,c,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},S(T.prototype),l(T.prototype,s,(function(){return this})),e.AsyncIterator=T,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new T(d(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(P),l(P,c,"Generator"),l(P,a,(function(){return this})),l(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=E,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:E(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),v}},e}function w(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,r)}function C(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){w(o,i,r,a,s,"next",t)}function s(t){w(o,i,r,a,s,"throw",t)}a(void 0)}))}}const k={data:function(){return{stripe:null,canMakePayment:!1,inited:!1}},props:{paymentMode:{type:String,default:"payment"},stripePaymentIntentApiUrl:{type:String}},methods:{_canMakePayment:function(){var t=this;return C(_().mark((function e(){var n,i;return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.stripe.paymentRequest({currency:"eur",country:"DE",total:{label:"Wookiee Boots",amount:1e3}}),e.next=3,n.canMakePayment();case 3:if(null!==(i=e.sent)){e.next=6;break}return e.abrupt("return",!1);case 6:return e.abrupt("return",i.googlePay||i.applePay);case 7:case"end":return e.stop()}}),e)})))()}},watch:{canMakePayment:function(t){var e=this;t&&!this.inited&&(this.inited=!0,fetch(this.stripePaymentIntentApiUrl).then((function(t){return t.json()})).then((function(t){var n=e.stripe.elements({clientSecret:t.stripeClientSecret,apperance:{theme:"night",variables:{borderRadius:"5px"}}}),i=n.create("expressCheckout",{buttonType:{applePay:"subscription"===e.paymentMode?"subscribe":"buy",googlePay:"subscription"===e.paymentMode?"subscribe":"buy"},buttonTheme:{applePay:"black",googlePay:"black"},buttonHeight:50});e.$nextTick((function(){i.mount(e.$refs.paymentRequestButtons),i.on("ready",(function(){setTimeout((function(){return e.$emit("loaded",!1)}),200)})),i.on("confirm",C(_().mark((function i(){var r,o;return _().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return i.next=2,n.submit();case 2:if(r=i.sent,!r.error){i.next=6;break}return i.abrupt("return");case 6:return i.next=8,e.stripe.confirmPayment({elements:n,clientSecret:t.stripeClientSecret,confirmParams:{return_url:t.stripeReturnUrl}});case 8:o=i.sent,o.error&&(e.canMakePayment=!1);case 11:case"end":return i.stop()}}),i)})))),setTimeout((function(){return e.$emit("loaded",!1)}),200)}))})).catch((function(){e.canMakePayment=!1,setTimeout((function(){return e.$emit("loaded",!1)}),200)})))}},mounted:function(){var t=this;return C(_().mark((function e(){return _().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==STRIPE_PK&&void 0!==STRIPE_API_VERSION){e.next=3;break}return setTimeout((function(){return t.$emit("loaded",!1)})),e.abrupt("return");case 3:return e.next=5,y(STRIPE_PK,{apiVersion:STRIPE_API_VERSION});case 5:return t.stripe=e.sent,t.isReady=!0,e.next=9,t._canMakePayment();case 9:if(t.canMakePayment=e.sent,t.canMakePayment){e.next=13;break}return setTimeout((function(){return t.$emit("loaded",!1)})),e.abrupt("return");case 13:case"end":return e.stop()}}),e)})))()}};var x=n(5072),P=n.n(x),S=n(1016),T={insert:"head",singleton:!1};P()(S.A,T);S.A.locals;function M(t){return M="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},M(t)}const $={name:"OrderCheckoutPaymentMethods",components:{PlatformPayment:(0,r.A)(k,(function(){var t=this,e=t._self._c;return t.canMakePayment?e("div",{ref:"paymentRequestButtons",staticClass:"platformPayment"}):t._e()}),[],!1,null,"ca2cfd7a",null).exports,GiftVoucherPaymentModal:s.A,PaymentNoticeModal:o},inject:["order"],props:{csrfToken:{type:String,required:!0},paymentMethods:{type:Array,required:!0,default:function(){return[{id:"example",name:"Example",icon:null,enabled:!1,subtypes:{example:{enabled:!1,sort:0,id:"example",delayNotice:{disabled:!1,title:"shop.delayNoticeTitle",text:"shop.delayNoticeText"},name:"shop.example",icon:"pf-bank-transfer"}}}]}},disablePaymentMethod:{type:String,required:!1},price:{type:Number,required:!0},stripePaymentIntentApiUrl:{type:String,required:!1}},data:function(){return{loading:!1,loadingPaymentMethods:!0,showAll:!1,method:null,subMethod:null,askForBillingData:!1,askForBillingDataDetails:{paymentMethod:null,subtype:null,subMethod:null},paymentNoticeModal:{show:!1,close:!1,closeable:!1,title:"",text:""}}},methods:{onPaymentOptionClick:function(t,e,n){var i=this;try{this.loading=!0,t.preventDefault(),n="boolean"==typeof n&&n;var r=null;if(void 0!==e.subtype_id&&(this.subMethod=e.subtype_id,r=this.delayNoticeEnabled(e)?e.delayNotice:null),this.method=e.id,this.paymentNoticeModal.show=!1,this.paymentNoticeModal.close=!1,this.paymentNoticeModal.closeable=!1,this.paymentNoticeModal.title="",this.paymentNoticeModal.text="",this.askForBillingData=!1,this.askForBillingDataDetails.paymentMethod=e,this.askForBillingDataDetails.subtype=e.subtype_id?e:null,this.askForBillingDataDetails.subMethod=e.subtype_id,!n&&e.requiresOrder){var o={givenName:this.order.first_name||this.order.paypal_first_name,familyName:this.order.last_name||this.order.paypal_last_name,street:this.order.street,houseNumber:this.order.house,postalCode:this.order.postcode,city:this.order.city,country:this.order.country};for(var a in o)if(!("string"==typeof o[a]&&o[a].trim().length>0)){this.askForBillingData=!0;break}}if(this.askForBillingData)return;if(this.tryHandlePayment(e))return;if("object"===M(r)&&null!==r)return this.paymentNoticeModal.title=this.$t(r.title),this.paymentNoticeModal.text=this.$t(r.text),void(this.paymentNoticeModal.show=!0);this.$nextTick((function(){i.$refs.paymentForm.submit()}))}finally{this.loading=!1}},showMore:function(){this.showAll=!this.showAll},generateFormActionLink:function(t){return"/"+this.$language+"/backend/payment/start/"+t+"/"+this.order.type+"/"+this.order.id},delayNoticeEnabled:function(t){return"object"===M(t.delayNotice)&&null!==t.delayNotice&&!("boolean"==typeof t.delayNotice.disabled&&t.delayNotice.disabled)},tryHandlePayment:function(t){return"gift_voucher"===t.id&&(this.$refs.giftVoucherPaymentModal.onShowModal(),!0)}},computed:{giftVoucherMethodAvailable:function(){return this.paymentMethods.some((function(t){return"gift_voucher"===t.id}))},formAction:function(){return this.generateFormActionLink(this.method)},filteredPaymentMethods:function(){return this.showAll?this.paymentMethods:this.paymentMethods.slice(0,3)},hasEnabledDelayNotice:function(){var t=this;return this.paymentMethods.some((function(e){return t.delayNoticeEnabled(e)}))}}};var O=n(4171),L={insert:"head",singleton:!1};P()(O.A,L);O.A.locals;const D=(0,r.A)($,(function(){var t=this,e=t._self._c;return e("fieldset",{staticClass:"mx-2"},[e("legend",{attrs:{align:"center"},domProps:{innerHTML:t._s(t.$t("orderCheckout.select-payment-method"))}}),t._v(" "),e("form",{ref:"paymentForm",staticClass:"paymentmethods",class:{all:t.showAll},attrs:{method:"post",action:t.formAction}},[e("input",{attrs:{type:"hidden",name:"_token"},domProps:{value:t.csrfToken}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"subtype"},domProps:{value:t.subMethod}}),t._v(" "),t.loadingPaymentMethods&&!t.order.auto_renew?e("div",{staticClass:"placeholder-glow",attrs:{name:"placeholders"}},[e("div",{key:"1",staticClass:"placeholder payment-method"}),t._v(" "),e("div",{key:"2",staticClass:"placeholder payment-method"}),t._v(" "),e("div",{key:"3",staticClass:"placeholder payment-method"}),t._v(" "),e("div",{key:"4",staticClass:"placeholder payment-method"})]):t._e(),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:!t.loadingPaymentMethods||t.order.auto_renew,expression:"!loadingPaymentMethods || order.auto_renew"}]},[t.order.auto_renew?t._e():[t._l(t.paymentMethods,(function(n){return["stripe"===n.id&&"card"===n.subtype_id?e("PlatformPayment",{key:"platform_"+(n.subtype_id?n.subtype_id:n.id),attrs:{"payment-mode":"payment",currency:"eur","stripe-payment-intent-api-url":t.stripePaymentIntentApiUrl,loadingPaymentMethods:t.loadingPaymentMethods},on:{loaded:function(e){t.loadingPaymentMethods=e}}}):t._e()]}))],t._v(" "),t._l(t.filteredPaymentMethods,(function(n){return["gift_voucher"===n.id?e("div",{key:n.subtype_id?n.subtype_id:n.id,staticClass:"paymentmethod",on:{click:function(e){return t.onPaymentOptionClick(e,n)},touch:function(e){return t.onPaymentOptionClick(e,n)}}},[e("div",{staticClass:"payment-method payment-method-container",class:n.id},[e("label",{staticClass:"font-weight-bold mt-2"},[t._v("\n                            "+t._s(t.$t(n.name))+"\n                            "),"number"==typeof n.usageFee&&0!==n.usageFee?e("span",[t._v("\n                            "+t._s(t.$t("shop.paymentFee",{fee:n.usageFee.toFixed(2)}))+"\n                        ")]):t._e()]),t._v(" "),e("i",{staticClass:"payment-icon payment-icon-image"},[e("svg",{attrs:{height:"1em",viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M190.5 68.8L225.3 128H224 152c-22.1 0-40-17.9-40-40s17.9-40 40-40h2.2c14.9 0 28.8 7.9 36.3 20.8zM64 88c0 14.4 3.5 28 9.6 40H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H438.4c6.1-12 9.6-25.6 9.6-40c0-48.6-39.4-88-88-88h-2.2c-31.9 0-61.5 16.9-77.7 44.4L256 85.5l-24.1-41C215.7 16.9 186.1 0 154.2 0H152C103.4 0 64 39.4 64 88zm336 0c0 22.1-17.9 40-40 40H288h-1.3l34.8-59.2C329.1 55.9 342.9 48 357.8 48H360c22.1 0 40 17.9 40 40zM32 288V464c0 26.5 21.5 48 48 48H224V288H32zM288 512H432c26.5 0 48-21.5 48-48V288H288V512z"}})])])])]):t.order.auto_renew&&!n.supportsSubscription||t.disablePaymentMethod===n.id?t._e():e("div",{key:n.subtype_id?n.subtype_id:n.id,staticClass:"paymentmethod",on:{click:function(e){return t.onPaymentOptionClick(e,n)},touch:function(e){return t.onPaymentOptionClick(e,n)}}},[e("div",{staticClass:"payment-method",class:n.class?n.class:n.subtype_id||n.id},[e("label",{staticClass:"font-weight-bold mt-2"},[t._v("\n                            "+t._s(t.$t(n.name))+"\n                            "),"number"==typeof n.usageFee&&0!==n.usageFee?e("span",[t._v("\n                            "+t._s(t.$t("shop.paymentFee",{fee:n.usageFee.toFixed(2)}))+"\n                        ")]):t._e()]),t._v(" "),n.id.includes("klarna")?e("img",{staticClass:"payment-icon klarna",attrs:{alt:"Klarna",src:"/images/payment/klarna.svg"}}):e("i",{staticClass:"payment-icon pf",class:n.icon})])])]}))],2),t._v(" "),t.order.auto_renew?[e("div",{staticClass:"no-mobile-padding mt-2"},[e("button",{staticClass:"btn btn-outline-primary w-100",on:{click:function(e){e.preventDefault(),t.$emit("terminate-subscription")}}},[t._v("\n                    "+t._s(t.$t("shop.subscriptionMorePaymentMethods"))+"\n                ")])])]:t._e(),t._v(" "),t.paymentMethods.length>3&&!t.loadingPaymentMethods?e("a",{staticClass:"more ml-1 mt-2",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.showMore.apply(null,arguments)}}},[t._v("\n            "+t._s(t.$t("orderCheckout.more-payment-methods"))+" "),e("i",{staticClass:"mdi mdi-chevron-right",class:{active:t.showAll}})]):t._e(),t._v(" "),t.giftVoucherMethodAvailable?e("GiftVoucherPaymentModal",{ref:"giftVoucherPaymentModal",attrs:{"order-hash":t.order.hash,"order-price":t.order.unpaid_amount}}):t._e(),t._v(" "),t.hasEnabledDelayNotice?e("PaymentNoticeModal",t._b({on:{continue:function(e){return t.$refs.paymentForm.submit()},close:function(e){t.paymentNoticeModal={show:!1,close:!0,closeable:!0}}}},"PaymentNoticeModal",t.paymentNoticeModal,!1,!0)):t._e()],2)])}),[],!1,null,"2feb928a",null).exports},9498:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}const r={props:{isPaymentConfirmed:{type:Boolean,required:!0},insuranceConfig:{type:Object,required:!0,default:function(){return{submitUri:null,lastInsuranceDate:null}}},order:{type:Object,required:!0}},data:function(){return{insuranceModal:{show:!1,hide:!1,closeable:!0},formStyle:{height:"100%"},bodyStyle:{height:"100%"},confirmError:!1,confirm:!1,formErrors:{},runningRequest:!1,response:{show:!1,success:!1,message:null}}},computed:{shouldBeVisible:function(){return!this.isPaymentConfirmed}},methods:{showModal:function(){return this.insuranceModal.show=!0,this.insuranceModal.hide=!1,this.insuranceModal.closeable=!0,this},hideModal:function(){return this.insuranceModal.show=!1,this.insuranceModal.hide=!0,this.insuranceModal.closeable=!0,this},resetModal:function(){this.hideModal(),this.runningRequest=!1,this.response.show=!1,this.response.success=!1,this.response.message=null},onModalOpening:function(){this.$el.ownerDocument.body.classList.add("overflow-hidden")},getInsuranceFee:function(){if(this.order.option.insurance_fee)return this.order.option.insurance_fee.toFixed(2).toString()+" €"},onModalClosing:function(){this.$el.ownerDocument.body.classList.remove("overflow-hidden"),this.hideModal()},onFormSubmit:function(t){var e=this;if(t.preventDefault(),!this.runningRequest){this.runningRequest=!0,this.formErrors={},this.response.show=!1,this.response.success=!1,this.response.message=null,this.confirmError=!1;var n=new FormData,r=this.order.order_insurance?this.insuranceConfig.submitUri.terminate:this.insuranceConfig.submitUri.activate;axios.post(r,n).then((function(t){if(e.response.success=t.data.success,e.response.message=t.data.message,!e.response.success){if("object"===i(t.data.formErrors)){for(var n in t.data.formErrors)void 0!==e.changedInputs[n]&&e.changedInputs[n]||delete t.data.formErrors[n];e.formErrors=t.data.formErrors}return e.response.show=!0,void(e.runningRequest=!1)}e.response.show=!0,e.insuranceModal.closeable=!1,setTimeout((function(){e.resetModal(),e.$emit("price-change",e.order.price.toFixed(2))}),2e3)})).catch((function(){e.runningRequest=!1}))}}},mounted:function(){this.hideModal()}};var o=n(5072),a=n.n(o),s=n(9539),c={insert:"head",singleton:!1};a()(s.A,c);s.A.locals;const l=(0,n(4486).A)(r,(function(){var t=this,e=t._self._c;return this.shouldBeVisible?e("div",{staticClass:"insurance-popup-container"},[e("modal",{ref:"insuranceModal",attrs:{id:"insurancePopup",size:"modal-lg",title:t.$t("order.insurancePopUpTitle"),centered:!0,scrollable:!0,show:t.insuranceModal.show,close:t.insuranceModal.hide,closeable:t.insuranceModal.closeable,"tighter-close-button":!0},on:{"modal-opening":t.onModalOpening,"modal-close":t.onModalClosing}},[e("form",{staticClass:"insurance-popup-form",style:t.formStyle,attrs:{method:"post",action:"",enctype:"multipart/form-data"},on:{submit:function(e){return t.onFormSubmit(e)}}},[e("div",{ref:"insuranceModalBody",staticClass:"modal-body",style:t.bodyStyle},[e("div",[t.response.show&&"string"==typeof t.response.message&&t.response.message.length>0?e("div",[e("div",{staticClass:"alert",class:{"alert-success":t.response.success,"alert-danger":!t.response.success}},[e("p",{staticClass:"mb-0"},[t._v(t._s(t.response.message))])])]):t._e(),t._v(" "),e("div",[t.order.order_insurance?e("span",{domProps:{innerHTML:t._s(t.$t("order.insuranceInfoTerminateText"))}}):e("span",{staticClass:"d-block text-quote text-left text-md-center",domProps:{innerHTML:t._s(t.$t("order.insuranceInfoActivateText",{cancellationDate:t.insuranceConfig.lastInsuranceDate,insuranceFee:t.getInsuranceFee()}))}}),t._v(" "),e("div",{staticClass:"text-center mt-2"},[e("button",{staticClass:"btn btn-primary btn-sm",staticStyle:{"font-size":"1rem"},attrs:{type:"submit",disabled:t.runningRequest}},[t.runningRequest?e("i",{staticClass:"mdi mdi-loading mdi-spin",staticStyle:{"margin-right":"5px"}}):t._e(),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("order.order_insurance_".concat(t.order.order_insurance?"deactivate":"activate")))}})])])])])])])])],1):t._e()}),[],!1,null,null,null).exports},1927:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{A:()=>d});function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}const o={components:{GiftVoucherPaymentModal:n(5748).A},inject:["isVoucherOrder"],props:{csrfToken:{type:String,required:!0},payment:{type:Object,required:!1},activePaymentMethod:{type:Boolean,required:!1,default:function(){return null}},paymentMethods:{type:Array,required:!0,default:function(){return[{id:"example",name:"Example",icon:null,enabled:!1,subtypes:{example:{enabled:!1,sort:0,id:"example",delayNotice:{disabled:!1,title:"shop.delayNoticeTitle",text:"shop.delayNoticeText"},name:"shop.example",icon:"pf-bank-transfer"}}}]}},order:{type:Object,required:!0},price:{type:Number,required:!0},isPerformingRequest:{type:Boolean,required:!0},countries:{type:Array,required:!1},defaultCountry:{type:String,required:!1,default:function(){return null}},showCountryDropdown:{type:Boolean,required:!1,default:function(){return!1}},orderInvoiceUpdateUrl:{type:String,required:!1,default:function(){return null}},isWaitingForConfirmation:{type:Boolean,required:!1,default:function(){return!1}},waitingForConfirmationTime:{type:String,required:!1,default:function(){return""}},guestOrders:{type:Boolean,required:!1,default:function(){return!1}},disablePaymentMethod:{type:String,required:!1}},data:function(){return{method:null,subMethod:null,askForBillingData:!1,askForBillingDataDetails:{paymentMethod:null,subtype:null,subMethod:null},paymentNoticeModal:{show:!1,close:!1,closeable:!1,title:"",text:""},country:this.defaultCountry,payPalInitialized:!1,requestOngoing:this.isPerformingRequest}},computed:{formAction:function(){return this.generateFormActionLink(this.method)},isPaymentRefunded:function(){return this.payment&&(this.payment.was_refunded||this.payment.wasRefunded||!1)},hasEnabledDelayNotice:function(){for(var t=0;t<this.paymentMethods.length;t++){var e=this.paymentMethods[t];if("object"===r(e.subtypes)&&null!==e.subtypes)for(var n in e.subtypes)if(this.delayNoticeEnabled(e.subtypes[n]))return!0}return!1},orderPrice:function(){var t="number"==typeof this.order.dunning_fee?this.order.dunning_fee:0;return this.price+t},isOrderWithAutoRenew:function(){return"boolean"==typeof this.order.auto_renew&&this.order.auto_renew}},watch:{defaultCountry:function(){null!==this.country&&""!==this.country||(this.country=this.defaultCountry)},isPerformingRequest:function(){this.requestOngoing=this.isPerformingRequest}},methods:{showPaymentMethod:function(t){return this.activePaymentMethod=t},generateFormActionLink:function(t){return"/"+this.$language+"/backend/payment/start/"+t+"/"+this.order.type+"/"+this.order.id},onSubmit:function(t){if(null===this.method)t.preventDefault();else this.requestOngoing=!0;return this},onPaymentOptionClick:function(t,e,n,i){var o=this;null!==t&&t.preventDefault(),i="boolean"==typeof i&&i;var a=null,s=null,c=null;if(void 0!==n&&"object"===r(e.subtypes)&&null!==e.subtypes&&"object"===r(e.subtypes[n])&&(a=(c=e.subtypes[n]).id,s=this.delayNoticeEnabled(c)?c.delayNotice:null),this.method=e.id,this.subMethod=a,this.paymentNoticeModal.show=!1,this.paymentNoticeModal.close=!1,this.paymentNoticeModal.closeable=!1,this.paymentNoticeModal.title="",this.paymentNoticeModal.text="",this.askForBillingData=!1,this.askForBillingDataDetails.paymentMethod=e,this.askForBillingDataDetails.subtype=c,this.askForBillingDataDetails.subMethod=n,!i&&null!==c&&"boolean"==typeof c.requiresOrder&&c.requiresOrder){var l={givenName:this.order.first_name||this.order.paypal_first_name,familyName:this.order.last_name||this.order.paypal_last_name,street:this.order.street,houseNumber:this.order.house,postalCode:this.order.postcode,city:this.order.city,country:this.order.country};for(var d in l)if(!("string"==typeof l[d]&&l[d].trim().length>0)){this.askForBillingData=!0;break}}if(!this.askForBillingData&&!this.tryHandlePayment(e))return"object"===r(s)&&null!==s?(this.paymentNoticeModal.title=this.$t(s.title),this.paymentNoticeModal.text=this.$t(s.text),void(this.paymentNoticeModal.show=!0)):void this.$nextTick((function(){o.$refs.paymentForm.submit()}))},tryHandlePayment:function(t){return"gift_voucher"===t.id&&(this.$refs.giftVoucherPaymentModal.onShowModal(),!0)},delayNoticeEnabled:function(t){return"object"===r(t.delayNotice)&&null!==t.delayNotice&&!("boolean"==typeof t.delayNotice.disabled&&t.delayNotice.disabled)},onDelayModalActionClick:function(t){var e=this,n=function(){};if(!0===t)n=function(){e.$refs.paymentForm.submit()};else this.method=null,this.subMethod=null;this.paymentNoticeModal.closeable=!0,this.paymentNoticeModal.close=!0,this.paymentNoticeModal.show=!1,this.paymentNoticeModal.title="",this.paymentNoticeModal.text="",this.$nextTick((function(){e.paymentNoticeModal.closeable=!1,e.paymentNoticeModal.close=!1,n()}))}},mounted:function(){this.payment&&this.payment.is_confirmed||(this.method=this.paymentMethods[0].id)}};var a=n(5072),s=n.n(a),c=n(1738),l={insert:"head",singleton:!1};s()(c.A,l);c.A.locals;const d=(0,n(4486).A)(o,(function(){var t=this,e=t._self._c;return e("form",{ref:"paymentForm",staticClass:"order-payment-container",attrs:{method:"post",action:t.formAction},on:{submit:function(e){return t.onSubmit(e)}}},[e("GiftVoucherPaymentModal",{ref:"giftVoucherPaymentModal",attrs:{"order-hash":this.order.hash,"order-price":t.order.unpaid_amount}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"_token"},domProps:{value:t.csrfToken}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"subtype"},domProps:{value:t.subMethod}}),t._v(" "),t.isWaitingForConfirmation?t._e():e("div",{staticClass:"row mb-5"},[t._l(t.paymentMethods,(function(n){return["paypal"===n.id?e("div",{key:n.id,staticClass:"col-md-6 no-mobile-padding",on:{click:function(e){return t.onPaymentOptionClick(e,n)},touch:function(e){return t.onPaymentOptionClick(e,n)}}},[e("div",{staticClass:"cursor-pointer paypal-payment-container"},[e("div",{ref:"paypalButtons",refInFor:!0,staticClass:"paypal-fixed-height",attrs:{id:"paypal-plus-container"}},[e("div",{staticClass:"payment-method paypal d-flex justify-content-between align-items-center"},[e("label",{staticClass:"font-weight-bold mt-2"},[t._v("\n                                "+t._s(t.$t("shop.paypal"))+"\n                                "),"number"==typeof n.usageFee&&0!==n.usageFee?e("span",[t._v("\n                                    "+t._s(t.$t("shop.paymentFee",{fee:n.usageFee.toFixed(2)}))+"\n                                ")]):t._e()]),t._v(" "),e("i",{staticClass:"payment-icon pf pf-paypal"})])])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.showCountryDropdown,expression:"showCountryDropdown"}],staticClass:"form-group"},[e("label",{attrs:{for:"payerCountry"},domProps:{innerHTML:t._s(t.$t("order.payerCountry"))}}),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.country,expression:"country"}],staticClass:"form-control",attrs:{id:"payerCountry",name:"payerCountry"},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.country=e.target.multiple?n:n[0]}}},[e("option",{domProps:{value:null}},[t._v(t._s(t.$t("order.payerCountryPlaceholder")))]),t._v(" "),t._l(t.countries,(function(n){return e("option",{key:n.country_code,domProps:{value:n.country_code}},[t._v("\n                            "+t._s(t.$t("country."+n.country_code))+"\n                        ")])}))],2)])]):t._e(),t._v(" "),"gift_voucher"===n.id?e("div",{key:n.id,staticClass:"col-md-6 no-mobile-padding cursor-pointer",on:{click:function(e){return t.onPaymentOptionClick(t.isOrderWithAutoRenew?e:null,n)},touch:function(e){return t.onPaymentOptionClick(t.isOrderWithAutoRenew?e:null,n)}}},[e("div",{staticClass:"payment-method payment-method-container",class:n.id},[e("label",{staticClass:"font-weight-bold mt-2"},[t._v("\n                        "+t._s(t.$t(n.name))+"\n                        "),"number"==typeof n.usageFee&&0!==n.usageFee?e("span",[t._v("\n                                "+t._s(t.$t("shop.paymentFee",{fee:n.usageFee.toFixed(2)}))+"\n                            ")]):t._e()]),t._v(" "),e("i",{staticClass:"payment-icon payment-icon-image"},[e("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",height:"1em",viewBox:"0 0 512 512"}},[e("path",{attrs:{d:"M190.5 68.8L225.3 128H224 152c-22.1 0-40-17.9-40-40s17.9-40 40-40h2.2c14.9 0 28.8 7.9 36.3 20.8zM64 88c0 14.4 3.5 28 9.6 40H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H480c17.7 0 32-14.3 32-32V160c0-17.7-14.3-32-32-32H438.4c6.1-12 9.6-25.6 9.6-40c0-48.6-39.4-88-88-88h-2.2c-31.9 0-61.5 16.9-77.7 44.4L256 85.5l-24.1-41C215.7 16.9 186.1 0 154.2 0H152C103.4 0 64 39.4 64 88zm336 0c0 22.1-17.9 40-40 40H288h-1.3l34.8-59.2C329.1 55.9 342.9 48 357.8 48H360c22.1 0 40 17.9 40 40zM32 288V464c0 26.5 21.5 48 48 48H224V288H32zM288 512H432c26.5 0 48-21.5 48-48V288H288V512z"}})])])])]):t._e(),t._v(" "),"object"===i(n.subtypes)&&null!==n.subtypes?t._l(n.subtypes,(function(i,r){return e("div",{directives:[{name:"show",rawName:"v-show",value:(!t.isOrderWithAutoRenew||i.supportsSubscription)&&t.disablePaymentMethod!==i.id,expression:"(!isOrderWithAutoRenew || paymentMethodSubtype.supportsSubscription) && disablePaymentMethod !== paymentMethodSubtype.id"}],key:i.id,staticClass:"col-md-6 no-mobile-padding cursor-pointer",on:{click:function(e){return t.onPaymentOptionClick(e,n,r)},touch:function(e){return t.onPaymentOptionClick(e,n,r)}}},[e("div",{staticClass:"payment-method",class:i.class||i.id},[e("label",{staticClass:"font-weight-bold mt-2"},[t._v("\n                            "+t._s(t.$t(i.name))+"\n                            "),"number"==typeof n.usageFee&&0!==n.usageFee?e("span",[t._v("\n                                "+t._s(t.$t("shop.paymentFee",{fee:n.usageFee.toFixed(2)}))+"\n                            ")]):t._e()]),t._v(" "),i.id.includes("klarna")?e("img",{staticClass:"payment-icon klarna",attrs:{src:"/images/payment/klarna.svg",alt:"Klarna"}}):e("i",{staticClass:"payment-icon pf",class:i.icon})])])})):t._e()]})),t._v(" "),t.isOrderWithAutoRenew?[e("div",{staticClass:"col-md-6 offset-md-3 no-mobile-padding mt-2"},[e("button",{staticClass:"btn btn-outline-primary w-100",on:{click:function(e){e.preventDefault(),t.$emit("terminate-subscription")}}},[t._v("\n                    "+t._s(t.$t("shop.subscriptionMorePaymentMethods"))+"\n                ")])])]:t._e()],2),t._v(" "),t.isVoucherOrder?t._e():e("icon-text-container",{scopedSlots:t._u([{key:"icon",fn:function(){return[t.isWaitingForConfirmation?e("i",{staticClass:"mdi mdi-loading mdi-spin status-icon status-icon-warning"}):t.isPaymentRefunded?e("i",{staticClass:"mdi mdi-window-close status-icon status-icon-fail"}):e("i",{staticClass:"mdi mdi-exclamation status-icon status-icon-warning"})]},proxy:!0}],null,!1,581541311)},[t._v(" "),t.isWaitingForConfirmation?[e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center",domProps:{innerHTML:t._s(t.$t("subscription.waitingForConfirmationTitle"))}}),t._v(" "),e("span",{staticClass:"text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("subscription.waitingForConfirmationText",{timeLeft:t.waitingForConfirmationTime}))}})]:t.isPaymentRefunded?[e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center",domProps:{innerHTML:t._s(t.$t("shop.attentionRefunded"))}}),t._v(" "),e("span",{staticClass:"text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("order.payRefunded",{price:t.order.unpaid_amount.toFixed(2)}))}})]:[e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center",domProps:{innerHTML:t._s(t.$t("shop.attention"))}}),t._v(" "),t.order.subscription_created?e("span",{staticClass:"text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("order.subscriptionFollowUpOrderPleasePayIt",{price:t.order.unpaid_amount.toFixed(2)}))}}):e("span",{staticClass:"text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("order.please_pay_it",{price:t.order.unpaid_amount.toFixed(2)}))}})]],2),t._v(" "),t.askForBillingData?e("order-payment-billing-data-modal",{attrs:{order:t.order,countries:t.countries,"payment-method":t.askForBillingDataDetails.paymentMethod,"payment-subtype":t.askForBillingDataDetails.subtype,"update-order-invoice-url":t.orderInvoiceUpdateUrl},on:{aborted:function(e){t.askForBillingData=!1},confirmed:function(e){return t.onPaymentOptionClick(null,t.askForBillingDataDetails.paymentMethod,t.askForBillingDataDetails.subMethod,!0)}}}):t._e(),t._v(" "),t.hasEnabledDelayNotice?e("modal",{attrs:{id:"payment-delay-notice-modal",centered:!0,title:t.paymentNoticeModal.title,show:t.paymentNoticeModal.show,close:t.paymentNoticeModal.close,closeable:t.paymentNoticeModal.closeable,size:"modal-lg"}},[e("div",{staticClass:"modal-body"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.paymentNoticeModal.text)}})]),t._v(" "),e("div",{staticClass:"modal-footer justify-content-center"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("generic.no"))},on:{click:function(e){return t.onDelayModalActionClick(!1)}}}),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("shop.continue"))},on:{click:function(e){return t.onDelayModalActionClick(!0)}}})])]):t._e()],1)}),[],!1,null,null,null).exports},5748:(t,e,n)=>{"use strict";n.d(e,{A:()=>h});const i={name:"GiftVoucherInput",data:function(){return{partLength:5,parts:["","","",""]}},watch:{parts:function(){var t=this;this.parts.every((function(e){return e.length===t.partLength}))&&this.$emit("code",this.parts.join("-"))}},methods:{onPaste:function(t){for(var e=t.clipboardData.getData("text/plain").trim().split("-"),n=0;n<this.parts.length;n++)this.$set(this.parts,n,e[n])},onKeyUp:function(t){var e=t.srcElement||t.target,n=parseInt(e.attributes.maxlength.value,10),i=e.value.length;if(i>=n){for(var r=e;r.nextElementSibling&&null!=(r=r.nextElementSibling);)if("input"===r.tagName.toLowerCase()){r.focus();break}}else if(0===i)for(var o=e;o.previousElementSibling&&null!=(o=o.previousElementSibling);)if("input"===o.tagName.toLowerCase()){o.focus();break}}}};var r=n(5072),o=n.n(r),a=n(4006),s={insert:"head",singleton:!1};o()(a.A,s);a.A.locals;var c=n(4486);const l={components:{GiftVoucherInput:(0,c.A)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"gift-voucher-container"},[e("div",{staticClass:"gift-voucher-input-container"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.parts[0],expression:"parts[0]"}],attrs:{type:"text",name:"parts",placeholder:"AAAAA",maxlength:t.partLength},domProps:{value:t.parts[0]},on:{keyup:t.onKeyUp,paste:function(e){return e.preventDefault(),t.onPaste.apply(null,arguments)},input:function(e){e.target.composing||t.$set(t.parts,0,e.target.value)}}}),t._v(" "),e("span",[t._v("-")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.parts[1],expression:"parts[1]"}],attrs:{type:"text",name:"parts",placeholder:"BBBBB",maxlength:t.partLength},domProps:{value:t.parts[1]},on:{keyup:t.onKeyUp,input:function(e){e.target.composing||t.$set(t.parts,1,e.target.value)}}}),t._v(" "),e("span",[t._v("-")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.parts[2],expression:"parts[2]"}],attrs:{type:"text",name:"parts",placeholder:"CCCCC",maxlength:t.partLength},domProps:{value:t.parts[2]},on:{keyup:t.onKeyUp,input:function(e){e.target.composing||t.$set(t.parts,2,e.target.value)}}}),t._v(" "),e("span",[t._v("-")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.parts[3],expression:"parts[3]"}],attrs:{type:"text",name:"parts",placeholder:"DDDDD",maxlength:t.partLength},domProps:{value:t.parts[3]},on:{keyup:t.onKeyUp,input:function(e){e.target.composing||t.$set(t.parts,3,e.target.value)}}})])])}),[],!1,null,"7643834c",null).exports},props:{orderHash:{type:String,required:!0},orderPrice:{type:Number,required:!0}},data:function(){return{giftVoucher:null,modal:{show:!1,close:!1,closable:!0},globalLoading:!1,infoLoading:!1,error:null,fullyPaid:!1,paymentComplete:!1}},methods:{onShowModal:function(){this.modal.close=!1,this.modal.show=!0,this.error=null,this.giftVoucher=null,this.infoLoading=!1,this.globalLoading=!1,this.fullyPaid=!1,this.paymentComplete=!1},onHideModal:function(){this.paymentComplete?window.location.reload():(this.ignore=!1,this.modal.show=!1,this.modal.close=!0)},codeChanged:function(t){var e=this;this.infoLoading=!0,this.error=null,axios.post(this.validateUrl,{code:t}).then((function(t){if(200===t.status){var n=t.data;n.active?e.$set(e,"giftVoucher",n):(e.error=e.$t("gift_voucher.inactive"),e.giftVoucher=null)}})).catch((function(t){if(t.response)if(404===t.response.status)e.error=e.$t("giftVoucher.notFound");else e.error=t.response.data.message;e.giftVoucher=null})).finally((function(){e.infoLoading=!1}))},pay:function(){var t=this;this.globalLoading=!0,axios.post(this.payUrl,{code:this.giftVoucher.code}).then((function(e){200===e.status&&(t.paymentComplete=!0,t.fullyPaid=e.data.fully_paid,setTimeout((function(){window.location.reload()}),1e4))})).catch((function(e){e.response&&(t.error=e.response.data.message)})).finally((function(){t.globalLoading=!1}))}},computed:{validateUrl:function(){return"/"+this.$language+"/payment/gift-voucher/validate"},payUrl:function(){return"/"+this.$language+"/payment/gift-voucher/pay/"+this.orderHash}}};var d=n(9520),u={insert:"head",singleton:!1};o()(d.A,u);d.A.locals;var p=n(1648),f={insert:"head",singleton:!1};o()(p.A,f);p.A.locals;const h=(0,c.A)(l,(function(){var t=this,e=t._self._c;return e("modal",{ref:"giftVoucherPaymentModal",attrs:{id:"gift-voucher-payment-modal",centered:!0,title:t.$t("giftVoucher.paymentModalTitle"),show:t.modal.show,close:t.modal.close,closeable:t.modal.closeable&&!t.paymentComplete,"tighter-close-button":!0,size:"modal-lg"},on:{"modal-close":t.onHideModal}},[e("loading-animation",{attrs:{visible:t.globalLoading,"always-show":!1,"full-page-loader":!0}}),t._v(" "),e("div",{staticClass:"modal-body pt-0"},[t.paymentComplete?e("div",{directives:[{name:"t",rawName:"v-t",value:t.fullyPaid?"giftVoucher.paymentFullPaid":"giftVoucher.paymentPartialPaid",expression:"fullyPaid ? 'giftVoucher.paymentFullPaid' : 'giftVoucher.paymentPartialPaid'"}],staticClass:"alert alert-success",attrs:{role:"alert"}}):t._e(),t._v(" "),e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.$t("giftVoucher.paymentModalText"))}}),t._v(" "),e("br"),t._v(" "),e("GiftVoucherInput",{on:{code:t.codeChanged}}),t._v(" "),e("br"),t._v(" "),e("loading-animation",{attrs:{visible:t.infoLoading,"preloader-container-id":"","status-container-id":"","horizontal-centered":!0}}),t._v(" "),t.infoLoading?t._e():e("div",{staticClass:"gift-voucher-info"},[t.error?e("div",{staticClass:"alert alert-danger flex-grow-1",domProps:{innerHTML:t._s(t.error)}}):t.giftVoucher?[e("div",{staticClass:"gift-voucher-info-row"},[e("span",{directives:[{name:"t",rawName:"v-t",value:"giftVoucher.amount",expression:"'giftVoucher.amount'"}],staticClass:"h4"}),t._v(" "),e("span",{staticClass:"h4 font-weight-normal"},[t._v(t._s(t.giftVoucher.amount.toFixed(2))+" €")])]),t._v(" "),e("div",{staticClass:"gift-voucher-info-row"},[e("span",{directives:[{name:"t",rawName:"v-t",value:"giftVoucher.amountLeft",expression:"'giftVoucher.amountLeft'"}],staticClass:"h4"}),t._v(" "),e("span",{staticClass:"h4 font-weight-normal"},[t._v(t._s(Math.max(0,t.giftVoucher.amount-t.orderPrice).toFixed(2))+" €")])])]:t._e()],2)],1),t._v(" "),e("div",{staticClass:"modal-footer justify-content-center"},[e("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:!t.giftVoucher||t.globalLoading||t.infoLoading||t.paymentComplete},domProps:{innerHTML:t._s(t.$t("shop.pay"))},on:{click:function(e){return e.preventDefault(),t.pay.apply(null,arguments)}}}),t._v(" "),e("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("shop.cancel"))},on:{click:function(e){return e.preventDefault(),t.onHideModal.apply(null,arguments)}}})])],1)}),[],!1,null,"7ec92236",null).exports},3162:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}const r={props:{order:{type:Object,required:!0},countries:{type:Array,required:!0},paymentMethod:{type:Object,required:!0},paymentSubtype:{type:Object,required:!1,default:function(){return null}},updateOrderInvoiceUrl:{type:String,required:!0}},data:function(){var t=this,e=this.countries.filter((function(e){return e.country_code===t.order.country_code}))[0]||null;return{modal:{show:!1,close:!1},invoice:{first_name:this.order.first_name||this.order.paypal_first_name,last_name:this.order.last_name||this.order.paypal_last_name,company:this.order.company,street:this.order.street,houseNumber:this.order.house,postcode:this.order.postcode,city:this.order.city,country:this.order.country||(e?e.country_name:null)},formErrors:{},changedInputs:{first_name:!1,last_name:!1,company:!1,street:!1,house:!1,postcode:!1,city:!1,country:!1},isLoading:!1,formStyle:{height:"100%"},bodyStyle:{height:"100%"}}},computed:{infoTextPlaceholders:function(){return"object"===i(this.paymentSubtype)&&null!==this.paymentSubtype?{name:this.$t(this.paymentSubtype.name)}:{name:this.$t(this.paymentMethod.name)}}},methods:{onFormSubmit:function(){var t=this;if(!this.isLoading){this.isLoading=!0,this.formErrors={};var e=new FormData;e.append("first_name",this.invoice.first_name),e.append("last_name",this.invoice.last_name),e.append("company",null===this.invoice.company?"":this.invoice.company),e.append("street",this.invoice.street),e.append("house",this.invoice.houseNumber),e.append("postcode",this.invoice.postcode),e.append("city",this.invoice.city),e.append("country",this.invoice.country),axios.post(this.updateOrderInvoiceUrl,e).then((function(e){if(e.data.success)"boolean"==typeof e.data.paymentContinuable&&e.data.paymentContinuable?t.$nextTick((function(){t.$emit("confirmed")})):t.isLoading=!1;else{if("validity"===e.data.message){for(var n in e.data.details)void 0!==t.changedInputs[n]&&t.changedInputs[n]||delete e.data.details[n];t.formErrors=e.data.details}t.isLoading=!1}})).catch((function(){t.isLoading=!1}))}},onInputChange:function(t){this.changedInputs[t]=!0},onInputFocus:function(){var t=this;this.$nextTick((function(){t.onResize()}))},onAbortClicked:function(){var t=this;this.modal.close=!0,this.$nextTick((function(){t.$emit("aborted")}))},onResize:function(){if(this.modal.show){var t=this.$refs.modal.$el.querySelector(".modal-header").clientHeight,e=this.$refs.modal.$el.querySelector(".modal-footer").clientHeight;this.formStyle.height="calc(100% - ".concat(t,"px)"),this.bodyStyle.height="calc(100% - ".concat(e,"px)")}},onModalOpening:function(){this.$el.ownerDocument.body.classList.add("overflow-hidden")},onModalClosing:function(){this.$el.ownerDocument.body.classList.remove("overflow-hidden"),this.onAbortClicked()}},beforeDestroy:function(){var t=this;window.removeEventListener("resize",(function(){t.onResize()}))},beforeMount:function(){var t=this;window.addEventListener("resize",(function(){t.onResize()}))},mounted:function(){this.modal.show=!0}};const o=(0,n(4486).A)(r,(function(){var t=this,e=t._self._c;return e("modal",{ref:"modal",attrs:{id:"payment-billing-data-modal",centered:!0,title:t.$t("order.paymentBillingDataRequiredTitle"),show:t.modal.show,close:t.modal.close,closeable:!0,size:"modal-lg"},on:{"modal-opening":t.onModalOpening,"modal-visible":t.onResize,"modal-close":t.onModalClosing,"modal-invisible":function(e){t.modal.show=!1,t.modal.close=!1}}},[e("form",{style:t.formStyle,attrs:{method:"POST",action:"",enctype:"multipart/form-data"},on:{submit:function(e){return e.preventDefault(),t.onFormSubmit.apply(null,arguments)}}},[e("div",{staticClass:"modal-body",style:t.bodyStyle},[e("p",{staticClass:"text-muted",domProps:{innerHTML:t._s(t.$t("order.paymentBillingDataRequiredText",t.infoTextPlaceholders))}}),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"billingData-firstname"},domProps:{innerHTML:t._s(t.$t("shop.first_name"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.invoice.first_name,expression:"invoice.first_name"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.first_name},attrs:{type:"text",name:"billingData[firstname]",id:"billingData-firstname",placeholder:t.$t("shop.first_name_placeholder"),required:""},domProps:{value:t.invoice.first_name},on:{input:[function(e){e.target.composing||t.$set(t.invoice,"first_name",e.target.value)},function(e){return t.onInputChange("first_name")}],focus:t.onInputFocus}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.first_name,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"billingData-lastname"},domProps:{innerHTML:t._s(t.$t("shop.last_name"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.invoice.last_name,expression:"invoice.last_name"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.last_name},attrs:{type:"text",name:"billingData[lastname]",id:"billingData-lastname",placeholder:t.$t("shop.last_name_placeholder"),required:""},domProps:{value:t.invoice.last_name},on:{input:[function(e){e.target.composing||t.$set(t.invoice,"last_name",e.target.value)},function(e){return t.onInputChange("last_name")}],focus:t.onInputFocus}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.last_name,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"billingData-company"},domProps:{innerHTML:t._s(t.$t("shop.company"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.invoice.company,expression:"invoice.company"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.company},attrs:{type:"text",name:"billingData[company]",id:"billingData-company",placeholder:t.$t("shop.company_placeholder")},domProps:{value:t.invoice.company},on:{input:[function(e){e.target.composing||t.$set(t.invoice,"company",e.target.value)},function(e){return t.onInputChange("company")}],focus:t.onInputFocus}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.company,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"billingData-street"},domProps:{innerHTML:t._s(t.$t("shop.street"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.invoice.street,expression:"invoice.street"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.street},attrs:{type:"text",name:"billingData[street]",id:"billingData-street",placeholder:t.$t("shop.street_placeholder"),required:""},domProps:{value:t.invoice.street},on:{input:[function(e){e.target.composing||t.$set(t.invoice,"street",e.target.value)},function(e){return t.onInputChange("street")}],focus:t.onInputFocus}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.street,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"billingData-house"},domProps:{innerHTML:t._s(t.$t("shop.house_number"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.invoice.houseNumber,expression:"invoice.houseNumber"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.house},attrs:{type:"text",name:"billingData[house]",id:"billingData-house",placeholder:t.$t("shop.house_number_placeholder"),required:""},domProps:{value:t.invoice.houseNumber},on:{input:[function(e){e.target.composing||t.$set(t.invoice,"houseNumber",e.target.value)},function(e){return t.onInputChange("house")}],focus:t.onInputFocus}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.house,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"billingData-postcode"},domProps:{innerHTML:t._s(t.$t("shop.postcode"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.invoice.postcode,expression:"invoice.postcode"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.postcode},attrs:{type:"text",name:"billingData[postcode]",id:"billingData-postcode",placeholder:t.$t("shop.postcode_placeholder"),required:""},domProps:{value:t.invoice.postcode},on:{input:[function(e){e.target.composing||t.$set(t.invoice,"postcode",e.target.value)},function(e){return t.onInputChange("postcode")}],focus:t.onInputFocus}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.postcode,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"billingData-city"},domProps:{innerHTML:t._s(t.$t("shop.city"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.invoice.city,expression:"invoice.city"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.city},attrs:{type:"text",name:"billingData[city]",id:"billingData-city",placeholder:t.$t("shop.city_placeholder"),required:""},domProps:{value:t.invoice.city},on:{input:[function(e){e.target.composing||t.$set(t.invoice,"city",e.target.value)},function(e){return t.onInputChange("city")}],focus:t.onInputFocus}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.city,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"billingData-country"},domProps:{innerHTML:t._s(t.$t("shop.country"))}}),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.invoice.country,expression:"invoice.country"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.country},attrs:{name:"billingData[country]",id:"billingData-country",required:""},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.invoice,"country",e.target.multiple?n:n[0])},function(e){return t.onInputChange("country")}],focus:t.onInputFocus}},[e("option",{attrs:{disabled:""},domProps:{value:null}},[t._v(t._s(t.$t("shop.dropdown_required")))]),t._v(" "),t._l(t.countries,(function(n){return e("option",{key:n.country_name,domProps:{value:n.country_name}},[t._v("\n                                "+t._s(t.$t("country."+n.country_code))+"\n                            ")])}))],2),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.country,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])])])]),t._v(" "),e("div",{staticClass:"modal-footer inline-footer"},[e("button",{staticClass:"btn btn-primary",attrs:{type:"submit"},domProps:{innerHTML:t._s(t.$t("order.saveBillingDataAndContinue"))}}),t._v(" "),e("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("generic.cancel"))},on:{click:function(e){return e.preventDefault(),t.onAbortClicked.apply(null,arguments)}}})])])])}),[],!1,null,null,null).exports},3721:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});const i={props:{orderCompleted:{type:Boolean,required:!0},buttonVisible:{type:Boolean,required:!0},order:{type:Object,required:!0},revocationUrl:{type:String,required:!0},invoiceDownloadUrl:{type:String,required:!0}},data:function(){return{revokeModal:{show:!1,hide:!1,closable:!1},revokeOrderModal:{show:!1,hide:!1,closable:!0},revokeOrderResponse:{show:!1,success:!1,message:""},revokeConfirmed:!1,revokeConfirmError:!1,runningRequest:!1}},computed:{wasRevoked:function(){return!("boolean"!=typeof this.order.revoked||!this.order.revoked)},includeButtonAndModal:function(){return this.buttonVisible&&!this.wasRevoked},hasInvoice:function(){return void 0!==this.order.invoice_wanted&&-1!==[!0,1,"true","1"].indexOf(this.order.invoice_wanted)}},methods:{openRevocationModalForm:function(t){t.preventDefault(),this.includeButtonAndModal&&(this.revokeOrderModal.hide=!1,this.revokeOrderModal.show=!0)},onRevocationFormSubmit:function(t){var e=this;if(t.preventDefault(),this.includeButtonAndModal&&!this.runningRequest){if(this.revokeConfirmed){this.runningRequest=!0,this.revokeConfirmError=!1,this.revokeOrderResponse.show=!1,this.revokeOrderResponse.success=!1,this.revokeOrderResponse.message="";var n=new FormData;return n.append("confirmed",this.revokeConfirmed.toString()),axios.post(this.revocationUrl,n).then((function(t){e.revokeOrderResponse.success=t.data.success,e.revokeOrderResponse.message=t.data.message||"",e.revokeOrderResponse.show=!0,t.data.success?setTimeout((function(){window.location.href=location.href}),2e3):e.runningRequest=!1})).catch((function(){e.runningRequest=!1}))}this.revokeConfirmError=!0}},onRevocationCancel:function(t){t.preventDefault(),this.includeButtonAndModal&&!this.runningRequest&&this.revokeOrderModal.closable&&(this.revokeOrderModal.show=!1,this.revokeOrderModal.hide=!0)},onRevokedModalVisible:function(){var t=document.querySelector(".order-container"),e=document.querySelector(".modal-backdrop.show"),n=document.querySelector("#topnav").getBoundingClientRect().height;t.classList.contains("revoked-order")||t.classList.add("revoked-order"),e.classList.contains("revoked-order-backdrop")||e.classList.add("revoked-order-backdrop"),e.style.top=n+"px",document.querySelector("#revokeModal").style.top=n+"px",document.querySelector("#revokeModal .modal-dialog").style.marginTop=-1*n+"px"},convertRemToPixels:function(t){return t*parseFloat(getComputedStyle(document.documentElement).fontSize)},onResize:function(){this.wasRevoked&&this.onRevokedModalVisible()}},beforeDestroy:function(){var t=this;window.removeEventListener("resize",(function(){t.onResize()}))},beforeMount:function(){var t=this;window.addEventListener("resize",(function(){t.onResize()}))},mounted:function(){this.wasRevoked&&(this.revokeModal.show=!0,this.revokeModal.hide=!1,this.revokeModal.closable=!1)}};var r=n(5072),o=n.n(r),a=n(7178),s={insert:"head",singleton:!1};o()(a.A,s);a.A.locals;const c=(0,n(4486).A)(i,(function(){var t=this,e=t._self._c;return t.orderCompleted||t.wasRevoked?e("div",[t.includeButtonAndModal?e("section",{staticClass:"section"},[e("div",{staticClass:"container"},[e("button",{staticClass:"btn btn-outline-danger btn-block",attrs:{type:"button"},on:{click:function(e){return t.openRevocationModalForm(e)}}},[e("span",{domProps:{innerHTML:t._s(t.$t("orderRevocation.callToAction"))}})])])]):t._e(),t._v(" "),t.includeButtonAndModal?e("modal",{ref:"revokeModalForm",attrs:{id:"revokeOrderForm",size:"modal-lg",title:t.$t("orderRevocation.revokeOrderModalTitle"),centered:!0,scrollable:!0,show:t.revokeOrderModal.show,close:t.revokeOrderModal.hide,closeable:t.revokeOrderModal.closeable}},[e("form",{staticClass:"order-revoke-form",attrs:{method:"post",action:"",enctype:"multipart/form-data"},on:{submit:function(e){return t.onRevocationFormSubmit(e)}}},[e("div",{staticClass:"modal-body"},[e("div",{staticClass:"row"},[t.revokeOrderResponse.show&&t.revokeOrderResponse.message.length>0?e("div",{staticClass:"col-12"},[e("div",{staticClass:"alert",class:{"alert-success":t.revokeOrderResponse.success,"alert-danger":!t.revokeOrderResponse.success}},[e("p",{staticClass:"mb-0"},[t._v(t._s(t.response.message))])])]):t._e(),t._v(" "),e("div",{staticClass:"col-12"},[e("p",{staticClass:"text-muted",domProps:{innerHTML:t._s(t.$t("orderRevocation.revokeOrderModalText"))}}),t._v(" "),e("div",{staticClass:"row align-items-center mt-4"},[e("div",{staticClass:"col-2 text-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.revokeConfirmed,expression:"revokeConfirmed"}],ref:"tosCheckbox",staticClass:"checkbox",class:{"checkbox-error":t.revokeConfirmError},attrs:{type:"checkbox",id:"tos_accepted",name:"confirmed",disabled:t.runningRequest},domProps:{value:!0,checked:Array.isArray(t.revokeConfirmed)?t._i(t.revokeConfirmed,!0)>-1:t.revokeConfirmed},on:{change:function(e){var n=t.revokeConfirmed,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=!0,a=t._i(n,o);i.checked?a<0&&(t.revokeConfirmed=n.concat([o])):a>-1&&(t.revokeConfirmed=n.slice(0,a).concat(n.slice(a+1)))}else t.revokeConfirmed=r}}})]),t._v(" "),e("div",{staticClass:"col-10"},[e("label",{staticClass:"smaller mb-0",attrs:{for:"tos_accepted"},domProps:{innerHTML:t._s(t.$t("orderRevocation.checkboxText"))}}),t._v(" "),t.revokeConfirmError?e("div",{staticClass:"invalid-feedback d-block"},[e("span",{staticClass:"d-block"},[t._v(t._s(t.$t("orderRevocation.confirmationMissing")))])]):t._e()])])])])]),t._v(" "),e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button",disabled:t.runningRequest},on:{click:function(e){return t.onRevocationCancel(e)}}},[e("span",{domProps:{innerHTML:t._s(t.$t("generic.cancel"))}})]),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"submit",disabled:t.runningRequest}},[t.runningRequest?e("i",{staticClass:"mdi mdi-loading mdi-spin"}):e("span",{domProps:{innerHTML:t._s(t.$t("orderRevocation.executeNow"))}})])])])]):t._e(),t._v(" "),t.wasRevoked?e("modal",{ref:"revokeModal",staticClass:"revoked-order-modal",attrs:{id:"revokeModal",size:"modal-lg",title:t.$t("orderRevocation.revokedModalTitle",{id:this.order.id}),centered:!0,scrollable:!0,show:t.revokeModal.show,close:t.revokeModal.hide,closeable:t.revokeModal.closable},on:{"modal-visible":t.onRevokedModalVisible,"modal-close":function(e){t.revokeModal.show=!1,t.revokeModal.hide=!1},"modal-invisible":function(e){t.revokeModal.show=!0}}},[e("div",{staticClass:"modal-body"},[e("p",{staticClass:"text-muted",domProps:{innerHTML:t._s(t.$t("orderRevocation.revokedModalText"))}}),t._v(" "),t.hasInvoice?e("div",{staticClass:"text-center mt-1"},[e("a",{staticClass:"btn btn-sm btn-primary",staticStyle:{"font-size":"1rem"},attrs:{href:t.invoiceDownloadUrl,target:"_blank"}},[e("i",{staticClass:"mdi mdi-download mr-1"}),t._v("\n                    "+t._s(t.$t("order.download-invoice"))+"\n                ")])]):t._e()])]):t._e()],1):t._e()}),[],!1,null,null,null).exports},680:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const i={props:{serviceFee:{type:Number,required:!0},showLang:{type:Boolean,required:!1,default:function(){return!0}},showNewCurrency:{type:Boolean,required:!1,default:function(){return!0}}},data:function(){return{formattedServiceFee:"",modal:{show:!1,close:!1,closable:!0}}},watch:{serviceFee:function(){this.updateFormattedPrice()}},methods:{onShowModal:function(){this.modal.close=!1,this.modal.show=!0},onHideModal:function(){this.modal.show=!1,this.modal.close=!0},updateFormattedPrice:function(){var t=this;this.$nextTick((function(){t.formattedServiceFee=t.$refs.serviceFee.$el.innerHTML}))}},mounted:function(){this.updateFormattedPrice()}};const r=(0,n(4486).A)(i,(function(){var t=this,e=t._self._c;return e("div",[t.showLang?e("span",{staticStyle:{"font-size":"12px",cursor:"pointer"},domProps:{innerHTML:t._s(t.$t("shop.includesServiceFee",{price:t.formattedServiceFee}))},on:{click:function(e){return e.preventDefault(),t.onShowModal.apply(null,arguments)}}}):e("span",{staticClass:"cursor-pointer",domProps:{innerHTML:t._s(t.formattedServiceFee)},on:{click:function(e){return e.preventDefault(),t.onShowModal.apply(null,arguments)}}}),t._v(" "),e("modal",{ref:"serviceFeeInfo",attrs:{id:"service-fee-info-modal",centered:!0,title:t.$t("shop.serviceFeeInfoTitle"),show:t.modal.show,close:t.modal.close,closeable:t.modal.closeable,size:"modal-lg"},on:{"modal-close":t.onHideModal}},[e("div",{staticClass:"modal-body"},[e("p",{staticClass:"mb-0 text-left",domProps:{innerHTML:t._s(t.$t("shop.serviceFeeInfoText",{price:t.formattedServiceFee}))}})]),t._v(" "),e("div",{staticClass:"modal-footer justify-content-center"},[e("button",{staticClass:"btn btn-primary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("shop.serviceFeeInfoClose"))},on:{click:function(e){return e.preventDefault(),t.onHideModal.apply(null,arguments)}}})])]),t._v(" "),e("div",{attrs:{hidden:""}},[e("price",{ref:"serviceFee",attrs:{price:t.serviceFee,inline:!0,"currency-in-newline":!0,"container-class":"",showNewCurrency:this.showNewCurrency}})],1)],1)}),[],!1,null,null,null).exports},4707:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{A:()=>p});function r(){r=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,o=Object.defineProperty||function(t,e,n){t[e]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function p(t,e,n,i){var r=e&&e.prototype instanceof b?e:b,a=Object.create(r.prototype),s=new D(i||[]);return o(a,"_invoke",{value:M(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",m="suspendedYield",v="executing",g="completed",y={};function b(){}function _(){}function w(){}var C={};u(C,c,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==n&&i.call(x,c)&&(C=x);var P=w.prototype=b.prototype=Object.create(C);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function T(t,e){function n(r,o,s,c){var l=f(t[r],t,o);if("throw"!==l.type){var d=l.arg,u=d.value;return u&&"object"==a(u)&&i.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,c)}),(function(t){n("throw",t,s,c)})):e.resolve(u).then((function(t){d.value=t,s(d)}),(function(t){return n("throw",t,s,c)}))}c(l.arg)}var r;o(this,"_invoke",{value:function(t,i){function o(){return new e((function(e,r){n(t,i,e,r)}))}return r=r?r.then(o,o):o()}})}function M(e,n,i){var r=h;return function(o,a){if(r===v)throw Error("Generator is already running");if(r===g){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var c=$(s,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===h)throw r=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=v;var l=f(e,n,i);if("normal"===l.type){if(r=i.done?g:m,l.arg===y)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=g,i.method="throw",i.arg=l.arg)}}}function $(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,$(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),y;var o=f(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function E(e){if(e||""===e){var n=e[c];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(a(e)+" is not iterable")}return _.prototype=w,o(P,"constructor",{value:w,configurable:!0}),o(w,"constructor",{value:_,configurable:!0}),_.displayName=u(w,d,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,u(t,d,"GeneratorFunction")),t.prototype=Object.create(P),t},e.awrap=function(t){return{__await:t}},S(T.prototype),u(T.prototype,l,(function(){return this})),e.AsyncIterator=T,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new T(p(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(P),u(P,d,"Generator"),u(P,c,(function(){return this})),u(P,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=E,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(L),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:E(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),y}},e}function o(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,r)}function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}const s={props:{config:{type:Object,required:!0,default:function(){return{enabled:!1,show:!1,updateUri:null,confirmPopupUri:null,automaticPopupConfirmationActive:!1}}},order:{type:Object,required:!0},licensePlateCountries:{type:Array,required:!0},defaultLicensePlateCountry:{type:String,required:!0}},data:function(){return{modal:{show:!1,hide:!1,closeable:!1},formStyle:{height:"100%"},confirmError:!1,confirm:!1,licensePlate:{showForm:!1,country:this.defaultLicensePlateCountry,value:this.order.license,updated:!1},formErrors:{},changedInputs:{country_code:!1,license:!1,special_license_plate_confirmed:!0},hasTemplateForm:!1,runningRequest:!1,response:{show:!1,success:!1,message:null}}},computed:{isEnabled:function(){return this.config.enabled},shouldBeVisible:function(){return this.config.show},showSetupPopup:function(){return this.isEnabled&&this.shouldBeVisible},selectedLicensePlateCountry:function(){var t=this;try{return this.licensePlateCountries.filter((function(e){return e.country_code===t.licensePlate.country}))[0]}catch(t){return null}},selectedLicensePlateCountryHasTemplate:function(){return null!==this.selectedLicensePlateCountry&&"object"===a(this.selectedLicensePlateCountry.template)&&null!==this.selectedLicensePlateCountry.template},modalText:function(){var t=this.$t("orderPopup.modalText");return t.trim().length>0?t:null},isInsuranceOrder:function(){return"boolean"==typeof this.order.order_insurance&&this.order.order_insurance}},methods:{showModal:function(){return this.modal.show=!0,this.modal.hide=!1,this.modal.closeable=!1,this},onModalOpening:function(){this.$el.ownerDocument.body.classList.add("overflow-hidden")},onModalClosing:function(){this.$el.ownerDocument.body.classList.remove("overflow-hidden")},onInputChange:function(t){var e,n=this;return(e=r().mark((function e(){return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:void 0!==n.changedInputs[t]&&(n.changedInputs[t]=!0);case 1:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(i,r){var a=e.apply(t,n);function s(t){o(a,i,r,s,c,"next",t)}function c(t){o(a,i,r,s,c,"throw",t)}s(void 0)}))})()},onFormSubmit:function(t){var e=this;if(t.preventDefault(),!this.runningRequest){this.runningRequest=!0,this.formErrors={},this.response.show=!1,this.response.success=!1,this.response.message=null,this.confirmError=!1;var n=new FormData,i=this.licensePlate.showForm?this.config.updateUri:this.config.confirmPopupUri;this.licensePlate.showForm&&(n.append("country_code",this.licensePlate.country),n.append("license",this.licensePlate.value),n.append("license_confirmation",this.licensePlate.value)),axios.post(i,n).then((function(t){if(e.response.success=t.data.success,e.response.message=t.data.message,!e.response.success){if("object"===a(t.data.formErrors)){for(var n in t.data.formErrors)void 0!==e.changedInputs[n]&&e.changedInputs[n]||delete t.data.formErrors[n];e.formErrors=t.data.formErrors}return e.response.show=!0,void(e.runningRequest=!1)}e.response.show=!0,setTimeout((function(){window.location.href=location.href}),2e3)})).catch((function(){e.runningRequest=!1}))}},onShowLicensePlateChange:function(t){var e=this;t.preventDefault(),this.sendingRequest||(this.licensePlate.showForm=!0,this.confirm=!1,this.$nextTick((function(){e.onResize()})))},onAbortLicensePlateChange:function(t){var e=this;t.preventDefault(),this.sendingRequest||(this.licensePlate.showForm=!1,this.licensePlate.country=this.order.country_code,this.licensePlate.value=this.order.license,this.$nextTick((function(){e.onResize()})))},onResize:function(){if(this.showSetupPopup){var t=this.$refs.modal.$el.querySelector(".modal-header").clientHeight;this.formStyle.height="calc(100% - ".concat(t,"px)")}}},beforeDestroy:function(){var t=this;window.removeEventListener("resize",(function(){t.onResize()}))},beforeMount:function(){var t=this;window.addEventListener("resize",(function(){t.onResize()}))},mounted:function(){this.showModal()}};var c=n(5072),l=n.n(c),d=n(7587),u={insert:"head",singleton:!1};l()(d.A,u);d.A.locals;const p=(0,n(4486).A)(s,(function(){var t=this,e=t._self._c;return t.showSetupPopup?e("div",{staticClass:"order-setup-popup-container"},[e("modal",{ref:"modal",attrs:{id:"orderSetupPopup",size:"modal-lg",title:t.$t("orderPopup.modalTitle"),centered:!0,centeredHeader:!0,scrollable:!0,show:t.modal.show,close:t.modal.hide,closeable:t.modal.closeable},on:{"modal-opening":t.onModalOpening,"modal-visible":t.onResize,"modal-close":t.onModalClosing}},[e("form",{staticClass:"order-setup-popup-form",style:t.formStyle,attrs:{method:"post",action:"",enctype:"multipart/form-data"},on:{submit:function(e){return t.onFormSubmit(e)}}},[e("div",{ref:"modalBody",staticClass:"modal-body"},[e("div",{staticClass:"row"},[t.response.show&&"string"==typeof t.response.message&&t.response.message.length>0?e("div",{staticClass:"col-12"},[e("div",{staticClass:"alert",class:{"alert-success":t.response.success,"alert-danger":!t.response.success}},[e("p",{staticClass:"mb-0"},[t._v(t._s(t.response.message))])])]):t._e(),t._v(" "),t.licensePlate.showForm?t._e():e("div",{staticClass:"col-12"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-9 horizontal-centered"},[null!==t.modalText?e("p",{domProps:{innerHTML:t._s(t.modalText)}}):t._e()])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-9 horizontal-centered"},[e("license-plate-input",{attrs:{id:"orderSetupPopupLicenseDisplay",name:"license_display",required:!1,"is-invalid":!1,disabled:!0,"license-plate-country":t.selectedLicensePlateCountry,template:t.selectedLicensePlateCountry.template,value:t.licensePlate.value}})],1),t._v(" "),e("div",{staticClass:"col-12 col-md-9 horizontal-centered"},[e("button",{staticClass:"btn btn-block btn-outline-primary",class:{"mt-2":t.selectedLicensePlateCountryHasTemplate},attrs:{type:"button",disabled:t.runningRequest},domProps:{innerHTML:t._s(t.$t("orderPopup.showLicensePlateForm"))},on:{click:function(e){return t.onShowLicensePlateChange(e)}}})])]),t._v(" "),this.config.automaticPopupConfirmationActive?e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-9 horizontal-centered"},[e("div",{staticClass:"align-items-center mt-4"},[e("div",{staticClass:"mt-1 d-block",domProps:{innerHTML:t._s(t.$t("shop.automaticPopupConfirmationNotice"))}})])])]):t._e()]),t._v(" "),t.licensePlate.showForm?e("div",{staticClass:"col-12",class:{"contains-license-plate-template":t.hasTemplateForm}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 mb-3"},[e("label",{staticClass:"col-form-label",attrs:{for:"orderSetupPopupLicenseCountry"},domProps:{innerHTML:t._s(t.$t("shop.licensing_state"))}}),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.licensePlate.country,expression:"licensePlate.country"}],staticClass:"form-control height-auto-override",class:{"is-invalid":t.formErrors.country_code},attrs:{id:"orderSetupPopupLicenseCountry",name:"country_code",disabled:t.runningRequest,required:""},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.licensePlate,"country",e.target.multiple?n:n[0])},function(e){return t.onInputChange("country_code")}]}},[e("option",{attrs:{disabled:""},domProps:{value:!1}},[t._v(t._s(t.$t("shop.dropdown_required")))]),t._v(" "),t._l(t.licensePlateCountries,(function(n){return e("option",{key:n.country_code,domProps:{value:n.country_code}},[t._v("\n                                            "+t._s(t.$t("country.".concat(n.country_code)))+"\n                                        ")])}))],2),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.country_code,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)]),t._v(" "),null!==t.selectedLicensePlateCountry?e("div",{staticClass:"col-12 col-md-9"},[e("label",{staticClass:"col-form-label",attrs:{for:"orderSetupPopupLicensePlate"},domProps:{innerHTML:t._s(t.$t("shop.license_plate"))}}),t._v(" "),e("license-plate-input",{attrs:{id:"orderSetupPopupLicensePlate",name:"license","license-plate-country":t.selectedLicensePlateCountry,template:t.selectedLicensePlateCountry.template,required:!0,disabled:t.runningRequest,"is-invalid":"object"===i(t.formErrors.license)&&t.formErrors.license.length>0,updated:t.licensePlate.updated,"special-license-plate-error":t.formErrors.special_license_plate_confirmed||null},on:{input:function(e){return t.onInputChange("license")},"has-license-plate-template":function(e){t.hasTemplateForm=e},"model-updated":function(e){t.licensePlate.updated=!1}},model:{value:t.licensePlate.value,callback:function(e){t.$set(t.licensePlate,"value",e)},expression:"licensePlate.value"}},t._l(t.formErrors.license,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)],1):t._e()])]):t._e()])]),t._v(" "),t.licensePlate.showForm?e("div",{staticClass:"modal-footer justify-content-center bg-light"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button",disabled:t.runningRequest},domProps:{innerHTML:t._s(t.$t("generic.cancel"))},on:{click:function(e){return t.onAbortLicensePlateChange(e)}}}),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"submit",disabled:t.runningRequest}},[t.runningRequest?e("i",{staticClass:"mdi mdi-loading mdi-spin"}):e("span",{domProps:{innerHTML:t._s(t.$t("orderPopup.updateLicensePlate"))}})])]):e("div",{staticClass:"modal-footer bg-light justify-content-center"},[e("button",{staticClass:"btn btn-primary",attrs:{type:"submit",disabled:t.runningRequest}},[t.runningRequest?e("i",{staticClass:"mdi mdi-loading mdi-spin"}):t.isInsuranceOrder?e("span",{domProps:{innerHTML:t._s(t.$t("orderPopup.confirmLicensePlate"))}}):e("span",{domProps:{innerHTML:t._s(t.$t("orderPopup.confirm"))}})])])])])],1):t._e()}),[],!1,null,null,null).exports},9469:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}const r={props:{isPaymentConfirmed:{type:Boolean,required:!0},trustpilotConfig:{type:Object,required:!0,default:function(){return{invitationUri:null,cashbackUri:null,invitationSent:!1,requestSent:!1}}},order:{type:Object,required:!0}},data:function(){return{datePickerOptions:{defaultDate:new Date,maxDate:new Date,format:"DD.MM.YYYY",locale:window.Vue.prototype.$language},trustpilotModal:{show:!1,hide:!1,closeable:!0},csrfToken:null,formStyle:{height:"100%"},bodyStyle:{height:"100%"},confirmError:!1,confirm:!1,formErrors:{},runningRequest:!1,response:{show:!1,success:!1,message:null},sentAt:""}},computed:{shouldBeVisible:function(){return this.isPaymentConfirmed},modalText:function(){var t=this.$t("trustpilotPopup.modalText");return t.trim().length>0?t:null}},methods:{showModal:function(){return this.trustpilotModal.show=!0,this.trustpilotModal.hide=!1,this.trustpilotModal.closeable=!0,this.onShowModal(),this},hideModal:function(){return this.trustpilotModal.show=!1,this.trustpilotModal.hide=!0,this.trustpilotModal.closeable=!0,this},onModalOpening:function(){this.$el.ownerDocument.body.classList.add("overflow-hidden")},onModalClosing:function(){this.$el.ownerDocument.body.classList.remove("overflow-hidden"),this.hideModal()},onFormSubmit:function(t){var e=this;if(t.preventDefault(),!this.runningRequest){this.runningRequest=!0,this.formErrors={},this.response.show=!1,this.response.success=!1,this.response.message=null,this.confirmError=!1;var n=new FormData(this.$refs.cashbackForm),r=this.trustpilotConfig.cashbackUri;axios.post(r,n).then((function(t){if(e.response.success=t.data.success,e.response.message=t.data.message,!e.response.success)return"object"===i(t.data.formErrors)&&(e.formErrors=t.data.formErrors),e.response.show=!0,void(e.runningRequest=!1);e.$set(e.trustpilotConfig,"requestSent",!0),e.runningRequest=!1})).catch((function(){e.runningRequest=!1}))}},onResize:function(){},onShowModal:function(){var t=this;if(!this.trustpilotConfig.requestSent&&!this.trustpilotConfig.invitationSent){var e=this.trustpilotConfig.invitationUri;axios.post(e).then((function(e){t.response.success=e.data.success,t.response.message=e.data.message,t.response.success||(t.response.show=!0,t.runningRequest=!1)})).catch((function(){t.runningRequest=!1}))}}},beforeDestroy:function(){var t=this;window.removeEventListener("resize",(function(){t.onResize()}))},beforeMount:function(){var t=this;window.addEventListener("resize",(function(){t.onResize()}))},mounted:function(){this.hideModal()}};var o=n(5072),a=n.n(o),s=n(7429),c={insert:"head",singleton:!1};a()(s.A,c);s.A.locals;const l=(0,n(4486).A)(r,(function(){var t=this,e=t._self._c;return this.shouldBeVisible?e("div",{staticClass:"trustpilot-popup-container"},[e("modal",{ref:"trustpilotModal",attrs:{id:"trustpilotPopup",size:"modal-lg",title:t.$t("trustpilotPopup.modalTitle"),centered:!0,scrollable:!0,show:t.trustpilotModal.show,close:t.trustpilotModal.hide,closeable:t.trustpilotModal.closeable,"tighter-close-button":!0},on:{"modal-opening":t.onModalOpening,"modal-visible":t.onResize,"modal-close":t.onModalClosing}},[t.trustpilotConfig.requestSent?e("div",{staticClass:"modal-body",style:t.bodyStyle},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-6 col-md-2"},[e("i",{staticClass:"mdi mdi-check-circle-outline text-primary",staticStyle:{"font-size":"6rem"}})]),t._v(" "),e("div",{staticClass:"col-6 col-md-10 d-flex align-items-center"},[e("p",{domProps:{innerHTML:t._s(t.$t("trustpilotPopup.requestSent"))}})])])]):e("form",{ref:"cashbackForm",staticClass:"cancel-order-popup-form",style:t.formStyle,attrs:{method:"post",action:"",enctype:"multipart/form-data"},on:{submit:function(e){return t.onFormSubmit(e)}}},[e("div",{ref:"trustpilotModalBody",staticClass:"modal-body",style:t.bodyStyle},[e("div",[t.response.show&&"string"==typeof t.response.message&&t.response.message.length>0?e("div",[e("div",{staticClass:"alert",class:{"alert-success":t.response.success,"alert-danger":!t.response.success}},[e("p",{staticClass:"mb-0"},[t._v(t._s(t.response.message))])])]):t._e(),t._v(" "),e("div",[null!==t.modalText?e("p",{domProps:{innerHTML:t._s(t.modalText)}}):t._e(),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"username"}},[t._v(t._s(t.$t("trustpilotPopup.username")))]),t._v(" "),e("input",{staticClass:"form-control",attrs:{type:"text",name:"username",id:"username",placeholder:"",required:"required"}}),t._v(" "),e("div",{staticClass:"invalid-feedback"})]),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"sent_at"}},[t._v(t._s(t.$t("trustpilotPopup.date")))]),t._v(" "),e("div",{staticClass:"datepicker-overlay"},[e("nova-datepicker",{class:{"is-invalid":t.formErrors.sent_at,"form-control":!0},attrs:{id:"sent_at",name:"sent_at",required:"required",mobileIcon:!0,config:t.datePickerOptions},model:{value:t.sentAt,callback:function(e){t.sentAt=e},expression:"sentAt"}})],1),t._v(" "),e("div",{staticClass:"invalid-feedback"})]),t._v(" "),e("div",{staticClass:"text-center mt-1"},[e("button",{staticClass:"btn btn-primary btn-sm",staticStyle:{"font-size":"1rem"},attrs:{type:"submit",disabled:t.runningRequest}},[t.runningRequest?e("i",{staticClass:"mdi mdi-loading mdi-spin",staticStyle:{"margin-right":"5px"}}):t._e(),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("trustpilotPopup.sendRequest"))}})])])])])])])])],1):t._e()}),[],!1,null,null,null).exports},3253:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});const i={props:["orderFormReversed","initialSettings","datepickerConfig","selectedProduct","selectedOption","selectedRides","routeTollProduct","products","defaultValidTo","licensePlateTemplates","exchangeRate","countryCodePhones","tollProducts","tollProductsStartPrice","currentDate","selectedCountry","preFillFromSession","autoScrollUpToWidth","hideRouteTollProducts","emRedirect","emAbo","systemId","sessionVoucher","changeProductSetting","vehicles"],data:function(){return{loadingPayPal:!1,loadingKlarna:!1,sendingRequest:!1,orderPrice:0,serviceFee:0,insuranceFee:0,klarnaData:null,showKlarnaPayButton:!1,maintenanceModal:{show:!1,close:!1,closeable:!0}}},computed:{currentComponent:function(){return"gift_voucher"===this.selectedProduct.productType?this.$options.components["gift-voucher-container"]:this.$options.components["product-card-container"]},isMaintenanceModeEnabled:function(){return"boolean"==typeof this.initialSettings["shop.maintenance"]&&this.initialSettings["shop.maintenance"]}},methods:{onProductSelection:function(){this.isMaintenanceModeEnabled&&(this.maintenanceModal.show=!0)},onMaintenanceModalOpening:function(){this.isMaintenanceModeEnabled&&(document.body.classList.add("overflow-hidden"),document.body.classList.add("maintenance-modal-open"))},onMaintenanceModalClose:function(){this.isMaintenanceModeEnabled&&(window.location.href=window.location.origin+"/"+this.$language)},getScrollTop:function(t){var e=this.$refs[t].offsetTop,n=document.querySelector("#topnav"),i=null!==n?n.getBoundingClientRect().height:0;return e>0&&e-i>=0&&(e-=i),e},paypalLoaded:function(){Vue.nextTick(function(){window.scrollTo(0,this.getScrollTop("paypalContainer"))}.bind(this))},klarnaLoaded:function(){Vue.nextTick(function(){this.showKlarnaPayButton=!0,window.scrollTo(0,this.getScrollTop("klarnaContainer"))}.bind(this))},klarnaFinalize:function(){var t=this;Klarna.Payments.authorize({payment_method_category:"pay_now"},(function(e){e.approved?location.href=t.klarnaData.payment.return_url+"?authorization_token="+e.authorization_token:location.href=t.klarnaData.payment.cancel_url}))}},mounted:function(){var t=this;this.$nextTick((function(){t.$el.parentElement.classList.add("rendered")}))}};var r=n(5072),o=n.n(r),a=n(3190),s={insert:"head",singleton:!1};o()(a.A,s);a.A.locals;const c=(0,n(4486).A)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"order-form-container"},[e(t.currentComponent,{tag:"component",attrs:{"order-form-reversed":t.orderFormReversed,"initial-settings":t.initialSettings,"datepicker-config":t.datepickerConfig,"default-selected-product":t.selectedProduct,"default-selected-option":t.selectedOption,"default-selected-rides":t.selectedRides,"default-valid-to":t.defaultValidTo,"route-toll-product":t.routeTollProduct,products:t.products,"license-plate-templates":t.licensePlateTemplates,"exchange-rate":t.exchangeRate,"country-code-phones":t.countryCodePhones,"toll-products":t.tollProducts,"current-date":t.currentDate,"toll-products-start-price":t.tollProductsStartPrice,"order-price":t.orderPrice,"service-fee":t.serviceFee,"insurance-fee":t.insuranceFee,"selected-country-default":t.selectedCountry,"pre-fill-from-session":t.preFillFromSession,"hide-route-toll-products":t.hideRouteTollProducts,"auto-scroll-up-to-width":t.autoScrollUpToWidth,"em-redirect":this.emRedirect,"em-abo":this.emAbo,"system-id":this.systemId,"session-voucher":this.sessionVoucher,"change-product-setting":t.changeProductSetting,vehicles:t.vehicles},on:{"paypal-status-change":function(e){t.loadingPayPal=e},"klarna-status-change":function(e){t.loadingKlarna=e},"klarna-data-update":function(e){t.klarnaData=e},"request-sending-change":function(e){t.sendingRequest=e},"price-change":function(e){t.orderPrice=e},"service-fee-change":function(e){t.serviceFee=e},"insurance-fee-change":function(e){t.insuranceFee=e},"paypal-loaded":t.paypalLoaded,"klarna-loaded":t.klarnaLoaded,"product-selected":t.onProductSelection}}),t._v(" "),t.loadingPayPal?e("div",{staticClass:"d-flex justify-content-center mt-3"},[e("i",{staticClass:"fas fa-circle-notch fa-spin"})]):t._e(),t._v(" "),t._m(0),t._v(" "),e("modal",{attrs:{id:"shop-maintenance-mode-modal",centered:!0,title:t.$t("frontend.attention"),show:t.maintenanceModal.show,close:t.maintenanceModal.close,closeable:t.maintenanceModal.closeable,size:"modal-lg"},on:{"modal-opening":t.onMaintenanceModalOpening,"modal-close":t.onMaintenanceModalClose}},[e("div",{staticClass:"modal-body"},[e("div",{staticClass:"alert alert-warning",domProps:{innerHTML:t._s(t.$t("shop.maintenanceNotice"))}})]),t._v(" "),e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("frontend.ok"))},on:{click:function(e){t.maintenanceModal.close=!0}}})])])],1)}),[function(){var t=this,e=t._self._c;return e("div",{staticClass:"row",attrs:{id:"payment-row"}},[e("div",{staticClass:"d-none d-md-block col-md-4 col-lg-3"},[t._v(" ")]),t._v(" "),e("div",{staticClass:"col-12 col-md-8 col-lg-9"},[e("div",{attrs:{id:"paypal-button-container"}})])])}],!1,null,null,null).exports},4655:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});const i={props:{small:{type:Boolean,default:!1}},mounted:function(){var t=document.querySelector("#method_paypal");null!==t&&t.click()}};var r=n(5072),o=n.n(r),a=n(9087),s={insert:"head",singleton:!1};o()(a.A,s);a.A.locals;const c=(0,n(4486).A)(i,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"payment-methods div-offset-small-half"},[e("div",{staticStyle:{display:"none"}},[e("input",{attrs:{type:"radio",name:"payment_method",value:"paypal",id:"method_paypal"},on:{change:function(e){return t.$emit("payment-method-changed","paypal")}}})])])}),[],!1,null,"26b4d8e4",null).exports},1802:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function r(t,e,n){var r;return r=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(e,"string"),(e="symbol"==i(r)?r:r+"")in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{A:()=>c});var o=n(7604);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}const s={props:{price:{required:!0},withPrefix:{type:Boolean,required:!1,default:function(){return!1}},prefix:{type:String,required:!1,default:function(){return""}},containerClass:{type:String,required:!1,default:function(){return"price"}},priceClass:{type:String,required:!1,default:function(){return""}},convertedPriceClass:{type:String,required:!1,default:function(){return""}},inline:{type:Boolean,required:!1,default:function(){return!1}},currency:{type:Object,required:!1,default:function(){return null}},fixedExchangeRate:{type:Number,required:!1,default:function(){return null}},precision:{type:Number,required:!1,default:function(){return null}},currencyInNewline:{type:Boolean,required:!1,default:function(){return!1}},showNewCurrency:{type:Boolean,required:!1,default:function(){return!0}}},computed:{defaultCurrency:function(){return DefaultCurrency},activeCurrency:function(){return"object"===a(this.currency)&&null!==this.currency?this.currency:Currency},castedPrice:function(){var t=this.price.toString(),e=t.match(/([0-9]+,[0-9]+)/)||[];return e.length>0?parseFloat(e[1].replace(",",".")):(t.match(/x{1,2},x{1,2}/i)||[]).length?0:parseFloat(t)},defaultCurrencyPrice:function(){return this.applyExchangeRate(this.castedPrice,this.defaultCurrency,null)},activeCurrencyPrice:function(){return this.applyExchangeRate(this.castedPrice,this.activeCurrency,this.fixedExchangeRate)},formattedPrefix:function(){return this.prefix+(this.withPrefix?this.castedPrice<0?"- ":"+ ":"")}},methods:{applyExchangeRate:function(t,e,n){return("number"!=typeof n||isNaN(n))&&(n=1,"number"!=typeof e.exchange_rate||isNaN(e.exchange_rate)||(n=e.exchange_rate/e.exchange_rate_factor)),Math.abs(t)*n},formatPrice:function(t,e){var n=this.precision;return n=null!==n||"number"!=typeof e.precision||isNaN(e.precision)?2:e.precision,t=this.round(t,e.rounding,n),this.formattedPrefix+(0,o.sprintf)(e.format,t,e.symbol)},round:function(t,e,n){switch(e){case"up":case"ceil":return Math.ceil(t);case"down":case"floor":return Math.floor(t);default:var i=Math.pow(10,n||0);return Math.round(t*i)/i}}}};const c=(0,n(4486).A)(s,(function(){var t=this,e=t._self._c;return e("span",{class:t.containerClass},[e("span",{class:r({"d-block":!t.inline},t.priceClass,!0)},[t._v(t._s(t.formatPrice(t.defaultCurrencyPrice,t.defaultCurrency)))]),t._v(" "),t.defaultCurrency.id!==t.activeCurrency.id&&t.showNewCurrency?e("span",{class:r({"d-block":t.currencyInNewline},t.convertedPriceClass,!0),staticStyle:{"font-size":"12px !important"}},[t._v("\n        ("+t._s(t.formatPrice(t.activeCurrencyPrice,t.activeCurrency))+")\n    ")]):t._e()])}),[],!1,null,null,null).exports},8531:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{A:()=>l});const r={props:["name","urlName","urlNames","description","selectedProduct","selectedProductType","smallerView","configValue","preselectId","noticePopup"],data:function(){return{noticeModal:{show:!1,close:!1,closeable:!1}}},computed:{highlighted:function(){return this.id===this.selectedProduct&&this.selectedProductType===this.type},hasNoticePopup:function(){return"object"===i(this.noticePopup)&&null!==this.noticePopup}},methods:{select:function(){if(this.hasNoticePopup)return this.noticeModal.show=!0,this.noticeModal.close=!1,void(this.noticeModal.closeable=!1);this.$emit("product-card-selected",this)},onModalConfirmed:function(){this.noticeModal.show=!1,this.noticeModal.closeable=!0,this.noticeModal.close=!0,this.$emit("product-card-selected",this)},onModalNotConfirmed:function(){this.noticeModal.show=!1,this.noticeModal.closeable=!0,this.noticeModal.close=!0}}};var o=n(5072),a=n.n(o),s=n(46),c={insert:"head",singleton:!1};a()(s.A,c);s.A.locals;const l=(0,n(4486).A)(r,undefined,undefined,!1,null,"1146b472",null).exports},4872:(t,e,n)=>{"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}n.d(e,{A:()=>B});function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}const o={props:{email:{type:String,required:!0}},data:function(){return{shopStateModal:{show:!1,hide:!1,closeable:!0},csrfToken:null,formStyle:{height:"100%"},bodyStyle:{height:"100%"},confirmError:!1,confirm:!1,formErrors:{},runningRequest:!1,response:{show:!1,success:!1,message:null}}},computed:{shouldBeVisible:function(){return!0}},methods:{showModal:function(){return this.shopStateModal.show=!0,this.shopStateModal.hide=!1,this.shopStateModal.closeable=!0,this},hideModal:function(){return this.shopStateModal.show=!1,this.shopStateModal.hide=!0,this.shopStateModal.closeable=!0,this},onModalOpening:function(){this.$el.ownerDocument.body.classList.add("overflow-hidden")},onModalClosing:function(){this.$el.ownerDocument.body.classList.remove("overflow-hidden"),this.hideModal()},onFormSubmit:function(t){var e=this;t.preventDefault(),this.runningRequest||(this.runningRequest=!0,this.formErrors={},this.response.show=!1,this.response.success=!1,this.response.message=null,this.confirmError=!1,axios.post("/"+this.$language+"/backend/shopnotify",{email:this.email}).then((function(t){if(e.response.success=t.data.success,e.response.message=t.data.message,!e.response.success)return"object"===r(t.data.formErrors)&&(e.formErrors=t.data.formErrors),e.response.show=!0,void(e.runningRequest=!1);e.response.show=!0})).finally((function(){e.runningRequest=!1})))},onResize:function(){}},beforeDestroy:function(){var t=this;window.removeEventListener("resize",(function(){t.onResize()}))},beforeMount:function(){var t=this;window.addEventListener("resize",(function(){t.onResize()}))},mounted:function(){this.hideModal()}};var a=n(4486);const s=(0,a.A)(o,(function(){var t=this,e=t._self._c;return this.shouldBeVisible?e("div",{staticClass:"shopstate-popup-container"},[e("modal",{attrs:{id:"shop-active-modal",centered:!0,show:t.shopStateModal.show,close:t.shopStateModal.hide,closeable:t.shopStateModal.closeable,"tighter-close-button":!0,title:t.$t("shop.inactiveModalTitle"),size:"modal-lg"},on:{"modal-opening":t.onModalOpening,"modal-visible":t.onResize,"modal-close":t.onModalClosing}},[e("form",{ref:"shopStateForm",staticClass:"cancel-order-popup-form",style:t.formStyle,attrs:{method:"post",action:"",enctype:"multipart/form-data"},on:{submit:function(e){return t.onFormSubmit(e)}}},[e("div",{staticClass:"modal-body pt-0"},[e("div",{staticClass:"row"},[t.response.show&&"string"==typeof t.response.message&&t.response.message.length>0?e("div",{staticClass:"col-12"},[e("div",{staticClass:"alert",class:{"alert-success":t.response.success,"alert-danger":!t.response.success}},[e("p",{staticClass:"mb-0"},[t._v(t._s(t.response.message))])])]):t._e(),t._v(" "),e("div",{staticClass:"col-12"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("p",{domProps:{innerHTML:t._s(t.$t("shop.inactiveModalText"))}})])])])])]),t._v(" "),e("div",{staticClass:"modal-footer justify-content-end bg-light"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("generic.cancel"))},on:{click:function(e){return e.preventDefault(),t.hideModal.apply(null,arguments)}}}),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"submit",disabled:t.runningRequest}},[t.runningRequest?e("i",{staticClass:"mdi mdi-loading mdi-spin",staticStyle:{"margin-right":"5px"}}):t._e(),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("shop.inactiveModalButton"))}})])])])])],1):t._e()}),[],!1,null,null,null).exports;const c={name:"LimitValidityModal",props:{settings:{type:Object,required:!0},customerEmail:{type:String,required:!0},placeholders:{type:Object,required:!0},productType:{type:String,required:!0},optionId:{type:Number,required:!1}},data:function(){return{modal:{show:!1,close:!1,closeable:!1},successfulCompleted:!1,isOngoing:!1,formErrors:{},form:{placeholders:this.placeholders,email:this.customerEmail}}},watch:{customerEmail:function(){""!==this.form.email&&this.form.email.substring(0,1)!==this.customerEmail.substring(0,1)||(this.form.email=this.customerEmail)},placeholders:function(){this.form.placeholders=this.placeholders}},computed:{limitValidityRangePicker:function(){return this.limitValidityStart?this.settings["shop.limitValidityRangePicker"]:0}},methods:{showModal:function(){this.modal.closeable=this.modal.close=!1,this.modal.show=!0},hideModal:function(){var t=this;this.modal.show&&(this.modal.closeable=!0,this.$nextTick((function(){t.modal.close=!0})))},onCallback:function(t){var e=this;if(!t){var n=new Date,i=new Date;i.setTime(n.getTime()+864e5*this.limitValidityRangePicker);var r=(new Intl.DateTimeFormat("de",{day:"2-digit"}).format(i)+"."+new Intl.DateTimeFormat("de",{month:"2-digit"}).format(i)+"."+new Intl.DateTimeFormat("de",{year:"numeric"}).format(i)).toString();return this.$emit("declined",{purchaseAbleDate:r,jsDate:i}),this.hideModal()}this.$set(this,"formErrors",{});var o=[];"string"!=typeof this.form.email||""===this.form.email.trim()?o.push(this.$t("shop.validityRangeLimitedMissingEmail")):0===(this.form.email.match(/^[\w-.]+@([\w-]+\.)+[\w-]{1,63}$/g)||[]).length&&o.push(this.$t("shop.validityRangeLimitedInvalidEmail")),o.length>0?this.$set(this,"formErrors",{email:o}):this.isOngoing||(this.isOngoing=!0,axios.post("/"+this.$language+"/payment/notification",{productType:this.productType,optionId:this.optionId,wishedDate:this.form.placeholders.wishedDate,orderAbleAtDate:this.form.placeholders.orderAbleAtDate,email:this.form.email,locale:this.$language}).then((function(t){t.data.success?e.successfulCompleted=!0:e.$set(e,"formErrors",t.data.formErrors)})).then((function(){e.isOngoing=!1})))}}};var l=n(5072),d=n.n(l),u=n(4407),p={insert:"head",singleton:!1};d()(u.A,p);u.A.locals;const f=(0,a.A)(c,(function(){var t=this,e=t._self._c;return e("modal",{attrs:{id:"limit-validity-start-modal",centered:!0,title:t.$t("shop.validityRangeLimitedTitle"),show:t.modal.show,close:t.modal.close,closeable:t.modal.closeable,size:"modal-lg"},on:{"modal-invisible":function(e){t.successfulCompleted=t.modal.show=t.modal.closeable=t.modal.close=!1}}},[t.successfulCompleted?[e("div",{staticClass:"modal-body"},[e("div",{staticClass:"alert alert-success",domProps:{innerHTML:t._s(t.$t("shop.validityRangeLimitedReminderCreated",t.placeholders))}})]),t._v(" "),e("div",{staticClass:"modal-footer justify-content-center"},[e("button",{staticClass:"btn btn-primary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("generic.close"))},on:{click:function(e){return t.onCallback(!1)}}})])]:[e("div",{staticClass:"modal-body"},[e("p",{domProps:{innerHTML:t._s(t.$t("shop.validityRangeLimitedText",t.placeholders))}}),t._v(" "),e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"validityRangeLimitedEmail"},domProps:{innerHTML:t._s(t.$t("shop.validityRangeLimitedEmail"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.email,expression:"form.email"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.email},attrs:{type:"email",name:"validityRangeLimitedEmail",id:"validityRangeLimitedEmail",placeholder:t.$t("shop.email_placeholder"),required:""},domProps:{value:t.form.email},on:{input:function(e){e.target.composing||t.$set(t.form,"email",e.target.value)}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.email,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v("\n                        "+t._s(n)+"\n                    ")])})),0)])]),t._v(" "),e("div",{staticClass:"modal-footer justify-content-center"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button",disabled:t.isOngoing},domProps:{innerHTML:t._s(t.$t("shop.validityRangeLimitedClose"))},on:{click:function(e){return t.onCallback(!1)}}}),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"button",disabled:t.isOngoing},domProps:{innerHTML:t._s(t.$t("shop.validityRangeLimitedRememberMe"))},on:{click:function(e){return t.onCallback(!0)}}})]),t._v(" "),e("loading-animation",{attrs:{visible:t.isOngoing,"always-show":!1,"preloader-container-id":"","status-container-id":"","loading-text":t.$t("shop.validityRangeLimitedRememberMeOngoing")}})]],2)}),[],!1,null,null,null).exports;const h={props:{tag:{type:String,required:!1,default:function(){return"div"}},mobileControlUpToPx:{type:Number,required:!1,default:function(){return 991}},controlTag:{type:String,required:!1,default:function(){return"span"}},onlyClick:{type:Boolean,required:!1,default:function(){return!1}}},data:function(){return{showContent:!1}},methods:{useMobileControl:function(){return window.innerWidth<=this.mobileControlUpToPx},onHover:function(t){this.useMobileControl()||this.onlyClick||(this.showContent=t)},onBodyTextLeave:function(t){this.useMobileControl()||(this.showContent=t)},onClick:function(t){t.preventDefault(),this.showContent=!this.showContent}}};const m=(0,a.A)(h,(function(){var t=this,e=t._self._c;return e(t.tag,{tag:"component"},[e(t.controlTag,{tag:"component",on:{mouseenter:function(e){return t.onHover(!0)},mouseleave:function(e){return t.onHover(!1)},click:function(e){return t.onClick(e)}}},[t._t("icon")],2),t._v(" "),t.showContent?e("div",{staticClass:"tooltip-content-box shadow-sm",on:{mouseleave:function(e){return t.onBodyTextLeave(!1)}}},[t._t("text")],2):t._e()],1)}),[],!1,null,null,null).exports;var v=n(6021);function g(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}const _={name:"OrderFormProductSelection",props:["vignetteProducts","defaultSelectedProduct","defaultSelectedOption","changeProductSetting","currentOrderValue","isMobile","hideRouteTollProducts","tollProductsStartPrice","routeTollProduct","selectedRoute","options","selectedTollOption","tollProducts"],data:function(){return{selectedProduct:null,selectedProductType:"",selectedProductUrlName:"",selectedProductUrlNames:{},showPackageChange:!1,scrollToProduct:!1,initialScroll:!0}},mounted:function(){this.showPackageChange=!this.isMobile},computed:{selectedShopProduct:function(){var t,e,n;if(null===this.selectedProduct)return null;switch(this.selectedProductType){case"vignette":return null!==(t=this.vignetteProducts[this.selectedProduct])&&void 0!==t?t:null;case"route_toll":return null!==(e=null!==(n=this.tollProducts[this.selectedProduct])&&void 0!==n?n:Object.values(this.tollProducts)[0])&&void 0!==e?e:null;default:return null}},visibleProducts:function(){return Object.values(this.vignetteProducts).sort((function(t,e){return t.product_sort-e.product_sort}))},isSubscriptionEnabled:function(){return"route_toll"===this.selectedProductType?this.options&&"object"===b(this.options[this.selectedTollOption])&&null!==this.options[this.selectedTollOption]&&"boolean"==typeof this.options[this.selectedTollOption].enable_subscription&&this.options[this.selectedTollOption].enable_subscription:null!==this.selectedShopProduct&&"boolean"==typeof this.selectedShopProduct.enable_subscription&&this.selectedShopProduct.enable_subscription}},watch:{selectedProduct:function(t){this.updateField("selectedProduct",t),this.$emit("product-selected")},selectedShopProduct:function(t){this.updateField("selectedShopProduct",t),this.$emit("product-selected")},selectedProductType:function(t){this.updateField("selectedProductType",t)},selectedProductUrlName:function(t){this.updateField("selectedProductUrlName",t)},selectedProductUrlNames:function(t){this.updateField("selectedProductUrlNames",t)},isSubscriptionEnabled:function(t){this.updateField("isSubscriptionEnabled",t)}},methods:{updateField:function(t,e){this.$emit("field-updated",{field:t,value:e})},saveToSession:function(t,e,n){this.$emit("save-to-session",{key:t,value:e,type:n})},changeSelection:function(t){var e=this,n=this.selectedProduct,i=this.selectedProductUrlName,r=this.selectedProductUrlNames;if(this.selectedProduct=t.id,this.selectedProductType=t.type,this.selectedProductUrlName=t.urlName||"",this.selectedProductUrlNames=t.urlNames||{},"route_toll"===this.selectedProductType&&(this.selectedRoute>0?this.selectedProduct=this.selectedRoute:Object.keys(this.tollProducts).length>0&&(this.selectedProduct=parseInt(Object.keys(this.tollProducts)[0]))),this.$emit("product-selected"),this.$emit("show-loading-animation"),this.$emit("input-change"),"route_toll"===this.selectedProductType?this.$emit("display-route-options"):n!==this.selectedProduct&&this.$emit("display-type-options"),"vignette"===this.selectedProductType){var o=this.isSubscriptionEnabled&&this.selectedShopProduct.subscription_by_default;this.updateField("paymentSubscription",o)}if(this.saveToSession("selectedProduct","string",this.selectedProduct),this.saveToSession("selectedProductType","string",this.selectedProductType),setTimeout((function(){e.$emit("preselect-route-toll-option"),window.dispatchEvent(new Event("resize")),e.$emit("init-tool-tip")}),10),this.handleProductScrolling(),setTimeout((function(){e.updateStructuredProductData(),e.updateProductMetadata(i,r)}),50),"string"==typeof t.urlName&&t.urlName.length&&"#"!==t.urlName&&window.history&&!window.location.pathname.endsWith(t.urlName)){var a=window.location.href+(window.location.href.endsWith("/")?"":"/")+t.urlName;if("string"==typeof i&&i.length&&(a=window.location.href.replace(i,t.urlName)),this.defaultSelectedOption>0||window.history.pushState("","",a),"object"===b(t.urlNames)&&(Object.keys(t.urlNames)||[]).length){var s,c=g(document.querySelectorAll("#locales-submenu li"));try{for(c.s();!(s=c.n()).done;){var l=s.value,d=l.dataset.locale,u=l.querySelector("a"),p=r[d]||null,f=t.urlNames[d]||null;if("string"!=typeof p||!p.length||"string"!=typeof f||!f.length)return;u.href=u.href.replace(p,f)}}catch(t){c.e(t)}finally{c.f()}}}},togglePackageChange:function(){this.showPackageChange=!this.showPackageChange},getAnchorTag:function(){return window.location.hash},handleProductScrolling:function(){var t=this,e=this.getAnchorTag(),n=null;!e||this.scrollToProduct?(this.showPackageChange=!1,n="#optionSelection"):this.scrollToProduct||(this.scrollToProduct=!0,n=e),Vue.nextTick((function(){setTimeout((function(){t.initialScroll&&(t.initialScroll=!1);var e=document.querySelector(n).getBoundingClientRect().top-document.getElementById("topnav").getBoundingClientRect().height;"vignette"===t.selectedProductType&&(e+=window.scrollY),window.scrollTo(0,e)}),t.initialScroll?50:100)}))},updateStructuredProductData:function(){var t,e=document.querySelector("#structured-product");if(null!==e){var n,i=null;if("vignette"===this.selectedProductType)i=null!==(n=this.vignetteProducts[this.selectedProduct])&&void 0!==n?n:null;else if("route_toll"===this.selectedProductType){var r;i=null!==(r=this.tollProducts[this.selectedProduct])&&void 0!==r?r:null}if(null!==i&&"object"===b(i.metadata))document.querySelector("#description").innerHTML=null!==(t=i.metadata.shopDescription)&&void 0!==t?t:"",e.innerText=JSON.stringify(i.metadata.structuredData);else e.innerText=""}},updateProductMetadata:function(t,e){var n,i=this,r=null;if("vignette"===this.selectedProductType)r=null!==(n=this.vignetteProducts[this.selectedProduct])&&void 0!==n?n:null;else if("route_toll"===this.selectedProductType){var o;r=null!==(o=this.tollProducts[this.selectedProduct])&&void 0!==o?o:null}if(r){var a=this.$t("meta.title");r.meta_title&&r.meta_title.length>0&&(a=r.meta_title),document.title=a,document.querySelector('meta[name="title"]').setAttribute("content",a);var s=this.$t("meta.description");if(r.meta_description&&r.meta_description.length>0&&(s=r.meta_description),document.querySelector('meta[name="description"]').setAttribute("content",s),t&&e){var c="en";document.querySelectorAll('link[rel="canonical"]').forEach((function(e){e.href=e.href.replace(t,i.selectedProductUrlName)})),document.querySelectorAll('link[rel="alternate"]').forEach((function(t){var n=t.getAttribute("hreflang");"x-default"===n?t.href=t.href.replace(e[c],i.selectedProductUrlNames[c]):i.selectedProductUrlNames[n]?t.href=t.href.replace(e[n],i.selectedProductUrlNames[n]):!i.selectedProductUrlNames[n]&&i.selectedProductUrlNames[c]?t.href=t.href.replace(e[n],i.selectedProductUrlNames[c]):t.href=""}))}}}}};const w=(0,a.A)(_,(function(){var t,e,n=this,i=n._self._c;return i("div",[i("div",{staticClass:"row"},[i("div",{staticClass:"col-md-12"},[i("h2",[n._v(n._s(n.$t("shop.selected_product")))])])]),n._v(" "),i("div",{staticClass:"row"},[i("div",{staticClass:"col-md-12 mb-2"},[i("div",{staticClass:"selected-product-row pb-1"},[i("h3",{staticClass:"text-primary",domProps:{innerHTML:n._s("route_toll"===n.selectedProductType?n.$t("shop.toll-product"):n.selectedProduct?null===(t=n.vignetteProducts[n.selectedProduct])||void 0===t?void 0:t.name:n.$t("shop.selected_product_choose"))}}),n._v(" "),i("p",{domProps:{innerHTML:n._s("route_toll"===n.selectedProductType?n.$t("shop.toll-description"):n.selectedProduct?null===(e=n.vignetteProducts[n.selectedProduct])||void 0===e?void 0:e.description:n.$t("shop.selected_product_description"))}}),n._v(" "),!0===n.changeProductSetting?i("a",{staticClass:"toggle-package-change clickable",class:"route_toll"!==n.selectedProductType&&n.selectedProduct<=0||n.showPackageChange?"turned":"",on:{click:n.togglePackageChange}},[n._v("\n                    "+n._s(n.$t("shop.selected_product_change"))+" "),i("i",{staticClass:"mdi mdi-chevron-down"})]):n._e()]),n._v(" "),!n.showPackageChange&&n.selectedProduct&&n.selectedShopProduct&&n.isMobile?i("div",{staticClass:"row shop-pricing"},[i("div",{staticClass:"col-lg-3 my-lg-0 col-md-6 my-md-1 vignette"},[i("vignette-product-card",n._b({key:n.selectedShopProduct.id,ref:"product-card-"+n.selectedShopProduct.id,attrs:{options:n.selectedShopProduct.options,"smaller-view":!1,"selected-product":n.selectedProduct,"url-name":n.selectedShopProduct.url_name,"url-names":n.selectedShopProduct.urls,"config-value":n.currentOrderValue,"selected-product-type":n.selectedProductType},on:{"product-card-selected":n.changeSelection}},"vignette-product-card",n.selectedShopProduct,!1))],1)]):n._e(),n._v(" "),i("div",{staticClass:"row shop-pricing",class:{"d-none":!("route_toll"!==n.selectedProductType&&n.selectedProduct<=0||n.showPackageChange)}},[n._l(n.visibleProducts,(function(t){return i("div",{key:t.id,staticClass:"col-lg-3 my-lg-0 col-md-6 my-md-1 vignette"},[i("vignette-product-card",n._b({ref:"product-card-"+t.id,refInFor:!0,attrs:{"smaller-view":!1,"config-value":n.currentOrderValue,"selected-product":n.selectedProduct,"url-name":t.url_name,"url-names":t.urls,"preselect-id":null!==n.defaultSelectedProduct&&"vignette"===n.defaultSelectedProduct.productType?n.defaultSelectedProduct.id:null,"selected-product-type":n.selectedProductType,"notice-popup":t.noticePopup},on:{"product-card-selected":n.changeSelection}},"vignette-product-card",t,!1))],1)})),n._v(" "),"boolean"==typeof n.hideRouteTollProducts&&n.hideRouteTollProducts?n._e():i("div",{staticClass:"col-lg-3 my-lg-0 col-md-6 my-md-1 route-toll"},[i("toll-product-card",{attrs:{"selected-product":n.selectedProduct,"preselect-id":null!==n.defaultSelectedProduct&&"route_toll"===n.defaultSelectedProduct.productType,"url-name":n.routeTollProduct.url_name,"url-names":n.routeTollProduct.urls,"selected-product-type":n.selectedProductType,"smaller-view":!1,"config-value":n.currentOrderValue,"start-price":n.tollProductsStartPrice,"notice-popup":null},on:{"product-card-selected":n.changeSelection}})],1)],2)])])])}),[],!1,null,null,null).exports;function C(t){return C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},C(t)}const k={name:"ProductOption",props:["datePickerOptions","formErrors","validFromNotice","validTo","validFrom","options","selectedOption","defaultSelectedOption","showDatePicker"],data:function(){return{validityFromNotice:this.validFromNotice,vignetteValidFrom:this.validFrom.date,selectedVignetteOption:this.selectedOption,datePickerPreset:this.datePickerOptions,selectedProductOption:this.selectedOption,productOptionSelected:!1}},methods:{updateField:function(t,e){this.$emit("field-updated",{field:t,value:e})},getIndexForVignetteOption:function(t){t=""+t;for(var e=Object.keys(this.options),n=0;n<e.length;n++)if(e[n]===t)return n;return-1},getProductOptionPrice:function(t){return t.price+(t.service_fee||0)},updateStructuredProductData:function(t){var e,n=document.querySelector("#structured-product");null!==n&&(null!==t&&"object"===C(t.metadata)?(document.querySelector("#description").innerHTML=null!==(e=t.metadata.shopDescription)&&void 0!==e?e:"",n.innerText=JSON.stringify(t.metadata.structuredData)):n.innerText="")},productOptionSelection:function(t){var e=this;this.selectedProductOption=t.id,this.$emit("show-loading-animation"),this.$emit("input-change"),this.$emit("product-option-selected",t),this.productOptionSelected=!0,document.getElementById("product-name").innerText=t.product.name,void 0!==t.product.enable_subscription&&this.updateField("paymentSubscription",t.enable_subscription),setTimeout((function(){e.updateStructuredProductData(t.product);var n='[for="valid_from"]';e.showDatePicker||(n="#orderContainer");var i=document.querySelector(n).getBoundingClientRect().top,r=document.querySelector("#topnav").getBoundingClientRect().height,o=window.scrollY;window.scrollTo(0,o+i-r)}),75)}}};const x={name:"RouteTollOption",props:["datePickerOptions","formErrors","validFromNotice","validTo","validFrom","options","selectedOption","defaultSelectedOption","tollProducts"],data:function(){return{selectedRoute:this.defaultSelectedOption,selectedTollOption:0,routeTollValidityStart:this.validFrom}}};const P={name:"VignetteOption",components:{Tooltip:m},props:["datePickerOptions","formErrors","validFromNotice","validTo","validFrom","rawValidFrom","options","selectedOption","showDatePicker"],data:function(){return{validityFromNotice:this.validFromNotice,vignetteValidFrom:this.validFrom.date,selectedVignetteOption:this.selectedOption,datePickerPreset:this.datePickerOptions}},computed:{sortedVignetteOptions:function(){var t=Object.values(this.options);return t?t.toSorted((function(t,e){return t.vehicle_type===e.vehicle_type?0:t.vehicle_type<e.vehicle_type?1:-1})):null}},watch:{selectedOption:function(t){this.selectedVignetteOption=t}},methods:{saveToSession:function(t,e,n){this.$emit("save-to-session",{key:t,value:e,type:n})},getIndexForVignetteOption:function(t){t=""+t;for(var e=Object.keys(this.options),n=0;n<e.length;n++)if(e[n]===t)return n;return-1},getVehicleInfo:function(t){if(void 0===t.vehicle_type)return null;var e="shop.vehicle_".concat(t.vehicle_type,"Info"),n=this.$t(e);return n===e||"string"!=typeof n||0===n.length?null:n},onChange:function(){this.$emit("option-selected",this.selectedVignetteOption),this.$emit("display-type-options"),this.$emit("input-change","option_id"),this.saveToSession("option_id","string",this.selectedVignetteOption),this.$emit("price-change",this.options[this.selectedVignetteOption].price),this.$emit("service-fee-change",this.options[this.selectedVignetteOption].service_fee),this.$emit("insurance-fee-change",this.options[this.selectedVignetteOption].insurance_fee),this.$emit("update-date-picker")}}};function S(t){return function(t){if(Array.isArray(t))return T(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}const M={components:{ProductOption:(0,a.A)(k,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"form-group"},[e("div",{staticClass:"row justify-content-center"},t._l(t.options,(function(n){return e("div",{key:n.id,staticClass:"col-12 col-md-6 mb-2",class:{"text-md-right":0===t.getIndexForVignetteOption(n.id)}},[e("div",{staticClass:"checkbox-button-container",on:{change:function(e){return t.productOptionSelection(n)},click:function(e){return t.productOptionSelection(n)}}},[e("input",{staticClass:"checkbox",class:{"is-invalid":t.formErrors.product_id},attrs:{type:"radio",name:"option_id",id:"vignette_product_"+n.id,price:n.price.toFixed(2),required:""},domProps:{value:n.id}}),t._v(" "),e("label",{staticClass:"mb-0 shop-product-card alternative bg-white px-4 py-2 rounded text-center text-reset-case",class:{highlighted:n.id===t.selectedProductOption},attrs:{for:"vignette_option_"+n.id}},[e("i",{staticClass:"mdi mdi-road-variant h5 mr-1"}),t._v(" "),e("h2",{staticClass:"title mt-2 mb-0"},[t._v("\n                                "+t._s(n.product.name)+"\n                            ")]),t._v(" "),e("small",{staticClass:"mt-1 mb-0"},[t._v("\n                                "+t._s(n.product.description)+"\n                            ")]),t._v(" "),e("price",{staticClass:"h1 mt-2",attrs:{price:t.getProductOptionPrice(n)}})],1)])])})),0)])]),t._v(" "),e("div",{directives:[{name:"show",rawName:"v-show",value:t.productOptionSelected&&t.showDatePicker,expression:"productOptionSelected && showDatePicker"}],staticClass:"col-12"},[e("div",{staticClass:"form-group mb-2"},[e("label",{staticClass:"col-form-label",attrs:{for:"valid_from"}},[t._v("\n                "+t._s(t.$t("shop.validity_start"))+"\n            ")]),t._v(" "),e("div",{staticClass:"datepicker-overlay"},[e("nova-datepicker",{ref:"validFrom",class:{"is-invalid":t.formErrors.validity_start},attrs:{id:"valid_from",name:"validity_start",required:"required",config:t.datePickerPreset,mobileIcon:!0},on:{"dp-change":function(e){t.$emit("validity-start-change",t.vignetteValidFrom),t.$emit("display-type-options"),t.$emit("input-change","validity_start")},close:function(e){t.validityFromNotice=null},"dp-invalid-date":function(e){return t.$emit("set-invalid-valid-from-message",e)}},model:{value:t.vignetteValidFrom,callback:function(e){t.vignetteValidFrom=e},expression:"vignetteValidFrom"}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.validity_start,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v("\n                        "+t._s(n)+"\n                    ")])})),0),t._v(" "),t.validityFromNotice?e("div",{staticClass:"invalid-validity-start"},[e("span",{staticClass:"d-block",domProps:{innerHTML:t._s(t.validityFromNotice)}})]):t._e()],1)])]),t._v(" "),t.validTo&&Object.keys(t.validTo).length>0&&t.productOptionSelected?e("div",{staticClass:"col-12 text-center"},[e("div",{staticClass:"vignette-validity-until mt-0 mb-4 h5 bg-light rounded py-2"},[e("span",{staticClass:"prefix-label"},[t._v(t._s(t.$t("shop.validityPrefix")))]),t._v(" "),e("span",{staticClass:"from-label"},[t._v(t._s(t.vignetteValidFrom))]),t._v(" "),e("span",{staticClass:"separator-label"},[t._v(t._s(t.$t("shop.validitySeparator")))]),t._v(" "),e("span",{staticClass:"to-date-label"},[t._v(t._s(t.validTo.date))]),t._v(" "),e("span",{staticClass:"to-time-label"},[t._v(t._s(t.validTo.time))])])]):t._e()])}),[],!1,null,null,null).exports,RouteTollOption:(0,a.A)(x,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"row"},[e("div",{staticClass:"col-xs-12 col-md-6"},[e("div",{staticClass:"form-group mb-2"},[e("label",{staticClass:"col-form-label",attrs:{for:"toll_product"}},[t._v("\n                    "+t._s(t.$t("shop.route"))+"\n                ")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedRoute,expression:"selectedRoute"}],ref:"routeTollProduct",staticClass:"form-control",class:{"is-invalid":t.formErrors.product_id},attrs:{name:"product_id",id:"toll_product",required:""},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedRoute=e.target.multiple?n:n[0]},function(e){return t.$emit("route-selected",t.selectedRoute)}]}},[0===t.defaultSelectedOption?e("option",{attrs:{disabled:"",value:"0",selected:""}},[t._v("\n                        "+t._s(t.$t("shop.dropdown_required"))+"\n                    ")]):t._e(),t._v(" "),t._l(t.tollProducts,(function(n){return e("option",{key:n.id,domProps:{value:n.id}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])}))],2),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.product_id,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v("\n                    "+t._s(n)+"\n                ")])})),0)])]),t._v(" "),null!==t.selectedRoute?e("div",{staticClass:"col-xs-12 col-md-6"},[e("div",{staticClass:"form-group mb-2"},[e("label",{staticClass:"col-form-label",attrs:{for:"toll_option"}},[t._v("\n                    "+t._s(t.$t("shop.option"))+"\n                ")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedTollOption,expression:"selectedTollOption"}],ref:"routeTollOptions",staticClass:"form-control",class:{"is-invalid":t.formErrors.option_id},attrs:{name:"option_id",id:"toll_option",required:""},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedTollOption=e.target.multiple?n:n[0]},function(e){return t.$emit("option-selected",t.selectedTollOption)}]}},[e("option",{attrs:{disabled:"",value:"0",selected:""}},[t._v(t._s(t.$t("shop.dropdown_required")))]),t._v(" "),t._l(t.options,(function(n){return e("option",{key:n.id,attrs:{price:n.price.toFixed(2),"service-fee":n.service_fee.toFixed(2)},domProps:{value:n.id}},[t._v("\n                        "+t._s(n.name)+"\n                    ")])}))],2),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.option_id,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v("\n                    "+t._s(n)+"\n                ")])})),0)])]):t._e()]),t._v(" "),e("div",{staticClass:"row"},[t.selectedRoute&&"string"==typeof t.tollProducts[t.selectedRoute].info&&t.tollProducts[t.selectedRoute].info.trim().length>0?e("div",{staticClass:"col-12"},[e("div",{staticClass:"row align-items-center mb-2 bg-light rounded px-0 p-5 border-primary"},[t._m(0),t._v(" "),e("div",{staticClass:"col-md-10"},[e("h4",{staticClass:"mb-0 mb-mobile mobile-text-center",domProps:{innerHTML:t._s(t.$t("shop.attention_route_toll"))}}),t._v(" "),e("span",{staticClass:"text-quote mobile-text-center"},[e("p",{domProps:{innerHTML:t._s(t.tollProducts[t.selectedRoute].info)}})])])])]):t._e(),t._v(" "),t.selectedTollOption&&t.options[t.selectedTollOption].is_validity_controllable?e("div",{staticClass:"col-12"},[e("div",{staticClass:"form-group mb-2"},[e("label",{staticClass:"col-form-label",attrs:{for:"valid_from"}},[t._v("\n                    "+t._s(t.$t("shop.validity_start"))+"\n                ")]),t._v(" "),e("nova-datepicker",{class:{"is-invalid":t.formErrors.validity_start},attrs:{id:"valid_from",name:"validity_start",required:"required",config:t.datePickerOptions},on:{"dp-change":function(e){t.$emit("validity-start-change",t.routeTollValidityStart),t.$emit("display-route-toll-validity-range"),t.$emit("input-change","validity_start")}},model:{value:t.routeTollValidityStart,callback:function(e){t.routeTollValidityStart=e},expression:"routeTollValidityStart"}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.validity_start,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v("\n                    "+t._s(n)+"\n                ")])})),0),t._v(" "),t.validFromNotice?e("div",{staticClass:"invalid-validity-start"},[e("span",{staticClass:"d-block",domProps:{innerHTML:t._s(t.validFromNotice)}})]):t._e(),t._v(" "),t.validTo?e("span",{staticClass:"d-block mt-2 mt-0 h5 bg-light rounded py-2 text-center"},[t._v(t._s(t.$t("shop.validity_end"))+" "+t._s(t.validTo))]):t._e()],1)]):t.routeTollValidityStart?e("div",{staticClass:"col-12 text-center"},[e("div",{staticClass:"route-toll-valid-from mt-0 h5 bg-light rounded py-2"},[e("span",{staticClass:"prefix-label"},[t._v(t._s(t.$t("shop.validity_start")))]),t._v(" "),e("span",{staticClass:"to-date-label"},[t._v(t._s(t.routeTollValidityStart.date))]),t._v(" "),e("span",{staticClass:"to-time-label"},[t._v(t._s(t.routeTollValidityStart.time))]),t._v(" "),t.validTo&&Object.keys(t.validTo).length>0?[t._v("\n                    -\n                    "),e("span",{staticClass:"to-date-label"},[t._v("\n                    "+t._s(t.validTo.date)+"\n                ")])]:t._e()],2)]):t._e(),t._v(" "),t.selectedTollOption&&t.options[t.selectedTollOption].is_validity_controllable?e("div",{staticClass:"col-12 text-center"},[e("div",{staticClass:"mb-0 p-4 row align-items-center bg-light rounded px-0 vehicle-info-box border-primary w-100"},[t._m(1),t._v(" "),e("div",{staticClass:"col-md-10"},[e("span",{staticClass:"text-quote mobile-text-center",domProps:{innerHTML:t._s(t.$t("shop.route_toll_price_info"))}})])])]):t._e()])])}),[function(){var t=this._self._c;return t("div",{staticClass:"col-md-2"},[t("i",{staticClass:"mdi mdi-exclamation status-icon status-icon-warning"})])},function(){var t=this._self._c;return t("div",{staticClass:"col-md-2"},[t("i",{staticClass:"mdi mdi-information-variant status-icon status-icon-warning"})])}],!1,null,null,null).exports,VignetteOption:(0,a.A)(P,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"row"},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showDatePicker,expression:"showDatePicker"}],staticClass:"col-12"},[e("div",{staticClass:"form-group mb-2"},[e("label",{staticClass:"col-form-label",attrs:{for:"valid_from"}},[t._v("\n                "+t._s(t.$t("shop.validity_start"))+"\n            ")]),t._v(" "),e("div",{staticClass:"datepicker-overlay"},[e("nova-datepicker",{ref:"validFrom",class:{"is-invalid":t.formErrors.validity_start},attrs:{id:"valid_from",name:"validity_start",required:"required",config:t.datePickerPreset,mobileIcon:!0},on:{"dp-change":function(e){t.$emit("validity-start-change",t.vignetteValidFrom),t.$emit("display-type-options"),t.$emit("input-change","validity_start")},close:function(e){t.validityFromNotice=null},"dp-invalid-date":function(e){return t.$emit("set-invalid-valid-from-message",e)}},model:{value:t.vignetteValidFrom,callback:function(e){t.vignetteValidFrom=e},expression:"vignetteValidFrom"}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.validity_start,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v("\n                        "+t._s(n)+"\n                    ")])})),0),t._v(" "),t.validityFromNotice?e("div",{staticClass:"invalid-validity-start"},[e("span",{staticClass:"d-block",domProps:{innerHTML:t._s(t.validityFromNotice)}})]):t._e()],1)])]),t._v(" "),t.validTo&&Object.keys(t.validTo).length>0?e("div",{staticClass:"col-12 text-center"},[e("div",{staticClass:"vignette-validity-until mt-0 mb-4 h5 bg-light rounded py-2"},[e("span",{staticClass:"prefix-label"},[t._v(t._s(t.$t("shop.validityPrefix")))]),t._v(" "),e("span",{staticClass:"from-label"},[t._v(t._s(t.vignetteValidFrom))]),t._v(" "),e("span",{staticClass:"separator-label"},[t._v(t._s(t.$t("shop.validitySeparator")))]),t._v(" "),e("span",{staticClass:"to-date-label"},[t._v(t._s(t.validTo.date))]),t._v(" "),e("span",{staticClass:"to-time-label"},[t._v(t._s(t.validTo.time))])])]):t._e(),t._v(" "),e("div",{staticClass:"col-12"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"d-block"},[t._v(t._s(t.$t("shop.vehicle_type")))]),t._v(" "),e("div",{staticClass:"row justify-content-center"},t._l(t.sortedVignetteOptions,(function(n){return e("div",{key:n.id,staticClass:"col-12 col-md-6 mb-2",class:{"text-md-right":0===t.getIndexForVignetteOption(n.id)}},[e("div",{staticClass:"checkbox-button-container"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedVignetteOption,expression:"selectedVignetteOption"}],staticClass:"checkbox",class:{"is-invalid":t.formErrors.option_id},attrs:{type:"radio",name:"option_id",id:"vignette_option_"+n.id,price:n.price.toFixed(2),required:""},domProps:{value:n.id,checked:t._q(t.selectedVignetteOption,n.id)},on:{change:[function(e){t.selectedVignetteOption=n.id},function(e){return t.onChange()}]}}),t._v(" "),e("label",{staticClass:"mb-0 shop-product-card alternative bg-white px-4 py-2 rounded text-center text-reset-case",class:{highlighted:n.id===t.selectedVignetteOption},attrs:{for:"vignette_option_"+n.id}},[e("i",{staticClass:"mdi h5 mr-1",class:{"mdi-car":"car"===n.vehicle_type,"mdi-motorbike":"bike"===n.vehicle_type,"mdi-truck-trailer":"trailer"===n.vehicle_type||"trailer-heavy"===n.vehicle_type,"mdi-rv-truck":"camper"===n.vehicle_type,"mdi-bus-side":-1!==["bus-1","bus-2","bus-3","bus-4"].indexOf(n.vehicle_type),"mdi-tent":"circus"===n.vehicle_type,"mdi-speedometer-slow":"slow"===n.vehicle_type,"mdi-tractor":"tractor"===n.vehicle_type,"mdi-car-pickup":"car-heavy"===n.vehicle_type}}),t._v(" "),e("h2",{staticClass:"title mt-2 mb-0"},[t._v("\n                                "+t._s(t.$t("shop.vehicle_"+n.vehicle_type))+"\n                            ")]),t._v(" "),t.$te("vehicleTypes."+n.vehicle_type+"_description")?e("small",{directives:[{name:"t",rawName:"v-t",value:"vehicleTypes."+n.vehicle_type+"_description",expression:"'vehicleTypes.' + vignetteOption.vehicle_type + '_description'"}],staticClass:"mt-1 mb-0"}):t._e()]),t._v(" "),null!==t.getVehicleInfo(n)?e("Tooltip",{key:"".concat(n.id,"_vehicleInfo"),staticClass:"vehicle-info-tooltip",scopedSlots:t._u([{key:"icon",fn:function(){return[e("i",{staticClass:"icon mdi mdi-information-outline"})]},proxy:!0},{key:"text",fn:function(){return[e("span",{domProps:{innerHTML:t._s(t.getVehicleInfo(n))}})]},proxy:!0}],null,!0)}):t._e()],1)])})),0)])])])}),[],!1,null,null,null).exports},name:"OrderFormOptionSelection",props:["orderFormReversed","selectedProduct","selectedProductObj","selectedProductType","formErrors","datePickerConfig","validTo","validFrom","routeTollOptions","vignetteOptions","selectedOption","defaultSelectedOption","vignetteProducts","tollProducts"],data:function(){return{productTypeEnum:Object.freeze({VIGNETTE:"vignette",ROUTE_TOLL:"route_toll"}),validityNotice:null,validFromNotice:null,datePickerPreset:this.$datePickerOptions,productOptionSelected:!1}},watch:{selectedOption:function(){this.updateDatePicker()},selectedProduct:function(){this.updateDatePicker()},selectedProductType:function(){this.updateDatePicker()}},computed:{componentTitleLang:function(){var t="shop.";if(this.orderFormReversed)return t+"selected_product";switch(this.selectedProductType){case this.productTypeEnum.VIGNETTE:return t+"selected_validity_vehicle";case this.productTypeEnum.ROUTE_TOLL:return t+"selected_route"}throw new Error("Unknown product type.")},componentClass:function(){var t="-col";switch(this.selectedProductType){case this.productTypeEnum.VIGNETTE:return this.productType+t;case this.productTypeEnum.ROUTE_TOLL:return"route-toll"+t}throw new Error("Unknown product type.")},optionComponent:function(){if(this.orderFormReversed)return"product-option";switch(this.selectedProductType){case this.productTypeEnum.VIGNETTE:return"vignette-option";case this.productTypeEnum.ROUTE_TOLL:return"route-toll-option"}throw new Error("Unknown product type.")},componentOptions:function(){if(this.orderFormReversed)return this.vignetteProducts;switch(this.selectedProductType){case this.productTypeEnum.VIGNETTE:return this.vignetteOptions;case this.productTypeEnum.ROUTE_TOLL:return this.routeTollOptions}throw new Error("Unknown product type.")},productType:function(){return this.selectedProductType},productIsPreorder:function(){return null!==this.selectedProductObj&&"boolean"==typeof this.selectedProductObj.is_preorder&&this.selectedProductObj.is_preorder&&"string"==typeof this.selectedProductObj.preorder_validity_from&&"string"==typeof this.selectedProductObj.preorder_validity_until&&this.selectedProductObj.preorder_validity_from.length&&this.selectedProductObj.preorder_validity_until.length},shouldUpdateDatePicker:function(){return!(this.orderFormReversed&&!this.productOptionSelected)},showDatePicker:function(){var t,e;return this.orderFormReversed?!(null===(e=this.selectedProductObj)||void 0===e||null===(e=e.product)||void 0===e||!e.is_validity_controllable):!(null===(t=this.selectedProductObj)||void 0===t||!t.is_validity_controllable)}},methods:{setInvalidValidFromMessage:function(t){this.validFromNotice=this.$t("shop.selectedInvalidDateNotice",t)},onProductOptionSelected:function(t){this.productOptionSelected=!0,this.$emit("product-option-selected",t),this.updateDatePicker()},splitDateTime:function(t){var e="",n="",i=-1;return"string"==typeof t&&(i=(t=t.trim()).indexOf(" "),e=t,i>0&&(e=t.substr(0,i),n=t.substr(i+1))),{date:e,time:n}},updateDatePicker:function(){this.setDatePicker()},setDatePicker:function(){var t;if(!this.shouldUpdateDatePicker||null===this.selectedProductObj)return this.datePickerPreset.minDate=this.datePickerConfig.minDate,void(this.datePickerPreset.maxDate=this.datePickerConfig.maxDate);this.productIsPreorder?(this.datePickerPreset.minDate=this.selectedProductObj.preorder_validity_from,this.datePickerPreset.maxDate=this.datePickerConfig.maxDate):(this.datePickerPreset.minDate=this.getDatePickerMinDate(),this.datePickerPreset.maxDate=this.getDatePickerMaxDate());var e=null===(t=this.$refs[this.optionComponent])||void 0===t?void 0:t.$refs.validFrom;e&&(e.setMinDate(this.datePickerPreset.minDate),e.setMaxDate(this.datePickerPreset.maxDate))},getDatePickerMinDate:function(){var t=this.getSelectedOptionMinDate();return t||(void 0===this.datePickerPreset.minDate?t=new Date:this.datePickerPreset.minDate instanceof Date?((t=new Date).setDate(this.datePickerPreset.minDate.getDate()),t.setMonth(this.datePickerPreset.minDate.getMonth()),t.setFullYear(this.datePickerPreset.minDate.getFullYear())):t=new Date(this.datePickerPreset.minDate)),t},getDatePickerMaxDate:function(){var t=this;if(void 0===this.datePickerConfig||!this.datePickerConfig||!this.datePickerConfig.maxDate||null===this.selectedProductObj||!this.selectedProductObj)return null;var e=null;if(this.orderFormReversed)e=this.selectedProductObj.valid_until;else{var n=Object.values(this.selectedProductObj.options);e=new Date(Math.max.apply(Math,S(n.map((function(e){if("vignette"===t.productType){var n,i;if(t.selectedOption){if(!(n=null===(i=t.selectedProductObj.options.find((function(e){return e.id===t.selectedOption})))||void 0===i?void 0:i.vehicle_type))return t.selectedProductObj.options[0].valid_until?new Date(t.selectedProductObj.options[0].valid_until):0}else n=t.selectedProductObj.options[0].vehicle_type;return e.valid_until&&e.vehicle_type===n?new Date(e.valid_until):0}return e.valid_until&&e.selector===t.routeTollOptions[t.selectedOption].selector?new Date(e.valid_until):0})))))}return e&&e instanceof Date&&e>new Date?e.getFullYear()+"-"+(e.getMonth()+1).toString().padStart(2,"0")+"-"+e.getDate().toString().padStart(2,"0")+"T00:00:00.000000Z":this.datePickerConfig.maxDate},getSelectedOptionMinDate:function(){var t=this;if(void 0===this.datePickerConfig||!this.datePickerConfig||!this.datePickerConfig.minDate)return null;var e=this.datePickerConfig.minDate;if(!this.selectedOption)return this.getFirstOptionMinDate(e);var n=null;if(this.orderFormReversed)n=new Date(this.selectedProductObj.valid_from);else{var i=Object.values(this.selectedProductObj.options);n=new Date(1e3*Math.min.apply(Math,S(i.filter((function(e){if("vignette"===t.selectedProductType){var n,i;if(t.selectedOption){if(!(n=null===(i=t.selectedProductObj.options.find((function(e){return e.id===t.selectedOption})))||void 0===i?void 0:i.vehicle_type))return!!t.selectedProductObj.options[0].valid_until}else n=t.selectedProductObj.options[0].vehicle_type;return e.valid_from&&e.vehicle_type===n}var r=t.routeTollOptions[t.selectedOption].selector;return e.valid_from&&e.selector===r})).map((function(t){return Math.floor(new Date(t.valid_from).getTime()/1e3)})))))}return n&&n instanceof Date&&!(new Date>n)?n:this.getFirstOptionMinDate(e)},getFirstOptionMinDate:function(t){if(!this.selectedProductObj||"route_toll"===this.productType)return t;var e=this.orderFormReversed?this.selectedProductObj.valid_from:this.selectedProductObj.options[0].valid_from;return!e||new Date>new Date(e)?t:e}},mounted:function(){this.setDatePicker()}};const O=(0,a.A)(M,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12"},[e("h2",[t._v(t._s(t.$t(t.componentTitleLang)))])])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12 mb-2",class:t.componentClass},[e(t.optionComponent,t._g({ref:t.optionComponent,tag:"component",attrs:{"form-errors":t.formErrors,"date-picker-options":t.datePickerPreset,"valid-from-notice":t.validFromNotice,"valid-to":t.splitDateTime(t.validTo),"valid-from":t.splitDateTime(t.validFrom),"raw-valid-from":t.validFrom,options:t.componentOptions,"selected-option":t.selectedOption,"default-selected-option":t.defaultSelectedOption,"toll-products":t.tollProducts,"show-date-picker":t.showDatePicker},on:{"update-date-picker":t.setDatePicker,"set-invalid-valid-from-message":function(e){return t.setInvalidValidFromMessage(e)},"product-option-selected":function(e){return t.onProductOptionSelected(e)}}},t.$listeners))],1)])])}),[],!1,null,null,null).exports;function L(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return D(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function D(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function E(t){return E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},E(t)}const F={name:"OrderFormVehicleSelection",props:["vignetteProducts","vignetteOptions","selectedVignetteOption","isMobile","vehicles","formErrors","defaultSelectedProduct","defaultSelectedOption"],data:function(){return{initialScroll:!0,scrolledToVehicle:!1,scrolledToProducts:!1,selectedOption:this.selectedVignetteOption,selectedOptionUrlName:"",selectedOptionUrlNames:{},selectedVignetteProducts:this.vignetteProducts}},computed:{selectedVehicle:function(){return this.selectedOption?this.vehicles[this.selectedOption][0]:{}}},watch:{selectedOption:function(){this.updateField("selectedVehicle",this.selectedVehicle),this.updateField("selectedProductType","vignette"),this.updateField("vignetteProducts",this.selectedVignetteProducts)}},methods:{updateField:function(t,e){this.$emit("field-updated",{field:t,value:e})},scrollToPart:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=null;if(this.scrolledToVehicle||!this.initialScroll)if("orderForm"!==t||this.scrolledToProducts){switch(t){case"anchor":this.scrolledToVehicle=!0,n=function(){setTimeout((function(){window.scrollTo(0,0),window.scrollTo(0,document.querySelector(e).getBoundingClientRect().top-document.getElementById("topnav").getBoundingClientRect().height)}),100)};break;case"productSelection":this.scrolledToProducts=!0,n=function(){setTimeout((function(){var t=document.getElementById("optionSelection").getBoundingClientRect().top,e=document.querySelector("#topnav").getBoundingClientRect().height,n=window.scrollY;window.scrollTo(0,n+t-e)}),100)}}this.initialScroll=!this.initialScroll,this.$nextTick(n)}else this.scrolledToProducts=!0},getIndexForVignetteOption:function(t){if(!this.vignetteOptions)return-1;t=""+t;for(var e=Object.keys(this.vignetteOptions),n=0;n<e.length;n++)if(e[n]===t)return n;return-1},getVehicleIcon:function(t){var e="mdi ";switch(t){case"car":return e+"mdi-car";case"bike":return e+"mdi-motorbike";default:return""}},selectVehicle:function(t){var e=this,n=this.selectedOptionUrlName,i=this.selectedOptionUrlNames,r=t[0];if(this.selectedVignetteProducts=t.sort((function(t,e){return t.product.product_sort-e.product.product_sort})),this.$emit("vehicle-selected"),this.selectedOptionUrlName=r.slug_name,this.selectedOptionUrlNames=r.slugNames,this.scrolledToProducts=!1,"string"==typeof r.slug_name&&r.slug_name.length&&window.history&&!window.location.pathname.endsWith(r.slug_name)){var o=window.location.href+(window.location.href.endsWith("/")?"":"/")+r.slug_name;if("string"==typeof n&&n.length&&(o=window.location.href.replace(n,r.slug_name)),this.defaultSelectedOption>0||window.history.pushState("","",o),"object"===E(r.slugNames)&&(Object.keys(r.slugNames)||[]).length){var a,s=L(document.querySelectorAll("#locales-submenu li"));try{for(s.s();!(a=s.n()).done;){var c=a.value,l=c.dataset.locale,d=c.querySelector("a"),u=i[l]||null,p=r.slugNames[l]||null;if("string"!=typeof u||!u.length||"string"!=typeof p||!p.length)return;d.href=d.href.replace(u,p)}}catch(t){s.e(t)}finally{s.f()}}}this.$emit("show-loading-animation"),this.$emit("input-change"),null!==this.defaultSelectedProduct&&this.isMobile&&this.selectedVignetteProducts.forEach((function(t){t.product_id===e.defaultSelectedProduct.product_id&&e.$nextTick((function(){var n=document.querySelector('[url_name="'+t.product.url_name+'"] .btn');null!==n&&(n.click(),e.scrolledToProducts=!0)}))}));var f=this.getAnchorTag();null!==f&&""!==f&&!this.scrolledToVehicle&&this.selectedVehicle&&this.$nextTick((function(){e.scrollToPart("anchor",f)})),this.scrolledToVehicle=!0},getAnchorTag:function(){return window.location.hash}},mounted:function(){var t=this;null!==this.defaultSelectedProduct&&"string"==typeof this.defaultSelectedProduct.vehicle_type_code&&this.$nextTick((function(){var e=document.querySelector('[for="vignette_option_'.concat(t.defaultSelectedProduct.vehicle_type_code,'"]'));null!==e&&e.click()}))}};function A(){A=function(){return e};var t,e={},n=Object.prototype,i=n.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var o=e&&e.prototype instanceof g?e:g,a=Object.create(o.prototype),s=new O(i||[]);return r(a,"_invoke",{value:S(t,n,s)}),a}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}e.wrap=d;var p="suspendedStart",f="suspendedYield",h="executing",m="completed",v={};function g(){}function y(){}function b(){}var _={};l(_,a,(function(){return this}));var w=Object.getPrototypeOf,C=w&&w(w(L([])));C&&C!==n&&i.call(C,a)&&(_=C);var k=b.prototype=g.prototype=Object.create(_);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function P(t,e){function n(r,o,a,s){var c=u(t[r],t,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==N(d)&&i.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,a,s)}),(function(t){n("throw",t,a,s)})):e.resolve(d).then((function(t){l.value=t,a(l)}),(function(t){return n("throw",t,a,s)}))}s(c.arg)}var o;r(this,"_invoke",{value:function(t,i){function r(){return new e((function(e,r){n(t,i,e,r)}))}return o=o?o.then(r,r):r()}})}function S(e,n,i){var r=p;return function(o,a){if(r===h)throw Error("Generator is already running");if(r===m){if("throw"===o)throw a;return{value:t,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var c=T(s,i);if(c){if(c===v)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===p)throw r=m,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=h;var l=u(e,n,i);if("normal"===l.type){if(r=i.done?m:f,l.arg===v)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=m,i.method="throw",i.arg=l.arg)}}}function T(e,n){var i=n.method,r=e.iterator[i];if(r===t)return n.delegate=null,"throw"===i&&e.iterator.return&&(n.method="return",n.arg=t,T(e,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+i+"' method")),v;var o=u(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var a=o.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function M(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function $(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(M,this),this.reset(!0)}function L(e){if(e||""===e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(i.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}throw new TypeError(N(e)+" is not iterable")}return y.prototype=b,r(k,"constructor",{value:b,configurable:!0}),r(b,"constructor",{value:y,configurable:!0}),y.displayName=l(b,c,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,l(t,c,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},x(P.prototype),l(P.prototype,s,(function(){return this})),e.AsyncIterator=P,e.async=function(t,n,i,r,o){void 0===o&&(o=Promise);var a=new P(d(t,n,i,r),o);return e.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(k),l(k,c,"Generator"),l(k,a,(function(){return this})),l(k,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},e.values=L,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach($),!e)for(var n in this)"t"===n.charAt(0)&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(i,r){return s.type="throw",s.arg=e,n.next=i,r&&(n.method="next",n.arg=t),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var c=i.call(a,"catchLoc"),l=i.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),$(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;$(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(e,n,i){return this.delegate={iterator:L(e),resultName:n,nextLoc:i},"next"===this.method&&(this.arg=t),v}},e}function I(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,r)}function R(t){return function(){var e=this,n=arguments;return new Promise((function(i,r){var o=t.apply(e,n);function a(t){I(o,i,r,a,s,"next",t)}function s(t){I(o,i,r,a,s,"throw",t)}a(void 0)}))}}function N(t){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}const j={components:{VehicleSelection:(0,a.A)(F,(function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"row mt-5"},[e("div",{staticClass:"col-md-12"},[e("h2",[t._v(t._s(t.$t("shop.selected_vehicle")))])])]),t._v(" "),e("div",{staticClass:"row mb-2"},[e("div",{staticClass:"col-md-12 mb-2 vignette-col"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"form-group"},[e("div",{staticClass:"mt-3 row justify-content-center",class:{"d-none":t.selectedOption>=0}},t._l(t.vehicles,(function(n,i){return e("div",{key:JSON.stringify(n),staticClass:"col-12 col-md-6 mb-2",class:{"text-md-right":0===t.getIndexForVignetteOption(i)}},[e("div",{staticClass:"checkbox-button-container"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.selectedOption,expression:"selectedOption"}],staticClass:"checkbox",class:{"is-invalid":t.formErrors.option_id},attrs:{type:"radio",name:"vehicle_options",id:"vignette_option_"+i,required:""},domProps:{value:i,checked:t._q(t.selectedOption,i)},on:{click:function(e){t.$emit("input-change","option_id"),t.scrollToPart("productSelection")},change:[function(e){t.selectedOption=i},function(e){t.selectVehicle(n),t.$emit("input-change","option_id")}]}}),t._v(" "),e("label",{staticClass:"mb-0 shop-product-card alternative bg-white px-4 py-2 rounded text-center text-reset-case",class:{highlighted:i===t.selectedOption},attrs:{for:"vignette_option_"+i}},[[e("div",{staticClass:"h5 mr-1 shop-vehicle-icon"},[e("i",{class:t.getVehicleIcon(n[0].vehicle_type)})]),t._v(" "),e("h2",{staticClass:"title mt-2 mb-0"},[t._v("\n                                                "+t._s(t.$t("vehicleTypes."+n[0].vehicle_type))+"\n                                            ")]),t._v(" "),e("small",{staticClass:"mt-1 mb-0"},[t._v(t._s(t.$t("vehicleTypes."+n[0].vehicle_type+"_description")))])]],2)])])})),0)])])])])])])}),[],!1,null,null,null).exports,ProductSelection:w,OptionSelection:O,UnsubscribeNewsletterModal:v.A,ShopStatePopup:s,ShopLimitValidityModal:f,Tooltip:m},props:["orderFormReversed","initialSettings","defaultSelectedProduct","defaultSelectedOption","defaultSelectedRides","defaultValidTo","routeTollProduct","products","datepickerConfig","licensePlateTemplates","countryCodePhones","tollProducts","tollProductsStartPrice","currentDate","orderPrice","selectedCountryDefault","serviceFee","exchangeRate","insuranceFee","preFillFromSession","hideRouteTollProducts","autoScrollUpToWidth","emRedirect","emAbo","systemId","sessionVoucher","changeProductSetting","vehicles"],data:function(){var t={};for(var e in this.initialSettings)t[e]=this.initialSettings[e];return{defaultSettings:t,settings:this.initialSettings,limitValidityRangeForm:{triggered:!1,placeholders:{},property:null},showPackageChange:!1,triggeredOptionFetch:!1,initialTypesLoad:!0,showSelectedValidityStartError:!1,fullPageLoader:!1,globalLoading:!1,globalLoadingTimeout:3e3,selectedPhoneCode:"false",phoneNumber:"",rightOfWithdrawal:"false",datePickerOptions:this.$datePickerOptions,minDateDaysAdded:!1,paymentMethodSelectionAvailable:!0,paymentMethod:null,selectedProduct:0,selectedShopProduct:{},selectedProductType:"",selectedProductUrlName:"",selectedProductUrlNames:{},selectedCountry:!1,licensePlate:"",licensePlateConfirm:"",licensePlateValid:!0,invoiceWanted:!1,selectedRoute:0,selectedOption:0,selectedVehicle:null,productOptionSelected:!1,sendingRequest:!1,showLoadingAnimation:!0,tosAccepted:!1,receiveNewsletter:!1,paymentSubscription:!1,tosError:!1,licenseRevocationAccepted:!1,licenseRevocationError:!1,loadingPayPal:!1,loadingKlarna:!1,buyNowVisible:!1,orderInsurance:!1,validFrom:this.currentDate,routeTollValidityStart:this.currentDate,routeTollValidityEnd:"",validTo:!1,routeTollOptions:[],vignetteProducts:[],vignetteOptions:[],formErrors:{},inputKeysChangeStatus:{email:!1,product_id:!1,option_id:!1,valid_from:!1,validity_start:!1,country_code:!1,license:!1,first_name:!1,last_name:!1,street:!1,house:!1,postcode:!1,city:!1,special_license_plate_confirmed:!0},orderValidationCallback:null,isReadingFromSession:!1,sessionMapping:{license_plate:"licensePlate",license_plate_confirm:"licensePlateConfirm",phone:"phoneNumber",invoice_wanted:"invoiceWanted"},loading:!1,voucher:null,voucherError:"",duplicateOrders:[],customerMail:"",vignetteValidFromNotice:null,routeTollValidityStartNotice:null,licensePlateCheckStatus:!1,licensePlateShowError:!1,timeoutLicensePlateInvalidId:0,nonStandardLicensePlate:!1,isSubscriptionEnabled:!1}},computed:{productSelected:function(){return this.selectedProductType&&(null!==this.selectedShopProduct||null!==this.selectedVehicle)},options:function(){return this.orderFormReversed?this.vignetteProducts:"route_toll"===this.selectedProductType?this.routeTollOptions:this.vignetteOptions},orderFormVisible:function(){return!(this.orderFormReversed&&!this.productOptionSelected)&&null!==this.selectedShopProduct},isMobile:function(){return/(android|webos|iphone|ipad|ipod|blackberry|windows phone)/.test(navigator.platform.toLowerCase())||window.matchMedia("only screen and (max-width: 767px)").matches},showShopServiceFeePopup:function(){return"boolean"==typeof this.settings["shop.showServiceFeePopup"]&&this.settings["shop.showServiceFeePopup"]},showSpecialLicensePlateCheckbox:function(){return"boolean"==typeof this.settings["shop.enableSpecialLicenseCheckbox"]&&this.settings["shop.enableSpecialLicenseCheckbox"]},detailedPriceDisplay:function(){return"boolean"==typeof this.settings["shop.detailed_price_overview"]&&this.settings["shop.detailed_price_overview"]},showLicenseRevocationCheckbox:function(){var t=this,e=this.licensePlateTemplates.some((function(e){return e.country_code===t.selectedCountry&&e.show_license_revocation_checkbox}));return this.settings["shop.enableLicenseRevocationCheckbox"]||e},showNewsletterCheckbox:function(){return this.settings["shop.enableNewsletterCheckbox"]},licensePlateCheckInvalid:function(){return this.licensePlate.trim().length>0&&this.licensePlateConfirm.trim().length>0&&(0!==this.licensePlate.localeCompare(this.licensePlateConfirm)||!this.licensePlateCheckStatus&&!this.nonStandardLicensePlate)},licenseRevocationAcceptedValid:function(){return this.showLicenseRevocationCheckbox&&this.licenseRevocationAccepted||!this.showLicenseRevocationCheckbox},missingLicensePlateTooltipActive:function(){return"boolean"==typeof this.settings["shop.missing_license_plate_info_active"]&&this.settings["shop.missing_license_plate_info_active"]},insuranceTimeout:function(){return this.settings["orderInsurance.cancelableBeforeSetup"]},limitValidityStart:function(){return"number"==typeof this.settings["shop.limitValidityRangePicker"]&&this.settings["shop.limitValidityRangePicker"]>0},limitValidityRangePicker:function(){return this.limitValidityStart?this.settings["shop.limitValidityRangePicker"]:0},currentOrderValue:{get:function(){return this.getOrderPrice(null)}},getCurrencyShortcode:{get:function(){return this.getOrderCurrencyShortcode()}},getLocalPrice:{get:function(){return this.getOptionLocalPrice()}},getExchangeRate:{get:function(){return this.getCurrencyExchangeRate()}},customerReceiveNewsletter:function(){return this.receiveNewsletter},getLastInsuranceDate:function(){if(!this.validFrom)return null;var t=this.getFormattedDate(this.validFrom);return t.setMinutes(t.getMinutes()-this.insuranceTimeout),t.toLocaleDateString("de-DE").toString()+", "+t.toLocaleTimeString("de-DE",{hour:"2-digit",minute:"2-digit"}).toString()},getInsuranceFee:function(){if(this.insuranceFee)return this.insuranceFee.toFixed(2).toString()+" €"},showOrderInsurance:function(){if(this.orderFormReversed&&this.selectedShopProduct)return this.selectedShopProduct.insurance_fee&&this.selectedShopProduct.insurance_fee>0;var t=this.validFrom&&null!==this.selectedShopProduct&&"vignette"===this.selectedProductType&&this.selectedOption&&this.vignetteOptions[this.selectedOption]&&this.vignetteOptions[this.selectedOption].insurance_fee&&!this.isToday(this.getFormattedDate(this.validFrom))&&this.dateIsValidForOrderInsurance(this.getFormattedDate(this.validFrom));return t||(this.orderInsurance=!1),t},selectedLicensePlateTemplates:function(){var t=this;return this.licensePlateTemplates.filter((function(e){return t.selectedCountry&&t.selectedCountry===e.country_code}))},selectedCountryCodePhones:function(){var t=this;return this.countryCodePhones.filter((function(e){return e.phone_code===t.selectedPhoneCode}))},voucherDiscount:function(){if(null===this.voucher)return 0;switch(this.voucher.type){case"fixed":return this.voucher.amount;case"percentage":return this.serviceFee*this.voucher.amount/100}return 0}},created:function(){var t=n(8221);this.debouncedValidateInput=t(this.validateInput,2e3)},beforeMount:function(){this.prefillFormFromSession()},mounted:function(){var t=this;if(this.selectedCountry=this.selectedCountryDefault,setTimeout(this.selectInvoiceCountry,10),setTimeout(this.selectPhoneCountry,10),"route_toll"===this.defaultSelectedProduct.productType){this.selectedProductType="route_toll",this.selectedRoute=this.defaultSelectedOption,this.routeTollOptions=(this.tollProducts[Object.keys(this.tollProducts)[0]]||{}).options_keyed||[];var e=this.defaultSelectedRides,n=0;if(this.selectedRoute>0&&(this.displayRouteOptions(e>0),this.inputChange("product_id"),this.saveToSession("toll_product","string",this.selectedRoute)),"object"===N(this.routeTollOptions)&&Object.keys(this.routeTollOptions).length&&void 0===this.routeTollOptions[e]){var i=1===e?"onetrip":"twotrips";Object.keys(this.routeTollOptions).forEach((function(r){if(t.routeTollOptions[r].selector===i)return e=r,n=r,!1}))}if(this.selectedOption=n,this.selectedOption>0&&(this.displayRouteTollValidityRange(),this.inputChange("option_id"),this.saveToSession("option_id","string",this.selectedOption),this.$emit("price-change",(this.routeTollOptions[this.selectedOption]||{}).price||0),this.$emit("service-fee-change",(this.routeTollOptions[this.selectedOption]||{}).service_fee||0),this.$emit("insurance-fee-change",0)),this.currentDate&&""!==this.currentDate.trim()){var r=this.currentDate.split("."),o=new Date(Number(+r[2])+1,r[1]-1,+r[0]);o=o.setDate(o.getDate()-1);var a=new Intl.DateTimeFormat("de",{day:"2-digit"}).format(o),s=new Intl.DateTimeFormat("de",{month:"2-digit"}).format(o),c=new Intl.DateTimeFormat("de",{year:"numeric"}).format(o);this.routeTollValidityEnd=(a+"."+s+"."+c).toString()}}document.addEventListener("DOMContentLoaded",(function(){t.initToolTip()})),this.sessionVoucher&&this.submitVoucherForm()},watch:{vignetteValidFrom:function(){this.checkValidityRange(this.validFrom,"vignetteValidFrom")},routeTollValidityStart:function(){this.checkValidityRange(this.routeTollValidityStart,"routeTollValidityStart")},licensePlateCheckInvalid:function(){!0===this.licensePlateCheckInvalid?this.setDisplayLicensePlateErrorTimer():this.licensePlateShowError=!1},licensePlateConfirm:function(){this.setDisplayLicensePlateErrorTimer()}},methods:{getCurrencyExchangeRate:function(){return this.exchangeRate},getOptionLocalPrice:function(){var t=this;if(!this.selectedOption||!this.selectedProduct||!this.selectedShopProduct||0===Object.keys(this.selectedShopProduct).length)return null;if(this.orderFormReversed)return this.selectedShopProduct.local_price;var e=null;return this.selectedShopProduct.options.forEach((function(n){n.vehicle_type_code!==t.selectedOption&&n.id!==t.selectedOption||(e=n.local_price)})),e},getOrderCurrencyShortcode:function(){var t=this;if(!this.selectedOption||!this.selectedProduct||!this.selectedShopProduct||0===Object.keys(this.selectedShopProduct).length)return null;if(this.orderFormReversed)return this.selectedShopProduct.currency_shortcode;var e=null;return this.selectedShopProduct.options.forEach((function(n){n.vehicle_type_code!==t.selectedOption&&n.id!==t.selectedOption||(e=n.currency_shortcode)})),e},showUnsubscribeNewsletterModal:function(){this.$refs.unsubscribeNewsletterModal.showModal()},checkValidityRange:function(t,e){var n=this;if(this.limitValidityStart&&("boolean"!=typeof this.selectedShopProduct.is_preorder||!this.selectedShopProduct.is_preorder)){var i=this.getFormattedDate(t),r=new Date;i.setHours(0),i.setMinutes(0),i.setSeconds(0),i.setMilliseconds(0),r.setHours(0),r.setMinutes(0),r.setSeconds(0),r.setMilliseconds(0);var o=Math.abs(i-r),a=Math.ceil(o/864e5),s=new Intl.DateTimeFormat("de",{day:"2-digit"}).format(i),c=new Intl.DateTimeFormat("de",{month:"2-digit"}).format(i),l=new Intl.DateTimeFormat("de",{year:"numeric"}).format(i);if(this.limitValidityRangeForm.placeholders.wishedDate=(s+"."+c+"."+l).toString(),this.limitValidityRangeForm.placeholders.orderAbleAtDate="",this.limitValidityRangeForm.property=e,a<=this.limitValidityRangePicker)this.limitValidityRangeForm.triggered=!1;else{var d=new Date;d.setTime(i.getTime()-864e5*this.limitValidityRangePicker);var u=new Intl.DateTimeFormat("de",{day:"2-digit"}).format(d),p=new Intl.DateTimeFormat("de",{month:"2-digit"}).format(d),f=new Intl.DateTimeFormat("de",{year:"numeric"}).format(d);this.limitValidityRangeForm.placeholders.orderAbleAtDate=(u+"."+p+"."+f).toString(),this.limitValidityRangeForm.triggered=!0,this.$nextTick((function(){n.$refs.shopLimitValidityModal.showModal()}))}}},onValidityRangeDeclinedCallback:function(t){switch(this.limitValidityRangeForm.property){case"vignetteValidFrom":this.validFrom=t.purchaseAbleDate,this.vignetteValidFromNotice=this.$t("shop.limitValidityRangeNotice",t),this.$refs.vignetteValidFrom.flatpickr.setDate(t.jsDate,!0),this.$refs.vignetteValidFrom.$el.scrollIntoView({block:"center",inline:"center"});break;case"routeTollValidityStart":this.routeTollValidityStart=t.purchaseAbleDate,this.routeTollValidityStartNotice=this.$t("shop.limitValidityRangeNotice",t),this.$refs.validityStart.flatpickr.setDate(t.jsDate,!0),this.$refs.validityStart.$el.scrollIntoView({block:"center",inline:"center"})}},getFormattedDate:function(t){var e=t.split(" ")[0].split(".");return new Date(Number(+e[2]),e[1]-1,+e[0])},isToday:function(t){var e=new Date;return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()},dateIsValidForOrderInsurance:function(t){var e=new Date,n=Math.abs(t-e);if(1===Math.ceil(n/864e5)){var i=new Date(Date.now()+36e5);return e.getFullYear()===i.getFullYear()&&e.getMonth()===i.getMonth()&&e.getDate()===i.getDate()}return!0},initToolTip:function(){void 0!==this.$refs.licensePlateTooltip&&(this.$refs.licensePlateTooltip.classList.contains("registered")||($(this.$refs.licensePlateTooltip).popover(),this.$refs.licensePlateTooltip.classList.add("registered")))},getSelectedLicensePlateOption:function(){if(this.selectedCountry.length>0&&"object"===N(this.licensePlateTemplates)&&this.licensePlateTemplates instanceof Array&&this.licensePlateTemplates.length>0)for(var t=0;t<this.licensePlateTemplates.length;t++)if(this.selectedCountry===this.licensePlateTemplates[t].country_code)return this.licensePlateTemplates[t];return null},parseLicensePlateInput:function(t){var e=this.getSelectedLicensePlateOption(),n=null!==e&&"string"==typeof e.replace_whitespaces_with,i=t?this.licensePlateConfirm:this.licensePlate;i.length&&n&&(i=i.replace(/\s+/g,e.replace_whitespaces_with),t?this.licensePlateConfirm=i:this.licensePlate=i)},getValueFromInput:function(t){var e=document.querySelector('[name="'+t+'"]');return null===e?null:e.value},isPreFillActive:function(){return this.preFillFromSession},clearFormSession:function(){for(var t=Object.keys(window.sessionStorage),e=0;e<t.length;e++)t[e].match(/orderForm\./)&&window.sessionStorage.removeItem(t[e])},prefillFormFromSession:function(){if(this.isPreFillActive()){this.isReadingFromSession=!0;var t=this;document.addEventListener("DOMContentLoaded",(function(){var e=Object.keys(window.sessionStorage);if(e.length){for(var n=0;n<e.length;n++)if(!e[n].match(/orderForm\.(.+)\.type/)){var i=t.getSessionKey(e[n]);if("selectedProduct"===i||"selectedProductType"===i){var r=t.readFromSession(i,!0),o=document.querySelector('[name="'+i+'"][value="'+r+'"]');if(null!==o&&o instanceof HTMLButtonElement&&"button"===o.type){o.click();break}}}setTimeout((function(){for(var n=function(){if(e[i].match(/orderForm\.(.+)\.type/))return 0;if(e[i].match(/selectedProduct/)||e[i].match(/selectedProductType/))return 0;var n=t.getSessionKey(e[i]),r=t.readFromSession(n,!0),o=document.querySelector('[name="'+n+'"][value="'+r+'"]');if(void 0===r)return 0;"string"==typeof t.sessionMapping[n]&&t.sessionMapping[n].length?("invoiceWanted"===(n=t.sessionMapping[n])&&(r="1"===r),t[n]=r):null!==o&&(o instanceof HTMLButtonElement||o instanceof HTMLInputElement)&&-1!==["button","radio","checkbox"].indexOf(o.type)?o.click():setTimeout((function(){null===o&&(o=document.querySelector('[name="'+n+'"]')),(o instanceof HTMLSelectElement||o instanceof HTMLTextAreaElement||o instanceof HTMLInputElement&&-1===["submit","reset","radio","checkbox"].indexOf(o.type))&&(o.value=r,o.dispatchEvent(new Event("change")))}),10)},i=0;i<e.length;i++)n();t.isReadingFromSession=!1}),25)}else t.isReadingFromSession=!1}))}},getSessionKey:function(t){return(t=t.replace("orderForm.","")).lastIndexOf(".")>0&&(t=t.substr(0,t.lastIndexOf("."))),t},saveToSession:function(t,e,n){this.isPreFillActive()&&(this.isReadingFromSession||(this.removeFromSession(t),!0===n?n=1:!1===n&&(n=0),window.sessionStorage.setItem("orderForm."+t+".type",e),window.sessionStorage.setItem("orderForm."+t+".value",""+n)))},removeFromSession:function(t){window.sessionStorage.removeItem("orderForm."+t+".type"),window.sessionStorage.removeItem("orderForm."+t+".value")},readFromSession:function(t,e){var n=null;if(window.sessionStorage.getItem("orderForm."+t+".type")&&window.sessionStorage.getItem("orderForm."+t+".value")){var i=window.sessionStorage.getItem("orderForm."+t+".type");n=window.sessionStorage.getItem("orderForm."+t+".value"),"number"===i&&"number"!=typeof n?n=parseFloat(n):"bool"===i&&"boolean"!=typeof n&&(n="true"===n||"false"===n||"0"===n||"1"===n),"boolean"==typeof e&&e&&this.removeFromSession(t)}return n},getOrderPrice:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.orderPrice;return this.serviceFee>0&&(n+=e?Math.max(0,this.serviceFee-this.voucherDiscount):this.serviceFee),this.orderInsurance&&this.insuranceFee>0&&(n+=this.insuranceFee),"number"==typeof t&&!isNaN(t)&&t>=0?n.toFixed(t):n},disableGlobalLoader:function(){this.globalLoading=!1},submitOrderForm:function(){var t=this;if(!this.limitValidityRangeForm.triggered){if(this.licensePlateShowError=!1,this.tosError=!1,this.licenseRevocationError=!1,this.emRedirect)return this.showLoadingAnimation=!0,this.globalLoading=!0,this.fullPageLoader=!0,void this.checkLicensePlate(this.licensePlate,this.selectedCountry).then((function(e){if(t.showLoadingAnimation=!1,t.globalLoading=!1,t.fullPageLoader=!1,e){var n={products:[{system:t.systemId,selectedProduct:t.selectedProduct,selectedOption:t.selectedOption,licensePlate:t.licensePlate,licensePlateCountry:t.selectedCountryCodePhones[0].country_code,customerMail:t.customerMail,voucher:t.voucher,stateId:null,chassisNumber:t.getValueFromInput("chassis_number"),insuranceSelected:t.orderInsurance,specialLicensePlate:!1,validityFrom:Math.floor(new Date(t.validFrom.split(".").reverse().join("-")).getTime()/1e3)}]};window.location.href="https://europamaut.com/configuration/"+window.btoa(JSON.stringify(n))}else t.$set(t,"formErrors",{license:["Invalid"]}),setTimeout((function(){var t=document.querySelector(".invalid-feedback:not(:empty)");if(null!==t){var e=t.parentElement.getBoundingClientRect().top,n=document.querySelector("#topnav").getBoundingClientRect().height,i=window.scrollY;window.scrollTo(0,i+e-n)}}),10)}));if(this.tosAccepted&&null!==this.paymentMethod&&this.licenseRevocationAcceptedValid)this.$set(this,"formErrors",{}),this.showLoadingAnimation=!1,this.globalLoading=!0,this.fullPageLoader=!0,this.orderValidationCallback=function(t){if(this.orderValidationCallback=null,!t.data.valid)return this.globalLoading=!1,this.fullPageLoader=!1,this.$set(this,"formErrors",t.data.errors),void setTimeout((function(){var t=document.querySelector(".invalid-feedback:not(:empty)");if(null!==t){var e=t.parentElement.getBoundingClientRect().top,n=document.querySelector("#topnav").getBoundingClientRect().height,i=window.scrollY;window.scrollTo(0,i+e-n)}}),10);"vignette"===this.selectedProductType&&!1!==t.data.duplicateOrder&&"object"===N(t.data.duplicateOrder)&&200===t.status&&t.data.valid&&null!==this.paymentMethod?this.forwardToCreatedOrder(t.data.duplicateOrder):200===t.status&&!1===t.data.shopActive?(this.changeSendingRequest(!1),this.showLoadingAnimation=!1,this.globalLoading=!1,this.fullPageLoader=!1,this.$refs.shopStatePopup.showModal()):200===t.status&&t.data.valid&&this.tosAccepted&&this.licenseRevocationAcceptedValid&&null!==this.paymentMethod&&this.validateAndCreateOrder()},this.inputChange(null,!0);else{this.licenseRevocationAcceptedValid||(this.licenseRevocationError=!0),this.tosAccepted||(this.tosError=!0);var e=this.$refs.tosAcceptedContainer.getBoundingClientRect().top,n=document.querySelector("#topnav").getBoundingClientRect().height,i=window.scrollY;window.scrollTo(0,i+e-n)}}},submitVoucherForm:function(){var t=this,e=new FormData(this.$refs.voucherForm);if(this.sessionVoucher&&(e.set("voucher_code",this.sessionVoucher),e.set("product_id",this.selectedProduct),e.set("product_type",this.selectedProductType)),e.has("voucher_code")&&0!==e.get("voucher_code").length&&!this.voucher)this.loading=!0,this.voucherError="",axios.post("/"+this.$language+"/backend/validate/voucher",e).then((function(e){if(e.data.valid)t.voucher=e.data.voucher;else{if(!e.data.errors||!e.data.errors.voucher_code)throw new Error("Invalid voucher");t.voucherError=e.data.errors.voucher_code[0]}})).catch((function(){t.inputChange(),t.voucherError=t.$t("shop.voucher_invalid")})).then((function(){t.loading=!1,t.$refs.voucherForm.reset()}));else{var n=this.$refs.checkoutButton;n&&n.scrollIntoView({behavior:"smooth",block:"end"})}},getDateByStrings:function(t,e,n,i,r,o){var a=new Date;return a.setDate(t),a.setMonth(e),a.setFullYear(n),a.setHours(i),a.setMinutes(r),a.setSeconds(o),a.setMilliseconds(0),a},selectInvoiceCountry:function(){var t=null;if("string"==typeof this.selectedCountry&&this.selectedCountry.length)for(var e=0;e<this.licensePlateTemplates.length;e++)if(this.selectedCountry===this.licensePlateTemplates[e].country_code){t=this.licensePlateTemplates[e].country_name;break}var n=document.querySelector("#country");null!==n&&(n.value=t)},selectPhoneCountry:function(){var t=null;if("string"==typeof this.selectedCountry&&this.selectedCountry.length)for(var e=0;e<this.countryCodePhones.length;e++)if(this.selectedCountry===this.countryCodePhones[e].country_code){t=this.countryCodePhones[e].phone_code;break}this.selectedPhoneCode=t;var n=document.querySelector("#phone-code");null!==n&&(n.value=t)},getWindowOuterWidth:function(){return window.innerWidth},prepareInitialDisplayOfVignetteOptions:function(){var t={};return!this.defaultSelectedProduct.options||this.defaultSelectedProduct.options<=0||this.defaultSelectedProduct.options.forEach((function(e){t[e.id]=e})),t},updateOrderFormWithLoadedOption:function(t){var e=this;if(null!==t&&(null===this.selectedOption||void 0===this.vignetteOptions[this.selectedOption])){var n,i;if(this.selectedOption=t.id,Object.keys(this.selectedShopProduct).length>0)this.selectedOption=null!==(n=null===(i=Object.values(this.vignetteOptions).find((function(t){var n;return t.vehicle_type===(null===(n=e.selectedShopProduct.options.find((function(t){return t.id===e.selectedOption})))||void 0===n?void 0:n.vehicle_type)})))||void 0===i?void 0:i.id)&&void 0!==n?n:t.id;this.inputChange("option_id"),this.$emit("price-change",t.price),this.$emit("service-fee-change",t.service_fee),this.$emit("insurance-fee-change",t.insurance_fee)}},displayDefaultTypeOptions:function(){this.vignetteOptions=this.prepareInitialDisplayOfVignetteOptions(),this.validTo=this.defaultValidTo,this.updateOrderFormWithLoadedOption(this.getFirstVignetteOption())},getFirstVignetteOption:function(){for(var t=Object.keys(this.vignetteOptions),e=null,n=0;n<t.length;n++){if("car"===((this.vignetteOptions[t[n]]||{}).vehicle_type||"")){e=this.vignetteOptions[t[n]];break}}return e},displayTypeOptions:function(){var t=this;if(!this.triggeredOptionFetch){if(this.triggeredOptionFetch=!0,this.initialTypesLoad)return this.displayDefaultTypeOptions(),this.initialTypesLoad=!1,void setTimeout((function(){t.triggeredOptionFetch=!1}),10);this.orderFormReversed&&!this.selectedProduct||(this.validTo=!1,axios.get("/"+this.$language+"/backend/options/vignette/"+this.selectedProduct+(this.products[this.selectedProduct].is_validity_controllable&&this.validFrom?"?valid="+this.validFrom:"")).then((function(e){t.vignetteOptions=e.data.options,t.validTo=e.data.runtime_end,setTimeout(t.disableGlobalLoader,t.globalLoadingTimeout),t.orderFormReversed||t.updateOrderFormWithLoadedOption(t.getFirstVignetteOption())})).finally((function(){t.triggeredOptionFetch=!1})))}},onFieldUpdated:function(t){this.$set(this,t.field,t.value)},onSaveToSession:function(t){this.saveToSession(t.key,t.value,t.type)},onVehicleSelected:function(){this.selectedProduct=null,this.selectedProductType=null,this.selectedProductUrlName="",this.selectedProductUrlNames={},this.selectedShopProduct=null,this.selectedOption=null},inputChange:function(t,e){var n=this;return R(A().mark((function i(){var r;return A().wrap((function(i){for(;;)switch(i.prev=i.next){case 0:void 0!==t&&("option_id"===t&&n.routeTollOptions&&"route_toll"===n.selectedProductType&&(n.paymentSubscription="object"===N(n.routeTollOptions[n.selectedOption])&&null!==n.routeTollOptions[n.selectedOption]&&"boolean"==typeof n.routeTollOptions[n.selectedOption].subscription_by_default&&n.routeTollOptions[n.selectedOption].subscription_by_default),n.showLoadingAnimation||(n.showLoadingAnimation=["payment_method"].indexOf(t)>=0),"country_code"===t?(null!==document.querySelector("#country")&&null!==document.querySelector("#country").value||n.selectInvoiceCountry(),setTimeout(n.selectPhoneCountry,10)):"invoice_wanted"===t&&setTimeout(n.selectInvoiceCountry,10),"validity_start"===t&&""===n.validFrom&&n.datepickerConfig.minDate&&(r=new Date(n.datepickerConfig.minDate),document.querySelector('input.datepicker-input:not([type="hidden"])').value=r.getFullYear()+"-"+(r.getMonth()+1).toString().padStart(2,"0")+"-"+r.getDate().toString().padStart(2,"0"),n.validFrom=n.currentDate),n.inputKeysChangeStatus[t]=!0),"boolean"==typeof e&&e&&(n.changeSendingRequest(!0),n.debouncedValidateInput());case 2:case"end":return i.stop()}}),i)})))()},validateInput:function(){var t=this;return R(A().mark((function e(){var n;return A().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,axios.post("/"+t.$language+"/backend/validate/order",new FormData(t.$refs.orderForm)).then((function(e){if(t.changeSendingRequest(!1),t.showLoadingAnimation=!1,"function"==typeof t.orderValidationCallback)t.orderValidationCallback(e);else if(e.data.valid)t.$set(t,"formErrors",{});else{for(var n in e.data.errors)void 0!==t.inputKeysChangeStatus[n]&&t.inputKeysChangeStatus[n]||delete e.data.errors[n];t.$set(t,"formErrors",e.data.errors)}return t.preselectRouteTollOption(),200===e.status&&e.data.valid})).catch((function(){t.changeSendingRequest(!1)}));case 2:n=e.sent,t.buyNowVisible=!0===n;case 4:case"end":return e.stop()}}),e)})))()},forwardToCreatedOrder:function(t){if(t.foundOrder&&"string"==typeof t.orderUri)try{window.location.href=t.orderUri}finally{this.changeSendingRequest(!1),this.globalLoading=!1,this.fullPageLoader=!1}},validateAndCreateOrder:function(){var t=this;this.limitValidityRangeForm.triggered||(this.changeSendingRequest(!0),this.showLoadingAnimation=!1,this.globalLoading=!0,this.fullPageLoader=!0,axios.post("/"+this.$language+"/payment",new FormData(this.$refs.orderForm)).then((function(e){if("object"===N(e.data.duplicateOrders))return t.duplicateOrders=e.data.duplicateOrders,void t.$refs.duplicateOrdersModal.onShowModal();t.clearFormSession(),t.paymentMethodSelectionAvailable=!1,t.changeSendingRequest(!1),t.showLoadingAnimation=!1,"string"==typeof e.data.orderUri&&(window.location.href=e.data.orderUri)})).catch((function(){t.inputChange()})).then((function(){t.changeSendingRequest(!1),t.globalLoading=!1,t.fullPageLoader=!1})))},onProductOptionSelected:function(t){this.selectedShopProduct=t,this.selectedProduct=t.product.id,this.selectedProductType="vignette",this.displayTypeOptions(),this.productOptionSelected=!0,this.selectedOption=t.id,this.$emit("price-change",t.price),this.$emit("service-fee-change",t.service_fee),this.$emit("insurance-fee-change",t.insurance_fee)},onProductSelected:function(){this.$emit("product-selected"),this.selectedProduct=this.$refs.productSelection.selectedProduct,this.selectedShopProduct=this.$refs.productSelection.selectedShopProduct,this.selectedProductType=this.$refs.productSelection.selectedProductType},onRouteSelected:function(t){this.selectedRoute=t,this.inputChange("product_id"),this.saveToSession("toll_product","string",t)},onOptionSelected:function(t){this.selectedOption=t,"route_toll"===this.selectedProductType&&(this.updateOrderFormWithLoadedOption("route_toll"),this.displayRouteTollValidityRange()),this.inputChange("option_id"),this.saveToSession("option_id","string",t),this.$emit("price-change",this.options[t].price),this.$emit("service-fee-change",this.options[t].service_fee),this.$emit("insurance-fee-change",this.options[t].insurance_fee)},displayRouteTollValidityRange:function(){var t=this;axios.get("/"+this.$language+"/backend/validity/"+this.selectedRoute+"?start="+this.routeTollValidityStart+"&timestamp="+Date.now()).then((function(e){t.validTo=e.data.runtime_end}))},preselectRouteTollOption:function(){if("route_toll"===this.selectedProductType){var t=document.getElementById("toll_product"),e=t.querySelector("option:not([disabled])");t.value=e.value,t.dispatchEvent(new Event("change"));var n=document.getElementById("toll_option");e=n.querySelector("option:not([disabled])"),n.value=e.value,n.dispatchEvent(new Event("change"))}},changeSendingRequest:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.sendingRequest=t,this.$emit("request-sending-change",t)},resetLicensePlateStatus:function(){this.licensePlateValid=!0},displayRouteOptions:function(t){var e,n;if(this.selectedProduct=this.selectedRoute,t||(this.selectedOption=0),this.routeTollOptions=null!==(e=null===(n=this.tollProducts[this.selectedRoute])||void 0===n?void 0:n.options_keyed)&&void 0!==e?e:this.tollProducts[Object.keys(this.tollProducts)[0]].options_keyed,!t){var i=this;setTimeout((function(){i.$refs.routeTollOptions.value=i.tollProducts[i.selectedRoute].options[0].id.toString(),i.$refs.routeTollOptions.dispatchEvent(new Event("change"))}),10)}},handleLicensePlateCheckEmitStatus:function(t){this.licensePlateCheckStatus=t},setDisplayLicensePlateErrorTimer:function(){var t=this;this.timeoutLicensePlateInvalidId>=0&&clearTimeout(this.timeoutLicensePlateInvalidId),this.timeoutLicensePlateInvalidId=setTimeout((function(){t.licensePlateCheckInvalid&&(t.licensePlateShowError=!0)}),2e3)}}},q=j;var V=n(2500),H={insert:"head",singleton:!1};d()(V.A,H);V.A.locals;const B=(0,a.A)(q,(function(){var t=this,e=t._self._c;return e("form",{ref:"orderForm",staticClass:"product-order-form",attrs:{action:"",method:"post"}},[e("order-duplicate-orders-modal",{ref:"duplicateOrdersModal",attrs:{"duplicate-orders":t.duplicateOrders},on:{continue:t.validateAndCreateOrder}}),t._v(" "),e("ShopStatePopup",{ref:"shopStatePopup",attrs:{email:t.customerMail}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"product_id"},domProps:{value:t.selectedProduct}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"product_type"},domProps:{value:t.selectedProductType}}),t._v(" "),null!==t.voucher?e("input",{attrs:{type:"hidden",name:"voucher_code"},domProps:{value:t.voucher.code}}):t._e(),t._v(" "),e("section",{staticClass:"section bg-after-rounded-100 section-offset-small",attrs:{id:t.$t("shop.productAnchor")}},[t.orderFormReversed?e("VehicleSelection",{ref:"vehicleSelection",attrs:{"vignette-products":t.products,"vignette-options":t.vignetteOptions,"selected-vignette-option":t.selectedOption,"is-mobile":t.isMobile,vehicles:t.vehicles,"form-errors":t.formErrors,"default-selected-product":t.defaultSelectedProduct,"default-selected-option":t.defaultSelectedOption},on:{"show-loading-animation":function(e){t.showLoadingAnimation=!0},"field-updated":function(e){return t.onFieldUpdated(e)},"vehicle-selected":function(e){return t.onVehicleSelected()}}}):e("ProductSelection",{ref:"productSelection",attrs:{"vignette-products":t.products,"default-selected-product":t.defaultSelectedProduct,"default-selected-option":t.defaultSelectedOption,"change-product-setting":t.changeProductSetting,"is-mobile":t.isMobile,"current-order-value":t.currentOrderValue,"hide-route-toll-products":t.hideRouteTollProducts,"toll-products-start-price":t.tollProductsStartPrice,"selected-route":t.selectedRoute,"route-toll-product":t.routeTollProduct,"selected-toll-option":t.selectedOption,"toll-products":t.tollProducts},on:{"field-updated":function(e){return t.onFieldUpdated(e)},"input-change":t.inputChange,"display-type-options":t.displayTypeOptions,"display-route-options":function(e){return t.displayRouteOptions(e)},"show-loading-animation":function(e){t.showLoadingAnimation=!0},"preselect-route-toll-option":t.preselectRouteTollOption,"init-tool-tip":t.initToolTip,"product-selected":function(e){return t.onProductSelected()},"save-to-session":function(e){return t.onSaveToSession(e)}}})],1),t._v(" "),t.productSelected?e("section",{ref:"formFields",staticClass:"section",attrs:{id:"optionSelection"}},[e("OptionSelection",{ref:"optionSelection",attrs:{"order-form-reversed":t.orderFormReversed,"selected-product":t.selectedProduct,"selected-product-obj":t.selectedShopProduct,"selected-product-type":t.selectedProductType,"form-errors":t.formErrors,"date-picker-config":t.datepickerConfig,"valid-to":t.validTo,"valid-from":t.validFrom,options:t.options,"route-toll-options":t.routeTollOptions,"vignette-options":t.vignetteOptions,"selected-option":t.selectedOption,"default-selected-option":t.defaultSelectedOption,"toll-products":t.tollProducts,"vignette-products":t.vignetteProducts},on:{"display-type-options":t.displayTypeOptions,"input-change":function(e){return t.inputChange(e)},"save-to-session":function(e){return t.onSaveToSession(e)},"display-route-options":function(e){return t.displayRouteOptions(e)},"display-route-toll-validity-range":t.displayRouteTollValidityRange,"route-selected":function(e){return t.onRouteSelected(e)},"option-selected":function(e){return t.onOptionSelected(e)},"product-option-selected":function(e){return t.onProductOptionSelected(e)},"validity-start-change":function(e){t.validFrom=e}}})],1):t._e(),t._v(" "),t.orderFormVisible?e("section",{ref:"orderContainer",staticClass:"section"},[e("div",{attrs:{id:"orderContainer"}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12"},[e("h2",[t._v(t._s(t.$t("shop.selected_country_license")))])])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12 mb-2 order-container-col"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"form-group w-100"},[e("label",{staticClass:"col-form-label",attrs:{for:"country_code"}},[t._v("\n                                            "+t._s(t.$t("shop.licensing_state"))+"\n                                        ")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCountry,expression:"selectedCountry"}],staticClass:"form-control height-auto-override",class:{"is-invalid":t.formErrors.country_code},attrs:{name:"country_code",id:"country_code",required:""},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedCountry=e.target.multiple?n:n[0]},function(e){t.inputChange("country_code"),t.saveToSession("country_code","string",t.selectedCountry)}]}},[e("option",{attrs:{disabled:"",value:"false",selected:""}},[t._v("\n                                                "+t._s(t.$t("shop.dropdown_required"))+"\n                                            ")]),t._v(" "),t._l(t.licensePlateTemplates,(function(n){return e("option",{key:n.country_code,attrs:{"data-name":n.country_name},domProps:{value:n.country_code}},[t._v("\n                                                "+t._s(t.$t("country."+n.country_code))+"\n                                            ")])}))],2),t._v(" "),t.missingLicensePlateTooltipActive?e("div",{staticClass:"form-text text-muted"},[e("small",[e("a",{ref:"licensePlateTooltip",staticClass:"tooltip-info",attrs:{href:"#",onclick:"return false;","data-toggle":"popover","data-trigger":"focus","data-placement":"right","data-html":"true","data-content":t.$t("shop.missing_license_plate_content")},domProps:{innerHTML:t._s(t.$t("shop.missing_license_plate_button"))}})])]):t._e()]),t._v(" "),t._l(t.selectedLicensePlateTemplates,(function(n){return e("div",{key:n.country_code,staticClass:"row",class:n.country_code+"-row"},[e("div",{staticClass:"col-12 col-lg-6"},[e("div",{staticClass:"form-group",class:{"mb-2":n.allows_multilicenseplate}},[e("label",{staticClass:"col-form-label",attrs:{for:"license_plate"}},[t._v("\n                                                    "+t._s(t.$t("shop.license_plate"))+"\n                                                ")]),t._v(" "),e("license-plate-input",{attrs:{"license-plate-country":n,template:n.template,required:!0,"is-invalid":"object"===i(t.formErrors.license)&&t.formErrors.license.length>0,name:"license",id:"license_plate","special-license-plate-error":t.formErrors.special_license_plate_confirmed||null,"non-standard-license-plate":t.nonStandardLicensePlate},on:{input:function(e){t.resetLicensePlateStatus(),t.parseLicensePlateInput(!1),t.inputChange("license"),t.saveToSession("license","string",t.licensePlate)},"has-license-plate-template":function(e){t.hasTemplateForm=e},"license-plate-check-status":t.handleLicensePlateCheckEmitStatus},model:{value:t.licensePlate,callback:function(e){t.licensePlate=e},expression:"licensePlate"}},t._l(t.formErrors.license,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)],1),t._v(" "),t.showSpecialLicensePlateCheckbox?e("div",{staticClass:"custom-control custom-switch"},[e("div",{staticClass:"d-flex align-items-center form-group mb-1"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.nonStandardLicensePlate,expression:"nonStandardLicensePlate"}],staticClass:"custom-control-input",attrs:{type:"checkbox",name:"is_special_license",value:"1",id:"is_special_license"},domProps:{checked:Array.isArray(t.nonStandardLicensePlate)?t._i(t.nonStandardLicensePlate,"1")>-1:t.nonStandardLicensePlate},on:{change:function(e){var n=t.nonStandardLicensePlate,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,"1");i.checked?o<0&&(t.nonStandardLicensePlate=n.concat(["1"])):o>-1&&(t.nonStandardLicensePlate=n.slice(0,o).concat(n.slice(o+1)))}else t.nonStandardLicensePlate=r}}}),t._v(" "),e("label",{staticClass:"custom-control-label font-weight-normal",attrs:{for:"is_special_license"},domProps:{innerHTML:t._s(t.$t("shop.specialLicensePlate"))}}),t._v(" "),e("Tooltip",{key:"is_special_license_info",staticClass:"position-relative ml-1",scopedSlots:t._u([{key:"icon",fn:function(){return[e("i",{staticClass:"icon mdi mdi-information-outline",staticStyle:{"font-size":"24px"}})]},proxy:!0},{key:"text",fn:function(){return[e("span",{domProps:{innerHTML:t._s(t.$t("shop.specialLicensePlateInfo"))}})]},proxy:!0}],null,!0)})],1)]):t._e()]),t._v(" "),e("div",{staticClass:"col-12 col-lg-6"},[e("div",{staticClass:"form-group",class:{"mb-2":n.allows_multilicenseplate}},[e("label",{staticClass:"col-form-label",attrs:{for:"license_plate_confirm"}},[t._v("\n                                                    "+t._s(t.$t("shop.license_plate_confirm"))+"\n                                                ")]),t._v(" "),e("license-plate-input",{attrs:{"disable-validation":!0,"license-plate-country":n,template:n.template,required:!0,"is-invalid":"object"===i(t.formErrors.license_confirmation)&&t.formErrors.license_confirmation.length>0,name:"license_confirmation",id:"license_plate_confirm","non-standard-license-plate":t.nonStandardLicensePlate},on:{input:function(e){t.resetLicensePlateStatus(),t.parseLicensePlateInput(!0),t.inputChange("license_confirm"),t.saveToSession("license_confirm","string",t.licensePlateConfirm)},"has-license-plate-template":function(e){t.hasTemplateForm=e}},model:{value:t.licensePlateConfirm,callback:function(e){t.licensePlateConfirm=e},expression:"licensePlateConfirm"}},t._l(t.formErrors.license_confirmation,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)],1)]),t._v(" "),t.licensePlateShowError?e("div",{staticClass:"ml-3 text-danger"},[t._v("\n                                                "+t._s(t.$t("shop.licensePlateLiveValidationError"))+"\n                                        ")]):t._e(),t._v(" "),n.allows_multilicenseplate?e("div",{staticClass:"col-12"},[e("div",{staticClass:"custom-control custom-switch"},[e("div",{staticClass:"form-group"},[e("input",{staticClass:"custom-control-input",attrs:{type:"checkbox",name:"is_multilicenseplate",id:"field_is_multilicenseplate",value:"1"}}),t._v(" "),e("label",{staticClass:"custom-control-label font-weight-normal",attrs:{for:"field_is_multilicenseplate"}},[t._v("\n                                                        "+t._s(t.$t("shop.is_multilicenseplate"))+"\n                                                    ")])])])]):t._e()])}))],2)])])])])])])]):t._e(),t._v(" "),t.orderFormVisible&&!t.emRedirect?e("section",{ref:"contactDetails",staticClass:"section"},[e("div",[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12"},[e("h2",[t._v(t._s(t.$t("shop.selected_contact_details")))])])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12 order-container-col"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"paypal-first_name"}},[t._v("\n                                            "+t._s(t.$t("shop.paypal_first_name"))+"\n                                        ")]),t._v(" "),e("input",{staticClass:"form-control",class:{"is-invalid":t.formErrors.paypal_first_name},attrs:{type:"text",name:"paypal_first_name",id:"paypal-first_name",placeholder:t.$t("shop.first_name_placeholder"),required:""},on:{change:function(e){t.inputChange("paypal_first_name"),t.saveToSession("paypal_first_name","string",t.getValueFromInput("paypal_first_name"))},keydown:function(e){return t.inputChange("paypal_first_name")}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.paypal_first_name,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"paypal-last_name"}},[t._v("\n                                            "+t._s(t.$t("shop.paypal_last_name"))+"\n                                        ")]),t._v(" "),e("input",{staticClass:"form-control",class:{"is-invalid":t.formErrors.paypal_last_name},attrs:{type:"text",name:"paypal_last_name",id:"paypal-last_name",placeholder:t.$t("shop.last_name_placeholder"),required:""},on:{change:function(e){t.inputChange("paypal_last_name"),t.saveToSession("paypal_last_name","string",t.getValueFromInput("paypal_last_name"))},keydown:function(e){return t.inputChange("paypal_last_name")}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.paypal_last_name,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"email"}},[t._v("\n                                            "+t._s(t.$t("shop.email"))+"\n                                        ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.customerMail,expression:"customerMail"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.email},attrs:{type:"email",name:"email",id:"email",placeholder:t.$t("shop.email_placeholder"),required:""},domProps:{value:t.customerMail},on:{change:function(e){t.inputChange("email"),t.saveToSession("email","string",t.getValueFromInput("email"))},keydown:function(e){return t.inputChange("email")},input:function(e){e.target.composing||(t.customerMail=e.target.value)}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.email,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])])])])]),t._v(" "),e("div",{staticClass:"row custom-control-switch-row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"custom-control custom-switch"},[e("div",{staticClass:"form-group mb-1"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.invoiceWanted,expression:"invoiceWanted"}],staticClass:"custom-control-input",attrs:{name:"invoice_wanted",type:"checkbox",value:"1",id:"invoice_wanted"},domProps:{checked:Array.isArray(t.invoiceWanted)?t._i(t.invoiceWanted,"1")>-1:t.invoiceWanted},on:{change:[function(e){var n=t.invoiceWanted,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,"1");i.checked?o<0&&(t.invoiceWanted=n.concat(["1"])):o>-1&&(t.invoiceWanted=n.slice(0,o).concat(n.slice(o+1)))}else t.invoiceWanted=r},function(e){t.inputChange("invoice_wanted"),t.saveToSession("invoice_wanted","string",t.invoiceWanted)}]}}),t._v(" "),e("label",{staticClass:"custom-control-label font-weight-normal",attrs:{for:"invoice_wanted"},domProps:{innerHTML:t._s(t.$t("shop.invoice_wanted"))}})])])])])])]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[t.invoiceWanted?e("div",{staticClass:"row mt-3"},[e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"first_name"}},[t._v("\n                                            "+t._s(t.$t("shop.first_name"))+"\n                                        ")]),t._v(" "),e("input",{staticClass:"form-control",class:{"is-invalid":t.formErrors.first_name},attrs:{type:"text",name:"first_name",id:"first_name",placeholder:t.$t("shop.first_name_placeholder"),required:""},on:{change:function(e){t.inputChange("first_name"),t.saveToSession("first_name","string",t.getValueFromInput("first_name"))},keydown:function(e){return t.inputChange("first_name")}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.first_name,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-6"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"last_name"}},[t._v("\n                                            "+t._s(t.$t("shop.last_name"))+"\n                                        ")]),t._v(" "),e("input",{staticClass:"form-control",class:{"is-invalid":t.formErrors.last_name},attrs:{type:"text",name:"last_name",id:"last_name",placeholder:t.$t("shop.last_name_placeholder"),required:""},on:{change:function(e){t.inputChange("last_name"),t.saveToSession("last_name","string",t.getValueFromInput("last_name"))},keydown:function(e){return t.inputChange("last_name")}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.last_name,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"street"}},[t._v("\n                                            "+t._s(t.$t("shop.company"))+"\n                                        ")]),t._v(" "),e("input",{staticClass:"form-control",class:{"is-invalid":t.formErrors.company},attrs:{type:"text",name:"company",id:"company",placeholder:t.$t("shop.company_placeholder")},on:{change:function(e){t.inputChange("company"),t.saveToSession("company","string",t.getValueFromInput("company"))},keydown:function(e){return t.inputChange("company")}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.company,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"street"}},[t._v("\n                                            "+t._s(t.$t("shop.street"))+"\n                                        ")]),t._v(" "),e("input",{staticClass:"form-control",class:{"is-invalid":t.formErrors.street},attrs:{type:"text",name:"street",id:"street",placeholder:t.$t("shop.street_placeholder"),required:""},on:{change:function(e){t.inputChange("street"),t.saveToSession("street","string",t.getValueFromInput("street"))},keydown:function(e){return t.inputChange("street")}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.street,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"house"}},[t._v("\n                                            "+t._s(t.$t("shop.house_number"))+"\n                                        ")]),t._v(" "),e("input",{staticClass:"form-control",class:{"is-invalid":t.formErrors.house},attrs:{type:"text",name:"house",id:"house",placeholder:t.$t("shop.house_number_placeholder"),required:""},on:{change:function(e){t.inputChange("house"),t.saveToSession("house","string",t.getValueFromInput("house"))},keydown:function(e){return t.inputChange("house")}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.house,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-4"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"postcode"}},[t._v("\n                                            "+t._s(t.$t("shop.postcode"))+"\n                                        ")]),t._v(" "),e("input",{staticClass:"form-control",class:{"is-invalid":t.formErrors.postcode},attrs:{type:"text",name:"postcode",id:"postcode",placeholder:t.$t("shop.postcode_placeholder"),required:""},on:{change:function(e){t.inputChange("postcode"),t.saveToSession("postcode","string",t.getValueFromInput("postcode"))},keydown:function(e){return t.inputChange("postcode")}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.postcode,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12 col-md-8"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"city"}},[t._v("\n                                            "+t._s(t.$t("shop.city"))+"\n                                        ")]),t._v(" "),e("input",{staticClass:"form-control",class:{"is-invalid":t.formErrors.city},attrs:{type:"text",name:"city",id:"city",placeholder:t.$t("shop.city_placeholder"),required:""},on:{change:function(e){t.inputChange("city"),t.saveToSession("city","string",t.getValueFromInput("city"))},keydown:function(e){return t.inputChange("city")}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.city,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])]),t._v(" "),e("div",{staticClass:"col-12"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"country"}},[t._v("\n                                            "+t._s(t.$t("shop.country"))+"\n                                        ")]),t._v(" "),e("select",{staticClass:"form-control",class:{"is-invalid":t.formErrors.country},attrs:{name:"country",id:"country",required:""},on:{change:function(e){t.inputChange("country"),t.saveToSession("country","string",t.getValueFromInput("country"))}}},[e("option",{attrs:{disabled:"",value:"false",selected:""}},[t._v("\n                                                "+t._s(t.$t("shop.dropdown_required"))+"\n                                            ")]),t._v(" "),t._l(t.licensePlateTemplates,(function(n){return e("option",{key:n.country_name,domProps:{value:n.country_name}},[t._v("\n                                                "+t._s(t.$t("country."+n.country_code))+"\n                                            ")])}))],2),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.country,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v(t._s(n))])})),0)])])]):t._e()])])])])])]):t._e(),t._v(" "),"route_toll"!==t.selectedProductType&&t.orderFormVisible||"route_toll"===t.selectedProductType?e("section",{ref:"priceDetails",staticClass:"section pb-0"},[e("div",[e("div",{staticClass:"row"},[t.showOrderInsurance?e("div",{staticClass:"col-md-12 order-container-col mb-2"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("label",{staticClass:"d-block mb-0",attrs:{for:"order_insurance"}},[e("icon-text-container",{staticClass:"justify-content-lg-start",attrs:{"with-title":!0,"with-price-label":!0,"row-class":"justify-content-md-center justify-content-lg-start"},scopedSlots:t._u([{key:"icon",fn:function(){return[e("div",{staticClass:"d-flex align-items-center justify-content-between justify-content-md-center justify-content-lg-between h-100"},[e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.orderInsurance,expression:"orderInsurance"}],staticClass:"checkbox",attrs:{type:"checkbox",id:"order_insurance",name:"order_insurance"},domProps:{checked:Array.isArray(t.orderInsurance)?t._i(t.orderInsurance,null)>-1:t.orderInsurance},on:{change:function(e){var n=t.orderInsurance,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.orderInsurance=n.concat([null])):o>-1&&(t.orderInsurance=n.slice(0,o).concat(n.slice(o+1)))}else t.orderInsurance=r}}})]),t._v(" "),e("i",{staticClass:"mdi mdi-shield-check insurance-icon ml-0 mr-0 ml-md-10 ml-lg-0 without-opacity-update"})])]},proxy:!0},{key:"title",fn:function(){return[e("div",{staticClass:"d-flex align-items-center h-100"},[e("span",{domProps:{innerHTML:t._s(t.$t("shop.insuranceRecommendation"))}})])]},proxy:!0},{key:"price",fn:function(){return[e("div",{staticClass:"d-flex align-items-center h-100 justify-content-center justify-content-lg-end mt-md-1 mt-lg-0"},[e("div",{staticClass:"d-flex align-items-baseline d-lg-block"},[e("h5",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.$t("shop.insurancePriceTitle"))}}),t._v(" "),e("span",{staticClass:"ml-2 ml-lg-0 text-quote",staticStyle:{"font-size":"18px"}},[t._v(t._s(t.getInsuranceFee))])])])]},proxy:!0}],null,!1,4038048286)},[t._v(" "),t._v(" "),e("div",{staticClass:"mt-1 mt-md-2 mt-lg-0"},[e("h4",{staticClass:"mb-3 text-center",domProps:{innerHTML:t._s(t.$t("shop.insuranceInfoTitle"))}}),t._v(" "),t.getLastInsuranceDate?e("span",{staticClass:"d-block text-quote text-left text-md-center",domProps:{innerHTML:t._s(t.$t("shop.insuranceInfoText",{cancellationDate:t.getLastInsuranceDate}))}}):t._e()])])],1)])])]):t._e(),t._v(" "),t.isSubscriptionEnabled?e("div",{staticClass:"col-md-12 mb-2"},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-12"},[e("label",{staticClass:"d-block mb-0",attrs:{for:"payment_subscription"}},[e("icon-text-container",{staticClass:"justify-content-lg-start",attrs:{"with-title":!0,"title-without-price":!0,"row-class":"justify-content-md-center justify-content-lg-start"},scopedSlots:t._u([{key:"icon",fn:function(){return[e("div",{staticClass:"d-flex align-items-center justify-content-between justify-content-md-center justify-content-lg-between h-100"},[e("div",[e("input",{directives:[{name:"model",rawName:"v-model",value:t.paymentSubscription,expression:"paymentSubscription"}],staticClass:"checkbox",attrs:{type:"checkbox",id:"payment_subscription",name:"payment_subscription"},domProps:{value:!0,checked:Array.isArray(t.paymentSubscription)?t._i(t.paymentSubscription,!0)>-1:t.paymentSubscription},on:{change:function(e){var n=t.paymentSubscription,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=!0,a=t._i(n,o);i.checked?a<0&&(t.paymentSubscription=n.concat([o])):a>-1&&(t.paymentSubscription=n.slice(0,a).concat(n.slice(a+1)))}else t.paymentSubscription=r}}})]),t._v(" "),e("i",{staticClass:"mdi mdi-calendar-sync payment_subscription-icon ml-0 mr-0 ml-md-10 ml-lg-0 without-opacity-update"})])]},proxy:!0},{key:"title",fn:function(){return[e("div",{staticClass:"d-flex align-items-center h-100"},[e("span",{domProps:{innerHTML:t._s(t.$t("shop.insuranceRecommendation"))}})])]},proxy:!0}],null,!1,3256344197)},[t._v(" "),t._v(" "),e("div",{staticClass:"mt-1 mt-md-2 mt-lg-0"},[e("h4",{staticClass:"mb-3 text-center",domProps:{innerHTML:t._s(t.$t("shop.paymentSubscriptionInfoTitle"))}}),t._v(" "),e("Tooltip",{staticClass:"subscription-info-tooltip",attrs:{"only-click":!0},scopedSlots:t._u([{key:"icon",fn:function(){return[e("i",{staticClass:"icon mdi mdi-information-outline"})]},proxy:!0},{key:"text",fn:function(){return[e("h5",{domProps:{innerHTML:t._s(t.$t("shop.paymentSubscriptionInfoToolTipTitle"))}}),t._v(" "),e("div",{domProps:{innerHTML:t._s(t.$t("shop.paymentSubscriptionInfoToolTipText"))}})]},proxy:!0}],null,!1,3152447769)}),t._v(" "),e("span",{staticClass:"d-block text-quote text-left text-md-center",domProps:{innerHTML:t._s(t.$t("order.paymentSubscriptionInfoText"))}})],1)])],1)])])]):t._e(),t._v(" "),e("div",{staticClass:"col-md-12 mb-2 route-toll-col"},[e("div",{staticClass:"summary-container bg-light rounded p-3 mt-3 mb-mobile-section"},[e("div",{staticClass:"row vertical-center"},[e("div",{staticClass:"col-md-6 px-5 py-3 mobile-padding"},[t.orderFormVisible?e("div",{staticClass:"w-100 bg-transparent"},[e("div",{staticClass:"card-body px-0 pt-0"},[e("h4",{staticClass:"mb-4 text-primary"},[t._v(t._s(t.$t("shop.order_details")))]),t._v(" "),"route_toll"===t.selectedProductType||t.selectedProduct?e("div",{staticClass:"my-2"},[e("b",[t._v(t._s(t.$t("shop.order_details")))]),e("span",{staticClass:"float-right"},[t._v(t._s("route_toll"===t.selectedProductType?t.$t("shop.toll-product"):t.selectedProduct?t.products[t.selectedProduct].name:t.$t("shop.selected_product_choose")))]),e("br")]):t._e(),t._v(" "),t.validFrom?e("div",{staticClass:"my-2"},[e("b",[t._v(t._s(t.$t("shop.order_valid_from")))]),e("span",{staticClass:"float-right"},[t._v(t._s(t.validFrom))]),e("br")]):t._e(),t._v(" "),t.validTo?e("div",{staticClass:"my-2"},[e("b",[t._v(t._s(t.$t("shop.order_valid_to")))]),e("span",{staticClass:"float-right"},[t._v(t._s(t.validTo))]),e("br")]):t._e(),t._v(" "),t.licensePlate?e("div",{staticClass:"my-2"},[e("b",[t._v(t._s(t.$t("shop.license_plate")))]),e("span",{staticClass:"float-right"},[t._v(t._s(t.licensePlate))]),e("br")]):t._e()])]):t._e()]),t._v(" "),e("div",{staticClass:"col-md-6 px-5 py-3 mobile-padding"},[t.orderFormVisible?e("div",{staticClass:"w-100 bg-transparent"},[e("div",{staticClass:"card-body px-0 d-flex flex-column justify-content-center"},[t.detailedPriceDisplay&&t.serviceFee>0?e("div",[e("div",{staticClass:"row detailed-price-listing"},[e("div",{staticClass:"offset-lg-2"}),t._v(" "),e("div",{staticClass:"col-8 col-lg-6 text-left pr-0"},[t._v("\n                                                    "+t._s(t.$t("shop.detailedPriceTitleToll"))+"\n                                                ")]),t._v(" "),e("div",{staticClass:"col-4 col-lg-4 text-right pl-0"},[e("price",{attrs:{price:t.orderPrice,inline:!0,currencyInNewline:!0,showNewCurrency:!1}})],1)]),t._v(" "),e("div",{staticClass:"row detailed-price-listing"},[e("div",{staticClass:"offset-lg-2"}),t._v(" "),e("div",{staticClass:"col-8 col-lg-6 text-left pr-0 cursor-pointer",on:{click:function(e){return e.preventDefault(),t.$refs.serviceFeePopup.onShowModal()}}},[t._v("\n                                                    "+t._s(t.$t("shop.detailedPriceTitleService"))+"\n                                                ")]),t._v(" "),e("div",{staticClass:"col-4 col-lg-4 text-right pl-0"},[t.showShopServiceFeePopup&&!t.emAbo?e("order-service-fee-info",{ref:"serviceFeePopup",attrs:{"service-fee":t.serviceFee-t.voucherDiscount,"show-lang":!1,showNewCurrency:!1}}):t._e()],1)]),t._v(" "),this.orderInsurance?e("div",{staticClass:"row detailed-price-listing"},[e("div",{staticClass:"offset-lg-2"}),t._v(" "),e("div",{staticClass:"col-8 col-lg-6 text-left pr-0"},[t._v("\n                                                    "+t._s(t.$t("shop.detailedPriceTitleInsurance"))+"\n                                                ")]),t._v(" "),e("div",{staticClass:"col-4 col-lg-4 text-right pl-0"},[e("price",{attrs:{price:t.insuranceFee,inline:!0,currencyInNewline:!0,showNewCurrency:!1}})],1)]):t._e(),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"row mb-3"},[e("div",{staticClass:"offset-lg-2"}),t._v(" "),e("div",{staticClass:"col-7 col-md-6 col-lg-6"},[e("div",{staticClass:"detailed-price-sum-title"},[t._v("\n                                                        "+t._s(t.$t("shop.detailedPriceTitleSum"))+"\n                                                    ")])]),t._v(" "),e("div",{staticClass:"col-5 col-md-6 col-lg-4 text-right detailed-price-sum"},[null!==this.voucher?[e("price",{attrs:{price:t.getOrderPrice(null,!0),inline:!0,currencyInNewline:!0}})]:[e("price",{attrs:{price:t.getOrderPrice(null,!1),inline:!0,currencyInNewline:!0}})]],2)]),t._v(" "),e("div",{staticClass:"row mb-3"},[e("div",{staticClass:"offset-lg-2"}),t._v(" "),e("div",{staticClass:"col-12 col-lg-10"},[e("form",{ref:"voucherForm",staticClass:"justify-content-center row",attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.submitVoucherForm.apply(null,arguments)}}},[e("input",{attrs:{type:"hidden",name:"product_id"},domProps:{value:t.selectedProduct}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"product_type"},domProps:{value:t.selectedProductType}}),t._v(" "),t.voucher?t._e():e("div",{staticClass:"col-6 col-lg-8 px-3 px-md-0 px-lg-3 pt-0 form-group"},[e("input",{staticClass:"form-control",attrs:{type:"text",name:"voucher_code",placeholder:t.$t("shop.voucher_placeholder"),disabled:t.loading||t.voucher},on:{change:function(e){t.inputChange("voucher_code"),t.saveToSession("voucher_code","string",t.getValueFromInput("voucher_code"))},keydown:function(e){return t.inputChange("voucher_code")}}})]),t._v(" "),t.voucher?t._e():e("div",{staticClass:"col-6 col-lg-4 px-3 px-md-0 px-lg-3 pt-0 form-group text-right"},[e("button",{staticClass:"btn btn-primary shop-voucher-btn px-3",attrs:{disabled:t.loading},on:{click:function(e){e.preventDefault(),t.submitVoucherForm()}}},[t.loading||t.voucher?t._e():e("span",[t._v(t._s(t.$t("shop.voucherBtn")))]),t._v(" "),t.loading?e("span",[e("i",{staticClass:"mdi mdi-spin mdi-loading mdi-18px"})]):t._e(),t._v(" "),t.voucher&&!t.loading?e("span",[e("i",{staticClass:"mdi mdi-check mdi-18px"})]):t._e()])]),t._v(" "),t.voucherError?e("div",{staticClass:"invalid-feedback d-block col-12 px-3 px-md-0 px-lg-3 pt-0"},[e("span",{staticClass:"d-block"},[t._v("\n                                                                "+t._s(t.voucherError)+"\n                                                            ")])]):t._e(),t._v(" "),t.voucherDiscount&&null!==t.voucher?e("div",{staticClass:"row detailed-price-listing text-primary form-group max-width"},[e("div",{staticClass:"col-12 col-lg-12 text-center font-weight-bold form-control"},[t._v("\n                                                                "+t._s(t.voucherDiscount.toFixed(2))+" € "+t._s(t.$t("shop.voucherApplied"))+"\n                                                                "),e("i",{staticClass:"mdi mdi-check mdi-18px price-listing-bold-icon"})])]):t._e()])])])]):t._e(),t._v(" "),e("div",{staticClass:"d-none"},[e("input",{attrs:{type:"text",name:"currency_shortcode",hidden:""},domProps:{value:t.getCurrencyShortcode}})]),t._v(" "),e("div",{staticClass:"d-none"},[e("input",{attrs:{type:"text",name:"local_price",hidden:""},domProps:{value:t.getLocalPrice}})]),t._v(" "),e("div",{staticClass:"d-none"},[e("input",{attrs:{type:"text",name:"exchange_rate",hidden:""},domProps:{value:t.getExchangeRate}})]),t._v(" "),!t.detailedPriceDisplay||t.serviceFee<=0?e("div",{staticClass:"price-total w-100 text-center"},[t._v("\n                                            "+t._s(t.$t("generic.price"))+":\n                                            "),e("div",{staticClass:"d-flex flex-row justify-content-center align-items-center"},[null!==this.voucher?e("price",{attrs:{inline:!0,price:t.getOrderPrice(null,!0),"container-class":"d-block product-price line-height-32px"}}):t._e(),t._v(" "),e("price",{attrs:{inline:!0,price:t.getOrderPrice(null),"container-class":"d-block product-price line-height-32px"+(null!==this.voucher?" old ml-2":"")}})],1),t._v(" "),t.showShopServiceFeePopup&&!t.emAbo?e("order-service-fee-info",{attrs:{"service-fee":t.serviceFee-t.voucherDiscount}}):t._e(),t._v(" "),e("form",{ref:"voucherForm",staticClass:"justify-content-center row",attrs:{action:"",method:"post"},on:{submit:function(e){return e.preventDefault(),t.submitVoucherForm.apply(null,arguments)}}},[e("input",{attrs:{type:"hidden",name:"product_id"},domProps:{value:t.selectedProduct}}),t._v(" "),e("input",{attrs:{type:"hidden",name:"product_type"},domProps:{value:t.selectedProductType}}),t._v(" "),t.voucher?t._e():e("div",{staticClass:"col-6 col-lg-8 px-3 px-md-0 px-lg-3 pt-0 form-group"},[e("input",{staticClass:"form-control",attrs:{type:"text",name:"voucher_code",placeholder:t.$t("shop.voucher_placeholder"),disabled:t.loading||t.voucher},on:{change:function(e){t.inputChange("voucher_code"),t.saveToSession("voucher_code","string",t.getValueFromInput("voucher_code"))},keydown:function(e){return t.inputChange("voucher_code")}}})]),t._v(" "),t.voucher?t._e():e("div",{staticClass:"col-6 col-lg-4 px-3 px-md-0 px-lg-3 pt-0 form-group text-right"},[e("button",{staticClass:"btn btn-primary shop-voucher-btn px-3",attrs:{disabled:t.loading},on:{click:function(e){e.preventDefault(),t.submitVoucherForm()}}},[t.loading||t.voucher?t._e():e("span",[t._v(t._s(t.$t("shop.voucherBtn")))]),t._v(" "),t.loading?e("span",[e("i",{staticClass:"mdi mdi-spin mdi-loading mdi-18px"})]):t._e(),t._v(" "),t.voucher&&!t.loading?e("span",[e("i",{staticClass:"mdi mdi-check mdi-18px"})]):t._e()])]),t._v(" "),t.voucherError?e("div",{staticClass:"invalid-feedback d-block col-12 px-3 px-md-0 px-lg-3 pt-0"},[e("span",{staticClass:"d-block"},[t._v("\n                                                                "+t._s(t.voucherError)+"\n                                                            ")])]):t._e(),t._v(" "),t.voucherDiscount&&null!==t.voucher?e("div",{staticClass:"row detailed-price-listing text-primary form-group max-width"},[e("div",{staticClass:"col-12 col-lg-12 text-center p-2 font-weight-bold form-control"},[t._v("\n                                                        "+t._s(t.voucherDiscount.toFixed(2))+" € "+t._s(t.$t("shop.voucherApplied"))+"\n                                                        "),e("i",{staticClass:"mdi mdi-check-circle-outline price-listing-bold-icon"})])]):t._e()])],1):t._e()])]):t._e(),t._v(" "),t.orderFormVisible?e("div",{staticClass:"w-100 bg-transparent"},[e("div",{ref:"tosAcceptedContainer",staticClass:"card-body px-0 py-0"},[t.emRedirect?t._e():e("div",{staticClass:"row mb-4 align-items-center"},[e("div",{staticClass:"col-12 col-lg-2 text-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.tosAccepted,expression:"tosAccepted"}],staticClass:"checkbox",class:t.tosError?"checkbox-error":"",attrs:{type:"checkbox",id:"tos_accepted",name:"tos_accepted"},domProps:{checked:Array.isArray(t.tosAccepted)?t._i(t.tosAccepted,null)>-1:t.tosAccepted},on:{change:function(e){var n=t.tosAccepted,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.tosAccepted=n.concat([null])):o>-1&&(t.tosAccepted=n.slice(0,o).concat(n.slice(o+1)))}else t.tosAccepted=r}}})]),t._v(" "),e("div",{staticClass:"col-12 col-lg-10"},[e("label",{staticClass:"smaller mb-0",attrs:{for:"tos_accepted"}},[e("span",{domProps:{innerHTML:t._s(t.$t("shop.pre-order-notice"))}})]),t._v(" "),t.tosError?e("div",{staticClass:"invalid-feedback d-block"},[e("span",{staticClass:"d-block"},[t._v(t._s(t.$t("shop.pre-order-warning")))])]):t._e()])]),t._v(" "),t.showLicenseRevocationCheckbox&&!t.emRedirect?e("div",{staticClass:"row mb-4 align-items-center"},[e("div",{staticClass:"col-12 col-lg-2 text-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.licenseRevocationAccepted,expression:"licenseRevocationAccepted"}],staticClass:"checkbox",class:t.licenseRevocationError?"checkbox-error":"",attrs:{type:"checkbox",id:"license_revocation_accepted",name:"license_revocation_accepted"},domProps:{checked:Array.isArray(t.licenseRevocationAccepted)?t._i(t.licenseRevocationAccepted,null)>-1:t.licenseRevocationAccepted},on:{change:function(e){var n=t.licenseRevocationAccepted,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=t._i(n,null);i.checked?o<0&&(t.licenseRevocationAccepted=n.concat([null])):o>-1&&(t.licenseRevocationAccepted=n.slice(0,o).concat(n.slice(o+1)))}else t.licenseRevocationAccepted=r}}})]),t._v(" "),e("div",{staticClass:"col-12 col-lg-10"},[e("label",{staticClass:"smaller mb-0",attrs:{for:"license_revocation_accepted"},domProps:{innerHTML:t._s(t.$t("shop.license_revocation_checkbox"))}}),t._v(" "),t.licenseRevocationError?e("div",{staticClass:"invalid-feedback d-block"},[e("span",{staticClass:"d-block"},[t._v(t._s(t.$t("shop.pre-order-warning")))])]):t._e()])]):t._e(),t._v(" "),t.showNewsletterCheckbox&&!t.emRedirect?e("div",{staticClass:"row mb-4 align-items-center"},[e("div",{staticClass:"col-12 col-lg-2 text-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.receiveNewsletter,expression:"receiveNewsletter"}],staticClass:"checkbox",attrs:{type:"checkbox",id:"receive_newsletter",name:"receive_newsletter"},domProps:{value:this.customerReceiveNewsletter,checked:Array.isArray(t.receiveNewsletter)?t._i(t.receiveNewsletter,this.customerReceiveNewsletter)>-1:t.receiveNewsletter},on:{change:function(e){var n=t.receiveNewsletter,i=e.target,r=!!i.checked;if(Array.isArray(n)){var o=this.customerReceiveNewsletter,a=t._i(n,o);i.checked?a<0&&(t.receiveNewsletter=n.concat([o])):a>-1&&(t.receiveNewsletter=n.slice(0,a).concat(n.slice(a+1)))}else t.receiveNewsletter=r}}})]),t._v(" "),e("div",{staticClass:"col-12 col-lg-10"},[e("label",{staticClass:"smaller mb-0",attrs:{for:"receive_newsletter"}},[e("span",{domProps:{innerHTML:t._s(t.$t("shop.receive-newsletter"))}}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("shop.adsInfoText"))}}),t._v(" "),e("span",{domProps:{innerHTML:t._s(t.$t("shop.unsubscribeNewsletterShopBtn"))},on:{click:function(e){return e.preventDefault(),t.showUnsubscribeNewsletterModal()}}})])])]):t._e(),t._v(" "),e("div",{ref:"checkoutButton",staticClass:"row"},[e("div",{staticClass:"col-12"},[e("div",{staticClass:"checkbox-button-container"},[e("button",{staticClass:"label btn btn-primary btn-block",attrs:{disabled:t.loading,type:"button"},on:{click:t.submitOrderForm}},[t.emRedirect?t._e():e("span",{staticClass:"h5"},[t._v(t._s(t.$t("shop.order")))]),t._v(" "),t.emRedirect?e("span",{staticClass:"h5"},[t._v(t._s(t.$t("shop.add_to_basket")))]):t._e()])])])])])]):t._e()])])]),t._v(" "),t.paymentMethodSelectionAvailable&&t.orderFormVisible?e("payment-methods",{staticClass:"payment-method-container same-margin-top offset-mobile-2",attrs:{small:!0},on:{"payment-method-changed":function(e){t.paymentMethod=e,t.inputChange("payment_method")}}}):t._e()],1)])])]):t._e(),t._v(" "),e("input",{attrs:{type:"hidden",id:"right-of-withdrawal",name:"right_of_withdrawal"},domProps:{value:t.rightOfWithdrawal}}),t._v(" "),e("div",{staticClass:"d-none"},[e("input",{attrs:{type:"text",name:"option_id",hidden:""},domProps:{value:t.selectedOption}})]),t._v(" "),t.limitValidityStart?e("ShopLimitValidityModal",{ref:"shopLimitValidityModal",attrs:{settings:t.settings,"customer-email":t.customerMail,placeholders:t.limitValidityRangeForm.placeholders,"product-type":t.selectedProductType,"option-id":t.selectedOption},on:{declined:function(e){return t.onValidityRangeDeclinedCallback(e)}}}):t._e(),t._v(" "),e("UnsubscribeNewsletterModal",{ref:"unsubscribeNewsletterModal",attrs:{"customer-email":this.customerMail}}),t._v(" "),e("loading-animation",{attrs:{visible:t.sendingRequest&&t.showLoadingAnimation||t.globalLoading,"full-page-loader":t.globalLoading}})],1)}),[function(){var t=this._self._c;return t("div",{staticClass:"row mb-1"},[t("div",{staticClass:"offset-7 offset-md-6 offset-lg-8"}),this._v(" "),t("div",{staticClass:"col-5 col-md-6 col-lg-4"},[t("hr",{staticClass:"detailed-price-hr"})])])}],!1,null,"8c8e1d70",null).exports},6021:(t,e,n)=>{"use strict";n.d(e,{A:()=>c});const i={name:"UnsubscribeNewsletterModal",props:{customerEmail:{type:String,required:!1,default:null}},data:function(){return{modal:{show:!1,close:!1,closeable:!1},isOngoing:!1,formErrors:{},customErrorMessage:null,showCustomErrorMessage:!1,form:{email:this.customerEmail},successfulCompleted:!1,successMessage:null}},watch:{customerEmail:function(){this.form.email=this.customerEmail}},mounted:function(){},methods:{showModal:function(){this.modal.closeable=!1,this.modal.close=!1,this.modal.show=!0,this.showCustomErrorMessage=!1,this.customErrorMessage=null},hideModal:function(){var t=this;this.modal.show&&(this.modal.closeable=!0,this.$nextTick((function(){t.modal.close=!0})))},unsubscribe:function(){var t=this;this.$set(this,"formErrors",{});var e=[];this.showCustomErrorMessage=!1,"string"!=typeof this.form.email||""===this.form.email.trim()?e.push(this.$t("shop.unsubscribeNewsletterMissingEmail")):0===(this.form.email.match(/^[\w-.]+@([\w-]+\.)+[\w-]{1,63}$/g)||[]).length&&e.push(this.$t("shop.unsubscribeNewsletterInvalidEmail")),e.length>0?this.$set(this,"formErrors",{email:e}):this.isOngoing||(this.isOngoing=!0,axios.post("/newsletter/confirm-unsubscription",{email:this.form.email,locale:this.$language}).then((function(e){e.data.success?(t.successfulCompleted=!0,t.successMessage="shop.unsubscribeNewsletterUnsubscribed"):t.$set(t,"formErrors",e.data.formErrors)})).catch((function(e){429===e.status?t.customErrorMessage="shop.unsubscribeNewsletterRateLimitError":void 0===e.status?(t.successfulCompleted=!0,t.successMessage="shop.unsubscribeNewsletterAlreadyUnsubscribed"):t.customErrorMessage="shop.unsubscribeNewsletterFormError",t.showCustomErrorMessage=!0})).then((function(){t.isOngoing=!1})))}}};var r=n(5072),o=n.n(r),a=n(4372),s={insert:"head",singleton:!1};o()(a.A,s);a.A.locals;const c=(0,n(4486).A)(i,(function(){var t=this,e=t._self._c;return e("modal",{attrs:{id:"unsubscribe-newsletter-modal",centered:!0,title:t.$t("shop.unsubscribeNewsletterTitle"),show:t.modal.show,close:t.modal.close,closeable:t.modal.closeable,size:"modal-lg"},on:{"modal-invisible":function(e){t.successfulCompleted=t.modal.show=t.modal.closeable=t.modal.close=!1}}},[t.successfulCompleted?[e("div",{staticClass:"modal-body"},[e("div",{staticClass:"alert alert-success",domProps:{innerHTML:t._s(t.$t(this.successMessage))}})])]:[e("loading-animation",{attrs:{visible:t.isOngoing,"always-show":!1,"preloader-container-id":"","status-container-id":"","loading-text":t.$t("shop.unsubscribeNewsletterLoading")}}),t._v(" "),e("div",{staticClass:"modal-body"},[e("div",{staticClass:"form-group"},[e("label",{attrs:{for:"unsubscribeNewsletterEmail"},domProps:{innerHTML:t._s(t.$t("shop.unsubscribeNewsletterEmail"))}}),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model",value:t.form.email,expression:"form.email"}],staticClass:"form-control",class:{"is-invalid":t.formErrors.email},attrs:{type:"email",name:"unsubscribeNewsletterEmail",id:"unsubscribeNewsletterEmail",placeholder:t.$t("shop.email_placeholder"),required:""},domProps:{value:t.form.email},on:{input:function(e){e.target.composing||t.$set(t.form,"email",e.target.value)}}}),t._v(" "),e("div",{staticClass:"invalid-feedback"},t._l(t.formErrors.email,(function(n){return e("span",{key:n,staticClass:"d-block"},[t._v("\n                        "+t._s(n)+"\n                    ")])})),0),t._v(" "),this.showCustomErrorMessage?e("div",{staticClass:"alert alert-danger mt-2",domProps:{innerHTML:t._s(t.$t(this.customErrorMessage))}}):t._e()])]),t._v(" "),e("div",{staticClass:"modal-footer justify-content-center row"},[e("button",{staticClass:"btn btn-primary col-6",attrs:{type:"button",disabled:t.isOngoing},domProps:{innerHTML:t._s(t.$t("shop.unsubscribeNewsletterModalButton"))},on:{click:function(e){return t.unsubscribe()}}}),t._v(" "),e("button",{staticClass:"close col-3",attrs:{type:"button"}},[e("a",{attrs:{"aria-hidden":"true"},on:{click:function(e){return t.hideModal()}}},[e("i",{staticClass:"mdi mdi-close"})])])])]],2)}),[],!1,null,null,null).exports},6821:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const i={extends:n(8531).A,props:["id","duration","is_validity_controllable","options","startPrice","urlName"],data:function(){return{type:"route_toll"}},computed:{highlighted:function(){return this.selectedProductType===this.type},minPrice:function(){return parseFloat(this.startPrice).toFixed(2)+"&nbsp;€"},url:function(){return this.urlName?"/"+this.$language+"/shop/"+this.urlName:"#"}},mounted:function(){this.preselectId&&this.select()}};const r=(0,n(4486).A)(i,(function(){var t=this,e=t._self._c;return e("div",[e("a",{attrs:{href:t.url},on:{click:function(e){return e.preventDefault(),t.select.apply(null,arguments)}}},[e("div",{staticClass:"mb-3 shop-product-card text-center shadow bg-white",class:{highlighted:t.highlighted,"pt-5":!t.smallerView,"pb-5":!t.smallerView}},[e("input",{attrs:{name:"selectedProductType",hidden:""},domProps:{value:t.type}}),t._v(" "),e("h2",{staticClass:"title text-uppercase",class:{"mb-4":!t.smallerView}},[t._v(t._s(t.$t("shop.toll-product")))]),t._v(" "),e("div",{staticClass:"d-flex justify-content-center",class:{"mb-4":!t.smallerView}},[t.highlighted&&t.configValue>0?e("span",{staticClass:"price h1 mb-0"},[t._v(t._s(t.configValue.toFixed(2))+" €")]):t._e(),t._v(" "),t.highlighted?t._e():e("span",{staticClass:"price h3 mb-0",domProps:{innerHTML:t._s(t.$t("shop.starting_at",{price:t.minPrice}))}})]),t._v(" "),t.smallerView?t._e():e("p",{staticClass:"text-quote"},[t._v(t._s(t.$t("frontend.section_pricing_product_2_description")))]),t._v(" "),e("a",{staticClass:"btn btn-primary mt-4",attrs:{href:t.url}},[t._v(t._s(t.$t("shop.buy")))])])])])}),[],!1,null,null,null).exports},6900:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const i={extends:n(8531).A,props:["id","duration","is_validity_controllable","is_preorder","options","url_name"],data:function(){return{type:"vignette"}},computed:{minPrice:function(){var t=null;return this.options.forEach((function(e){"car"===e.vehicle_type&&(t=e.price+(e.service_fee||0))})),t.toFixed(2)+"&nbsp;€"},url:function(){return this.url_name?"/"+this.$language+"/shop/"+this.url_name:"#"}},mounted:function(){this.id===this.preselectId&&this.select()}};const r=(0,n(4486).A)(i,(function(){var t=this,e=t._self._c;return e("div",[e("a",{attrs:{href:t.url},on:{click:function(e){return e.preventDefault(),t.select.apply(null,arguments)}}},[e("div",{staticClass:"mb-3 shop-product-card text-center shadow bg-white",class:{highlighted:t.highlighted}},[e("input",{attrs:{name:"selectedProduct",hidden:""},domProps:{value:t.id}}),t._v(" "),e("h2",{staticClass:"title text-uppercase",class:{"mb-4":!t.smallerView}},[t._v(t._s(t.name))]),t._v(" "),e("div",{staticClass:"d-flex justify-content-center",class:{"mb-4":!t.smallerView}},[t.highlighted&&t.configValue>0?e("span",{staticClass:"price h1 mb-0"},[t._v(t._s(t.configValue.toFixed(2))+" €")]):t._e(),t._v(" "),t.highlighted?t._e():e("span",{staticClass:"price h3 mb-0",domProps:{innerHTML:t._s(t.$t("shop.starting_at",{price:t.minPrice}))}})]),t._v(" "),t.smallerView?t._e():e("p",{staticClass:"text-quote",domProps:{innerHTML:t._s(t.description)}}),t._v(" "),e("a",{staticClass:"btn btn-primary mt-4",attrs:{href:t.url}},[t._v(t._s(t.$t(t.is_preorder?"shop.preorder":"shop.buy")))])])]),t._v(" "),t.hasNoticePopup?e("modal",{attrs:{id:"product-notice-popup-"+t.id,centered:!0,title:t.noticePopup.title,show:t.noticeModal.show,close:t.noticeModal.close,closeable:t.noticeModal.closeable,size:"modal-lg"}},[e("div",{staticClass:"modal-body"},[e("p",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.noticePopup.text)}})]),t._v(" "),e("div",{staticClass:"modal-footer justify-content-center"},[e("button",{staticClass:"btn btn-secondary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("generic.no"))},on:{click:t.onModalNotConfirmed}}),t._v(" "),e("button",{staticClass:"btn btn-primary",attrs:{type:"button"},domProps:{innerHTML:t._s(t.$t("generic.yes"))},on:{click:t.onModalConfirmed}})])]):t._e()],1)}),[],!1,null,null,null).exports},4486:(t,e,n)=>{"use strict";function i(t,e,n,i,r,o,a,s){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(t,e){return c.call(e),d(t,e)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:t,options:l}}n.d(e,{A:()=>i})},2893:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>ii});var i=Object.freeze({}),r=Array.isArray;function o(t){return null==t}function a(t){return null!=t}function s(t){return!0===t}function c(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function l(t){return"function"==typeof t}function d(t){return null!==t&&"object"==typeof t}var u=Object.prototype.toString;function p(t){return"[object Object]"===u.call(t)}function f(t){return"[object RegExp]"===u.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function v(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===u?JSON.stringify(t,g,2):String(t)}function g(t,e){return e&&e.__v_isRef?e.value:e}function y(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),i=t.split(","),r=0;r<i.length;r++)n[i[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var _=b("slot,component",!0),w=b("key,ref,slot,slot-scope,is");function C(t,e){var n=t.length;if(n){if(e===t[n-1])return void(t.length=n-1);var i=t.indexOf(e);if(i>-1)return t.splice(i,1)}}var k=Object.prototype.hasOwnProperty;function x(t,e){return k.call(t,e)}function P(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var S=/-(\w)/g,T=P((function(t){return t.replace(S,(function(t,e){return e?e.toUpperCase():""}))})),M=P((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),$=/\B([A-Z])/g,O=P((function(t){return t.replace($,"-$1").toLowerCase()}));var L=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function D(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i}function E(t,e){for(var n in e)t[n]=e[n];return t}function F(t){for(var e={},n=0;n<t.length;n++)t[n]&&E(e,t[n]);return e}function A(t,e,n){}var I=function(t,e,n){return!1},R=function(t){return t};function N(t,e){if(t===e)return!0;var n=d(t),i=d(e);if(!n||!i)return!n&&!i&&String(t)===String(e);try{var r=Array.isArray(t),o=Array.isArray(e);if(r&&o)return t.length===e.length&&t.every((function(t,n){return N(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||o)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every((function(n){return N(t[n],e[n])}))}catch(t){return!1}}function j(t,e){for(var n=0;n<t.length;n++)if(N(t[n],e))return n;return-1}function q(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}function V(t,e){return t===e?0===t&&1/t!=1/e:t==t||e==e}var H="data-server-rendered",B=["component","directive","filter"],U=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],z={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:I,isReservedAttr:I,isUnknownElement:I,getTagNamespace:A,parsePlatformTagName:R,mustUseProp:I,async:!0,_lifecycleHooks:U},W=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Y(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function G(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})}var K=new RegExp("[^".concat(W.source,".$_\\d]"));var J="__proto__"in{},Z="undefined"!=typeof window,X=Z&&window.navigator.userAgent.toLowerCase(),Q=X&&/msie|trident/.test(X),tt=X&&X.indexOf("msie 9.0")>0,et=X&&X.indexOf("edge/")>0;X&&X.indexOf("android");var nt=X&&/iphone|ipad|ipod|ios/.test(X);X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X);var it,rt=X&&X.match(/firefox\/(\d+)/),ot={}.watch,at=!1;if(Z)try{var st={};Object.defineProperty(st,"passive",{get:function(){at=!0}}),window.addEventListener("test-passive",null,st)}catch(t){}var ct=function(){return void 0===it&&(it=!Z&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),it},lt=Z&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function dt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ut,pt="undefined"!=typeof Symbol&&dt(Symbol)&&"undefined"!=typeof Reflect&&dt(Reflect.ownKeys);ut="undefined"!=typeof Set&&dt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var ft=null;function ht(t){void 0===t&&(t=null),t||ft&&ft._scope.off(),ft=t,t&&t._scope.on()}var mt=function(){function t(t,e,n,i,r,o,a,s){this.tag=t,this.data=e,this.children=n,this.text=i,this.elm=r,this.ns=void 0,this.context=o,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),vt=function(t){void 0===t&&(t="");var e=new mt;return e.text=t,e.isComment=!0,e};function gt(t){return new mt(void 0,void 0,void 0,String(t))}function yt(t){var e=new mt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"==typeof SuppressedError&&SuppressedError;var bt=0,_t=[],wt=function(){for(var t=0;t<_t.length;t++){var e=_t[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}_t.length=0},Ct=function(){function t(){this._pending=!1,this.id=bt++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=null,this._pending||(this._pending=!0,_t.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter((function(t){return t}));for(var n=0,i=e.length;n<i;n++){0,e[n].update()}},t}();Ct.target=null;var kt=[];function xt(t){kt.push(t),Ct.target=t}function Pt(){kt.pop(),Ct.target=kt[kt.length-1]}var St=Array.prototype,Tt=Object.create(St);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=St[t];G(Tt,t,(function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var r,o=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o}))}));var Mt=Object.getOwnPropertyNames(Tt),$t={},Ot=!0;function Lt(t){Ot=t}var Dt={notify:A,depend:A,addSub:A,removeSub:A},Et=function(){function t(t,e,n){if(void 0===e&&(e=!1),void 0===n&&(n=!1),this.value=t,this.shallow=e,this.mock=n,this.dep=n?Dt:new Ct,this.vmCount=0,G(t,"__ob__",this),r(t)){if(!n)if(J)t.__proto__=Tt;else for(var i=0,o=Mt.length;i<o;i++){G(t,s=Mt[i],Tt[s])}e||this.observeArray(t)}else{var a=Object.keys(t);for(i=0;i<a.length;i++){var s;At(t,s=a[i],$t,void 0,e,n)}}}return t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Ft(t[e],!1,this.mock)},t}();function Ft(t,e,n){return t&&x(t,"__ob__")&&t.__ob__ instanceof Et?t.__ob__:!Ot||!n&&ct()||!r(t)&&!p(t)||!Object.isExtensible(t)||t.__v_skip||Ht(t)||t instanceof mt?void 0:new Et(t,e,n)}function At(t,e,n,i,o,a,s){void 0===s&&(s=!1);var c=new Ct,l=Object.getOwnPropertyDescriptor(t,e);if(!l||!1!==l.configurable){var d=l&&l.get,u=l&&l.set;d&&!u||n!==$t&&2!==arguments.length||(n=t[e]);var p=o?n&&n.__ob__:Ft(n,!1,a);return Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=d?d.call(t):n;return Ct.target&&(c.depend(),p&&(p.dep.depend(),r(e)&&Nt(e))),Ht(e)&&!o?e.value:e},set:function(e){var i=d?d.call(t):n;if(V(i,e)){if(u)u.call(t,e);else{if(d)return;if(!o&&Ht(i)&&!Ht(e))return void(i.value=e);n=e}p=o?e&&e.__ob__:Ft(e,!1,a),c.notify()}}}),c}}function It(t,e,n){if(!Vt(t)){var i=t.__ob__;return r(t)&&h(e)?(t.length=Math.max(t.length,e),t.splice(e,1,n),i&&!i.shallow&&i.mock&&Ft(n,!1,!0),n):e in t&&!(e in Object.prototype)?(t[e]=n,n):t._isVue||i&&i.vmCount?n:i?(At(i.value,e,n,void 0,i.shallow,i.mock),i.dep.notify(),n):(t[e]=n,n)}}function Rt(t,e){if(r(t)&&h(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||Vt(t)||x(t,e)&&(delete t[e],n&&n.dep.notify())}}function Nt(t){for(var e=void 0,n=0,i=t.length;n<i;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),r(e)&&Nt(e)}function jt(t){return qt(t,!0),G(t,"__v_isShallow",!0),t}function qt(t,e){if(!Vt(t)){Ft(t,e,ct());0}}function Vt(t){return!(!t||!t.__v_isReadonly)}function Ht(t){return!(!t||!0!==t.__v_isRef)}function Bt(t,e,n){Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var t=e[n];if(Ht(t))return t.value;var i=t&&t.__ob__;return i&&i.dep.depend(),t},set:function(t){var i=e[n];Ht(i)&&!Ht(t)?i.value=t:e[n]=t}})}var Ut=P((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),i="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=i?t.slice(1):t,once:n,capture:i,passive:e}}));function zt(t,e){function n(){var t=n.fns;if(!r(t))return on(t,null,arguments,e,"v-on handler");for(var i=t.slice(),o=0;o<i.length;o++)on(i[o],null,arguments,e,"v-on handler")}return n.fns=t,n}function Wt(t,e,n,i,r,a){var c,l,d,u;for(c in t)l=t[c],d=e[c],u=Ut(c),o(l)||(o(d)?(o(l.fns)&&(l=t[c]=zt(l,a)),s(u.once)&&(l=t[c]=r(u.name,l,u.capture)),n(u.name,l,u.capture,u.passive,u.params)):l!==d&&(d.fns=l,t[c]=d));for(c in e)o(t[c])&&i((u=Ut(c)).name,e[c],u.capture)}function Yt(t,e,n){var i;t instanceof mt&&(t=t.data.hook||(t.data.hook={}));var r=t[e];function c(){n.apply(this,arguments),C(i.fns,c)}o(r)?i=zt([c]):a(r.fns)&&s(r.merged)?(i=r).fns.push(c):i=zt([r,c]),i.merged=!0,t[e]=i}function Gt(t,e,n,i,r){if(a(e)){if(x(e,n))return t[n]=e[n],r||delete e[n],!0;if(x(e,i))return t[n]=e[i],r||delete e[i],!0}return!1}function Kt(t){return c(t)?[gt(t)]:r(t)?Zt(t):void 0}function Jt(t){return a(t)&&a(t.text)&&!1===t.isComment}function Zt(t,e){var n,i,l,d,u=[];for(n=0;n<t.length;n++)o(i=t[n])||"boolean"==typeof i||(d=u[l=u.length-1],r(i)?i.length>0&&(Jt((i=Zt(i,"".concat(e||"","_").concat(n)))[0])&&Jt(d)&&(u[l]=gt(d.text+i[0].text),i.shift()),u.push.apply(u,i)):c(i)?Jt(d)?u[l]=gt(d.text+i):""!==i&&u.push(gt(i)):Jt(i)&&Jt(d)?u[l]=gt(d.text+i.text):(s(t._isVList)&&a(i.tag)&&o(i.key)&&a(e)&&(i.key="__vlist".concat(e,"_").concat(n,"__")),u.push(i)));return u}var Xt=1,Qt=2;function te(t,e,n,i,o,u){return(r(n)||c(n))&&(o=i,i=n,n=void 0),s(u)&&(o=Qt),function(t,e,n,i,o){if(a(n)&&a(n.__ob__))return vt();a(n)&&a(n.is)&&(e=n.is);if(!e)return vt();0;r(i)&&l(i[0])&&((n=n||{}).scopedSlots={default:i[0]},i.length=0);o===Qt?i=Kt(i):o===Xt&&(i=function(t){for(var e=0;e<t.length;e++)if(r(t[e]))return Array.prototype.concat.apply([],t);return t}(i));var s,c;if("string"==typeof e){var u=void 0;c=t.$vnode&&t.$vnode.ns||z.getTagNamespace(e),s=z.isReservedTag(e)?new mt(z.parsePlatformTagName(e),n,i,void 0,void 0,t):n&&n.pre||!a(u=Zn(t.$options,"components",e))?new mt(e,n,i,void 0,void 0,t):Vn(u,n,t,i,e)}else s=Vn(e,n,t,i);return r(s)?s:a(s)?(a(c)&&ee(s,c),a(n)&&function(t){d(t.style)&&_n(t.style);d(t.class)&&_n(t.class)}(n),s):vt()}(t,e,n,i,o)}function ee(t,e,n){if(t.ns=e,"foreignObject"===t.tag&&(e=void 0,n=!0),a(t.children))for(var i=0,r=t.children.length;i<r;i++){var c=t.children[i];a(c.tag)&&(o(c.ns)||s(n)&&"svg"!==c.tag)&&ee(c,e,n)}}function ne(t,e){var n,i,o,s,c=null;if(r(t)||"string"==typeof t)for(c=new Array(t.length),n=0,i=t.length;n<i;n++)c[n]=e(t[n],n);else if("number"==typeof t)for(c=new Array(t),n=0;n<t;n++)c[n]=e(n+1,n);else if(d(t))if(pt&&t[Symbol.iterator]){c=[];for(var l=t[Symbol.iterator](),u=l.next();!u.done;)c.push(e(u.value,c.length)),u=l.next()}else for(o=Object.keys(t),c=new Array(o.length),n=0,i=o.length;n<i;n++)s=o[n],c[n]=e(t[s],s,n);return a(c)||(c=[]),c._isVList=!0,c}function ie(t,e,n,i){var r,o=this.$scopedSlots[t];o?(n=n||{},i&&(n=E(E({},i),n)),r=o(n)||(l(e)?e():e)):r=this.$slots[t]||(l(e)?e():e);var a=n&&n.slot;return a?this.$createElement("template",{slot:a},r):r}function re(t){return Zn(this.$options,"filters",t,!0)||R}function oe(t,e){return r(t)?-1===t.indexOf(e):t!==e}function ae(t,e,n,i,r){var o=z.keyCodes[e]||n;return r&&i&&!z.keyCodes[e]?oe(r,i):o?oe(o,t):i?O(i)!==e:void 0===t}function se(t,e,n,i,o){if(n)if(d(n)){r(n)&&(n=F(n));var a=void 0,s=function(r){if("class"===r||"style"===r||w(r))a=t;else{var s=t.attrs&&t.attrs.type;a=i||z.mustUseProp(e,s,r)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var c=T(r),l=O(r);c in a||l in a||(a[r]=n[r],o&&((t.on||(t.on={}))["update:".concat(r)]=function(t){n[r]=t}))};for(var c in n)s(c)}else;return t}function ce(t,e){var n=this._staticTrees||(this._staticTrees=[]),i=n[t];return i&&!e||de(i=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this),"__static__".concat(t),!1),i}function le(t,e,n){return de(t,"__once__".concat(e).concat(n?"_".concat(n):""),!0),t}function de(t,e,n){if(r(t))for(var i=0;i<t.length;i++)t[i]&&"string"!=typeof t[i]&&ue(t[i],"".concat(e,"_").concat(i),n);else ue(t,e,n)}function ue(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function pe(t,e){if(e)if(p(e)){var n=t.on=t.on?E({},t.on):{};for(var i in e){var r=n[i],o=e[i];n[i]=r?[].concat(r,o):o}}else;return t}function fe(t,e,n,i){e=e||{$stable:!n};for(var o=0;o<t.length;o++){var a=t[o];r(a)?fe(a,e,n):a&&(a.proxy&&(a.fn.proxy=!0),e[a.key]=a.fn)}return i&&(e.$key=i),e}function he(t,e){for(var n=0;n<e.length;n+=2){var i=e[n];"string"==typeof i&&i&&(t[e[n]]=e[n+1])}return t}function me(t,e){return"string"==typeof t?e+t:t}function ve(t){t._o=le,t._n=y,t._s=v,t._l=ne,t._t=ie,t._q=N,t._i=j,t._m=ce,t._f=re,t._k=ae,t._b=se,t._v=gt,t._e=vt,t._u=fe,t._g=pe,t._d=he,t._p=me}function ge(t,e){if(!t||!t.length)return{};for(var n={},i=0,r=t.length;i<r;i++){var o=t[i],a=o.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,o.context!==e&&o.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(o);else{var s=a.slot,c=n[s]||(n[s]=[]);"template"===o.tag?c.push.apply(c,o.children||[]):c.push(o)}}for(var l in n)n[l].every(ye)&&delete n[l];return n}function ye(t){return t.isComment&&!t.asyncFactory||" "===t.text}function be(t){return t.isComment&&t.asyncFactory}function _e(t,e,n,r){var o,a=Object.keys(n).length>0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==i&&c===r.$key&&!a&&!r.$hasNormal)return r;for(var l in o={},e)e[l]&&"$"!==l[0]&&(o[l]=we(t,n,l,e[l]))}else o={};for(var d in n)d in o||(o[d]=Ce(n,d));return e&&Object.isExtensible(e)&&(e._normalized=o),G(o,"$stable",s),G(o,"$key",c),G(o,"$hasNormal",a),o}function we(t,e,n,i){var o=function(){var e=ft;ht(t);var n=arguments.length?i.apply(null,arguments):i({}),o=(n=n&&"object"==typeof n&&!r(n)?[n]:Kt(n))&&n[0];return ht(e),n&&(!o||1===n.length&&o.isComment&&!be(o))?void 0:n};return i.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function Ce(t,e){return function(){return t[e]}}function ke(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};G(e,"_v_attr_proxy",!0),xe(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||xe(t._listenersProxy={},t.$listeners,i,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||Se(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:L(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Bt(t,e,n)}))}}}function xe(t,e,n,i,r){var o=!1;for(var a in e)a in t?e[a]!==n[a]&&(o=!0):(o=!0,Pe(t,a,i,r));for(var a in t)a in e||(o=!0,delete t[a]);return o}function Pe(t,e,n,i){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[i][e]}})}function Se(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}var Te,Me,$e=null;function Oe(t,e){return(t.__esModule||pt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),d(t)?e.extend(t):t}function Le(t){if(r(t))for(var e=0;e<t.length;e++){var n=t[e];if(a(n)&&(a(n.componentOptions)||be(n)))return n}}function De(t,e){Te.$on(t,e)}function Ee(t,e){Te.$off(t,e)}function Fe(t,e){var n=Te;return function i(){null!==e.apply(null,arguments)&&n.$off(t,i)}}function Ae(t,e,n){Te=t,Wt(e,n||{},De,Ee,Fe,t),Te=void 0}var Ie=function(){function t(t){void 0===t&&(t=!1),this.detached=t,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}return t.prototype.run=function(t){if(this.active){var e=Me;try{return Me=this,t()}finally{Me=e}}else 0},t.prototype.on=function(){Me=this},t.prototype.off=function(){Me=this.parent},t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(!this.detached&&this.parent&&!t){var i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0,this.active=!1}},t}();var Re=null;function Ne(t){var e=Re;return Re=t,function(){Re=e}}function je(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function qe(t,e){if(e){if(t._directInactive=!1,je(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)qe(t.$children[n]);He(t,"activated")}}function Ve(t,e){if(!(e&&(t._directInactive=!0,je(t))||t._inactive)){t._inactive=!0;for(var n=0;n<t.$children.length;n++)Ve(t.$children[n]);He(t,"deactivated")}}function He(t,e,n,i){void 0===i&&(i=!0),xt();var r=ft,o=Me;i&&ht(t);var a=t.$options[e],s="".concat(e," hook");if(a)for(var c=0,l=a.length;c<l;c++)on(a[c],t,n||null,t,s);t._hasHookEvent&&t.$emit("hook:"+e),i&&(ht(r),o&&o.on()),Pt()}var Be=[],Ue=[],ze={},We=!1,Ye=!1,Ge=0;var Ke=0,Je=Date.now;if(Z&&!Q){var Ze=window.performance;Ze&&"function"==typeof Ze.now&&Je()>document.createEvent("Event").timeStamp&&(Je=function(){return Ze.now()})}var Xe=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Qe(){var t,e;for(Ke=Je(),Ye=!0,Be.sort(Xe),Ge=0;Ge<Be.length;Ge++)(t=Be[Ge]).before&&t.before(),e=t.id,ze[e]=null,t.run();var n=Ue.slice(),i=Be.slice();Ge=Be.length=Ue.length=0,ze={},We=Ye=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,qe(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],i=n.vm;i&&i._watcher===n&&i._isMounted&&!i._isDestroyed&&He(i,"updated")}}(i),wt(),lt&&z.devtools&&lt.emit("flush")}function tn(t){var e=t.id;if(null==ze[e]&&(t!==Ct.target||!t.noRecurse)){if(ze[e]=!0,Ye){for(var n=Be.length-1;n>Ge&&Be[n].id>t.id;)n--;Be.splice(n+1,0,t)}else Be.push(t);We||(We=!0,gn(Qe))}}var en="watcher";"".concat(en," callback"),"".concat(en," getter"),"".concat(en," cleanup");function nn(t){var e=t._provided,n=t.$parent&&t.$parent._provided;return n===e?t._provided=Object.create(n):e}function rn(t,e,n){xt();try{if(e)for(var i=e;i=i.$parent;){var r=i.$options.errorCaptured;if(r)for(var o=0;o<r.length;o++)try{if(!1===r[o].call(i,t,e,n))return}catch(t){an(t,i,"errorCaptured hook")}}an(t,e,n)}finally{Pt()}}function on(t,e,n,i,r){var o;try{(o=n?t.apply(e,n):t.call(e))&&!o._isVue&&m(o)&&!o._handled&&(o.catch((function(t){return rn(t,i,r+" (Promise/async)")})),o._handled=!0)}catch(t){rn(t,i,r)}return o}function an(t,e,n){if(z.errorHandler)try{return z.errorHandler.call(null,t,e,n)}catch(e){e!==t&&sn(e,null,"config.errorHandler")}sn(t,e,n)}function sn(t,e,n){if(!Z||"undefined"==typeof console)throw t;console.error(t)}var cn,ln=!1,dn=[],un=!1;function pn(){un=!1;var t=dn.slice(0);dn.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&dt(Promise)){var fn=Promise.resolve();cn=function(){fn.then(pn),nt&&setTimeout(A)},ln=!0}else if(Q||"undefined"==typeof MutationObserver||!dt(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())cn="undefined"!=typeof setImmediate&&dt(setImmediate)?function(){setImmediate(pn)}:function(){setTimeout(pn,0)};else{var hn=1,mn=new MutationObserver(pn),vn=document.createTextNode(String(hn));mn.observe(vn,{characterData:!0}),cn=function(){hn=(hn+1)%2,vn.data=String(hn)},ln=!0}function gn(t,e){var n;if(dn.push((function(){if(t)try{t.call(e)}catch(t){rn(t,e,"nextTick")}else n&&n(e)})),un||(un=!0,cn()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}function yn(t){return function(e,n){if(void 0===n&&(n=ft),n)return function(t,e,n){var i=t.$options;i[e]=Yn(i[e],n)}(n,t,e)}}yn("beforeMount"),yn("mounted"),yn("beforeUpdate"),yn("updated"),yn("beforeDestroy"),yn("destroyed"),yn("activated"),yn("deactivated"),yn("serverPrefetch"),yn("renderTracked"),yn("renderTriggered"),yn("errorCaptured");var bn=new ut;function _n(t){return wn(t,bn),bn.clear(),t}function wn(t,e){var n,i,o=r(t);if(!(!o&&!d(t)||t.__v_skip||Object.isFrozen(t)||t instanceof mt)){if(t.__ob__){var a=t.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(o)for(n=t.length;n--;)wn(t[n],e);else if(Ht(t))wn(t.value,e);else for(n=(i=Object.keys(t)).length;n--;)wn(t[i[n]],e)}}var Cn=0,kn=function(){function t(t,e,n,i,r){var o,a;o=this,void 0===(a=Me&&!Me._vm?Me:t?t._scope:void 0)&&(a=Me),a&&a.active&&a.effects.push(o),(this.vm=t)&&r&&(t._watcher=this),i?(this.deep=!!i.deep,this.user=!!i.user,this.lazy=!!i.lazy,this.sync=!!i.sync,this.before=i.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Cn,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ut,this.newDepIds=new ut,this.expression="",l(e)?this.getter=e:(this.getter=function(t){if(!K.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=A)),this.value=this.lazy?void 0:this.get()}return t.prototype.get=function(){var t;xt(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;rn(t,e,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&_n(t),Pt(),this.cleanupDeps()}return t},t.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},t.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},t.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():tn(this)},t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||d(t)||this.deep){var e=this.value;if(this.value=t,this.user){var n='callback for watcher "'.concat(this.expression,'"');on(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}},t.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},t.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&C(this.vm._scope.effects,this),this.active){for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},t}(),xn={enumerable:!0,configurable:!0,get:A,set:A};function Pn(t,e,n){xn.get=function(){return this[e][n]},xn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,xn)}function Sn(t){var e=t.$options;if(e.props&&function(t,e){var n=t.$options.propsData||{},i=t._props=jt({}),r=t.$options._propKeys=[],o=!t.$parent;o||Lt(!1);var a=function(o){r.push(o);var a=Xn(o,e,n,t);At(i,o,a,void 0,!0),o in t||Pn(t,"_props",o)};for(var s in e)a(s);Lt(!0)}(t,e.props),function(t){var e=t.$options,n=e.setup;if(n){var i=t._setupContext=ke(t);ht(t),xt();var r=on(n,null,[t._props||jt({}),i],t,"setup");if(Pt(),ht(),l(r))e.render=r;else if(d(r))if(t._setupState=r,r.__sfc){var o=t._setupProxy={};for(var a in r)"__sfc"!==a&&Bt(o,r,a)}else for(var a in r)Y(a)||Bt(t,r,a)}}(t),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?A:L(e[n],t)}(t,e.methods),e.data)!function(t){var e=t.$options.data;e=t._data=l(e)?function(t,e){xt();try{return t.call(e,e)}catch(t){return rn(t,e,"data()"),{}}finally{Pt()}}(e,t):e||{},p(e)||(e={});var n=Object.keys(e),i=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var o=n[r];0,i&&x(i,o)||Y(o)||Pn(t,"_data",o)}var a=Ft(e);a&&a.vmCount++}(t);else{var n=Ft(t._data={});n&&n.vmCount++}e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),i=ct();for(var r in e){var o=e[r],a=l(o)?o:o.get;0,i||(n[r]=new kn(t,a||A,A,Tn)),r in t||Mn(t,r,o)}}(t,e.computed),e.watch&&e.watch!==ot&&function(t,e){for(var n in e){var i=e[n];if(r(i))for(var o=0;o<i.length;o++)Ln(t,n,i[o]);else Ln(t,n,i)}}(t,e.watch)}var Tn={lazy:!0};function Mn(t,e,n){var i=!ct();l(n)?(xn.get=i?$n(e):On(n),xn.set=A):(xn.get=n.get?i&&!1!==n.cache?$n(e):On(n.get):A,xn.set=n.set||A),Object.defineProperty(t,e,xn)}function $n(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),Ct.target&&e.depend(),e.value}}function On(t){return function(){return t.call(this,this)}}function Ln(t,e,n,i){return p(n)&&(i=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,i)}function Dn(t,e){if(t){for(var n=Object.create(null),i=pt?Reflect.ownKeys(t):Object.keys(t),r=0;r<i.length;r++){var o=i[r];if("__ob__"!==o){var a=t[o].from;if(a in e._provided)n[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;n[o]=l(s)?s.call(e):s}else 0}}return n}}var En=0;function Fn(t){var e=t.options;if(t.super){var n=Fn(t.super);if(n!==t.superOptions){t.superOptions=n;var i=function(t){var e,n=t.options,i=t.sealedOptions;for(var r in n)n[r]!==i[r]&&(e||(e={}),e[r]=n[r]);return e}(t);i&&E(t.extendOptions,i),(e=t.options=Jn(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function An(t,e,n,o,a){var c,l=this,d=a.options;x(o,"_uid")?(c=Object.create(o))._original=o:(c=o,o=o._original);var u=s(d._compiled),p=!u;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||i,this.injections=Dn(d.inject,o),this.slots=function(){return l.$slots||_e(o,t.scopedSlots,l.$slots=ge(n,o)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return _e(o,t.scopedSlots,this.slots())}}),u&&(this.$options=d,this.$slots=this.slots(),this.$scopedSlots=_e(o,t.scopedSlots,this.$slots)),d._scopeId?this._c=function(t,e,n,i){var a=te(c,t,e,n,i,p);return a&&!r(a)&&(a.fnScopeId=d._scopeId,a.fnContext=o),a}:this._c=function(t,e,n,i){return te(c,t,e,n,i,p)}}function In(t,e,n,i,r){var o=yt(t);return o.fnContext=n,o.fnOptions=i,e.slot&&((o.data||(o.data={})).slot=e.slot),o}function Rn(t,e){for(var n in e)t[T(n)]=e[n]}function Nn(t){return t.name||t.__name||t._componentTag}ve(An.prototype);var jn={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;jn.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},i=t.data.inlineTemplate;a(i)&&(n.render=i.render,n.staticRenderFns=i.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,Re)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,r,o){var a=r.data.scopedSlots,s=t.$scopedSlots,c=!!(a&&!a.$stable||s!==i&&!s.$stable||a&&t.$scopedSlots.$key!==a.$key||!a&&t.$scopedSlots.$key),l=!!(o||t.$options._renderChildren||c),d=t.$vnode;t.$options._parentVnode=r,t.$vnode=r,t._vnode&&(t._vnode.parent=r),t.$options._renderChildren=o;var u=r.data.attrs||i;t._attrsProxy&&xe(t._attrsProxy,u,d.data&&d.data.attrs||i,t,"$attrs")&&(l=!0),t.$attrs=u,n=n||i;var p=t.$options._parentListeners;if(t._listenersProxy&&xe(t._listenersProxy,n,p||i,t,"$listeners"),t.$listeners=t.$options._parentListeners=n,Ae(t,n,p),e&&t.$options.props){Lt(!1);for(var f=t._props,h=t.$options._propKeys||[],m=0;m<h.length;m++){var v=h[m],g=t.$options.props;f[v]=Xn(v,g,e,t)}Lt(!0),t.$options.propsData=e}l&&(t.$slots=ge(o,r.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,i=t.componentInstance;i._isMounted||(i._isMounted=!0,He(i,"mounted")),t.data.keepAlive&&(n._isMounted?((e=i)._inactive=!1,Ue.push(e)):qe(i,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?Ve(e,!0):e.$destroy())}},qn=Object.keys(jn);function Vn(t,e,n,c,l){if(!o(t)){var u=n.$options._base;if(d(t)&&(t=u.extend(t)),"function"==typeof t){var p;if(o(t.cid)&&(t=function(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=$e;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var i=t.owners=[n],r=!0,c=null,l=null;n.$on("hook:destroyed",(function(){return C(i,n)}));var u=function(t){for(var e=0,n=i.length;e<n;e++)i[e].$forceUpdate();t&&(i.length=0,null!==c&&(clearTimeout(c),c=null),null!==l&&(clearTimeout(l),l=null))},p=q((function(n){t.resolved=Oe(n,e),r?i.length=0:u(!0)})),f=q((function(e){a(t.errorComp)&&(t.error=!0,u(!0))})),h=t(p,f);return d(h)&&(m(h)?o(t.resolved)&&h.then(p,f):m(h.component)&&(h.component.then(p,f),a(h.error)&&(t.errorComp=Oe(h.error,e)),a(h.loading)&&(t.loadingComp=Oe(h.loading,e),0===h.delay?t.loading=!0:c=setTimeout((function(){c=null,o(t.resolved)&&o(t.error)&&(t.loading=!0,u(!1))}),h.delay||200)),a(h.timeout)&&(l=setTimeout((function(){l=null,o(t.resolved)&&f(null)}),h.timeout)))),r=!1,t.loading?t.loadingComp:t.resolved}}(p=t,u),void 0===t))return function(t,e,n,i,r){var o=vt();return o.asyncFactory=t,o.asyncMeta={data:e,context:n,children:i,tag:r},o}(p,e,n,c,l);e=e||{},Fn(t),a(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",i=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var o=e.on||(e.on={}),s=o[i],c=e.model.callback;a(s)?(r(s)?-1===s.indexOf(c):s!==c)&&(o[i]=[c].concat(s)):o[i]=c}(t.options,e);var f=function(t,e,n){var i=e.options.props;if(!o(i)){var r={},s=t.attrs,c=t.props;if(a(s)||a(c))for(var l in i){var d=O(l);Gt(r,c,l,d,!0)||Gt(r,s,l,d,!1)}return r}}(e,t);if(s(t.options.functional))return function(t,e,n,o,s){var c=t.options,l={},d=c.props;if(a(d))for(var u in d)l[u]=Xn(u,d,e||i);else a(n.attrs)&&Rn(l,n.attrs),a(n.props)&&Rn(l,n.props);var p=new An(n,l,s,o,t),f=c.render.call(null,p._c,p);if(f instanceof mt)return In(f,n,p.parent,c);if(r(f)){for(var h=Kt(f)||[],m=new Array(h.length),v=0;v<h.length;v++)m[v]=In(h[v],n,p.parent,c);return m}}(t,f,e,n,c);var h=e.on;if(e.on=e.nativeOn,s(t.options.abstract)){var v=e.slot;e={},v&&(e.slot=v)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<qn.length;n++){var i=qn[n],r=e[i],o=jn[i];r===o||r&&r._merged||(e[i]=r?Hn(o,r):o)}}(e);var g=Nn(t.options)||l;return new mt("vue-component-".concat(t.cid).concat(g?"-".concat(g):""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:f,listeners:h,tag:l,children:c},p)}}}function Hn(t,e){var n=function(n,i){t(n,i),e(n,i)};return n._merged=!0,n}var Bn=A,Un=z.optionMergeStrategies;function zn(t,e,n){if(void 0===n&&(n=!0),!e)return t;for(var i,r,o,a=pt?Reflect.ownKeys(e):Object.keys(e),s=0;s<a.length;s++)"__ob__"!==(i=a[s])&&(r=t[i],o=e[i],n&&x(t,i)?r!==o&&p(r)&&p(o)&&zn(r,o):It(t,i,o));return t}function Wn(t,e,n){return n?function(){var i=l(e)?e.call(n,n):e,r=l(t)?t.call(n,n):t;return i?zn(i,r):r}:e?t?function(){return zn(l(e)?e.call(this,this):e,l(t)?t.call(this,this):t)}:e:t}function Yn(t,e){var n=e?t?t.concat(e):r(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Gn(t,e,n,i){var r=Object.create(t||null);return e?E(r,e):r}Un.data=function(t,e,n){return n?Wn(t,e,n):e&&"function"!=typeof e?t:Wn(t,e)},U.forEach((function(t){Un[t]=Yn})),B.forEach((function(t){Un[t+"s"]=Gn})),Un.watch=function(t,e,n,i){if(t===ot&&(t=void 0),e===ot&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var a in E(o,t),e){var s=o[a],c=e[a];s&&!r(s)&&(s=[s]),o[a]=s?s.concat(c):r(c)?c:[c]}return o},Un.props=Un.methods=Un.inject=Un.computed=function(t,e,n,i){if(!t)return e;var r=Object.create(null);return E(r,t),e&&E(r,e),r},Un.provide=function(t,e){return t?function(){var n=Object.create(null);return zn(n,l(t)?t.call(this):t),e&&zn(n,l(e)?e.call(this):e,!1),n}:e};var Kn=function(t,e){return void 0===e?t:e};function Jn(t,e,n){if(l(e)&&(e=e.options),function(t,e){var n=t.props;if(n){var i,o,a={};if(r(n))for(i=n.length;i--;)"string"==typeof(o=n[i])&&(a[T(o)]={type:null});else if(p(n))for(var s in n)o=n[s],a[T(s)]=p(o)?o:{type:o};t.props=a}}(e),function(t,e){var n=t.inject;if(n){var i=t.inject={};if(r(n))for(var o=0;o<n.length;o++)i[n[o]]={from:n[o]};else if(p(n))for(var a in n){var s=n[a];i[a]=p(s)?E({from:a},s):{from:s}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var i=e[n];l(i)&&(e[n]={bind:i,update:i})}}(e),!e._base&&(e.extends&&(t=Jn(t,e.extends,n)),e.mixins))for(var i=0,o=e.mixins.length;i<o;i++)t=Jn(t,e.mixins[i],n);var a,s={};for(a in t)c(a);for(a in e)x(t,a)||c(a);function c(i){var r=Un[i]||Kn;s[i]=r(t[i],e[i],n,i)}return s}function Zn(t,e,n,i){if("string"==typeof n){var r=t[e];if(x(r,n))return r[n];var o=T(n);if(x(r,o))return r[o];var a=M(o);return x(r,a)?r[a]:r[n]||r[o]||r[a]}}function Xn(t,e,n,i){var r=e[t],o=!x(n,t),a=n[t],s=ni(Boolean,r.type);if(s>-1)if(o&&!x(r,"default"))a=!1;else if(""===a||a===O(t)){var c=ni(String,r.type);(c<0||s<c)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!x(e,"default"))return;var i=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return l(i)&&"Function"!==ti(e.type)?i.call(t):i}(i,r,t);var d=Ot;Lt(!0),Ft(a),Lt(d)}return a}var Qn=/^\s*function (\w+)/;function ti(t){var e=t&&t.toString().match(Qn);return e?e[1]:""}function ei(t,e){return ti(t)===ti(e)}function ni(t,e){if(!r(e))return ei(e,t)?0:-1;for(var n=0,i=e.length;n<i;n++)if(ei(e[n],t))return n;return-1}function ii(t){this._init(t)}function ri(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,i=n.cid,r=t._Ctor||(t._Ctor={});if(r[i])return r[i];var o=Nn(t)||Nn(n.options);var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Jn(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)Pn(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)Mn(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,B.forEach((function(t){a[t]=n[t]})),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=E({},a.options),r[i]=a,a}}function oi(t){return t&&(Nn(t.Ctor.options)||t.tag)}function ai(t,e){return r(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!f(t)&&t.test(e)}function si(t,e){var n=t.cache,i=t.keys,r=t._vnode,o=t.$vnode;for(var a in n){var s=n[a];if(s){var c=s.name;c&&!e(c)&&ci(n,a,i,r)}}o.componentOptions.children=void 0}function ci(t,e,n,i){var r=t[e];!r||i&&r.tag===i.tag||r.componentInstance.$destroy(),t[e]=null,C(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=En++,e._isVue=!0,e.__v_skip=!0,e._scope=new Ie(!0),e._scope.parent=void 0,e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),i=e._parentVnode;n.parent=e.parent,n._parentVnode=i;var r=i.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Jn(Fn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Ae(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=ge(e._renderChildren,r),t.$scopedSlots=n?_e(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,i,r){return te(t,e,n,i,r,!1)},t.$createElement=function(e,n,i,r){return te(t,e,n,i,r,!0)};var o=n&&n.data;At(t,"$attrs",o&&o.attrs||i,null,!0),At(t,"$listeners",e._parentListeners||i,null,!0)}(e),He(e,"beforeCreate",void 0,!1),function(t){var e=Dn(t.$options.inject,t);e&&(Lt(!1),Object.keys(e).forEach((function(n){At(t,n,e[n])})),Lt(!0))}(e),Sn(e),function(t){var e=t.$options.provide;if(e){var n=l(e)?e.call(t):e;if(!d(n))return;for(var i=nn(t),r=pt?Reflect.ownKeys(n):Object.keys(n),o=0;o<r.length;o++){var a=r[o];Object.defineProperty(i,a,Object.getOwnPropertyDescriptor(n,a))}}}(e),He(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(ii),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=It,t.prototype.$delete=Rt,t.prototype.$watch=function(t,e,n){var i=this;if(p(e))return Ln(i,t,e,n);(n=n||{}).user=!0;var r=new kn(i,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(r.expression,'"');xt(),on(e,i,[r.value],i,o),Pt()}return function(){r.teardown()}}}(ii),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var i=this;if(r(t))for(var o=0,a=t.length;o<a;o++)i.$on(t[o],n);else(i._events[t]||(i._events[t]=[])).push(n),e.test(t)&&(i._hasHookEvent=!0);return i},t.prototype.$once=function(t,e){var n=this;function i(){n.$off(t,i),e.apply(n,arguments)}return i.fn=e,n.$on(t,i),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(r(t)){for(var i=0,o=t.length;i<o;i++)n.$off(t[i],e);return n}var a,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var c=s.length;c--;)if((a=s[c])===e||a.fn===e){s.splice(c,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?D(n):n;for(var i=D(arguments,1),r='event handler for "'.concat(t,'"'),o=0,a=n.length;o<a;o++)on(n[o],e,i,e,r)}return e}}(ii),function(t){t.prototype._update=function(t,e){var n=this,i=n.$el,r=n._vnode,o=Ne(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),o(),i&&(i.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var a=n;a&&a.$vnode&&a.$parent&&a.$vnode===a.$parent._vnode;)a.$parent.$el=a.$el,a=a.$parent},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){He(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||C(e.$children,t),t._scope.stop(),t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),He(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(ii),function(t){ve(t.prototype),t.prototype.$nextTick=function(t){return gn(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,i=e._parentVnode;i&&t._isMounted&&(t.$scopedSlots=_e(t.$parent,i.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Se(t._slotsProxy,t.$scopedSlots)),t.$vnode=i;var o,a=ft,s=$e;try{ht(t),$e=t,o=n.call(t._renderProxy,t.$createElement)}catch(e){rn(e,t,"render"),o=t._vnode}finally{$e=s,ht(a)}return r(o)&&1===o.length&&(o=o[0]),o instanceof mt||(o=vt()),o.parent=i,o}}(ii);var li=[String,RegExp,Array],di={name:"keep-alive",abstract:!0,props:{include:li,exclude:li,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,i=t.vnodeToCache,r=t.keyToCache;if(i){var o=i.tag,a=i.componentInstance,s=i.componentOptions;e[r]={name:oi(s),tag:o,componentInstance:a},n.push(r),this.max&&n.length>parseInt(this.max)&&ci(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ci(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){si(t,(function(t){return ai(e,t)}))})),this.$watch("exclude",(function(e){si(t,(function(t){return!ai(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Le(t),n=e&&e.componentOptions;if(n){var i=oi(n),r=this.include,o=this.exclude;if(r&&(!i||!ai(r,i))||o&&i&&ai(o,i))return e;var a=this.cache,s=this.keys,c=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;a[c]?(e.componentInstance=a[c].componentInstance,C(s,c),s.push(c)):(this.vnodeToCache=e,this.keyToCache=c),e.data.keepAlive=!0}return e||t&&t[0]}},ui={KeepAlive:di};!function(t){var e={get:function(){return z}};Object.defineProperty(t,"config",e),t.util={warn:Bn,extend:E,mergeOptions:Jn,defineReactive:At},t.set=It,t.delete=Rt,t.nextTick=gn,t.observable=function(t){return Ft(t),t},t.options=Object.create(null),B.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,E(t.options.components,ui),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=D(arguments,1);return n.unshift(this),l(t.install)?t.install.apply(t,n):l(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Jn(this.options,t),this}}(t),ri(t),function(t){B.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&p(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&l(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(ii),Object.defineProperty(ii.prototype,"$isServer",{get:ct}),Object.defineProperty(ii.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ii,"FunctionalRenderContext",{value:An}),ii.version="2.7.16";var pi=b("style,class"),fi=b("input,textarea,option,select,progress"),hi=function(t,e,n){return"value"===n&&fi(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},mi=b("contenteditable,draggable,spellcheck"),vi=b("events,caret,typing,plaintext-only"),gi=function(t,e){return Ci(e)||"false"===e?"false":"contenteditable"===t&&vi(e)?e:"true"},yi=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),bi="http://www.w3.org/1999/xlink",_i=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},wi=function(t){return _i(t)?t.slice(6,t.length):""},Ci=function(t){return null==t||!1===t};function ki(t){for(var e=t.data,n=t,i=t;a(i.componentInstance);)(i=i.componentInstance._vnode)&&i.data&&(e=xi(i.data,e));for(;a(n=n.parent);)n&&n.data&&(e=xi(e,n.data));return function(t,e){if(a(t)||a(e))return Pi(t,Si(e));return""}(e.staticClass,e.class)}function xi(t,e){return{staticClass:Pi(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function Pi(t,e){return t?e?t+" "+e:t:e||""}function Si(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i<r;i++)a(e=Si(t[i]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):d(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Ti={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Mi=b("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),$i=b("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Oi=function(t){return Mi(t)||$i(t)};function Li(t){return $i(t)?"svg":"math"===t?"math":void 0}var Di=Object.create(null);var Ei=b("text,number,password,search,email,tel,url");function Fi(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var Ai=Object.freeze({__proto__:null,createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Ti[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Ii={create:function(t,e){Ri(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Ri(t,!0),Ri(e))},destroy:function(t){Ri(t,!0)}};function Ri(t,e){var n=t.data.ref;if(a(n)){var i=t.context,o=t.componentInstance||t.elm,s=e?null:o,c=e?void 0:o;if(l(n))on(n,i,[s],i,"template ref function");else{var d=t.data.refInFor,u="string"==typeof n||"number"==typeof n,p=Ht(n),f=i.$refs;if(u||p)if(d){var h=u?f[n]:n.value;e?r(h)&&C(h,o):r(h)?h.includes(o)||h.push(o):u?(f[n]=[o],Ni(i,n,f[n])):n.value=[o]}else if(u){if(e&&f[n]!==o)return;f[n]=c,Ni(i,n,s)}else if(p){if(e&&n.value!==o)return;n.value=s}else 0}}}function Ni(t,e,n){var i=t._setupState;i&&x(i,e)&&(Ht(i[e])?i[e].value=n:i[e]=n)}var ji=new mt("",{},[]),qi=["create","activate","update","remove","destroy"];function Vi(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,i=a(n=t.data)&&a(n=n.attrs)&&n.type,r=a(n=e.data)&&a(n=n.attrs)&&n.type;return i===r||Ei(i)&&Ei(r)}(t,e)||s(t.isAsyncPlaceholder)&&o(e.asyncFactory.error))}function Hi(t,e,n){var i,r,o={};for(i=e;i<=n;++i)a(r=t[i].key)&&(o[r]=i);return o}var Bi={create:Ui,update:Ui,destroy:function(t){Ui(t,ji)}};function Ui(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,i,r,o=t===ji,a=e===ji,s=Wi(t.data.directives,t.context),c=Wi(e.data.directives,e.context),l=[],d=[];for(n in c)i=s[n],r=c[n],i?(r.oldValue=i.value,r.oldArg=i.arg,Gi(r,"update",e,t),r.def&&r.def.componentUpdated&&d.push(r)):(Gi(r,"bind",e,t),r.def&&r.def.inserted&&l.push(r));if(l.length){var u=function(){for(var n=0;n<l.length;n++)Gi(l[n],"inserted",e,t)};o?Yt(e,"insert",u):u()}d.length&&Yt(e,"postpatch",(function(){for(var n=0;n<d.length;n++)Gi(d[n],"componentUpdated",e,t)}));if(!o)for(n in s)c[n]||Gi(s[n],"unbind",t,t,a)}(t,e)}var zi=Object.create(null);function Wi(t,e){var n,i,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++){if((i=t[n]).modifiers||(i.modifiers=zi),r[Yi(i)]=i,e._setupState&&e._setupState.__sfc){var o=i.def||Zn(e,"_setupState","v-"+i.name);i.def="function"==typeof o?{bind:o,update:o}:o}i.def=i.def||Zn(e.$options,"directives",i.name)}return r}function Yi(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function Gi(t,e,n,i,r){var o=t.def&&t.def[e];if(o)try{o(n.elm,t,n,i,r)}catch(i){rn(i,n.context,"directive ".concat(t.name," ").concat(e," hook"))}}var Ki=[Ii,Bi];function Ji(t,e){var n=e.componentOptions;if(!(a(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var i,r,c=e.elm,l=t.data.attrs||{},d=e.data.attrs||{};for(i in(a(d.__ob__)||s(d._v_attr_proxy))&&(d=e.data.attrs=E({},d)),d)r=d[i],l[i]!==r&&Zi(c,i,r,e.data.pre);for(i in(Q||et)&&d.value!==l.value&&Zi(c,"value",d.value),l)o(d[i])&&(_i(i)?c.removeAttributeNS(bi,wi(i)):mi(i)||c.removeAttribute(i))}}function Zi(t,e,n,i){i||t.tagName.indexOf("-")>-1?Xi(t,e,n):yi(e)?Ci(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):mi(e)?t.setAttribute(e,gi(e,n)):_i(e)?Ci(n)?t.removeAttributeNS(bi,wi(e)):t.setAttributeNS(bi,e,n):Xi(t,e,n)}function Xi(t,e,n){if(Ci(n))t.removeAttribute(e);else{if(Q&&!tt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var i=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",i)};t.addEventListener("input",i),t.__ieph=!0}t.setAttribute(e,n)}}var Qi={create:Ji,update:Ji};function tr(t,e){var n=e.elm,i=e.data,r=t.data;if(!(o(i.staticClass)&&o(i.class)&&(o(r)||o(r.staticClass)&&o(r.class)))){var s=ki(e),c=n._transitionClasses;a(c)&&(s=Pi(s,Si(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var er,nr,ir,rr,or,ar,sr={create:tr,update:tr},cr=/[\w).+\-_$\]]/;function lr(t){var e,n,i,r,o,a=!1,s=!1,c=!1,l=!1,d=0,u=0,p=0,f=0;for(i=0;i<t.length;i++)if(n=e,e=t.charCodeAt(i),a)39===e&&92!==n&&(a=!1);else if(s)34===e&&92!==n&&(s=!1);else if(c)96===e&&92!==n&&(c=!1);else if(l)47===e&&92!==n&&(l=!1);else if(124!==e||124===t.charCodeAt(i+1)||124===t.charCodeAt(i-1)||d||u||p){switch(e){case 34:s=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:u++;break;case 93:u--;break;case 123:d++;break;case 125:d--}if(47===e){for(var h=i-1,m=void 0;h>=0&&" "===(m=t.charAt(h));h--);m&&cr.test(m)||(l=!0)}}else void 0===r?(f=i+1,r=t.slice(0,i).trim()):v();function v(){(o||(o=[])).push(t.slice(f,i).trim()),f=i+1}if(void 0===r?r=t.slice(0,i).trim():0!==f&&v(),o)for(i=0;i<o.length;i++)r=dr(r,o[i]);return r}function dr(t,e){var n=e.indexOf("(");if(n<0)return'_f("'.concat(e,'")(').concat(t,")");var i=e.slice(0,n),r=e.slice(n+1);return'_f("'.concat(i,'")(').concat(t).concat(")"!==r?","+r:r)}function ur(t,e){console.error("[Vue compiler]: ".concat(t))}function pr(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function fr(t,e,n,i,r){(t.props||(t.props=[])).push(Cr({name:e,value:n,dynamic:r},i)),t.plain=!1}function hr(t,e,n,i,r){(r?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Cr({name:e,value:n,dynamic:r},i)),t.plain=!1}function mr(t,e,n,i){t.attrsMap[e]=n,t.attrsList.push(Cr({name:e,value:n},i))}function vr(t,e,n,i,r,o,a,s){(t.directives||(t.directives=[])).push(Cr({name:e,rawName:n,value:i,arg:r,isDynamicArg:o,modifiers:a},s)),t.plain=!1}function gr(t,e,n){return n?"_p(".concat(e,',"').concat(t,'")'):t+e}function yr(t,e,n,r,o,a,s,c){var l;(r=r||i).right?c?e="(".concat(e,")==='click'?'contextmenu':(").concat(e,")"):"click"===e&&(e="contextmenu",delete r.right):r.middle&&(c?e="(".concat(e,")==='click'?'mouseup':(").concat(e,")"):"click"===e&&(e="mouseup")),r.capture&&(delete r.capture,e=gr("!",e,c)),r.once&&(delete r.once,e=gr("~",e,c)),r.passive&&(delete r.passive,e=gr("&",e,c)),r.native?(delete r.native,l=t.nativeEvents||(t.nativeEvents={})):l=t.events||(t.events={});var d=Cr({value:n.trim(),dynamic:c},s);r!==i&&(d.modifiers=r);var u=l[e];Array.isArray(u)?o?u.unshift(d):u.push(d):l[e]=u?o?[d,u]:[u,d]:d,t.plain=!1}function br(t,e,n){var i=_r(t,":"+e)||_r(t,"v-bind:"+e);if(null!=i)return lr(i);if(!1!==n){var r=_r(t,e);if(null!=r)return JSON.stringify(r)}}function _r(t,e,n){var i;if(null!=(i=t.attrsMap[e]))for(var r=t.attrsList,o=0,a=r.length;o<a;o++)if(r[o].name===e){r.splice(o,1);break}return n&&delete t.attrsMap[e],i}function wr(t,e){for(var n=t.attrsList,i=0,r=n.length;i<r;i++){var o=n[i];if(e.test(o.name))return n.splice(i,1),o}}function Cr(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function kr(t,e,n){var i=n||{},r=i.number,o="$$v",a=o;i.trim&&(a="(typeof ".concat(o," === 'string'")+"? ".concat(o,".trim()")+": ".concat(o,")")),r&&(a="_n(".concat(a,")"));var s=xr(e,a);t.model={value:"(".concat(e,")"),expression:JSON.stringify(e),callback:"function (".concat(o,") {").concat(s,"}")}}function xr(t,e){var n=function(t){if(t=t.trim(),er=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<er-1)return(rr=t.lastIndexOf("."))>-1?{exp:t.slice(0,rr),key:'"'+t.slice(rr+1)+'"'}:{exp:t,key:null};nr=t,rr=or=ar=0;for(;!Sr();)Tr(ir=Pr())?$r(ir):91===ir&&Mr(ir);return{exp:t.slice(0,or),key:t.slice(or+1,ar)}}(t);return null===n.key?"".concat(t,"=").concat(e):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(e,")")}function Pr(){return nr.charCodeAt(++rr)}function Sr(){return rr>=er}function Tr(t){return 34===t||39===t}function Mr(t){var e=1;for(or=rr;!Sr();)if(Tr(t=Pr()))$r(t);else if(91===t&&e++,93===t&&e--,0===e){ar=rr;break}}function $r(t){for(var e=t;!Sr()&&(t=Pr())!==e;);}var Or,Lr="__r",Dr="__c";function Er(t,e,n){var i=Or;return function r(){null!==e.apply(null,arguments)&&Ir(t,r,n,i)}}var Fr=ln&&!(rt&&Number(rt[1])<=53);function Ar(t,e,n,i){if(Fr){var r=Ke,o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Or.addEventListener(t,e,at?{capture:n,passive:i}:n)}function Ir(t,e,n,i){(i||Or).removeEventListener(t,e._wrapper||e,n)}function Rr(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},i=t.data.on||{};Or=e.elm||t.elm,function(t){if(a(t[Lr])){var e=Q?"change":"input";t[e]=[].concat(t[Lr],t[e]||[]),delete t[Lr]}a(t[Dr])&&(t.change=[].concat(t[Dr],t.change||[]),delete t[Dr])}(n),Wt(n,i,Ar,Ir,Er,e.context),Or=void 0}}var Nr,jr={create:Rr,update:Rr,destroy:function(t){return Rr(t,ji)}};function qr(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,i,r=e.elm,c=t.data.domProps||{},l=e.data.domProps||{};for(n in(a(l.__ob__)||s(l._v_attr_proxy))&&(l=e.data.domProps=E({},l)),c)n in l||(r[n]="");for(n in l){if(i=l[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),i===c[n])continue;1===r.childNodes.length&&r.removeChild(r.childNodes[0])}if("value"===n&&"PROGRESS"!==r.tagName){r._value=i;var d=o(i)?"":String(i);Vr(r,d)&&(r.value=d)}else if("innerHTML"===n&&$i(r.tagName)&&o(r.innerHTML)){(Nr=Nr||document.createElement("div")).innerHTML="<svg>".concat(i,"</svg>");for(var u=Nr.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;u.firstChild;)r.appendChild(u.firstChild)}else if(i!==c[n])try{r[n]=i}catch(t){}}}}function Vr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,i=t._vModifiers;if(a(i)){if(i.number)return y(n)!==y(e);if(i.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var Hr={create:qr,update:qr},Br=P((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var i=t.split(n);i.length>1&&(e[i[0].trim()]=i[1].trim())}})),e}));function Ur(t){var e=zr(t.style);return t.staticStyle?E(t.staticStyle,e):e}function zr(t){return Array.isArray(t)?F(t):"string"==typeof t?Br(t):t}var Wr,Yr=/^--/,Gr=/\s*!important$/,Kr=function(t,e,n){if(Yr.test(e))t.style.setProperty(e,n);else if(Gr.test(n))t.style.setProperty(O(e),n.replace(Gr,""),"important");else{var i=Zr(e);if(Array.isArray(n))for(var r=0,o=n.length;r<o;r++)t.style[i]=n[r];else t.style[i]=n}},Jr=["Webkit","Moz","ms"],Zr=P((function(t){if(Wr=Wr||document.createElement("div").style,"filter"!==(t=T(t))&&t in Wr)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Jr.length;n++){var i=Jr[n]+e;if(i in Wr)return i}}));function Xr(t,e){var n=e.data,i=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(i.staticStyle)&&o(i.style))){var r,s,c=e.elm,l=i.staticStyle,d=i.normalizedStyle||i.style||{},u=l||d,p=zr(e.data.style)||{};e.data.normalizedStyle=a(p.__ob__)?E({},p):p;var f=function(t,e){var n,i={};if(e)for(var r=t;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=Ur(r.data))&&E(i,n);(n=Ur(t.data))&&E(i,n);for(var o=t;o=o.parent;)o.data&&(n=Ur(o.data))&&E(i,n);return i}(e,!0);for(s in u)o(f[s])&&Kr(c,s,"");for(s in f)r=f[s],Kr(c,s,null==r?"":r)}}var Qr={create:Xr,update:Xr},to=/\s+/;function eo(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(to).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function no(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(to).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function io(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&E(e,ro(t.name||"v")),E(e,t),e}return"string"==typeof t?ro(t):void 0}}var ro=P((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),oo=Z&&!tt,ao="transition",so="animation",co="transition",lo="transitionend",uo="animation",po="animationend";oo&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(co="WebkitTransition",lo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(uo="WebkitAnimation",po="webkitAnimationEnd"));var fo=Z?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ho(t){fo((function(){fo(t)}))}function mo(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),eo(t,e))}function vo(t,e){t._transitionClasses&&C(t._transitionClasses,e),no(t,e)}function go(t,e,n){var i=bo(t,e),r=i.type,o=i.timeout,a=i.propCount;if(!r)return n();var s=r===ao?lo:po,c=0,l=function(){t.removeEventListener(s,d),n()},d=function(e){e.target===t&&++c>=a&&l()};setTimeout((function(){c<a&&l()}),o+1),t.addEventListener(s,d)}var yo=/\b(transform|all)(,|$)/;function bo(t,e){var n,i=window.getComputedStyle(t),r=(i[co+"Delay"]||"").split(", "),o=(i[co+"Duration"]||"").split(", "),a=_o(r,o),s=(i[uo+"Delay"]||"").split(", "),c=(i[uo+"Duration"]||"").split(", "),l=_o(s,c),d=0,u=0;return e===ao?a>0&&(n=ao,d=a,u=o.length):e===so?l>0&&(n=so,d=l,u=c.length):u=(n=(d=Math.max(a,l))>0?a>l?ao:so:null)?n===ao?o.length:c.length:0,{type:n,timeout:d,propCount:u,hasTransform:n===ao&&yo.test(i[co+"Property"])}}function _o(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return wo(e)+wo(t[n])})))}function wo(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Co(t,e){var n=t.elm;a(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var i=io(t.data.transition);if(!o(i)&&!a(n._enterCb)&&1===n.nodeType){for(var r=i.css,s=i.type,c=i.enterClass,u=i.enterToClass,p=i.enterActiveClass,f=i.appearClass,h=i.appearToClass,m=i.appearActiveClass,v=i.beforeEnter,g=i.enter,b=i.afterEnter,_=i.enterCancelled,w=i.beforeAppear,C=i.appear,k=i.afterAppear,x=i.appearCancelled,P=i.duration,S=Re,T=Re.$vnode;T&&T.parent;)S=T.context,T=T.parent;var M=!S._isMounted||!t.isRootInsert;if(!M||C||""===C){var $=M&&f?f:c,O=M&&m?m:p,L=M&&h?h:u,D=M&&w||v,E=M&&l(C)?C:g,F=M&&k||b,A=M&&x||_,I=y(d(P)?P.enter:P);0;var R=!1!==r&&!tt,N=Po(E),j=n._enterCb=q((function(){R&&(vo(n,L),vo(n,O)),j.cancelled?(R&&vo(n,$),A&&A(n)):F&&F(n),n._enterCb=null}));t.data.show||Yt(t,"insert",(function(){var e=n.parentNode,i=e&&e._pending&&e._pending[t.key];i&&i.tag===t.tag&&i.elm._leaveCb&&i.elm._leaveCb(),E&&E(n,j)})),D&&D(n),R&&(mo(n,$),mo(n,O),ho((function(){vo(n,$),j.cancelled||(mo(n,L),N||(xo(I)?setTimeout(j,I):go(n,s,j)))}))),t.data.show&&(e&&e(),E&&E(n,j)),R||N||j()}}}function ko(t,e){var n=t.elm;a(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var i=io(t.data.transition);if(o(i)||1!==n.nodeType)return e();if(!a(n._leaveCb)){var r=i.css,s=i.type,c=i.leaveClass,l=i.leaveToClass,u=i.leaveActiveClass,p=i.beforeLeave,f=i.leave,h=i.afterLeave,m=i.leaveCancelled,v=i.delayLeave,g=i.duration,b=!1!==r&&!tt,_=Po(f),w=y(d(g)?g.leave:g);0;var C=n._leaveCb=q((function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),b&&(vo(n,l),vo(n,u)),C.cancelled?(b&&vo(n,c),m&&m(n)):(e(),h&&h(n)),n._leaveCb=null}));v?v(k):k()}function k(){C.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),p&&p(n),b&&(mo(n,c),mo(n,u),ho((function(){vo(n,c),C.cancelled||(mo(n,l),_||(xo(w)?setTimeout(C,w):go(n,s,C)))}))),f&&f(n,C),b||_||C())}}function xo(t){return"number"==typeof t&&!isNaN(t)}function Po(t){if(o(t))return!1;var e=t.fns;return a(e)?Po(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function So(t,e){!0!==e.data.show&&Co(e)}var To=function(t){var e,n,i={},l=t.modules,d=t.nodeOps;for(e=0;e<qi.length;++e)for(i[qi[e]]=[],n=0;n<l.length;++n)a(l[n][qi[e]])&&i[qi[e]].push(l[n][qi[e]]);function u(t){var e=d.parentNode(t);a(e)&&d.removeChild(e,t)}function p(t,e,n,r,o,c,l){if(a(t.elm)&&a(c)&&(t=c[l]=yt(t)),t.isRootInsert=!o,!function(t,e,n,r){var o=t.data;if(a(o)){var c=a(t.componentInstance)&&o.keepAlive;if(a(o=o.hook)&&a(o=o.init)&&o(t,!1),a(t.componentInstance))return f(t,e),h(n,t.elm,r),s(c)&&function(t,e,n,r){var o,s=t;for(;s.componentInstance;)if(a(o=(s=s.componentInstance._vnode).data)&&a(o=o.transition)){for(o=0;o<i.activate.length;++o)i.activate[o](ji,s);e.push(s);break}h(n,t.elm,r)}(t,e,n,r),!0}}(t,e,n,r)){var u=t.data,p=t.children,v=t.tag;a(v)?(t.elm=t.ns?d.createElementNS(t.ns,v):d.createElement(v,t),y(t),m(t,p,e),a(u)&&g(t,e),h(n,t.elm,r)):s(t.isComment)?(t.elm=d.createComment(t.text),h(n,t.elm,r)):(t.elm=d.createTextNode(t.text),h(n,t.elm,r))}}function f(t,e){a(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,v(t)?(g(t,e),y(t)):(Ri(t),e.push(t))}function h(t,e,n){a(t)&&(a(n)?d.parentNode(n)===t&&d.insertBefore(t,e,n):d.appendChild(t,e))}function m(t,e,n){if(r(e)){0;for(var i=0;i<e.length;++i)p(e[i],n,t.elm,null,!0,e,i)}else c(t.text)&&d.appendChild(t.elm,d.createTextNode(String(t.text)))}function v(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return a(t.tag)}function g(t,n){for(var r=0;r<i.create.length;++r)i.create[r](ji,t);a(e=t.data.hook)&&(a(e.create)&&e.create(ji,t),a(e.insert)&&n.push(t))}function y(t){var e;if(a(e=t.fnScopeId))d.setStyleScope(t.elm,e);else for(var n=t;n;)a(e=n.context)&&a(e=e.$options._scopeId)&&d.setStyleScope(t.elm,e),n=n.parent;a(e=Re)&&e!==t.context&&e!==t.fnContext&&a(e=e.$options._scopeId)&&d.setStyleScope(t.elm,e)}function _(t,e,n,i,r,o){for(;i<=r;++i)p(n[i],o,t,e,!1,n,i)}function w(t){var e,n,r=t.data;if(a(r))for(a(e=r.hook)&&a(e=e.destroy)&&e(t),e=0;e<i.destroy.length;++e)i.destroy[e](t);if(a(e=t.children))for(n=0;n<t.children.length;++n)w(t.children[n])}function C(t,e,n){for(;e<=n;++e){var i=t[e];a(i)&&(a(i.tag)?(k(i),w(i)):u(i.elm))}}function k(t,e){if(a(e)||a(t.data)){var n,r=i.remove.length+1;for(a(e)?e.listeners+=r:e=function(t,e){function n(){0==--n.listeners&&u(t)}return n.listeners=e,n}(t.elm,r),a(n=t.componentInstance)&&a(n=n._vnode)&&a(n.data)&&k(n,e),n=0;n<i.remove.length;++n)i.remove[n](t,e);a(n=t.data.hook)&&a(n=n.remove)?n(t,e):e()}else u(t.elm)}function x(t,e,n,i){for(var r=n;r<i;r++){var o=e[r];if(a(o)&&Vi(t,o))return r}}function P(t,e,n,r,c,l){if(t!==e){a(e.elm)&&a(r)&&(e=r[c]=yt(e));var u=e.elm=t.elm;if(s(t.isAsyncPlaceholder))a(e.asyncFactory.resolved)?M(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(s(e.isStatic)&&s(t.isStatic)&&e.key===t.key&&(s(e.isCloned)||s(e.isOnce)))e.componentInstance=t.componentInstance;else{var f,h=e.data;a(h)&&a(f=h.hook)&&a(f=f.prepatch)&&f(t,e);var m=t.children,g=e.children;if(a(h)&&v(e)){for(f=0;f<i.update.length;++f)i.update[f](t,e);a(f=h.hook)&&a(f=f.update)&&f(t,e)}o(e.text)?a(m)&&a(g)?m!==g&&function(t,e,n,i,r){var s,c,l,u=0,f=0,h=e.length-1,m=e[0],v=e[h],g=n.length-1,y=n[0],b=n[g],w=!r;for(;u<=h&&f<=g;)o(m)?m=e[++u]:o(v)?v=e[--h]:Vi(m,y)?(P(m,y,i,n,f),m=e[++u],y=n[++f]):Vi(v,b)?(P(v,b,i,n,g),v=e[--h],b=n[--g]):Vi(m,b)?(P(m,b,i,n,g),w&&d.insertBefore(t,m.elm,d.nextSibling(v.elm)),m=e[++u],b=n[--g]):Vi(v,y)?(P(v,y,i,n,f),w&&d.insertBefore(t,v.elm,m.elm),v=e[--h],y=n[++f]):(o(s)&&(s=Hi(e,u,h)),o(c=a(y.key)?s[y.key]:x(y,e,u,h))?p(y,i,t,m.elm,!1,n,f):Vi(l=e[c],y)?(P(l,y,i,n,f),e[c]=void 0,w&&d.insertBefore(t,l.elm,m.elm)):p(y,i,t,m.elm,!1,n,f),y=n[++f]);u>h?_(t,o(n[g+1])?null:n[g+1].elm,n,f,g,i):f>g&&C(e,u,h)}(u,m,g,n,l):a(g)?(a(t.text)&&d.setTextContent(u,""),_(u,null,g,0,g.length-1,n)):a(m)?C(m,0,m.length-1):a(t.text)&&d.setTextContent(u,""):t.text!==e.text&&d.setTextContent(u,e.text),a(h)&&a(f=h.hook)&&a(f=f.postpatch)&&f(t,e)}}}function S(t,e,n){if(s(n)&&a(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var T=b("attrs,class,staticClass,staticStyle,key");function M(t,e,n,i){var r,o=e.tag,c=e.data,l=e.children;if(i=i||c&&c.pre,e.elm=t,s(e.isComment)&&a(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(a(c)&&(a(r=c.hook)&&a(r=r.init)&&r(e,!0),a(r=e.componentInstance)))return f(e,n),!0;if(a(o)){if(a(l))if(t.hasChildNodes())if(a(r=c)&&a(r=r.domProps)&&a(r=r.innerHTML)){if(r!==t.innerHTML)return!1}else{for(var d=!0,u=t.firstChild,p=0;p<l.length;p++){if(!u||!M(u,l[p],n,i)){d=!1;break}u=u.nextSibling}if(!d||u)return!1}else m(e,l,n);if(a(c)){var h=!1;for(var v in c)if(!T(v)){h=!0,g(e,n);break}!h&&c.class&&_n(c.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,r){if(!o(e)){var c,l=!1,u=[];if(o(t))l=!0,p(e,u);else{var f=a(t.nodeType);if(!f&&Vi(t,e))P(t,e,u,null,null,r);else{if(f){if(1===t.nodeType&&t.hasAttribute(H)&&(t.removeAttribute(H),n=!0),s(n)&&M(t,e,u))return S(e,u,!0),t;c=t,t=new mt(d.tagName(c).toLowerCase(),{},[],void 0,c)}var h=t.elm,m=d.parentNode(h);if(p(e,u,h._leaveCb?null:m,d.nextSibling(h)),a(e.parent))for(var g=e.parent,y=v(e);g;){for(var b=0;b<i.destroy.length;++b)i.destroy[b](g);if(g.elm=e.elm,y){for(var _=0;_<i.create.length;++_)i.create[_](ji,g);var k=g.data.hook.insert;if(k.merged)for(var x=k.fns.slice(1),T=0;T<x.length;T++)x[T]()}else Ri(g);g=g.parent}a(m)?C([t],0,0):a(t.tag)&&w(t)}}return S(e,u,l),e.elm}a(t)&&w(t)}}({nodeOps:Ai,modules:[Qi,sr,jr,Hr,Qr,Z?{create:So,activate:So,remove:function(t,e){!0!==t.data.show?ko(t,e):e()}}:{}].concat(Ki)});tt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ao(t,"input")}));var Mo={inserted:function(t,e,n,i){"select"===n.tag?(i.elm&&!i.elm._vOptions?Yt(n,"postpatch",(function(){Mo.componentUpdated(t,e,n)})):$o(t,e,n.context),t._vOptions=[].map.call(t.options,Do)):("textarea"===n.tag||Ei(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Eo),t.addEventListener("compositionend",Fo),t.addEventListener("change",Fo),tt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){$o(t,e,n.context);var i=t._vOptions,r=t._vOptions=[].map.call(t.options,Do);if(r.some((function(t,e){return!N(t,i[e])})))(t.multiple?e.value.some((function(t){return Lo(t,r)})):e.value!==e.oldValue&&Lo(e.value,r))&&Ao(t,"change")}}};function $o(t,e,n){Oo(t,e,n),(Q||et)&&setTimeout((function(){Oo(t,e,n)}),0)}function Oo(t,e,n){var i=e.value,r=t.multiple;if(!r||Array.isArray(i)){for(var o,a,s=0,c=t.options.length;s<c;s++)if(a=t.options[s],r)o=j(i,Do(a))>-1,a.selected!==o&&(a.selected=o);else if(N(Do(a),i))return void(t.selectedIndex!==s&&(t.selectedIndex=s));r||(t.selectedIndex=-1)}}function Lo(t,e){return e.every((function(e){return!N(e,t)}))}function Do(t){return"_value"in t?t._value:t.value}function Eo(t){t.target.composing=!0}function Fo(t){t.target.composing&&(t.target.composing=!1,Ao(t.target,"input"))}function Ao(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Io(t){return!t.componentInstance||t.data&&t.data.transition?t:Io(t.componentInstance._vnode)}var Ro={bind:function(t,e,n){var i=e.value,r=(n=Io(n)).data&&n.data.transition,o=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;i&&r?(n.data.show=!0,Co(n,(function(){t.style.display=o}))):t.style.display=i?o:"none"},update:function(t,e,n){var i=e.value;!i!=!e.oldValue&&((n=Io(n)).data&&n.data.transition?(n.data.show=!0,i?Co(n,(function(){t.style.display=t.__vOriginalDisplay})):ko(n,(function(){t.style.display="none"}))):t.style.display=i?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,i,r){r||(t.style.display=t.__vOriginalDisplay)}},No={model:Mo,show:Ro},jo={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function qo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?qo(Le(e.children)):t}function Vo(t){var e={},n=t.$options;for(var i in n.propsData)e[i]=t[i];var r=n._parentListeners;for(var i in r)e[T(i)]=r[i];return e}function Ho(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Bo=function(t){return t.tag||be(t)},Uo=function(t){return"show"===t.name},zo={name:"transition",props:jo,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Bo)).length){0;var i=this.mode;0;var r=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return r;var o=qo(r);if(!o)return r;if(this._leaving)return Ho(t,r);var a="__transition-".concat(this._uid,"-");o.key=null==o.key?o.isComment?a+"comment":a+o.tag:c(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=Vo(this),l=this._vnode,d=qo(l);if(o.data.directives&&o.data.directives.some(Uo)&&(o.data.show=!0),d&&d.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(o,d)&&!be(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var u=d.data.transition=E({},s);if("out-in"===i)return this._leaving=!0,Yt(u,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ho(t,r);if("in-out"===i){if(be(o))return l;var p,f=function(){p()};Yt(s,"afterEnter",f),Yt(s,"enterCancelled",f),Yt(u,"delayLeave",(function(t){p=t}))}}return r}}},Wo=E({tag:String,moveClass:String},jo);delete Wo.mode;var Yo={props:Wo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,i){var r=Ne(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,i)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),i=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],a=Vo(this),s=0;s<r.length;s++){if((d=r[s]).tag)if(null!=d.key&&0!==String(d.key).indexOf("__vlist"))o.push(d),n[d.key]=d,(d.data||(d.data={})).transition=a;else;}if(i){var c=[],l=[];for(s=0;s<i.length;s++){var d;(d=i[s]).data.transition=a,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?c.push(d):l.push(d)}this.kept=t(e,null,c),this.removed=l}return t(e,null,o)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(Go),t.forEach(Ko),t.forEach(Jo),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,i=n.style;mo(n,e),i.transform=i.WebkitTransform=i.transitionDuration="",n.addEventListener(lo,n._moveCb=function t(i){i&&i.target!==n||i&&!/transform$/.test(i.propertyName)||(n.removeEventListener(lo,t),n._moveCb=null,vo(n,e))})}})))},methods:{hasMove:function(t,e){if(!oo)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){no(n,t)})),eo(n,e),n.style.display="none",this.$el.appendChild(n);var i=bo(n);return this.$el.removeChild(n),this._hasMove=i.hasTransform}}};function Go(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function Ko(t){t.data.newPos=t.elm.getBoundingClientRect()}function Jo(t){var e=t.data.pos,n=t.data.newPos,i=e.left-n.left,r=e.top-n.top;if(i||r){t.data.moved=!0;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(i,"px,").concat(r,"px)"),o.transitionDuration="0s"}}var Zo={Transition:zo,TransitionGroup:Yo};ii.config.mustUseProp=hi,ii.config.isReservedTag=Oi,ii.config.isReservedAttr=pi,ii.config.getTagNamespace=Li,ii.config.isUnknownElement=function(t){if(!Z)return!0;if(Oi(t))return!1;if(t=t.toLowerCase(),null!=Di[t])return Di[t];var e=document.createElement(t);return t.indexOf("-")>-1?Di[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Di[t]=/HTMLUnknownElement/.test(e.toString())},E(ii.options.directives,No),E(ii.options.components,Zo),ii.prototype.__patch__=Z?To:A,ii.prototype.$mount=function(t,e){return function(t,e,n){var i;t.$el=e,t.$options.render||(t.$options.render=vt),He(t,"beforeMount"),i=function(){t._update(t._render(),n)},new kn(t,i,A,{before:function(){t._isMounted&&!t._isDestroyed&&He(t,"beforeUpdate")}},!0),n=!1;var r=t._preWatchers;if(r)for(var o=0;o<r.length;o++)r[o].run();return null==t.$vnode&&(t._isMounted=!0,He(t,"mounted")),t}(this,t=t&&Z?Fi(t):void 0,e)},Z&&setTimeout((function(){z.devtools&&lt&&lt.emit("init",ii)}),0);var Xo=/\{\{((?:.|\r?\n)+?)\}\}/g,Qo=/[-.*+?^${}()|[\]\/\\]/g,ta=P((function(t){var e=t[0].replace(Qo,"\\$&"),n=t[1].replace(Qo,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var ea={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=_r(t,"class");n&&(t.staticClass=JSON.stringify(n.replace(/\s+/g," ").trim()));var i=br(t,"class",!1);i&&(t.classBinding=i)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:".concat(t.staticClass,",")),t.classBinding&&(e+="class:".concat(t.classBinding,",")),e}};var na,ia={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=_r(t,"style");n&&(t.staticStyle=JSON.stringify(Br(n)));var i=br(t,"style",!1);i&&(t.styleBinding=i)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:".concat(t.staticStyle,",")),t.styleBinding&&(e+="style:(".concat(t.styleBinding,"),")),e}},ra=function(t){return(na=na||document.createElement("div")).innerHTML=t,na.textContent},oa=b("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),aa=b("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),sa=b("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),ca=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,la=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,da="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(W.source,"]*"),ua="((?:".concat(da,"\\:)?").concat(da,")"),pa=new RegExp("^<".concat(ua)),fa=/^\s*(\/?)>/,ha=new RegExp("^<\\/".concat(ua,"[^>]*>")),ma=/^<!DOCTYPE [^>]+>/i,va=/^<!\--/,ga=/^<!\[/,ya=b("script,style,textarea",!0),ba={},_a={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},wa=/&(?:lt|gt|quot|amp|#39);/g,Ca=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,ka=b("pre,textarea",!0),xa=function(t,e){return t&&ka(t)&&"\n"===e[0]};function Pa(t,e){var n=e?Ca:wa;return t.replace(n,(function(t){return _a[t]}))}function Sa(t,e){for(var n,i,r=[],o=e.expectHTML,a=e.isUnaryTag||I,s=e.canBeLeftOpenTag||I,c=0,l=function(){if(n=t,i&&ya(i)){var l=0,p=i.toLowerCase(),f=ba[p]||(ba[p]=new RegExp("([\\s\\S]*?)(</"+p+"[^>]*>)","i"));C=t.replace(f,(function(t,n,i){return l=i.length,ya(p)||"noscript"===p||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),xa(p,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));c+=t.length-C.length,t=C,u(p,c-l,c)}else{var h=t.indexOf("<");if(0===h){if(va.test(t)){var m=t.indexOf("--\x3e");if(m>=0)return e.shouldKeepComment&&e.comment&&e.comment(t.substring(4,m),c,c+m+3),d(m+3),"continue"}if(ga.test(t)){var v=t.indexOf("]>");if(v>=0)return d(v+2),"continue"}var g=t.match(ma);if(g)return d(g[0].length),"continue";var y=t.match(ha);if(y){var b=c;return d(y[0].length),u(y[1],b,c),"continue"}var _=function(){var e=t.match(pa);if(e){var n={tagName:e[1],attrs:[],start:c};d(e[0].length);for(var i=void 0,r=void 0;!(i=t.match(fa))&&(r=t.match(la)||t.match(ca));)r.start=c,d(r[0].length),r.end=c,n.attrs.push(r);if(i)return n.unarySlash=i[1],d(i[0].length),n.end=c,n}}();if(_)return function(t){var n=t.tagName,c=t.unarySlash;o&&("p"===i&&sa(n)&&u(i),s(n)&&i===n&&u(n));for(var l=a(n)||!!c,d=t.attrs.length,p=new Array(d),f=0;f<d;f++){var h=t.attrs[f],m=h[3]||h[4]||h[5]||"",v="a"===n&&"href"===h[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;p[f]={name:h[1],value:Pa(m,v)}}l||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:p,start:t.start,end:t.end}),i=n);e.start&&e.start(n,p,l,t.start,t.end)}(_),xa(_.tagName,t)&&d(1),"continue"}var w=void 0,C=void 0,k=void 0;if(h>=0){for(C=t.slice(h);!(ha.test(C)||pa.test(C)||va.test(C)||ga.test(C)||(k=C.indexOf("<",1))<0);)h+=k,C=t.slice(h);w=t.substring(0,h)}h<0&&(w=t),w&&d(w.length),e.chars&&w&&e.chars(w,c-w.length,c)}if(t===n)return e.chars&&e.chars(t),"break"};t;){if("break"===l())break}function d(e){c+=e,t=t.substring(e)}function u(t,n,o){var a,s;if(null==n&&(n=c),null==o&&(o=c),t)for(s=t.toLowerCase(),a=r.length-1;a>=0&&r[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var l=r.length-1;l>=a;l--)e.end&&e.end(r[l].tag,n,o);r.length=a,i=a&&r[a-1].tag}else"br"===s?e.start&&e.start(t,[],!0,n,o):"p"===s&&(e.start&&e.start(t,[],!1,n,o),e.end&&e.end(t,n,o))}u()}var Ta,Ma,$a,Oa,La,Da,Ea,Fa,Aa=/^@|^v-on:/,Ia=/^v-|^@|^:|^#/,Ra=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Na=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,ja=/^\(|\)$/g,qa=/^\[.*\]$/,Va=/:(.*)$/,Ha=/^:|^\.|^v-bind:/,Ba=/\.[^.\]]+(?=[^\]]*$)/g,Ua=/^v-slot(:|$)|^#/,za=/[\r\n]/,Wa=/[ \f\t\r\n]+/g,Ya=P(ra),Ga="_empty_";function Ka(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:ns(e),rawAttrsMap:{},parent:n,children:[]}}function Ja(t,e){Ta=e.warn||ur,Da=e.isPreTag||I,Ea=e.mustUseProp||I,Fa=e.getTagNamespace||I;var n=e.isReservedTag||I;(function(t){return!(!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"])&&(t.attrsMap.is?n(t.attrsMap.is):n(t.tag)))}),$a=pr(e.modules,"transformNode"),Oa=pr(e.modules,"preTransformNode"),La=pr(e.modules,"postTransformNode"),Ma=e.delimiters;var i,r,o=[],a=!1!==e.preserveWhitespace,s=e.whitespace,c=!1,l=!1;function d(t){if(u(t),c||t.processed||(t=Za(t,e)),o.length||t===i||i.if&&(t.elseif||t.else)&&Qa(i,{exp:t.elseif,block:t}),r&&!t.forbidden)if(t.elseif||t.else)a=t,s=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(r.children),s&&s.if&&Qa(s,{exp:a.elseif,block:a});else{if(t.slotScope){var n=t.slotTarget||'"default"';(r.scopedSlots||(r.scopedSlots={}))[n]=t}r.children.push(t),t.parent=r}var a,s;t.children=t.children.filter((function(t){return!t.slotScope})),u(t),t.pre&&(c=!1),Da(t.tag)&&(l=!1);for(var d=0;d<La.length;d++)La[d](t,e)}function u(t){if(!l)for(var e=void 0;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return Sa(t,{warn:Ta,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,n,a,s,u){var p=r&&r.ns||Fa(t);Q&&"svg"===p&&(n=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];is.test(i.name)||(i.name=i.name.replace(rs,""),e.push(i))}return e}(n));var f,h=Ka(t,n,r);p&&(h.ns=p),"style"!==(f=h).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||ct()||(h.forbidden=!0);for(var m=0;m<Oa.length;m++)h=Oa[m](h,e)||h;c||(!function(t){null!=_r(t,"v-pre")&&(t.pre=!0)}(h),h.pre&&(c=!0)),Da(h.tag)&&(l=!0),c?function(t){var e=t.attrsList,n=e.length;if(n)for(var i=t.attrs=new Array(n),r=0;r<n;r++)i[r]={name:e[r].name,value:JSON.stringify(e[r].value)},null!=e[r].start&&(i[r].start=e[r].start,i[r].end=e[r].end);else t.pre||(t.plain=!0)}(h):h.processed||(Xa(h),function(t){var e=_r(t,"v-if");if(e)t.if=e,Qa(t,{exp:e,block:t});else{null!=_r(t,"v-else")&&(t.else=!0);var n=_r(t,"v-else-if");n&&(t.elseif=n)}}(h),function(t){var e=_r(t,"v-once");null!=e&&(t.once=!0)}(h)),i||(i=h),a?d(h):(r=h,o.push(h))},end:function(t,e,n){var i=o[o.length-1];o.length-=1,r=o[o.length-1],d(i)},chars:function(t,e,n){if(r&&(!Q||"textarea"!==r.tag||r.attrsMap.placeholder!==t)){var i,o=r.children;if(t=l||t.trim()?"script"===(i=r).tag||"style"===i.tag?t:Ya(t):o.length?s?"condense"===s&&za.test(t)?"":" ":a?" ":"":""){l||"condense"!==s||(t=t.replace(Wa," "));var d=void 0,u=void 0;!c&&" "!==t&&(d=function(t,e){var n=e?ta(e):Xo;if(n.test(t)){for(var i,r,o,a=[],s=[],c=n.lastIndex=0;i=n.exec(t);){(r=i.index)>c&&(s.push(o=t.slice(c,r)),a.push(JSON.stringify(o)));var l=lr(i[1].trim());a.push("_s(".concat(l,")")),s.push({"@binding":l}),c=r+i[0].length}return c<t.length&&(s.push(o=t.slice(c)),a.push(JSON.stringify(o))),{expression:a.join("+"),tokens:s}}}(t,Ma))?u={type:2,expression:d.expression,tokens:d.tokens,text:t}:" "===t&&o.length&&" "===o[o.length-1].text||(u={type:3,text:t}),u&&o.push(u)}}},comment:function(t,e,n){if(r){var i={type:3,text:t,isComment:!0};0,r.children.push(i)}}}),i}function Za(t,e){var n;!function(t){var e=br(t,"key");if(e){t.key=e}}(t),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=br(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=_r(t,"scope"),t.slotScope=e||_r(t,"slot-scope")):(e=_r(t,"slot-scope"))&&(t.slotScope=e);var n=br(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||hr(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot")));if("template"===t.tag){if(a=wr(t,Ua)){0;var i=ts(a),r=i.name,o=i.dynamic;t.slotTarget=r,t.slotTargetDynamic=o,t.slotScope=a.value||Ga}}else{var a;if(a=wr(t,Ua)){0;var s=t.scopedSlots||(t.scopedSlots={}),c=ts(a),l=c.name,d=(o=c.dynamic,s[l]=Ka("template",[],t));d.slotTarget=l,d.slotTargetDynamic=o,d.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=d,!0})),d.slotScope=a.value||Ga,t.children=[],t.plain=!1}}}(t),"slot"===(n=t).tag&&(n.slotName=br(n,"name")),function(t){var e;(e=br(t,"is"))&&(t.component=e);null!=_r(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var i=0;i<$a.length;i++)t=$a[i](t,e)||t;return function(t){var e,n,i,r,o,a,s,c,l=t.attrsList;for(e=0,n=l.length;e<n;e++){if(i=r=l[e].name,o=l[e].value,Ia.test(i))if(t.hasBindings=!0,(a=es(i.replace(Ia,"")))&&(i=i.replace(Ba,"")),Ha.test(i))i=i.replace(Ha,""),o=lr(o),(c=qa.test(i))&&(i=i.slice(1,-1)),a&&(a.prop&&!c&&"innerHtml"===(i=T(i))&&(i="innerHTML"),a.camel&&!c&&(i=T(i)),a.sync&&(s=xr(o,"$event"),c?yr(t,'"update:"+('.concat(i,")"),s,null,!1,0,l[e],!0):(yr(t,"update:".concat(T(i)),s,null,!1,0,l[e]),O(i)!==T(i)&&yr(t,"update:".concat(O(i)),s,null,!1,0,l[e])))),a&&a.prop||!t.component&&Ea(t.tag,t.attrsMap.type,i)?fr(t,i,o,l[e],c):hr(t,i,o,l[e],c);else if(Aa.test(i))i=i.replace(Aa,""),(c=qa.test(i))&&(i=i.slice(1,-1)),yr(t,i,o,a,!1,0,l[e],c);else{var d=(i=i.replace(Ia,"")).match(Va),u=d&&d[1];c=!1,u&&(i=i.slice(0,-(u.length+1)),qa.test(u)&&(u=u.slice(1,-1),c=!0)),vr(t,i,r,o,u,c,a,l[e])}else hr(t,i,JSON.stringify(o),l[e]),!t.component&&"muted"===i&&Ea(t.tag,t.attrsMap.type,i)&&fr(t,i,"true",l[e])}}(t),t}function Xa(t){var e;if(e=_r(t,"v-for")){var n=function(t){var e=t.match(Ra);if(!e)return;var n={};n.for=e[2].trim();var i=e[1].trim().replace(ja,""),r=i.match(Na);r?(n.alias=i.replace(Na,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=i;return n}(e);n&&E(t,n)}}function Qa(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function ts(t){var e=t.name.replace(Ua,"");return e||"#"!==t.name[0]&&(e="default"),qa.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'.concat(e,'"'),dynamic:!1}}function es(t){var e=t.match(Ba);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function ns(t){for(var e={},n=0,i=t.length;n<i;n++)e[t[n].name]=t[n].value;return e}var is=/^xmlns:NS\d+/,rs=/^NS\d+:/;function os(t){return Ka(t.tag,t.attrsList.slice(),t.parent)}var as=[ea,ia,{preTransformNode:function(t,e){if("input"===t.tag){var n=t.attrsMap;if(!n["v-model"])return;var i=void 0;if((n[":type"]||n["v-bind:type"])&&(i=br(t,"type")),n.type||i||!n["v-bind"]||(i="(".concat(n["v-bind"],").type")),i){var r=_r(t,"v-if",!0),o=r?"&&(".concat(r,")"):"",a=null!=_r(t,"v-else",!0),s=_r(t,"v-else-if",!0),c=os(t);Xa(c),mr(c,"type","checkbox"),Za(c,e),c.processed=!0,c.if="(".concat(i,")==='checkbox'")+o,Qa(c,{exp:c.if,block:c});var l=os(t);_r(l,"v-for",!0),mr(l,"type","radio"),Za(l,e),Qa(c,{exp:"(".concat(i,")==='radio'")+o,block:l});var d=os(t);return _r(d,"v-for",!0),mr(d,":type",i),Za(d,e),Qa(c,{exp:r,block:d}),a?c.else=!0:s&&(c.elseif=s),c}}}}];var ss,cs,ls={model:function(t,e,n){n;var i=e.value,r=e.modifiers,o=t.tag,a=t.attrsMap.type;if(t.component)return kr(t,i,r),!1;if("select"===o)!function(t,e,n){var i=n&&n.number,r='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(i?"_n(val)":"val","})"),o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",a="var $$selectedVal = ".concat(r,";");a="".concat(a," ").concat(xr(e,o)),yr(t,"change",a,null,!0)}(t,i,r);else if("input"===o&&"checkbox"===a)!function(t,e,n){var i=n&&n.number,r=br(t,"value")||"null",o=br(t,"true-value")||"true",a=br(t,"false-value")||"false";fr(t,"checked","Array.isArray(".concat(e,")")+"?_i(".concat(e,",").concat(r,")>-1")+("true"===o?":(".concat(e,")"):":_q(".concat(e,",").concat(o,")"))),yr(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(a,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(i?"_n("+r+")":r,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(xr(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(xr(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(xr(e,"$$c"),"}"),null,!0)}(t,i,r);else if("input"===o&&"radio"===a)!function(t,e,n){var i=n&&n.number,r=br(t,"value")||"null";r=i?"_n(".concat(r,")"):r,fr(t,"checked","_q(".concat(e,",").concat(r,")")),yr(t,"change",xr(e,r),null,!0)}(t,i,r);else if("input"===o||"textarea"===o)!function(t,e,n){var i=t.attrsMap.type;0;var r=n||{},o=r.lazy,a=r.number,s=r.trim,c=!o&&"range"!==i,l=o?"change":"range"===i?Lr:"input",d="$event.target.value";s&&(d="$event.target.value.trim()");a&&(d="_n(".concat(d,")"));var u=xr(e,d);c&&(u="if($event.target.composing)return;".concat(u));fr(t,"value","(".concat(e,")")),yr(t,l,u,null,!0),(s||a)&&yr(t,"blur","$forceUpdate()")}(t,i,r);else{if(!z.isReservedTag(o))return kr(t,i,r),!1}return!0},text:function(t,e){e.value&&fr(t,"textContent","_s(".concat(e.value,")"),e)},html:function(t,e){e.value&&fr(t,"innerHTML","_s(".concat(e.value,")"),e)}},ds={expectHTML:!0,modules:as,directives:ls,isPreTag:function(t){return"pre"===t},isUnaryTag:oa,mustUseProp:hi,canBeLeftOpenTag:aa,isReservedTag:Oi,getTagNamespace:Li,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(as)},us=P((function(t){return b("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function ps(t,e){t&&(ss=us(e.staticKeys||""),cs=e.isReservedTag||I,fs(t),hs(t,!1))}function fs(t){if(t.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||_(t.tag)||!cs(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(ss)))}(t),1===t.type){if(!cs(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var e=0,n=t.children.length;e<n;e++){var i=t.children[e];fs(i),i.static||(t.static=!1)}if(t.ifConditions)for(e=1,n=t.ifConditions.length;e<n;e++){var r=t.ifConditions[e].block;fs(r),r.static||(t.static=!1)}}}function hs(t,e){if(1===t.type){if((t.static||t.once)&&(t.staticInFor=e),t.static&&t.children.length&&(1!==t.children.length||3!==t.children[0].type))return void(t.staticRoot=!0);if(t.staticRoot=!1,t.children)for(var n=0,i=t.children.length;n<i;n++)hs(t.children[n],e||!!t.for);if(t.ifConditions)for(n=1,i=t.ifConditions.length;n<i;n++)hs(t.ifConditions[n].block,e)}}var ms=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,vs=/\([^)]*?\);*$/,gs=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ys={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},bs={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},_s=function(t){return"if(".concat(t,")return null;")},ws={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:_s("$event.target !== $event.currentTarget"),ctrl:_s("!$event.ctrlKey"),shift:_s("!$event.shiftKey"),alt:_s("!$event.altKey"),meta:_s("!$event.metaKey"),left:_s("'button' in $event && $event.button !== 0"),middle:_s("'button' in $event && $event.button !== 1"),right:_s("'button' in $event && $event.button !== 2")};function Cs(t,e){var n=e?"nativeOn:":"on:",i="",r="";for(var o in t){var a=ks(t[o]);t[o]&&t[o].dynamic?r+="".concat(o,",").concat(a,","):i+='"'.concat(o,'":').concat(a,",")}return i="{".concat(i.slice(0,-1),"}"),r?n+"_d(".concat(i,",[").concat(r.slice(0,-1),"])"):n+i}function ks(t){if(!t)return"function(){}";if(Array.isArray(t))return"[".concat(t.map((function(t){return ks(t)})).join(","),"]");var e=gs.test(t.value),n=ms.test(t.value),i=gs.test(t.value.replace(vs,""));if(t.modifiers){var r="",o="",a=[],s=function(e){if(ws[e])o+=ws[e],ys[e]&&a.push(e);else if("exact"===e){var n=t.modifiers;o+=_s(["ctrl","shift","alt","meta"].filter((function(t){return!n[t]})).map((function(t){return"$event.".concat(t,"Key")})).join("||"))}else a.push(e)};for(var c in t.modifiers)s(c);a.length&&(r+=function(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(xs).join("&&"),")return null;")}(a)),o&&(r+=o);var l=e?"return ".concat(t.value,".apply(null, arguments)"):n?"return (".concat(t.value,").apply(null, arguments)"):i?"return ".concat(t.value):t.value;return"function($event){".concat(r).concat(l,"}")}return e||n?t.value:"function($event){".concat(i?"return ".concat(t.value):t.value,"}")}function xs(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=ys[t],i=bs[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(i))+")"}var Ps={on:function(t,e){t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}},bind:function(t,e){t.wrapData=function(n){return"_b(".concat(n,",'").concat(t.tag,"',").concat(e.value,",").concat(e.modifiers&&e.modifiers.prop?"true":"false").concat(e.modifiers&&e.modifiers.sync?",true":"",")")}},cloak:A},Ss=function(t){this.options=t,this.warn=t.warn||ur,this.transforms=pr(t.modules,"transformCode"),this.dataGenFns=pr(t.modules,"genData"),this.directives=E(E({},Ps),t.directives);var e=t.isReservedTag||I;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ts(t,e){var n=new Ss(e),i=t?"script"===t.tag?"null":Ms(t,n):'_c("div")';return{render:"with(this){return ".concat(i,"}"),staticRenderFns:n.staticRenderFns}}function Ms(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return $s(t,e);if(t.once&&!t.onceProcessed)return Os(t,e);if(t.for&&!t.forProcessed)return Es(t,e);if(t.if&&!t.ifProcessed)return Ls(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',i=Rs(t,e),r="_t(".concat(n).concat(i?",function(){return ".concat(i,"}"):""),o=t.attrs||t.dynamicAttrs?qs((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:T(t.name),value:t.value,dynamic:t.dynamic}}))):null,a=t.attrsMap["v-bind"];!o&&!a||i||(r+=",null");o&&(r+=",".concat(o));a&&(r+="".concat(o?"":",null",",").concat(a));return r+")"}(t,e);var n=void 0;if(t.component)n=function(t,e,n){var i=e.inlineTemplate?null:Rs(e,n,!0);return"_c(".concat(t,",").concat(Fs(e,n)).concat(i?",".concat(i):"",")")}(t.component,t,e);else{var i=void 0,r=e.maybeComponent(t);(!t.plain||t.pre&&r)&&(i=Fs(t,e));var o=void 0,a=e.options.bindings;r&&a&&!1!==a.__isScriptSetup&&(o=function(t,e){var n=T(e),i=M(n),r=function(r){return t[e]===r?e:t[n]===r?n:t[i]===r?i:void 0},o=r("setup-const")||r("setup-reactive-const");if(o)return o;var a=r("setup-let")||r("setup-ref")||r("setup-maybe-ref");if(a)return a}(a,t.tag)),o||(o="'".concat(t.tag,"'"));var s=t.inlineTemplate?null:Rs(t,e,!0);n="_c(".concat(o).concat(i?",".concat(i):"").concat(s?",".concat(s):"",")")}for(var c=0;c<e.transforms.length;c++)n=e.transforms[c](t,n);return n}return Rs(t,e)||"void 0"}function $s(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return ".concat(Ms(t,e),"}")),e.pre=n,"_m(".concat(e.staticRenderFns.length-1).concat(t.staticInFor?",true":"",")")}function Os(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Ls(t,e);if(t.staticInFor){for(var n="",i=t.parent;i;){if(i.for){n=i.key;break}i=i.parent}return n?"_o(".concat(Ms(t,e),",").concat(e.onceId++,",").concat(n,")"):Ms(t,e)}return $s(t,e)}function Ls(t,e,n,i){return t.ifProcessed=!0,Ds(t.ifConditions.slice(),e,n,i)}function Ds(t,e,n,i){if(!t.length)return i||"_e()";var r=t.shift();return r.exp?"(".concat(r.exp,")?").concat(o(r.block),":").concat(Ds(t,e,n,i)):"".concat(o(r.block));function o(t){return n?n(t,e):t.once?Os(t,e):Ms(t,e)}}function Es(t,e,n,i){var r=t.for,o=t.alias,a=t.iterator1?",".concat(t.iterator1):"",s=t.iterator2?",".concat(t.iterator2):"";return t.forProcessed=!0,"".concat(i||"_l","((").concat(r,"),")+"function(".concat(o).concat(a).concat(s,"){")+"return ".concat((n||Ms)(t,e))+"})"}function Fs(t,e){var n="{",i=function(t,e){var n=t.directives;if(!n)return;var i,r,o,a,s="directives:[",c=!1;for(i=0,r=n.length;i<r;i++){o=n[i],a=!0;var l=e.directives[o.name];l&&(a=!!l(t,o,e.warn)),a&&(c=!0,s+='{name:"'.concat(o.name,'",rawName:"').concat(o.rawName,'"').concat(o.value?",value:(".concat(o.value,"),expression:").concat(JSON.stringify(o.value)):"").concat(o.arg?",arg:".concat(o.isDynamicArg?o.arg:'"'.concat(o.arg,'"')):"").concat(o.modifiers?",modifiers:".concat(JSON.stringify(o.modifiers)):"","},"))}if(c)return s.slice(0,-1)+"]"}(t,e);i&&(n+=i+","),t.key&&(n+="key:".concat(t.key,",")),t.ref&&(n+="ref:".concat(t.ref,",")),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'.concat(t.tag,'",'));for(var r=0;r<e.dataGenFns.length;r++)n+=e.dataGenFns[r](t);if(t.attrs&&(n+="attrs:".concat(qs(t.attrs),",")),t.props&&(n+="domProps:".concat(qs(t.props),",")),t.events&&(n+="".concat(Cs(t.events,!1),",")),t.nativeEvents&&(n+="".concat(Cs(t.nativeEvents,!0),",")),t.slotTarget&&!t.slotScope&&(n+="slot:".concat(t.slotTarget,",")),t.scopedSlots&&(n+="".concat(function(t,e,n){var i=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||As(n)})),r=!!t.if;if(!i)for(var o=t.parent;o;){if(o.slotScope&&o.slotScope!==Ga||o.for){i=!0;break}o.if&&(r=!0),o=o.parent}var a=Object.keys(e).map((function(t){return Is(e[t],n)})).join(",");return"scopedSlots:_u([".concat(a,"]").concat(i?",null,true":"").concat(!i&&r?",null,false,".concat(function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(a)):"",")")}(t,t.scopedSlots,e),",")),t.model&&(n+="model:{value:".concat(t.model.value,",callback:").concat(t.model.callback,",expression:").concat(t.model.expression,"},")),t.inlineTemplate){var o=function(t,e){var n=t.children[0];0;if(n&&1===n.type){var i=Ts(n,e.options);return"inlineTemplate:{render:function(){".concat(i.render,"},staticRenderFns:[").concat(i.staticRenderFns.map((function(t){return"function(){".concat(t,"}")})).join(","),"]}")}}(t,e);o&&(n+="".concat(o,","))}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b(".concat(n,',"').concat(t.tag,'",').concat(qs(t.dynamicAttrs),")")),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function As(t){return 1===t.type&&("slot"===t.tag||t.children.some(As))}function Is(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Ls(t,e,Is,"null");if(t.for&&!t.forProcessed)return Es(t,e,Is);var i=t.slotScope===Ga?"":String(t.slotScope),r="function(".concat(i,"){")+"return ".concat("template"===t.tag?t.if&&n?"(".concat(t.if,")?").concat(Rs(t,e)||"undefined",":undefined"):Rs(t,e)||"undefined":Ms(t,e),"}"),o=i?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(r).concat(o,"}")}function Rs(t,e,n,i,r){var o=t.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?e.maybeComponent(a)?",1":",0":"";return"".concat((i||Ms)(a,e)).concat(s)}var c=n?function(t,e){for(var n=0,i=0;i<t.length;i++){var r=t[i];if(1===r.type){if(Ns(r)||r.ifConditions&&r.ifConditions.some((function(t){return Ns(t.block)}))){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(o,e.maybeComponent):0,l=r||js;return"[".concat(o.map((function(t){return l(t,e)})).join(","),"]").concat(c?",".concat(c):"")}}function Ns(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function js(t,e){return 1===t.type?Ms(t,e):3===t.type&&t.isComment?function(t){return"_e(".concat(JSON.stringify(t.text),")")}(t):function(t){return"_v(".concat(2===t.type?t.expression:Vs(JSON.stringify(t.text)),")")}(t)}function qs(t){for(var e="",n="",i=0;i<t.length;i++){var r=t[i],o=Vs(r.value);r.dynamic?n+="".concat(r.name,",").concat(o,","):e+='"'.concat(r.name,'":').concat(o,",")}return e="{".concat(e.slice(0,-1),"}"),n?"_d(".concat(e,",[").concat(n.slice(0,-1),"])"):e}function Vs(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function Hs(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),A}}function Bs(t){var e=Object.create(null);return function(n,i,r){(i=E({},i)).warn;delete i.warn;var o=i.delimiters?String(i.delimiters)+n:n;if(e[o])return e[o];var a=t(n,i);var s={},c=[];return s.render=Hs(a.render,c),s.staticRenderFns=a.staticRenderFns.map((function(t){return Hs(t,c)})),e[o]=s}}var Us,zs,Ws=(Us=function(t,e){var n=Ja(t.trim(),e);!1!==e.optimize&&ps(n,e);var i=Ts(n,e);return{ast:n,render:i.render,staticRenderFns:i.staticRenderFns}},function(t){function e(e,n){var i=Object.create(t),r=[],o=[];if(n)for(var a in n.modules&&(i.modules=(t.modules||[]).concat(n.modules)),n.directives&&(i.directives=E(Object.create(t.directives||null),n.directives)),n)"modules"!==a&&"directives"!==a&&(i[a]=n[a]);i.warn=function(t,e,n){(n?o:r).push(t)};var s=Us(e.trim(),i);return s.errors=r,s.tips=o,s}return{compile:e,compileToFunctions:Bs(e)}}),Ys=Ws(ds).compileToFunctions;function Gs(t){return(zs=zs||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',zs.innerHTML.indexOf("&#10;")>0}var Ks=!!Z&&Gs(!1),Js=!!Z&&Gs(!0),Zs=P((function(t){var e=Fi(t);return e&&e.innerHTML})),Xs=ii.prototype.$mount;ii.prototype.$mount=function(t,e){if((t=t&&Fi(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var i=n.template;if(i)if("string"==typeof i)"#"===i.charAt(0)&&(i=Zs(i));else{if(!i.nodeType)return this;i=i.innerHTML}else t&&(i=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(i){0;var r=Ys(i,{outputSourceRange:!1,shouldDecodeNewlines:Ks,shouldDecodeNewlinesForHref:Js,delimiters:n.delimiters,comments:n.comments},this),o=r.render,a=r.staticRenderFns;n.render=o,n.staticRenderFns=a}}return Xs.call(this,t,e)},ii.compile=Ys}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var o=e[i]={id:i,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.nc=void 0,(()=>{function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";e=function(){return i};var n,i={},r=Object.prototype,o=r.hasOwnProperty,a=Object.defineProperty||function(t,e,n){t[e]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(n){u=function(t,e,n){return t[e]=n}}function p(t,e,n,i){var r=e&&e.prototype instanceof b?e:b,o=Object.create(r.prototype),s=new D(i||[]);return a(o,"_invoke",{value:M(t,n,s)}),o}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}i.wrap=p;var h="suspendedStart",m="suspendedYield",v="executing",g="completed",y={};function b(){}function _(){}function w(){}var C={};u(C,c,(function(){return this}));var k=Object.getPrototypeOf,x=k&&k(k(E([])));x&&x!==r&&o.call(x,c)&&(C=x);var P=w.prototype=b.prototype=Object.create(C);function S(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function T(e,n){function i(r,a,s,c){var l=f(e[r],e,a);if("throw"!==l.type){var d=l.arg,u=d.value;return u&&"object"==t(u)&&o.call(u,"__await")?n.resolve(u.__await).then((function(t){i("next",t,s,c)}),(function(t){i("throw",t,s,c)})):n.resolve(u).then((function(t){d.value=t,s(d)}),(function(t){return i("throw",t,s,c)}))}c(l.arg)}var r;a(this,"_invoke",{value:function(t,e){function o(){return new n((function(n,r){i(t,e,n,r)}))}return r=r?r.then(o,o):o()}})}function M(t,e,i){var r=h;return function(o,a){if(r===v)throw Error("Generator is already running");if(r===g){if("throw"===o)throw a;return{value:n,done:!0}}for(i.method=o,i.arg=a;;){var s=i.delegate;if(s){var c=$(s,i);if(c){if(c===y)continue;return c}}if("next"===i.method)i.sent=i._sent=i.arg;else if("throw"===i.method){if(r===h)throw r=g,i.arg;i.dispatchException(i.arg)}else"return"===i.method&&i.abrupt("return",i.arg);r=v;var l=f(t,e,i);if("normal"===l.type){if(r=i.done?g:m,l.arg===y)continue;return{value:l.arg,done:i.done}}"throw"===l.type&&(r=g,i.method="throw",i.arg=l.arg)}}}function $(t,e){var i=e.method,r=t.iterator[i];if(r===n)return e.delegate=null,"throw"===i&&t.iterator.return&&(e.method="return",e.arg=n,$(t,e),"throw"===e.method)||"return"!==i&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+i+"' method")),y;var o=f(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,y;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,y):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,y)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function D(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function E(e){if(e||""===e){var i=e[c];if(i)return i.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,a=function t(){for(;++r<e.length;)if(o.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return a.next=a}}throw new TypeError(t(e)+" is not iterable")}return _.prototype=w,a(P,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:_,configurable:!0}),_.displayName=u(w,d,"GeneratorFunction"),i.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},i.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,u(t,d,"GeneratorFunction")),t.prototype=Object.create(P),t},i.awrap=function(t){return{__await:t}},S(T.prototype),u(T.prototype,l,(function(){return this})),i.AsyncIterator=T,i.async=function(t,e,n,r,o){void 0===o&&(o=Promise);var a=new T(p(t,e,n,r),o);return i.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(P),u(P,d,"Generator"),u(P,c,(function(){return this})),u(P,"toString",(function(){return"[object Generator]"})),i.keys=function(t){var e=Object(t),n=[];for(var i in e)n.push(i);return n.reverse(),function t(){for(;n.length;){var i=n.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},i.values=E,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(i,r){return s.type="throw",s.arg=t,e.next=i,r&&(e.method="next",e.arg=n),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var c=o.call(a,"catchLoc"),l=o.call(a,"finallyLoc");if(c&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&o.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=t,a.arg=e,r?(this.method="next",this.next=r.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),L(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var i=n.completion;if("throw"===i.type){var r=i.arg;L(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(t,e,i){return this.delegate={iterator:E(t),resultName:e,nextLoc:i},"next"===this.method&&(this.arg=n),y}},i}function i(t,e,n,i,r,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(i,r)}window.Vue=n(2893).Ay,window.Vue.prototype.$language=document.documentElement.lang.substr(0,2);var r,o,a=new Date,s=a.getDate(),c=a.getMonth()+1,l=a.getFullYear();window.Vue.prototype.$datePickerOptions={minDate:l+"-"+(c>9?"":"0")+c+"-"+(s>9?"":"0")+s,format:"DD.MM.YYYY",locale:window.Vue.prototype.$language,useCurrent:!1},window.Vue.mixin({methods:{checkLicensePlate:(r=e().mark((function t(n,i){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t){fetch("/"+window.Vue.prototype.$language+"/backend/validate/license-plate/"+encodeURIComponent(n)+"/"+i).then((function(t){return t.json()})).then((function(e){t(e.isValid)}))})));case 1:case"end":return t.stop()}}),t)})),o=function(){var t=this,e=arguments;return new Promise((function(n,o){var a=r.apply(t,e);function s(t){i(a,n,o,s,c,"next",t)}function c(t){i(a,n,o,s,c,"throw",t)}s(void 0)}))},function(t,e){return o.apply(this,arguments)})}})})(),window.addEventListener("load",(function(){Vue.component("price",n(1802).A),Vue.component("icon-text-container",n(2450).A),Vue.component("modal",n(2827).A),Vue.component("loading-animation",n(6072).A),Vue.component("nova-datepicker",n(9137).A),Vue.component("license-plate-input",n(9867).A),Vue.component("customer-reviews",n(164).A),window.dispatchEvent(new CustomEvent("global:components:loaded"))})),window.addEventListener("global:components:loaded",(function(){Vue.component("price",n(1802).A),Vue.component("order-change-buttons",n(5054).A),Vue.component("order-payment",n(1927).A),Vue.component("order-payment-billing-data-modal",n(3162).A),Vue.component("order-setup-popup",n(4707).A),Vue.component("cancel-order-popup",n(3225).A),Vue.component("trustpilot-popup",n(9469).A),Vue.component("insurance-popup",n(9498).A),Vue.component("birthday-voucher-popup",n(6140).A),Vue.component("order-revocation",n(3721).A),Vue.component("product-card-container",n(4872).A),Vue.component("vignette-product-card",n(6900).A),Vue.component("toll-product-card",n(6821).A),Vue.component("order-form",n(3253).A),Vue.component("europamaut-order-form",n(8652).A),Vue.component("order-service-fee-info",n(680).A),Vue.component("order",n(8733).A),Vue.component("order-checkout",n(7737).A),Vue.component("order-checkout-payment-methods",n(134).A),Vue.component("order-change-buttons",n(5054).A),Vue.component("payment-methods",n(4655).A),Vue.component("evidence-container",n(6016).A),Vue.component("route-map",n(181).A),window.dispatchEvent(new CustomEvent("custom:components:loaded"))})),(()=>{"use strict";var t=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],e=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function n(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}var i=Array.isArray;function r(t){return null!==t&&"object"==typeof t}function o(t){return"string"==typeof t}var a=Object.prototype.toString,s="[object Object]";function c(t){return a.call(t)===s}function l(t){return null==t}function d(t){return"function"==typeof t}function u(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,o=null;return 1===t.length?r(t[0])||i(t[0])?o=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(r(t[1])||i(t[1]))&&(o=t[1])),{locale:n,params:o}}function p(t){return JSON.parse(JSON.stringify(t))}function f(t,e){return!!~t.indexOf(e)}var h=Object.prototype.hasOwnProperty;function m(t,e){return h.call(t,e)}function v(t){for(var e=arguments,n=Object(t),i=1;i<arguments.length;i++){var o=e[i];if(null!=o){var a=void 0;for(a in o)m(o,a)&&(r(o[a])?n[a]=v(n[a],o[a]):n[a]=o[a])}}return n}function g(t,e){if(t===e)return!0;var n=r(t),o=r(e);if(!n||!o)return!n&&!o&&String(t)===String(e);try{var a=i(t),s=i(e);if(a&&s)return t.length===e.length&&t.every((function(t,n){return g(t,e[n])}));if(a||s)return!1;var c=Object.keys(t),l=Object.keys(e);return c.length===l.length&&c.every((function(n){return g(t[n],e[n])}))}catch(t){return!1}}var y={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,i=e.parent,r=e.props,o=e.slots,a=i.$i18n;if(a){var s=r.path,c=r.locale,l=r.places,d=o(),u=a.i(s,c,function(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}(d)||l?function(t,e){var n=e?function(t){0;return Array.isArray(t)?t.reduce(_,{}):Object.assign({},t)}(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var i=t.every(w);0;return t.reduce(i?b:_,n)}(d.default,l):d),p=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return p?t(p,n,u):u}}};function b(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function _(t,e,n){return t[n]=e,t}function w(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var C,k={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(e,n){var i=n.props,a=n.parent,s=n.data,c=a.$i18n;if(!c)return null;var l=null,d=null;o(i.format)?l=i.format:r(i.format)&&(i.format.key&&(l=i.format.key),d=Object.keys(i.format).reduce((function(e,n){var r;return f(t,n)?Object.assign({},e,((r={})[n]=i.format[n],r)):e}),null));var u=i.locale||c.locale,p=c._ntp(i.value,u,l,d),h=p.map((function(t,e){var n,i=s.scopedSlots&&s.scopedSlots[t.type];return i?i(((n={})[t.type]=t.value,n.index=e,n.parts=p,n)):t.value})),m=i.tag&&!0!==i.tag||!1===i.tag?i.tag:"span";return m?e(m,{attrs:s.attrs,class:s.class,staticClass:s.staticClass},h):h}};function x(t,e,n){T(t,n)&&M(t,e,n)}function P(t,e,n,i){if(T(t,n)){var r=n.context.$i18n;(function(t,e){var n=e.context;return t._locale===n.$i18n.locale})(t,n)&&g(e.value,e.oldValue)&&g(t._localeMessage,r.getLocaleMessage(r.locale))||M(t,e,n)}}function S(t,e,i,r){if(i.context){var o=i.context.$i18n||{};e.modifiers.preserve||o.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}else n("Vue instance does not exists in VNode context")}function T(t,e){var i=e.context;return i?!!i.$i18n||(n("VueI18n instance does not exists in Vue instance"),!1):(n("Vue instance does not exists in VNode context"),!1)}function M(t,e,i){var r,a,s=function(t){var e,n,i,r;o(t)?e=t:c(t)&&(e=t.path,n=t.locale,i=t.args,r=t.choice);return{path:e,locale:n,args:i,choice:r}}(e.value),l=s.path,d=s.locale,u=s.args,p=s.choice;if(l||d||u)if(l){var f=i.context;t._vt=t.textContent=null!=p?(r=f.$i18n).tc.apply(r,[l,p].concat($(d,u))):(a=f.$i18n).t.apply(a,[l].concat($(d,u))),t._locale=f.$i18n.locale,t._localeMessage=f.$i18n.getLocaleMessage(f.$i18n.locale)}else n("`path` is required in v-t directive");else n("value type not supported")}function $(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||c(e))&&n.push(e),n}function O(t,e){void 0===e&&(e={bridge:!1}),O.installed=!0;(C=t).version&&Number(C.version.split(".")[0]);(function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var i=this.$i18n;return i._t.apply(i,[t,i.locale,i._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],i=arguments.length-2;i-- >0;)n[i]=arguments[i+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}})(C),C.mixin(function(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n){if(t.i18n instanceof W){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach((function(t){e=v(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(t){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(c(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof W?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var i=t.i18n&&t.i18n.messages?t.i18n.messages:{};(t.__i18nBridge||t.__i18n).forEach((function(t){i=v(i,JSON.parse(t))})),t.i18n.messages=i}catch(t){}var r=t.i18n.sharedMessages;r&&c(r)&&(t.i18n.messages=v(t.i18n.messages,r)),this._i18n=new W(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof W?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof W&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof W||c(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof W||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof W)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}(e.bridge)),C.directive("t",{bind:x,update:P,unbind:S}),C.component(y.name,y),C.component(k.name,k),C.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var L=function(){this._caches=Object.create(null)};L.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,i="";for(;n<t.length;){var r=t[n++];if("{"===r){i&&e.push({type:"text",value:i}),i="";var o="";for(r=t[n++];void 0!==r&&"}"!==r;)o+=r,r=t[n++];var a="}"===r,s=D.test(o)?"list":a&&E.test(o)?"named":"unknown";e.push({value:o,type:s})}else"%"===r?"{"!==t[n]&&(i+=r):i+=r}return i&&e.push({type:"text",value:i}),e}(t),this._caches[t]=n),function(t,e){var n=[],i=0,o=Array.isArray(e)?"list":r(e)?"named":"unknown";if("unknown"===o)return n;for(;i<t.length;){var a=t[i];switch(a.type){case"text":n.push(a.value);break;case"list":n.push(e[parseInt(a.value,10)]);break;case"named":"named"===o&&n.push(e[a.value])}i++}return n}(n,e)};var D=/^(?:\d)+/,E=/^(?:\w)+/;var F=[];F[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},F[1]={ws:[1],".":[2],"[":[4],eof:[7]},F[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},F[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},F[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},F[5]={"'":[4,0],eof:8,else:[5,0]},F[6]={'"':[4,0],eof:8,else:[6,0]};var A=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function I(t){if(null==t)return"eof";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function R(t){var e,n,i,r=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(i=r,A.test(i)?(n=(e=r).charCodeAt(0))!==e.charCodeAt(e.length-1)||34!==n&&39!==n?e:e.slice(1,-1):"*"+r)}var N=function(){this._cache=Object.create(null)};N.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=function(t){var e,n,i,r,o,a,s,c=[],l=-1,d=0,u=0,p=[];function f(){var e=t[l+1];if(5===d&&"'"===e||6===d&&'"'===e)return l++,i="\\"+e,p[0](),!0}for(p[1]=function(){void 0!==n&&(c.push(n),n=void 0)},p[0]=function(){void 0===n?n=i:n+=i},p[2]=function(){p[0](),u++},p[3]=function(){if(u>0)u--,d=4,p[0]();else{if(u=0,void 0===n)return!1;if(!1===(n=R(n)))return!1;p[1]()}};null!==d;)if(l++,"\\"!==(e=t[l])||!f()){if(r=I(e),8===(o=(s=F[d])[r]||s.else||8))return;if(d=o[0],(a=p[o[1]])&&(i=void 0===(i=o[2])?e:i,!1===a()))return;if(7===d)return c}}(t),e&&(this._cache[t]=e)),e||[]},N.prototype.getPathValue=function(t,e){if(!r(t))return null;var n=this.parsePath(e);if(0===n.length)return null;for(var i=n.length,o=t,a=0;a<i;){var s=o[n[a]];if(null==s)return null;o=s,a++}return o};var j,q=/<\/?[\w\s="/.':;#-\/]+>/,V=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,H=/^@(?:\.([a-zA-Z]+))?:/,B=/[()]/g,U={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},z=new L,W=function(t){var e=this;void 0===t&&(t={}),!C&&"undefined"!=typeof window&&window.Vue&&O(window.Vue);var n=t.locale||"en-US",i=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},o=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||z,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new N,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var i=Object.getPrototypeOf(e);if(i&&i.getChoiceIndex)return i.getChoiceIndex.call(e,t,n);var r,o;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(r=t,o=n,r=Math.abs(r),2===o?r?r>1?1:0:1:r?Math.min(r,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!l(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:i,messages:r,dateTimeFormats:o,numberFormats:a})},Y={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};W.prototype._checkLocaleMessage=function(t,e,r){var a=function(t,e,r,s){if(c(r))Object.keys(r).forEach((function(n){var i=r[n];c(i)?(s.push(n),s.push("."),a(t,e,i,s),s.pop(),s.pop()):(s.push(n),a(t,e,i,s),s.pop())}));else if(i(r))r.forEach((function(n,i){c(n)?(s.push("["+i+"]"),s.push("."),a(t,e,n,s),s.pop(),s.pop()):(s.push("["+i+"]"),a(t,e,n,s),s.pop())}));else if(o(r)){if(q.test(r)){var l="Detected HTML in message '"+r+"' of keypath '"+s.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?n(l):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(l)}}};a(e,t,r,[])},W.prototype._initVM=function(t){var e=C.config.silent;C.config.silent=!0,this._vm=new C({data:t,__VUE18N__INSTANCE__:!0}),C.config.silent=e},W.prototype.destroyVM=function(){this._vm.$destroy()},W.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},W.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.delete(e));}(this._dataListeners,t)},W.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e,n,i=(e=t._dataListeners,n=[],e.forEach((function(t){return n.push(t)})),n),r=i.length;r--;)C.nextTick((function(){i[r]&&i[r].$forceUpdate()}))}),{deep:!0})},W.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(i){n.$set(n,"locale",i),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=i),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var i=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){i.$set(i,"locale",t),i.$forceUpdate()}),{immediate:!0})},W.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},Y.vm.get=function(){return this._vm},Y.messages.get=function(){return p(this._getMessages())},Y.dateTimeFormats.get=function(){return p(this._getDateTimeFormats())},Y.numberFormats.get=function(){return p(this._getNumberFormats())},Y.availableLocales.get=function(){return Object.keys(this.messages).sort()},Y.locale.get=function(){return this._vm.locale},Y.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},Y.fallbackLocale.get=function(){return this._vm.fallbackLocale},Y.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},Y.formatFallbackMessages.get=function(){return this._formatFallbackMessages},Y.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},Y.missing.get=function(){return this._missing},Y.missing.set=function(t){this._missing=t},Y.formatter.get=function(){return this._formatter},Y.formatter.set=function(t){this._formatter=t},Y.silentTranslationWarn.get=function(){return this._silentTranslationWarn},Y.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},Y.silentFallbackWarn.get=function(){return this._silentFallbackWarn},Y.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},Y.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},Y.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},Y.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},Y.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var i=this._getMessages();Object.keys(i).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,i[t])}))}},Y.postTranslation.get=function(){return this._postTranslation},Y.postTranslation.set=function(t){this._postTranslation=t},Y.sync.get=function(){return this._sync},Y.sync.set=function(t){this._sync=t},W.prototype._getMessages=function(){return this._vm.messages},W.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},W.prototype._getNumberFormats=function(){return this._vm.numberFormats},W.prototype._warnDefault=function(t,e,n,i,r,a){if(!l(n))return n;if(this._missing){var s=this._missing.apply(null,[t,e,i,r]);if(o(s))return s}else 0;if(this._formatFallbackMessages){var c=u.apply(void 0,r);return this._render(e,a,c.params,e)}return e},W.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:l(t))&&!l(this._root)&&this._fallbackRoot},W.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},W.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},W.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},W.prototype._interpolate=function(t,e,n,r,a,s,u){if(!e)return null;var p,f=this._path.getPathValue(e,n);if(i(f)||c(f))return f;if(l(f)){if(!c(e))return null;if(!o(p=e[n])&&!d(p))return null}else{if(!o(f)&&!d(f))return null;p=f}return o(p)&&(p.indexOf("@:")>=0||p.indexOf("@.")>=0)&&(p=this._link(t,e,p,r,"raw",s,u)),this._render(p,a,s,n)},W.prototype._link=function(t,e,n,r,o,a,s){var c=n,l=c.match(V);for(var d in l)if(l.hasOwnProperty(d)){var u=l[d],p=u.match(H),h=p[0],m=p[1],v=u.replace(h,"").replace(B,"");if(f(s,v))return c;s.push(v);var g=this._interpolate(t,e,v,r,"raw"===o?"string":o,"raw"===o?void 0:a,s);if(this._isFallbackRoot(g)){if(!this._root)throw Error("unexpected error");var y=this._root.$i18n;g=y._translate(y._getMessages(),y.locale,y.fallbackLocale,v,r,o,a)}g=this._warnDefault(t,v,g,r,i(a)?a:[a],o),this._modifiers.hasOwnProperty(m)?g=this._modifiers[m](g):U.hasOwnProperty(m)&&(g=U[m](g)),s.pop(),c=g?c.replace(u,g):c}return c},W.prototype._createMessageContext=function(t,e,n,o){var a=this,s=i(t)?t:[],c=r(t)?t:{},l=this._getMessages(),d=this.locale;return{list:function(t){return s[t]},named:function(t){return c[t]},values:t,formatter:e,path:n,messages:l,locale:d,linked:function(t){return a._interpolate(d,l[d]||{},t,null,o,void 0,[t])}}},W.prototype._render=function(t,e,n,i){if(d(t))return t(this._createMessageContext(n,this._formatter||z,i,e));var r=this._formatter.interpolate(t,n,i);return r||(r=z.interpolate(t,n,i)),"string"!==e||o(r)?r:r.join("")},W.prototype._appendItemToChain=function(t,e,n){var i=!1;return f(t,e)||(i=!0,e&&(i="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(i=n[e]))),i},W.prototype._appendLocaleToChain=function(t,e,n){var i,r=e.split("-");do{var o=r.join("-");i=this._appendItemToChain(t,o,n),r.splice(-1,1)}while(r.length&&!0===i);return i},W.prototype._appendBlockToChain=function(t,e,n){for(var i=!0,r=0;r<e.length&&"boolean"==typeof i;r++){var a=e[r];o(a)&&(i=this._appendLocaleToChain(t,a,n))}return i},W.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[t];if(!n){e||(e=this.fallbackLocale),n=[];for(var a,s=[t];i(s);)s=this._appendBlockToChain(n,s,e);(s=o(a=i(e)?e:r(e)?e.default?e.default:null:e)?[a]:a)&&this._appendBlockToChain(n,s,null),this._localeChainCache[t]=n}return n},W.prototype._translate=function(t,e,n,i,r,o,a){for(var s,c=this._getLocaleChain(e,n),d=0;d<c.length;d++){var u=c[d];if(!l(s=this._interpolate(u,t[u],i,r,o,a,[i])))return s}return null},W.prototype._t=function(t,e,n,i){for(var r,o=[],a=arguments.length-4;a-- >0;)o[a]=arguments[a+4];if(!t)return"";var s,c=u.apply(void 0,o);this._escapeParameterHtml&&(c.params=(null!=(s=c.params)&&Object.keys(s).forEach((function(t){"string"==typeof s[t]&&(s[t]=s[t].replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;"))})),s));var l=c.locale||e,d=this._translate(n,l,this.fallbackLocale,t,i,"string",c.params);if(this._isFallbackRoot(d)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(o))}return d=this._warnDefault(l,t,d,i,o,"string"),this._postTranslation&&null!=d&&(d=this._postTranslation(d,t)),d},W.prototype.t=function(t){for(var e,n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},W.prototype._i=function(t,e,n,i,r){var o=this._translate(n,e,this.fallbackLocale,t,i,"raw",r);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,o,i,[r],"raw")},W.prototype.i=function(t,e,n){return t?(o(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},W.prototype._tc=function(t,e,n,i,r){for(var o,a=[],s=arguments.length-5;s-- >0;)a[s]=arguments[s+5];if(!t)return"";void 0===r&&(r=1);var c={count:r,n:r},l=u.apply(void 0,a);return l.params=Object.assign(c,l.params),a=null===l.locale?[l.params]:[l.locale,l.params],this.fetchChoice((o=this)._t.apply(o,[t,e,n,i].concat(a)),r)},W.prototype.fetchChoice=function(t,e){if(!t||!o(t))return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},W.prototype.tc=function(t,e){for(var n,i=[],r=arguments.length-2;r-- >0;)i[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(i))},W.prototype._te=function(t,e,n){for(var i=[],r=arguments.length-3;r-- >0;)i[r]=arguments[r+3];var o=u.apply(void 0,i).locale||e;return this._exist(n[o],t)},W.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},W.prototype.getLocaleMessage=function(t){return p(this._vm.messages[t]||{})},W.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},W.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,v(void 0!==this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},W.prototype.getDateTimeFormat=function(t){return p(this._vm.dateTimeFormats[t]||{})},W.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},W.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,v(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},W.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(i)&&delete this._dateTimeFormatters[i]}},W.prototype._localizeDateTime=function(t,e,n,i,r,o){for(var a=e,s=i[a],c=this._getLocaleChain(e,n),d=0;d<c.length;d++){var u=c[d];if(a=u,!l(s=i[u])&&!l(s[r]))break}if(l(s)||l(s[r]))return null;var p,f=s[r];if(o)p=new Intl.DateTimeFormat(a,Object.assign({},f,o));else{var h=a+"__"+r;(p=this._dateTimeFormatters[h])||(p=this._dateTimeFormatters[h]=new Intl.DateTimeFormat(a,f))}return p.format(t)},W.prototype._d=function(t,e,n,i){if(!n)return(i?new Intl.DateTimeFormat(e,i):new Intl.DateTimeFormat(e)).format(t);var r=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n,i);if(this._isFallbackRoot(r)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return r||""},W.prototype.d=function(t){for(var n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];var a=this.locale,s=null,c=null;return 1===n.length?(o(n[0])?s=n[0]:r(n[0])&&(n[0].locale&&(a=n[0].locale),n[0].key&&(s=n[0].key)),c=Object.keys(n[0]).reduce((function(t,i){var r;return f(e,i)?Object.assign({},t,((r={})[i]=n[0][i],r)):t}),null)):2===n.length&&(o(n[0])&&(s=n[0]),o(n[1])&&(a=n[1])),this._d(t,a,s,c)},W.prototype.getNumberFormat=function(t){return p(this._vm.numberFormats[t]||{})},W.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},W.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,v(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},W.prototype._clearNumberFormat=function(t,e){for(var n in e){var i=t+"__"+n;this._numberFormatters.hasOwnProperty(i)&&delete this._numberFormatters[i]}},W.prototype._getNumberFormatter=function(t,e,n,i,r,o){for(var a=e,s=i[a],c=this._getLocaleChain(e,n),d=0;d<c.length;d++){var u=c[d];if(a=u,!l(s=i[u])&&!l(s[r]))break}if(l(s)||l(s[r]))return null;var p,f=s[r];if(o)p=new Intl.NumberFormat(a,Object.assign({},f,o));else{var h=a+"__"+r;(p=this._numberFormatters[h])||(p=this._numberFormatters[h]=new Intl.NumberFormat(a,f))}return p},W.prototype._n=function(t,e,n,i){if(!W.availabilities.numberFormat)return"";if(!n)return(i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e)).format(t);var r=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.format(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},i))}return o||""},W.prototype.n=function(e){for(var n=[],i=arguments.length-1;i-- >0;)n[i]=arguments[i+1];var a=this.locale,s=null,c=null;return 1===n.length?o(n[0])?s=n[0]:r(n[0])&&(n[0].locale&&(a=n[0].locale),n[0].key&&(s=n[0].key),c=Object.keys(n[0]).reduce((function(e,i){var r;return f(t,i)?Object.assign({},e,((r={})[i]=n[0][i],r)):e}),null)):2===n.length&&(o(n[0])&&(s=n[0]),o(n[1])&&(a=n[1])),this._n(e,a,s,c)},W.prototype._ntp=function(t,e,n,i){if(!W.availabilities.numberFormat)return[];if(!n)return(i?new Intl.NumberFormat(e,i):new Intl.NumberFormat(e)).formatToParts(t);var r=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,i),o=r&&r.formatToParts(t);if(this._isFallbackRoot(o)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,i)}return o||[]},Object.defineProperties(W.prototype,Y),Object.defineProperty(W,"availabilities",{get:function(){if(!j){var t="undefined"!=typeof Intl;j={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return j}}),W.install=O,W.version="8.28.2";const G=W;function K(t){return K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},K(t)}window.addEventListener("custom:components:loaded",(function(){window.Vue.use(G),this.i18n=new G({locale:window.Vue.prototype.$language,messages:"object"===("undefined"==typeof locales?"undefined":K(locales))?locales:{},fallbackLocale:"en"}),this.app=new Vue({el:"#app",i18n:this.i18n}),this.dispatchEvent(new CustomEvent("app.booted"))}))})()})();