@vergelijkdirect/comparison-forms 1.0.137 → 1.0.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-rollup/comparison-forms.js +2116 -2112
- package/dist-rollup/comparison-forms.umd.cjs +15 -15
- package/package.json +1 -1
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
(function(b,Q){typeof exports=="object"&&typeof module!="undefined"?module.exports=Q(require("vue")):typeof define=="function"&&define.amd?define(["vue"],Q):(b=typeof globalThis!="undefined"?globalThis:b||self,b.ComparisonForm=Q(b.Vue))})(this,function(b){"use strict";var cP=Object.defineProperty;var ao=Object.getOwnPropertySymbols;var am=Object.prototype.hasOwnProperty,im=Object.prototype.propertyIsEnumerable;var
|
|
1
|
+
(function(b,Q){typeof exports=="object"&&typeof module!="undefined"?module.exports=Q(require("vue")):typeof define=="function"&&define.amd?define(["vue"],Q):(b=typeof globalThis!="undefined"?globalThis:b||self,b.ComparisonForm=Q(b.Vue))})(this,function(b){"use strict";var cP=Object.defineProperty;var ao=Object.getOwnPropertySymbols;var am=Object.prototype.hasOwnProperty,im=Object.prototype.propertyIsEnumerable;var Wl=(b,Q,ne)=>Q in b?cP(b,Q,{enumerable:!0,configurable:!0,writable:!0,value:ne}):b[Q]=ne,ln=(b,Q)=>{for(var ne in Q||(Q={}))am.call(Q,ne)&&Wl(b,ne,Q[ne]);if(ao)for(var ne of ao(Q))im.call(Q,ne)&&Wl(b,ne,Q[ne]);return b};var om=(b,Q)=>{var ne={};for(var C in b)am.call(b,C)&&Q.indexOf(C)<0&&(ne[C]=b[C]);if(b!=null&&ao)for(var C of ao(b))Q.indexOf(C)<0&&im.call(b,C)&&(ne[C]=b[C]);return ne};var oe=(b,Q,ne)=>(Wl(b,typeof Q!="symbol"?Q+"":Q,ne),ne);var se=(b,Q,ne)=>new Promise((C,ge)=>{var _e=Y=>{try{be(ne.next(Y))}catch(mt){ge(mt)}},pt=Y=>{try{be(ne.throw(Y))}catch(mt){ge(mt)}},be=Y=>Y.done?C(Y.value):Promise.resolve(Y.value).then(_e,pt);be((ne=ne.apply(b,Q)).next())});function Q(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const a in n)if(a!=="default"&&!(a in t)){const i=Object.getOwnPropertyDescriptor(n,a);i&&Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:()=>n[a]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const ne=[{title:"Minder dan 6000 km",value:6e3},{title:"6000-12000 km",value:12e3},{title:"12000-20000 km",value:2e4},{title:"meer dan 20000 km",value:99999}],C=b.reactive({birthdate:"",zipcode:"",houseNumber:"",houseNumberAddition:"",email:"",kidsAmount:0,familyComposition:"",partner:{birthdate:"",gender:"",nameInfix:"",initials:"",name:""}}),ge=b.reactive({license:"",kilometrage:6e3,claimFreeYears:"0"}),_e=b.reactive({license:"",oldLicense:"",kilometrage:6e3,claimFreeYears:"0",catalogValue:"",purchaseValue:""}),pt=b.reactive({loanPurpose:null,loanAmount:null}),be=b.reactive({LicensePlate:"",Brand:"",Model:"",Type:"",RegularDriver:"1",ManufacturingYear:"",VehicleType:"",BrandLogo:"",DayValue:null,CatalogValue:null,CarAlarmRequirement:"",TheftProtectionClass:""}),Y=b.reactive({sex:"m",age:0,postcode:"",kind:"dog",breed:null,raceLists:{dog:[],cat:[]}}),mt=b.reactive({zipcode:null,kind:null,condition:null,price:null}),sr=b.reactive({moped:{},motor:{}}),Cr={get path(){return sessionStorage.getItem("path")||"/"},set path(t){t&&sessionStorage.setItem("path",t)},getPath(t){return sessionStorage.getItem(t)||"/"},setPath(t,e="path"){t&&sessionStorage.setItem(e,t)},set(t,e){return sessionStorage.setItem(t,e)},get(t){return sessionStorage.getItem(t)},removeSessionState(...t){t.forEach(e=>{sessionStorage.getItem(e)&&sessionStorage.removeItem(e)})}};//! moment.js
|
|
2
2
|
//! version : 2.29.1
|
|
3
3
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
4
4
|
//! license : MIT
|
|
5
5
|
//! momentjs.com
|
|
6
|
-
var
|
|
7
|
-
[`+i+"] ";for(s in arguments[0])N(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}
|
|
6
|
+
var Gl;function k(){return Gl.apply(null,arguments)}function sm(t){Gl=t}function Ke(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function lr(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function N(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function io(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(N(t,e))return!1;return!0}function je(t){return t===void 0}function Dt(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function un(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Zl(t,e){var r=[],n;for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function Xt(t,e){for(var r in e)N(e,r)&&(t[r]=e[r]);return N(e,"toString")&&(t.toString=e.toString),N(e,"valueOf")&&(t.valueOf=e.valueOf),t}function vt(t,e,r,n){return wu(t,e,r,n,!0).utc()}function lm(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function $(t){return t._pf==null&&(t._pf=lm()),t._pf}var oo;Array.prototype.some?oo=Array.prototype.some:oo=function(t){var e=Object(this),r=e.length>>>0,n;for(n=0;n<r;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};function so(t){if(t._isValid==null){var e=$(t),r=oo.call(e.parsedDateParts,function(a){return a!=null}),n=!isNaN(t._d.getTime())&&e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r);if(t._strict&&(n=n&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=n;else return n}return t._isValid}function Jn(t){var e=vt(NaN);return t!=null?Xt($(e),t):$(e).userInvalidated=!0,e}var lo=k.momentProperties=[],uo=!1;function co(t,e){var r,n,a;if(je(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),je(e._i)||(t._i=e._i),je(e._f)||(t._f=e._f),je(e._l)||(t._l=e._l),je(e._strict)||(t._strict=e._strict),je(e._tzm)||(t._tzm=e._tzm),je(e._isUTC)||(t._isUTC=e._isUTC),je(e._offset)||(t._offset=e._offset),je(e._pf)||(t._pf=$(e)),je(e._locale)||(t._locale=e._locale),lo.length>0)for(r=0;r<lo.length;r++)n=lo[r],a=e[n],je(a)||(t[n]=a);return t}function cn(t){co(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),uo===!1&&(uo=!0,k.updateOffset(this),uo=!1)}function et(t){return t instanceof cn||t!=null&&t._isAMomentObject!=null}function Xl(t){k.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+t)}function Ue(t,e){var r=!0;return Xt(function(){if(k.deprecationHandler!=null&&k.deprecationHandler(null,t),r){var n=[],a,i,s;for(i=0;i<arguments.length;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
7
|
+
[`+i+"] ";for(s in arguments[0])N(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}Xl(t+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
9
|
-
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var Xl={};function Jl(t,e){k.deprecationHandler!=null&&k.deprecationHandler(t,e),Xl[t]||(Zl(e),Xl[t]=!0)}k.suppressDeprecationWarnings=!1,k.deprecationHandler=null;function vt(t){return typeof Function!="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function um(t){var e,r;for(r in t)N(t,r)&&(e=t[r],vt(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function fo(t,e){var r=Xt({},t),n;for(n in e)N(e,n)&&(lr(t[n])&&lr(e[n])?(r[n]={},Xt(r[n],t[n]),Xt(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)N(t,n)&&!N(e,n)&&lr(t[n])&&(r[n]=Xt({},r[n]));return r}function ho(t){t!=null&&this.set(t)}var po;Object.keys?po=Object.keys:po=function(t){var e,r=[];for(e in t)N(t,e)&&r.push(e);return r};var cm={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function dm(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return vt(n)?n.call(e,r):n}function _t(t,e,r){var n=""+Math.abs(t),a=e-n.length,i=t>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var mo=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Qn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,vo={},xr={};function R(t,e,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),t&&(xr[t]=a),e&&(xr[e[0]]=function(){return _t(a.apply(this,arguments),e[1],e[2])}),r&&(xr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function fm(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function hm(t){var e=t.match(mo),r,n;for(r=0,n=e.length;r<n;r++)xr[e[r]]?e[r]=xr[e[r]]:e[r]=fm(e[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=vt(e[s])?e[s].call(a,t):e[s];return i}}function Kn(t,e){return t.isValid()?(e=Ql(e,t.localeData()),vo[e]=vo[e]||hm(e),vo[e](t)):t.localeData().invalidDate()}function Ql(t,e){var r=5;function n(a){return e.longDateFormat(a)||a}for(Qn.lastIndex=0;r>=0&&Qn.test(t);)t=t.replace(Qn,n),Qn.lastIndex=0,r-=1;return t}var pm={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function mm(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(mo).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var vm="Invalid date";function _m(){return this._invalidDate}var ym="%d",gm=/\d{1,2}/;function bm(t){return this._ordinal.replace("%d",t)}var wm={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Sm(t,e,r,n){var a=this._relativeTime[r];return vt(a)?a(t,e,r,n):a.replace(/%d/i,t)}function Om(t,e){var r=this._relativeTime[t>0?"future":"past"];return vt(r)?r(e):r.replace(/%s/i,e)}var dn={};function we(t,e){var r=t.toLowerCase();dn[r]=dn[r+"s"]=dn[e]=t}function Ue(t){return typeof t=="string"?dn[t]||dn[t.toLowerCase()]:void 0}function _o(t){var e={},r,n;for(n in t)N(t,n)&&(r=Ue(n),r&&(e[r]=t[n]));return e}var Kl={};function Se(t,e){Kl[t]=e}function km(t){var e=[],r;for(r in t)N(t,r)&&e.push({unit:r,priority:Kl[r]});return e.sort(function(n,a){return n.priority-a.priority}),e}function ea(t){return t%4===0&&t%100!==0||t%400===0}function We(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function F(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=We(e)),r}function Mr(t,e){return function(r){return r!=null?(eu(this,t,r),k.updateOffset(this,e),this):ta(this,t)}}function ta(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function eu(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&ea(t.year())&&t.month()===1&&t.date()===29?(r=F(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),la(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function Cm(t){return t=Ue(t),vt(this[t])?this[t]():this}function xm(t,e){if(typeof t=="object"){t=_o(t);var r=km(t),n;for(n=0;n<r.length;n++)this[r[n].unit](t[r[n].unit])}else if(t=Ue(t),vt(this[t]))return this[t](e);return this}var tu=/\d/,Ye=/\d\d/,ru=/\d{3}/,yo=/\d{4}/,ra=/[+-]?\d{6}/,K=/\d\d?/,nu=/\d\d\d\d?/,au=/\d\d\d\d\d\d?/,na=/\d{1,3}/,go=/\d{1,4}/,aa=/[+-]?\d{1,6}/,Pr=/\d+/,ia=/[+-]?\d+/,Mm=/Z|[+-]\d\d:?\d\d/gi,oa=/Z|[+-]\d\d(?::?\d\d)?/gi,Pm=/[+-]?\d+(\.\d{1,3})?/,fn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,sa;sa={};function M(t,e,r){sa[t]=vt(e)?e:function(n,a){return n&&r?r:e}}function Rm(t,e){return N(sa,t)?sa[t](e._strict,e._locale):new RegExp(Dm(t))}function Dm(t){return Ne(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,a,i){return r||n||a||i}))}function Ne(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var bo={};function U(t,e){var r,n=e;for(typeof t=="string"&&(t=[t]),Rt(e)&&(n=function(a,i){i[e]=F(a)}),r=0;r<t.length;r++)bo[t[r]]=n}function hn(t,e){U(t,function(r,n,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function jm(t,e,r){e!=null&&N(bo,t)&&bo[t](e,r._a,r,t)}var Oe=0,Dt=1,yt=2,pe=3,et=4,jt=5,ur=6,$m=7,Tm=8;function Fm(t,e){return(t%e+e)%e}var le;Array.prototype.indexOf?le=Array.prototype.indexOf:le=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function la(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=Fm(e,12);return t+=(e-r)/12,r===1?ea(t)?29:28:31-r%7%2}R("M",["MM",2],"Mo",function(){return this.month()+1}),R("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),R("MMMM",0,0,function(t){return this.localeData().months(this,t)}),we("month","M"),Se("month",8),M("M",K),M("MM",K,Ye),M("MMM",function(t,e){return e.monthsShortRegex(t)}),M("MMMM",function(t,e){return e.monthsRegex(t)}),U(["M","MM"],function(t,e){e[Dt]=F(t)-1}),U(["MMM","MMMM"],function(t,e,r,n){var a=r._locale.monthsParse(t,n,r._strict);a!=null?e[Dt]=a:$(r).invalidMonth=t});var Am="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),iu="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ou=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Em=fn,Im=fn;function Ym(t,e){return t?Qe(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||ou).test(e)?"format":"standalone"][t.month()]:Qe(this._months)?this._months:this._months.standalone}function Nm(t,e){return t?Qe(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[ou.test(e)?"format":"standalone"][t.month()]:Qe(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Lm(t,e,r){var n,a,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=mt([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=le.call(this._shortMonthsParse,s),a!==-1?a:null):(a=le.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=le.call(this._shortMonthsParse,s),a!==-1?a:(a=le.call(this._longMonthsParse,s),a!==-1?a:null)):(a=le.call(this._longMonthsParse,s),a!==-1?a:(a=le.call(this._shortMonthsParse,s),a!==-1?a:null))}function Bm(t,e,r){var n,a,i;if(this._monthsParseExact)return Lm.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=mt([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[n].test(t))return n;if(r&&e==="MMM"&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}}function su(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=F(e);else if(e=t.localeData().monthsParse(e),!Rt(e))return t}return r=Math.min(t.date(),la(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function lu(t){return t!=null?(su(this,t),k.updateOffset(this,!0),this):ta(this,"Month")}function Hm(){return la(this.year(),this.month())}function zm(t){return this._monthsParseExact?(N(this,"_monthsRegex")||uu.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(N(this,"_monthsShortRegex")||(this._monthsShortRegex=Em),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function qm(t){return this._monthsParseExact?(N(this,"_monthsRegex")||uu.call(this),t?this._monthsStrictRegex:this._monthsRegex):(N(this,"_monthsRegex")||(this._monthsRegex=Im),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function uu(){function t(s,c){return c.length-s.length}var e=[],r=[],n=[],a,i;for(a=0;a<12;a++)i=mt([2e3,a]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),n.push(this.months(i,"")),n.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),n.sort(t),a=0;a<12;a++)e[a]=Ne(e[a]),r[a]=Ne(r[a]);for(a=0;a<24;a++)n[a]=Ne(n[a]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}R("Y",0,0,function(){var t=this.year();return t<=9999?_t(t,4):"+"+t}),R(0,["YY",2],0,function(){return this.year()%100}),R(0,["YYYY",4],0,"year"),R(0,["YYYYY",5],0,"year"),R(0,["YYYYYY",6,!0],0,"year"),we("year","y"),Se("year",1),M("Y",ia),M("YY",K,Ye),M("YYYY",go,yo),M("YYYYY",aa,ra),M("YYYYYY",aa,ra),U(["YYYYY","YYYYYY"],Oe),U("YYYY",function(t,e){e[Oe]=t.length===2?k.parseTwoDigitYear(t):F(t)}),U("YY",function(t,e){e[Oe]=k.parseTwoDigitYear(t)}),U("Y",function(t,e){e[Oe]=parseInt(t,10)});function pn(t){return ea(t)?366:365}k.parseTwoDigitYear=function(t){return F(t)+(F(t)>68?1900:2e3)};var cu=Mr("FullYear",!0);function Vm(){return ea(this.year())}function Um(t,e,r,n,a,i,s){var c;return t<100&&t>=0?(c=new Date(t+400,e,r,n,a,i,s),isFinite(c.getFullYear())&&c.setFullYear(t)):c=new Date(t,e,r,n,a,i,s),c}function mn(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function ua(t,e,r){var n=7+e-r,a=(7+mn(t,0,n).getUTCDay()-e)%7;return-a+n-1}function du(t,e,r,n,a){var i=(7+r-n)%7,s=ua(t,n,a),c=1+7*(e-1)+i+s,f,l;return c<=0?(f=t-1,l=pn(f)+c):c>pn(t)?(f=t+1,l=c-pn(t)):(f=t,l=c),{year:f,dayOfYear:l}}function vn(t,e,r){var n=ua(t.year(),e,r),a=Math.floor((t.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+$t(s,e,r)):a>$t(t.year(),e,r)?(i=a-$t(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function $t(t,e,r){var n=ua(t,e,r),a=ua(t+1,e,r);return(pn(t)-n+a)/7}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),we("week","w"),we("isoWeek","W"),Se("week",5),Se("isoWeek",5),M("w",K),M("ww",K,Ye),M("W",K),M("WW",K,Ye),hn(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=F(t)});function Wm(t){return vn(t,this._week.dow,this._week.doy).week}var Gm={dow:0,doy:6};function Zm(){return this._week.dow}function Xm(){return this._week.doy}function Jm(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function Qm(t){var e=vn(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}R("d",0,"do","day"),R("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),R("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),R("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),R("e",0,0,"weekday"),R("E",0,0,"isoWeekday"),we("day","d"),we("weekday","e"),we("isoWeekday","E"),Se("day",11),Se("weekday",11),Se("isoWeekday",11),M("d",K),M("e",K),M("E",K),M("dd",function(t,e){return e.weekdaysMinRegex(t)}),M("ddd",function(t,e){return e.weekdaysShortRegex(t)}),M("dddd",function(t,e){return e.weekdaysRegex(t)}),hn(["dd","ddd","dddd"],function(t,e,r,n){var a=r._locale.weekdaysParse(t,n,r._strict);a!=null?e.d=a:$(r).invalidWeekday=t}),hn(["d","e","E"],function(t,e,r,n){e[n]=F(t)});function Km(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function ev(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function wo(t,e){return t.slice(e,7).concat(t.slice(0,e))}var tv="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),fu="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),rv="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),nv=fn,av=fn,iv=fn;function ov(t,e){var r=Qe(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?wo(r,this._week.dow):t?r[t.day()]:r}function sv(t){return t===!0?wo(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function lv(t){return t===!0?wo(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function uv(t,e,r){var n,a,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=mt([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?e==="dddd"?(a=le.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=le.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=le.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=le.call(this._weekdaysParse,s),a!==-1||(a=le.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=le.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=le.call(this._shortWeekdaysParse,s),a!==-1||(a=le.call(this._weekdaysParse,s),a!==-1)?a:(a=le.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=le.call(this._minWeekdaysParse,s),a!==-1||(a=le.call(this._weekdaysParse,s),a!==-1)?a:(a=le.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function cv(t,e,r){var n,a,i;if(this._weekdaysParseExact)return uv.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=mt([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[n].test(t))return n;if(r&&e==="ddd"&&this._shortWeekdaysParse[n].test(t))return n;if(r&&e==="dd"&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}}function dv(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=Km(t,this.localeData()),this.add(t-e,"d")):e}function fv(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function hv(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=ev(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function pv(t){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||So.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(N(this,"_weekdaysRegex")||(this._weekdaysRegex=nv),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function mv(t){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||So.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(N(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=av),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function vv(t){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||So.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(N(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=iv),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function So(){function t(o,d){return d.length-o.length}var e=[],r=[],n=[],a=[],i,s,c,f,l;for(i=0;i<7;i++)s=mt([2e3,1]).day(i),c=Ne(this.weekdaysMin(s,"")),f=Ne(this.weekdaysShort(s,"")),l=Ne(this.weekdays(s,"")),e.push(c),r.push(f),n.push(l),a.push(c),a.push(f),a.push(l);e.sort(t),r.sort(t),n.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Oo(){return this.hours()%12||12}function _v(){return this.hours()||24}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,Oo),R("k",["kk",2],0,_v),R("hmm",0,0,function(){return""+Oo.apply(this)+_t(this.minutes(),2)}),R("hmmss",0,0,function(){return""+Oo.apply(this)+_t(this.minutes(),2)+_t(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+_t(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+_t(this.minutes(),2)+_t(this.seconds(),2)});function hu(t,e){R(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}hu("a",!0),hu("A",!1),we("hour","h"),Se("hour",13);function pu(t,e){return e._meridiemParse}M("a",pu),M("A",pu),M("H",K),M("h",K),M("k",K),M("HH",K,Ye),M("hh",K,Ye),M("kk",K,Ye),M("hmm",nu),M("hmmss",au),M("Hmm",nu),M("Hmmss",au),U(["H","HH"],pe),U(["k","kk"],function(t,e,r){var n=F(t);e[pe]=n===24?0:n}),U(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t}),U(["h","hh"],function(t,e,r){e[pe]=F(t),$(r).bigHour=!0}),U("hmm",function(t,e,r){var n=t.length-2;e[pe]=F(t.substr(0,n)),e[et]=F(t.substr(n)),$(r).bigHour=!0}),U("hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[pe]=F(t.substr(0,n)),e[et]=F(t.substr(n,2)),e[jt]=F(t.substr(a)),$(r).bigHour=!0}),U("Hmm",function(t,e,r){var n=t.length-2;e[pe]=F(t.substr(0,n)),e[et]=F(t.substr(n))}),U("Hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[pe]=F(t.substr(0,n)),e[et]=F(t.substr(n,2)),e[jt]=F(t.substr(a))});function yv(t){return(t+"").toLowerCase().charAt(0)==="p"}var gv=/[ap]\.?m?\.?/i,bv=Mr("Hours",!0);function wv(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var mu={calendar:cm,longDateFormat:pm,invalidDate:vm,ordinal:ym,dayOfMonthOrdinalParse:gm,relativeTime:wm,months:Am,monthsShort:iu,week:Gm,weekdays:tv,weekdaysMin:rv,weekdaysShort:fu,meridiemParse:gv},ae={},_n={},yn;function Sv(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function vu(t){return t&&t.toLowerCase().replace("_","-")}function Ov(t){for(var e=0,r,n,a,i;e<t.length;){for(i=vu(t[e]).split("-"),r=i.length,n=vu(t[e+1]),n=n?n.split("-"):null;r>0;){if(a=ca(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&Sv(i,n)>=r-1)break;r--}e++}return yn}function ca(t){var e=null,r;if(ae[t]===void 0&&typeof module!="undefined"&&module&&module.exports)try{e=yn._abbr,r=require,r("./locale/"+t),Jt(e)}catch(n){ae[t]=null}return ae[t]}function Jt(t,e){var r;return t&&(je(e)?r=Tt(t):r=ko(t,e),r?yn=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),yn._abbr}function ko(t,e){if(e!==null){var r,n=mu;if(e.abbr=t,ae[t]!=null)Jl("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ae[t]._config;else if(e.parentLocale!=null)if(ae[e.parentLocale]!=null)n=ae[e.parentLocale]._config;else if(r=ca(e.parentLocale),r!=null)n=r._config;else return _n[e.parentLocale]||(_n[e.parentLocale]=[]),_n[e.parentLocale].push({name:t,config:e}),null;return ae[t]=new ho(fo(n,e)),_n[t]&&_n[t].forEach(function(a){ko(a.name,a.config)}),Jt(t),ae[t]}else return delete ae[t],null}function kv(t,e){if(e!=null){var r,n,a=mu;ae[t]!=null&&ae[t].parentLocale!=null?ae[t].set(fo(ae[t]._config,e)):(n=ca(t),n!=null&&(a=n._config),e=fo(a,e),n==null&&(e.abbr=t),r=new ho(e),r.parentLocale=ae[t],ae[t]=r),Jt(t)}else ae[t]!=null&&(ae[t].parentLocale!=null?(ae[t]=ae[t].parentLocale,t===Jt()&&Jt(t)):ae[t]!=null&&delete ae[t]);return ae[t]}function Tt(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return yn;if(!Qe(t)){if(e=ca(t),e)return e;t=[t]}return Ov(t)}function Cv(){return po(ae)}function Co(t){var e,r=t._a;return r&&$(t).overflow===-2&&(e=r[Dt]<0||r[Dt]>11?Dt:r[yt]<1||r[yt]>la(r[Oe],r[Dt])?yt:r[pe]<0||r[pe]>24||r[pe]===24&&(r[et]!==0||r[jt]!==0||r[ur]!==0)?pe:r[et]<0||r[et]>59?et:r[jt]<0||r[jt]>59?jt:r[ur]<0||r[ur]>999?ur:-1,$(t)._overflowDayOfYear&&(e<Oe||e>yt)&&(e=yt),$(t)._overflowWeeks&&e===-1&&(e=$m),$(t)._overflowWeekday&&e===-1&&(e=Tm),$(t).overflow=e),t}var xv=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mv=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pv=/Z|[+-]\d\d(?::?\d\d)?/,da=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Rv=/^\/?Date\((-?\d+)/i,Dv=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,jv={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function _u(t){var e,r,n=t._i,a=xv.exec(n)||Mv.exec(n),i,s,c,f;if(a){for($(t).iso=!0,e=0,r=da.length;e<r;e++)if(da[e][1].exec(a[1])){s=da[e][0],i=da[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=xo.length;e<r;e++)if(xo[e][1].exec(a[3])){c=(a[2]||" ")+xo[e][0];break}if(c==null){t._isValid=!1;return}}if(!i&&c!=null){t._isValid=!1;return}if(a[4])if(Pv.exec(a[4]))f="Z";else{t._isValid=!1;return}t._f=s+(c||"")+(f||""),Po(t)}else t._isValid=!1}function $v(t,e,r,n,a,i){var s=[Tv(t),iu.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function Tv(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Fv(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Av(t,e,r){if(t){var n=fu.indexOf(t),a=new Date(e[0],e[1],e[2]).getDay();if(n!==a)return $(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Ev(t,e,r){if(t)return jv[t];if(e)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function yu(t){var e=Dv.exec(Fv(t._i)),r;if(e){if(r=$v(e[4],e[3],e[2],e[5],e[6],e[7]),!Av(e[1],r,t))return;t._a=r,t._tzm=Ev(e[8],e[9],e[10]),t._d=mn.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),$(t).rfc2822=!0}else t._isValid=!1}function Iv(t){var e=Rv.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(_u(t),t._isValid===!1)delete t._isValid;else return;if(yu(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:k.createFromInputFallback(t)}k.createFromInputFallback=Ve("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Rr(t,e,r){return t!=null?t:e!=null?e:r}function Yv(t){var e=new Date(k.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Mo(t){var e,r,n=[],a,i,s;if(!t._d){for(a=Yv(t),t._w&&t._a[yt]==null&&t._a[Dt]==null&&Nv(t),t._dayOfYear!=null&&(s=Rr(t._a[Oe],a[Oe]),(t._dayOfYear>pn(s)||t._dayOfYear===0)&&($(t)._overflowDayOfYear=!0),r=mn(s,0,t._dayOfYear),t._a[Dt]=r.getUTCMonth(),t._a[yt]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=n[e]=a[e];for(;e<7;e++)t._a[e]=n[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[pe]===24&&t._a[et]===0&&t._a[jt]===0&&t._a[ur]===0&&(t._nextDay=!0,t._a[pe]=0),t._d=(t._useUTC?mn:Um).apply(null,n),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[pe]=24),t._w&&typeof t._w.d!="undefined"&&t._w.d!==i&&($(t).weekdayMismatch=!0)}}function Nv(t){var e,r,n,a,i,s,c,f,l;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=Rr(e.GG,t._a[Oe],vn(ee(),1,4).year),n=Rr(e.W,1),a=Rr(e.E,1),(a<1||a>7)&&(f=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,l=vn(ee(),i,s),r=Rr(e.gg,t._a[Oe],l.year),n=Rr(e.w,l.week),e.d!=null?(a=e.d,(a<0||a>6)&&(f=!0)):e.e!=null?(a=e.e+i,(e.e<0||e.e>6)&&(f=!0)):a=i),n<1||n>$t(r,i,s)?$(t)._overflowWeeks=!0:f!=null?$(t)._overflowWeekday=!0:(c=du(r,n,a,i,s),t._a[Oe]=c.year,t._dayOfYear=c.dayOfYear)}k.ISO_8601=function(){},k.RFC_2822=function(){};function Po(t){if(t._f===k.ISO_8601){_u(t);return}if(t._f===k.RFC_2822){yu(t);return}t._a=[],$(t).empty=!0;var e=""+t._i,r,n,a,i,s,c=e.length,f=0,l;for(a=Ql(t._f,t._locale).match(mo)||[],r=0;r<a.length;r++)i=a[r],n=(e.match(Rm(i,t))||[])[0],n&&(s=e.substr(0,e.indexOf(n)),s.length>0&&$(t).unusedInput.push(s),e=e.slice(e.indexOf(n)+n.length),f+=n.length),xr[i]?(n?$(t).empty=!1:$(t).unusedTokens.push(i),jm(i,n,t)):t._strict&&!n&&$(t).unusedTokens.push(i);$(t).charsLeftOver=c-f,e.length>0&&$(t).unusedInput.push(e),t._a[pe]<=12&&$(t).bigHour===!0&&t._a[pe]>0&&($(t).bigHour=void 0),$(t).parsedDateParts=t._a.slice(0),$(t).meridiem=t._meridiem,t._a[pe]=Lv(t._locale,t._a[pe],t._meridiem),l=$(t).era,l!==null&&(t._a[Oe]=t._locale.erasConvertYear(l,t._a[Oe])),Mo(t),Co(t)}function Lv(t,e,r){var n;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(n=t.isPM(r),n&&e<12&&(e+=12),!n&&e===12&&(e=0)),e)}function Bv(t){var e,r,n,a,i,s,c=!1;if(t._f.length===0){$(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<t._f.length;a++)i=0,s=!1,e=co({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],Po(e),so(e)&&(s=!0),i+=$(e).charsLeftOver,i+=$(e).unusedTokens.length*10,$(e).score=i,c?i<n&&(n=i,r=e):(n==null||i<n||s)&&(n=i,r=e,s&&(c=!0));Xt(t,r||e)}function Hv(t){if(!t._d){var e=_o(t._i),r=e.day===void 0?e.date:e.day;t._a=Gl([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),Mo(t)}}function zv(t){var e=new cn(Co(gu(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function gu(t){var e=t._i,r=t._f;return t._locale=t._locale||Tt(t._l),e===null||r===void 0&&e===""?Jn({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ke(e)?new cn(Co(e)):(un(e)?t._d=e:Qe(r)?Bv(t):r?Po(t):qv(t),so(t)||(t._d=null),t))}function qv(t){var e=t._i;je(e)?t._d=new Date(k.now()):un(e)?t._d=new Date(e.valueOf()):typeof e=="string"?Iv(t):Qe(e)?(t._a=Gl(e.slice(0),function(r){return parseInt(r,10)}),Mo(t)):lr(e)?Hv(t):Rt(e)?t._d=new Date(e):k.createFromInputFallback(t)}function bu(t,e,r,n,a){var i={};return(e===!0||e===!1)&&(n=e,e=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(lr(t)&&io(t)||Qe(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=t,i._f=e,i._strict=n,zv(i)}function ee(t,e,r,n){return bu(t,e,r,n,!1)}var Vv=Ve("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ee.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Jn()}),Uv=Ve("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ee.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Jn()});function wu(t,e){var r,n;if(e.length===1&&Qe(e[0])&&(e=e[0]),!e.length)return ee();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function Wv(){var t=[].slice.call(arguments,0);return wu("isBefore",t)}function Gv(){var t=[].slice.call(arguments,0);return wu("isAfter",t)}var Zv=function(){return Date.now?Date.now():+new Date},gn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Xv(t){var e,r=!1,n;for(e in t)if(N(t,e)&&!(le.call(gn,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<gn.length;++n)if(t[gn[n]]){if(r)return!1;parseFloat(t[gn[n]])!==F(t[gn[n]])&&(r=!0)}return!0}function Jv(){return this._isValid}function Qv(){return tt(NaN)}function fa(t){var e=_o(t),r=e.year||0,n=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,c=e.hour||0,f=e.minute||0,l=e.second||0,o=e.millisecond||0;this._isValid=Xv(e),this._milliseconds=+o+l*1e3+f*6e4+c*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=Tt(),this._bubble()}function ha(t){return t instanceof fa}function Ro(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function Kv(t,e,r){var n=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),i=0,s;for(s=0;s<n;s++)(r&&t[s]!==e[s]||!r&&F(t[s])!==F(e[s]))&&i++;return i+a}function Su(t,e){R(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+_t(~~(r/60),2)+e+_t(~~r%60,2)})}Su("Z",":"),Su("ZZ",""),M("Z",oa),M("ZZ",oa),U(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=Do(oa,t)});var e_=/([\+\-]|\d\d)/gi;function Do(t,e){var r=(e||"").match(t),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(e_)||["-",0,0],i=+(a[1]*60)+F(a[2]),i===0?0:a[0]==="+"?i:-i)}function jo(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(Ke(t)||un(t)?t.valueOf():ee(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),k.updateOffset(r,!1),r):ee(t).local()}function $o(t){return-Math.round(t._d.getTimezoneOffset())}k.updateOffset=function(){};function t_(t,e,r){var n=this._offset||0,a;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=Do(oa,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=$o(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==t&&(!e||this._changeInProgress?xu(this,tt(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,k.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:$o(this)}function r_(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function n_(t){return this.utcOffset(0,t)}function a_(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract($o(this),"m")),this}function i_(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=Do(Mm,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function o_(t){return this.isValid()?(t=t?ee(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function s_(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function l_(){if(!je(this._isDSTShifted))return this._isDSTShifted;var t={},e;return co(t,this),t=gu(t),t._a?(e=t._isUTC?mt(t._a):ee(t._a),this._isDSTShifted=this.isValid()&&Kv(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function u_(){return this.isValid()?!this._isUTC:!1}function c_(){return this.isValid()?this._isUTC:!1}function Ou(){return this.isValid()?this._isUTC&&this._offset===0:!1}var d_=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,f_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function tt(t,e){var r=t,n=null,a,i,s;return ha(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:Rt(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=d_.exec(t))?(a=n[1]==="-"?-1:1,r={y:0,d:F(n[yt])*a,h:F(n[pe])*a,m:F(n[et])*a,s:F(n[jt])*a,ms:F(Ro(n[ur]*1e3))*a}):(n=f_.exec(t))?(a=n[1]==="-"?-1:1,r={y:cr(n[2],a),M:cr(n[3],a),w:cr(n[4],a),d:cr(n[5],a),h:cr(n[6],a),m:cr(n[7],a),s:cr(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=h_(ee(r.from),ee(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new fa(r),ha(t)&&N(t,"_locale")&&(i._locale=t._locale),ha(t)&&N(t,"_isValid")&&(i._isValid=t._isValid),i}tt.fn=fa.prototype,tt.invalid=Qv;function cr(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function ku(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function h_(t,e){var r;return t.isValid()&&e.isValid()?(e=jo(e,t),t.isBefore(e)?r=ku(t,e):(r=ku(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Cu(t,e){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(Jl(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=tt(r,n),xu(this,a,t),this}}function xu(t,e,r,n){var a=e._milliseconds,i=Ro(e._days),s=Ro(e._months);t.isValid()&&(n=n==null?!0:n,s&&su(t,ta(t,"Month")+s*r),i&&eu(t,"Date",ta(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),n&&k.updateOffset(t,i||s))}var p_=Cu(1,"add"),m_=Cu(-1,"subtract");function Mu(t){return typeof t=="string"||t instanceof String}function v_(t){return Ke(t)||un(t)||Mu(t)||Rt(t)||y_(t)||__(t)||t===null||t===void 0}function __(t){var e=lr(t)&&!io(t),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||N(t,i);return e&&r}function y_(t){var e=Qe(t),r=!1;return e&&(r=t.filter(function(n){return!Rt(n)&&Mu(t)}).length===0),e&&r}function g_(t){var e=lr(t)&&!io(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||N(t,i);return e&&r}function b_(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function w_(t,e){arguments.length===1&&(arguments[0]?v_(arguments[0])?(t=arguments[0],e=void 0):g_(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||ee(),n=jo(r,this).startOf("day"),a=k.calendarFormat(this,n)||"sameElse",i=e&&(vt(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,ee(r)))}function S_(){return new cn(this)}function O_(t,e){var r=Ke(t)?t:ee(t);return this.isValid()&&r.isValid()?(e=Ue(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function k_(t,e){var r=Ke(t)?t:ee(t);return this.isValid()&&r.isValid()?(e=Ue(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function C_(t,e,r,n){var a=Ke(t)?t:ee(t),i=Ke(e)?e:ee(e);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function x_(t,e){var r=Ke(t)?t:ee(t),n;return this.isValid()&&r.isValid()?(e=Ue(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function M_(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function P_(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function R_(t,e,r){var n,a,i;if(!this.isValid())return NaN;if(n=jo(t,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,e=Ue(e),e){case"year":i=pa(this,n)/12;break;case"month":i=pa(this,n);break;case"quarter":i=pa(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:We(i)}function pa(t,e){if(t.date()<e.date())return-pa(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,"months"),a,i;return e-n<0?(a=t.clone().add(r-1,"months"),i=(e-n)/(n-a)):(a=t.clone().add(r+1,"months"),i=(e-n)/(a-n)),-(r+i)||0}k.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",k.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function D_(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function j_(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?Kn(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):vt(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Kn(r,"Z")):Kn(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $_(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,n,a,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(r+n+a+i)}function T_(t){t||(t=this.isUtc()?k.defaultFormatUtc:k.defaultFormat);var e=Kn(this,t);return this.localeData().postformat(e)}function F_(t,e){return this.isValid()&&(Ke(t)&&t.isValid()||ee(t).isValid())?tt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function A_(t){return this.from(ee(),t)}function E_(t,e){return this.isValid()&&(Ke(t)&&t.isValid()||ee(t).isValid())?tt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function I_(t){return this.to(ee(),t)}function Pu(t){var e;return t===void 0?this._locale._abbr:(e=Tt(t),e!=null&&(this._locale=e),this)}var Ru=Ve("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Du(){return this._locale}var ma=1e3,Dr=60*ma,va=60*Dr,ju=(365*400+97)*24*va;function jr(t,e){return(t%e+e)%e}function $u(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-ju:new Date(t,e,r).valueOf()}function Tu(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-ju:Date.UTC(t,e,r)}function Y_(t){var e,r;if(t=Ue(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Tu:$u,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=jr(e+(this._isUTC?0:this.utcOffset()*Dr),va);break;case"minute":e=this._d.valueOf(),e-=jr(e,Dr);break;case"second":e=this._d.valueOf(),e-=jr(e,ma);break}return this._d.setTime(e),k.updateOffset(this,!0),this}function N_(t){var e,r;if(t=Ue(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Tu:$u,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=va-jr(e+(this._isUTC?0:this.utcOffset()*Dr),va)-1;break;case"minute":e=this._d.valueOf(),e+=Dr-jr(e,Dr)-1;break;case"second":e=this._d.valueOf(),e+=ma-jr(e,ma)-1;break}return this._d.setTime(e),k.updateOffset(this,!0),this}function L_(){return this._d.valueOf()-(this._offset||0)*6e4}function B_(){return Math.floor(this.valueOf()/1e3)}function H_(){return new Date(this.valueOf())}function z_(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function q_(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function V_(){return this.isValid()?this.toISOString():null}function U_(){return so(this)}function W_(){return Xt({},$(this))}function G_(){return $(this).overflow}function Z_(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),M("N",To),M("NN",To),M("NNN",To),M("NNNN",oy),M("NNNNN",sy),U(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,n){var a=r._locale.erasParse(t,n,r._strict);a?$(r).era=a:$(r).invalidEra=t}),M("y",Pr),M("yy",Pr),M("yyy",Pr),M("yyyy",Pr),M("yo",ly),U(["y","yy","yyy","yyyy"],Oe),U(["yo"],function(t,e,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[Oe]=r._locale.eraYearOrdinalParse(t,a):e[Oe]=parseInt(t,10)});function X_(t,e){var r,n,a,i=this._eras||Tt("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=k(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=k(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function J_(t,e,r){var n,a,i=this.eras(),s,c,f;for(t=t.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),c=i[n].abbr.toUpperCase(),f=i[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(c===t)return i[n];break;case"NNNN":if(s===t)return i[n];break;case"NNNNN":if(f===t)return i[n];break}else if([s,c,f].indexOf(t)>=0)return i[n]}function Q_(t,e){var r=t.since<=t.until?1:-1;return e===void 0?k(t.since).year():k(t.since).year()+(e-t.offset)*r}function K_(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].name;return""}function ey(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].narrow;return""}function ty(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].abbr;return""}function ry(){var t,e,r,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(r=a[t].since<=a[t].until?1:-1,n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until||a[t].until<=n&&n<=a[t].since)return(this.year()-k(a[t].since).year())*r+a[t].offset;return this.year()}function ny(t){return N(this,"_erasNameRegex")||Fo.call(this),t?this._erasNameRegex:this._erasRegex}function ay(t){return N(this,"_erasAbbrRegex")||Fo.call(this),t?this._erasAbbrRegex:this._erasRegex}function iy(t){return N(this,"_erasNarrowRegex")||Fo.call(this),t?this._erasNarrowRegex:this._erasRegex}function To(t,e){return e.erasAbbrRegex(t)}function oy(t,e){return e.erasNameRegex(t)}function sy(t,e){return e.erasNarrowRegex(t)}function ly(t,e){return e._eraYearOrdinalRegex||Pr}function Fo(){var t=[],e=[],r=[],n=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)e.push(Ne(s[a].name)),t.push(Ne(s[a].abbr)),r.push(Ne(s[a].narrow)),n.push(Ne(s[a].name)),n.push(Ne(s[a].abbr)),n.push(Ne(s[a].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}R(0,["gg",2],0,function(){return this.weekYear()%100}),R(0,["GG",2],0,function(){return this.isoWeekYear()%100});function _a(t,e){R(0,[t,t.length],0,e)}_a("gggg","weekYear"),_a("ggggg","weekYear"),_a("GGGG","isoWeekYear"),_a("GGGGG","isoWeekYear"),we("weekYear","gg"),we("isoWeekYear","GG"),Se("weekYear",1),Se("isoWeekYear",1),M("G",ia),M("g",ia),M("GG",K,Ye),M("gg",K,Ye),M("GGGG",go,yo),M("gggg",go,yo),M("GGGGG",aa,ra),M("ggggg",aa,ra),hn(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=F(t)}),hn(["gg","GG"],function(t,e,r,n){e[n]=k.parseTwoDigitYear(t)});function uy(t){return Fu.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function cy(t){return Fu.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function dy(){return $t(this.year(),1,4)}function fy(){return $t(this.isoWeekYear(),1,4)}function hy(){var t=this.localeData()._week;return $t(this.year(),t.dow,t.doy)}function py(){var t=this.localeData()._week;return $t(this.weekYear(),t.dow,t.doy)}function Fu(t,e,r,n,a){var i;return t==null?vn(this,n,a).year:(i=$t(t,n,a),e>i&&(e=i),my.call(this,t,e,r,n,a))}function my(t,e,r,n,a){var i=du(t,e,r,n,a),s=mn(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}R("Q",0,"Qo","quarter"),we("quarter","Q"),Se("quarter",7),M("Q",tu),U("Q",function(t,e){e[Dt]=(F(t)-1)*3});function vy(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}R("D",["DD",2],"Do","date"),we("date","D"),Se("date",9),M("D",K),M("DD",K,Ye),M("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),U(["D","DD"],yt),U("Do",function(t,e){e[yt]=F(t.match(K)[0])});var Au=Mr("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),we("dayOfYear","DDD"),Se("dayOfYear",4),M("DDD",na),M("DDDD",ru),U(["DDD","DDDD"],function(t,e,r){r._dayOfYear=F(t)});function _y(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}R("m",["mm",2],0,"minute"),we("minute","m"),Se("minute",14),M("m",K),M("mm",K,Ye),U(["m","mm"],et);var yy=Mr("Minutes",!1);R("s",["ss",2],0,"second"),we("second","s"),Se("second",15),M("s",K),M("ss",K,Ye),U(["s","ss"],jt);var gy=Mr("Seconds",!1);R("S",0,0,function(){return~~(this.millisecond()/100)}),R(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),R(0,["SSS",3],0,"millisecond"),R(0,["SSSS",4],0,function(){return this.millisecond()*10}),R(0,["SSSSS",5],0,function(){return this.millisecond()*100}),R(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),R(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),R(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),R(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),we("millisecond","ms"),Se("millisecond",16),M("S",na,tu),M("SS",na,Ye),M("SSS",na,ru);var Qt,Eu;for(Qt="SSSS";Qt.length<=9;Qt+="S")M(Qt,Pr);function by(t,e){e[ur]=F(("0."+t)*1e3)}for(Qt="S";Qt.length<=9;Qt+="S")U(Qt,by);Eu=Mr("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");function wy(){return this._isUTC?"UTC":""}function Sy(){return this._isUTC?"Coordinated Universal Time":""}var S=cn.prototype;S.add=p_,S.calendar=w_,S.clone=S_,S.diff=R_,S.endOf=N_,S.format=T_,S.from=F_,S.fromNow=A_,S.to=E_,S.toNow=I_,S.get=Cm,S.invalidAt=G_,S.isAfter=O_,S.isBefore=k_,S.isBetween=C_,S.isSame=x_,S.isSameOrAfter=M_,S.isSameOrBefore=P_,S.isValid=U_,S.lang=Ru,S.locale=Pu,S.localeData=Du,S.max=Uv,S.min=Vv,S.parsingFlags=W_,S.set=xm,S.startOf=Y_,S.subtract=m_,S.toArray=z_,S.toObject=q_,S.toDate=H_,S.toISOString=j_,S.inspect=$_,typeof Symbol!="undefined"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),S.toJSON=V_,S.toString=D_,S.unix=B_,S.valueOf=L_,S.creationData=Z_,S.eraName=K_,S.eraNarrow=ey,S.eraAbbr=ty,S.eraYear=ry,S.year=cu,S.isLeapYear=Vm,S.weekYear=uy,S.isoWeekYear=cy,S.quarter=S.quarters=vy,S.month=lu,S.daysInMonth=Hm,S.week=S.weeks=Jm,S.isoWeek=S.isoWeeks=Qm,S.weeksInYear=hy,S.weeksInWeekYear=py,S.isoWeeksInYear=dy,S.isoWeeksInISOWeekYear=fy,S.date=Au,S.day=S.days=dv,S.weekday=fv,S.isoWeekday=hv,S.dayOfYear=_y,S.hour=S.hours=bv,S.minute=S.minutes=yy,S.second=S.seconds=gy,S.millisecond=S.milliseconds=Eu,S.utcOffset=t_,S.utc=n_,S.local=a_,S.parseZone=i_,S.hasAlignedHourOffset=o_,S.isDST=s_,S.isLocal=u_,S.isUtcOffset=c_,S.isUtc=Ou,S.isUTC=Ou,S.zoneAbbr=wy,S.zoneName=Sy,S.dates=Ve("dates accessor is deprecated. Use date instead.",Au),S.months=Ve("months accessor is deprecated. Use month instead",lu),S.years=Ve("years accessor is deprecated. Use year instead",cu),S.zone=Ve("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",r_),S.isDSTShifted=Ve("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",l_);function Oy(t){return ee(t*1e3)}function ky(){return ee.apply(null,arguments).parseZone()}function Iu(t){return t}var L=ho.prototype;L.calendar=dm,L.longDateFormat=mm,L.invalidDate=_m,L.ordinal=bm,L.preparse=Iu,L.postformat=Iu,L.relativeTime=Sm,L.pastFuture=Om,L.set=um,L.eras=X_,L.erasParse=J_,L.erasConvertYear=Q_,L.erasAbbrRegex=ay,L.erasNameRegex=ny,L.erasNarrowRegex=iy,L.months=Ym,L.monthsShort=Nm,L.monthsParse=Bm,L.monthsRegex=qm,L.monthsShortRegex=zm,L.week=Wm,L.firstDayOfYear=Xm,L.firstDayOfWeek=Zm,L.weekdays=ov,L.weekdaysMin=lv,L.weekdaysShort=sv,L.weekdaysParse=cv,L.weekdaysRegex=pv,L.weekdaysShortRegex=mv,L.weekdaysMinRegex=vv,L.isPM=yv,L.meridiem=wv;function ya(t,e,r,n){var a=Tt(),i=mt().set(n,e);return a[r](i,t)}function Yu(t,e,r){if(Rt(t)&&(e=t,t=void 0),t=t||"",e!=null)return ya(t,e,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=ya(t,n,r,"month");return a}function Ao(t,e,r,n){typeof t=="boolean"?(Rt(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,Rt(e)&&(r=e,e=void 0),e=e||"");var a=Tt(),i=t?a._week.dow:0,s,c=[];if(r!=null)return ya(e,(r+i)%7,n,"day");for(s=0;s<7;s++)c[s]=ya(e,(s+i)%7,n,"day");return c}function Cy(t,e){return Yu(t,e,"months")}function xy(t,e){return Yu(t,e,"monthsShort")}function My(t,e,r){return Ao(t,e,r,"weekdays")}function Py(t,e,r){return Ao(t,e,r,"weekdaysShort")}function Ry(t,e,r){return Ao(t,e,r,"weekdaysMin")}Jt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,r=F(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}}),k.lang=Ve("moment.lang is deprecated. Use moment.locale instead.",Jt),k.langData=Ve("moment.langData is deprecated. Use moment.localeData instead.",Tt);var Ft=Math.abs;function Dy(){var t=this._data;return this._milliseconds=Ft(this._milliseconds),this._days=Ft(this._days),this._months=Ft(this._months),t.milliseconds=Ft(t.milliseconds),t.seconds=Ft(t.seconds),t.minutes=Ft(t.minutes),t.hours=Ft(t.hours),t.months=Ft(t.months),t.years=Ft(t.years),this}function Nu(t,e,r,n){var a=tt(e,r);return t._milliseconds+=n*a._milliseconds,t._days+=n*a._days,t._months+=n*a._months,t._bubble()}function jy(t,e){return Nu(this,t,e,1)}function $y(t,e){return Nu(this,t,e,-1)}function Lu(t){return t<0?Math.floor(t):Math.ceil(t)}function Ty(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,a,i,s,c,f;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=Lu(Eo(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,a=We(t/1e3),n.seconds=a%60,i=We(a/60),n.minutes=i%60,s=We(i/60),n.hours=s%24,e+=We(s/24),f=We(Bu(e)),r+=f,e-=Lu(Eo(f)),c=We(r/12),r%=12,n.days=e,n.months=r,n.years=c,this}function Bu(t){return t*4800/146097}function Eo(t){return t*146097/4800}function Fy(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=Ue(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+Bu(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(Eo(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return e*24+n/36e5;case"minute":return e*1440+n/6e4;case"second":return e*86400+n/1e3;case"millisecond":return Math.floor(e*864e5)+n;default:throw new Error("Unknown unit "+t)}}function Ay(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+F(this._months/12)*31536e6:NaN}function At(t){return function(){return this.as(t)}}var Ey=At("ms"),Iy=At("s"),Yy=At("m"),Ny=At("h"),Ly=At("d"),By=At("w"),Hy=At("M"),zy=At("Q"),qy=At("y");function Vy(){return tt(this)}function Uy(t){return t=Ue(t),this.isValid()?this[t+"s"]():NaN}function dr(t){return function(){return this.isValid()?this._data[t]:NaN}}var Wy=dr("milliseconds"),Gy=dr("seconds"),Zy=dr("minutes"),Xy=dr("hours"),Jy=dr("days"),Qy=dr("months"),Ky=dr("years");function eg(){return We(this.days()/7)}var Et=Math.round,$r={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function tg(t,e,r,n,a){return a.relativeTime(e||1,!!r,t,n)}function rg(t,e,r,n){var a=tt(t).abs(),i=Et(a.as("s")),s=Et(a.as("m")),c=Et(a.as("h")),f=Et(a.as("d")),l=Et(a.as("M")),o=Et(a.as("w")),d=Et(a.as("y")),h=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||c<=1&&["h"]||c<r.h&&["hh",c]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(h=h||o<=1&&["w"]||o<r.w&&["ww",o]),h=h||l<=1&&["M"]||l<r.M&&["MM",l]||d<=1&&["y"]||["yy",d],h[2]=e,h[3]=+t>0,h[4]=n,tg.apply(null,h)}function ng(t){return t===void 0?Et:typeof t=="function"?(Et=t,!0):!1}function ag(t,e){return $r[t]===void 0?!1:e===void 0?$r[t]:($r[t]=e,t==="s"&&($r.ss=e-1),!0)}function ig(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=$r,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},$r,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),a=this.localeData(),i=rg(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var Io=Math.abs;function Tr(t){return(t>0)-(t<0)||+t}function ga(){if(!this.isValid())return this.localeData().invalidDate();var t=Io(this._milliseconds)/1e3,e=Io(this._days),r=Io(this._months),n,a,i,s,c=this.asSeconds(),f,l,o,d;return c?(n=We(t/60),a=We(n/60),t%=60,n%=60,i=We(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",f=c<0?"-":"",l=Tr(this._months)!==Tr(c)?"-":"",o=Tr(this._days)!==Tr(c)?"-":"",d=Tr(this._milliseconds)!==Tr(c)?"-":"",f+"P"+(i?l+i+"Y":"")+(r?l+r+"M":"")+(e?o+e+"D":"")+(a||n||t?"T":"")+(a?d+a+"H":"")+(n?d+n+"M":"")+(t?d+s+"S":"")):"P0D"}var E=fa.prototype;E.isValid=Jv,E.abs=Dy,E.add=jy,E.subtract=$y,E.as=Fy,E.asMilliseconds=Ey,E.asSeconds=Iy,E.asMinutes=Yy,E.asHours=Ny,E.asDays=Ly,E.asWeeks=By,E.asMonths=Hy,E.asQuarters=zy,E.asYears=qy,E.valueOf=Ay,E._bubble=Ty,E.clone=Vy,E.get=Uy,E.milliseconds=Wy,E.seconds=Gy,E.minutes=Zy,E.hours=Xy,E.days=Jy,E.weeks=eg,E.months=Qy,E.years=Ky,E.humanize=ig,E.toISOString=ga,E.toString=ga,E.toJSON=ga,E.locale=Pu,E.localeData=Du,E.toIsoString=Ve("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ga),E.lang=Ru,R("X",0,0,"unix"),R("x",0,0,"valueOf"),M("x",ia),M("X",Pm),U("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)}),U("x",function(t,e,r){r._d=new Date(F(t))});//! moment.js
|
|
10
|
-
k.version="2.29.1",sm(ee),k.fn=S,k.min=Wv,k.max=Gv,k.now=Zv,k.utc=mt,k.unix=Oy,k.months=Cy,k.isDate=un,k.locale=Jt,k.invalid=Jn,k.duration=tt,k.isMoment=Ke,k.weekdays=My,k.parseZone=ky,k.localeData=Tt,k.isDuration=ha,k.monthsShort=xy,k.weekdaysMin=Ry,k.defineLocale=ko,k.updateLocale=kv,k.locales=Cv,k.weekdaysShort=Py,k.normalizeUnits=Ue,k.relativeTimeRounding=ng,k.relativeTimeThreshold=ag,k.calendarFormat=b_,k.prototype=S,k.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const og=(t,{valueToMatch:e}={})=>t===e,Hu=(t,{length:e}={})=>t?t.length>=e:!0,sg=(t,{min:e,max:r,compareFullDate:n=!1}={})=>{if(n){const i=k.utc(t,"DD-MM-YYYY");return e.isSameOrBefore(i)&&i.isSameOrBefore(r)}const a=+k.utc(t,"DD-MM-YYYY").format("YYYY");return Number(e)<=a&&Number(r)>=a},lg=(t,{minAge:e=18,maxAge:r=100}={})=>{const n=k.utc(),a=k.utc(t,"DD-MM-YYYY",!0),i=n.diff(a,"years");return e<=i&&i<=r},ug=(t,e,r)=>{const[n,a]=e;return`Je dient tussen de ${n} en ${a} jaar oud te zijn!`};let Z=b.reactive({}),ce=b.reactive({}),ba=b.reactive({});const cg=t=>{Z=t._base,Z.extend("isValue",og,{paramNames:["valueToMatch"]}),Z.extend("minlength",Hu,{paramNames:["length"]}),Z.extend("emailServerValidation",Hu,{immediate:!1}),Z.extend("betweenBirthDate",sg,{paramNames:["min","max","compareFullDate"]}),Z.extend("ageRange",{getMessage:ug,validate:lg},{paramNames:["minAge","maxAge"]}),ce=Z.errors,ba=Z.fields},fr=t=>se(this,null,function*(){const e={};return yield Promise.all(t.map(r=>se(this,null,function*(){yield Z.validate(r);const n=Z.errors.items.find(a=>a.field===r);n&&(e[r]=n.msg)}))),!Object.keys(e).length});let zu=b.reactive({});const dg=b.reactive({});let bn=b.ref(!1),Yo=b.ref(!1),wa=b.ref(!1),No=b.ref(!1),Lo=b.ref(null),qu=b.ref(!1);const fg=ne,Vu=18,hg=99,pg=[{rule:"required",text:"Schadevrije jaren zijn verplicht"}],Uu=(t,e,r,n)=>{b.ref(b.getCurrentInstance().proxy.$refs).value;const a=b.computed(()=>C.birthdate.length===10),i=b.computed(()=>{const _=[];for(let p=0;p<c.value;p++)_.push({title:`${p} jaar`,value:p});return _.length===0&&_.push({title:"0 jaar",value:0}),_}),s=b.computed(()=>Object.keys(t.buttonOptions).length===0?{}:{"--background":t.buttonOptions.normal.background,"--text-color":t.buttonOptions.normal.textColor,"--background-hover":t.buttonOptions.hover.background,"--text-color-hover":t.buttonOptions.hover.textColor}),c=b.computed(()=>{let _;if(C.birthdate.split("_").join("").length===10)_=+k.utc(C.birthdate,"DD-MM-YYYY").format("YYYY");else return 0;const p=Lo.value-_-Vu;return p>0?p:0}),f=()=>{qu.value=!0},l=_=>{ge.claimFreeYears=String(_)},o=()=>{bn.value=!0},d=()=>{bn.value=!1},h=_=>se(this,null,function*(){try{if(Yo.value=!1,bn.value=!1,_.length>=6){const p=yield r.motorService.findMotor(_);sr.motor=p,ge.license=p.LicensePlate,Yo.value=!0}}catch(p){console.error(p),bn.value=!0}}),u=()=>se(this,null,function*(){try{No.value=!1,wa.value=!1,C.zipcode&&C.houseNumber&&(zu=yield r.dataValidationService.validateZipCode(C.zipcode,C.houseNumber,C.houseNumberAddition),No.value=!0)}catch(_){wa.value=!0}}),m=_=>{e("emit-event-hub",{event:"open-quotation-modal",data:{refId:_}})},v=()=>se(this,null,function*(){if((yield fr(["license","incorrectLicensePlateHiddenField","noLicensePlateHiddenField","unknownLicensePlateHiddenField","zipcode","housenumber","housenumberaddition","claimfreeyears","kilometrage","birthdate"]))&&!wa.value)if(t.isOnResultPage)e("submit-form",{userInformation:C,motorState:ge,licenseInformation:sr.motor});else{const p={license:ge.license,zipcode:C.zipcode,housenumber:C.houseNumber,housenumberaddition:C.houseNumberAddition,birthdate:C.birthdate,claimfreeyears:ge.claimFreeYears,kilometrage:ge.kilometrage};p.housenumberaddition||delete p.housenumberaddition,e("redirect-page",{link:t.link,data:p})}});return b.onMounted(()=>{Lo.value=+k().format("YYYY"),t.isOnResultPage&&(ge.license=t.insuranceState.vehicle.LicensePlate,h(t.insuranceState.vehicle.LicensePlate),ge.claimFreeYears=t.insuranceState.claimFreeYears,ge.kilometrage=+t.insuranceState.kilometrage,C.birthdate=t.userInformation.birthdate,C.zipcode=t.userInformation.zipCode,C.houseNumber=t.userInformation.houseNumber,C.houseNumberAddition=t.userInformation.houseNumberAddition,u()),t.isOnResultPage||Cr.removeSessionState("motor-storage","motor-path")}),{licenseError:bn,showLicenseInfo:Yo,houseError:wa,showHouseInformation:No,currentYear:Lo,kilometrages:fg,minAge:Vu,maxAge:hg,claimFreeYearsErrorData:pg,buttonStyles:s,maxClaimFreeYears:c,onLicenseError:o,onLicenseInput:d,validateBeforeSubmit:v,HouseInformation:zu,vehicle:dg,getClaimFreeYearsSelectOptions:i,isModalOpen:qu,birthDateYear:a,openClaimFreeYearModal:f,setClaimFreeYears:l,getHouseInformation:u,getLicenseInformation:h,openQuotationModal:m,userInformation:C,motorState:ge}};function mg(t){return t=t.split("-").join(""),t}function vg(t,e){return t.split("").reduce((r,n,a)=>(n===e&&r.push(a),r),[])}function _g(t){const e=parseInt(t);return!!(e==0||e&&!isNaN(e))}const Bo=["XX-99-XX","99-99-XX","99-XX-XX","XX-XX-99","99-XX-99","XX-99-99","99-XXX-9","XX-999-X","X-999-XX","9-XXX-99","XXX-99-X"];function Ho(t){let e="";if(e=mg(t),e.length>=6){const r=gg(e).join("");let n=[];for(let a=0;a<Bo.length;a++){const i=Bo[a],s=i.split("-").join("");if(s===r){n=s.split(""),n=yg(i,n,e);break}if(Bo.length===a+1)return"no-template-found"}if(n.length===8)return n.join("")}return e}function yg(t,e,r){return e.map((n,a)=>e[a]=r[a]),vg(t,"-").forEach(n=>e.splice(n,0,"-")),e}function gg(t){let e=[];for(let r=0;r<t.length;r++){const n=t[r];n&&(_g(n)?e=[...e,"9"]:e=[...e,"X"])}return e}var g=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function bg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function wg(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var a=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return t[n]}})}),r}var X={},Wu={},Gu={};Object.defineProperty(Gu,"__esModule",{value:!0}),function(t){var e=g&&g.__createBinding||(Object.create?function(n,a,i,s){s===void 0&&(s=i);var c=Object.getOwnPropertyDescriptor(a,i);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,s,c)}:function(n,a,i,s){s===void 0&&(s=i),n[s]=a[i]}),r=g&&g.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&e(a,n,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(Gu,t)}(Wu);var Zu={},zo={},qo={},Vo={};Object.defineProperty(Vo,"__esModule",{value:!0});var Sg=function(){function t(e){this.conditionUrls=e.ConditionUrls,this.insuranceCards=e.InsuranceCards}return t.prototype.getConditionUrls=function(){return this.conditionUrls},t.prototype.getInsuranceCards=function(){return this.insuranceCards},t}();Vo.default=Sg;var Sa={},Uo={},Wo={},de={},Go={},ke={},rt={},Fr={},Zo={},Xu=g&&g.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),a,i=[],s;try{for(;(e===void 0||e-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(c){s={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},Ju=g&&g.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,a=e.length,i;n<a;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))};Object.defineProperty(Zo,"__esModule",{value:!0});var Og=function(){function t(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.values=e,this.cached=r}return t.prototype.constant=function(e,r){this.values[e]=function(){return r}},t.prototype.factory=function(e,r,n){n===void 0&&(n=[]),this.values[e]=function(a){return r.apply(void 0,Ju([],Xu(n.map(function(i){return a.get(i)})),!1))}},t.prototype.service=function(e,r,n){n===void 0&&(n=[]),this.values[e]=function(a){return new(r.bind.apply(r,Ju([void 0],Xu(n.map(function(i){return a.get(i)})),!1)))}},t.prototype.alias=function(e,r){this.values[e]=function(n){return n.get(r)}},t.prototype.get=function(e){if(e in this.cached)return this.cached[e];if(!(e in this.values))throw new Error("Failed to get ".concat(e," in injector"));return this.cached[e]=this.values[e](this)},t.prototype.delete=function(e){(e in this.cached||e in this.values)&&(delete this.cached[e],delete this.values[e])},t.instance=new t,t}();Zo.default=Og;var Xo={},Jo={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.call="__call__";function r(n){if(!(e.call in n))throw new TypeError("Object does not implement [Invokable.call]");var a=function(){return a[e.call].apply(a,arguments)},i=Object.getPrototypeOf(n)===Object.prototype,s=n.constructor,c=Object.prototype.hasOwnProperty.call(n,"name");return Object.defineProperty(a,"name",{configurable:!0,enumerable:c,writable:c,value:i?n[e.call].name:s.name}),Object.defineProperties(a,Object.getOwnPropertyDescriptors(n)),i||Object.setPrototypeOf(a,Object.getPrototypeOf(n)),a}e.create=r}(t.Invokable||(t.Invokable={}))})(Jo);var ye=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof global!="undefined"&&global||{},Pe={searchParams:"URLSearchParams"in ye,iterable:"Symbol"in ye&&"iterator"in Symbol,blob:"FileReader"in ye&&"Blob"in ye&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in ye,arrayBuffer:"ArrayBuffer"in ye};function kg(t){return t&&DataView.prototype.isPrototypeOf(t)}if(Pe.arrayBuffer)var Cg=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],xg=ArrayBuffer.isView||function(t){return t&&Cg.indexOf(Object.prototype.toString.call(t))>-1};function Ar(t){if(typeof t!="string"&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||t==="")throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Qo(t){return typeof t!="string"&&(t=String(t)),t}function Ko(t){var e={next:function(){var r=t.shift();return{done:r===void 0,value:r}}};return Pe.iterable&&(e[Symbol.iterator]=function(){return e}),e}function me(t){this.map={},t instanceof me?t.forEach(function(e,r){this.append(r,e)},this):Array.isArray(t)?t.forEach(function(e){if(e.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}me.prototype.append=function(t,e){t=Ar(t),e=Qo(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},me.prototype.delete=function(t){delete this.map[Ar(t)]},me.prototype.get=function(t){return t=Ar(t),this.has(t)?this.map[t]:null},me.prototype.has=function(t){return this.map.hasOwnProperty(Ar(t))},me.prototype.set=function(t,e){this.map[Ar(t)]=Qo(e)},me.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},me.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),Ko(t)},me.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ko(t)},me.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),Ko(t)},Pe.iterable&&(me.prototype[Symbol.iterator]=me.prototype.entries);function es(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}}function Qu(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Mg(t){var e=new FileReader,r=Qu(e);return e.readAsArrayBuffer(t),r}function Pg(t){var e=new FileReader,r=Qu(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),a=n?n[1]:"utf-8";return e.readAsText(t,a),r}function Rg(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}function Ku(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function ec(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?typeof t=="string"?this._bodyText=t:Pe.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:Pe.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Pe.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():Pe.arrayBuffer&&Pe.blob&&kg(t)?(this._bodyArrayBuffer=Ku(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Pe.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||xg(t))?this._bodyArrayBuffer=Ku(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof t=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Pe.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Pe.blob&&(this.blob=function(){var t=es(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=es(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(Pe.blob)return this.blob().then(Mg);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var t=es(this);if(t)return t;if(this._bodyBlob)return Pg(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Rg(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Pe.formData&&(this.formData=function(){return this.text().then($g)}),this.json=function(){return this.text().then(JSON.parse)},this}var Dg=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function jg(t){var e=t.toUpperCase();return Dg.indexOf(e)>-1?e:t}function hr(t,e){if(!(this instanceof hr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{};var r=e.body;if(t instanceof hr){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new me(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,!r&&t._bodyInit!=null&&(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",(e.headers||!this.headers)&&(this.headers=new me(e.headers)),this.method=jg(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in ye){var i=new AbortController;return i.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(e.cache==="no-store"||e.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var a=/\?/;this.url+=(a.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}hr.prototype.clone=function(){return new hr(this,{body:this._bodyInit})};function $g(t){var e=new FormData;return t.trim().split("&").forEach(function(r){if(r){var n=r.split("="),a=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(a),decodeURIComponent(i))}}),e}function Tg(t){var e=new me,r=t.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
|
|
11
|
-
`)===0?n.substr(1,n.length):n}).forEach(function(n){var a=n.split(":"),i=a.shift().trim();if(i){var s=a.join(":").trim();try{e.append(i,s)}catch(c){console.warn("Response "+c.message)}}}),e}ec.call(hr.prototype);function gt(t,e){if(!(this instanceof gt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=e.status===void 0?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText===void 0?"":""+e.statusText,this.headers=new me(e.headers),this.url=e.url||"",this._initBody(t)}ec.call(gt.prototype),gt.prototype.clone=function(){return new gt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new me(this.headers),url:this.url})},gt.error=function(){var t=new gt(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var Fg=[301,302,303,307,308];gt.redirect=function(t,e){if(Fg.indexOf(e)===-1)throw new RangeError("Invalid status code");return new gt(null,{status:e,headers:{location:t}})};var pr=ye.DOMException;try{new pr}catch(t){pr=function(e,r){this.message=e,this.name=r;var n=Error(e);this.stack=n.stack},pr.prototype=Object.create(Error.prototype),pr.prototype.constructor=pr}function tc(t,e){return new Promise(function(r,n){var a=new hr(t,e);if(a.signal&&a.signal.aborted)return n(new pr("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var l={statusText:i.statusText,headers:Tg(i.getAllResponseHeaders()||"")};a.url.indexOf("file://")===0&&(i.status<200||i.status>599)?l.status=200:l.status=i.status,l.url="responseURL"in i?i.responseURL:l.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout(function(){r(new gt(o,l))},0)},i.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},i.onabort=function(){setTimeout(function(){n(new pr("Aborted","AbortError"))},0)};function c(l){try{return l===""&&ye.location.href?ye.location.href:l}catch(o){return l}}if(i.open(a.method,c(a.url),!0),a.credentials==="include"?i.withCredentials=!0:a.credentials==="omit"&&(i.withCredentials=!1),"responseType"in i&&(Pe.blob?i.responseType="blob":Pe.arrayBuffer&&(i.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof me||ye.Headers&&e.headers instanceof ye.Headers)){var f=[];Object.getOwnPropertyNames(e.headers).forEach(function(l){f.push(Ar(l)),i.setRequestHeader(l,Qo(e.headers[l]))}),a.headers.forEach(function(l,o){f.indexOf(o)===-1&&i.setRequestHeader(o,l)})}else a.headers.forEach(function(l,o){i.setRequestHeader(o,l)});a.signal&&(a.signal.addEventListener("abort",s),i.onreadystatechange=function(){i.readyState===4&&a.signal.removeEventListener("abort",s)}),i.send(typeof a._bodyInit=="undefined"?null:a._bodyInit)})}tc.polyfill=!0,ye.fetch||(ye.fetch=tc,ye.Headers=me,ye.Request=hr,ye.Response=gt),self.fetch.bind(self);var Oa=g&&g.__assign||function(){return Oa=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])}return t},Oa.apply(this,arguments)},Ag=g&&g.__awaiter||function(t,e,r,n){function a(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function c(o){try{l(n.next(o))}catch(d){s(d)}}function f(o){try{l(n.throw(o))}catch(d){s(d)}}function l(o){o.done?i(o.value):a(o.value).then(c,f)}l((n=n.apply(t,e||[])).next())})},Eg=g&&g.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(l){return function(o){return f([l,o])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,a&&(i=l[0]&2?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(o){l=[6,o],a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(Xo,"__esModule",{value:!0});var Ig=Jo,Yg=function(){function t(e){this.interceptors={request:new rc,response:new rc},this.cache="default",this.credentials="omit",this.headers={"Content-Type":"application/json",ITC:"true"},this.keepalive=!1,this.mode="cors",this.redirect="follow",this.referrerPolicy="no-referrer-when-downgrade",this.baseUrl=e,this.transformer=this.defaultTransformer}return t.prototype.setFetchRequestTransformer=function(e){this.transformer=e},t.prototype.defaultTransformer=function(e){return{method:e.method,body:JSON.stringify(e.data)}},t.prototype.getDefaultConfigurations=function(){return{cache:this.cache,credentials:this.credentials,headers:this.headers,keepalive:this.keepalive,mode:this.mode,redirect:this.redirect,referrerPolicy:this.referrerPolicy}},t.prototype.getRequest=function(e){var r=this.getDefaultConfigurations(),n=this.transformer(e);return Oa(Oa({},r),n)},t.prototype.buildUrl=function(e){e===void 0&&(e="");var r="".concat(this.baseUrl).concat(e);return this.removeTrailingSlashes(r)},t.prototype.removeTrailingSlashes=function(e){return e[e.length-1]==="/"&&(e=e.slice(0,-1)),e},t.prototype.fetchRequest=function(e){var r=this,n=this.getRequest(e);return fetch(this.buildUrl(e.url),this.interceptors.request.apply(n)).then(function(a){return Ag(r,void 0,void 0,function(){return Eg(this,function(i){return a.ok?[2,a.json()]:[2,Promise.reject(a.json())]})})})},t.prototype[Ig.Invokable.call]=function(e){return this.fetchRequest(e)},t}(),rc=function(){function t(){this.handlers=[]}return t.prototype.use=function(e,r){return e===void 0&&(e=function(n){return n}),r===void 0&&(r=function(n){return n}),this.handlers.push({fulfilled:e,rejected:r}),this.handlers.length-1},t.prototype.apply=function(e){for(var r=0;r<this.handlers.length;r++)e=this.handlers[r].fulfilled(e);return e},t}();Xo.default=Yg,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClient=t.Injector=void 0;var e=Zo;Object.defineProperty(t,"Injector",{enumerable:!0,get:function(){return e.default}});var r=Xo;Object.defineProperty(t,"HttpClient",{enumerable:!0,get:function(){return r.default}})}(Fr),Object.defineProperty(rt,"__esModule",{value:!0});var nc=Fr,Ng=Jo,Lg=function(){function t(){var e=nc.Injector.instance.get("environment");this.http=Ng.Invokable.create(new nc.HttpClient(this.getBaseUrl(e)))}return t}();rt.default=Lg;var mr={},ts={},ka={};Object.defineProperty(ka,"__esModule",{value:!0});var Bg=function(){function t(e){this.response=e}return t.prototype.next=function(){return this.response},t}();ka.default=Bg;var Hg=g&&g.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),a,i=[],s;try{for(;(e===void 0||e-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(c){s={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},zg=g&&g.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,a=e.length,i;n<a;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))};Object.defineProperty(ts,"__esModule",{value:!0});var qg=ka,Vg=function(){function t(e){e===void 0&&(e=new qg.default([])),this.nextHandler=null,this.rates=e}return t.prototype.setNext=function(e){return this.nextHandler=e,e},t.prototype.handle=function(e,r){e===void 0&&(e=[]),r===void 0&&(r=[]);try{var n=this.rates.next();Array.isArray(n)?e=e.concat.apply(e,zg([],Hg(n),!1)):e.push(n)}catch(a){r.push(a)}return this.nextHandler===null?t.result(e,r):this.nextHandler.handle(e,r)},t.result=function(e,r){if(e.length===0&&r.length>0)throw r.shift();if(e.length===0&&r.length===0)throw Error("There are no rates for requested criteria.");return e},t}();ts.default=Vg;var rs={};Object.defineProperty(rs,"__esModule",{value:!0});var Ug=function(){function t(e){this.error=e}return t.prototype.next=function(){throw this.error},t}();rs.default=Ug,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseHandler=t.ErrorHandler=t.RateHandler=void 0;var e=ts;Object.defineProperty(t,"RateHandler",{enumerable:!0,get:function(){return e.default}});var r=rs;Object.defineProperty(t,"ErrorHandler",{enumerable:!0,get:function(){return r.default}});var n=ka;Object.defineProperty(t,"ResponseHandler",{enumerable:!0,get:function(){return n.default}})}(mr);var Wg=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ca=g&&g.__assign||function(){return Ca=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])}return t},Ca.apply(this,arguments)},ac=g&&g.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ke,"__esModule",{value:!0});var Gg=rt,ic=Fr,xa=mr,Zg=function(t){Wg(e,t);function e(){var r=t.call(this)||this;return r.http.interceptors.request.use(function(n){return n.headers=Ca(Ca({},n.headers),{"X-Comparison-Funnel":r.getFunnel()}),n}),r}return e.prototype.getBaseUrl=function(r){var n=this.getCategory();return"".concat(r.api.baseUrl,"/").concat(r.api.version,"/comparisons/").concat(n)},e.prototype.getConfiguredServices=function(){var r=ic.Injector.instance.get("configuration-service");return r.isConfigured()?r.getConfigurations().getServices(this.getCategory(),this.getFunnel()):this.getAvailableServices()},e.prototype.getFunnel=function(){try{return ic.Injector.instance.get("X-Comparison-Funnel")}catch(r){return this.getCategory()}},e.prototype.getRates=function(r){var n,a,i=[];try{for(var s=ac(this.getConfiguredServices()),c=s.next();!c.done;c=s.next()){var f=c.value;i.push(this.http({method:"post",url:"/".concat(f,"/rates"),data:r}).then(function(l){return new xa.ResponseHandler(l)}).catch(function(l){return new xa.ErrorHandler(l)}))}}catch(l){n={error:l}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return Promise.all(i)},e.prototype.getCoverageRateComparison=function(r,n){var a,i;n===void 0&&(n="");var s=[];try{for(var c=ac(this.getConfiguredServices()),f=c.next();!f.done;f=c.next()){var l=f.value;s.push(this.http({method:"post",url:"/".concat(l,"/coverage_rate_comparison/").concat(n),data:r}).then(function(o){return new xa.ResponseHandler(o)}).catch(function(o){return new xa.ErrorHandler(o)}))}}catch(o){a={error:o}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}return Promise.all(s)},e}(Gg.default);ke.default=Zg;var Xg=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Go,"__esModule",{value:!0});var Jg=ke,Qg=function(t){Xg(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"pet"},e.prototype.getAvailableServices=function(){return["petsecur"]},e.prototype.getPetsecurAdditionalCoverages=function(r){return this.http({method:"post",url:"/petsecur/additional_coverages",data:r})},e}(Jg.default);Go.default=Qg;var ns={},Kg=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ns,"__esModule",{value:!0});var eb=ke,tb=function(t){Kg(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"loan"},e.prototype.getConfiguredServices=function(){return["dkm"]},e.prototype.getAvailableServices=function(){return["dkm"]},e.prototype.getFieldValues=function(r){return this.http({method:"get",url:"/dkm/values/".concat(r)})},e.prototype.loanRequest=function(r){return this.http({method:"post",url:"/request",data:r})},e}(eb.default);ns.default=tb;var as={},rb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(as,"__esModule",{value:!0});var nb=rt,ab=function(t){rb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2")},e.prototype.findVehicle=function(r,n){var a={Comparison:n,LicensePlate:r};if(n==="car")return this.http({method:"get",url:"/data/vehicle/find?"+new URLSearchParams(a)});if(n==="motor"||n==="moped")return this.http({method:"get",url:"/comparisons/".concat(n,"/find/").concat(r)});throw new Error('There is no vehicle data resource for "'.concat(n,'" comparison.'))},e.prototype.checkLicensePlate=function(r,n,a){var i=a.charAt(0).toUpperCase()+a.slice(1)+"SignCode",s={LicensePlate:r,Comparison:a};return s[i]=n,this.http({method:"post",url:"/data/vehicle/check_license_plate",data:s})},e.prototype.validateIBAN=function(r){return this.http({method:"post",url:"/data/iban/validate",data:{IBAN:r}})},e.prototype.calculateMaximumLoanAmount=function(r){return this.http({method:"post",url:"/data/loan/dkm/maximum-amount",data:r})},e}(nb.default);as.default=ab;var is={},ib=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(is,"__esModule",{value:!0});var ob=ke,sb=function(t){ib(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"home"},e.prototype.getAvailableServices=function(){return["risk","moneyview","rolls"]},e.prototype.getAmount=function(r){return this.http({method:"post",url:"/risk/amount",data:r})},e.prototype.findHome=function(r){return this.http({method:"post",url:"/risk/find",data:r})},e.prototype.getAddition=function(r){return this.http({method:"post",url:"/risk/addition",data:r})},e}(ob.default);is.default=sb;var os={},lb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(os,"__esModule",{value:!0});var ub=ke,cb=function(t){lb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"moped"},e.prototype.getAvailableServices=function(){return["risk","moneyview","vergelijkdirect","enra"]},e.prototype.findMoped=function(r){return this.http({method:"get",url:"/find/".concat(r)})},e.prototype.checkValidity=function(r){return this.http({method:"post",url:"/check_validity",data:r})},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getMoneyviewAdditionalCoverages=function(r){return this.http({method:"post",url:"/moneyview/additional_coverages",data:r})},e.prototype.getVergelijkdirectAdditionalCoverages=function(r){return this.http({method:"post",url:"/vergelijkdirect/additional_coverages",data:r})},e.prototype.getEnraAdditionalCoverages=function(r){return this.http({method:"post",url:"/enra/additional_coverages",data:r})},e}(ub.default);os.default=cb;var ss={},db=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ss,"__esModule",{value:!0});var fb=ke,hb=function(t){db(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"motor"},e.prototype.getAvailableServices=function(){return["risk","moneyview","rolls"]},e.prototype.findMotor=function(r){return this.http({method:"get",url:"/find/".concat(r)})},e.prototype.checkValidity=function(r){return this.http({method:"post",url:"/check_validity",data:r})},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getMoneyviewAdditionalCoverages=function(r){return this.http({method:"post",url:"/moneyview/additional_coverages",data:r})},e.prototype.getRollsAdditionalCoverages=function(r){return this.http({method:"post",url:"/rolls/additional_coverages",data:r})},e}(fb.default);ss.default=hb;var ls={},pb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ls,"__esModule",{value:!0});var mb=ke,vb=function(t){pb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"car"},e.prototype.getAvailableServices=function(){return["risk","moneyview","rolls"]},e.prototype.findCar=function(r){return this.http({method:"get",url:"/find/".concat(r)})},e.prototype.checkValidity=function(r){return this.http({method:"post",url:"/check_validity",data:r})},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getMoneyviewAdditionalCoverages=function(r){return this.http({method:"post",url:"/moneyview/additional_coverages",data:r})},e.prototype.getRollsAdditionalCoverages=function(r){return this.http({method:"post",url:"/rolls/additional_coverages",data:r})},e}(mb.default);ls.default=vb;var us={},_b=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(us,"__esModule",{value:!0});var yb=ke,gb=function(t){_b(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"caravan"},e.prototype.getAvailableServices=function(){return["risk"]},e.prototype.getCaravanBrands=function(r){return this.http({method:"get",url:"/brands?"+new URLSearchParams(r)})},e.prototype.getCaravanVDBrands=function(r){return this.http({method:"get",url:"/vd-brands?"+new URLSearchParams(r)})},e.prototype.getCaravanModels=function(r){return this.http({method:"get",url:"/models?"+new URLSearchParams(r)})},e.prototype.getCaravanTypes=function(r){return this.http({method:"get",url:"/types?"+new URLSearchParams(r)})},e.prototype.getCaravanCatalogPrice=function(r){return this.http({method:"get",url:"/catalog-price?"+new URLSearchParams(r)})},e}(yb.default);us.default=gb;var cs={},bb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(cs,"__esModule",{value:!0});var oc=mr,wb=ke,Sb=function(t){bb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"bike"},e.prototype.getAvailableServices=function(){return["risk","laka","enra","vergelijkdirect"]},e.prototype.getEnraRates=function(r){return this.http({method:"post",url:"/enra/rates",data:r}).then(function(n){return new oc.ResponseHandler(n)}).catch(function(n){return new oc.ErrorHandler(n)})},e}(wb.default);cs.default=Sb;var ds={},Ob=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ds,"__esModule",{value:!0});var kb=rt,Cb=function(t){Ob(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2/package")},e.prototype.calculatePackage=function(r){return this.http({method:"post",url:"/calculate",data:r})},e.prototype.calculateAdditionalCoverages=function(r){return this.http({method:"post",url:"/calculate_additional_coverages",data:r})},e.prototype.calculatePackageDiscount=function(r,n){return this.http({method:"post",url:"/discount/".concat(r,"/calculate"),data:n})},e.prototype.calculatePackages=function(r){return this.http({method:"post",url:"/".concat(r,"/calculate")})},e.prototype.requestPackage=function(r){return this.http({method:"post",url:"/request",data:r})},e.prototype.addAdditionalUserInfo=function(r){return this.http({method:"post",url:"/add_additional_user_info",data:r})},e.prototype.annualDiscount=function(r){return this.http({method:"post",url:"/annual_discount",data:r})},e.prototype.savePackage=function(r){return this.http({method:"post",url:"/save",data:r})},e}(kb.default);ds.default=Cb;var fs={},xb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(fs,"__esModule",{value:!0});var Mb=ke,Pb=function(t){xb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"household"},e.prototype.getAvailableServices=function(){return["risk","moneyview","rolls"]},e.prototype.getAmount=function(r){return this.http({method:"post",url:"/risk/amount",data:r})},e}(Mb.default);fs.default=Pb;var hs={},Rb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(hs,"__esModule",{value:!0});var sc=mr,Db=ke,jb=function(t){Rb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"housing"},e.prototype.getAvailableServices=function(){return["risk","moneyview","rolls"]},e.prototype.getMoneyviewRates=function(r){return this.http({method:"post",url:"/moneyview/rates",data:r}).then(function(n){return new sc.ResponseHandler(n)}).catch(function(n){return new sc.ErrorHandler(n)})},e}(Db.default);hs.default=jb;var ps={},$b=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ps,"__esModule",{value:!0});var Tb=ke,Fb=function(t){$b(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"liability"},e.prototype.getAvailableServices=function(){return["risk","moneyview"]},e}(Tb.default);ps.default=Fb;var ms={},Ab=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ms,"__esModule",{value:!0});var Eb=ke,Ib=function(t){Ab(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"legal-assistance"},e.prototype.getAvailableServices=function(){return["risk","moneyview","vergelijkdirect"]},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getMoneyviewAdditionalCoverages=function(r){return this.http({method:"post",url:"/moneyview/additional_coverages",data:r})},e.prototype.getVergelijkdirectAdditionalCoverages=function(r){return this.http({method:"post",url:"/vergelijkdirect/additional_coverages",data:r})},e}(Eb.default);ms.default=Ib;var vs={},Yb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(vs,"__esModule",{value:!0});var Nb=rt,Lb=function(t){Yb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/partner")},e.prototype.getPartnerInfo=function(r){var n=r===null?"":r;return this.http({method:"get",url:"/info/".concat(n)})},e.prototype.getPartnerVersion=function(){return this.http({method:"get",url:"/info/version"})},e}(Nb.default);vs.default=Lb;var _s={},Bb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(_s,"__esModule",{value:!0});var Hb=rt,zb=function(t){Bb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/scripts/comparison-module")},e.prototype.getScriptSource=function(){return this.http({method:"get",url:"/source"})},e.prototype.getInitializationData=function(){return this.http({method:"get",url:"/initialize"})},e}(Hb.default);_s.default=zb;var ys={},qb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ys,"__esModule",{value:!0});var Vb=rt,Ub=function(t){qb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2/categories/documents/moneyview")},e.prototype.getMoneyviewDocumentList=function(r){return this.http({method:"post",url:"/list",data:r})},e}(Vb.default);ys.default=Ub;var gs={},Wb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(gs,"__esModule",{value:!0});var Gb=rt,Zb=function(t){Wb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2/comparison")},e.prototype.update=function(r,n){return this.http({method:"put",url:"/".concat(n),data:r})},e.prototype.create=function(r){return this.http({method:"post",data:r})},e.prototype.get=function(r){return this.http({method:"get",url:"/".concat(r)})},e}(Gb.default);gs.default=Zb;var bs={},Xb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(bs,"__esModule",{value:!0});var Jb=rt,Qb=function(t){Xb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v1")},e.prototype.validateEmail=function(r){return this.http({method:"post",url:"/address/validate",data:{email:r}})},e.prototype.validateIBAN=function(r){return this.http({method:"post",url:"/iban/validate",data:{iban:r}})},e.prototype.validateZipCode=function(r,n,a){return a===void 0&&(a=""),this.http({method:"post",url:"/zipcode/validate",data:{ZipCode:r,HouseNumber:n,HouseNumberAddition:a}})},e}(Jb.default);bs.default=Qb,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.DataValidationResource=t.ComparisonResource=t.DocumentResource=t.ComparisonModuleResource=t.PartnerResource=t.LegalAssistanceResource=t.LiabilityResource=t.HousingResource=t.HouseholdResource=t.PackageResource=t.BikeResource=t.CaravanResource=t.CarResource=t.MotorResource=t.MopedResource=t.HomeResource=t.DataResource=t.LoanResource=t.PetResource=void 0;var e=Go;Object.defineProperty(t,"PetResource",{enumerable:!0,get:function(){return e.default}});var r=ns;Object.defineProperty(t,"LoanResource",{enumerable:!0,get:function(){return r.default}});var n=as;Object.defineProperty(t,"DataResource",{enumerable:!0,get:function(){return n.default}});var a=is;Object.defineProperty(t,"HomeResource",{enumerable:!0,get:function(){return a.default}});var i=os;Object.defineProperty(t,"MopedResource",{enumerable:!0,get:function(){return i.default}});var s=ss;Object.defineProperty(t,"MotorResource",{enumerable:!0,get:function(){return s.default}});var c=ls;Object.defineProperty(t,"CarResource",{enumerable:!0,get:function(){return c.default}});var f=us;Object.defineProperty(t,"CaravanResource",{enumerable:!0,get:function(){return f.default}});var l=cs;Object.defineProperty(t,"BikeResource",{enumerable:!0,get:function(){return l.default}});var o=ds;Object.defineProperty(t,"PackageResource",{enumerable:!0,get:function(){return o.default}});var d=fs;Object.defineProperty(t,"HouseholdResource",{enumerable:!0,get:function(){return d.default}});var h=hs;Object.defineProperty(t,"HousingResource",{enumerable:!0,get:function(){return h.default}});var u=ps;Object.defineProperty(t,"LiabilityResource",{enumerable:!0,get:function(){return u.default}});var m=ms;Object.defineProperty(t,"LegalAssistanceResource",{enumerable:!0,get:function(){return m.default}});var v=vs;Object.defineProperty(t,"PartnerResource",{enumerable:!0,get:function(){return v.default}});var _=_s;Object.defineProperty(t,"ComparisonModuleResource",{enumerable:!0,get:function(){return _.default}});var p=ys;Object.defineProperty(t,"DocumentResource",{enumerable:!0,get:function(){return p.default}});var y=gs;Object.defineProperty(t,"ComparisonResource",{enumerable:!0,get:function(){return y.default}});var w=bs;Object.defineProperty(t,"DataValidationResource",{enumerable:!0,get:function(){return w.default}})}(de);var Ma=g&&g.__awaiter||function(t,e,r,n){function a(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function c(o){try{l(n.next(o))}catch(d){s(d)}}function f(o){try{l(n.throw(o))}catch(d){s(d)}}function l(o){o.done?i(o.value):a(o.value).then(c,f)}l((n=n.apply(t,e||[])).next())})},Pa=g&&g.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(l){return function(o){return f([l,o])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,a&&(i=l[0]&2?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(o){l=[6,o],a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(Wo,"__esModule",{value:!0});var Kb=de,ew=function(){function t(){this.client=new Kb.DataResource}return t.prototype.calculateMaximumLoanAmount=function(e){return Ma(this,void 0,void 0,function(){return Pa(this,function(r){return[2,this.client.calculateMaximumLoanAmount(e)]})})},t.prototype.findVehicle=function(e,r){return Ma(this,void 0,void 0,function(){return Pa(this,function(n){return[2,this.client.findVehicle(e,r)]})})},t.prototype.checkLicensePlate=function(e,r,n){return Ma(this,void 0,void 0,function(){return Pa(this,function(a){return[2,this.client.checkLicensePlate(e,r,n)]})})},t.prototype.validateIBAN=function(e){return Ma(this,void 0,void 0,function(){return Pa(this,function(r){return[2,this.client.validateIBAN(e)]})})},t}();Wo.default=ew;var wn={},tw=g&&g.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(wn,"__esModule",{value:!0});var lc=mr,rw=function(){function t(){}return t.prototype.handleRates=function(e){var r,n,a=[new lc.RateHandler],i=0;try{for(var s=tw(e),c=s.next();!c.done;c=s.next()){var f=c.value;f!==void 0&&(a.push(a[i].setNext(new lc.RateHandler(f))),i++)}}catch(l){r={error:l}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a[0].handle()},t}();wn.default=rw;var Ra={},$e={},Da={};Object.defineProperty(Da,"__esModule",{value:!0});var nw={price:function(t,e){return t.Price-e.Price},coverage:function(t,e){return t.Price-e.Price}};Da.default=nw;var ws={},Ss={};Object.defineProperty(Ss,"__esModule",{value:!0}),Ss.default=function(t,e,r){return Array.from({length:~~((e-t)/r)+1},function(n,a){return t+a*r})};var uc=g&&g.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ws,"__esModule",{value:!0});var cc=Da,aw=Ss;ws.default=function(t){for(var e,r,n,a,i=[],s=1,c=0;c<t.length;c++){var f=parseInt(Object.keys(t[c]).sort().pop());f>s&&(s=f)}try{for(var l=uc((0,aw.default)(1,s,1)),o=l.next();!o.done;o=l.next()){var d=o.value,h=[];try{for(var u=(n=void 0,uc(t)),m=u.next();!m.done;m=u.next()){var v=m.value;v.hasOwnProperty(d)&&h.push(v[d])}}catch(_){n={error:_}}finally{try{m&&!m.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}h.length>=1&&(h.sort(cc.default.price),i.push(h.shift())),h=[]}}catch(_){e={error:_}}finally{try{o&&!o.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}return i.length>=2&&i.sort(cc.default.coverage),i},function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.compareRateByCoverage=t.sortBy=void 0;var e=Da;Object.defineProperty(t,"sortBy",{enumerable:!0,get:function(){return e.default}});var r=ws;Object.defineProperty(t,"compareRateByCoverage",{enumerable:!0,get:function(){return r.default}})}($e);var dc;function iw(){if(dc)return Ra;dc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(y){try{p(d.next(y))}catch(w){m(w)}}function _(y){try{p(d.throw(y))}catch(w){m(w)}}function p(y){y.done?u(y.value):h(y.value).then(v,_)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(y){return _([p,y])}}function _(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(y){p=[6,y],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Ra,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.PetResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("pet",h.sort(i.sortBy.price))]}})})},l.prototype.getPetsecureAdditionalCoverages=function(o){return this.client.getPetsecurAdditionalCoverages(o)},l}(s.RateService);return Ra.default=c,Ra}var ja={},fc;function ow(){if(fc)return ja;fc=1;var t=g&&g.__extends||function(){var c=function(f,l){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var h in d)Object.prototype.hasOwnProperty.call(d,h)&&(o[h]=d[h])},c(f,l)};return function(f,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");c(f,l);function o(){this.constructor=f}f.prototype=l===null?Object.create(l):(o.prototype=l.prototype,new o)}}(),e=g&&g.__awaiter||function(c,f,l,o){function d(h){return h instanceof l?h:new l(function(u){u(h)})}return new(l||(l=Promise))(function(h,u){function m(p){try{_(o.next(p))}catch(y){u(y)}}function v(p){try{_(o.throw(p))}catch(y){u(y)}}function _(p){p.done?h(p.value):d(p.value).then(m,v)}_((o=o.apply(c,f||[])).next())})},r=g&&g.__generator||function(c,f){var l={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},o,d,h,u;return u={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function m(_){return function(p){return v([_,p])}}function v(_){if(o)throw new TypeError("Generator is already executing.");for(;u&&(u=0,_[0]&&(l=0)),l;)try{if(o=1,d&&(h=_[0]&2?d.return:_[0]?d.throw||((h=d.return)&&h.call(d),0):d.next)&&!(h=h.call(d,_[1])).done)return h;switch(d=0,h&&(_=[_[0]&2,h.value]),_[0]){case 0:case 1:h=_;break;case 4:return l.label++,{value:_[1],done:!1};case 5:l.label++,d=_[1],_=[0];continue;case 7:_=l.ops.pop(),l.trys.pop();continue;default:if(h=l.trys,!(h=h.length>0&&h[h.length-1])&&(_[0]===6||_[0]===2)){l=0;continue}if(_[0]===3&&(!h||_[1]>h[0]&&_[1]<h[3])){l.label=_[1];break}if(_[0]===6&&l.label<h[1]){l.label=h[1],h=_;break}if(h&&l.label<h[2]){l.label=h[2],l.ops.push(_);break}h[2]&&l.ops.pop(),l.trys.pop();continue}_=f.call(c,l)}catch(p){_=[6,p],d=0}finally{o=h=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}};Object.defineProperty(ja,"__esModule",{value:!0});var n=z(),a=Ce(),i=de,s=function(c){t(f,c);function f(){var l=c.call(this)||this;return l.client=new i.LoanResource,l}return f.prototype.getRates=function(l){return e(this,void 0,void 0,function(){var o,d;return r(this,function(h){switch(h.label){case 0:return[4,this.client.getRates(l)];case 1:return o=h.sent(),d=this.handleRates(o),[2,new n.RateCollection("loan",d)]}})})},f.prototype.getFieldValues=function(l){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.getFieldValues(l)]})})},f.prototype.loanRequest=function(l){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.loanRequest(l)]})})},f}(a.RateService);return ja.default=s,ja}var $a={},hc;function sw(){if(hc)return $a;hc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(y){try{p(d.next(y))}catch(w){m(w)}}function _(y){try{p(d.throw(y))}catch(w){m(w)}}function p(y){y.done?u(y.value):h(y.value).then(v,_)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(y){return _([p,y])}}function _(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(y){p=[6,y],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty($a,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.HomeResource,o}return l.prototype.findHome=function(o){return this.client.findHome(o)},l.prototype.getAddition=function(o){return this.client.getAddition(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("home",h.sort(i.sortBy.price))]}})})},l.prototype.getAmount=function(o){return this.client.getAmount(o)},l}(s.RateService);return $a.default=c,$a}var Ta={},pc;function lw(){if(pc)return Ta;pc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(y){try{p(d.next(y))}catch(w){m(w)}}function _(y){try{p(d.throw(y))}catch(w){m(w)}}function p(y){y.done?u(y.value):h(y.value).then(v,_)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(y){return _([p,y])}}function _(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(y){p=[6,y],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Ta,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.MopedResource,o}return l.prototype.findMoped=function(o){return this.client.findMoped(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("moped",h.sort(i.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("moped",(0,i.compareRateByCoverage)(h))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},l.prototype.getEnraAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getEnraAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l}(s.RateService);return Ta.default=c,Ta}var Fa={},mc;function uw(){if(mc)return Fa;mc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(y){try{p(d.next(y))}catch(w){m(w)}}function _(y){try{p(d.throw(y))}catch(w){m(w)}}function p(y){y.done?u(y.value):h(y.value).then(v,_)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(y){return _([p,y])}}function _(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(y){p=[6,y],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Fa,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.MotorResource,o}return l.prototype.findMotor=function(o){return this.client.findMotor(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("motor",h.sort(i.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("motor",(0,i.compareRateByCoverage)(h))]}})})},l.prototype.getCoverageRateComparisonForCoverage=function(o,d){return e(this,void 0,void 0,function(){var h,u;return r(this,function(m){switch(m.label){case 0:return[4,this.client.getCoverageRateComparison(d,o)];case 1:return h=m.sent(),u=this.handleRates(h),[2,new a.RateCollection("motor",(0,i.compareRateByCoverage)(u))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},l.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},l.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRollsAdditionalCoverages(o)]})})},l}(s.RateService);return Fa.default=c,Fa}var Aa={},vc;function cw(){if(vc)return Aa;vc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(y){try{p(d.next(y))}catch(w){m(w)}}function _(y){try{p(d.throw(y))}catch(w){m(w)}}function p(y){y.done?u(y.value):h(y.value).then(v,_)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(y){return _([p,y])}}function _(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(y){p=[6,y],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Aa,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.CaravanResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("caravan",h.sort(i.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("caravan",(0,i.compareRateByCoverage)(h))]}})})},l.prototype.getCaravanBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanBrands(o)]})})},l.prototype.getCaravanVDBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanVDBrands(o)]})})},l.prototype.getCaravanModels=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanModels(o)]})})},l.prototype.getCaravanTypes=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanTypes(o)]})})},l.prototype.getCaravanCatalogPrice=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanCatalogPrice(o)]})})},l}(s.RateService);return Aa.default=c,Aa}var Ea={},_c;function dw(){if(_c)return Ea;_c=1;var t=g&&g.__extends||function(){var l=function(o,d){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,u){h.__proto__=u}||function(h,u){for(var m in u)Object.prototype.hasOwnProperty.call(u,m)&&(h[m]=u[m])},l(o,d)};return function(o,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");l(o,d);function h(){this.constructor=o}o.prototype=d===null?Object.create(d):(h.prototype=d.prototype,new h)}}(),e=g&&g.__awaiter||function(l,o,d,h){function u(m){return m instanceof d?m:new d(function(v){v(m)})}return new(d||(d=Promise))(function(m,v){function _(w){try{y(h.next(w))}catch(j){v(j)}}function p(w){try{y(h.throw(w))}catch(j){v(j)}}function y(w){w.done?m(w.value):u(w.value).then(_,p)}y((h=h.apply(l,o||[])).next())})},r=g&&g.__generator||function(l,o){var d={label:0,sent:function(){if(m[0]&1)throw m[1];return m[1]},trys:[],ops:[]},h,u,m,v;return v={next:_(0),throw:_(1),return:_(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function _(y){return function(w){return p([y,w])}}function p(y){if(h)throw new TypeError("Generator is already executing.");for(;v&&(v=0,y[0]&&(d=0)),d;)try{if(h=1,u&&(m=y[0]&2?u.return:y[0]?u.throw||((m=u.return)&&m.call(u),0):u.next)&&!(m=m.call(u,y[1])).done)return m;switch(u=0,m&&(y=[y[0]&2,m.value]),y[0]){case 0:case 1:m=y;break;case 4:return d.label++,{value:y[1],done:!1};case 5:d.label++,u=y[1],y=[0];continue;case 7:y=d.ops.pop(),d.trys.pop();continue;default:if(m=d.trys,!(m=m.length>0&&m[m.length-1])&&(y[0]===6||y[0]===2)){d=0;continue}if(y[0]===3&&(!m||y[1]>m[0]&&y[1]<m[3])){d.label=y[1];break}if(y[0]===6&&d.label<m[1]){d.label=m[1],m=y;break}if(m&&d.label<m[2]){d.label=m[2],d.ops.push(y);break}m[2]&&d.ops.pop(),d.trys.pop();continue}y=o.call(l,d)}catch(w){y=[6,w],u=0}finally{h=m=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}};Object.defineProperty(Ea,"__esModule",{value:!0});var n=de,a=z(),i=mr,s=$e,c=wn,f=function(l){t(o,l);function o(){var d=l.call(this)||this;return d.client=new n.BikeResource,d}return o.prototype.getRates=function(d){return e(this,void 0,void 0,function(){var h,u;return r(this,function(m){switch(m.label){case 0:return[4,this.client.getRates(d)];case 1:return h=m.sent(),u=this.handleRates(h),[2,new a.RateCollection("bike",u.sort(s.sortBy.price))]}})})},o.prototype.getEnraRates=function(d){return e(this,void 0,void 0,function(){var h,u,m;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getEnraRates(d)];case 1:return h=v.sent(),u=new i.RateHandler(h),m=u.handle(),[2,new a.RateCollection("bike",m.sort(s.sortBy.price))]}})})},o}(c.default);return Ea.default=f,Ea}var Ia={},yc;function fw(){if(yc)return Ia;yc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(y){try{p(d.next(y))}catch(w){m(w)}}function _(y){try{p(d.throw(y))}catch(w){m(w)}}function p(y){y.done?u(y.value):h(y.value).then(v,_)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(y){return _([p,y])}}function _(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(y){p=[6,y],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Ia,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.HouseholdResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("household",h.sort(i.sortBy.price))]}})})},l.prototype.getAmount=function(o){return this.client.getAmount(o)},l}(s.RateService);return Ia.default=c,Ia}var Os={},ks={},hw=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ks,"__esModule",{value:!0});var pw=ke,mw=function(t){hw(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v1/categories")},e.prototype.getAvailableServices=function(){return[]},e.prototype.getCategory=function(){return""},e.prototype.getDog=function(){return this.http({method:"get",url:"/get/dogs"})},e.prototype.getCat=function(){return this.http({method:"get",url:"/get/cats"})},e.prototype.getDogsRates=function(r){return this.http({method:"get",url:"/dogs/rates?"+new URLSearchParams(r)})},e.prototype.getCatsRates=function(r){return this.http({method:"get",url:"/cats/rates?"+new URLSearchParams(r)})},e.prototype.getPetFilters=function(){return this.http({method:"get",url:"/pets/filters"})},e.prototype.getHealthPackageInfo=function(r,n,a){return this.http({method:"get",url:"/health/package/".concat(r,"/").concat(n,"?")+new URLSearchParams(a)})},e.prototype.getHealthRates=function(r){return this.http({method:"get",url:"/health/rates?"+new URLSearchParams(r)})},e.prototype.getBikesRates=function(r){return this.http({method:"get",url:"/bikes/rates?"+new URLSearchParams(r)})},e.prototype.getBikesFilters=function(){return this.http({method:"get",url:"/bikes/filters"})},e.prototype.getBikesTermins=function(){return this.http({method:"get",url:"/bikes/termins"})},e.prototype.getCarCoverages=function(){return this.http({method:"get",url:"/car/coverages"})},e.prototype.getCarsRates=function(r,n){return this.http({method:"get",url:"/cars/".concat(r,"/rates?")+new URLSearchParams(n)})},e.prototype.getExtraOptions=function(r){return this.http({method:"get",url:"/extra/options/".concat(r)})},e.prototype.getVergelijkdirectAdditionalCoverages=function(r){return this.http({method:"post",url:"/pet/vergelijkdirect/additional_coverages?"+new URLSearchParams(r)})},e}(pw.default);ks.default=mw,Object.defineProperty(Os,"__esModule",{value:!0});var vw=ks,_w=function(){function t(){this.client=new vw.default}return t.prototype.getDog=function(){return this.client.getDog()},t.prototype.getCat=function(){return this.client.getCat()},t.prototype.getDogsRates=function(e){return this.client.getDogsRates(e)},t.prototype.getCatsRates=function(e){return this.client.getCatsRates(e)},t.prototype.getPetFilters=function(){return this.client.getPetFilters()},t.prototype.getHealthPackageInfo=function(e,r,n){return this.client.getHealthPackageInfo(e,r,n)},t.prototype.getHealthRates=function(e){return this.client.getHealthRates(e)},t.prototype.getBikeRates=function(e){return this.client.getBikesRates(e)},t.prototype.getBikesFilters=function(){return this.client.getBikesFilters()},t.prototype.getBikesTermins=function(){return this.client.getBikesTermins()},t.prototype.getCarCoverages=function(){return this.client.getCarCoverages()},t.prototype.getCarsRates=function(e,r){return this.client.getCarsRates(e,r)},t.prototype.getExtraOptions=function(e){return this.client.getExtraOptions(e)},t.prototype.getVergelijkdirectAdditionalCoverages=function(e){return this.client.getVergelijkdirectAdditionalCoverages(e)},t}();Os.default=_w;var Ya={},gc;function yw(){if(gc)return Ya;gc=1;var t=g&&g.__extends||function(){var l=function(o,d){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,u){h.__proto__=u}||function(h,u){for(var m in u)Object.prototype.hasOwnProperty.call(u,m)&&(h[m]=u[m])},l(o,d)};return function(o,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");l(o,d);function h(){this.constructor=o}o.prototype=d===null?Object.create(d):(h.prototype=d.prototype,new h)}}(),e=g&&g.__awaiter||function(l,o,d,h){function u(m){return m instanceof d?m:new d(function(v){v(m)})}return new(d||(d=Promise))(function(m,v){function _(w){try{y(h.next(w))}catch(j){v(j)}}function p(w){try{y(h.throw(w))}catch(j){v(j)}}function y(w){w.done?m(w.value):u(w.value).then(_,p)}y((h=h.apply(l,o||[])).next())})},r=g&&g.__generator||function(l,o){var d={label:0,sent:function(){if(m[0]&1)throw m[1];return m[1]},trys:[],ops:[]},h,u,m,v;return v={next:_(0),throw:_(1),return:_(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function _(y){return function(w){return p([y,w])}}function p(y){if(h)throw new TypeError("Generator is already executing.");for(;v&&(v=0,y[0]&&(d=0)),d;)try{if(h=1,u&&(m=y[0]&2?u.return:y[0]?u.throw||((m=u.return)&&m.call(u),0):u.next)&&!(m=m.call(u,y[1])).done)return m;switch(u=0,m&&(y=[y[0]&2,m.value]),y[0]){case 0:case 1:m=y;break;case 4:return d.label++,{value:y[1],done:!1};case 5:d.label++,u=y[1],y=[0];continue;case 7:y=d.ops.pop(),d.trys.pop();continue;default:if(m=d.trys,!(m=m.length>0&&m[m.length-1])&&(y[0]===6||y[0]===2)){d=0;continue}if(y[0]===3&&(!m||y[1]>m[0]&&y[1]<m[3])){d.label=y[1];break}if(y[0]===6&&d.label<m[1]){d.label=m[1],m=y;break}if(m&&d.label<m[2]){d.label=m[2],d.ops.push(y);break}m[2]&&d.ops.pop(),d.trys.pop();continue}y=o.call(l,d)}catch(w){y=[6,w],u=0}finally{h=m=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}};Object.defineProperty(Ya,"__esModule",{value:!0});var n=de,a=z(),i=mr,s=$e,c=Ce(),f=function(l){t(o,l);function o(){var d=l.call(this)||this;return d.client=new n.HousingResource,d}return o.prototype.getRates=function(d){return e(this,void 0,void 0,function(){var h,u;return r(this,function(m){switch(m.label){case 0:return[4,this.client.getRates(d)];case 1:return h=m.sent(),u=this.handleRates(h),[2,new a.RateCollection("housing",u.sort(s.sortBy.price))]}})})},o.prototype.getMoneyviewRates=function(d){return e(this,void 0,void 0,function(){var h,u,m;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getMoneyviewRates(d)];case 1:return h=v.sent(),u=new i.RateHandler(h),m=u.handle(),[2,new a.RateCollection("housing",m.sort(s.sortBy.price))]}})})},o}(c.RateService);return Ya.default=f,Ya}var Na={},bc;function gw(){if(bc)return Na;bc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(y){try{p(d.next(y))}catch(w){m(w)}}function _(y){try{p(d.throw(y))}catch(w){m(w)}}function p(y){y.done?u(y.value):h(y.value).then(v,_)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(y){return _([p,y])}}function _(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(y){p=[6,y],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Na,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.LiabilityResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("liability",h.sort(i.sortBy.price))]}})})},l}(s.RateService);return Na.default=c,Na}var La={},wc;function bw(){if(wc)return La;wc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(y){try{p(d.next(y))}catch(w){m(w)}}function _(y){try{p(d.throw(y))}catch(w){m(w)}}function p(y){y.done?u(y.value):h(y.value).then(v,_)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(y){return _([p,y])}}function _(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(y){p=[6,y],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(La,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.LegalAssistanceResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("legal-assistance",h.sort(i.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},l.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return this.client.getVergelijkdirectAdditionalCoverages(o)},l}(s.RateService);return La.default=c,La}var Cs={};Object.defineProperty(Cs,"__esModule",{value:!0});var ww=de,Sw=function(){function t(){this.client=new ww.PartnerResource}return t.prototype.getPartnerInfo=function(e){return e===void 0&&(e=null),this.client.getPartnerInfo(e)},t.prototype.getPartnerVersion=function(){return this.client.getPartnerVersion()},t}();Cs.default=Sw;var xs={};Object.defineProperty(xs,"__esModule",{value:!0});var Ow=de,kw=function(){function t(){this.client=new Ow.ComparisonModuleResource}return t.prototype.getInitializationData=function(){return this.client.getInitializationData()},t.prototype.getScriptSource=function(){return this.client.getScriptSource()},t}();xs.default=kw;var Ba={},Ms={},Ps={};Object.defineProperty(Ps,"__esModule",{value:!0});var Cw=function(){function t(e){e===void 0&&(e={}),this.partnerId=0,this.configure(e)}return t.prototype.configure=function(e){this.partnerId=e.id,this.afmLicenseNumber=e.afm_license_number,this.insuranceLogos=e.insuranceLogos,this.comparisonLinks=e.comparisonLinks,this.partnerPixels=e.partner_pixels,this.configurations=e.configurations},t.prototype.getPartnerId=function(){return this.partnerId},t.prototype.getAfmLicenseNumber=function(){return this.afmLicenseNumber},t.prototype.getAllInsuranceLogos=function(){return this.insuranceLogos},t.prototype.getAllComparisonLinks=function(){return this.comparisonLinks},t.prototype.getPartnerPixels=function(){return this.partnerPixels},t.prototype.getAllConfigurations=function(){return this.configurations},t.prototype.getServices=function(e,r){if(e===r){if(this.configurations.hasOwnProperty(e))return this.configurations[e]}else if(this.configurations.hasOwnProperty(r)&&this.configurations[r].hasOwnProperty(e))return this.configurations[r][e];return[]},t}();Ps.default=Cw;var Ha={},Sc;function xw(){if(Sc)return Ha;Sc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(s[f]=c[f])},n(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(a,i);function s(){this.constructor=a}a.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();Object.defineProperty(Ha,"__esModule",{value:!0});var e=kc(),r=function(n){t(a,n);function a(){var i={id:0,afm_license_number:null,insuranceLogos:{},comparisonLinks:[],configurations:{},partner_pixels:[]};return n.call(this,i)||this}return a}(e.ConfigurationModel);return Ha.default=r,Ha}var Oc;function kc(){return Oc||(Oc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultConfigurationModel=t.ConfigurationModel=void 0;var e=Ps;Object.defineProperty(t,"ConfigurationModel",{enumerable:!0,get:function(){return e.default}});var r=xw();Object.defineProperty(t,"DefaultConfigurationModel",{enumerable:!0,get:function(){return r.default}})}(Ms)),Ms}var Cc;function Mw(){if(Cc)return Ba;Cc=1;var t=g&&g.__awaiter||function(i,s,c,f){function l(o){return o instanceof c?o:new c(function(d){d(o)})}return new(c||(c=Promise))(function(o,d){function h(v){try{m(f.next(v))}catch(_){d(_)}}function u(v){try{m(f.throw(v))}catch(_){d(_)}}function m(v){v.done?o(v.value):l(v.value).then(h,u)}m((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,l,o,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(m){return function(v){return u([m,v])}}function u(m){if(f)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(c=0)),c;)try{if(f=1,l&&(o=m[0]&2?l.return:m[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,m[1])).done)return o;switch(l=0,o&&(m=[m[0]&2,o.value]),m[0]){case 0:case 1:o=m;break;case 4:return c.label++,{value:m[1],done:!1};case 5:c.label++,l=m[1],m=[0];continue;case 7:m=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(m[0]===6||m[0]===2)){c=0;continue}if(m[0]===3&&(!o||m[1]>o[0]&&m[1]<o[3])){c.label=m[1];break}if(m[0]===6&&c.label<o[1]){c.label=o[1],o=m;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(m);break}o[2]&&c.ops.pop(),c.trys.pop();continue}m=s.call(i,c)}catch(v){m=[6,v],l=0}finally{f=o=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Ba,"__esModule",{value:!0});var r=Ce(),n=kc(),a=function(){function i(){this.configured=!1,this.configuration=new n.DefaultConfigurationModel,this.configurationService=new r.ComparisonModuleService}return i.prototype.configure=function(){return t(this,void 0,void 0,function(){var s,c,f;return e(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,this.configurationService.getInitializationData()];case 1:return s=l.sent(),c=new n.ConfigurationModel(s),this.setConfigurations(c),[3,3];case 2:return f=l.sent(),console.error(f),[3,3];case 3:return[2]}})})},i.prototype.isConfigured=function(){return this.configured},i.prototype.setConfigurations=function(s){this.configuration=s,this.configured=!0},i.prototype.getConfigurations=function(){return this.configuration},i}();return Ba.default=a,Ba}var za={},qa={},Rs={};Object.defineProperty(Rs,"__esModule",{value:!0});function Pw(t,e){e===void 0&&(e=!1);var r={moped:"MopedInsurances",motor:"MotorInsurances",pet:"PetInsurances",home:"HomeInsurances",household:"HouseholdInsurances",liability:"LiabilityInsurances","legal-assistance":"LegalAssistanceInsurances",car:"CarInsurances",travel:"TravelInsurances"};return e&&(r=Object.keys(r).reduce(function(n,a){return n[r[a]]=a,n},{})),r[t]}Rs.default=Pw;var Ds={};Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.default=["MopedInsurances","MotorInsurances","PetInsurances","HomeInsurances","HouseholdInsurances","LiabilityInsurances","LegalAssistanceInsurances","CarInsurances","TravelInsurances"],function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.insuranceKeyConfig=t.mapRiskInsurances=void 0;var e=Rs;Object.defineProperty(t,"mapRiskInsurances",{enumerable:!0,get:function(){return e.default}});var r=Ds;Object.defineProperty(t,"insuranceKeyConfig",{enumerable:!0,get:function(){return r.default}})}(qa);var Sn={};Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.supplierPlacementTracker=void 0,Sn.supplierPlacementTracker={setParams:function(){var t=new URLSearchParams(window.location.search),e=t.get("supplierID"),r=t.get("placementID");e&&r&&(localStorage.setItem("supplierID",e),localStorage.setItem("placementID",r))},removeParams:function(){localStorage.removeItem("supplierID"),localStorage.removeItem("placementID")}};var xc;function Rw(){if(xc)return za;xc=1;var t=g&&g.__awaiter||function(o,d,h,u){function m(v){return v instanceof h?v:new h(function(_){_(v)})}return new(h||(h=Promise))(function(v,_){function p(j){try{w(u.next(j))}catch(q){_(q)}}function y(j){try{w(u.throw(j))}catch(q){_(q)}}function w(j){j.done?v(j.value):m(j.value).then(p,y)}w((u=u.apply(o,d||[])).next())})},e=g&&g.__generator||function(o,d){var h={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]},u,m,v,_;return _={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function p(w){return function(j){return y([w,j])}}function y(w){if(u)throw new TypeError("Generator is already executing.");for(;_&&(_=0,w[0]&&(h=0)),h;)try{if(u=1,m&&(v=w[0]&2?m.return:w[0]?m.throw||((v=m.return)&&v.call(m),0):m.next)&&!(v=v.call(m,w[1])).done)return v;switch(m=0,v&&(w=[w[0]&2,v.value]),w[0]){case 0:case 1:v=w;break;case 4:return h.label++,{value:w[1],done:!1};case 5:h.label++,m=w[1],w=[0];continue;case 7:w=h.ops.pop(),h.trys.pop();continue;default:if(v=h.trys,!(v=v.length>0&&v[v.length-1])&&(w[0]===6||w[0]===2)){h=0;continue}if(w[0]===3&&(!v||w[1]>v[0]&&w[1]<v[3])){h.label=w[1];break}if(w[0]===6&&h.label<v[1]){h.label=v[1],v=w;break}if(v&&h.label<v[2]){h.label=v[2],h.ops.push(w);break}v[2]&&h.ops.pop(),h.trys.pop();continue}w=d.call(o,h)}catch(j){w=[6,j],m=0}finally{u=v=0}if(w[0]&5)throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}},r=g&&g.__values||function(o){var d=typeof Symbol=="function"&&Symbol.iterator,h=d&&o[d],u=0;if(h)return h.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(za,"__esModule",{value:!0});var n=de,a=qa,i=z(),s=$e,c=Sn,f=Fr,l=function(){function o(){this.client=new n.PackageResource}return o.prototype.calculatePackage=function(d){return this.client.calculatePackage(d)},o.prototype.calculateAdditionalCoverages=function(d){return this.client.calculateAdditionalCoverages(d)},o.prototype.calculatePackages=function(d){return t(this,void 0,void 0,function(){var h,u,m,v,_,p,y,w,j;return e(this,function(q){switch(q.label){case 0:h=new i.RateCollection,u=[],q.label=1;case 1:return q.trys.push([1,3,,4]),[4,this.client.calculatePackages(d)];case 2:return u=q.sent(),u.length===0?[2,h]:[3,4];case 3:return q.sent(),[2,h];case 4:if(m=f.Injector.instance.get(d),v=[],m.funnel!="package")return[2,new i.RateCollection("package",u.filter(Boolean).sort(s.sortBy.price))];try{for(_=r(u),p=_.next();!p.done;p=_.next())y=p.value,v.push(this.client.calculatePackageDiscount(y.CompanyName,y).catch(function(he){return null}))}catch(he){w={error:he}}finally{try{p&&!p.done&&(j=_.return)&&j.call(_)}finally{if(w)throw w.error}}return[2,Promise.all(v).then(function(he){return new i.RateCollection("package",he.filter(Boolean).sort(s.sortBy.price))})]}})})},o.prototype.calculateCompanyDiscount=function(d,h){return this.client.calculatePackageDiscount(d,h)},o.prototype.requestPackage=function(d){return t(this,void 0,void 0,function(){var h;return e(this,function(u){switch(u.label){case 0:return localStorage.getItem("supplierID")&&localStorage.getItem("placementID")&&(d.SupplierID=localStorage.getItem("supplierID"),d.PlacementID=localStorage.getItem("placementID")),[4,this.client.requestPackage(d)];case 1:return h=u.sent(),c.supplierPlacementTracker.removeParams(),[2,h]}})})},o.prototype.savePackage=function(d){return this.client.savePackage(d)},o.prototype.addAdditionalUserInfo=function(d){return this.client.addAdditionalUserInfo(d)},o.prototype.annualDiscount=function(d){return this.client.annualDiscount(d)},o.prototype.getRequest=function(d){for(var h={},u=0;u<d.length;u++){var m=(0,a.mapRiskInsurances)(d[u].Category);h.hasOwnProperty(m)||(h[m]=[]),h[m].push(d[u])}return h},o}();return za.default=l,za}var Va={},Mc;function Dw(){if(Mc)return Va;Mc=1;var t=g&&g.__awaiter||function(i,s,c,f){function l(o){return o instanceof c?o:new c(function(d){d(o)})}return new(c||(c=Promise))(function(o,d){function h(v){try{m(f.next(v))}catch(_){d(_)}}function u(v){try{m(f.throw(v))}catch(_){d(_)}}function m(v){v.done?o(v.value):l(v.value).then(h,u)}m((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,l,o,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(m){return function(v){return u([m,v])}}function u(m){if(f)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(c=0)),c;)try{if(f=1,l&&(o=m[0]&2?l.return:m[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,m[1])).done)return o;switch(l=0,o&&(m=[m[0]&2,o.value]),m[0]){case 0:case 1:o=m;break;case 4:return c.label++,{value:m[1],done:!1};case 5:c.label++,l=m[1],m=[0];continue;case 7:m=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(m[0]===6||m[0]===2)){c=0;continue}if(m[0]===3&&(!o||m[1]>o[0]&&m[1]<o[3])){c.label=m[1];break}if(m[0]===6&&c.label<o[1]){c.label=o[1],o=m;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(m);break}o[2]&&c.ops.pop(),c.trys.pop();continue}m=s.call(i,c)}catch(v){m=[6,v],l=0}finally{f=o=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Va,"__esModule",{value:!0});var r=de,n=z(),a=function(){function i(){this.client=new r.DocumentResource}return i.prototype.getMoneyviewDocumentList=function(s){return this.client.getMoneyviewDocumentList(s)},i.prototype.getDocuments=function(s){return t(this,void 0,void 0,function(){var c=this;return e(this,function(f){return[2,function(){var l=!1,o=new n.DocumentsModel({ConditionUrls:[],InsuranceCards:[]});return function(){return t(c,void 0,void 0,function(){var d,h;return e(this,function(u){switch(u.label){case 0:if(l)return[3,4];l=!0,u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this.client.getMoneyviewDocumentList(s)];case 2:return d=u.sent(),[2,new n.DocumentsModel(d)];case 3:return h=u.sent(),console.error(h),[3,4];case 4:return[2,o]}})})}}()]})})},i}();return Va.default=a,Va}var Ua={},js={},Wa={},Pc;function jw(){if(Pc)return Wa;Pc=1;var t=g&&g.__values||function(a){var i=typeof Symbol=="function"&&Symbol.iterator,s=i&&a[i],c=0;if(s)return s.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&c>=a.length&&(a=void 0),{value:a&&a[c++],done:!a}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Wa,"__esModule",{value:!0});var e=z(),r=qa,n=function(){function a(){}return a.get=function(i,s){return i==="pet"?new e.PetsecurRate(i,s):i==="package"?a.createPackageRate(i,s):a.createRate(i,s)},a.createPackageRate=function(i,s){var c,f;try{for(var l=t(r.insuranceKeyConfig),o=l.next();!o.done;o=l.next()){var d=o.value,h=(0,r.mapRiskInsurances)(d,!0);if(s.hasOwnProperty(d)){var u=s[d];if(!(Array.isArray(u)&&u.length)){delete s[d];continue}for(var m=new e.RateCollection(h,[]),v=0;v<s[d].length;v++)m.push(a.createRate(h,u[v]));s[d]=m}}}catch(_){c={error:_}}finally{try{o&&!o.done&&(f=l.return)&&f.call(l)}finally{if(c)throw c.error}}return new e.PackageRate(i,s)},a.createRate=function(i,s){return s.Service==="Vergelijkdirect"?new e.VergelijkdirectRate(i,s):s.Service==="Moneyview"?new e.MoneyviewRate(i,s):s.Service==="RISK"?new e.RiskRate(i,s):s.Service==="Enra"?new e.EnraRate(i,s):s.Service==="Laka"?new e.LakaRate(i,s):s.Service==="Rolls"?new e.RollsRate(i,s):s.Service==="Petsecur"?new e.PetsecurRate(i,s):s.Service==="DKM"?new e.DkmRate(i,s):new e.UndefinedRate},a}();return Wa.default=n,Wa}var Ga={},Rc;function $w(){if(Rc)return Ga;Rc=1,Object.defineProperty(Ga,"__esModule",{value:!0});var t=Ce(),e=function(){function r(){}return r.get=function(n){if(n==="moped")return new t.MopedService;if(n==="motor")return new t.MotorService;if(n==="pet")return new t.PetService;if(n==="home")return new t.HomeService;if(n==="caravan")return new t.CaravanService;if(n==="bike")return new t.BikeService;if(n==="household")return new t.HouseholdService;if(n==="liability")return new t.LiabilityService;if(n==="legal-assistance")return new t.LegalAssistanceService;if(n==="car")return new t.CarService;if(n==="travel")return new t.TravelService;if(n==="package")return new t.PackageService;throw new Error("Undefined api service")},r}();return Ga.default=e,Ga}var Za={},Dc;function Tw(){if(Dc)return Za;Dc=1,Object.defineProperty(Za,"__esModule",{value:!0});var t=z(),e=function(){function r(){}return r.createFromResponse=function(n){if(n.hasOwnProperty("data")&&n.hasOwnProperty("user")&&n.hasOwnProperty("funnel")&&n.hasOwnProperty("unique_id"))return n.data.hasOwnProperty("event")&&(n.data=n.data.event),t.Comparison.fromObject(n);throw new Error("Structure of comparison is incorrect")},r}();return Za.default=e,Za}var jc;function It(){return jc||(jc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComparisonFactory=t.ApiServiceFactory=t.RateFactory=void 0;var e=jw();Object.defineProperty(t,"RateFactory",{enumerable:!0,get:function(){return e.default}});var r=$w();Object.defineProperty(t,"ApiServiceFactory",{enumerable:!0,get:function(){return r.default}});var n=Tw();Object.defineProperty(t,"ComparisonFactory",{enumerable:!0,get:function(){return n.default}})}(js)),js}var $c;function Fw(){if($c)return Ua;$c=1;var t=g&&g.__awaiter||function(s,c,f,l){function o(d){return d instanceof f?d:new f(function(h){h(d)})}return new(f||(f=Promise))(function(d,h){function u(_){try{v(l.next(_))}catch(p){h(p)}}function m(_){try{v(l.throw(_))}catch(p){h(p)}}function v(_){_.done?d(_.value):o(_.value).then(u,m)}v((l=l.apply(s,c||[])).next())})},e=g&&g.__generator||function(s,c){var f={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},l,o,d,h;return h={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function u(v){return function(_){return m([v,_])}}function m(v){if(l)throw new TypeError("Generator is already executing.");for(;h&&(h=0,v[0]&&(f=0)),f;)try{if(l=1,o&&(d=v[0]&2?o.return:v[0]?o.throw||((d=o.return)&&d.call(o),0):o.next)&&!(d=d.call(o,v[1])).done)return d;switch(o=0,d&&(v=[v[0]&2,d.value]),v[0]){case 0:case 1:d=v;break;case 4:return f.label++,{value:v[1],done:!1};case 5:f.label++,o=v[1],v=[0];continue;case 7:v=f.ops.pop(),f.trys.pop();continue;default:if(d=f.trys,!(d=d.length>0&&d[d.length-1])&&(v[0]===6||v[0]===2)){f=0;continue}if(v[0]===3&&(!d||v[1]>d[0]&&v[1]<d[3])){f.label=v[1];break}if(v[0]===6&&f.label<d[1]){f.label=d[1],d=v;break}if(d&&f.label<d[2]){f.label=d[2],f.ops.push(v);break}d[2]&&f.ops.pop(),f.trys.pop();continue}v=c.call(s,f)}catch(_){v=[6,_],o=0}finally{l=d=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}};Object.defineProperty(Ua,"__esModule",{value:!0});var r=de,n=It(),a=Fr,i=function(){function s(){this.client=new r.ComparisonResource}return s.prototype.create=function(c,f){return f===void 0&&(f=null),t(this,void 0,void 0,function(){var l,o;return e(this,function(d){switch(d.label){case 0:return l={funnel:c},f!==null&&(l.user=f),[4,this.client.create(l)];case 1:return o=d.sent(),[2,n.ComparisonFactory.createFromResponse(o)]}})})},s.prototype.update=function(c){return t(this,void 0,void 0,function(){var f,l;return e(this,function(o){switch(o.label){case 0:return f=c.toObject(),[4,this.client.update(f,c.getId())];case 1:return l=o.sent(),[2,n.ComparisonFactory.createFromResponse(l)]}})})},s.prototype.get=function(c){return t(this,void 0,void 0,function(){var f,l;return e(this,function(o){switch(o.label){case 0:return[4,this.client.get(c)];case 1:return f=o.sent(),l=n.ComparisonFactory.createFromResponse(f),a.Injector.instance.constant(l.getId(),{funnel:l.getFunnel()}),a.Injector.instance.constant("X-Comparison-Funnel",l.getFunnel()),[2,l]}})})},s}();return Ua.default=i,Ua}var $s={};Object.defineProperty($s,"__esModule",{value:!0});var Aw=de,Ew=function(){function t(){this.client=new Aw.DataValidationResource}return t.prototype.validateEmail=function(e){return this.client.validateEmail(e)},t.prototype.validateIBAN=function(e){return this.client.validateIBAN(e)},t.prototype.validateZipCode=function(e,r,n){return n===void 0&&(n=""),this.client.validateZipCode(e,r,n)},t}();$s.default=Ew;var Xa={},Tc;function Iw(){if(Tc)return Xa;Tc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(y){try{p(d.next(y))}catch(w){m(w)}}function _(y){try{p(d.throw(y))}catch(w){m(w)}}function p(y){y.done?u(y.value):h(y.value).then(v,_)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(y){return _([p,y])}}function _(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(y){p=[6,y],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Xa,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.CarResource,o}return l.prototype.findCar=function(o){return this.client.findCar(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("car",h.sort(i.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRollsAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l}(s.RateService);return Xa.default=c,Xa}var Ja={},Ts={},Yw=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Ts,"__esModule",{value:!0});var Nw=ke,Lw=function(t){Yw(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"travel"},e.prototype.getAvailableServices=function(){return["risk","vergelijkdirect","moneyview"]},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getVergelijkdirectAdditionalCoverages=function(r){return this.http({method:"post",url:"/vergelijkdirect/additional_coverages",data:r})},e.prototype.getMoneyviewAdditionalCoverages=function(r){return this.http({method:"post",url:"/moneyview/additional_coverages",data:r})},e}(Nw.default);Ts.default=Lw;var Fc;function Bw(){if(Fc)return Ja;Fc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(y){try{p(d.next(y))}catch(w){m(w)}}function _(y){try{p(d.throw(y))}catch(w){m(w)}}function p(y){y.done?u(y.value):h(y.value).then(v,_)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(y){return _([p,y])}}function _(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(y){p=[6,y],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Ja,"__esModule",{value:!0});var n=z(),a=$e,i=wn,s=Ts,c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new s.default,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new n.RateCollection("travel",h.sort(a.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},l}(i.default);return Ja.default=c,Ja}var Fs={},As={},Hw=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(As,"__esModule",{value:!0});var zw=rt,qw=function(t){Hw(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2/user")},e.prototype.create=function(r){return this.http({method:"post",data:r})},e}(zw.default);As.default=qw,Object.defineProperty(Fs,"__esModule",{value:!0});var Vw=As,Uw=function(){function t(){this.client=new Vw.default}return t.prototype.create=function(e){return this.client.create(e)},t}();Fs.default=Uw;var Ac;function Ce(){return Ac||(Ac=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.UserService=t.TravelService=t.CarService=t.DataValidationService=t.ComparisonService=t.DocumentService=t.PackageService=t.ConfigurationsService=t.ComparisonModuleService=t.PartnerService=t.LegalAssistanceService=t.LiabilityService=t.HousingService=t.V1Service=t.HouseholdService=t.BikeService=t.CaravanService=t.MotorService=t.MopedService=t.HomeService=t.LoanService=t.PetService=t.RateService=t.DataService=void 0;var e=Wo;Object.defineProperty(t,"DataService",{enumerable:!0,get:function(){return e.default}});var r=wn;Object.defineProperty(t,"RateService",{enumerable:!0,get:function(){return r.default}});var n=iw();Object.defineProperty(t,"PetService",{enumerable:!0,get:function(){return n.default}});var a=ow();Object.defineProperty(t,"LoanService",{enumerable:!0,get:function(){return a.default}});var i=sw();Object.defineProperty(t,"HomeService",{enumerable:!0,get:function(){return i.default}});var s=lw();Object.defineProperty(t,"MopedService",{enumerable:!0,get:function(){return s.default}});var c=uw();Object.defineProperty(t,"MotorService",{enumerable:!0,get:function(){return c.default}});var f=cw();Object.defineProperty(t,"CaravanService",{enumerable:!0,get:function(){return f.default}});var l=dw();Object.defineProperty(t,"BikeService",{enumerable:!0,get:function(){return l.default}});var o=fw();Object.defineProperty(t,"HouseholdService",{enumerable:!0,get:function(){return o.default}});var d=Os;Object.defineProperty(t,"V1Service",{enumerable:!0,get:function(){return d.default}});var h=yw();Object.defineProperty(t,"HousingService",{enumerable:!0,get:function(){return h.default}});var u=gw();Object.defineProperty(t,"LiabilityService",{enumerable:!0,get:function(){return u.default}});var m=bw();Object.defineProperty(t,"LegalAssistanceService",{enumerable:!0,get:function(){return m.default}});var v=Cs;Object.defineProperty(t,"PartnerService",{enumerable:!0,get:function(){return v.default}});var _=xs;Object.defineProperty(t,"ComparisonModuleService",{enumerable:!0,get:function(){return _.default}});var p=Mw();Object.defineProperty(t,"ConfigurationsService",{enumerable:!0,get:function(){return p.default}});var y=Rw();Object.defineProperty(t,"PackageService",{enumerable:!0,get:function(){return y.default}});var w=Dw();Object.defineProperty(t,"DocumentService",{enumerable:!0,get:function(){return w.default}});var j=Fw();Object.defineProperty(t,"ComparisonService",{enumerable:!0,get:function(){return j.default}});var q=$s;Object.defineProperty(t,"DataValidationService",{enumerable:!0,get:function(){return q.default}});var he=Iw();Object.defineProperty(t,"CarService",{enumerable:!0,get:function(){return he.default}});var De=Bw();Object.defineProperty(t,"TravelService",{enumerable:!0,get:function(){return De.default}});var Me=Fs;Object.defineProperty(t,"UserService",{enumerable:!0,get:function(){return Me.default}})}(Uo)),Uo}var Ec;function Ic(){if(Ec)return Sa;Ec=1;var t=g&&g.__awaiter||function(i,s,c,f){function l(o){return o instanceof c?o:new c(function(d){d(o)})}return new(c||(c=Promise))(function(o,d){function h(v){try{m(f.next(v))}catch(_){d(_)}}function u(v){try{m(f.throw(v))}catch(_){d(_)}}function m(v){v.done?o(v.value):l(v.value).then(h,u)}m((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,l,o,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(m){return function(v){return u([m,v])}}function u(m){if(f)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(c=0)),c;)try{if(f=1,l&&(o=m[0]&2?l.return:m[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,m[1])).done)return o;switch(l=0,o&&(m=[m[0]&2,o.value]),m[0]){case 0:case 1:o=m;break;case 4:return c.label++,{value:m[1],done:!1};case 5:c.label++,l=m[1],m=[0];continue;case 7:m=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(m[0]===6||m[0]===2)){c=0;continue}if(m[0]===3&&(!o||m[1]>o[0]&&m[1]<o[3])){c.label=m[1];break}if(m[0]===6&&c.label<o[1]){c.label=o[1],o=m;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(m);break}o[2]&&c.ops.pop(),c.trys.pop();continue}m=s.call(i,c)}catch(v){m=[6,v],l=0}finally{f=o=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Sa,"__esModule",{value:!0});var r=Ce(),n=z(),a=function(){function i(s,c){this.data=c,this.insuranceCategory=s,this.set("Category",s),this.documentService=new r.DocumentService,this.documents=this.fetchDocuments()}return i.prototype.getData=function(){return Object.assign({},this.data)},i.prototype.get=function(s,c){c===void 0&&(c=null);try{return s.split(".").reduce(function(f,l){return f[l]},this.getData())}catch(f){return c}},i.prototype.set=function(s,c){return this.data[s]=c,this},i.prototype.getPrice=function(){return this.get("Price",0)},i.prototype.getCoverage=function(){return this.get("Coverage",1)},i.prototype.getRates=function(){return new n.RateCollection},i.prototype.getCompanyName=function(){return this.data.CompanyName},i.prototype.getInsuranceCategory=function(){return this.insuranceCategory},i.prototype.fetchDocuments=function(){return t(this,void 0,void 0,function(){var s=this;return e(this,function(c){return[2,function(){return t(s,void 0,void 0,function(){return e(this,function(f){return[2,new n.DocumentsModel({ConditionUrls:this.get("ConditionUrls",[]),InsuranceCards:this.get("InsuranceCards",[])})]})})}]})})},i.prototype.getDocuments=function(){return t(this,void 0,void 0,function(){return e(this,function(s){switch(s.label){case 0:return[4,this.documents];case 1:return[2,s.sent()()]}})})},i}();return Sa.default=a,Sa}var Qa={},Ka={},Yc;function Nc(){if(Yc)return Ka;Yc=1;var t=g&&g.__values||function(a){var i=typeof Symbol=="function"&&Symbol.iterator,s=i&&a[i],c=0;if(s)return s.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&c>=a.length&&(a=void 0),{value:a&&a[c++],done:!a}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Ka,"__esModule",{value:!0});var e=z(),r=It(),n=function(){function a(i,s){if(i===void 0&&(i=null),s===void 0&&(s=[]),this.rates=[],this.pointer=0,i!==null)for(var c=0;c<s.length;c++)this.rates.push(r.RateFactory.get(i,s[c]))}return a.prototype.all=function(){return this.rates},a.prototype.count=function(){return this.rates.length},a.prototype.first=function(){return this.rates.length===0?new e.UndefinedRate:this.rates[0]},a.prototype.last=function(){return this.rates.length===0?new e.UndefinedRate:this.rates[this.rates.length-1]},a.prototype.merge=function(i){return this.rates=this.rates.concat(i.all()),this},a.prototype.push=function(i){return this.rates.push(i),this},a.prototype.next=function(){return this.pointer<this.count()?{done:!1,value:this.rates[this.pointer++]}:{done:!0,value:null}},a.prototype[Symbol.iterator]=function(){return this},a.prototype.toObject=function(){var i,s,c=[];try{for(var f=t(this.rates),l=f.next();!l.done;l=f.next()){var o=l.value;c.push(o.getData())}}catch(d){i={error:d}}finally{try{l&&!l.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}return c},a}();return Ka.default=n,Ka}var Lc;function Ww(){if(Lc)return Qa;Lc=1;var t=g&&g.__extends||function(){var c=function(f,l){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var h in d)Object.prototype.hasOwnProperty.call(d,h)&&(o[h]=d[h])},c(f,l)};return function(f,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");c(f,l);function o(){this.constructor=f}f.prototype=l===null?Object.create(l):(o.prototype=l.prototype,new o)}}(),e=g&&g.__values||function(c){var f=typeof Symbol=="function"&&Symbol.iterator,l=f&&c[f],o=0;if(l)return l.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&o>=c.length&&(c=void 0),{value:c&&c[o++],done:!c}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Qa,"__esModule",{value:!0});var r=z(),n=It(),a=qa,i=Nc(),s=function(c){t(f,c);function f(){return c!==null&&c.apply(this,arguments)||this}return f.prototype.getAdditionalCoverages=function(){return n.ApiServiceFactory.get(this.insuranceCategory).calculateAdditionalCoverages(this.getData())},f.prototype.request=function(){return n.ApiServiceFactory.get(this.insuranceCategory).requestPackage(this.getData())},f.prototype.calculate=function(){return n.ApiServiceFactory.get(this.insuranceCategory).calculatePackageDiscount(this.getCompanyName(),this.getData())},f.prototype.getRates=function(l){var o,d;l===void 0&&(l=null);var h=c.prototype.getData.call(this);if(l!==null)return h[(0,a.mapRiskInsurances)(l)];var u=new i.default;try{for(var m=e(a.insuranceKeyConfig),v=m.next();!v.done;v=m.next()){var _=v.value;h.hasOwnProperty(_)&&(u=u.merge(h[_]))}}catch(p){o={error:p}}finally{try{v&&!v.done&&(d=m.return)&&d.call(m)}finally{if(o)throw o.error}}return u},f.prototype.getData=function(){var l,o,d,h,u=c.prototype.getData.call(this);try{for(var m=e(a.insuranceKeyConfig),v=m.next();!v.done;v=m.next()){var _=v.value;if(u.hasOwnProperty(_)){var p=[];try{for(var y=(d=void 0,e(u[_].all())),w=y.next();!w.done;w=y.next()){var j=w.value;p.push(j.getData())}}catch(q){d={error:q}}finally{try{w&&!w.done&&(h=y.return)&&h.call(y)}finally{if(d)throw d.error}}u[_]=p}}}catch(q){l={error:q}}finally{try{v&&!v.done&&(o=m.return)&&o.call(m)}finally{if(l)throw l.error}}return u},f}(r.Rate);return Qa.default=s,Qa}var ei={},Bc;function Gw(){if(Bc)return ei;Bc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(s[f]=c[f])},n(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(a,i);function s(){this.constructor=a}a.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();Object.defineProperty(ei,"__esModule",{value:!0});var e=z(),r=function(n){t(a,n);function a(){return n!==null&&n.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(i){return Promise.resolve([])},a}(e.Rate);return ei.default=r,ei}var ti={},Hc;function Zw(){if(Hc)return ti;Hc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c[l]=f[l])},a(i,s)};return function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(i,s);function c(){this.constructor=i}i.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}}();Object.defineProperty(ti,"__esModule",{value:!0});var e=z(),r=It(),n=function(a){t(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getRiskAdditionalCoverages(s)},i}(e.Rate);return ti.default=n,ti}var ri={},zc;function Xw(){if(zc)return ri;zc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c[l]=f[l])},a(i,s)};return function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(i,s);function c(){this.constructor=i}i.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}}();Object.defineProperty(ri,"__esModule",{value:!0});var e=z(),r=It(),n=function(a){t(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getRollsAdditionalCoverages(s)},i}(e.Rate);return ri.default=n,ri}var ni={},qc;function Jw(){if(qc)return ni;qc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c[l]=f[l])},a(i,s)};return function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(i,s);function c(){this.constructor=i}i.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}}();Object.defineProperty(ni,"__esModule",{value:!0});var e=z(),r=It(),n=function(a){t(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getEnraAdditionalCoverages(s)},i}(e.Rate);return ni.default=n,ni}var ai={},Vc;function Qw(){if(Vc)return ai;Vc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c[l]=f[l])},a(i,s)};return function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(i,s);function c(){this.constructor=i}i.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}}();Object.defineProperty(ai,"__esModule",{value:!0});var e=z(),r=It(),n=function(a){t(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getMoneyviewAdditionalCoverages(s)},i}(e.Rate);return ai.default=n,ai}var ii={},Uc;function Kw(){if(Uc)return ii;Uc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c[l]=f[l])},a(i,s)};return function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(i,s);function c(){this.constructor=i}i.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}}();Object.defineProperty(ii,"__esModule",{value:!0});var e=Ic(),r=It(),n=function(a){t(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getVergelijkdirectAdditionalCoverages(s)},i}(e.default);return ii.default=n,ii}var oi={},Wc;function e0(){if(Wc)return oi;Wc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(s[f]=c[f])},n(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(a,i);function s(){this.constructor=a}a.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();Object.defineProperty(oi,"__esModule",{value:!0});var e=z(),r=function(n){t(a,n);function a(){return n!==null&&n.apply(this,arguments)||this}return a}(e.Rate);return oi.default=r,oi}var si={},Gc;function t0(){if(Gc)return si;Gc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(s[f]=c[f])},n(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(a,i);function s(){this.constructor=a}a.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();Object.defineProperty(si,"__esModule",{value:!0});var e=z(),r=function(n){t(a,n);function a(){return n.call(this,"undefined",{})||this}return a.prototype.getAdditionalCoverages=function(i){return Promise.resolve([])},a}(e.Rate);return si.default=r,si}var Es={};Object.defineProperty(Es,"__esModule",{value:!0});var r0=function(){function t(e){var r,n,a,i,s,c,f,l,o,d;this.publicId=(r=e.public_id)!==null&&r!==void 0?r:null,this.email=(n=e.email)!==null&&n!==void 0?n:null,this.name=(a=e.name)!==null&&a!==void 0?a:null,this.last_name=(i=e.last_name)!==null&&i!==void 0?i:null,this.zip_code=(s=e.zip_code)!==null&&s!==void 0?s:null,this.house_number=(c=e.house_number)!==null&&c!==void 0?c:null,this.house_number_addition=(f=e.house_number_addition)!==null&&f!==void 0?f:null,this.family_composition=(l=e.family_composition)!==null&&l!==void 0?l:null,this.birth_date=(o=e.birth_date)!==null&&o!==void 0?o:null,this.detail=(d=e.detail)!==null&&d!==void 0?d:null}return t.prototype.getName=function(){return this.name},t.prototype.getLastName=function(){return this.last_name},t.prototype.getPublicId=function(){return this.publicId},t.prototype.getEmail=function(){return this.email},t.prototype.getZipCode=function(){return this.zip_code},t.prototype.getBirthDate=function(){return this.birth_date},t.prototype.getHouseNumber=function(){return this.house_number},t.prototype.getHouseNumberAddition=function(){return this.house_number_addition},t.prototype.getFamilyComposition=function(){return this.family_composition},t.prototype.getDetail=function(e){return e===void 0&&(e=null),e===null?this.detail:this.detail.hasOwnProperty(e)?this.detail[e]:null},t.prototype.setDetail=function(e,r){return e===void 0&&(e=null),e===null?this.detail=r:this.detail[e]=r,this},t.prototype.setFamilyComposition=function(e){return this.family_composition=e,this},t.prototype.setHouseNumberAddition=function(e){return this.house_number_addition=e,this},t.prototype.setHouseNumber=function(e){return this.house_number=e,this},t.prototype.setBirthDate=function(e){return this.birth_date=e,this},t.prototype.setZipCode=function(e){return this.zip_code=e,this},t.prototype.setEmail=function(e){return this.email=e,this},t.prototype.setName=function(e){return this.name=e,this},t.prototype.setLastName=function(e){return this.last_name=e,this},t.fromObject=function(e){return new this(e)},t.prototype.toObject=function(){return{public_id:this.publicId,email:this.email,name:this.name,last_name:this.last_name,zip_code:this.zip_code,birth_date:this.birth_date,house_number:this.house_number,house_number_addition:this.house_number_addition,family_composition:this.family_composition,detail:this.detail}},t}();Es.default=r0;var Is={},li={},Zc;function n0(){if(Zc)return li;Zc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(s[f]=c[f])},n(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(a,i);function s(){this.constructor=a}a.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();Object.defineProperty(li,"__esModule",{value:!0});var e=z(),r=function(n){t(a,n);function a(){return n!==null&&n.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(i){return Promise.resolve(this.get("AdditionalCoverages"))},a}(e.Rate);return li.default=r,li}var Xc;function a0(){return Xc||(Xc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.PetsecurRate=void 0;var e=n0();Object.defineProperty(t,"PetsecurRate",{enumerable:!0,get:function(){return e.default}})}(Is)),Is}var Ys={},ui={};//! moment.js
|
|
9
|
+
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var Jl={};function Ql(t,e){k.deprecationHandler!=null&&k.deprecationHandler(t,e),Jl[t]||(Xl(e),Jl[t]=!0)}k.suppressDeprecationWarnings=!1,k.deprecationHandler=null;function _t(t){return typeof Function!="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function um(t){var e,r;for(r in t)N(t,r)&&(e=t[r],_t(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function fo(t,e){var r=Xt({},t),n;for(n in e)N(e,n)&&(lr(t[n])&&lr(e[n])?(r[n]={},Xt(r[n],t[n]),Xt(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)N(t,n)&&!N(e,n)&&lr(t[n])&&(r[n]=Xt({},r[n]));return r}function ho(t){t!=null&&this.set(t)}var po;Object.keys?po=Object.keys:po=function(t){var e,r=[];for(e in t)N(t,e)&&r.push(e);return r};var cm={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function dm(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return _t(n)?n.call(e,r):n}function yt(t,e,r){var n=""+Math.abs(t),a=e-n.length,i=t>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var mo=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Qn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,vo={},xr={};function D(t,e,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),t&&(xr[t]=a),e&&(xr[e[0]]=function(){return yt(a.apply(this,arguments),e[1],e[2])}),r&&(xr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function fm(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function hm(t){var e=t.match(mo),r,n;for(r=0,n=e.length;r<n;r++)xr[e[r]]?e[r]=xr[e[r]]:e[r]=fm(e[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=_t(e[s])?e[s].call(a,t):e[s];return i}}function Kn(t,e){return t.isValid()?(e=Kl(e,t.localeData()),vo[e]=vo[e]||hm(e),vo[e](t)):t.localeData().invalidDate()}function Kl(t,e){var r=5;function n(a){return e.longDateFormat(a)||a}for(Qn.lastIndex=0;r>=0&&Qn.test(t);)t=t.replace(Qn,n),Qn.lastIndex=0,r-=1;return t}var pm={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function mm(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(mo).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var vm="Invalid date";function _m(){return this._invalidDate}var ym="%d",gm=/\d{1,2}/;function bm(t){return this._ordinal.replace("%d",t)}var wm={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Sm(t,e,r,n){var a=this._relativeTime[r];return _t(a)?a(t,e,r,n):a.replace(/%d/i,t)}function Om(t,e){var r=this._relativeTime[t>0?"future":"past"];return _t(r)?r(e):r.replace(/%s/i,e)}var dn={};function we(t,e){var r=t.toLowerCase();dn[r]=dn[r+"s"]=dn[e]=t}function We(t){return typeof t=="string"?dn[t]||dn[t.toLowerCase()]:void 0}function _o(t){var e={},r,n;for(n in t)N(t,n)&&(r=We(n),r&&(e[r]=t[n]));return e}var eu={};function Se(t,e){eu[t]=e}function km(t){var e=[],r;for(r in t)N(t,r)&&e.push({unit:r,priority:eu[r]});return e.sort(function(n,a){return n.priority-a.priority}),e}function ea(t){return t%4===0&&t%100!==0||t%400===0}function Ge(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function F(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=Ge(e)),r}function Mr(t,e){return function(r){return r!=null?(tu(this,t,r),k.updateOffset(this,e),this):ta(this,t)}}function ta(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function tu(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&ea(t.year())&&t.month()===1&&t.date()===29?(r=F(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),la(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function Cm(t){return t=We(t),_t(this[t])?this[t]():this}function xm(t,e){if(typeof t=="object"){t=_o(t);var r=km(t),n;for(n=0;n<r.length;n++)this[r[n].unit](t[r[n].unit])}else if(t=We(t),_t(this[t]))return this[t](e);return this}var ru=/\d/,Ye=/\d\d/,nu=/\d{3}/,yo=/\d{4}/,ra=/[+-]?\d{6}/,K=/\d\d?/,au=/\d\d\d\d?/,iu=/\d\d\d\d\d\d?/,na=/\d{1,3}/,go=/\d{1,4}/,aa=/[+-]?\d{1,6}/,Pr=/\d+/,ia=/[+-]?\d+/,Mm=/Z|[+-]\d\d:?\d\d/gi,oa=/Z|[+-]\d\d(?::?\d\d)?/gi,Pm=/[+-]?\d+(\.\d{1,3})?/,fn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,sa;sa={};function M(t,e,r){sa[t]=_t(e)?e:function(n,a){return n&&r?r:e}}function Rm(t,e){return N(sa,t)?sa[t](e._strict,e._locale):new RegExp(Dm(t))}function Dm(t){return Ne(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,a,i){return r||n||a||i}))}function Ne(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var bo={};function U(t,e){var r,n=e;for(typeof t=="string"&&(t=[t]),Dt(e)&&(n=function(a,i){i[e]=F(a)}),r=0;r<t.length;r++)bo[t[r]]=n}function hn(t,e){U(t,function(r,n,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function jm(t,e,r){e!=null&&N(bo,t)&&bo[t](e,r._a,r,t)}var Oe=0,jt=1,gt=2,pe=3,tt=4,$t=5,ur=6,$m=7,Tm=8;function Fm(t,e){return(t%e+e)%e}var le;Array.prototype.indexOf?le=Array.prototype.indexOf:le=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function la(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=Fm(e,12);return t+=(e-r)/12,r===1?ea(t)?29:28:31-r%7%2}D("M",["MM",2],"Mo",function(){return this.month()+1}),D("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),D("MMMM",0,0,function(t){return this.localeData().months(this,t)}),we("month","M"),Se("month",8),M("M",K),M("MM",K,Ye),M("MMM",function(t,e){return e.monthsShortRegex(t)}),M("MMMM",function(t,e){return e.monthsRegex(t)}),U(["M","MM"],function(t,e){e[jt]=F(t)-1}),U(["MMM","MMMM"],function(t,e,r,n){var a=r._locale.monthsParse(t,n,r._strict);a!=null?e[jt]=a:$(r).invalidMonth=t});var Am="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ou="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),su=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Em=fn,Im=fn;function Ym(t,e){return t?Ke(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||su).test(e)?"format":"standalone"][t.month()]:Ke(this._months)?this._months:this._months.standalone}function Nm(t,e){return t?Ke(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[su.test(e)?"format":"standalone"][t.month()]:Ke(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Lm(t,e,r){var n,a,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=vt([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=le.call(this._shortMonthsParse,s),a!==-1?a:null):(a=le.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=le.call(this._shortMonthsParse,s),a!==-1?a:(a=le.call(this._longMonthsParse,s),a!==-1?a:null)):(a=le.call(this._longMonthsParse,s),a!==-1?a:(a=le.call(this._shortMonthsParse,s),a!==-1?a:null))}function Bm(t,e,r){var n,a,i;if(this._monthsParseExact)return Lm.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=vt([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[n].test(t))return n;if(r&&e==="MMM"&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}}function lu(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=F(e);else if(e=t.localeData().monthsParse(e),!Dt(e))return t}return r=Math.min(t.date(),la(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function uu(t){return t!=null?(lu(this,t),k.updateOffset(this,!0),this):ta(this,"Month")}function Hm(){return la(this.year(),this.month())}function zm(t){return this._monthsParseExact?(N(this,"_monthsRegex")||cu.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(N(this,"_monthsShortRegex")||(this._monthsShortRegex=Em),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function qm(t){return this._monthsParseExact?(N(this,"_monthsRegex")||cu.call(this),t?this._monthsStrictRegex:this._monthsRegex):(N(this,"_monthsRegex")||(this._monthsRegex=Im),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function cu(){function t(s,c){return c.length-s.length}var e=[],r=[],n=[],a,i;for(a=0;a<12;a++)i=vt([2e3,a]),e.push(this.monthsShort(i,"")),r.push(this.months(i,"")),n.push(this.months(i,"")),n.push(this.monthsShort(i,""));for(e.sort(t),r.sort(t),n.sort(t),a=0;a<12;a++)e[a]=Ne(e[a]),r[a]=Ne(r[a]);for(a=0;a<24;a++)n[a]=Ne(n[a]);this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}D("Y",0,0,function(){var t=this.year();return t<=9999?yt(t,4):"+"+t}),D(0,["YY",2],0,function(){return this.year()%100}),D(0,["YYYY",4],0,"year"),D(0,["YYYYY",5],0,"year"),D(0,["YYYYYY",6,!0],0,"year"),we("year","y"),Se("year",1),M("Y",ia),M("YY",K,Ye),M("YYYY",go,yo),M("YYYYY",aa,ra),M("YYYYYY",aa,ra),U(["YYYYY","YYYYYY"],Oe),U("YYYY",function(t,e){e[Oe]=t.length===2?k.parseTwoDigitYear(t):F(t)}),U("YY",function(t,e){e[Oe]=k.parseTwoDigitYear(t)}),U("Y",function(t,e){e[Oe]=parseInt(t,10)});function pn(t){return ea(t)?366:365}k.parseTwoDigitYear=function(t){return F(t)+(F(t)>68?1900:2e3)};var du=Mr("FullYear",!0);function Vm(){return ea(this.year())}function Um(t,e,r,n,a,i,s){var c;return t<100&&t>=0?(c=new Date(t+400,e,r,n,a,i,s),isFinite(c.getFullYear())&&c.setFullYear(t)):c=new Date(t,e,r,n,a,i,s),c}function mn(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function ua(t,e,r){var n=7+e-r,a=(7+mn(t,0,n).getUTCDay()-e)%7;return-a+n-1}function fu(t,e,r,n,a){var i=(7+r-n)%7,s=ua(t,n,a),c=1+7*(e-1)+i+s,f,l;return c<=0?(f=t-1,l=pn(f)+c):c>pn(t)?(f=t+1,l=c-pn(t)):(f=t,l=c),{year:f,dayOfYear:l}}function vn(t,e,r){var n=ua(t.year(),e,r),a=Math.floor((t.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+Tt(s,e,r)):a>Tt(t.year(),e,r)?(i=a-Tt(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function Tt(t,e,r){var n=ua(t,e,r),a=ua(t+1,e,r);return(pn(t)-n+a)/7}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),we("week","w"),we("isoWeek","W"),Se("week",5),Se("isoWeek",5),M("w",K),M("ww",K,Ye),M("W",K),M("WW",K,Ye),hn(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=F(t)});function Wm(t){return vn(t,this._week.dow,this._week.doy).week}var Gm={dow:0,doy:6};function Zm(){return this._week.dow}function Xm(){return this._week.doy}function Jm(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function Qm(t){var e=vn(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}D("d",0,"do","day"),D("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),D("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),D("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),D("e",0,0,"weekday"),D("E",0,0,"isoWeekday"),we("day","d"),we("weekday","e"),we("isoWeekday","E"),Se("day",11),Se("weekday",11),Se("isoWeekday",11),M("d",K),M("e",K),M("E",K),M("dd",function(t,e){return e.weekdaysMinRegex(t)}),M("ddd",function(t,e){return e.weekdaysShortRegex(t)}),M("dddd",function(t,e){return e.weekdaysRegex(t)}),hn(["dd","ddd","dddd"],function(t,e,r,n){var a=r._locale.weekdaysParse(t,n,r._strict);a!=null?e.d=a:$(r).invalidWeekday=t}),hn(["d","e","E"],function(t,e,r,n){e[n]=F(t)});function Km(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function ev(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function wo(t,e){return t.slice(e,7).concat(t.slice(0,e))}var tv="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),hu="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),rv="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),nv=fn,av=fn,iv=fn;function ov(t,e){var r=Ke(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?wo(r,this._week.dow):t?r[t.day()]:r}function sv(t){return t===!0?wo(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function lv(t){return t===!0?wo(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function uv(t,e,r){var n,a,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=vt([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?e==="dddd"?(a=le.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=le.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=le.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=le.call(this._weekdaysParse,s),a!==-1||(a=le.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=le.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=le.call(this._shortWeekdaysParse,s),a!==-1||(a=le.call(this._weekdaysParse,s),a!==-1)?a:(a=le.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=le.call(this._minWeekdaysParse,s),a!==-1||(a=le.call(this._weekdaysParse,s),a!==-1)?a:(a=le.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function cv(t,e,r){var n,a,i;if(this._weekdaysParseExact)return uv.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=vt([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[n].test(t))return n;if(r&&e==="ddd"&&this._shortWeekdaysParse[n].test(t))return n;if(r&&e==="dd"&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}}function dv(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=Km(t,this.localeData()),this.add(t-e,"d")):e}function fv(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function hv(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=ev(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function pv(t){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||So.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(N(this,"_weekdaysRegex")||(this._weekdaysRegex=nv),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function mv(t){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||So.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(N(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=av),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function vv(t){return this._weekdaysParseExact?(N(this,"_weekdaysRegex")||So.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(N(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=iv),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function So(){function t(o,d){return d.length-o.length}var e=[],r=[],n=[],a=[],i,s,c,f,l;for(i=0;i<7;i++)s=vt([2e3,1]).day(i),c=Ne(this.weekdaysMin(s,"")),f=Ne(this.weekdaysShort(s,"")),l=Ne(this.weekdays(s,"")),e.push(c),r.push(f),n.push(l),a.push(c),a.push(f),a.push(l);e.sort(t),r.sort(t),n.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function Oo(){return this.hours()%12||12}function _v(){return this.hours()||24}D("H",["HH",2],0,"hour"),D("h",["hh",2],0,Oo),D("k",["kk",2],0,_v),D("hmm",0,0,function(){return""+Oo.apply(this)+yt(this.minutes(),2)}),D("hmmss",0,0,function(){return""+Oo.apply(this)+yt(this.minutes(),2)+yt(this.seconds(),2)}),D("Hmm",0,0,function(){return""+this.hours()+yt(this.minutes(),2)}),D("Hmmss",0,0,function(){return""+this.hours()+yt(this.minutes(),2)+yt(this.seconds(),2)});function pu(t,e){D(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}pu("a",!0),pu("A",!1),we("hour","h"),Se("hour",13);function mu(t,e){return e._meridiemParse}M("a",mu),M("A",mu),M("H",K),M("h",K),M("k",K),M("HH",K,Ye),M("hh",K,Ye),M("kk",K,Ye),M("hmm",au),M("hmmss",iu),M("Hmm",au),M("Hmmss",iu),U(["H","HH"],pe),U(["k","kk"],function(t,e,r){var n=F(t);e[pe]=n===24?0:n}),U(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t}),U(["h","hh"],function(t,e,r){e[pe]=F(t),$(r).bigHour=!0}),U("hmm",function(t,e,r){var n=t.length-2;e[pe]=F(t.substr(0,n)),e[tt]=F(t.substr(n)),$(r).bigHour=!0}),U("hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[pe]=F(t.substr(0,n)),e[tt]=F(t.substr(n,2)),e[$t]=F(t.substr(a)),$(r).bigHour=!0}),U("Hmm",function(t,e,r){var n=t.length-2;e[pe]=F(t.substr(0,n)),e[tt]=F(t.substr(n))}),U("Hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[pe]=F(t.substr(0,n)),e[tt]=F(t.substr(n,2)),e[$t]=F(t.substr(a))});function yv(t){return(t+"").toLowerCase().charAt(0)==="p"}var gv=/[ap]\.?m?\.?/i,bv=Mr("Hours",!0);function wv(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var vu={calendar:cm,longDateFormat:pm,invalidDate:vm,ordinal:ym,dayOfMonthOrdinalParse:gm,relativeTime:wm,months:Am,monthsShort:ou,week:Gm,weekdays:tv,weekdaysMin:rv,weekdaysShort:hu,meridiemParse:gv},ae={},_n={},yn;function Sv(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function _u(t){return t&&t.toLowerCase().replace("_","-")}function Ov(t){for(var e=0,r,n,a,i;e<t.length;){for(i=_u(t[e]).split("-"),r=i.length,n=_u(t[e+1]),n=n?n.split("-"):null;r>0;){if(a=ca(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&Sv(i,n)>=r-1)break;r--}e++}return yn}function ca(t){var e=null,r;if(ae[t]===void 0&&typeof module!="undefined"&&module&&module.exports)try{e=yn._abbr,r=require,r("./locale/"+t),Jt(e)}catch(n){ae[t]=null}return ae[t]}function Jt(t,e){var r;return t&&(je(e)?r=Ft(t):r=ko(t,e),r?yn=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),yn._abbr}function ko(t,e){if(e!==null){var r,n=vu;if(e.abbr=t,ae[t]!=null)Ql("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ae[t]._config;else if(e.parentLocale!=null)if(ae[e.parentLocale]!=null)n=ae[e.parentLocale]._config;else if(r=ca(e.parentLocale),r!=null)n=r._config;else return _n[e.parentLocale]||(_n[e.parentLocale]=[]),_n[e.parentLocale].push({name:t,config:e}),null;return ae[t]=new ho(fo(n,e)),_n[t]&&_n[t].forEach(function(a){ko(a.name,a.config)}),Jt(t),ae[t]}else return delete ae[t],null}function kv(t,e){if(e!=null){var r,n,a=vu;ae[t]!=null&&ae[t].parentLocale!=null?ae[t].set(fo(ae[t]._config,e)):(n=ca(t),n!=null&&(a=n._config),e=fo(a,e),n==null&&(e.abbr=t),r=new ho(e),r.parentLocale=ae[t],ae[t]=r),Jt(t)}else ae[t]!=null&&(ae[t].parentLocale!=null?(ae[t]=ae[t].parentLocale,t===Jt()&&Jt(t)):ae[t]!=null&&delete ae[t]);return ae[t]}function Ft(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return yn;if(!Ke(t)){if(e=ca(t),e)return e;t=[t]}return Ov(t)}function Cv(){return po(ae)}function Co(t){var e,r=t._a;return r&&$(t).overflow===-2&&(e=r[jt]<0||r[jt]>11?jt:r[gt]<1||r[gt]>la(r[Oe],r[jt])?gt:r[pe]<0||r[pe]>24||r[pe]===24&&(r[tt]!==0||r[$t]!==0||r[ur]!==0)?pe:r[tt]<0||r[tt]>59?tt:r[$t]<0||r[$t]>59?$t:r[ur]<0||r[ur]>999?ur:-1,$(t)._overflowDayOfYear&&(e<Oe||e>gt)&&(e=gt),$(t)._overflowWeeks&&e===-1&&(e=$m),$(t)._overflowWeekday&&e===-1&&(e=Tm),$(t).overflow=e),t}var xv=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Mv=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Pv=/Z|[+-]\d\d(?::?\d\d)?/,da=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],xo=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Rv=/^\/?Date\((-?\d+)/i,Dv=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,jv={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function yu(t){var e,r,n=t._i,a=xv.exec(n)||Mv.exec(n),i,s,c,f;if(a){for($(t).iso=!0,e=0,r=da.length;e<r;e++)if(da[e][1].exec(a[1])){s=da[e][0],i=da[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=xo.length;e<r;e++)if(xo[e][1].exec(a[3])){c=(a[2]||" ")+xo[e][0];break}if(c==null){t._isValid=!1;return}}if(!i&&c!=null){t._isValid=!1;return}if(a[4])if(Pv.exec(a[4]))f="Z";else{t._isValid=!1;return}t._f=s+(c||"")+(f||""),Po(t)}else t._isValid=!1}function $v(t,e,r,n,a,i){var s=[Tv(t),ou.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function Tv(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Fv(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Av(t,e,r){if(t){var n=hu.indexOf(t),a=new Date(e[0],e[1],e[2]).getDay();if(n!==a)return $(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function Ev(t,e,r){if(t)return jv[t];if(e)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function gu(t){var e=Dv.exec(Fv(t._i)),r;if(e){if(r=$v(e[4],e[3],e[2],e[5],e[6],e[7]),!Av(e[1],r,t))return;t._a=r,t._tzm=Ev(e[8],e[9],e[10]),t._d=mn.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),$(t).rfc2822=!0}else t._isValid=!1}function Iv(t){var e=Rv.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(yu(t),t._isValid===!1)delete t._isValid;else return;if(gu(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:k.createFromInputFallback(t)}k.createFromInputFallback=Ue("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Rr(t,e,r){return t!=null?t:e!=null?e:r}function Yv(t){var e=new Date(k.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Mo(t){var e,r,n=[],a,i,s;if(!t._d){for(a=Yv(t),t._w&&t._a[gt]==null&&t._a[jt]==null&&Nv(t),t._dayOfYear!=null&&(s=Rr(t._a[Oe],a[Oe]),(t._dayOfYear>pn(s)||t._dayOfYear===0)&&($(t)._overflowDayOfYear=!0),r=mn(s,0,t._dayOfYear),t._a[jt]=r.getUTCMonth(),t._a[gt]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=n[e]=a[e];for(;e<7;e++)t._a[e]=n[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[pe]===24&&t._a[tt]===0&&t._a[$t]===0&&t._a[ur]===0&&(t._nextDay=!0,t._a[pe]=0),t._d=(t._useUTC?mn:Um).apply(null,n),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[pe]=24),t._w&&typeof t._w.d!="undefined"&&t._w.d!==i&&($(t).weekdayMismatch=!0)}}function Nv(t){var e,r,n,a,i,s,c,f,l;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=Rr(e.GG,t._a[Oe],vn(ee(),1,4).year),n=Rr(e.W,1),a=Rr(e.E,1),(a<1||a>7)&&(f=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,l=vn(ee(),i,s),r=Rr(e.gg,t._a[Oe],l.year),n=Rr(e.w,l.week),e.d!=null?(a=e.d,(a<0||a>6)&&(f=!0)):e.e!=null?(a=e.e+i,(e.e<0||e.e>6)&&(f=!0)):a=i),n<1||n>Tt(r,i,s)?$(t)._overflowWeeks=!0:f!=null?$(t)._overflowWeekday=!0:(c=fu(r,n,a,i,s),t._a[Oe]=c.year,t._dayOfYear=c.dayOfYear)}k.ISO_8601=function(){},k.RFC_2822=function(){};function Po(t){if(t._f===k.ISO_8601){yu(t);return}if(t._f===k.RFC_2822){gu(t);return}t._a=[],$(t).empty=!0;var e=""+t._i,r,n,a,i,s,c=e.length,f=0,l;for(a=Kl(t._f,t._locale).match(mo)||[],r=0;r<a.length;r++)i=a[r],n=(e.match(Rm(i,t))||[])[0],n&&(s=e.substr(0,e.indexOf(n)),s.length>0&&$(t).unusedInput.push(s),e=e.slice(e.indexOf(n)+n.length),f+=n.length),xr[i]?(n?$(t).empty=!1:$(t).unusedTokens.push(i),jm(i,n,t)):t._strict&&!n&&$(t).unusedTokens.push(i);$(t).charsLeftOver=c-f,e.length>0&&$(t).unusedInput.push(e),t._a[pe]<=12&&$(t).bigHour===!0&&t._a[pe]>0&&($(t).bigHour=void 0),$(t).parsedDateParts=t._a.slice(0),$(t).meridiem=t._meridiem,t._a[pe]=Lv(t._locale,t._a[pe],t._meridiem),l=$(t).era,l!==null&&(t._a[Oe]=t._locale.erasConvertYear(l,t._a[Oe])),Mo(t),Co(t)}function Lv(t,e,r){var n;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(n=t.isPM(r),n&&e<12&&(e+=12),!n&&e===12&&(e=0)),e)}function Bv(t){var e,r,n,a,i,s,c=!1;if(t._f.length===0){$(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<t._f.length;a++)i=0,s=!1,e=co({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],Po(e),so(e)&&(s=!0),i+=$(e).charsLeftOver,i+=$(e).unusedTokens.length*10,$(e).score=i,c?i<n&&(n=i,r=e):(n==null||i<n||s)&&(n=i,r=e,s&&(c=!0));Xt(t,r||e)}function Hv(t){if(!t._d){var e=_o(t._i),r=e.day===void 0?e.date:e.day;t._a=Zl([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),Mo(t)}}function zv(t){var e=new cn(Co(bu(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function bu(t){var e=t._i,r=t._f;return t._locale=t._locale||Ft(t._l),e===null||r===void 0&&e===""?Jn({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),et(e)?new cn(Co(e)):(un(e)?t._d=e:Ke(r)?Bv(t):r?Po(t):qv(t),so(t)||(t._d=null),t))}function qv(t){var e=t._i;je(e)?t._d=new Date(k.now()):un(e)?t._d=new Date(e.valueOf()):typeof e=="string"?Iv(t):Ke(e)?(t._a=Zl(e.slice(0),function(r){return parseInt(r,10)}),Mo(t)):lr(e)?Hv(t):Dt(e)?t._d=new Date(e):k.createFromInputFallback(t)}function wu(t,e,r,n,a){var i={};return(e===!0||e===!1)&&(n=e,e=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(lr(t)&&io(t)||Ke(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=t,i._f=e,i._strict=n,zv(i)}function ee(t,e,r,n){return wu(t,e,r,n,!1)}var Vv=Ue("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ee.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Jn()}),Uv=Ue("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=ee.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Jn()});function Su(t,e){var r,n;if(e.length===1&&Ke(e[0])&&(e=e[0]),!e.length)return ee();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function Wv(){var t=[].slice.call(arguments,0);return Su("isBefore",t)}function Gv(){var t=[].slice.call(arguments,0);return Su("isAfter",t)}var Zv=function(){return Date.now?Date.now():+new Date},gn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Xv(t){var e,r=!1,n;for(e in t)if(N(t,e)&&!(le.call(gn,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<gn.length;++n)if(t[gn[n]]){if(r)return!1;parseFloat(t[gn[n]])!==F(t[gn[n]])&&(r=!0)}return!0}function Jv(){return this._isValid}function Qv(){return rt(NaN)}function fa(t){var e=_o(t),r=e.year||0,n=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,c=e.hour||0,f=e.minute||0,l=e.second||0,o=e.millisecond||0;this._isValid=Xv(e),this._milliseconds=+o+l*1e3+f*6e4+c*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=Ft(),this._bubble()}function ha(t){return t instanceof fa}function Ro(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function Kv(t,e,r){var n=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),i=0,s;for(s=0;s<n;s++)(r&&t[s]!==e[s]||!r&&F(t[s])!==F(e[s]))&&i++;return i+a}function Ou(t,e){D(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+yt(~~(r/60),2)+e+yt(~~r%60,2)})}Ou("Z",":"),Ou("ZZ",""),M("Z",oa),M("ZZ",oa),U(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=Do(oa,t)});var e_=/([\+\-]|\d\d)/gi;function Do(t,e){var r=(e||"").match(t),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(e_)||["-",0,0],i=+(a[1]*60)+F(a[2]),i===0?0:a[0]==="+"?i:-i)}function jo(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(et(t)||un(t)?t.valueOf():ee(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),k.updateOffset(r,!1),r):ee(t).local()}function $o(t){return-Math.round(t._d.getTimezoneOffset())}k.updateOffset=function(){};function t_(t,e,r){var n=this._offset||0,a;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=Do(oa,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=$o(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==t&&(!e||this._changeInProgress?Mu(this,rt(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,k.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:$o(this)}function r_(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function n_(t){return this.utcOffset(0,t)}function a_(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract($o(this),"m")),this}function i_(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=Do(Mm,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function o_(t){return this.isValid()?(t=t?ee(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function s_(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function l_(){if(!je(this._isDSTShifted))return this._isDSTShifted;var t={},e;return co(t,this),t=bu(t),t._a?(e=t._isUTC?vt(t._a):ee(t._a),this._isDSTShifted=this.isValid()&&Kv(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function u_(){return this.isValid()?!this._isUTC:!1}function c_(){return this.isValid()?this._isUTC:!1}function ku(){return this.isValid()?this._isUTC&&this._offset===0:!1}var d_=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,f_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function rt(t,e){var r=t,n=null,a,i,s;return ha(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:Dt(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=d_.exec(t))?(a=n[1]==="-"?-1:1,r={y:0,d:F(n[gt])*a,h:F(n[pe])*a,m:F(n[tt])*a,s:F(n[$t])*a,ms:F(Ro(n[ur]*1e3))*a}):(n=f_.exec(t))?(a=n[1]==="-"?-1:1,r={y:cr(n[2],a),M:cr(n[3],a),w:cr(n[4],a),d:cr(n[5],a),h:cr(n[6],a),m:cr(n[7],a),s:cr(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=h_(ee(r.from),ee(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new fa(r),ha(t)&&N(t,"_locale")&&(i._locale=t._locale),ha(t)&&N(t,"_isValid")&&(i._isValid=t._isValid),i}rt.fn=fa.prototype,rt.invalid=Qv;function cr(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function Cu(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function h_(t,e){var r;return t.isValid()&&e.isValid()?(e=jo(e,t),t.isBefore(e)?r=Cu(t,e):(r=Cu(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function xu(t,e){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(Ql(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=rt(r,n),Mu(this,a,t),this}}function Mu(t,e,r,n){var a=e._milliseconds,i=Ro(e._days),s=Ro(e._months);t.isValid()&&(n=n==null?!0:n,s&&lu(t,ta(t,"Month")+s*r),i&&tu(t,"Date",ta(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),n&&k.updateOffset(t,i||s))}var p_=xu(1,"add"),m_=xu(-1,"subtract");function Pu(t){return typeof t=="string"||t instanceof String}function v_(t){return et(t)||un(t)||Pu(t)||Dt(t)||y_(t)||__(t)||t===null||t===void 0}function __(t){var e=lr(t)&&!io(t),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||N(t,i);return e&&r}function y_(t){var e=Ke(t),r=!1;return e&&(r=t.filter(function(n){return!Dt(n)&&Pu(t)}).length===0),e&&r}function g_(t){var e=lr(t)&&!io(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||N(t,i);return e&&r}function b_(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function w_(t,e){arguments.length===1&&(arguments[0]?v_(arguments[0])?(t=arguments[0],e=void 0):g_(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||ee(),n=jo(r,this).startOf("day"),a=k.calendarFormat(this,n)||"sameElse",i=e&&(_t(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,ee(r)))}function S_(){return new cn(this)}function O_(t,e){var r=et(t)?t:ee(t);return this.isValid()&&r.isValid()?(e=We(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function k_(t,e){var r=et(t)?t:ee(t);return this.isValid()&&r.isValid()?(e=We(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function C_(t,e,r,n){var a=et(t)?t:ee(t),i=et(e)?e:ee(e);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function x_(t,e){var r=et(t)?t:ee(t),n;return this.isValid()&&r.isValid()?(e=We(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function M_(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function P_(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function R_(t,e,r){var n,a,i;if(!this.isValid())return NaN;if(n=jo(t,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,e=We(e),e){case"year":i=pa(this,n)/12;break;case"month":i=pa(this,n);break;case"quarter":i=pa(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:Ge(i)}function pa(t,e){if(t.date()<e.date())return-pa(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,"months"),a,i;return e-n<0?(a=t.clone().add(r-1,"months"),i=(e-n)/(n-a)):(a=t.clone().add(r+1,"months"),i=(e-n)/(a-n)),-(r+i)||0}k.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",k.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function D_(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function j_(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?Kn(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):_t(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Kn(r,"Z")):Kn(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $_(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,n,a,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(r+n+a+i)}function T_(t){t||(t=this.isUtc()?k.defaultFormatUtc:k.defaultFormat);var e=Kn(this,t);return this.localeData().postformat(e)}function F_(t,e){return this.isValid()&&(et(t)&&t.isValid()||ee(t).isValid())?rt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function A_(t){return this.from(ee(),t)}function E_(t,e){return this.isValid()&&(et(t)&&t.isValid()||ee(t).isValid())?rt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function I_(t){return this.to(ee(),t)}function Ru(t){var e;return t===void 0?this._locale._abbr:(e=Ft(t),e!=null&&(this._locale=e),this)}var Du=Ue("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function ju(){return this._locale}var ma=1e3,Dr=60*ma,va=60*Dr,$u=(365*400+97)*24*va;function jr(t,e){return(t%e+e)%e}function Tu(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-$u:new Date(t,e,r).valueOf()}function Fu(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-$u:Date.UTC(t,e,r)}function Y_(t){var e,r;if(t=We(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Fu:Tu,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=jr(e+(this._isUTC?0:this.utcOffset()*Dr),va);break;case"minute":e=this._d.valueOf(),e-=jr(e,Dr);break;case"second":e=this._d.valueOf(),e-=jr(e,ma);break}return this._d.setTime(e),k.updateOffset(this,!0),this}function N_(t){var e,r;if(t=We(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Fu:Tu,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=va-jr(e+(this._isUTC?0:this.utcOffset()*Dr),va)-1;break;case"minute":e=this._d.valueOf(),e+=Dr-jr(e,Dr)-1;break;case"second":e=this._d.valueOf(),e+=ma-jr(e,ma)-1;break}return this._d.setTime(e),k.updateOffset(this,!0),this}function L_(){return this._d.valueOf()-(this._offset||0)*6e4}function B_(){return Math.floor(this.valueOf()/1e3)}function H_(){return new Date(this.valueOf())}function z_(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function q_(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function V_(){return this.isValid()?this.toISOString():null}function U_(){return so(this)}function W_(){return Xt({},$(this))}function G_(){return $(this).overflow}function Z_(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}D("N",0,0,"eraAbbr"),D("NN",0,0,"eraAbbr"),D("NNN",0,0,"eraAbbr"),D("NNNN",0,0,"eraName"),D("NNNNN",0,0,"eraNarrow"),D("y",["y",1],"yo","eraYear"),D("y",["yy",2],0,"eraYear"),D("y",["yyy",3],0,"eraYear"),D("y",["yyyy",4],0,"eraYear"),M("N",To),M("NN",To),M("NNN",To),M("NNNN",oy),M("NNNNN",sy),U(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,n){var a=r._locale.erasParse(t,n,r._strict);a?$(r).era=a:$(r).invalidEra=t}),M("y",Pr),M("yy",Pr),M("yyy",Pr),M("yyyy",Pr),M("yo",ly),U(["y","yy","yyy","yyyy"],Oe),U(["yo"],function(t,e,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[Oe]=r._locale.eraYearOrdinalParse(t,a):e[Oe]=parseInt(t,10)});function X_(t,e){var r,n,a,i=this._eras||Ft("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=k(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=k(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function J_(t,e,r){var n,a,i=this.eras(),s,c,f;for(t=t.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),c=i[n].abbr.toUpperCase(),f=i[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(c===t)return i[n];break;case"NNNN":if(s===t)return i[n];break;case"NNNNN":if(f===t)return i[n];break}else if([s,c,f].indexOf(t)>=0)return i[n]}function Q_(t,e){var r=t.since<=t.until?1:-1;return e===void 0?k(t.since).year():k(t.since).year()+(e-t.offset)*r}function K_(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].name;return""}function ey(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].narrow;return""}function ty(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].abbr;return""}function ry(){var t,e,r,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(r=a[t].since<=a[t].until?1:-1,n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until||a[t].until<=n&&n<=a[t].since)return(this.year()-k(a[t].since).year())*r+a[t].offset;return this.year()}function ny(t){return N(this,"_erasNameRegex")||Fo.call(this),t?this._erasNameRegex:this._erasRegex}function ay(t){return N(this,"_erasAbbrRegex")||Fo.call(this),t?this._erasAbbrRegex:this._erasRegex}function iy(t){return N(this,"_erasNarrowRegex")||Fo.call(this),t?this._erasNarrowRegex:this._erasRegex}function To(t,e){return e.erasAbbrRegex(t)}function oy(t,e){return e.erasNameRegex(t)}function sy(t,e){return e.erasNarrowRegex(t)}function ly(t,e){return e._eraYearOrdinalRegex||Pr}function Fo(){var t=[],e=[],r=[],n=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)e.push(Ne(s[a].name)),t.push(Ne(s[a].abbr)),r.push(Ne(s[a].narrow)),n.push(Ne(s[a].name)),n.push(Ne(s[a].abbr)),n.push(Ne(s[a].narrow));this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}D(0,["gg",2],0,function(){return this.weekYear()%100}),D(0,["GG",2],0,function(){return this.isoWeekYear()%100});function _a(t,e){D(0,[t,t.length],0,e)}_a("gggg","weekYear"),_a("ggggg","weekYear"),_a("GGGG","isoWeekYear"),_a("GGGGG","isoWeekYear"),we("weekYear","gg"),we("isoWeekYear","GG"),Se("weekYear",1),Se("isoWeekYear",1),M("G",ia),M("g",ia),M("GG",K,Ye),M("gg",K,Ye),M("GGGG",go,yo),M("gggg",go,yo),M("GGGGG",aa,ra),M("ggggg",aa,ra),hn(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=F(t)}),hn(["gg","GG"],function(t,e,r,n){e[n]=k.parseTwoDigitYear(t)});function uy(t){return Au.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function cy(t){return Au.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function dy(){return Tt(this.year(),1,4)}function fy(){return Tt(this.isoWeekYear(),1,4)}function hy(){var t=this.localeData()._week;return Tt(this.year(),t.dow,t.doy)}function py(){var t=this.localeData()._week;return Tt(this.weekYear(),t.dow,t.doy)}function Au(t,e,r,n,a){var i;return t==null?vn(this,n,a).year:(i=Tt(t,n,a),e>i&&(e=i),my.call(this,t,e,r,n,a))}function my(t,e,r,n,a){var i=fu(t,e,r,n,a),s=mn(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}D("Q",0,"Qo","quarter"),we("quarter","Q"),Se("quarter",7),M("Q",ru),U("Q",function(t,e){e[jt]=(F(t)-1)*3});function vy(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}D("D",["DD",2],"Do","date"),we("date","D"),Se("date",9),M("D",K),M("DD",K,Ye),M("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),U(["D","DD"],gt),U("Do",function(t,e){e[gt]=F(t.match(K)[0])});var Eu=Mr("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear"),we("dayOfYear","DDD"),Se("dayOfYear",4),M("DDD",na),M("DDDD",nu),U(["DDD","DDDD"],function(t,e,r){r._dayOfYear=F(t)});function _y(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}D("m",["mm",2],0,"minute"),we("minute","m"),Se("minute",14),M("m",K),M("mm",K,Ye),U(["m","mm"],tt);var yy=Mr("Minutes",!1);D("s",["ss",2],0,"second"),we("second","s"),Se("second",15),M("s",K),M("ss",K,Ye),U(["s","ss"],$t);var gy=Mr("Seconds",!1);D("S",0,0,function(){return~~(this.millisecond()/100)}),D(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),D(0,["SSS",3],0,"millisecond"),D(0,["SSSS",4],0,function(){return this.millisecond()*10}),D(0,["SSSSS",5],0,function(){return this.millisecond()*100}),D(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),D(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),D(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),D(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),we("millisecond","ms"),Se("millisecond",16),M("S",na,ru),M("SS",na,Ye),M("SSS",na,nu);var Qt,Iu;for(Qt="SSSS";Qt.length<=9;Qt+="S")M(Qt,Pr);function by(t,e){e[ur]=F(("0."+t)*1e3)}for(Qt="S";Qt.length<=9;Qt+="S")U(Qt,by);Iu=Mr("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");function wy(){return this._isUTC?"UTC":""}function Sy(){return this._isUTC?"Coordinated Universal Time":""}var S=cn.prototype;S.add=p_,S.calendar=w_,S.clone=S_,S.diff=R_,S.endOf=N_,S.format=T_,S.from=F_,S.fromNow=A_,S.to=E_,S.toNow=I_,S.get=Cm,S.invalidAt=G_,S.isAfter=O_,S.isBefore=k_,S.isBetween=C_,S.isSame=x_,S.isSameOrAfter=M_,S.isSameOrBefore=P_,S.isValid=U_,S.lang=Du,S.locale=Ru,S.localeData=ju,S.max=Uv,S.min=Vv,S.parsingFlags=W_,S.set=xm,S.startOf=Y_,S.subtract=m_,S.toArray=z_,S.toObject=q_,S.toDate=H_,S.toISOString=j_,S.inspect=$_,typeof Symbol!="undefined"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),S.toJSON=V_,S.toString=D_,S.unix=B_,S.valueOf=L_,S.creationData=Z_,S.eraName=K_,S.eraNarrow=ey,S.eraAbbr=ty,S.eraYear=ry,S.year=du,S.isLeapYear=Vm,S.weekYear=uy,S.isoWeekYear=cy,S.quarter=S.quarters=vy,S.month=uu,S.daysInMonth=Hm,S.week=S.weeks=Jm,S.isoWeek=S.isoWeeks=Qm,S.weeksInYear=hy,S.weeksInWeekYear=py,S.isoWeeksInYear=dy,S.isoWeeksInISOWeekYear=fy,S.date=Eu,S.day=S.days=dv,S.weekday=fv,S.isoWeekday=hv,S.dayOfYear=_y,S.hour=S.hours=bv,S.minute=S.minutes=yy,S.second=S.seconds=gy,S.millisecond=S.milliseconds=Iu,S.utcOffset=t_,S.utc=n_,S.local=a_,S.parseZone=i_,S.hasAlignedHourOffset=o_,S.isDST=s_,S.isLocal=u_,S.isUtcOffset=c_,S.isUtc=ku,S.isUTC=ku,S.zoneAbbr=wy,S.zoneName=Sy,S.dates=Ue("dates accessor is deprecated. Use date instead.",Eu),S.months=Ue("months accessor is deprecated. Use month instead",uu),S.years=Ue("years accessor is deprecated. Use year instead",du),S.zone=Ue("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",r_),S.isDSTShifted=Ue("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",l_);function Oy(t){return ee(t*1e3)}function ky(){return ee.apply(null,arguments).parseZone()}function Yu(t){return t}var L=ho.prototype;L.calendar=dm,L.longDateFormat=mm,L.invalidDate=_m,L.ordinal=bm,L.preparse=Yu,L.postformat=Yu,L.relativeTime=Sm,L.pastFuture=Om,L.set=um,L.eras=X_,L.erasParse=J_,L.erasConvertYear=Q_,L.erasAbbrRegex=ay,L.erasNameRegex=ny,L.erasNarrowRegex=iy,L.months=Ym,L.monthsShort=Nm,L.monthsParse=Bm,L.monthsRegex=qm,L.monthsShortRegex=zm,L.week=Wm,L.firstDayOfYear=Xm,L.firstDayOfWeek=Zm,L.weekdays=ov,L.weekdaysMin=lv,L.weekdaysShort=sv,L.weekdaysParse=cv,L.weekdaysRegex=pv,L.weekdaysShortRegex=mv,L.weekdaysMinRegex=vv,L.isPM=yv,L.meridiem=wv;function ya(t,e,r,n){var a=Ft(),i=vt().set(n,e);return a[r](i,t)}function Nu(t,e,r){if(Dt(t)&&(e=t,t=void 0),t=t||"",e!=null)return ya(t,e,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=ya(t,n,r,"month");return a}function Ao(t,e,r,n){typeof t=="boolean"?(Dt(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,Dt(e)&&(r=e,e=void 0),e=e||"");var a=Ft(),i=t?a._week.dow:0,s,c=[];if(r!=null)return ya(e,(r+i)%7,n,"day");for(s=0;s<7;s++)c[s]=ya(e,(s+i)%7,n,"day");return c}function Cy(t,e){return Nu(t,e,"months")}function xy(t,e){return Nu(t,e,"monthsShort")}function My(t,e,r){return Ao(t,e,r,"weekdays")}function Py(t,e,r){return Ao(t,e,r,"weekdaysShort")}function Ry(t,e,r){return Ao(t,e,r,"weekdaysMin")}Jt("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,r=F(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}}),k.lang=Ue("moment.lang is deprecated. Use moment.locale instead.",Jt),k.langData=Ue("moment.langData is deprecated. Use moment.localeData instead.",Ft);var At=Math.abs;function Dy(){var t=this._data;return this._milliseconds=At(this._milliseconds),this._days=At(this._days),this._months=At(this._months),t.milliseconds=At(t.milliseconds),t.seconds=At(t.seconds),t.minutes=At(t.minutes),t.hours=At(t.hours),t.months=At(t.months),t.years=At(t.years),this}function Lu(t,e,r,n){var a=rt(e,r);return t._milliseconds+=n*a._milliseconds,t._days+=n*a._days,t._months+=n*a._months,t._bubble()}function jy(t,e){return Lu(this,t,e,1)}function $y(t,e){return Lu(this,t,e,-1)}function Bu(t){return t<0?Math.floor(t):Math.ceil(t)}function Ty(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,a,i,s,c,f;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=Bu(Eo(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,a=Ge(t/1e3),n.seconds=a%60,i=Ge(a/60),n.minutes=i%60,s=Ge(i/60),n.hours=s%24,e+=Ge(s/24),f=Ge(Hu(e)),r+=f,e-=Bu(Eo(f)),c=Ge(r/12),r%=12,n.days=e,n.months=r,n.years=c,this}function Hu(t){return t*4800/146097}function Eo(t){return t*146097/4800}function Fy(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=We(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+Hu(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(Eo(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return e*24+n/36e5;case"minute":return e*1440+n/6e4;case"second":return e*86400+n/1e3;case"millisecond":return Math.floor(e*864e5)+n;default:throw new Error("Unknown unit "+t)}}function Ay(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+F(this._months/12)*31536e6:NaN}function Et(t){return function(){return this.as(t)}}var Ey=Et("ms"),Iy=Et("s"),Yy=Et("m"),Ny=Et("h"),Ly=Et("d"),By=Et("w"),Hy=Et("M"),zy=Et("Q"),qy=Et("y");function Vy(){return rt(this)}function Uy(t){return t=We(t),this.isValid()?this[t+"s"]():NaN}function dr(t){return function(){return this.isValid()?this._data[t]:NaN}}var Wy=dr("milliseconds"),Gy=dr("seconds"),Zy=dr("minutes"),Xy=dr("hours"),Jy=dr("days"),Qy=dr("months"),Ky=dr("years");function eg(){return Ge(this.days()/7)}var It=Math.round,$r={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function tg(t,e,r,n,a){return a.relativeTime(e||1,!!r,t,n)}function rg(t,e,r,n){var a=rt(t).abs(),i=It(a.as("s")),s=It(a.as("m")),c=It(a.as("h")),f=It(a.as("d")),l=It(a.as("M")),o=It(a.as("w")),d=It(a.as("y")),h=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||c<=1&&["h"]||c<r.h&&["hh",c]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(h=h||o<=1&&["w"]||o<r.w&&["ww",o]),h=h||l<=1&&["M"]||l<r.M&&["MM",l]||d<=1&&["y"]||["yy",d],h[2]=e,h[3]=+t>0,h[4]=n,tg.apply(null,h)}function ng(t){return t===void 0?It:typeof t=="function"?(It=t,!0):!1}function ag(t,e){return $r[t]===void 0?!1:e===void 0?$r[t]:($r[t]=e,t==="s"&&($r.ss=e-1),!0)}function ig(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=$r,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},$r,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),a=this.localeData(),i=rg(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var Io=Math.abs;function Tr(t){return(t>0)-(t<0)||+t}function ga(){if(!this.isValid())return this.localeData().invalidDate();var t=Io(this._milliseconds)/1e3,e=Io(this._days),r=Io(this._months),n,a,i,s,c=this.asSeconds(),f,l,o,d;return c?(n=Ge(t/60),a=Ge(n/60),t%=60,n%=60,i=Ge(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",f=c<0?"-":"",l=Tr(this._months)!==Tr(c)?"-":"",o=Tr(this._days)!==Tr(c)?"-":"",d=Tr(this._milliseconds)!==Tr(c)?"-":"",f+"P"+(i?l+i+"Y":"")+(r?l+r+"M":"")+(e?o+e+"D":"")+(a||n||t?"T":"")+(a?d+a+"H":"")+(n?d+n+"M":"")+(t?d+s+"S":"")):"P0D"}var E=fa.prototype;E.isValid=Jv,E.abs=Dy,E.add=jy,E.subtract=$y,E.as=Fy,E.asMilliseconds=Ey,E.asSeconds=Iy,E.asMinutes=Yy,E.asHours=Ny,E.asDays=Ly,E.asWeeks=By,E.asMonths=Hy,E.asQuarters=zy,E.asYears=qy,E.valueOf=Ay,E._bubble=Ty,E.clone=Vy,E.get=Uy,E.milliseconds=Wy,E.seconds=Gy,E.minutes=Zy,E.hours=Xy,E.days=Jy,E.weeks=eg,E.months=Qy,E.years=Ky,E.humanize=ig,E.toISOString=ga,E.toString=ga,E.toJSON=ga,E.locale=Ru,E.localeData=ju,E.toIsoString=Ue("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ga),E.lang=Du,D("X",0,0,"unix"),D("x",0,0,"valueOf"),M("x",ia),M("X",Pm),U("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)}),U("x",function(t,e,r){r._d=new Date(F(t))});//! moment.js
|
|
10
|
+
k.version="2.29.1",sm(ee),k.fn=S,k.min=Wv,k.max=Gv,k.now=Zv,k.utc=vt,k.unix=Oy,k.months=Cy,k.isDate=un,k.locale=Jt,k.invalid=Jn,k.duration=rt,k.isMoment=et,k.weekdays=My,k.parseZone=ky,k.localeData=Ft,k.isDuration=ha,k.monthsShort=xy,k.weekdaysMin=Ry,k.defineLocale=ko,k.updateLocale=kv,k.locales=Cv,k.weekdaysShort=Py,k.normalizeUnits=We,k.relativeTimeRounding=ng,k.relativeTimeThreshold=ag,k.calendarFormat=b_,k.prototype=S,k.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const og=(t,{valueToMatch:e}={})=>t===e,zu=(t,{length:e}={})=>t?t.length>=e:!0,sg=(t,{min:e,max:r,compareFullDate:n=!1}={})=>{if(n){const i=k.utc(t,"DD-MM-YYYY");return e.isSameOrBefore(i)&&i.isSameOrBefore(r)}const a=+k.utc(t,"DD-MM-YYYY").format("YYYY");return Number(e)<=a&&Number(r)>=a},lg=(t,{minAge:e=18,maxAge:r=100}={})=>{const n=k.utc(),a=k.utc(t,"DD-MM-YYYY",!0),i=n.diff(a,"years");return e<=i&&i<=r},ug=(t,e,r)=>{const[n,a]=e;return`Je dient tussen de ${n} en ${a} jaar oud te zijn!`};let Z=b.reactive({}),ce=b.reactive({}),ba=b.reactive({});const cg=t=>{Z=t._base,Z.extend("isValue",og,{paramNames:["valueToMatch"]}),Z.extend("minlength",zu,{paramNames:["length"]}),Z.extend("emailServerValidation",zu,{immediate:!1}),Z.extend("betweenBirthDate",sg,{paramNames:["min","max","compareFullDate"]}),Z.extend("ageRange",{getMessage:ug,validate:lg},{paramNames:["minAge","maxAge"]}),ce=Z.errors,ba=Z.fields},fr=t=>se(this,null,function*(){const e={};return yield Promise.all(t.map(r=>se(this,null,function*(){yield Z.validate(r);const n=Z.errors.items.find(a=>a.field===r);n&&(e[r]=n.msg)}))),!Object.keys(e).length});let qu=b.reactive({});const dg=b.reactive({});let bn=b.ref(!1),Yo=b.ref(!1),wa=b.ref(!1),No=b.ref(!1),Lo=b.ref(null),Vu=b.ref(!1);const fg=ne,Uu=18,hg=99,pg=[{rule:"required",text:"Schadevrije jaren zijn verplicht"}],Wu=(t,e,r,n)=>{b.ref(b.getCurrentInstance().proxy.$refs).value;const a=b.computed(()=>C.birthdate.length===10),i=b.computed(()=>{const y=[];for(let p=0;p<c.value;p++)y.push({title:`${p} jaar`,value:p});return y.length===0&&y.push({title:"0 jaar",value:0}),y}),s=b.computed(()=>Object.keys(t.buttonOptions).length===0?{}:{"--background":t.buttonOptions.normal.background,"--text-color":t.buttonOptions.normal.textColor,"--background-hover":t.buttonOptions.hover.background,"--text-color-hover":t.buttonOptions.hover.textColor}),c=b.computed(()=>{let y;if(C.birthdate.split("_").join("").length===10)y=+k.utc(C.birthdate,"DD-MM-YYYY").format("YYYY");else return 0;const p=Lo.value-y-Uu;return p>0?p:0}),f=()=>{Vu.value=!0},l=y=>{ge.claimFreeYears=String(y)},o=()=>{bn.value=!0},d=()=>{bn.value=!1},h=y=>se(this,null,function*(){try{if(Yo.value=!1,bn.value=!1,y.length>=6){const p=yield r.motorService.findMotor(y);sr.motor=p,ge.license=p.LicensePlate,Yo.value=!0}}catch(p){console.error(p),bn.value=!0}}),u=()=>se(this,null,function*(){try{No.value=!1,wa.value=!1,C.zipcode&&C.houseNumber&&(qu=yield r.dataValidationService.validateZipCode(C.zipcode,C.houseNumber,C.houseNumberAddition),No.value=!0)}catch(y){wa.value=!0}}),m=y=>{e("emit-event-hub",{event:"open-quotation-modal",data:{refId:y}})},v=()=>se(this,null,function*(){if((yield fr(["license","incorrectLicensePlateHiddenField","noLicensePlateHiddenField","unknownLicensePlateHiddenField","zipcode","housenumber","housenumberaddition","claimfreeyears","kilometrage","birthdate"]))&&!wa.value)if(t.isOnResultPage)e("submit-form",{userInformation:C,motorState:ge,licenseInformation:sr.motor});else{const p={license:ge.license,zipcode:C.zipcode,housenumber:C.houseNumber,housenumberaddition:C.houseNumberAddition,birthdate:C.birthdate,claimfreeyears:ge.claimFreeYears,kilometrage:ge.kilometrage};p.housenumberaddition||delete p.housenumberaddition,e("redirect-page",{link:t.link,data:p})}});return b.onMounted(()=>{Lo.value=+k().format("YYYY"),t.isOnResultPage&&(ge.license=t.insuranceState.vehicle.LicensePlate,h(t.insuranceState.vehicle.LicensePlate),ge.claimFreeYears=t.insuranceState.claimFreeYears,ge.kilometrage=+t.insuranceState.kilometrage,C.birthdate=t.userInformation.birthdate,C.zipcode=t.userInformation.zipCode,C.houseNumber=t.userInformation.houseNumber,C.houseNumberAddition=t.userInformation.houseNumberAddition,u()),t.isOnResultPage||Cr.removeSessionState("motor-storage","motor-path")}),{licenseError:bn,showLicenseInfo:Yo,houseError:wa,showHouseInformation:No,currentYear:Lo,kilometrages:fg,minAge:Uu,maxAge:hg,claimFreeYearsErrorData:pg,buttonStyles:s,maxClaimFreeYears:c,onLicenseError:o,onLicenseInput:d,validateBeforeSubmit:v,HouseInformation:qu,vehicle:dg,getClaimFreeYearsSelectOptions:i,isModalOpen:Vu,birthDateYear:a,openClaimFreeYearModal:f,setClaimFreeYears:l,getHouseInformation:u,getLicenseInformation:h,openQuotationModal:m,userInformation:C,motorState:ge}};function mg(t){return t=t.split("-").join(""),t}function vg(t,e){return t.split("").reduce((r,n,a)=>(n===e&&r.push(a),r),[])}function _g(t){const e=parseInt(t);return!!(e==0||e&&!isNaN(e))}const Bo=["XX-99-XX","99-99-XX","99-XX-XX","XX-XX-99","99-XX-99","XX-99-99","99-XXX-9","XX-999-X","X-999-XX","9-XXX-99","XXX-99-X"];function Ho(t){let e="";if(e=mg(t),e.length>=6){const r=gg(e).join("");let n=[];for(let a=0;a<Bo.length;a++){const i=Bo[a],s=i.split("-").join("");if(s===r){n=s.split(""),n=yg(i,n,e);break}if(Bo.length===a+1)return"no-template-found"}if(n.length===8)return n.join("")}return e}function yg(t,e,r){return e.map((n,a)=>e[a]=r[a]),vg(t,"-").forEach(n=>e.splice(n,0,"-")),e}function gg(t){let e=[];for(let r=0;r<t.length;r++){const n=t[r];n&&(_g(n)?e=[...e,"9"]:e=[...e,"X"])}return e}var g=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function bg(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function wg(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var a=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return t[n]}})}),r}var X={},Gu={},Zu={};Object.defineProperty(Zu,"__esModule",{value:!0}),function(t){var e=g&&g.__createBinding||(Object.create?function(n,a,i,s){s===void 0&&(s=i);var c=Object.getOwnPropertyDescriptor(a,i);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,s,c)}:function(n,a,i,s){s===void 0&&(s=i),n[s]=a[i]}),r=g&&g.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&e(a,n,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(Zu,t)}(Gu);var Xu={},zo={},qo={},Vo={};Object.defineProperty(Vo,"__esModule",{value:!0});var Sg=function(){function t(e){this.conditionUrls=e.ConditionUrls,this.insuranceCards=e.InsuranceCards}return t.prototype.getConditionUrls=function(){return this.conditionUrls},t.prototype.getInsuranceCards=function(){return this.insuranceCards},t}();Vo.default=Sg;var Sa={},Uo={},Wo={},de={},Go={},ke={},nt={},Fr={},Zo={},Ju=g&&g.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),a,i=[],s;try{for(;(e===void 0||e-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(c){s={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},Qu=g&&g.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,a=e.length,i;n<a;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))};Object.defineProperty(Zo,"__esModule",{value:!0});var Og=function(){function t(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.values=e,this.cached=r}return t.prototype.constant=function(e,r){this.values[e]=function(){return r}},t.prototype.factory=function(e,r,n){n===void 0&&(n=[]),this.values[e]=function(a){return r.apply(void 0,Qu([],Ju(n.map(function(i){return a.get(i)})),!1))}},t.prototype.service=function(e,r,n){n===void 0&&(n=[]),this.values[e]=function(a){return new(r.bind.apply(r,Qu([void 0],Ju(n.map(function(i){return a.get(i)})),!1)))}},t.prototype.alias=function(e,r){this.values[e]=function(n){return n.get(r)}},t.prototype.get=function(e){if(e in this.cached)return this.cached[e];if(!(e in this.values))throw new Error("Failed to get ".concat(e," in injector"));return this.cached[e]=this.values[e](this)},t.prototype.delete=function(e){(e in this.cached||e in this.values)&&(delete this.cached[e],delete this.values[e])},t.instance=new t,t}();Zo.default=Og;var Xo={},Jo={};(function(t){Object.defineProperty(t,"__esModule",{value:!0}),function(e){e.call="__call__";function r(n){if(!(e.call in n))throw new TypeError("Object does not implement [Invokable.call]");var a=function(){return a[e.call].apply(a,arguments)},i=Object.getPrototypeOf(n)===Object.prototype,s=n.constructor,c=Object.prototype.hasOwnProperty.call(n,"name");return Object.defineProperty(a,"name",{configurable:!0,enumerable:c,writable:c,value:i?n[e.call].name:s.name}),Object.defineProperties(a,Object.getOwnPropertyDescriptors(n)),i||Object.setPrototypeOf(a,Object.getPrototypeOf(n)),a}e.create=r}(t.Invokable||(t.Invokable={}))})(Jo);var ye=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof global!="undefined"&&global||{},Pe={searchParams:"URLSearchParams"in ye,iterable:"Symbol"in ye&&"iterator"in Symbol,blob:"FileReader"in ye&&"Blob"in ye&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in ye,arrayBuffer:"ArrayBuffer"in ye};function kg(t){return t&&DataView.prototype.isPrototypeOf(t)}if(Pe.arrayBuffer)var Cg=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],xg=ArrayBuffer.isView||function(t){return t&&Cg.indexOf(Object.prototype.toString.call(t))>-1};function Ar(t){if(typeof t!="string"&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||t==="")throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Qo(t){return typeof t!="string"&&(t=String(t)),t}function Ko(t){var e={next:function(){var r=t.shift();return{done:r===void 0,value:r}}};return Pe.iterable&&(e[Symbol.iterator]=function(){return e}),e}function me(t){this.map={},t instanceof me?t.forEach(function(e,r){this.append(r,e)},this):Array.isArray(t)?t.forEach(function(e){if(e.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])},this):t&&Object.getOwnPropertyNames(t).forEach(function(e){this.append(e,t[e])},this)}me.prototype.append=function(t,e){t=Ar(t),e=Qo(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},me.prototype.delete=function(t){delete this.map[Ar(t)]},me.prototype.get=function(t){return t=Ar(t),this.has(t)?this.map[t]:null},me.prototype.has=function(t){return this.map.hasOwnProperty(Ar(t))},me.prototype.set=function(t,e){this.map[Ar(t)]=Qo(e)},me.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},me.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),Ko(t)},me.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ko(t)},me.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),Ko(t)},Pe.iterable&&(me.prototype[Symbol.iterator]=me.prototype.entries);function es(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}}function Ku(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Mg(t){var e=new FileReader,r=Ku(e);return e.readAsArrayBuffer(t),r}function Pg(t){var e=new FileReader,r=Ku(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),a=n?n[1]:"utf-8";return e.readAsText(t,a),r}function Rg(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}function ec(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function tc(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?typeof t=="string"?this._bodyText=t:Pe.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:Pe.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Pe.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():Pe.arrayBuffer&&Pe.blob&&kg(t)?(this._bodyArrayBuffer=ec(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Pe.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||xg(t))?this._bodyArrayBuffer=ec(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||(typeof t=="string"?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Pe.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Pe.blob&&(this.blob=function(){var t=es(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=es(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(Pe.blob)return this.blob().then(Mg);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var t=es(this);if(t)return t;if(this._bodyBlob)return Pg(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Rg(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Pe.formData&&(this.formData=function(){return this.text().then($g)}),this.json=function(){return this.text().then(JSON.parse)},this}var Dg=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function jg(t){var e=t.toUpperCase();return Dg.indexOf(e)>-1?e:t}function hr(t,e){if(!(this instanceof hr))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e=e||{};var r=e.body;if(t instanceof hr){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new me(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,!r&&t._bodyInit!=null&&(r=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",(e.headers||!this.headers)&&(this.headers=new me(e.headers)),this.method=jg(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in ye){var i=new AbortController;return i.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(e.cache==="no-store"||e.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var a=/\?/;this.url+=(a.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}hr.prototype.clone=function(){return new hr(this,{body:this._bodyInit})};function $g(t){var e=new FormData;return t.trim().split("&").forEach(function(r){if(r){var n=r.split("="),a=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(a),decodeURIComponent(i))}}),e}function Tg(t){var e=new me,r=t.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
|
|
11
|
+
`)===0?n.substr(1,n.length):n}).forEach(function(n){var a=n.split(":"),i=a.shift().trim();if(i){var s=a.join(":").trim();try{e.append(i,s)}catch(c){console.warn("Response "+c.message)}}}),e}tc.call(hr.prototype);function bt(t,e){if(!(this instanceof bt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=e.status===void 0?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=e.statusText===void 0?"":""+e.statusText,this.headers=new me(e.headers),this.url=e.url||"",this._initBody(t)}tc.call(bt.prototype),bt.prototype.clone=function(){return new bt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new me(this.headers),url:this.url})},bt.error=function(){var t=new bt(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var Fg=[301,302,303,307,308];bt.redirect=function(t,e){if(Fg.indexOf(e)===-1)throw new RangeError("Invalid status code");return new bt(null,{status:e,headers:{location:t}})};var pr=ye.DOMException;try{new pr}catch(t){pr=function(e,r){this.message=e,this.name=r;var n=Error(e);this.stack=n.stack},pr.prototype=Object.create(Error.prototype),pr.prototype.constructor=pr}function rc(t,e){return new Promise(function(r,n){var a=new hr(t,e);if(a.signal&&a.signal.aborted)return n(new pr("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var l={statusText:i.statusText,headers:Tg(i.getAllResponseHeaders()||"")};a.url.indexOf("file://")===0&&(i.status<200||i.status>599)?l.status=200:l.status=i.status,l.url="responseURL"in i?i.responseURL:l.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout(function(){r(new bt(o,l))},0)},i.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},i.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},i.onabort=function(){setTimeout(function(){n(new pr("Aborted","AbortError"))},0)};function c(l){try{return l===""&&ye.location.href?ye.location.href:l}catch(o){return l}}if(i.open(a.method,c(a.url),!0),a.credentials==="include"?i.withCredentials=!0:a.credentials==="omit"&&(i.withCredentials=!1),"responseType"in i&&(Pe.blob?i.responseType="blob":Pe.arrayBuffer&&(i.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof me||ye.Headers&&e.headers instanceof ye.Headers)){var f=[];Object.getOwnPropertyNames(e.headers).forEach(function(l){f.push(Ar(l)),i.setRequestHeader(l,Qo(e.headers[l]))}),a.headers.forEach(function(l,o){f.indexOf(o)===-1&&i.setRequestHeader(o,l)})}else a.headers.forEach(function(l,o){i.setRequestHeader(o,l)});a.signal&&(a.signal.addEventListener("abort",s),i.onreadystatechange=function(){i.readyState===4&&a.signal.removeEventListener("abort",s)}),i.send(typeof a._bodyInit=="undefined"?null:a._bodyInit)})}rc.polyfill=!0,ye.fetch||(ye.fetch=rc,ye.Headers=me,ye.Request=hr,ye.Response=bt),self.fetch.bind(self);var Oa=g&&g.__assign||function(){return Oa=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])}return t},Oa.apply(this,arguments)},Ag=g&&g.__awaiter||function(t,e,r,n){function a(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function c(o){try{l(n.next(o))}catch(d){s(d)}}function f(o){try{l(n.throw(o))}catch(d){s(d)}}function l(o){o.done?i(o.value):a(o.value).then(c,f)}l((n=n.apply(t,e||[])).next())})},Eg=g&&g.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(l){return function(o){return f([l,o])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,a&&(i=l[0]&2?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(o){l=[6,o],a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(Xo,"__esModule",{value:!0});var Ig=Jo,Yg=function(){function t(e){this.interceptors={request:new nc,response:new nc},this.cache="default",this.credentials="omit",this.headers={"Content-Type":"application/json",ITC:"true"},this.keepalive=!1,this.mode="cors",this.redirect="follow",this.referrerPolicy="no-referrer-when-downgrade",this.baseUrl=e,this.transformer=this.defaultTransformer}return t.prototype.setFetchRequestTransformer=function(e){this.transformer=e},t.prototype.defaultTransformer=function(e){return{method:e.method,body:JSON.stringify(e.data)}},t.prototype.getDefaultConfigurations=function(){return{cache:this.cache,credentials:this.credentials,headers:this.headers,keepalive:this.keepalive,mode:this.mode,redirect:this.redirect,referrerPolicy:this.referrerPolicy}},t.prototype.getRequest=function(e){var r=this.getDefaultConfigurations(),n=this.transformer(e);return Oa(Oa({},r),n)},t.prototype.buildUrl=function(e){e===void 0&&(e="");var r="".concat(this.baseUrl).concat(e);return this.removeTrailingSlashes(r)},t.prototype.removeTrailingSlashes=function(e){return e[e.length-1]==="/"&&(e=e.slice(0,-1)),e},t.prototype.fetchRequest=function(e){var r=this,n=this.getRequest(e);return fetch(this.buildUrl(e.url),this.interceptors.request.apply(n)).then(function(a){return Ag(r,void 0,void 0,function(){return Eg(this,function(i){return a.ok?[2,a.json()]:[2,Promise.reject(a.json())]})})})},t.prototype[Ig.Invokable.call]=function(e){return this.fetchRequest(e)},t}(),nc=function(){function t(){this.handlers=[]}return t.prototype.use=function(e,r){return e===void 0&&(e=function(n){return n}),r===void 0&&(r=function(n){return n}),this.handlers.push({fulfilled:e,rejected:r}),this.handlers.length-1},t.prototype.apply=function(e){for(var r=0;r<this.handlers.length;r++)e=this.handlers[r].fulfilled(e);return e},t}();Xo.default=Yg,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClient=t.Injector=void 0;var e=Zo;Object.defineProperty(t,"Injector",{enumerable:!0,get:function(){return e.default}});var r=Xo;Object.defineProperty(t,"HttpClient",{enumerable:!0,get:function(){return r.default}})}(Fr),Object.defineProperty(nt,"__esModule",{value:!0});var ac=Fr,Ng=Jo,Lg=function(){function t(){var e=ac.Injector.instance.get("environment");this.http=Ng.Invokable.create(new ac.HttpClient(this.getBaseUrl(e)))}return t}();nt.default=Lg;var mr={},ts={},ka={};Object.defineProperty(ka,"__esModule",{value:!0});var Bg=function(){function t(e){this.response=e}return t.prototype.next=function(){return this.response},t}();ka.default=Bg;var Hg=g&&g.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),a,i=[],s;try{for(;(e===void 0||e-- >0)&&!(a=n.next()).done;)i.push(a.value)}catch(c){s={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},zg=g&&g.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,a=e.length,i;n<a;n++)(i||!(n in e))&&(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))};Object.defineProperty(ts,"__esModule",{value:!0});var qg=ka,Vg=function(){function t(e){e===void 0&&(e=new qg.default([])),this.nextHandler=null,this.rates=e}return t.prototype.setNext=function(e){return this.nextHandler=e,e},t.prototype.handle=function(e,r){e===void 0&&(e=[]),r===void 0&&(r=[]);try{var n=this.rates.next();Array.isArray(n)?e=e.concat.apply(e,zg([],Hg(n),!1)):e.push(n)}catch(a){r.push(a)}return this.nextHandler===null?t.result(e,r):this.nextHandler.handle(e,r)},t.result=function(e,r){if(e.length===0&&r.length>0)throw r.shift();if(e.length===0&&r.length===0)throw Error("There are no rates for requested criteria.");return e},t}();ts.default=Vg;var rs={};Object.defineProperty(rs,"__esModule",{value:!0});var Ug=function(){function t(e){this.error=e}return t.prototype.next=function(){throw this.error},t}();rs.default=Ug,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseHandler=t.ErrorHandler=t.RateHandler=void 0;var e=ts;Object.defineProperty(t,"RateHandler",{enumerable:!0,get:function(){return e.default}});var r=rs;Object.defineProperty(t,"ErrorHandler",{enumerable:!0,get:function(){return r.default}});var n=ka;Object.defineProperty(t,"ResponseHandler",{enumerable:!0,get:function(){return n.default}})}(mr);var Wg=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),Ca=g&&g.__assign||function(){return Ca=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])}return t},Ca.apply(this,arguments)},ic=g&&g.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ke,"__esModule",{value:!0});var Gg=nt,oc=Fr,xa=mr,Zg=function(t){Wg(e,t);function e(){var r=t.call(this)||this;return r.http.interceptors.request.use(function(n){return n.headers=Ca(Ca({},n.headers),{"X-Comparison-Funnel":r.getFunnel()}),n}),r}return e.prototype.getBaseUrl=function(r){var n=this.getCategory();return"".concat(r.api.baseUrl,"/").concat(r.api.version,"/comparisons/").concat(n)},e.prototype.getConfiguredServices=function(){var r=oc.Injector.instance.get("configuration-service");return r.isConfigured()?r.getConfigurations().getServices(this.getCategory(),this.getFunnel()):this.getAvailableServices()},e.prototype.getFunnel=function(){try{return oc.Injector.instance.get("X-Comparison-Funnel")}catch(r){return this.getCategory()}},e.prototype.getRates=function(r){var n,a,i=[];try{for(var s=ic(this.getConfiguredServices()),c=s.next();!c.done;c=s.next()){var f=c.value;i.push(this.http({method:"post",url:"/".concat(f,"/rates"),data:r}).then(function(l){return new xa.ResponseHandler(l)}).catch(function(l){return new xa.ErrorHandler(l)}))}}catch(l){n={error:l}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(n)throw n.error}}return Promise.all(i)},e.prototype.getCoverageRateComparison=function(r,n){var a,i;n===void 0&&(n="");var s=[];try{for(var c=ic(this.getConfiguredServices()),f=c.next();!f.done;f=c.next()){var l=f.value;s.push(this.http({method:"post",url:"/".concat(l,"/coverage_rate_comparison/").concat(n),data:r}).then(function(o){return new xa.ResponseHandler(o)}).catch(function(o){return new xa.ErrorHandler(o)}))}}catch(o){a={error:o}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}return Promise.all(s)},e}(Gg.default);ke.default=Zg;var Xg=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Go,"__esModule",{value:!0});var Jg=ke,Qg=function(t){Xg(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"pet"},e.prototype.getAvailableServices=function(){return["petsecur"]},e.prototype.getPetsecurAdditionalCoverages=function(r){return this.http({method:"post",url:"/petsecur/additional_coverages",data:r})},e}(Jg.default);Go.default=Qg;var ns={},Kg=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ns,"__esModule",{value:!0});var eb=ke,tb=function(t){Kg(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"loan"},e.prototype.getConfiguredServices=function(){return["dkm"]},e.prototype.getAvailableServices=function(){return["dkm"]},e.prototype.getFieldValues=function(r){return this.http({method:"get",url:"/dkm/values/".concat(r)})},e.prototype.loanRequest=function(r){return this.http({method:"post",url:"/request",data:r})},e}(eb.default);ns.default=tb;var as={},rb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(as,"__esModule",{value:!0});var nb=nt,ab=function(t){rb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2")},e.prototype.findVehicle=function(r,n){var a={Comparison:n,LicensePlate:r};if(n==="car")return this.http({method:"get",url:"/data/vehicle/find?"+new URLSearchParams(a)});if(n==="motor"||n==="moped")return this.http({method:"get",url:"/comparisons/".concat(n,"/find/").concat(r)});throw new Error('There is no vehicle data resource for "'.concat(n,'" comparison.'))},e.prototype.checkLicensePlate=function(r,n,a){var i=a.charAt(0).toUpperCase()+a.slice(1)+"SignCode",s={LicensePlate:r,Comparison:a};return s[i]=n,this.http({method:"post",url:"/data/vehicle/check_license_plate",data:s})},e.prototype.validateIBAN=function(r){return this.http({method:"post",url:"/data/iban/validate",data:{IBAN:r}})},e.prototype.calculateMaximumLoanAmount=function(r){return this.http({method:"post",url:"/data/loan/dkm/maximum-amount",data:r})},e}(nb.default);as.default=ab;var is={},ib=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(is,"__esModule",{value:!0});var ob=ke,sb=function(t){ib(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"home"},e.prototype.getAvailableServices=function(){return["risk","moneyview","rolls"]},e.prototype.getAmount=function(r){return this.http({method:"post",url:"/risk/amount",data:r})},e.prototype.findHome=function(r){return this.http({method:"post",url:"/risk/find",data:r})},e.prototype.getAddition=function(r){return this.http({method:"post",url:"/risk/addition",data:r})},e}(ob.default);is.default=sb;var os={},lb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(os,"__esModule",{value:!0});var ub=ke,cb=function(t){lb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"moped"},e.prototype.getAvailableServices=function(){return["risk","moneyview","vergelijkdirect","enra"]},e.prototype.findMoped=function(r){return this.http({method:"get",url:"/find/".concat(r)})},e.prototype.checkValidity=function(r){return this.http({method:"post",url:"/check_validity",data:r})},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getMoneyviewAdditionalCoverages=function(r){return this.http({method:"post",url:"/moneyview/additional_coverages",data:r})},e.prototype.getVergelijkdirectAdditionalCoverages=function(r){return this.http({method:"post",url:"/vergelijkdirect/additional_coverages",data:r})},e.prototype.getEnraAdditionalCoverages=function(r){return this.http({method:"post",url:"/enra/additional_coverages",data:r})},e}(ub.default);os.default=cb;var ss={},db=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ss,"__esModule",{value:!0});var fb=ke,hb=function(t){db(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"motor"},e.prototype.getAvailableServices=function(){return["risk","moneyview","rolls"]},e.prototype.findMotor=function(r){return this.http({method:"get",url:"/find/".concat(r)})},e.prototype.checkValidity=function(r){return this.http({method:"post",url:"/check_validity",data:r})},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getMoneyviewAdditionalCoverages=function(r){return this.http({method:"post",url:"/moneyview/additional_coverages",data:r})},e.prototype.getRollsAdditionalCoverages=function(r){return this.http({method:"post",url:"/rolls/additional_coverages",data:r})},e}(fb.default);ss.default=hb;var ls={},pb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ls,"__esModule",{value:!0});var mb=ke,vb=function(t){pb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"car"},e.prototype.getAvailableServices=function(){return["risk","moneyview","rolls"]},e.prototype.findCar=function(r){return this.http({method:"get",url:"/find/".concat(r)})},e.prototype.checkValidity=function(r){return this.http({method:"post",url:"/check_validity",data:r})},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getMoneyviewAdditionalCoverages=function(r){return this.http({method:"post",url:"/moneyview/additional_coverages",data:r})},e.prototype.getRollsAdditionalCoverages=function(r){return this.http({method:"post",url:"/rolls/additional_coverages",data:r})},e}(mb.default);ls.default=vb;var us={},_b=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(us,"__esModule",{value:!0});var yb=ke,gb=function(t){_b(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"caravan"},e.prototype.getAvailableServices=function(){return["risk"]},e.prototype.getCaravanBrands=function(r){return this.http({method:"get",url:"/brands?"+new URLSearchParams(r)})},e.prototype.getCaravanVDBrands=function(r){return this.http({method:"get",url:"/vd-brands?"+new URLSearchParams(r)})},e.prototype.getCaravanModels=function(r){return this.http({method:"get",url:"/models?"+new URLSearchParams(r)})},e.prototype.getCaravanTypes=function(r){return this.http({method:"get",url:"/types?"+new URLSearchParams(r)})},e.prototype.getCaravanCatalogPrice=function(r){return this.http({method:"get",url:"/catalog-price?"+new URLSearchParams(r)})},e}(yb.default);us.default=gb;var cs={},bb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(cs,"__esModule",{value:!0});var sc=mr,wb=ke,Sb=function(t){bb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"bike"},e.prototype.getAvailableServices=function(){return["risk","laka","enra","vergelijkdirect"]},e.prototype.getEnraRates=function(r){return this.http({method:"post",url:"/enra/rates",data:r}).then(function(n){return new sc.ResponseHandler(n)}).catch(function(n){return new sc.ErrorHandler(n)})},e}(wb.default);cs.default=Sb;var ds={},Ob=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ds,"__esModule",{value:!0});var kb=nt,Cb=function(t){Ob(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2/package")},e.prototype.calculatePackage=function(r){return this.http({method:"post",url:"/calculate",data:r})},e.prototype.calculateAdditionalCoverages=function(r){return this.http({method:"post",url:"/calculate_additional_coverages",data:r})},e.prototype.calculatePackageDiscount=function(r,n){return this.http({method:"post",url:"/discount/".concat(r,"/calculate"),data:n})},e.prototype.calculatePackages=function(r){return this.http({method:"post",url:"/".concat(r,"/calculate")})},e.prototype.requestPackage=function(r){return this.http({method:"post",url:"/request",data:r})},e.prototype.addAdditionalUserInfo=function(r){return this.http({method:"post",url:"/add_additional_user_info",data:r})},e.prototype.annualDiscount=function(r){return this.http({method:"post",url:"/annual_discount",data:r})},e.prototype.savePackage=function(r){return this.http({method:"post",url:"/save",data:r})},e}(kb.default);ds.default=Cb;var fs={},xb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(fs,"__esModule",{value:!0});var Mb=ke,Pb=function(t){xb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"household"},e.prototype.getAvailableServices=function(){return["risk","moneyview","rolls"]},e.prototype.getAmount=function(r){return this.http({method:"post",url:"/risk/amount",data:r})},e}(Mb.default);fs.default=Pb;var hs={},Rb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(hs,"__esModule",{value:!0});var lc=mr,Db=ke,jb=function(t){Rb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"housing"},e.prototype.getAvailableServices=function(){return["risk","moneyview","rolls"]},e.prototype.getMoneyviewRates=function(r){return this.http({method:"post",url:"/moneyview/rates",data:r}).then(function(n){return new lc.ResponseHandler(n)}).catch(function(n){return new lc.ErrorHandler(n)})},e}(Db.default);hs.default=jb;var ps={},$b=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ps,"__esModule",{value:!0});var Tb=ke,Fb=function(t){$b(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"liability"},e.prototype.getAvailableServices=function(){return["risk","moneyview"]},e}(Tb.default);ps.default=Fb;var ms={},Ab=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ms,"__esModule",{value:!0});var Eb=ke,Ib=function(t){Ab(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"legal-assistance"},e.prototype.getAvailableServices=function(){return["risk","moneyview","vergelijkdirect"]},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getMoneyviewAdditionalCoverages=function(r){return this.http({method:"post",url:"/moneyview/additional_coverages",data:r})},e.prototype.getVergelijkdirectAdditionalCoverages=function(r){return this.http({method:"post",url:"/vergelijkdirect/additional_coverages",data:r})},e}(Eb.default);ms.default=Ib;var vs={},Yb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(vs,"__esModule",{value:!0});var Nb=nt,Lb=function(t){Yb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/partner")},e.prototype.getPartnerInfo=function(r){var n=r===null?"":r;return this.http({method:"get",url:"/info/".concat(n)})},e.prototype.getPartnerVersion=function(){return this.http({method:"get",url:"/info/version"})},e}(Nb.default);vs.default=Lb;var _s={},Bb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(_s,"__esModule",{value:!0});var Hb=nt,zb=function(t){Bb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/scripts/comparison-module")},e.prototype.getScriptSource=function(){return this.http({method:"get",url:"/source"})},e.prototype.getInitializationData=function(){return this.http({method:"get",url:"/initialize"})},e}(Hb.default);_s.default=zb;var ys={},qb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ys,"__esModule",{value:!0});var Vb=nt,Ub=function(t){qb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2/categories/documents/moneyview")},e.prototype.getMoneyviewDocumentList=function(r){return this.http({method:"post",url:"/list",data:r})},e}(Vb.default);ys.default=Ub;var gs={},Wb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(gs,"__esModule",{value:!0});var Gb=nt,Zb=function(t){Wb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2/comparison")},e.prototype.update=function(r,n){return this.http({method:"put",url:"/".concat(n),data:r})},e.prototype.create=function(r){return this.http({method:"post",data:r})},e.prototype.get=function(r){return this.http({method:"get",url:"/".concat(r)})},e}(Gb.default);gs.default=Zb;var bs={},Xb=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(bs,"__esModule",{value:!0});var Jb=nt,Qb=function(t){Xb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v1")},e.prototype.validateEmail=function(r){return this.http({method:"post",url:"/address/validate",data:{email:r}})},e.prototype.validateIBAN=function(r){return this.http({method:"post",url:"/iban/validate",data:{iban:r}})},e.prototype.validateZipCode=function(r,n,a){return a===void 0&&(a=""),this.http({method:"post",url:"/zipcode/validate",data:{ZipCode:r,HouseNumber:n,HouseNumberAddition:a}})},e}(Jb.default);bs.default=Qb,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.DataValidationResource=t.ComparisonResource=t.DocumentResource=t.ComparisonModuleResource=t.PartnerResource=t.LegalAssistanceResource=t.LiabilityResource=t.HousingResource=t.HouseholdResource=t.PackageResource=t.BikeResource=t.CaravanResource=t.CarResource=t.MotorResource=t.MopedResource=t.HomeResource=t.DataResource=t.LoanResource=t.PetResource=void 0;var e=Go;Object.defineProperty(t,"PetResource",{enumerable:!0,get:function(){return e.default}});var r=ns;Object.defineProperty(t,"LoanResource",{enumerable:!0,get:function(){return r.default}});var n=as;Object.defineProperty(t,"DataResource",{enumerable:!0,get:function(){return n.default}});var a=is;Object.defineProperty(t,"HomeResource",{enumerable:!0,get:function(){return a.default}});var i=os;Object.defineProperty(t,"MopedResource",{enumerable:!0,get:function(){return i.default}});var s=ss;Object.defineProperty(t,"MotorResource",{enumerable:!0,get:function(){return s.default}});var c=ls;Object.defineProperty(t,"CarResource",{enumerable:!0,get:function(){return c.default}});var f=us;Object.defineProperty(t,"CaravanResource",{enumerable:!0,get:function(){return f.default}});var l=cs;Object.defineProperty(t,"BikeResource",{enumerable:!0,get:function(){return l.default}});var o=ds;Object.defineProperty(t,"PackageResource",{enumerable:!0,get:function(){return o.default}});var d=fs;Object.defineProperty(t,"HouseholdResource",{enumerable:!0,get:function(){return d.default}});var h=hs;Object.defineProperty(t,"HousingResource",{enumerable:!0,get:function(){return h.default}});var u=ps;Object.defineProperty(t,"LiabilityResource",{enumerable:!0,get:function(){return u.default}});var m=ms;Object.defineProperty(t,"LegalAssistanceResource",{enumerable:!0,get:function(){return m.default}});var v=vs;Object.defineProperty(t,"PartnerResource",{enumerable:!0,get:function(){return v.default}});var y=_s;Object.defineProperty(t,"ComparisonModuleResource",{enumerable:!0,get:function(){return y.default}});var p=ys;Object.defineProperty(t,"DocumentResource",{enumerable:!0,get:function(){return p.default}});var _=gs;Object.defineProperty(t,"ComparisonResource",{enumerable:!0,get:function(){return _.default}});var w=bs;Object.defineProperty(t,"DataValidationResource",{enumerable:!0,get:function(){return w.default}})}(de);var Ma=g&&g.__awaiter||function(t,e,r,n){function a(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function c(o){try{l(n.next(o))}catch(d){s(d)}}function f(o){try{l(n.throw(o))}catch(d){s(d)}}function l(o){o.done?i(o.value):a(o.value).then(c,f)}l((n=n.apply(t,e||[])).next())})},Pa=g&&g.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(l){return function(o){return f([l,o])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,a&&(i=l[0]&2?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(o){l=[6,o],a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(Wo,"__esModule",{value:!0});var Kb=de,ew=function(){function t(){this.client=new Kb.DataResource}return t.prototype.calculateMaximumLoanAmount=function(e){return Ma(this,void 0,void 0,function(){return Pa(this,function(r){return[2,this.client.calculateMaximumLoanAmount(e)]})})},t.prototype.findVehicle=function(e,r){return Ma(this,void 0,void 0,function(){return Pa(this,function(n){return[2,this.client.findVehicle(e,r)]})})},t.prototype.checkLicensePlate=function(e,r,n){return Ma(this,void 0,void 0,function(){return Pa(this,function(a){return[2,this.client.checkLicensePlate(e,r,n)]})})},t.prototype.validateIBAN=function(e){return Ma(this,void 0,void 0,function(){return Pa(this,function(r){return[2,this.client.validateIBAN(e)]})})},t}();Wo.default=ew;var wn={},tw=g&&g.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(wn,"__esModule",{value:!0});var uc=mr,rw=function(){function t(){}return t.prototype.handleRates=function(e){var r,n,a=[new uc.RateHandler],i=0;try{for(var s=tw(e),c=s.next();!c.done;c=s.next()){var f=c.value;f!==void 0&&(a.push(a[i].setNext(new uc.RateHandler(f))),i++)}}catch(l){r={error:l}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a[0].handle()},t}();wn.default=rw;var Ra={},$e={},Da={};Object.defineProperty(Da,"__esModule",{value:!0});var nw={price:function(t,e){return t.Price-e.Price},coverage:function(t,e){return t.Price-e.Price}};Da.default=nw;var ws={},Ss={};Object.defineProperty(Ss,"__esModule",{value:!0}),Ss.default=function(t,e,r){return Array.from({length:~~((e-t)/r)+1},function(n,a){return t+a*r})};var cc=g&&g.__values||function(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ws,"__esModule",{value:!0});var dc=Da,aw=Ss;ws.default=function(t){for(var e,r,n,a,i=[],s=1,c=0;c<t.length;c++){var f=parseInt(Object.keys(t[c]).sort().pop());f>s&&(s=f)}try{for(var l=cc((0,aw.default)(1,s,1)),o=l.next();!o.done;o=l.next()){var d=o.value,h=[];try{for(var u=(n=void 0,cc(t)),m=u.next();!m.done;m=u.next()){var v=m.value;v.hasOwnProperty(d)&&h.push(v[d])}}catch(y){n={error:y}}finally{try{m&&!m.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}h.length>=1&&(h.sort(dc.default.price),i.push(h.shift())),h=[]}}catch(y){e={error:y}}finally{try{o&&!o.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}return i.length>=2&&i.sort(dc.default.coverage),i},function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.compareRateByCoverage=t.sortBy=void 0;var e=Da;Object.defineProperty(t,"sortBy",{enumerable:!0,get:function(){return e.default}});var r=ws;Object.defineProperty(t,"compareRateByCoverage",{enumerable:!0,get:function(){return r.default}})}($e);var fc;function iw(){if(fc)return Ra;fc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(_){try{p(d.next(_))}catch(w){m(w)}}function y(_){try{p(d.throw(_))}catch(w){m(w)}}function p(_){_.done?u(_.value):h(_.value).then(v,y)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(_){return y([p,_])}}function y(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(_){p=[6,_],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Ra,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.PetResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("pet",h.sort(i.sortBy.price))]}})})},l.prototype.getPetsecureAdditionalCoverages=function(o){return this.client.getPetsecurAdditionalCoverages(o)},l}(s.RateService);return Ra.default=c,Ra}var ja={},hc;function ow(){if(hc)return ja;hc=1;var t=g&&g.__extends||function(){var c=function(f,l){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var h in d)Object.prototype.hasOwnProperty.call(d,h)&&(o[h]=d[h])},c(f,l)};return function(f,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");c(f,l);function o(){this.constructor=f}f.prototype=l===null?Object.create(l):(o.prototype=l.prototype,new o)}}(),e=g&&g.__awaiter||function(c,f,l,o){function d(h){return h instanceof l?h:new l(function(u){u(h)})}return new(l||(l=Promise))(function(h,u){function m(p){try{y(o.next(p))}catch(_){u(_)}}function v(p){try{y(o.throw(p))}catch(_){u(_)}}function y(p){p.done?h(p.value):d(p.value).then(m,v)}y((o=o.apply(c,f||[])).next())})},r=g&&g.__generator||function(c,f){var l={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},o,d,h,u;return u={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function m(y){return function(p){return v([y,p])}}function v(y){if(o)throw new TypeError("Generator is already executing.");for(;u&&(u=0,y[0]&&(l=0)),l;)try{if(o=1,d&&(h=y[0]&2?d.return:y[0]?d.throw||((h=d.return)&&h.call(d),0):d.next)&&!(h=h.call(d,y[1])).done)return h;switch(d=0,h&&(y=[y[0]&2,h.value]),y[0]){case 0:case 1:h=y;break;case 4:return l.label++,{value:y[1],done:!1};case 5:l.label++,d=y[1],y=[0];continue;case 7:y=l.ops.pop(),l.trys.pop();continue;default:if(h=l.trys,!(h=h.length>0&&h[h.length-1])&&(y[0]===6||y[0]===2)){l=0;continue}if(y[0]===3&&(!h||y[1]>h[0]&&y[1]<h[3])){l.label=y[1];break}if(y[0]===6&&l.label<h[1]){l.label=h[1],h=y;break}if(h&&l.label<h[2]){l.label=h[2],l.ops.push(y);break}h[2]&&l.ops.pop(),l.trys.pop();continue}y=f.call(c,l)}catch(p){y=[6,p],d=0}finally{o=h=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}};Object.defineProperty(ja,"__esModule",{value:!0});var n=z(),a=Ce(),i=de,s=function(c){t(f,c);function f(){var l=c.call(this)||this;return l.client=new i.LoanResource,l}return f.prototype.getRates=function(l){return e(this,void 0,void 0,function(){var o,d;return r(this,function(h){switch(h.label){case 0:return[4,this.client.getRates(l)];case 1:return o=h.sent(),d=this.handleRates(o),[2,new n.RateCollection("loan",d)]}})})},f.prototype.getFieldValues=function(l){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.getFieldValues(l)]})})},f.prototype.loanRequest=function(l){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.loanRequest(l)]})})},f}(a.RateService);return ja.default=s,ja}var $a={},pc;function sw(){if(pc)return $a;pc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(_){try{p(d.next(_))}catch(w){m(w)}}function y(_){try{p(d.throw(_))}catch(w){m(w)}}function p(_){_.done?u(_.value):h(_.value).then(v,y)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(_){return y([p,_])}}function y(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(_){p=[6,_],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty($a,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.HomeResource,o}return l.prototype.findHome=function(o){return this.client.findHome(o)},l.prototype.getAddition=function(o){return this.client.getAddition(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("home",h.sort(i.sortBy.price))]}})})},l.prototype.getAmount=function(o){return this.client.getAmount(o)},l}(s.RateService);return $a.default=c,$a}var Ta={},mc;function lw(){if(mc)return Ta;mc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(_){try{p(d.next(_))}catch(w){m(w)}}function y(_){try{p(d.throw(_))}catch(w){m(w)}}function p(_){_.done?u(_.value):h(_.value).then(v,y)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(_){return y([p,_])}}function y(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(_){p=[6,_],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Ta,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.MopedResource,o}return l.prototype.findMoped=function(o){return this.client.findMoped(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("moped",h.sort(i.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("moped",(0,i.compareRateByCoverage)(h))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},l.prototype.getEnraAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getEnraAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l}(s.RateService);return Ta.default=c,Ta}var Fa={},vc;function uw(){if(vc)return Fa;vc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(_){try{p(d.next(_))}catch(w){m(w)}}function y(_){try{p(d.throw(_))}catch(w){m(w)}}function p(_){_.done?u(_.value):h(_.value).then(v,y)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(_){return y([p,_])}}function y(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(_){p=[6,_],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Fa,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.MotorResource,o}return l.prototype.findMotor=function(o){return this.client.findMotor(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("motor",h.sort(i.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("motor",(0,i.compareRateByCoverage)(h))]}})})},l.prototype.getCoverageRateComparisonForCoverage=function(o,d){return e(this,void 0,void 0,function(){var h,u;return r(this,function(m){switch(m.label){case 0:return[4,this.client.getCoverageRateComparison(d,o)];case 1:return h=m.sent(),u=this.handleRates(h),[2,new a.RateCollection("motor",(0,i.compareRateByCoverage)(u))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},l.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},l.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRollsAdditionalCoverages(o)]})})},l}(s.RateService);return Fa.default=c,Fa}var Aa={},_c;function cw(){if(_c)return Aa;_c=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(_){try{p(d.next(_))}catch(w){m(w)}}function y(_){try{p(d.throw(_))}catch(w){m(w)}}function p(_){_.done?u(_.value):h(_.value).then(v,y)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(_){return y([p,_])}}function y(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(_){p=[6,_],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Aa,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.CaravanResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("caravan",h.sort(i.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("caravan",(0,i.compareRateByCoverage)(h))]}})})},l.prototype.getCaravanBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanBrands(o)]})})},l.prototype.getCaravanVDBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanVDBrands(o)]})})},l.prototype.getCaravanModels=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanModels(o)]})})},l.prototype.getCaravanTypes=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanTypes(o)]})})},l.prototype.getCaravanCatalogPrice=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanCatalogPrice(o)]})})},l}(s.RateService);return Aa.default=c,Aa}var Ea={},yc;function dw(){if(yc)return Ea;yc=1;var t=g&&g.__extends||function(){var l=function(o,d){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,u){h.__proto__=u}||function(h,u){for(var m in u)Object.prototype.hasOwnProperty.call(u,m)&&(h[m]=u[m])},l(o,d)};return function(o,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");l(o,d);function h(){this.constructor=o}o.prototype=d===null?Object.create(d):(h.prototype=d.prototype,new h)}}(),e=g&&g.__awaiter||function(l,o,d,h){function u(m){return m instanceof d?m:new d(function(v){v(m)})}return new(d||(d=Promise))(function(m,v){function y(w){try{_(h.next(w))}catch(R){v(R)}}function p(w){try{_(h.throw(w))}catch(R){v(R)}}function _(w){w.done?m(w.value):u(w.value).then(y,p)}_((h=h.apply(l,o||[])).next())})},r=g&&g.__generator||function(l,o){var d={label:0,sent:function(){if(m[0]&1)throw m[1];return m[1]},trys:[],ops:[]},h,u,m,v;return v={next:y(0),throw:y(1),return:y(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function y(_){return function(w){return p([_,w])}}function p(_){if(h)throw new TypeError("Generator is already executing.");for(;v&&(v=0,_[0]&&(d=0)),d;)try{if(h=1,u&&(m=_[0]&2?u.return:_[0]?u.throw||((m=u.return)&&m.call(u),0):u.next)&&!(m=m.call(u,_[1])).done)return m;switch(u=0,m&&(_=[_[0]&2,m.value]),_[0]){case 0:case 1:m=_;break;case 4:return d.label++,{value:_[1],done:!1};case 5:d.label++,u=_[1],_=[0];continue;case 7:_=d.ops.pop(),d.trys.pop();continue;default:if(m=d.trys,!(m=m.length>0&&m[m.length-1])&&(_[0]===6||_[0]===2)){d=0;continue}if(_[0]===3&&(!m||_[1]>m[0]&&_[1]<m[3])){d.label=_[1];break}if(_[0]===6&&d.label<m[1]){d.label=m[1],m=_;break}if(m&&d.label<m[2]){d.label=m[2],d.ops.push(_);break}m[2]&&d.ops.pop(),d.trys.pop();continue}_=o.call(l,d)}catch(w){_=[6,w],u=0}finally{h=m=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}};Object.defineProperty(Ea,"__esModule",{value:!0});var n=de,a=z(),i=mr,s=$e,c=wn,f=function(l){t(o,l);function o(){var d=l.call(this)||this;return d.client=new n.BikeResource,d}return o.prototype.getRates=function(d){return e(this,void 0,void 0,function(){var h,u;return r(this,function(m){switch(m.label){case 0:return[4,this.client.getRates(d)];case 1:return h=m.sent(),u=this.handleRates(h),[2,new a.RateCollection("bike",u.sort(s.sortBy.price))]}})})},o.prototype.getEnraRates=function(d){return e(this,void 0,void 0,function(){var h,u,m;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getEnraRates(d)];case 1:return h=v.sent(),u=new i.RateHandler(h),m=u.handle(),[2,new a.RateCollection("bike",m.sort(s.sortBy.price))]}})})},o}(c.default);return Ea.default=f,Ea}var Ia={},gc;function fw(){if(gc)return Ia;gc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(_){try{p(d.next(_))}catch(w){m(w)}}function y(_){try{p(d.throw(_))}catch(w){m(w)}}function p(_){_.done?u(_.value):h(_.value).then(v,y)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(_){return y([p,_])}}function y(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(_){p=[6,_],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Ia,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.HouseholdResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("household",h.sort(i.sortBy.price))]}})})},l.prototype.getAmount=function(o){return this.client.getAmount(o)},l}(s.RateService);return Ia.default=c,Ia}var Os={},ks={},hw=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(ks,"__esModule",{value:!0});var pw=ke,mw=function(t){hw(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v1/categories")},e.prototype.getAvailableServices=function(){return[]},e.prototype.getCategory=function(){return""},e.prototype.getDog=function(){return this.http({method:"get",url:"/get/dogs"})},e.prototype.getCat=function(){return this.http({method:"get",url:"/get/cats"})},e.prototype.getDogsRates=function(r){return this.http({method:"get",url:"/dogs/rates?"+new URLSearchParams(r)})},e.prototype.getCatsRates=function(r){return this.http({method:"get",url:"/cats/rates?"+new URLSearchParams(r)})},e.prototype.getPetFilters=function(){return this.http({method:"get",url:"/pets/filters"})},e.prototype.getHealthPackageInfo=function(r,n,a){return this.http({method:"get",url:"/health/package/".concat(r,"/").concat(n,"?")+new URLSearchParams(a)})},e.prototype.getHealthRates=function(r){return this.http({method:"get",url:"/health/rates?"+new URLSearchParams(r)})},e.prototype.getBikesRates=function(r){return this.http({method:"get",url:"/bikes/rates?"+new URLSearchParams(r)})},e.prototype.getBikesFilters=function(){return this.http({method:"get",url:"/bikes/filters"})},e.prototype.getBikesTermins=function(){return this.http({method:"get",url:"/bikes/termins"})},e.prototype.getCarCoverages=function(){return this.http({method:"get",url:"/car/coverages"})},e.prototype.getCarsRates=function(r,n){return this.http({method:"get",url:"/cars/".concat(r,"/rates?")+new URLSearchParams(n)})},e.prototype.getExtraOptions=function(r){return this.http({method:"get",url:"/extra/options/".concat(r)})},e.prototype.getVergelijkdirectAdditionalCoverages=function(r){return this.http({method:"post",url:"/pet/vergelijkdirect/additional_coverages?"+new URLSearchParams(r)})},e}(pw.default);ks.default=mw,Object.defineProperty(Os,"__esModule",{value:!0});var vw=ks,_w=function(){function t(){this.client=new vw.default}return t.prototype.getDog=function(){return this.client.getDog()},t.prototype.getCat=function(){return this.client.getCat()},t.prototype.getDogsRates=function(e){return this.client.getDogsRates(e)},t.prototype.getCatsRates=function(e){return this.client.getCatsRates(e)},t.prototype.getPetFilters=function(){return this.client.getPetFilters()},t.prototype.getHealthPackageInfo=function(e,r,n){return this.client.getHealthPackageInfo(e,r,n)},t.prototype.getHealthRates=function(e){return this.client.getHealthRates(e)},t.prototype.getBikeRates=function(e){return this.client.getBikesRates(e)},t.prototype.getBikesFilters=function(){return this.client.getBikesFilters()},t.prototype.getBikesTermins=function(){return this.client.getBikesTermins()},t.prototype.getCarCoverages=function(){return this.client.getCarCoverages()},t.prototype.getCarsRates=function(e,r){return this.client.getCarsRates(e,r)},t.prototype.getExtraOptions=function(e){return this.client.getExtraOptions(e)},t.prototype.getVergelijkdirectAdditionalCoverages=function(e){return this.client.getVergelijkdirectAdditionalCoverages(e)},t}();Os.default=_w;var Ya={},bc;function yw(){if(bc)return Ya;bc=1;var t=g&&g.__extends||function(){var l=function(o,d){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,u){h.__proto__=u}||function(h,u){for(var m in u)Object.prototype.hasOwnProperty.call(u,m)&&(h[m]=u[m])},l(o,d)};return function(o,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");l(o,d);function h(){this.constructor=o}o.prototype=d===null?Object.create(d):(h.prototype=d.prototype,new h)}}(),e=g&&g.__awaiter||function(l,o,d,h){function u(m){return m instanceof d?m:new d(function(v){v(m)})}return new(d||(d=Promise))(function(m,v){function y(w){try{_(h.next(w))}catch(R){v(R)}}function p(w){try{_(h.throw(w))}catch(R){v(R)}}function _(w){w.done?m(w.value):u(w.value).then(y,p)}_((h=h.apply(l,o||[])).next())})},r=g&&g.__generator||function(l,o){var d={label:0,sent:function(){if(m[0]&1)throw m[1];return m[1]},trys:[],ops:[]},h,u,m,v;return v={next:y(0),throw:y(1),return:y(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function y(_){return function(w){return p([_,w])}}function p(_){if(h)throw new TypeError("Generator is already executing.");for(;v&&(v=0,_[0]&&(d=0)),d;)try{if(h=1,u&&(m=_[0]&2?u.return:_[0]?u.throw||((m=u.return)&&m.call(u),0):u.next)&&!(m=m.call(u,_[1])).done)return m;switch(u=0,m&&(_=[_[0]&2,m.value]),_[0]){case 0:case 1:m=_;break;case 4:return d.label++,{value:_[1],done:!1};case 5:d.label++,u=_[1],_=[0];continue;case 7:_=d.ops.pop(),d.trys.pop();continue;default:if(m=d.trys,!(m=m.length>0&&m[m.length-1])&&(_[0]===6||_[0]===2)){d=0;continue}if(_[0]===3&&(!m||_[1]>m[0]&&_[1]<m[3])){d.label=_[1];break}if(_[0]===6&&d.label<m[1]){d.label=m[1],m=_;break}if(m&&d.label<m[2]){d.label=m[2],d.ops.push(_);break}m[2]&&d.ops.pop(),d.trys.pop();continue}_=o.call(l,d)}catch(w){_=[6,w],u=0}finally{h=m=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}};Object.defineProperty(Ya,"__esModule",{value:!0});var n=de,a=z(),i=mr,s=$e,c=Ce(),f=function(l){t(o,l);function o(){var d=l.call(this)||this;return d.client=new n.HousingResource,d}return o.prototype.getRates=function(d){return e(this,void 0,void 0,function(){var h,u;return r(this,function(m){switch(m.label){case 0:return[4,this.client.getRates(d)];case 1:return h=m.sent(),u=this.handleRates(h),[2,new a.RateCollection("housing",u.sort(s.sortBy.price))]}})})},o.prototype.getMoneyviewRates=function(d){return e(this,void 0,void 0,function(){var h,u,m;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getMoneyviewRates(d)];case 1:return h=v.sent(),u=new i.RateHandler(h),m=u.handle(),[2,new a.RateCollection("housing",m.sort(s.sortBy.price))]}})})},o}(c.RateService);return Ya.default=f,Ya}var Na={},wc;function gw(){if(wc)return Na;wc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(_){try{p(d.next(_))}catch(w){m(w)}}function y(_){try{p(d.throw(_))}catch(w){m(w)}}function p(_){_.done?u(_.value):h(_.value).then(v,y)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(_){return y([p,_])}}function y(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(_){p=[6,_],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Na,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.LiabilityResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("liability",h.sort(i.sortBy.price))]}})})},l}(s.RateService);return Na.default=c,Na}var La={},Sc;function bw(){if(Sc)return La;Sc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(_){try{p(d.next(_))}catch(w){m(w)}}function y(_){try{p(d.throw(_))}catch(w){m(w)}}function p(_){_.done?u(_.value):h(_.value).then(v,y)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(_){return y([p,_])}}function y(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(_){p=[6,_],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(La,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.LegalAssistanceResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("legal-assistance",h.sort(i.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},l.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return this.client.getVergelijkdirectAdditionalCoverages(o)},l}(s.RateService);return La.default=c,La}var Cs={};Object.defineProperty(Cs,"__esModule",{value:!0});var ww=de,Sw=function(){function t(){this.client=new ww.PartnerResource}return t.prototype.getPartnerInfo=function(e){return e===void 0&&(e=null),this.client.getPartnerInfo(e)},t.prototype.getPartnerVersion=function(){return this.client.getPartnerVersion()},t}();Cs.default=Sw;var xs={};Object.defineProperty(xs,"__esModule",{value:!0});var Ow=de,kw=function(){function t(){this.client=new Ow.ComparisonModuleResource}return t.prototype.getInitializationData=function(){return this.client.getInitializationData()},t.prototype.getScriptSource=function(){return this.client.getScriptSource()},t}();xs.default=kw;var Ba={},Ms={},Ps={};Object.defineProperty(Ps,"__esModule",{value:!0});var Cw=function(){function t(e){e===void 0&&(e={}),this.partnerId=0,this.configure(e)}return t.prototype.configure=function(e){this.partnerId=e.id,this.afmLicenseNumber=e.afm_license_number,this.insuranceLogos=e.insuranceLogos,this.comparisonLinks=e.comparisonLinks,this.partnerPixels=e.partner_pixels,this.configurations=e.configurations},t.prototype.getPartnerId=function(){return this.partnerId},t.prototype.getAfmLicenseNumber=function(){return this.afmLicenseNumber},t.prototype.getAllInsuranceLogos=function(){return this.insuranceLogos},t.prototype.getAllComparisonLinks=function(){return this.comparisonLinks},t.prototype.getPartnerPixels=function(){return this.partnerPixels},t.prototype.getAllConfigurations=function(){return this.configurations},t.prototype.getServices=function(e,r){if(e===r){if(this.configurations.hasOwnProperty(e))return this.configurations[e]}else if(this.configurations.hasOwnProperty(r)&&this.configurations[r].hasOwnProperty(e))return this.configurations[r][e];return[]},t}();Ps.default=Cw;var Ha={},Oc;function xw(){if(Oc)return Ha;Oc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(s[f]=c[f])},n(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(a,i);function s(){this.constructor=a}a.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();Object.defineProperty(Ha,"__esModule",{value:!0});var e=Cc(),r=function(n){t(a,n);function a(){var i={id:0,afm_license_number:null,insuranceLogos:{},comparisonLinks:[],configurations:{},partner_pixels:[]};return n.call(this,i)||this}return a}(e.ConfigurationModel);return Ha.default=r,Ha}var kc;function Cc(){return kc||(kc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultConfigurationModel=t.ConfigurationModel=void 0;var e=Ps;Object.defineProperty(t,"ConfigurationModel",{enumerable:!0,get:function(){return e.default}});var r=xw();Object.defineProperty(t,"DefaultConfigurationModel",{enumerable:!0,get:function(){return r.default}})}(Ms)),Ms}var xc;function Mw(){if(xc)return Ba;xc=1;var t=g&&g.__awaiter||function(i,s,c,f){function l(o){return o instanceof c?o:new c(function(d){d(o)})}return new(c||(c=Promise))(function(o,d){function h(v){try{m(f.next(v))}catch(y){d(y)}}function u(v){try{m(f.throw(v))}catch(y){d(y)}}function m(v){v.done?o(v.value):l(v.value).then(h,u)}m((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,l,o,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(m){return function(v){return u([m,v])}}function u(m){if(f)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(c=0)),c;)try{if(f=1,l&&(o=m[0]&2?l.return:m[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,m[1])).done)return o;switch(l=0,o&&(m=[m[0]&2,o.value]),m[0]){case 0:case 1:o=m;break;case 4:return c.label++,{value:m[1],done:!1};case 5:c.label++,l=m[1],m=[0];continue;case 7:m=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(m[0]===6||m[0]===2)){c=0;continue}if(m[0]===3&&(!o||m[1]>o[0]&&m[1]<o[3])){c.label=m[1];break}if(m[0]===6&&c.label<o[1]){c.label=o[1],o=m;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(m);break}o[2]&&c.ops.pop(),c.trys.pop();continue}m=s.call(i,c)}catch(v){m=[6,v],l=0}finally{f=o=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Ba,"__esModule",{value:!0});var r=Ce(),n=Cc(),a=function(){function i(){this.configured=!1,this.configuration=new n.DefaultConfigurationModel,this.configurationService=new r.ComparisonModuleService}return i.prototype.configure=function(){return t(this,void 0,void 0,function(){var s,c,f;return e(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,this.configurationService.getInitializationData()];case 1:return s=l.sent(),c=new n.ConfigurationModel(s),this.setConfigurations(c),[3,3];case 2:return f=l.sent(),console.error(f),[3,3];case 3:return[2]}})})},i.prototype.isConfigured=function(){return this.configured},i.prototype.setConfigurations=function(s){this.configuration=s,this.configured=!0},i.prototype.getConfigurations=function(){return this.configuration},i}();return Ba.default=a,Ba}var za={},qa={},Rs={};Object.defineProperty(Rs,"__esModule",{value:!0});function Pw(t,e){e===void 0&&(e=!1);var r={moped:"MopedInsurances",motor:"MotorInsurances",pet:"PetInsurances",home:"HomeInsurances",household:"HouseholdInsurances",liability:"LiabilityInsurances","legal-assistance":"LegalAssistanceInsurances",car:"CarInsurances",travel:"TravelInsurances"};return e&&(r=Object.keys(r).reduce(function(n,a){return n[r[a]]=a,n},{})),r[t]}Rs.default=Pw;var Ds={};Object.defineProperty(Ds,"__esModule",{value:!0}),Ds.default=["MopedInsurances","MotorInsurances","PetInsurances","HomeInsurances","HouseholdInsurances","LiabilityInsurances","LegalAssistanceInsurances","CarInsurances","TravelInsurances"],function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.insuranceKeyConfig=t.mapRiskInsurances=void 0;var e=Rs;Object.defineProperty(t,"mapRiskInsurances",{enumerable:!0,get:function(){return e.default}});var r=Ds;Object.defineProperty(t,"insuranceKeyConfig",{enumerable:!0,get:function(){return r.default}})}(qa);var Sn={};Object.defineProperty(Sn,"__esModule",{value:!0}),Sn.supplierPlacementTracker=void 0,Sn.supplierPlacementTracker={setParams:function(){var t=new URLSearchParams(window.location.search),e=t.get("supplierID"),r=t.get("placementID");e&&r&&(localStorage.setItem("supplierID",e),localStorage.setItem("placementID",r))},removeParams:function(){localStorage.removeItem("supplierID"),localStorage.removeItem("placementID")}};var Mc;function Rw(){if(Mc)return za;Mc=1;var t=g&&g.__awaiter||function(o,d,h,u){function m(v){return v instanceof h?v:new h(function(y){y(v)})}return new(h||(h=Promise))(function(v,y){function p(R){try{w(u.next(R))}catch(q){y(q)}}function _(R){try{w(u.throw(R))}catch(q){y(q)}}function w(R){R.done?v(R.value):m(R.value).then(p,_)}w((u=u.apply(o,d||[])).next())})},e=g&&g.__generator||function(o,d){var h={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]},u,m,v,y;return y={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(y[Symbol.iterator]=function(){return this}),y;function p(w){return function(R){return _([w,R])}}function _(w){if(u)throw new TypeError("Generator is already executing.");for(;y&&(y=0,w[0]&&(h=0)),h;)try{if(u=1,m&&(v=w[0]&2?m.return:w[0]?m.throw||((v=m.return)&&v.call(m),0):m.next)&&!(v=v.call(m,w[1])).done)return v;switch(m=0,v&&(w=[w[0]&2,v.value]),w[0]){case 0:case 1:v=w;break;case 4:return h.label++,{value:w[1],done:!1};case 5:h.label++,m=w[1],w=[0];continue;case 7:w=h.ops.pop(),h.trys.pop();continue;default:if(v=h.trys,!(v=v.length>0&&v[v.length-1])&&(w[0]===6||w[0]===2)){h=0;continue}if(w[0]===3&&(!v||w[1]>v[0]&&w[1]<v[3])){h.label=w[1];break}if(w[0]===6&&h.label<v[1]){h.label=v[1],v=w;break}if(v&&h.label<v[2]){h.label=v[2],h.ops.push(w);break}v[2]&&h.ops.pop(),h.trys.pop();continue}w=d.call(o,h)}catch(R){w=[6,R],m=0}finally{u=v=0}if(w[0]&5)throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}},r=g&&g.__values||function(o){var d=typeof Symbol=="function"&&Symbol.iterator,h=d&&o[d],u=0;if(h)return h.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(za,"__esModule",{value:!0});var n=de,a=qa,i=z(),s=$e,c=Sn,f=Fr,l=function(){function o(){this.client=new n.PackageResource}return o.prototype.calculatePackage=function(d){return this.client.calculatePackage(d)},o.prototype.calculateAdditionalCoverages=function(d){return this.client.calculateAdditionalCoverages(d)},o.prototype.calculatePackages=function(d){return t(this,void 0,void 0,function(){var h,u,m,v,y,p,_,w,R;return e(this,function(q){switch(q.label){case 0:h=new i.RateCollection,u=[],q.label=1;case 1:return q.trys.push([1,3,,4]),[4,this.client.calculatePackages(d)];case 2:return u=q.sent(),u.length===0?[2,h]:[3,4];case 3:return q.sent(),[2,h];case 4:if(m=f.Injector.instance.get(d),v=[],m.funnel!="package")return[2,new i.RateCollection("package",u.filter(Boolean).sort(s.sortBy.price))];try{for(y=r(u),p=y.next();!p.done;p=y.next())_=p.value,v.push(this.client.calculatePackageDiscount(_.CompanyName,_).catch(function(he){return null}))}catch(he){w={error:he}}finally{try{p&&!p.done&&(R=y.return)&&R.call(y)}finally{if(w)throw w.error}}return[2,Promise.all(v).then(function(he){return new i.RateCollection("package",he.filter(Boolean).sort(s.sortBy.price))})]}})})},o.prototype.calculateCompanyDiscount=function(d,h){return this.client.calculatePackageDiscount(d,h)},o.prototype.requestPackage=function(d){return t(this,void 0,void 0,function(){var h;return e(this,function(u){switch(u.label){case 0:return localStorage.getItem("supplierID")&&localStorage.getItem("placementID")&&(d.SupplierID=localStorage.getItem("supplierID"),d.PlacementID=localStorage.getItem("placementID")),[4,this.client.requestPackage(d)];case 1:return h=u.sent(),c.supplierPlacementTracker.removeParams(),[2,h]}})})},o.prototype.savePackage=function(d){return this.client.savePackage(d)},o.prototype.addAdditionalUserInfo=function(d){return this.client.addAdditionalUserInfo(d)},o.prototype.annualDiscount=function(d){return this.client.annualDiscount(d)},o.prototype.getRequest=function(d){for(var h={},u=0;u<d.length;u++){var m=(0,a.mapRiskInsurances)(d[u].Category);h.hasOwnProperty(m)||(h[m]=[]),h[m].push(d[u])}return h},o}();return za.default=l,za}var Va={},Pc;function Dw(){if(Pc)return Va;Pc=1;var t=g&&g.__awaiter||function(i,s,c,f){function l(o){return o instanceof c?o:new c(function(d){d(o)})}return new(c||(c=Promise))(function(o,d){function h(v){try{m(f.next(v))}catch(y){d(y)}}function u(v){try{m(f.throw(v))}catch(y){d(y)}}function m(v){v.done?o(v.value):l(v.value).then(h,u)}m((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,l,o,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(m){return function(v){return u([m,v])}}function u(m){if(f)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(c=0)),c;)try{if(f=1,l&&(o=m[0]&2?l.return:m[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,m[1])).done)return o;switch(l=0,o&&(m=[m[0]&2,o.value]),m[0]){case 0:case 1:o=m;break;case 4:return c.label++,{value:m[1],done:!1};case 5:c.label++,l=m[1],m=[0];continue;case 7:m=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(m[0]===6||m[0]===2)){c=0;continue}if(m[0]===3&&(!o||m[1]>o[0]&&m[1]<o[3])){c.label=m[1];break}if(m[0]===6&&c.label<o[1]){c.label=o[1],o=m;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(m);break}o[2]&&c.ops.pop(),c.trys.pop();continue}m=s.call(i,c)}catch(v){m=[6,v],l=0}finally{f=o=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Va,"__esModule",{value:!0});var r=de,n=z(),a=function(){function i(){this.client=new r.DocumentResource}return i.prototype.getMoneyviewDocumentList=function(s){return this.client.getMoneyviewDocumentList(s)},i.prototype.getDocuments=function(s){return t(this,void 0,void 0,function(){var c=this;return e(this,function(f){return[2,function(){var l=!1,o=new n.DocumentsModel({ConditionUrls:[],InsuranceCards:[]});return function(){return t(c,void 0,void 0,function(){var d,h;return e(this,function(u){switch(u.label){case 0:if(l)return[3,4];l=!0,u.label=1;case 1:return u.trys.push([1,3,,4]),[4,this.client.getMoneyviewDocumentList(s)];case 2:return d=u.sent(),[2,new n.DocumentsModel(d)];case 3:return h=u.sent(),console.error(h),[3,4];case 4:return[2,o]}})})}}()]})})},i}();return Va.default=a,Va}var Ua={},js={},Wa={},Rc;function jw(){if(Rc)return Wa;Rc=1;var t=g&&g.__values||function(a){var i=typeof Symbol=="function"&&Symbol.iterator,s=i&&a[i],c=0;if(s)return s.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&c>=a.length&&(a=void 0),{value:a&&a[c++],done:!a}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Wa,"__esModule",{value:!0});var e=z(),r=qa,n=function(){function a(){}return a.get=function(i,s){return i==="pet"?new e.PetsecurRate(i,s):i==="package"?a.createPackageRate(i,s):a.createRate(i,s)},a.createPackageRate=function(i,s){var c,f;try{for(var l=t(r.insuranceKeyConfig),o=l.next();!o.done;o=l.next()){var d=o.value,h=(0,r.mapRiskInsurances)(d,!0);if(s.hasOwnProperty(d)){var u=s[d];if(!(Array.isArray(u)&&u.length)){delete s[d];continue}for(var m=new e.RateCollection(h,[]),v=0;v<s[d].length;v++)m.push(a.createRate(h,u[v]));s[d]=m}}}catch(y){c={error:y}}finally{try{o&&!o.done&&(f=l.return)&&f.call(l)}finally{if(c)throw c.error}}return new e.PackageRate(i,s)},a.createRate=function(i,s){return s.Service==="Vergelijkdirect"?new e.VergelijkdirectRate(i,s):s.Service==="Moneyview"?new e.MoneyviewRate(i,s):s.Service==="RISK"?new e.RiskRate(i,s):s.Service==="Enra"?new e.EnraRate(i,s):s.Service==="Laka"?new e.LakaRate(i,s):s.Service==="Rolls"?new e.RollsRate(i,s):s.Service==="Petsecur"?new e.PetsecurRate(i,s):s.Service==="DKM"?new e.DkmRate(i,s):new e.UndefinedRate},a}();return Wa.default=n,Wa}var Ga={},Dc;function $w(){if(Dc)return Ga;Dc=1,Object.defineProperty(Ga,"__esModule",{value:!0});var t=Ce(),e=function(){function r(){}return r.get=function(n){if(n==="moped")return new t.MopedService;if(n==="motor")return new t.MotorService;if(n==="pet")return new t.PetService;if(n==="home")return new t.HomeService;if(n==="caravan")return new t.CaravanService;if(n==="bike")return new t.BikeService;if(n==="household")return new t.HouseholdService;if(n==="liability")return new t.LiabilityService;if(n==="legal-assistance")return new t.LegalAssistanceService;if(n==="car")return new t.CarService;if(n==="travel")return new t.TravelService;if(n==="package")return new t.PackageService;throw new Error("Undefined api service")},r}();return Ga.default=e,Ga}var Za={},jc;function Tw(){if(jc)return Za;jc=1,Object.defineProperty(Za,"__esModule",{value:!0});var t=z(),e=function(){function r(){}return r.createFromResponse=function(n){if(n.hasOwnProperty("data")&&n.hasOwnProperty("user")&&n.hasOwnProperty("funnel")&&n.hasOwnProperty("unique_id"))return n.data.hasOwnProperty("event")&&(n.data=n.data.event),t.Comparison.fromObject(n);throw new Error("Structure of comparison is incorrect")},r}();return Za.default=e,Za}var $c;function Yt(){return $c||($c=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComparisonFactory=t.ApiServiceFactory=t.RateFactory=void 0;var e=jw();Object.defineProperty(t,"RateFactory",{enumerable:!0,get:function(){return e.default}});var r=$w();Object.defineProperty(t,"ApiServiceFactory",{enumerable:!0,get:function(){return r.default}});var n=Tw();Object.defineProperty(t,"ComparisonFactory",{enumerable:!0,get:function(){return n.default}})}(js)),js}var Tc;function Fw(){if(Tc)return Ua;Tc=1;var t=g&&g.__awaiter||function(s,c,f,l){function o(d){return d instanceof f?d:new f(function(h){h(d)})}return new(f||(f=Promise))(function(d,h){function u(y){try{v(l.next(y))}catch(p){h(p)}}function m(y){try{v(l.throw(y))}catch(p){h(p)}}function v(y){y.done?d(y.value):o(y.value).then(u,m)}v((l=l.apply(s,c||[])).next())})},e=g&&g.__generator||function(s,c){var f={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},l,o,d,h;return h={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function u(v){return function(y){return m([v,y])}}function m(v){if(l)throw new TypeError("Generator is already executing.");for(;h&&(h=0,v[0]&&(f=0)),f;)try{if(l=1,o&&(d=v[0]&2?o.return:v[0]?o.throw||((d=o.return)&&d.call(o),0):o.next)&&!(d=d.call(o,v[1])).done)return d;switch(o=0,d&&(v=[v[0]&2,d.value]),v[0]){case 0:case 1:d=v;break;case 4:return f.label++,{value:v[1],done:!1};case 5:f.label++,o=v[1],v=[0];continue;case 7:v=f.ops.pop(),f.trys.pop();continue;default:if(d=f.trys,!(d=d.length>0&&d[d.length-1])&&(v[0]===6||v[0]===2)){f=0;continue}if(v[0]===3&&(!d||v[1]>d[0]&&v[1]<d[3])){f.label=v[1];break}if(v[0]===6&&f.label<d[1]){f.label=d[1],d=v;break}if(d&&f.label<d[2]){f.label=d[2],f.ops.push(v);break}d[2]&&f.ops.pop(),f.trys.pop();continue}v=c.call(s,f)}catch(y){v=[6,y],o=0}finally{l=d=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}};Object.defineProperty(Ua,"__esModule",{value:!0});var r=de,n=Yt(),a=Fr,i=function(){function s(){this.client=new r.ComparisonResource}return s.prototype.create=function(c,f){return f===void 0&&(f=null),t(this,void 0,void 0,function(){var l,o;return e(this,function(d){switch(d.label){case 0:return l={funnel:c},f!==null&&(l.user=f),[4,this.client.create(l)];case 1:return o=d.sent(),[2,n.ComparisonFactory.createFromResponse(o)]}})})},s.prototype.update=function(c){return t(this,void 0,void 0,function(){var f,l;return e(this,function(o){switch(o.label){case 0:return f=c.toObject(),[4,this.client.update(f,c.getId())];case 1:return l=o.sent(),[2,n.ComparisonFactory.createFromResponse(l)]}})})},s.prototype.get=function(c){return t(this,void 0,void 0,function(){var f,l;return e(this,function(o){switch(o.label){case 0:return[4,this.client.get(c)];case 1:return f=o.sent(),l=n.ComparisonFactory.createFromResponse(f),a.Injector.instance.constant(l.getId(),{funnel:l.getFunnel()}),a.Injector.instance.constant("X-Comparison-Funnel",l.getFunnel()),[2,l]}})})},s}();return Ua.default=i,Ua}var $s={};Object.defineProperty($s,"__esModule",{value:!0});var Aw=de,Ew=function(){function t(){this.client=new Aw.DataValidationResource}return t.prototype.validateEmail=function(e){return this.client.validateEmail(e)},t.prototype.validateIBAN=function(e){return this.client.validateIBAN(e)},t.prototype.validateZipCode=function(e,r,n){return n===void 0&&(n=""),this.client.validateZipCode(e,r,n)},t}();$s.default=Ew;var Xa={},Fc;function Iw(){if(Fc)return Xa;Fc=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(_){try{p(d.next(_))}catch(w){m(w)}}function y(_){try{p(d.throw(_))}catch(w){m(w)}}function p(_){_.done?u(_.value):h(_.value).then(v,y)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(_){return y([p,_])}}function y(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(_){p=[6,_],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Xa,"__esModule",{value:!0});var n=de,a=z(),i=$e,s=Ce(),c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new n.CarResource,o}return l.prototype.findCar=function(o){return this.client.findCar(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new a.RateCollection("car",h.sort(i.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRollsAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l}(s.RateService);return Xa.default=c,Xa}var Ja={},Ts={},Yw=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(Ts,"__esModule",{value:!0});var Nw=ke,Lw=function(t){Yw(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"travel"},e.prototype.getAvailableServices=function(){return["risk","vergelijkdirect","moneyview"]},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getVergelijkdirectAdditionalCoverages=function(r){return this.http({method:"post",url:"/vergelijkdirect/additional_coverages",data:r})},e.prototype.getMoneyviewAdditionalCoverages=function(r){return this.http({method:"post",url:"/moneyview/additional_coverages",data:r})},e}(Nw.default);Ts.default=Lw;var Ac;function Bw(){if(Ac)return Ja;Ac=1;var t=g&&g.__extends||function(){var f=function(l,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,h){d.__proto__=h}||function(d,h){for(var u in h)Object.prototype.hasOwnProperty.call(h,u)&&(d[u]=h[u])},f(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=g&&g.__awaiter||function(f,l,o,d){function h(u){return u instanceof o?u:new o(function(m){m(u)})}return new(o||(o=Promise))(function(u,m){function v(_){try{p(d.next(_))}catch(w){m(w)}}function y(_){try{p(d.throw(_))}catch(w){m(w)}}function p(_){_.done?u(_.value):h(_.value).then(v,y)}p((d=d.apply(f,l||[])).next())})},r=g&&g.__generator||function(f,l){var o={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},d,h,u,m;return m={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function v(p){return function(_){return y([p,_])}}function y(p){if(d)throw new TypeError("Generator is already executing.");for(;m&&(m=0,p[0]&&(o=0)),o;)try{if(d=1,h&&(u=p[0]&2?h.return:p[0]?h.throw||((u=h.return)&&u.call(h),0):h.next)&&!(u=u.call(h,p[1])).done)return u;switch(h=0,u&&(p=[p[0]&2,u.value]),p[0]){case 0:case 1:u=p;break;case 4:return o.label++,{value:p[1],done:!1};case 5:o.label++,h=p[1],p=[0];continue;case 7:p=o.ops.pop(),o.trys.pop();continue;default:if(u=o.trys,!(u=u.length>0&&u[u.length-1])&&(p[0]===6||p[0]===2)){o=0;continue}if(p[0]===3&&(!u||p[1]>u[0]&&p[1]<u[3])){o.label=p[1];break}if(p[0]===6&&o.label<u[1]){o.label=u[1],u=p;break}if(u&&o.label<u[2]){o.label=u[2],o.ops.push(p);break}u[2]&&o.ops.pop(),o.trys.pop();continue}p=l.call(f,o)}catch(_){p=[6,_],h=0}finally{d=u=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(Ja,"__esModule",{value:!0});var n=z(),a=$e,i=wn,s=Ts,c=function(f){t(l,f);function l(){var o=f.call(this)||this;return o.client=new s.default,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,h;return r(this,function(u){switch(u.label){case 0:return[4,this.client.getRates(o)];case 1:return d=u.sent(),h=this.handleRates(d),[2,new n.RateCollection("travel",h.sort(a.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},l}(i.default);return Ja.default=c,Ja}var Fs={},As={},Hw=g&&g.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(n[i]=a[i])},t(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");t(e,r);function n(){this.constructor=e}e.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(As,"__esModule",{value:!0});var zw=nt,qw=function(t){Hw(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2/user")},e.prototype.create=function(r){return this.http({method:"post",data:r})},e}(zw.default);As.default=qw,Object.defineProperty(Fs,"__esModule",{value:!0});var Vw=As,Uw=function(){function t(){this.client=new Vw.default}return t.prototype.create=function(e){return this.client.create(e)},t}();Fs.default=Uw;var Ec;function Ce(){return Ec||(Ec=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.UserService=t.TravelService=t.CarService=t.DataValidationService=t.ComparisonService=t.DocumentService=t.PackageService=t.ConfigurationsService=t.ComparisonModuleService=t.PartnerService=t.LegalAssistanceService=t.LiabilityService=t.HousingService=t.V1Service=t.HouseholdService=t.BikeService=t.CaravanService=t.MotorService=t.MopedService=t.HomeService=t.LoanService=t.PetService=t.RateService=t.DataService=void 0;var e=Wo;Object.defineProperty(t,"DataService",{enumerable:!0,get:function(){return e.default}});var r=wn;Object.defineProperty(t,"RateService",{enumerable:!0,get:function(){return r.default}});var n=iw();Object.defineProperty(t,"PetService",{enumerable:!0,get:function(){return n.default}});var a=ow();Object.defineProperty(t,"LoanService",{enumerable:!0,get:function(){return a.default}});var i=sw();Object.defineProperty(t,"HomeService",{enumerable:!0,get:function(){return i.default}});var s=lw();Object.defineProperty(t,"MopedService",{enumerable:!0,get:function(){return s.default}});var c=uw();Object.defineProperty(t,"MotorService",{enumerable:!0,get:function(){return c.default}});var f=cw();Object.defineProperty(t,"CaravanService",{enumerable:!0,get:function(){return f.default}});var l=dw();Object.defineProperty(t,"BikeService",{enumerable:!0,get:function(){return l.default}});var o=fw();Object.defineProperty(t,"HouseholdService",{enumerable:!0,get:function(){return o.default}});var d=Os;Object.defineProperty(t,"V1Service",{enumerable:!0,get:function(){return d.default}});var h=yw();Object.defineProperty(t,"HousingService",{enumerable:!0,get:function(){return h.default}});var u=gw();Object.defineProperty(t,"LiabilityService",{enumerable:!0,get:function(){return u.default}});var m=bw();Object.defineProperty(t,"LegalAssistanceService",{enumerable:!0,get:function(){return m.default}});var v=Cs;Object.defineProperty(t,"PartnerService",{enumerable:!0,get:function(){return v.default}});var y=xs;Object.defineProperty(t,"ComparisonModuleService",{enumerable:!0,get:function(){return y.default}});var p=Mw();Object.defineProperty(t,"ConfigurationsService",{enumerable:!0,get:function(){return p.default}});var _=Rw();Object.defineProperty(t,"PackageService",{enumerable:!0,get:function(){return _.default}});var w=Dw();Object.defineProperty(t,"DocumentService",{enumerable:!0,get:function(){return w.default}});var R=Fw();Object.defineProperty(t,"ComparisonService",{enumerable:!0,get:function(){return R.default}});var q=$s;Object.defineProperty(t,"DataValidationService",{enumerable:!0,get:function(){return q.default}});var he=Iw();Object.defineProperty(t,"CarService",{enumerable:!0,get:function(){return he.default}});var De=Bw();Object.defineProperty(t,"TravelService",{enumerable:!0,get:function(){return De.default}});var Me=Fs;Object.defineProperty(t,"UserService",{enumerable:!0,get:function(){return Me.default}})}(Uo)),Uo}var Ic;function Yc(){if(Ic)return Sa;Ic=1;var t=g&&g.__awaiter||function(i,s,c,f){function l(o){return o instanceof c?o:new c(function(d){d(o)})}return new(c||(c=Promise))(function(o,d){function h(v){try{m(f.next(v))}catch(y){d(y)}}function u(v){try{m(f.throw(v))}catch(y){d(y)}}function m(v){v.done?o(v.value):l(v.value).then(h,u)}m((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var c={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,l,o,d;return d={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function h(m){return function(v){return u([m,v])}}function u(m){if(f)throw new TypeError("Generator is already executing.");for(;d&&(d=0,m[0]&&(c=0)),c;)try{if(f=1,l&&(o=m[0]&2?l.return:m[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,m[1])).done)return o;switch(l=0,o&&(m=[m[0]&2,o.value]),m[0]){case 0:case 1:o=m;break;case 4:return c.label++,{value:m[1],done:!1};case 5:c.label++,l=m[1],m=[0];continue;case 7:m=c.ops.pop(),c.trys.pop();continue;default:if(o=c.trys,!(o=o.length>0&&o[o.length-1])&&(m[0]===6||m[0]===2)){c=0;continue}if(m[0]===3&&(!o||m[1]>o[0]&&m[1]<o[3])){c.label=m[1];break}if(m[0]===6&&c.label<o[1]){c.label=o[1],o=m;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(m);break}o[2]&&c.ops.pop(),c.trys.pop();continue}m=s.call(i,c)}catch(v){m=[6,v],l=0}finally{f=o=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Sa,"__esModule",{value:!0});var r=Ce(),n=z(),a=function(){function i(s,c){this.data=c,this.insuranceCategory=s,this.set("Category",s),this.documentService=new r.DocumentService,this.documents=this.fetchDocuments()}return i.prototype.getData=function(){return Object.assign({},this.data)},i.prototype.get=function(s,c){c===void 0&&(c=null);try{return s.split(".").reduce(function(f,l){return f[l]},this.getData())}catch(f){return c}},i.prototype.set=function(s,c){return this.data[s]=c,this},i.prototype.getPrice=function(){return this.get("Price",0)},i.prototype.getCoverage=function(){return this.get("Coverage",1)},i.prototype.getRates=function(){return new n.RateCollection},i.prototype.getCompanyName=function(){return this.data.CompanyName},i.prototype.getInsuranceCategory=function(){return this.insuranceCategory},i.prototype.fetchDocuments=function(){return t(this,void 0,void 0,function(){var s=this;return e(this,function(c){return[2,function(){return t(s,void 0,void 0,function(){return e(this,function(f){return[2,new n.DocumentsModel({ConditionUrls:this.get("ConditionUrls",[]),InsuranceCards:this.get("InsuranceCards",[])})]})})}]})})},i.prototype.getDocuments=function(){return t(this,void 0,void 0,function(){return e(this,function(s){switch(s.label){case 0:return[4,this.documents];case 1:return[2,s.sent()()]}})})},i}();return Sa.default=a,Sa}var Qa={},Ka={},Nc;function Lc(){if(Nc)return Ka;Nc=1;var t=g&&g.__values||function(a){var i=typeof Symbol=="function"&&Symbol.iterator,s=i&&a[i],c=0;if(s)return s.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&c>=a.length&&(a=void 0),{value:a&&a[c++],done:!a}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Ka,"__esModule",{value:!0});var e=z(),r=Yt(),n=function(){function a(i,s){if(i===void 0&&(i=null),s===void 0&&(s=[]),this.rates=[],this.pointer=0,i!==null)for(var c=0;c<s.length;c++)this.rates.push(r.RateFactory.get(i,s[c]))}return a.prototype.all=function(){return this.rates},a.prototype.count=function(){return this.rates.length},a.prototype.first=function(){return this.rates.length===0?new e.UndefinedRate:this.rates[0]},a.prototype.last=function(){return this.rates.length===0?new e.UndefinedRate:this.rates[this.rates.length-1]},a.prototype.merge=function(i){return this.rates=this.rates.concat(i.all()),this},a.prototype.push=function(i){return this.rates.push(i),this},a.prototype.next=function(){return this.pointer<this.count()?{done:!1,value:this.rates[this.pointer++]}:{done:!0,value:null}},a.prototype[Symbol.iterator]=function(){return this},a.prototype.toObject=function(){var i,s,c=[];try{for(var f=t(this.rates),l=f.next();!l.done;l=f.next()){var o=l.value;c.push(o.getData())}}catch(d){i={error:d}}finally{try{l&&!l.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}return c},a}();return Ka.default=n,Ka}var Bc;function Ww(){if(Bc)return Qa;Bc=1;var t=g&&g.__extends||function(){var c=function(f,l){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var h in d)Object.prototype.hasOwnProperty.call(d,h)&&(o[h]=d[h])},c(f,l)};return function(f,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");c(f,l);function o(){this.constructor=f}f.prototype=l===null?Object.create(l):(o.prototype=l.prototype,new o)}}(),e=g&&g.__values||function(c){var f=typeof Symbol=="function"&&Symbol.iterator,l=f&&c[f],o=0;if(l)return l.call(c);if(c&&typeof c.length=="number")return{next:function(){return c&&o>=c.length&&(c=void 0),{value:c&&c[o++],done:!c}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Qa,"__esModule",{value:!0});var r=z(),n=Yt(),a=qa,i=Lc(),s=function(c){t(f,c);function f(){return c!==null&&c.apply(this,arguments)||this}return f.prototype.getAdditionalCoverages=function(){return n.ApiServiceFactory.get(this.insuranceCategory).calculateAdditionalCoverages(this.getData())},f.prototype.request=function(){return n.ApiServiceFactory.get(this.insuranceCategory).requestPackage(this.getData())},f.prototype.calculate=function(){return n.ApiServiceFactory.get(this.insuranceCategory).calculatePackageDiscount(this.getCompanyName(),this.getData())},f.prototype.getRates=function(l){var o,d;l===void 0&&(l=null);var h=c.prototype.getData.call(this);if(l!==null)return h[(0,a.mapRiskInsurances)(l)];var u=new i.default;try{for(var m=e(a.insuranceKeyConfig),v=m.next();!v.done;v=m.next()){var y=v.value;h.hasOwnProperty(y)&&(u=u.merge(h[y]))}}catch(p){o={error:p}}finally{try{v&&!v.done&&(d=m.return)&&d.call(m)}finally{if(o)throw o.error}}return u},f.prototype.getData=function(){var l,o,d,h,u=c.prototype.getData.call(this);try{for(var m=e(a.insuranceKeyConfig),v=m.next();!v.done;v=m.next()){var y=v.value;if(u.hasOwnProperty(y)){var p=[];try{for(var _=(d=void 0,e(u[y].all())),w=_.next();!w.done;w=_.next()){var R=w.value;p.push(R.getData())}}catch(q){d={error:q}}finally{try{w&&!w.done&&(h=_.return)&&h.call(_)}finally{if(d)throw d.error}}u[y]=p}}}catch(q){l={error:q}}finally{try{v&&!v.done&&(o=m.return)&&o.call(m)}finally{if(l)throw l.error}}return u},f}(r.Rate);return Qa.default=s,Qa}var ei={},Hc;function Gw(){if(Hc)return ei;Hc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(s[f]=c[f])},n(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(a,i);function s(){this.constructor=a}a.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();Object.defineProperty(ei,"__esModule",{value:!0});var e=z(),r=function(n){t(a,n);function a(){return n!==null&&n.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(i){return Promise.resolve([])},a}(e.Rate);return ei.default=r,ei}var ti={},zc;function Zw(){if(zc)return ti;zc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c[l]=f[l])},a(i,s)};return function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(i,s);function c(){this.constructor=i}i.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}}();Object.defineProperty(ti,"__esModule",{value:!0});var e=z(),r=Yt(),n=function(a){t(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getRiskAdditionalCoverages(s)},i}(e.Rate);return ti.default=n,ti}var ri={},qc;function Xw(){if(qc)return ri;qc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c[l]=f[l])},a(i,s)};return function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(i,s);function c(){this.constructor=i}i.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}}();Object.defineProperty(ri,"__esModule",{value:!0});var e=z(),r=Yt(),n=function(a){t(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getRollsAdditionalCoverages(s)},i}(e.Rate);return ri.default=n,ri}var ni={},Vc;function Jw(){if(Vc)return ni;Vc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c[l]=f[l])},a(i,s)};return function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(i,s);function c(){this.constructor=i}i.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}}();Object.defineProperty(ni,"__esModule",{value:!0});var e=z(),r=Yt(),n=function(a){t(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getEnraAdditionalCoverages(s)},i}(e.Rate);return ni.default=n,ni}var ai={},Uc;function Qw(){if(Uc)return ai;Uc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c[l]=f[l])},a(i,s)};return function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(i,s);function c(){this.constructor=i}i.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}}();Object.defineProperty(ai,"__esModule",{value:!0});var e=z(),r=Yt(),n=function(a){t(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getMoneyviewAdditionalCoverages(s)},i}(e.Rate);return ai.default=n,ai}var ii={},Wc;function Kw(){if(Wc)return ii;Wc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,f){c.__proto__=f}||function(c,f){for(var l in f)Object.prototype.hasOwnProperty.call(f,l)&&(c[l]=f[l])},a(i,s)};return function(i,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");a(i,s);function c(){this.constructor=i}i.prototype=s===null?Object.create(s):(c.prototype=s.prototype,new c)}}();Object.defineProperty(ii,"__esModule",{value:!0});var e=Yc(),r=Yt(),n=function(a){t(i,a);function i(){return a!==null&&a.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getVergelijkdirectAdditionalCoverages(s)},i}(e.default);return ii.default=n,ii}var oi={},Gc;function e0(){if(Gc)return oi;Gc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(s[f]=c[f])},n(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(a,i);function s(){this.constructor=a}a.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();Object.defineProperty(oi,"__esModule",{value:!0});var e=z(),r=function(n){t(a,n);function a(){return n!==null&&n.apply(this,arguments)||this}return a}(e.Rate);return oi.default=r,oi}var si={},Zc;function t0(){if(Zc)return si;Zc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(s[f]=c[f])},n(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(a,i);function s(){this.constructor=a}a.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();Object.defineProperty(si,"__esModule",{value:!0});var e=z(),r=function(n){t(a,n);function a(){return n.call(this,"undefined",{})||this}return a.prototype.getAdditionalCoverages=function(i){return Promise.resolve([])},a}(e.Rate);return si.default=r,si}var Es={};Object.defineProperty(Es,"__esModule",{value:!0});var r0=function(){function t(e){var r,n,a,i,s,c,f,l,o,d;this.publicId=(r=e.public_id)!==null&&r!==void 0?r:null,this.email=(n=e.email)!==null&&n!==void 0?n:null,this.name=(a=e.name)!==null&&a!==void 0?a:null,this.last_name=(i=e.last_name)!==null&&i!==void 0?i:null,this.zip_code=(s=e.zip_code)!==null&&s!==void 0?s:null,this.house_number=(c=e.house_number)!==null&&c!==void 0?c:null,this.house_number_addition=(f=e.house_number_addition)!==null&&f!==void 0?f:null,this.family_composition=(l=e.family_composition)!==null&&l!==void 0?l:null,this.birth_date=(o=e.birth_date)!==null&&o!==void 0?o:null,this.detail=(d=e.detail)!==null&&d!==void 0?d:null}return t.prototype.getName=function(){return this.name},t.prototype.getLastName=function(){return this.last_name},t.prototype.getPublicId=function(){return this.publicId},t.prototype.getEmail=function(){return this.email},t.prototype.getZipCode=function(){return this.zip_code},t.prototype.getBirthDate=function(){return this.birth_date},t.prototype.getHouseNumber=function(){return this.house_number},t.prototype.getHouseNumberAddition=function(){return this.house_number_addition},t.prototype.getFamilyComposition=function(){return this.family_composition},t.prototype.getDetail=function(e){return e===void 0&&(e=null),e===null?this.detail:this.detail.hasOwnProperty(e)?this.detail[e]:null},t.prototype.setDetail=function(e,r){return e===void 0&&(e=null),e===null?this.detail=r:this.detail[e]=r,this},t.prototype.setFamilyComposition=function(e){return this.family_composition=e,this},t.prototype.setHouseNumberAddition=function(e){return this.house_number_addition=e,this},t.prototype.setHouseNumber=function(e){return this.house_number=e,this},t.prototype.setBirthDate=function(e){return this.birth_date=e,this},t.prototype.setZipCode=function(e){return this.zip_code=e,this},t.prototype.setEmail=function(e){return this.email=e,this},t.prototype.setName=function(e){return this.name=e,this},t.prototype.setLastName=function(e){return this.last_name=e,this},t.fromObject=function(e){return new this(e)},t.prototype.toObject=function(){return{public_id:this.publicId,email:this.email,name:this.name,last_name:this.last_name,zip_code:this.zip_code,birth_date:this.birth_date,house_number:this.house_number,house_number_addition:this.house_number_addition,family_composition:this.family_composition,detail:this.detail}},t}();Es.default=r0;var Is={},li={},Xc;function n0(){if(Xc)return li;Xc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,c){s.__proto__=c}||function(s,c){for(var f in c)Object.prototype.hasOwnProperty.call(c,f)&&(s[f]=c[f])},n(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");n(a,i);function s(){this.constructor=a}a.prototype=i===null?Object.create(i):(s.prototype=i.prototype,new s)}}();Object.defineProperty(li,"__esModule",{value:!0});var e=z(),r=function(n){t(a,n);function a(){return n!==null&&n.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(i){return Promise.resolve(this.get("AdditionalCoverages"))},a}(e.Rate);return li.default=r,li}var Jc;function a0(){return Jc||(Jc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.PetsecurRate=void 0;var e=n0();Object.defineProperty(t,"PetsecurRate",{enumerable:!0,get:function(){return e.default}})}(Is)),Is}var Ys={},ui={};//! moment.js
|
|
12
12
|
//! version : 2.30.1
|
|
13
13
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
14
14
|
//! license : MIT
|
|
15
15
|
//! momentjs.com
|
|
16
|
-
var
|
|
17
|
-
[`+i+"] ";for(s in arguments[0])B(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}
|
|
16
|
+
var Qc;function x(){return Qc.apply(null,arguments)}function i0(t){Qc=t}function at(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function vr(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function B(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Ns(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(B(t,e))return!1;return!0}function Te(t){return t===void 0}function Nt(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function On(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Kc(t,e){var r=[],n,a=t.length;for(n=0;n<a;++n)r.push(e(t[n],n));return r}function Kt(t,e){for(var r in e)B(e,r)&&(t[r]=e[r]);return B(e,"toString")&&(t.toString=e.toString),B(e,"valueOf")&&(t.valueOf=e.valueOf),t}function wt(t,e,r,n){return xd(t,e,r,n,!0).utc()}function o0(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function T(t){return t._pf==null&&(t._pf=o0()),t._pf}var Ls;Array.prototype.some?Ls=Array.prototype.some:Ls=function(t){var e=Object(this),r=e.length>>>0,n;for(n=0;n<r;n++)if(n in e&&t.call(this,e[n],n,e))return!0;return!1};function Bs(t){var e=null,r=!1,n=t._d&&!isNaN(t._d.getTime());if(n&&(e=T(t),r=Ls.call(e.parsedDateParts,function(a){return a!=null}),n=e.overflow<0&&!e.empty&&!e.invalidEra&&!e.invalidMonth&&!e.invalidWeekday&&!e.weekdayMismatch&&!e.nullInput&&!e.invalidFormat&&!e.userInvalidated&&(!e.meridiem||e.meridiem&&r),t._strict&&(n=n&&e.charsLeftOver===0&&e.unusedTokens.length===0&&e.bigHour===void 0)),Object.isFrozen==null||!Object.isFrozen(t))t._isValid=n;else return n;return t._isValid}function ci(t){var e=wt(NaN);return t!=null?Kt(T(e),t):T(e).userInvalidated=!0,e}var ed=x.momentProperties=[],Hs=!1;function zs(t,e){var r,n,a,i=ed.length;if(Te(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),Te(e._i)||(t._i=e._i),Te(e._f)||(t._f=e._f),Te(e._l)||(t._l=e._l),Te(e._strict)||(t._strict=e._strict),Te(e._tzm)||(t._tzm=e._tzm),Te(e._isUTC)||(t._isUTC=e._isUTC),Te(e._offset)||(t._offset=e._offset),Te(e._pf)||(t._pf=T(e)),Te(e._locale)||(t._locale=e._locale),i>0)for(r=0;r<i;r++)n=ed[r],a=e[n],Te(a)||(t[n]=a);return t}function kn(t){zs(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Hs===!1&&(Hs=!0,x.updateOffset(this),Hs=!1)}function it(t){return t instanceof kn||t!=null&&t._isAMomentObject!=null}function td(t){x.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+t)}function Ze(t,e){var r=!0;return Kt(function(){if(x.deprecationHandler!=null&&x.deprecationHandler(null,t),r){var n=[],a,i,s,c=arguments.length;for(i=0;i<c;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
17
|
+
[`+i+"] ";for(s in arguments[0])B(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}td(t+`
|
|
18
18
|
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
19
|
-
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var td={};function rd(t,e){x.deprecationHandler!=null&&x.deprecationHandler(t,e),td[t]||(ed(e),td[t]=!0)}x.suppressDeprecationWarnings=!1,x.deprecationHandler=null;function wt(t){return typeof Function!="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function s0(t){var e,r;for(r in t)B(t,r)&&(e=t[r],wt(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function qs(t,e){var r=Kt({},t),n;for(n in e)B(e,n)&&(vr(t[n])&&vr(e[n])?(r[n]={},Kt(r[n],t[n]),Kt(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)B(t,n)&&!B(e,n)&&vr(t[n])&&(r[n]=Kt({},r[n]));return r}function Vs(t){t!=null&&this.set(t)}var Us;Object.keys?Us=Object.keys:Us=function(t){var e,r=[];for(e in t)B(t,e)&&r.push(e);return r};var l0={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function u0(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return wt(n)?n.call(e,r):n}function St(t,e,r){var n=""+Math.abs(t),a=e-n.length,i=t>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var Ws=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,di=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Gs={},Er={};function D(t,e,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),t&&(Er[t]=a),e&&(Er[e[0]]=function(){return St(a.apply(this,arguments),e[1],e[2])}),r&&(Er[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function c0(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function d0(t){var e=t.match(Ws),r,n;for(r=0,n=e.length;r<n;r++)Er[e[r]]?e[r]=Er[e[r]]:e[r]=c0(e[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=wt(e[s])?e[s].call(a,t):e[s];return i}}function fi(t,e){return t.isValid()?(e=nd(e,t.localeData()),Gs[e]=Gs[e]||d0(e),Gs[e](t)):t.localeData().invalidDate()}function nd(t,e){var r=5;function n(a){return e.longDateFormat(a)||a}for(di.lastIndex=0;r>=0&&di.test(t);)t=t.replace(di,n),di.lastIndex=0,r-=1;return t}var f0={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function h0(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(Ws).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var p0="Invalid date";function m0(){return this._invalidDate}var v0="%d",_0=/\d{1,2}/;function y0(t){return this._ordinal.replace("%d",t)}var g0={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function b0(t,e,r,n){var a=this._relativeTime[r];return wt(a)?a(t,e,r,n):a.replace(/%d/i,t)}function w0(t,e){var r=this._relativeTime[t>0?"future":"past"];return wt(r)?r(e):r.replace(/%s/i,e)}var ad={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Ze(t){return typeof t=="string"?ad[t]||ad[t.toLowerCase()]:void 0}function Zs(t){var e={},r,n;for(n in t)B(t,n)&&(r=Ze(n),r&&(e[r]=t[n]));return e}var S0={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function O0(t){var e=[],r;for(r in t)B(t,r)&&e.push({unit:r,priority:S0[r]});return e.sort(function(n,a){return n.priority-a.priority}),e}var id=/\d/,Le=/\d\d/,od=/\d{3}/,Xs=/\d{4}/,hi=/[+-]?\d{6}/,te=/\d\d?/,sd=/\d\d\d\d?/,ld=/\d\d\d\d\d\d?/,pi=/\d{1,3}/,Js=/\d{1,4}/,mi=/[+-]?\d{1,6}/,Ir=/\d+/,vi=/[+-]?\d+/,k0=/Z|[+-]\d\d:?\d\d/gi,_i=/Z|[+-]\d\d(?::?\d\d)?/gi,C0=/[+-]?\d+(\.\d{1,3})?/,Cn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Yr=/^[1-9]\d?/,Qs=/^([1-9]\d|\d)/,yi;yi={};function P(t,e,r){yi[t]=wt(e)?e:function(n,a){return n&&r?r:e}}function x0(t,e){return B(yi,t)?yi[t](e._strict,e._locale):new RegExp(M0(t))}function M0(t){return Nt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,a,i){return r||n||a||i}))}function Nt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Xe(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function A(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=Xe(e)),r}var Ks={};function W(t,e){var r,n=e,a;for(typeof t=="string"&&(t=[t]),Yt(e)&&(n=function(i,s){s[e]=A(i)}),a=t.length,r=0;r<a;r++)Ks[t[r]]=n}function xn(t,e){W(t,function(r,n,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function P0(t,e,r){e!=null&&B(Ks,t)&&Ks[t](e,r._a,r,t)}function gi(t){return t%4===0&&t%100!==0||t%400===0}var xe=0,Lt=1,Ot=2,ve=3,it=4,Bt=5,_r=6,R0=7,D0=8;D("Y",0,0,function(){var t=this.year();return t<=9999?St(t,4):"+"+t}),D(0,["YY",2],0,function(){return this.year()%100}),D(0,["YYYY",4],0,"year"),D(0,["YYYYY",5],0,"year"),D(0,["YYYYYY",6,!0],0,"year"),P("Y",vi),P("YY",te,Le),P("YYYY",Js,Xs),P("YYYYY",mi,hi),P("YYYYYY",mi,hi),W(["YYYYY","YYYYYY"],xe),W("YYYY",function(t,e){e[xe]=t.length===2?x.parseTwoDigitYear(t):A(t)}),W("YY",function(t,e){e[xe]=x.parseTwoDigitYear(t)}),W("Y",function(t,e){e[xe]=parseInt(t,10)});function Mn(t){return gi(t)?366:365}x.parseTwoDigitYear=function(t){return A(t)+(A(t)>68?1900:2e3)};var ud=Nr("FullYear",!0);function j0(){return gi(this.year())}function Nr(t,e){return function(r){return r!=null?(cd(this,t,r),x.updateOffset(this,e),this):Pn(this,t)}}function Pn(t,e){if(!t.isValid())return NaN;var r=t._d,n=t._isUTC;switch(e){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function cd(t,e,r){var n,a,i,s,c;if(!(!t.isValid()||isNaN(r))){switch(n=t._d,a=t._isUTC,e){case"Milliseconds":return void(a?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(a?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(a?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(a?n.setUTCHours(r):n.setHours(r));case"Date":return void(a?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}i=r,s=t.month(),c=t.date(),c=c===29&&s===1&&!gi(i)?28:c,a?n.setUTCFullYear(i,s,c):n.setFullYear(i,s,c)}}function $0(t){return t=Ze(t),wt(this[t])?this[t]():this}function T0(t,e){if(typeof t=="object"){t=Zs(t);var r=O0(t),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](t[r[n].unit])}else if(t=Ze(t),wt(this[t]))return this[t](e);return this}function F0(t,e){return(t%e+e)%e}var ue;Array.prototype.indexOf?ue=Array.prototype.indexOf:ue=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function el(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=F0(e,12);return t+=(e-r)/12,r===1?gi(t)?29:28:31-r%7%2}D("M",["MM",2],"Mo",function(){return this.month()+1}),D("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),D("MMMM",0,0,function(t){return this.localeData().months(this,t)}),P("M",te,Yr),P("MM",te,Le),P("MMM",function(t,e){return e.monthsShortRegex(t)}),P("MMMM",function(t,e){return e.monthsRegex(t)}),W(["M","MM"],function(t,e){e[Lt]=A(t)-1}),W(["MMM","MMMM"],function(t,e,r,n){var a=r._locale.monthsParse(t,n,r._strict);a!=null?e[Lt]=a:T(r).invalidMonth=t});var A0="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),dd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),fd=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,E0=Cn,I0=Cn;function Y0(t,e){return t?nt(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||fd).test(e)?"format":"standalone"][t.month()]:nt(this._months)?this._months:this._months.standalone}function N0(t,e){return t?nt(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[fd.test(e)?"format":"standalone"][t.month()]:nt(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function L0(t,e,r){var n,a,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=bt([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=ue.call(this._shortMonthsParse,s),a!==-1?a:null):(a=ue.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=ue.call(this._shortMonthsParse,s),a!==-1?a:(a=ue.call(this._longMonthsParse,s),a!==-1?a:null)):(a=ue.call(this._longMonthsParse,s),a!==-1?a:(a=ue.call(this._shortMonthsParse,s),a!==-1?a:null))}function B0(t,e,r){var n,a,i;if(this._monthsParseExact)return L0.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=bt([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[n].test(t))return n;if(r&&e==="MMM"&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}}function hd(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=A(e);else if(e=t.localeData().monthsParse(e),!Yt(e))return t}var r=e,n=t.date();return n=n<29?n:Math.min(n,el(t.year(),r)),t._isUTC?t._d.setUTCMonth(r,n):t._d.setMonth(r,n),t}function pd(t){return t!=null?(hd(this,t),x.updateOffset(this,!0),this):Pn(this,"Month")}function H0(){return el(this.year(),this.month())}function z0(t){return this._monthsParseExact?(B(this,"_monthsRegex")||md.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(B(this,"_monthsShortRegex")||(this._monthsShortRegex=E0),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function q0(t){return this._monthsParseExact?(B(this,"_monthsRegex")||md.call(this),t?this._monthsStrictRegex:this._monthsRegex):(B(this,"_monthsRegex")||(this._monthsRegex=I0),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function md(){function t(f,l){return l.length-f.length}var e=[],r=[],n=[],a,i,s,c;for(a=0;a<12;a++)i=bt([2e3,a]),s=Nt(this.monthsShort(i,"")),c=Nt(this.months(i,"")),e.push(s),r.push(c),n.push(c),n.push(s);e.sort(t),r.sort(t),n.sort(t),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function V0(t,e,r,n,a,i,s){var c;return t<100&&t>=0?(c=new Date(t+400,e,r,n,a,i,s),isFinite(c.getFullYear())&&c.setFullYear(t)):c=new Date(t,e,r,n,a,i,s),c}function Rn(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function bi(t,e,r){var n=7+e-r,a=(7+Rn(t,0,n).getUTCDay()-e)%7;return-a+n-1}function vd(t,e,r,n,a){var i=(7+r-n)%7,s=bi(t,n,a),c=1+7*(e-1)+i+s,f,l;return c<=0?(f=t-1,l=Mn(f)+c):c>Mn(t)?(f=t+1,l=c-Mn(t)):(f=t,l=c),{year:f,dayOfYear:l}}function Dn(t,e,r){var n=bi(t.year(),e,r),a=Math.floor((t.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+Ht(s,e,r)):a>Ht(t.year(),e,r)?(i=a-Ht(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function Ht(t,e,r){var n=bi(t,e,r),a=bi(t+1,e,r);return(Mn(t)-n+a)/7}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),P("w",te,Yr),P("ww",te,Le),P("W",te,Yr),P("WW",te,Le),xn(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=A(t)});function U0(t){return Dn(t,this._week.dow,this._week.doy).week}var W0={dow:0,doy:6};function G0(){return this._week.dow}function Z0(){return this._week.doy}function X0(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function J0(t){var e=Dn(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}D("d",0,"do","day"),D("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),D("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),D("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),D("e",0,0,"weekday"),D("E",0,0,"isoWeekday"),P("d",te),P("e",te),P("E",te),P("dd",function(t,e){return e.weekdaysMinRegex(t)}),P("ddd",function(t,e){return e.weekdaysShortRegex(t)}),P("dddd",function(t,e){return e.weekdaysRegex(t)}),xn(["dd","ddd","dddd"],function(t,e,r,n){var a=r._locale.weekdaysParse(t,n,r._strict);a!=null?e.d=a:T(r).invalidWeekday=t}),xn(["d","e","E"],function(t,e,r,n){e[n]=A(t)});function Q0(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function K0(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function tl(t,e){return t.slice(e,7).concat(t.slice(0,e))}var e1="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_d="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),t1="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),r1=Cn,n1=Cn,a1=Cn;function i1(t,e){var r=nt(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?tl(r,this._week.dow):t?r[t.day()]:r}function o1(t){return t===!0?tl(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function s1(t){return t===!0?tl(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function l1(t,e,r){var n,a,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=bt([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?e==="dddd"?(a=ue.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=ue.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=ue.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=ue.call(this._weekdaysParse,s),a!==-1||(a=ue.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=ue.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=ue.call(this._shortWeekdaysParse,s),a!==-1||(a=ue.call(this._weekdaysParse,s),a!==-1)?a:(a=ue.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=ue.call(this._minWeekdaysParse,s),a!==-1||(a=ue.call(this._weekdaysParse,s),a!==-1)?a:(a=ue.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function u1(t,e,r){var n,a,i;if(this._weekdaysParseExact)return l1.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=bt([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[n].test(t))return n;if(r&&e==="ddd"&&this._shortWeekdaysParse[n].test(t))return n;if(r&&e==="dd"&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}}function c1(t){if(!this.isValid())return t!=null?this:NaN;var e=Pn(this,"Day");return t!=null?(t=Q0(t,this.localeData()),this.add(t-e,"d")):e}function d1(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function f1(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=K0(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function h1(t){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||rl.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(B(this,"_weekdaysRegex")||(this._weekdaysRegex=r1),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function p1(t){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||rl.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(B(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=n1),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function m1(t){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||rl.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(B(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=a1),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function rl(){function t(o,d){return d.length-o.length}var e=[],r=[],n=[],a=[],i,s,c,f,l;for(i=0;i<7;i++)s=bt([2e3,1]).day(i),c=Nt(this.weekdaysMin(s,"")),f=Nt(this.weekdaysShort(s,"")),l=Nt(this.weekdays(s,"")),e.push(c),r.push(f),n.push(l),a.push(c),a.push(f),a.push(l);e.sort(t),r.sort(t),n.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function nl(){return this.hours()%12||12}function v1(){return this.hours()||24}D("H",["HH",2],0,"hour"),D("h",["hh",2],0,nl),D("k",["kk",2],0,v1),D("hmm",0,0,function(){return""+nl.apply(this)+St(this.minutes(),2)}),D("hmmss",0,0,function(){return""+nl.apply(this)+St(this.minutes(),2)+St(this.seconds(),2)}),D("Hmm",0,0,function(){return""+this.hours()+St(this.minutes(),2)}),D("Hmmss",0,0,function(){return""+this.hours()+St(this.minutes(),2)+St(this.seconds(),2)});function yd(t,e){D(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}yd("a",!0),yd("A",!1);function gd(t,e){return e._meridiemParse}P("a",gd),P("A",gd),P("H",te,Qs),P("h",te,Yr),P("k",te,Yr),P("HH",te,Le),P("hh",te,Le),P("kk",te,Le),P("hmm",sd),P("hmmss",ld),P("Hmm",sd),P("Hmmss",ld),W(["H","HH"],ve),W(["k","kk"],function(t,e,r){var n=A(t);e[ve]=n===24?0:n}),W(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t}),W(["h","hh"],function(t,e,r){e[ve]=A(t),T(r).bigHour=!0}),W("hmm",function(t,e,r){var n=t.length-2;e[ve]=A(t.substr(0,n)),e[it]=A(t.substr(n)),T(r).bigHour=!0}),W("hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[ve]=A(t.substr(0,n)),e[it]=A(t.substr(n,2)),e[Bt]=A(t.substr(a)),T(r).bigHour=!0}),W("Hmm",function(t,e,r){var n=t.length-2;e[ve]=A(t.substr(0,n)),e[it]=A(t.substr(n))}),W("Hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[ve]=A(t.substr(0,n)),e[it]=A(t.substr(n,2)),e[Bt]=A(t.substr(a))});function _1(t){return(t+"").toLowerCase().charAt(0)==="p"}var y1=/[ap]\.?m?\.?/i,g1=Nr("Hours",!0);function b1(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var bd={calendar:l0,longDateFormat:f0,invalidDate:p0,ordinal:v0,dayOfMonthOrdinalParse:_0,relativeTime:g0,months:A0,monthsShort:dd,week:W0,weekdays:e1,weekdaysMin:t1,weekdaysShort:_d,meridiemParse:y1},ie={},jn={},$n;function w1(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function wd(t){return t&&t.toLowerCase().replace("_","-")}function S1(t){for(var e=0,r,n,a,i;e<t.length;){for(i=wd(t[e]).split("-"),r=i.length,n=wd(t[e+1]),n=n?n.split("-"):null;r>0;){if(a=wi(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&w1(i,n)>=r-1)break;r--}e++}return $n}function O1(t){return!!(t&&t.match("^[^/\\\\]*$"))}function wi(t){var e=null,r;if(ie[t]===void 0&&typeof module!="undefined"&&module&&module.exports&&O1(t))try{e=$n._abbr,r=require,r("./locale/"+t),er(e)}catch(n){ie[t]=null}return ie[t]}function er(t,e){var r;return t&&(Te(e)?r=zt(t):r=al(t,e),r?$n=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),$n._abbr}function al(t,e){if(e!==null){var r,n=bd;if(e.abbr=t,ie[t]!=null)rd("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ie[t]._config;else if(e.parentLocale!=null)if(ie[e.parentLocale]!=null)n=ie[e.parentLocale]._config;else if(r=wi(e.parentLocale),r!=null)n=r._config;else return jn[e.parentLocale]||(jn[e.parentLocale]=[]),jn[e.parentLocale].push({name:t,config:e}),null;return ie[t]=new Vs(qs(n,e)),jn[t]&&jn[t].forEach(function(a){al(a.name,a.config)}),er(t),ie[t]}else return delete ie[t],null}function k1(t,e){if(e!=null){var r,n,a=bd;ie[t]!=null&&ie[t].parentLocale!=null?ie[t].set(qs(ie[t]._config,e)):(n=wi(t),n!=null&&(a=n._config),e=qs(a,e),n==null&&(e.abbr=t),r=new Vs(e),r.parentLocale=ie[t],ie[t]=r),er(t)}else ie[t]!=null&&(ie[t].parentLocale!=null?(ie[t]=ie[t].parentLocale,t===er()&&er(t)):ie[t]!=null&&delete ie[t]);return ie[t]}function zt(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return $n;if(!nt(t)){if(e=wi(t),e)return e;t=[t]}return S1(t)}function C1(){return Us(ie)}function il(t){var e,r=t._a;return r&&T(t).overflow===-2&&(e=r[Lt]<0||r[Lt]>11?Lt:r[Ot]<1||r[Ot]>el(r[xe],r[Lt])?Ot:r[ve]<0||r[ve]>24||r[ve]===24&&(r[it]!==0||r[Bt]!==0||r[_r]!==0)?ve:r[it]<0||r[it]>59?it:r[Bt]<0||r[Bt]>59?Bt:r[_r]<0||r[_r]>999?_r:-1,T(t)._overflowDayOfYear&&(e<xe||e>Ot)&&(e=Ot),T(t)._overflowWeeks&&e===-1&&(e=R0),T(t)._overflowWeekday&&e===-1&&(e=D0),T(t).overflow=e),t}var x1=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,M1=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,P1=/Z|[+-]\d\d(?::?\d\d)?/,Si=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ol=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],R1=/^\/?Date\((-?\d+)/i,D1=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,j1={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Sd(t){var e,r,n=t._i,a=x1.exec(n)||M1.exec(n),i,s,c,f,l=Si.length,o=ol.length;if(a){for(T(t).iso=!0,e=0,r=l;e<r;e++)if(Si[e][1].exec(a[1])){s=Si[e][0],i=Si[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=o;e<r;e++)if(ol[e][1].exec(a[3])){c=(a[2]||" ")+ol[e][0];break}if(c==null){t._isValid=!1;return}}if(!i&&c!=null){t._isValid=!1;return}if(a[4])if(P1.exec(a[4]))f="Z";else{t._isValid=!1;return}t._f=s+(c||"")+(f||""),ll(t)}else t._isValid=!1}function $1(t,e,r,n,a,i){var s=[T1(t),dd.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function T1(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function F1(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function A1(t,e,r){if(t){var n=_d.indexOf(t),a=new Date(e[0],e[1],e[2]).getDay();if(n!==a)return T(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function E1(t,e,r){if(t)return j1[t];if(e)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function Od(t){var e=D1.exec(F1(t._i)),r;if(e){if(r=$1(e[4],e[3],e[2],e[5],e[6],e[7]),!A1(e[1],r,t))return;t._a=r,t._tzm=E1(e[8],e[9],e[10]),t._d=Rn.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),T(t).rfc2822=!0}else t._isValid=!1}function I1(t){var e=R1.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Sd(t),t._isValid===!1)delete t._isValid;else return;if(Od(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:x.createFromInputFallback(t)}x.createFromInputFallback=Ge("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Lr(t,e,r){return t!=null?t:e!=null?e:r}function Y1(t){var e=new Date(x.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function sl(t){var e,r,n=[],a,i,s;if(!t._d){for(a=Y1(t),t._w&&t._a[Ot]==null&&t._a[Lt]==null&&N1(t),t._dayOfYear!=null&&(s=Lr(t._a[xe],a[xe]),(t._dayOfYear>Mn(s)||t._dayOfYear===0)&&(T(t)._overflowDayOfYear=!0),r=Rn(s,0,t._dayOfYear),t._a[Lt]=r.getUTCMonth(),t._a[Ot]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=n[e]=a[e];for(;e<7;e++)t._a[e]=n[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[ve]===24&&t._a[it]===0&&t._a[Bt]===0&&t._a[_r]===0&&(t._nextDay=!0,t._a[ve]=0),t._d=(t._useUTC?Rn:V0).apply(null,n),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ve]=24),t._w&&typeof t._w.d!="undefined"&&t._w.d!==i&&(T(t).weekdayMismatch=!0)}}function N1(t){var e,r,n,a,i,s,c,f,l;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=Lr(e.GG,t._a[xe],Dn(re(),1,4).year),n=Lr(e.W,1),a=Lr(e.E,1),(a<1||a>7)&&(f=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,l=Dn(re(),i,s),r=Lr(e.gg,t._a[xe],l.year),n=Lr(e.w,l.week),e.d!=null?(a=e.d,(a<0||a>6)&&(f=!0)):e.e!=null?(a=e.e+i,(e.e<0||e.e>6)&&(f=!0)):a=i),n<1||n>Ht(r,i,s)?T(t)._overflowWeeks=!0:f!=null?T(t)._overflowWeekday=!0:(c=vd(r,n,a,i,s),t._a[xe]=c.year,t._dayOfYear=c.dayOfYear)}x.ISO_8601=function(){},x.RFC_2822=function(){};function ll(t){if(t._f===x.ISO_8601){Sd(t);return}if(t._f===x.RFC_2822){Od(t);return}t._a=[],T(t).empty=!0;var e=""+t._i,r,n,a,i,s,c=e.length,f=0,l,o;for(a=nd(t._f,t._locale).match(Ws)||[],o=a.length,r=0;r<o;r++)i=a[r],n=(e.match(x0(i,t))||[])[0],n&&(s=e.substr(0,e.indexOf(n)),s.length>0&&T(t).unusedInput.push(s),e=e.slice(e.indexOf(n)+n.length),f+=n.length),Er[i]?(n?T(t).empty=!1:T(t).unusedTokens.push(i),P0(i,n,t)):t._strict&&!n&&T(t).unusedTokens.push(i);T(t).charsLeftOver=c-f,e.length>0&&T(t).unusedInput.push(e),t._a[ve]<=12&&T(t).bigHour===!0&&t._a[ve]>0&&(T(t).bigHour=void 0),T(t).parsedDateParts=t._a.slice(0),T(t).meridiem=t._meridiem,t._a[ve]=L1(t._locale,t._a[ve],t._meridiem),l=T(t).era,l!==null&&(t._a[xe]=t._locale.erasConvertYear(l,t._a[xe])),sl(t),il(t)}function L1(t,e,r){var n;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(n=t.isPM(r),n&&e<12&&(e+=12),!n&&e===12&&(e=0)),e)}function B1(t){var e,r,n,a,i,s,c=!1,f=t._f.length;if(f===0){T(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<f;a++)i=0,s=!1,e=zs({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],ll(e),Bs(e)&&(s=!0),i+=T(e).charsLeftOver,i+=T(e).unusedTokens.length*10,T(e).score=i,c?i<n&&(n=i,r=e):(n==null||i<n||s)&&(n=i,r=e,s&&(c=!0));Kt(t,r||e)}function H1(t){if(!t._d){var e=Zs(t._i),r=e.day===void 0?e.date:e.day;t._a=Qc([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),sl(t)}}function z1(t){var e=new kn(il(kd(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function kd(t){var e=t._i,r=t._f;return t._locale=t._locale||zt(t._l),e===null||r===void 0&&e===""?ci({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),at(e)?new kn(il(e)):(On(e)?t._d=e:nt(r)?B1(t):r?ll(t):q1(t),Bs(t)||(t._d=null),t))}function q1(t){var e=t._i;Te(e)?t._d=new Date(x.now()):On(e)?t._d=new Date(e.valueOf()):typeof e=="string"?I1(t):nt(e)?(t._a=Qc(e.slice(0),function(r){return parseInt(r,10)}),sl(t)):vr(e)?H1(t):Yt(e)?t._d=new Date(e):x.createFromInputFallback(t)}function Cd(t,e,r,n,a){var i={};return(e===!0||e===!1)&&(n=e,e=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(vr(t)&&Ns(t)||nt(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=t,i._f=e,i._strict=n,z1(i)}function re(t,e,r,n){return Cd(t,e,r,n,!1)}var V1=Ge("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=re.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:ci()}),U1=Ge("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=re.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:ci()});function xd(t,e){var r,n;if(e.length===1&&nt(e[0])&&(e=e[0]),!e.length)return re();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function W1(){var t=[].slice.call(arguments,0);return xd("isBefore",t)}function G1(){var t=[].slice.call(arguments,0);return xd("isAfter",t)}var Z1=function(){return Date.now?Date.now():+new Date},Tn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function X1(t){var e,r=!1,n,a=Tn.length;for(e in t)if(B(t,e)&&!(ue.call(Tn,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<a;++n)if(t[Tn[n]]){if(r)return!1;parseFloat(t[Tn[n]])!==A(t[Tn[n]])&&(r=!0)}return!0}function J1(){return this._isValid}function Q1(){return ot(NaN)}function Oi(t){var e=Zs(t),r=e.year||0,n=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,c=e.hour||0,f=e.minute||0,l=e.second||0,o=e.millisecond||0;this._isValid=X1(e),this._milliseconds=+o+l*1e3+f*6e4+c*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=zt(),this._bubble()}function ki(t){return t instanceof Oi}function ul(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function K1(t,e,r){var n=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),i=0,s;for(s=0;s<n;s++)(r&&t[s]!==e[s]||!r&&A(t[s])!==A(e[s]))&&i++;return i+a}function Md(t,e){D(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+St(~~(r/60),2)+e+St(~~r%60,2)})}Md("Z",":"),Md("ZZ",""),P("Z",_i),P("ZZ",_i),W(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=cl(_i,t)});var eS=/([\+\-]|\d\d)/gi;function cl(t,e){var r=(e||"").match(t),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(eS)||["-",0,0],i=+(a[1]*60)+A(a[2]),i===0?0:a[0]==="+"?i:-i)}function dl(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(at(t)||On(t)?t.valueOf():re(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),x.updateOffset(r,!1),r):re(t).local()}function fl(t){return-Math.round(t._d.getTimezoneOffset())}x.updateOffset=function(){};function tS(t,e,r){var n=this._offset||0,a;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=cl(_i,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=fl(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==t&&(!e||this._changeInProgress?jd(this,ot(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,x.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:fl(this)}function rS(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function nS(t){return this.utcOffset(0,t)}function aS(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(fl(this),"m")),this}function iS(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=cl(k0,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function oS(t){return this.isValid()?(t=t?re(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function sS(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function lS(){if(!Te(this._isDSTShifted))return this._isDSTShifted;var t={},e;return zs(t,this),t=kd(t),t._a?(e=t._isUTC?bt(t._a):re(t._a),this._isDSTShifted=this.isValid()&&K1(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function uS(){return this.isValid()?!this._isUTC:!1}function cS(){return this.isValid()?this._isUTC:!1}function Pd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var dS=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,fS=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function ot(t,e){var r=t,n=null,a,i,s;return ki(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:Yt(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=dS.exec(t))?(a=n[1]==="-"?-1:1,r={y:0,d:A(n[Ot])*a,h:A(n[ve])*a,m:A(n[it])*a,s:A(n[Bt])*a,ms:A(ul(n[_r]*1e3))*a}):(n=fS.exec(t))?(a=n[1]==="-"?-1:1,r={y:yr(n[2],a),M:yr(n[3],a),w:yr(n[4],a),d:yr(n[5],a),h:yr(n[6],a),m:yr(n[7],a),s:yr(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=hS(re(r.from),re(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new Oi(r),ki(t)&&B(t,"_locale")&&(i._locale=t._locale),ki(t)&&B(t,"_isValid")&&(i._isValid=t._isValid),i}ot.fn=Oi.prototype,ot.invalid=Q1;function yr(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function Rd(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function hS(t,e){var r;return t.isValid()&&e.isValid()?(e=dl(e,t),t.isBefore(e)?r=Rd(t,e):(r=Rd(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function Dd(t,e){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(rd(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=ot(r,n),jd(this,a,t),this}}function jd(t,e,r,n){var a=e._milliseconds,i=ul(e._days),s=ul(e._months);t.isValid()&&(n=n==null?!0:n,s&&hd(t,Pn(t,"Month")+s*r),i&&cd(t,"Date",Pn(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),n&&x.updateOffset(t,i||s))}var pS=Dd(1,"add"),mS=Dd(-1,"subtract");function $d(t){return typeof t=="string"||t instanceof String}function vS(t){return at(t)||On(t)||$d(t)||Yt(t)||yS(t)||_S(t)||t===null||t===void 0}function _S(t){var e=vr(t)&&!Ns(t),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=n.length;for(a=0;a<s;a+=1)i=n[a],r=r||B(t,i);return e&&r}function yS(t){var e=nt(t),r=!1;return e&&(r=t.filter(function(n){return!Yt(n)&&$d(t)}).length===0),e&&r}function gS(t){var e=vr(t)&&!Ns(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||B(t,i);return e&&r}function bS(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function wS(t,e){arguments.length===1&&(arguments[0]?vS(arguments[0])?(t=arguments[0],e=void 0):gS(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||re(),n=dl(r,this).startOf("day"),a=x.calendarFormat(this,n)||"sameElse",i=e&&(wt(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,re(r)))}function SS(){return new kn(this)}function OS(t,e){var r=at(t)?t:re(t);return this.isValid()&&r.isValid()?(e=Ze(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function kS(t,e){var r=at(t)?t:re(t);return this.isValid()&&r.isValid()?(e=Ze(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function CS(t,e,r,n){var a=at(t)?t:re(t),i=at(e)?e:re(e);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function xS(t,e){var r=at(t)?t:re(t),n;return this.isValid()&&r.isValid()?(e=Ze(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function MS(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function PS(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function RS(t,e,r){var n,a,i;if(!this.isValid())return NaN;if(n=dl(t,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,e=Ze(e),e){case"year":i=Ci(this,n)/12;break;case"month":i=Ci(this,n);break;case"quarter":i=Ci(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:Xe(i)}function Ci(t,e){if(t.date()<e.date())return-Ci(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,"months"),a,i;return e-n<0?(a=t.clone().add(r-1,"months"),i=(e-n)/(n-a)):(a=t.clone().add(r+1,"months"),i=(e-n)/(a-n)),-(r+i)||0}x.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",x.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function DS(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function jS(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?fi(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):wt(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",fi(r,"Z")):fi(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $S(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,n,a,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(r+n+a+i)}function TS(t){t||(t=this.isUtc()?x.defaultFormatUtc:x.defaultFormat);var e=fi(this,t);return this.localeData().postformat(e)}function FS(t,e){return this.isValid()&&(at(t)&&t.isValid()||re(t).isValid())?ot({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function AS(t){return this.from(re(),t)}function ES(t,e){return this.isValid()&&(at(t)&&t.isValid()||re(t).isValid())?ot({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function IS(t){return this.to(re(),t)}function Td(t){var e;return t===void 0?this._locale._abbr:(e=zt(t),e!=null&&(this._locale=e),this)}var Fd=Ge("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Ad(){return this._locale}var xi=1e3,Br=60*xi,Mi=60*Br,Ed=(365*400+97)*24*Mi;function Hr(t,e){return(t%e+e)%e}function Id(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-Ed:new Date(t,e,r).valueOf()}function Yd(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-Ed:Date.UTC(t,e,r)}function YS(t){var e,r;if(t=Ze(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Yd:Id,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Hr(e+(this._isUTC?0:this.utcOffset()*Br),Mi);break;case"minute":e=this._d.valueOf(),e-=Hr(e,Br);break;case"second":e=this._d.valueOf(),e-=Hr(e,xi);break}return this._d.setTime(e),x.updateOffset(this,!0),this}function NS(t){var e,r;if(t=Ze(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Yd:Id,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Mi-Hr(e+(this._isUTC?0:this.utcOffset()*Br),Mi)-1;break;case"minute":e=this._d.valueOf(),e+=Br-Hr(e,Br)-1;break;case"second":e=this._d.valueOf(),e+=xi-Hr(e,xi)-1;break}return this._d.setTime(e),x.updateOffset(this,!0),this}function LS(){return this._d.valueOf()-(this._offset||0)*6e4}function BS(){return Math.floor(this.valueOf()/1e3)}function HS(){return new Date(this.valueOf())}function zS(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function qS(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function VS(){return this.isValid()?this.toISOString():null}function US(){return Bs(this)}function WS(){return Kt({},T(this))}function GS(){return T(this).overflow}function ZS(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}D("N",0,0,"eraAbbr"),D("NN",0,0,"eraAbbr"),D("NNN",0,0,"eraAbbr"),D("NNNN",0,0,"eraName"),D("NNNNN",0,0,"eraNarrow"),D("y",["y",1],"yo","eraYear"),D("y",["yy",2],0,"eraYear"),D("y",["yyy",3],0,"eraYear"),D("y",["yyyy",4],0,"eraYear"),P("N",hl),P("NN",hl),P("NNN",hl),P("NNNN",oO),P("NNNNN",sO),W(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,n){var a=r._locale.erasParse(t,n,r._strict);a?T(r).era=a:T(r).invalidEra=t}),P("y",Ir),P("yy",Ir),P("yyy",Ir),P("yyyy",Ir),P("yo",lO),W(["y","yy","yyy","yyyy"],xe),W(["yo"],function(t,e,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[xe]=r._locale.eraYearOrdinalParse(t,a):e[xe]=parseInt(t,10)});function XS(t,e){var r,n,a,i=this._eras||zt("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=x(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=x(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function JS(t,e,r){var n,a,i=this.eras(),s,c,f;for(t=t.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),c=i[n].abbr.toUpperCase(),f=i[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(c===t)return i[n];break;case"NNNN":if(s===t)return i[n];break;case"NNNNN":if(f===t)return i[n];break}else if([s,c,f].indexOf(t)>=0)return i[n]}function QS(t,e){var r=t.since<=t.until?1:-1;return e===void 0?x(t.since).year():x(t.since).year()+(e-t.offset)*r}function KS(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].name;return""}function eO(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].narrow;return""}function tO(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].abbr;return""}function rO(){var t,e,r,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(r=a[t].since<=a[t].until?1:-1,n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until||a[t].until<=n&&n<=a[t].since)return(this.year()-x(a[t].since).year())*r+a[t].offset;return this.year()}function nO(t){return B(this,"_erasNameRegex")||pl.call(this),t?this._erasNameRegex:this._erasRegex}function aO(t){return B(this,"_erasAbbrRegex")||pl.call(this),t?this._erasAbbrRegex:this._erasRegex}function iO(t){return B(this,"_erasNarrowRegex")||pl.call(this),t?this._erasNarrowRegex:this._erasRegex}function hl(t,e){return e.erasAbbrRegex(t)}function oO(t,e){return e.erasNameRegex(t)}function sO(t,e){return e.erasNarrowRegex(t)}function lO(t,e){return e._eraYearOrdinalRegex||Ir}function pl(){var t=[],e=[],r=[],n=[],a,i,s,c,f,l=this.eras();for(a=0,i=l.length;a<i;++a)s=Nt(l[a].name),c=Nt(l[a].abbr),f=Nt(l[a].narrow),e.push(s),t.push(c),r.push(f),n.push(s),n.push(c),n.push(f);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}D(0,["gg",2],0,function(){return this.weekYear()%100}),D(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Pi(t,e){D(0,[t,t.length],0,e)}Pi("gggg","weekYear"),Pi("ggggg","weekYear"),Pi("GGGG","isoWeekYear"),Pi("GGGGG","isoWeekYear"),P("G",vi),P("g",vi),P("GG",te,Le),P("gg",te,Le),P("GGGG",Js,Xs),P("gggg",Js,Xs),P("GGGGG",mi,hi),P("ggggg",mi,hi),xn(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=A(t)}),xn(["gg","GG"],function(t,e,r,n){e[n]=x.parseTwoDigitYear(t)});function uO(t){return Nd.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function cO(t){return Nd.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function dO(){return Ht(this.year(),1,4)}function fO(){return Ht(this.isoWeekYear(),1,4)}function hO(){var t=this.localeData()._week;return Ht(this.year(),t.dow,t.doy)}function pO(){var t=this.localeData()._week;return Ht(this.weekYear(),t.dow,t.doy)}function Nd(t,e,r,n,a){var i;return t==null?Dn(this,n,a).year:(i=Ht(t,n,a),e>i&&(e=i),mO.call(this,t,e,r,n,a))}function mO(t,e,r,n,a){var i=vd(t,e,r,n,a),s=Rn(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}D("Q",0,"Qo","quarter"),P("Q",id),W("Q",function(t,e){e[Lt]=(A(t)-1)*3});function vO(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}D("D",["DD",2],"Do","date"),P("D",te,Yr),P("DD",te,Le),P("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),W(["D","DD"],Ot),W("Do",function(t,e){e[Ot]=A(t.match(te)[0])});var Ld=Nr("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear"),P("DDD",pi),P("DDDD",od),W(["DDD","DDDD"],function(t,e,r){r._dayOfYear=A(t)});function _O(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}D("m",["mm",2],0,"minute"),P("m",te,Qs),P("mm",te,Le),W(["m","mm"],it);var yO=Nr("Minutes",!1);D("s",["ss",2],0,"second"),P("s",te,Qs),P("ss",te,Le),W(["s","ss"],Bt);var gO=Nr("Seconds",!1);D("S",0,0,function(){return~~(this.millisecond()/100)}),D(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),D(0,["SSS",3],0,"millisecond"),D(0,["SSSS",4],0,function(){return this.millisecond()*10}),D(0,["SSSSS",5],0,function(){return this.millisecond()*100}),D(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),D(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),D(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),D(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),P("S",pi,id),P("SS",pi,Le),P("SSS",pi,od);var tr,Bd;for(tr="SSSS";tr.length<=9;tr+="S")P(tr,Ir);function bO(t,e){e[_r]=A(("0."+t)*1e3)}for(tr="S";tr.length<=9;tr+="S")W(tr,bO);Bd=Nr("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");function wO(){return this._isUTC?"UTC":""}function SO(){return this._isUTC?"Coordinated Universal Time":""}var O=kn.prototype;O.add=pS,O.calendar=wS,O.clone=SS,O.diff=RS,O.endOf=NS,O.format=TS,O.from=FS,O.fromNow=AS,O.to=ES,O.toNow=IS,O.get=$0,O.invalidAt=GS,O.isAfter=OS,O.isBefore=kS,O.isBetween=CS,O.isSame=xS,O.isSameOrAfter=MS,O.isSameOrBefore=PS,O.isValid=US,O.lang=Fd,O.locale=Td,O.localeData=Ad,O.max=U1,O.min=V1,O.parsingFlags=WS,O.set=T0,O.startOf=YS,O.subtract=mS,O.toArray=zS,O.toObject=qS,O.toDate=HS,O.toISOString=jS,O.inspect=$S,typeof Symbol!="undefined"&&Symbol.for!=null&&(O[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),O.toJSON=VS,O.toString=DS,O.unix=BS,O.valueOf=LS,O.creationData=ZS,O.eraName=KS,O.eraNarrow=eO,O.eraAbbr=tO,O.eraYear=rO,O.year=ud,O.isLeapYear=j0,O.weekYear=uO,O.isoWeekYear=cO,O.quarter=O.quarters=vO,O.month=pd,O.daysInMonth=H0,O.week=O.weeks=X0,O.isoWeek=O.isoWeeks=J0,O.weeksInYear=hO,O.weeksInWeekYear=pO,O.isoWeeksInYear=dO,O.isoWeeksInISOWeekYear=fO,O.date=Ld,O.day=O.days=c1,O.weekday=d1,O.isoWeekday=f1,O.dayOfYear=_O,O.hour=O.hours=g1,O.minute=O.minutes=yO,O.second=O.seconds=gO,O.millisecond=O.milliseconds=Bd,O.utcOffset=tS,O.utc=nS,O.local=aS,O.parseZone=iS,O.hasAlignedHourOffset=oS,O.isDST=sS,O.isLocal=uS,O.isUtcOffset=cS,O.isUtc=Pd,O.isUTC=Pd,O.zoneAbbr=wO,O.zoneName=SO,O.dates=Ge("dates accessor is deprecated. Use date instead.",Ld),O.months=Ge("months accessor is deprecated. Use month instead",pd),O.years=Ge("years accessor is deprecated. Use year instead",ud),O.zone=Ge("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",rS),O.isDSTShifted=Ge("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",lS);function OO(t){return re(t*1e3)}function kO(){return re.apply(null,arguments).parseZone()}function Hd(t){return t}var H=Vs.prototype;H.calendar=u0,H.longDateFormat=h0,H.invalidDate=m0,H.ordinal=y0,H.preparse=Hd,H.postformat=Hd,H.relativeTime=b0,H.pastFuture=w0,H.set=s0,H.eras=XS,H.erasParse=JS,H.erasConvertYear=QS,H.erasAbbrRegex=aO,H.erasNameRegex=nO,H.erasNarrowRegex=iO,H.months=Y0,H.monthsShort=N0,H.monthsParse=B0,H.monthsRegex=q0,H.monthsShortRegex=z0,H.week=U0,H.firstDayOfYear=Z0,H.firstDayOfWeek=G0,H.weekdays=i1,H.weekdaysMin=s1,H.weekdaysShort=o1,H.weekdaysParse=u1,H.weekdaysRegex=h1,H.weekdaysShortRegex=p1,H.weekdaysMinRegex=m1,H.isPM=_1,H.meridiem=b1;function Ri(t,e,r,n){var a=zt(),i=bt().set(n,e);return a[r](i,t)}function zd(t,e,r){if(Yt(t)&&(e=t,t=void 0),t=t||"",e!=null)return Ri(t,e,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=Ri(t,n,r,"month");return a}function ml(t,e,r,n){typeof t=="boolean"?(Yt(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,Yt(e)&&(r=e,e=void 0),e=e||"");var a=zt(),i=t?a._week.dow:0,s,c=[];if(r!=null)return Ri(e,(r+i)%7,n,"day");for(s=0;s<7;s++)c[s]=Ri(e,(s+i)%7,n,"day");return c}function CO(t,e){return zd(t,e,"months")}function xO(t,e){return zd(t,e,"monthsShort")}function MO(t,e,r){return ml(t,e,r,"weekdays")}function PO(t,e,r){return ml(t,e,r,"weekdaysShort")}function RO(t,e,r){return ml(t,e,r,"weekdaysMin")}er("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,r=A(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}}),x.lang=Ge("moment.lang is deprecated. Use moment.locale instead.",er),x.langData=Ge("moment.langData is deprecated. Use moment.localeData instead.",zt);var qt=Math.abs;function DO(){var t=this._data;return this._milliseconds=qt(this._milliseconds),this._days=qt(this._days),this._months=qt(this._months),t.milliseconds=qt(t.milliseconds),t.seconds=qt(t.seconds),t.minutes=qt(t.minutes),t.hours=qt(t.hours),t.months=qt(t.months),t.years=qt(t.years),this}function qd(t,e,r,n){var a=ot(e,r);return t._milliseconds+=n*a._milliseconds,t._days+=n*a._days,t._months+=n*a._months,t._bubble()}function jO(t,e){return qd(this,t,e,1)}function $O(t,e){return qd(this,t,e,-1)}function Vd(t){return t<0?Math.floor(t):Math.ceil(t)}function TO(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,a,i,s,c,f;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=Vd(vl(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,a=Xe(t/1e3),n.seconds=a%60,i=Xe(a/60),n.minutes=i%60,s=Xe(i/60),n.hours=s%24,e+=Xe(s/24),f=Xe(Ud(e)),r+=f,e-=Vd(vl(f)),c=Xe(r/12),r%=12,n.days=e,n.months=r,n.years=c,this}function Ud(t){return t*4800/146097}function vl(t){return t*146097/4800}function FO(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=Ze(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+Ud(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(vl(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return e*24+n/36e5;case"minute":return e*1440+n/6e4;case"second":return e*86400+n/1e3;case"millisecond":return Math.floor(e*864e5)+n;default:throw new Error("Unknown unit "+t)}}function Vt(t){return function(){return this.as(t)}}var Wd=Vt("ms"),AO=Vt("s"),EO=Vt("m"),IO=Vt("h"),YO=Vt("d"),NO=Vt("w"),LO=Vt("M"),BO=Vt("Q"),HO=Vt("y"),zO=Wd;function qO(){return ot(this)}function VO(t){return t=Ze(t),this.isValid()?this[t+"s"]():NaN}function gr(t){return function(){return this.isValid()?this._data[t]:NaN}}var UO=gr("milliseconds"),WO=gr("seconds"),GO=gr("minutes"),ZO=gr("hours"),XO=gr("days"),JO=gr("months"),QO=gr("years");function KO(){return Xe(this.days()/7)}var Ut=Math.round,zr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ek(t,e,r,n,a){return a.relativeTime(e||1,!!r,t,n)}function tk(t,e,r,n){var a=ot(t).abs(),i=Ut(a.as("s")),s=Ut(a.as("m")),c=Ut(a.as("h")),f=Ut(a.as("d")),l=Ut(a.as("M")),o=Ut(a.as("w")),d=Ut(a.as("y")),h=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||c<=1&&["h"]||c<r.h&&["hh",c]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(h=h||o<=1&&["w"]||o<r.w&&["ww",o]),h=h||l<=1&&["M"]||l<r.M&&["MM",l]||d<=1&&["y"]||["yy",d],h[2]=e,h[3]=+t>0,h[4]=n,ek.apply(null,h)}function rk(t){return t===void 0?Ut:typeof t=="function"?(Ut=t,!0):!1}function nk(t,e){return zr[t]===void 0?!1:e===void 0?zr[t]:(zr[t]=e,t==="s"&&(zr.ss=e-1),!0)}function ak(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=zr,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},zr,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),a=this.localeData(),i=tk(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var _l=Math.abs;function qr(t){return(t>0)-(t<0)||+t}function Di(){if(!this.isValid())return this.localeData().invalidDate();var t=_l(this._milliseconds)/1e3,e=_l(this._days),r=_l(this._months),n,a,i,s,c=this.asSeconds(),f,l,o,d;return c?(n=Xe(t/60),a=Xe(n/60),t%=60,n%=60,i=Xe(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",f=c<0?"-":"",l=qr(this._months)!==qr(c)?"-":"",o=qr(this._days)!==qr(c)?"-":"",d=qr(this._milliseconds)!==qr(c)?"-":"",f+"P"+(i?l+i+"Y":"")+(r?l+r+"M":"")+(e?o+e+"D":"")+(a||n||t?"T":"")+(a?d+a+"H":"")+(n?d+n+"M":"")+(t?d+s+"S":"")):"P0D"}var I=Oi.prototype;I.isValid=J1,I.abs=DO,I.add=jO,I.subtract=$O,I.as=FO,I.asMilliseconds=Wd,I.asSeconds=AO,I.asMinutes=EO,I.asHours=IO,I.asDays=YO,I.asWeeks=NO,I.asMonths=LO,I.asQuarters=BO,I.asYears=HO,I.valueOf=zO,I._bubble=TO,I.clone=qO,I.get=VO,I.milliseconds=UO,I.seconds=WO,I.minutes=GO,I.hours=ZO,I.days=XO,I.weeks=KO,I.months=JO,I.years=QO,I.humanize=ak,I.toISOString=Di,I.toString=Di,I.toJSON=Di,I.locale=Td,I.localeData=Ad,I.toIsoString=Ge("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Di),I.lang=Fd,D("X",0,0,"unix"),D("x",0,0,"valueOf"),P("x",vi),P("X",C0),W("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)}),W("x",function(t,e,r){r._d=new Date(A(t))});//! moment.js
|
|
20
|
-
x.version="2.30.1",i0(re),x.fn=O,x.min=W1,x.max=G1,x.now=Z1,x.utc=bt,x.unix=OO,x.months=CO,x.isDate=On,x.locale=er,x.invalid=ci,x.duration=ot,x.isMoment=at,x.weekdays=MO,x.parseZone=kO,x.localeData=zt,x.isDuration=ki,x.monthsShort=xO,x.weekdaysMin=RO,x.defineLocale=al,x.updateLocale=k1,x.locales=C1,x.weekdaysShort=PO,x.normalizeUnits=Ze,x.relativeTimeRounding=rk,x.relativeTimeThreshold=nk,x.calendarFormat=bS,x.prototype=O,x.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const ik=wg(Object.freeze(Object.defineProperty({__proto__:null,default:x},Symbol.toStringTag,{value:"Module"})));var Gd;function ok(){if(Gd)return ui;Gd=1,Object.defineProperty(ui,"__esModule",{value:!0});var t=ik,e=z(),r=function(){function n(a,i,s,c,f,l){this.unique_id=a,this.funnel=i,this.data=s,this.user=c,this.location=window.location,this.updated_at=f,this.created_at=l}return n.prototype.getId=function(){return this.unique_id},n.prototype.getFunnel=function(){return this.funnel},n.prototype.getData=function(){return this.data},n.prototype.getUser=function(){return this.user},n.prototype.getTimeStamps=function(){return{updated_at:t(this.updated_at),created_at:t(this.created_at)}},n.fromObject=function(a){return new this(a.unique_id,a.funnel,e.ComparisonDataCollection.fromObject(a.data),e.User.fromObject(a.user),a.updated_at,a.created_at)},n.prototype.toObject=function(){return{unique_id:this.unique_id,referrer:this.location.href,funnel:this.funnel,data:this.data.toObject(),user:this.user}},n}();return ui.default=r,ui}var ji={},Zd;function sk(){if(Zd)return ji;Zd=1;var t=g&&g.__awaiter||function(s,c,f,l){function o(d){return d instanceof f?d:new f(function(h){h(d)})}return new(f||(f=Promise))(function(d,h){function u(_){try{v(l.next(_))}catch(p){h(p)}}function m(_){try{v(l.throw(_))}catch(p){h(p)}}function v(_){_.done?d(_.value):o(_.value).then(u,m)}v((l=l.apply(s,c||[])).next())})},e=g&&g.__generator||function(s,c){var f={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},l,o,d,h;return h={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function u(v){return function(_){return m([v,_])}}function m(v){if(l)throw new TypeError("Generator is already executing.");for(;h&&(h=0,v[0]&&(f=0)),f;)try{if(l=1,o&&(d=v[0]&2?o.return:v[0]?o.throw||((d=o.return)&&d.call(o),0):o.next)&&!(d=d.call(o,v[1])).done)return d;switch(o=0,d&&(v=[v[0]&2,d.value]),v[0]){case 0:case 1:d=v;break;case 4:return f.label++,{value:v[1],done:!1};case 5:f.label++,o=v[1],v=[0];continue;case 7:v=f.ops.pop(),f.trys.pop();continue;default:if(d=f.trys,!(d=d.length>0&&d[d.length-1])&&(v[0]===6||v[0]===2)){f=0;continue}if(v[0]===3&&(!d||v[1]>d[0]&&v[1]<d[3])){f.label=v[1];break}if(v[0]===6&&f.label<d[1]){f.label=d[1],d=v;break}if(d&&f.label<d[2]){f.label=d[2],f.ops.push(v);break}d[2]&&f.ops.pop(),f.trys.pop();continue}v=c.call(s,f)}catch(_){v=[6,_],o=0}finally{l=d=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}},r=g&&g.__values||function(s){var c=typeof Symbol=="function"&&Symbol.iterator,f=c&&s[c],l=0;if(f)return f.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&l>=s.length&&(s=void 0),{value:s&&s[l++],done:!s}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ji,"__esModule",{value:!0});var n=It(),a=ef(),i=function(){function s(c){c===void 0&&(c={}),this.data=c}return s.prototype.addItem=function(c,f){return this.data[c]=f,this},s.prototype.removeItem=function(c){return delete this.data[c],this},s.prototype.getItem=function(c){if(this.data.hasOwnProperty(c))return this.data[c];throw new Error("".concat(c," collection doesn't exist."))},s.prototype.all=function(){return this.data},s.prototype.calculate=function(c,f){return f===void 0&&(f=null),t(this,void 0,void 0,function(){var l,o,d,h,u,m,v,_,p;return e(this,function(y){switch(y.label){case 0:l=n.ApiServiceFactory.get(c),f===null?o=this.data[c].getData():o=[this.data[c].getItem(f)],y.label=1;case 1:y.trys.push([1,6,7,8]),d=r(o),h=d.next(),y.label=2;case 2:return h.done?[3,5]:(u=h.value,[4,l.getRates(u.getModel())]);case 3:m=y.sent(),u.setRates(m),y.label=4;case 4:return h=d.next(),[3,2];case 5:return[3,8];case 6:return v=y.sent(),_={error:v},[3,8];case 7:try{h&&!h.done&&(p=d.return)&&p.call(d)}finally{if(_)throw _.error}return[7];case 8:return[2,this]}})})},s.fromObject=function(c){for(var f=new this,l=Object.keys(c),o=0;o<l.length;o++){var d={};d.insuranceType=l[o],d.data=c[l[o]],f.addItem(l[o],a.ComparisonInsuranceData.fromObject(d))}return f},s.prototype.toObject=function(){for(var c={},f=Object.keys(this.data),l=0;l<f.length;l++){var o=f[l];c[o]=this.data[o].toObject()}return c},s}();return ji.default=i,ji}var $i={},Ti={},Xd;function Jd(){if(Xd)return Ti;Xd=1,Object.defineProperty(Ti,"__esModule",{value:!0});var t=z(),e=function(){function r(n,a,i){this.id=n,this.model=a,this.rates=i}return r.prototype.setModel=function(n){return this.model=n,this},r.prototype.updateModel=function(n,a){return this.model[n]=a,this},r.prototype.setRates=function(n){return this.rates=n,this},r.prototype.getId=function(){return this.id},r.prototype.getModel=function(){return this.model},r.prototype.getRates=function(){return this.rates},r.prototype.toObject=function(){return{id:this.id,model:this.model,rates:this.rates.toObject()}},r.fromObject=function(n){return new this(n.insurance.id,n.insurance.model,new t.RateCollection(n.insuranceType,n.insurance.rates))},r}();return Ti.default=e,Ti}var Qd;function lk(){if(Qd)return $i;Qd=1;var t=g&&g.__values||function(n){var a=typeof Symbol=="function"&&Symbol.iterator,i=a&&n[a],s=0;if(i)return i.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty($i,"__esModule",{value:!0});var e=Jd(),r=function(){function n(a){this.pointer=0,this.data=a}return n.prototype.getData=function(){return this.data},n.prototype.count=function(){return this.data.length},n.prototype.addItem=function(a){return this.data.push(a),this},n.prototype.getItem=function(a){for(var i=0;i<this.data.length;i++)if(a===this.data[i].getId())return this.data[i];throw new Error("Insurance data not found.")},n.prototype.next=function(){return this.pointer<this.count()?{done:!1,value:this.data[this.pointer++]}:{done:!0,value:null}},n.prototype[Symbol.iterator]=function(){return this},n.fromObject=function(a){for(var i=[],s=0;s<a.data.length;s++){var c={};c.insurance=a.data[s],c.insuranceType=a.insuranceType,i.push(e.default.fromObject(c))}return new this(i)},n.prototype.toObject=function(){var a,i,s=[];try{for(var c=t(this.data),f=c.next();!f.done;f=c.next()){var l=f.value;s.push(l.toObject())}}catch(o){a={error:o}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}return s},n}();return $i.default=r,$i}var Kd;function ef(){return Kd||(Kd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComparisonInsurance=t.ComparisonInsuranceData=t.ComparisonDataCollection=t.Comparison=void 0;var e=ok();Object.defineProperty(t,"Comparison",{enumerable:!0,get:function(){return e.default}});var r=sk();Object.defineProperty(t,"ComparisonDataCollection",{enumerable:!0,get:function(){return r.default}});var n=lk();Object.defineProperty(t,"ComparisonInsuranceData",{enumerable:!0,get:function(){return n.default}});var a=Jd();Object.defineProperty(t,"ComparisonInsurance",{enumerable:!0,get:function(){return a.default}})}(Ys)),Ys}var tf;function z(){return tf||(tf=1,function(t){var e=g&&g.__createBinding||(Object.create?function(_,p,y,w){w===void 0&&(w=y);var j=Object.getOwnPropertyDescriptor(p,y);(!j||("get"in j?!p.__esModule:j.writable||j.configurable))&&(j={enumerable:!0,get:function(){return p[y]}}),Object.defineProperty(_,w,j)}:function(_,p,y,w){w===void 0&&(w=y),_[w]=p[y]}),r=g&&g.__exportStar||function(_,p){for(var y in _)y!=="default"&&!Object.prototype.hasOwnProperty.call(p,y)&&e(p,_,y)};Object.defineProperty(t,"__esModule",{value:!0}),t.User=t.RateCollection=t.UndefinedRate=t.DkmRate=t.VergelijkdirectRate=t.MoneyviewRate=t.EnraRate=t.RollsRate=t.RiskRate=t.LakaRate=t.PackageRate=t.Rate=t.DocumentsModel=void 0;var n=Vo;Object.defineProperty(t,"DocumentsModel",{enumerable:!0,get:function(){return n.default}});var a=Ic();Object.defineProperty(t,"Rate",{enumerable:!0,get:function(){return a.default}});var i=Ww();Object.defineProperty(t,"PackageRate",{enumerable:!0,get:function(){return i.default}});var s=Gw();Object.defineProperty(t,"LakaRate",{enumerable:!0,get:function(){return s.default}});var c=Zw();Object.defineProperty(t,"RiskRate",{enumerable:!0,get:function(){return c.default}});var f=Xw();Object.defineProperty(t,"RollsRate",{enumerable:!0,get:function(){return f.default}});var l=Jw();Object.defineProperty(t,"EnraRate",{enumerable:!0,get:function(){return l.default}});var o=Qw();Object.defineProperty(t,"MoneyviewRate",{enumerable:!0,get:function(){return o.default}});var d=Kw();Object.defineProperty(t,"VergelijkdirectRate",{enumerable:!0,get:function(){return d.default}});var h=e0();Object.defineProperty(t,"DkmRate",{enumerable:!0,get:function(){return h.default}});var u=t0();Object.defineProperty(t,"UndefinedRate",{enumerable:!0,get:function(){return u.default}});var m=Nc();Object.defineProperty(t,"RateCollection",{enumerable:!0,get:function(){return m.default}});var v=Es;Object.defineProperty(t,"User",{enumerable:!0,get:function(){return v.default}}),r(a0(),t),r(ef(),t)}(qo)),qo}var uk=g&&g.__awaiter||function(t,e,r,n){function a(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function c(o){try{l(n.next(o))}catch(d){s(d)}}function f(o){try{l(n.throw(o))}catch(d){s(d)}}function l(o){o.done?i(o.value):a(o.value).then(c,f)}l((n=n.apply(t,e||[])).next())})},ck=g&&g.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(l){return function(o){return f([l,o])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,a&&(i=l[0]&2?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(o){l=[6,o],a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(zo,"__esModule",{value:!0});var dk=z(),fk=Ce(),rf=Fr,hk=Sn,pk=function(){function t(e){this.storageManager=e}return t.prototype.configure=function(e){return uk(this,void 0,void 0,function(){var r,n;return ck(this,function(a){switch(a.label){case 0:return r=rf.Injector.instance,r.constant("environment",e),n=new fk.ConfigurationsService,[4,n.configure()];case 1:return a.sent(),r.constant("configuration-service",n),hk.supplierPlacementTracker.setParams(),[2,this]}})})},t.prototype.getConfigurations=function(){return rf.Injector.instance.get("configuration-service").getConfigurations()},t.prototype.saveNew=function(e){return this.remove(e.getInsuranceCategory()),this.save(e),this},t.prototype.save=function(e){return this.storageManager.save(e.getInsuranceCategory(),e.getData()),this},t.prototype.get=function(e){var r=this.storageManager.get(e);return new dk.RateCollection(e,r)},t.prototype.remove=function(e){return this.storageManager.remove(e),this},t}();zo.default=pk,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.InsuranceTransmissionClient=void 0;var e=zo;Object.defineProperty(t,"InsuranceTransmissionClient",{enumerable:!0,get:function(){return e.default}})}(Zu);var nf={},yl={};Object.defineProperty(yl,"__esModule",{value:!0});var mk=function(){function t(e){return this.storage={},this.storageKey=e,this.freshStorage(),this.setStorage(),this}return t.prototype.getStorage=function(){var e=JSON.parse(localStorage.getItem(this.storageKey));return e||{}},t.prototype.setStorage=function(){return localStorage.setItem(this.storageKey,JSON.stringify(this.storage)),this},t.prototype.freshStorage=function(){return this.storage=this.getStorage(),this},t.prototype.save=function(e,r){return this.freshStorage(),this.storage[e]===void 0&&(this.storage[e]=[]),this.storage[e].push(r),this.setStorage(),this},t.prototype.put=function(e,r){return this.freshStorage(),this.storage[e]=r,this.setStorage(),this},t.prototype.get=function(e){return this.freshStorage(),this.storage[e]===void 0?[]:this.storage[e]},t.prototype.remove=function(e){return this.freshStorage(),delete this.storage[e],this.setStorage(),this},t.prototype.all=function(){return this.getStorage()},t}();yl.default=mk,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageAdapter=void 0;var e=yl;Object.defineProperty(t,"LocalStorageAdapter",{enumerable:!0,get:function(){return e.default}})}(nf),function(t){var e=g&&g.__createBinding||(Object.create?function(n,a,i,s){s===void 0&&(s=i);var c=Object.getOwnPropertyDescriptor(a,i);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,s,c)}:function(n,a,i,s){s===void 0&&(s=i),n[s]=a[i]}),r=g&&g.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&e(a,n,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(Wu,t),r(Zu,t),r(nf,t),r(z(),t),r(Ce(),t)}(X);const af=Q({__proto__:null,default:bg(X)},[X]),gl={vd:{url:"http://master.dev.vergelijkdirect.com/index.php"},mijn:{url:"http://master.mijn-api.vergelijkdirect.com"},api:{url:"http://master.api.vergelijkdirect.com/"},postcode:{url:"https://api.postcodeapi.nu",key:"RL7RFSAjlA1mON4P3d4bzAOu0Fgfbwaac21WLG00"}},bl={url:gl.api.url,login:gl.api.login,password:gl.api.password},of={api:{baseUrl:bl.url,auth:{username:bl.login,password:bl.password},version:"v2"}};class vk{constructor(){oe(this,"insurances",["PetService","MotorService","BikeService","MopedService","HousingService","HomeService","LiabilityService","HouseholdService","DocumentService","PackageService","CaravanService","DataValidationService","CarService","PartnerService","ComparisonService","UserService","V1Service","TravelService"]);oe(this,"activeInsurances");oe(this,"client");oe(this,"petService");oe(this,"motorService");oe(this,"bikeService");oe(this,"mopedService");oe(this,"housingService");oe(this,"homeService");oe(this,"liabilityService");oe(this,"householdService");oe(this,"documentService");oe(this,"packageService");oe(this,"caravanService");oe(this,"dataValidationService");oe(this,"carService");oe(this,"partnerService");oe(this,"validation");oe(this,"comparisonService");oe(this,"userService");oe(this,"v1Service");oe(this,"travelService");oe(this,"dataService")}initITC(){return se(this,null,function*(){if(typeof window=="undefined")return;const e=JSON.parse(JSON.stringify(of));e.api.baseUrl=of.api.baseUrl+"api";const r=new X.LocalStorageAdapter("insurances");return this.client=new X.InsuranceTransmissionClient(r),yield this.client.configure(e),this.createConfig(),this.createInsuranceClasses(),this})}createConfig(){this.validation=new X.DataValidationService,this.petService=new X.PetService,this.motorService=new X.MotorService,this.bikeService=new X.BikeService,this.mopedService=new X.MopedService,this.housingService=new X.HousingService,this.homeService=new X.HomeService,this.liabilityService=new X.LiabilityService,this.householdService=new X.HouseholdService,this.documentService=new X.DocumentService,this.packageService=new X.PackageService,this.caravanService=new X.CaravanService,this.dataValidationService=new X.DataValidationService,this.carService=new X.CarService,this.partnerService=new X.PartnerService,this.comparisonService=new X.ComparisonService,this.userService=new X.UserService,this.v1Service=new X.V1Service,this.travelService=new X.TravelService,this.dataService=new X.DataService}createInsuranceClasses(){this.insurances.map(e=>{if(Object.prototype.hasOwnProperty.call(af,e)){const r={};r[e]=new af[e],this.activeInsurances=Object.assign({},this.activeInsurances,r)}else console.error(`${e} is not found in insurance transmission client`)})}get getActiveInsurances(){return this.activeInsurances}get getClient(){return this.client}getVehicleLicenseInformation(e,r){return se(this,null,function*(){const n=e.toLocaleLowerCase(),a=this.dataService.findVehicle(r,n);return a||null})}}let Fe=b.reactive({});const _k=(t=null)=>se(this,null,function*(){Fe=t||(yield new vk().initITC())}),yk=b.defineComponent({name:"ErrorHandler",props:{name:{required:!1,type:String},errorsData:{required:!0,type:Array[{rule:String||Boolean,text:Boolean}]}},setup(){return{errors:ce}}});function J(t,e,r,n,a,i,s,c){var f=typeof t=="function"?t.options:t;e&&(f.render=e,f.staticRenderFns=r,f._compiled=!0),n&&(f.functional=!0),i&&(f._scopeId="data-v-"+i);var l;if(s?(l=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(h=__VUE_SSR_CONTEXT__),a&&a.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(s)},f._ssrRegister=l):a&&(l=c?function(){a.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(f.functional){f._injectStyles=l;var o=f.render;f.render=function(u,m){return l.call(m),o(u,m)}}else{var d=f.beforeCreate;f.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:f}}var sf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("ul",{staticClass:"vd-form-error__list m-0"},e._l(e.errorsData,function(n,a){return(typeof n.rule=="boolean"?n.rule:e.errors.has(e.name+":"+n.rule))?r("li",{key:a,staticClass:"vd-form-error__list-item"},[r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v(e._s(n.text)+" ")])]):e._e()}),0)},gk=[];sf._withStripped=!0;var lf=J(yk,sf,gk,!1,null,"29b1158d",null,null);lf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/ErrorHandler.vue";const Be=lf.exports,bk=b.defineComponent({name:"LicensePlate",components:{ErrorHandler:Be},props:{label:{type:String,required:!1,default:"Kenteken"},name:{type:String,required:!0},placeholder:{type:String,required:!1,default:""},id:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1},value:{type:String,required:!0},vehicleTypes:{type:Array[String],required:!1,default:()=>[]},insuranceDutchNaming:{type:String,required:!0},propVehicleInformation:{required:!1,default:()=>{}},vehicleType:{type:String,required:!0,validator:t=>["motor","car","moped"].includes(t)},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){let r=b.ref("");const n=b.ref({});let a=b.ref(!1),i=b.ref(!1),s=b.ref(!1);const c=b.computed(()=>[{rule:"required",text:"Kenteken is verplicht"},{rule:"minlength",text:"Kenteken is incorrect"},{rule:s.value,text:"Kenteken onbekend"},{rule:i.value,text:`Het ingevoerde kenteken is geen ${t.insuranceDutchNaming.toLowerCase()}`},{rule:!a.value&&t.value.length===8&&!n.value.VehicleType&&Object.keys(n.value).length!==0,text:"Voertuig onbekend - Voer ander kenteken in of neem contact op"}]),f=m=>{e("focus");let v=m.srcElement.name;const _=Z.fields.find({name:v});(_!==null||_!==void 0&&_)&&(_.reset(),Z.errors.remove(_.name,_.scope))},l=m=>{e("blur");let v=m.srcElement.name;const _=Z.fields.find({name:v});(_!==null||_!==void 0&&_)&&Z.validate(_.name)},o=(m,v,_)=>{v==="input"&&(s.value=!1),m||(i.value=!1);let p=Ho(m);if(p==="no-template-found"){r.value=m,e(v,m),e("on-error");return}e(v,p.toUpperCase()),r.value=p.toUpperCase(),p.length===8&&v==="input"&&(Z.validate(t.name),_&&u(p.toUpperCase()))},d=m=>{let v=(m.clipboardData||window.clipboardData).getData("text");if(typeof v=="string"&&v){let _=Ho(v);if(_==="no-template-found"){r.value=v,e("input",v),e("on-error"),m.preventDefault();return}e("input",_.toUpperCase()),r.value=_.toUpperCase(),e("license-correct"),_.length===8&&(Z.validate(t.name),u(_.toUpperCase())),m.preventDefault()}},h=(m,v)=>se(this,null,function*(){const _=m.toLocaleLowerCase(),p=yield Fe.dataService.findVehicle(v,_);return p||null}),u=m=>{a.value=!0,i.value=!1,s.value=!1,n.value={},h(t.vehicleType,m).then(v=>{if(Array.isArray(v)&&!v.length){a.value=!1,s.value=!0,Z.validate("unknownLicensePlateHiddenField");return}if(t.vehicleTypes.length!==0&&!t.vehicleTypes.includes(v.VehicleType)){e("incorrect-vehicle-type"),i.value=!0,a.value=!1,Z.validate("incorrectLicensePlateHiddenField"),Z.validate("noLicensePlateHiddenField"),Z.validate("unknownLicensePlateHiddenField");return}n.value=v,e("on-vehicle-information-update",v),a.value=!1})};return b.onMounted(()=>{b.nextTick(()=>{if(r.value=t.value,!r.value)return;let m=!0;Ho(r.value).length===8&&Object.keys(t.propVehicleInformation).length!==0&&(n.value=t.propVehicleInformation,Z.validate(t.name),m=!1),o(r.value,"input",m)})}),{license:r,vehicleInformation:n,isLicenseUnknown:s,isRetrievingVehicleInformation:a,incorrectLicensePlate:i,resetFieldValidation:f,validateField:l,onPasteEvent:d,retrieveLicensePlateInformation:u,setValue:o,errors:ce,userInformation:C,motorState:ge,errorsData:c}}});var uf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:e.id}},[e._v(" "+e._s(e.label)+" "),r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v(" *")])]),r("div",{staticClass:"license"},[r("div",{staticClass:"license__country"}),r("input",{directives:[{name:"model",rawName:"v-model",value:e.license,expression:"license"},{name:"validate",rawName:"v-validate",value:"required|minlength:8",expression:"'required|minlength:8'"}],ref:"license-field",staticClass:"vd-form-group__input form-control license__input",class:{"vd-form-group__input--error":e.errors.has(e.name)},attrs:{id:e.id,maxlength:"8",placeholder:e.placeholder,name:e.name,type:"text",autocomplete:"off","data-vv-validate-on":"none"},domProps:{value:e.license},on:{input:[function(n){n.target.composing||(e.license=n.target.value)},function(n){return e.setValue(n.target.value,"input",!0)}],change:function(n){return e.setValue(n.target.value,"change",!0)},keydown:function(n){if(!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"]))return null;n.preventDefault()},paste:e.onPasteEvent,focus:e.resetFieldValidation,blur:e.validateField}})]),r("input",{directives:[{name:"validate",rawName:"v-validate",value:{isValue:"false"},expression:"{ isValue: 'false' }"}],attrs:{type:"hidden",name:"incorrectLicensePlateHiddenField"},domProps:{value:e.incorrectLicensePlate}}),r("input",{directives:[{name:"validate",rawName:"v-validate",value:{isValue:"false"},expression:"{ isValue: 'false' }"}],attrs:{type:"hidden",name:"noLicensePlateHiddenField"},domProps:{value:!e.isRetrievingVehicleInformation&&e.value.length===8&&!e.vehicleInformation.VehicleType&&Object.keys(e.vehicleInformation).length!==0}}),r("input",{directives:[{name:"validate",rawName:"v-validate",value:{isValue:"false"},expression:"{ isValue: 'false' }"}],attrs:{type:"hidden",name:"unknownLicensePlateHiddenField"},domProps:{value:e.isLicenseUnknown}}),e._t("errors",function(){return[r("ErrorHandler",{attrs:{name:e.name,"errors-data":e.errorsData}})]},{errors:e.errors,incorrectLicenseplate:e.incorrectLicensePlate}),e._t("vehicle-information",function(){return[!e.isRetrievingVehicleInformation&&e.vehicleInformation.Brand&&e.vehicleInformation.Model&&e.vehicleTypes.includes(e.vehicleInformation.VehicleType)&&e.value.length>=6&&!e.errors.has(e.name)?r("div",{staticClass:"d-flex flex-wrap align-items-center fz-medium mt-1",class:e.vdFormVersion==="1"?"vd-form-vehicle-name":""},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary mt-1"}),r("span",{staticClass:"mr-1"},[e._v(e._s(e.vehicleInformation.Brand))]),r("span",{staticClass:"mr-1"},[e._v(e._s(e.vehicleInformation.Model))]),r("span",[e._v("("+e._s(e.vehicleInformation.ManufacturingYear)+")")])]):e._e(),e.isRetrievingVehicleInformation?r("div",{staticClass:"d-flex align-items-center mt-1"},[r("span",{staticClass:"spinner-border spinner-small fz-medium spinner-border-sm mr-1 text-primary",attrs:{role:"status","aria-hidden":"true"}}),r("span",{staticClass:"fz-medium"},[e._v(" Voertuig gegevens ophalen ")])]):e._e()]},{loading:e.isRetrievingVehicleInformation,vehicleInformation:e.vehicleInformation})],2)},wk=[];uf._withStripped=!0;var cf=J(bk,uf,wk,!1,null,null,null,null);cf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/LicensePlate.vue";const Vr=cf.exports,Sk=b.defineComponent({name:"DefaultInput",props:{label:{type:String,required:!1,default:""},name:{type:String,required:!0},placeholder:{type:String,required:!1,default:""},validation:{required:!1,default:"required"},id:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1},mask:{type:String,required:!1,default:""},value:{required:!0},type:{type:String,validator:t=>["number","text"].includes(t),required:!0,default:""},hasPrepend:{type:Boolean,required:!1,default:!1},prependText:{type:String,required:!1,default:""},inputMode:{type:String,required:!1,default:"text"},disableValidationBlur:{type:Boolean,required:!1,default:!1},optionDisableValidationBlur:{type:Boolean,required:!1,default:!1},uId:{type:String,required:!1,default:""},hideLabel:{type:Boolean,required:!1,default:!1},readonly:{type:Boolean,required:!1,default:!1},removeCheckMark:{type:Boolean,required:!1,default:!1},autocompleteOff:{type:Boolean,required:!1,default:!1},isRequired:{type:Boolean,required:!1,default:!1},vdFormVersion:{required:!1,type:String,default:"0"}},emits:["input","change","focus","blur"],setup(t,{emit:e}){const r=b.computed(()=>t.inputMode==="zipcode"?"text":t.inputMode),n=c=>{e("input",c)},a=c=>{e("change",c)},i=c=>{e("focus");let f=c.srcElement.name;const l=ba.find({name:f+t.uId});(l!==null||l!==void 0&&l)&&(l.reset(),ce.remove(l.name,l.scope))},s=c=>{if(e("blur"),t.disableValidationBlur&&t.value||t.optionDisableValidationBlur)return;let f=c.srcElement.name;const l=ba.find({name:f+t.uId});(l!==null||l!==void 0&&l)&&Z.validate(l.name)};return b.onMounted(()=>{if(t.value){const c=ba.find({name:t.name+t.uId});(c!==null||c!==void 0&&c)&&Z.validate(c.name)}}),{inputModeChecker:r,inputValue:n,changeValue:a,resetFieldValidation:i,validateField:s,errors:ce}}});var df=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-group",attrs:{id:"vd-form-group-"+e.id}},[e.hideLabel?e._e():r("label",{staticClass:"vd-form-group__label",attrs:{for:e.id}},[e.label?r("span",{domProps:{innerHTML:e._s(e.label)}}):r("span",[e._t("title")],2),e.isRequired&&e.label?r("span",{staticClass:"text-danger ml-1 mt-2"},[e._v("*")]):e._e()]),r("div",{class:{"input-group flex-nowrap":e.hasPrepend}},[e.hasPrepend?r("div",{staticClass:"input-group-prepend",class:{"input-group-text--active":e.value&&!e.errors.has(e.name+e.uId),"input-group-text--error":e.errors.has(e.name+e.uId)}},[r("span",{staticClass:"input-group-text",class:{"input-group-text--active":e.value&&!e.errors.has(e.name+e.uId),"input-group-text--error":e.errors.has(e.name+e.uId)},attrs:{id:"prepend-"+e.id},domProps:{innerHTML:e._s(e.prependText)}})]):e._e(),r("div",{class:{"vd-form-group--filled-in":e.type!=="hidden"&&e.value&&!e.errors.has(e.name+e.uId),"vd-form-group--filled-in-checkmark":e.type!=="hidden"&&!e.removeCheckMark&&e.value&&!e.errors.has(e.name+e.uId)&&(e.vdFormVersion!=="1"||!e.hasPrepend),"vd-form-group--error":e.type!=="hidden"&&!e.removeCheckMark&&e.errors.has(e.name+e.uId),"flex-grow-1":e.hasPrepend}},[r("input",{directives:[{name:"mask",rawName:"v-mask",value:e.mask,expression:"mask"},{name:"validate",rawName:"v-validate",value:e.validation,expression:"validation"}],staticClass:"vd-form-group__input form-control",class:{"vd-form-group__input--error":e.errors.has(e.name+e.uId)},attrs:{id:e.id,type:e.type,placeholder:e.placeholder,inputmode:e.inputModeChecker,name:e.name,disabled:e.disabled,autocomplete:e.autocompleteOff?"off":"on",readonly:e.readonly,"data-vv-name":e.name+e.uId,"data-vv-validate-on":"none"},domProps:{value:e.value},on:{input:function(n){return e.inputValue(n.target.value)},change:function(n){return e.changeValue(n.target.value)},focus:e.resetFieldValidation,blur:e.validateField}})])]),e._t("error-messages"),e._t("additional-info")],2)},Ok=[];df._withStripped=!0;var ff=J(Sk,df,Ok,!1,null,null,null,null);ff.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultInput.vue";const He=ff.exports,kk=b.defineComponent({name:"DefaultSelect",props:{validation:{required:!1,default:"required"},label:{type:String,required:!1,default:""},name:{type:String,required:!0},hideLabel:{type:Boolean,required:!1,default:!1},placeholder:{type:String,required:!1,default:"Maak een keuze"},id:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1},value:{required:!0},options:{type:Array,required:!0},noDefaultPlaceholder:{type:Boolean,required:!1,default:!1},isRequired:{type:Boolean,required:!1,default:!1},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const r=b.ref(!1);return{changeValue:a=>{r.value=!0,e("input",a.target.value)},wasOptionChosen:r,errors:ce}}});var hf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-group"},[e.hideLabel?e._e():r("label",{staticClass:"vd-form-group__label",attrs:{for:e.id}},[e.label?r("span",[e._v(" "+e._s(e.label)+" ")]):r("span",[e._t("title")],2),e.isRequired&&e.label?r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v(" *")]):e._e()]),r("div",[r("div",{staticClass:"position-relative",class:{"vd-form-group--filled-in":e.value&&e.value!=="CHOOSE_OPTION"&&e.wasOptionChosen&&!e.errors.has(e.name),"vd-form-group--error vd-form-group--error--no-error-times":e.errors.has(e.name)}},[r("select",{directives:[{name:"validate",rawName:"v-validate",value:e.validation,expression:"validation"}],staticClass:"vd-form-group__input form-control",class:{"vd-form-group__input--error":e.errors.has(e.name)},attrs:{id:e.id,disabled:e.disabled,name:e.name},domProps:{value:e.value},on:{change:e.changeValue}},[e.noDefaultPlaceholder?e._e():r("option",{attrs:{value:""}},[e._v(" "+e._s(e.placeholder)+" ")]),e._l(e.options,function(n,a){return r("option",{key:n.value+"_"+a,attrs:{disabled:n.disabled||!1},domProps:{selected:n.selected||!1,value:n.value}},[e._v(" "+e._s(n.title)+" ")])})],2),r("label",{staticClass:"vd-form-group__select-icon cursor-pointer",attrs:{for:e.id}})])]),e._t("additional-info"),e._t("error-messages")],2)},Ck=[];hf._withStripped=!0;var pf=J(kk,hf,Ck,!1,null,null,null,null);pf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultSelect.vue";const Ae=pf.exports,xk=b.defineComponent({components:{DefaultInput:He,DefaultSelect:Ae,ErrorHandler:Be},props:{template:{type:String,default:"FORM",validator:t=>["FORM","USER_INFORMATION","NEW_USER_INFORMATION","PACKAGE","FORM_HORIZONTAL"].includes(t)},zipcode:{type:String,required:!0},houseNumber:{type:String,required:!0},houseNumberAddition:{type:String,required:!0},zipcodeName:{type:String,required:!0},houseNumberName:{type:String,required:!0},houseNumberAdditionName:{type:String,required:!0},showStreetAndCity:{type:Boolean,default:!0},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const r=b.ref(!1),n=b.ref(!1),a=b.ref(!1),i=b.ref(!0),s=b.ref(!1),c=b.ref(""),f=b.ref(""),l=b.ref(""),o=b.ref([]),d=b.ref({street:"",city:""}),h=b.ref(!1),u=[{rule:"required",text:"Vul je postcode in"},{rule:"regex",text:"Postcode is incorrect"}],m=[{rule:"required",text:"Huisnummer is verplicht"}],v=b.computed(()=>[{rule:ce.has(t.houseNumberAdditionName),text:"Een toevoeging is verplicht"}]),_=b.computed(()=>[{rule:a.value,text:"Postcode en huisnummer combinatie onbekend."}]),p=b.computed(()=>r.value?"-":"Kies toevoeging"),y=b.computed(()=>`${s.value?"":"required"}|is_not:CHOOSE_OPTION`),w=(G,V,Zt)=>se(this,null,function*(){try{if(!G||!V){De(""),l.value="CHOOSE_OPTION",a.value=!1,d.value.street="",d.value.city="",o.value=[{title:"Kies een toevoeging",value:"CHOOSE_OPTION",disabled:!0,selected:!0}];return}o.value=[],Zt&&(l.value="CHOOSE_OPTION"),o.value.push({title:"Kies een toevoeging",value:"CHOOSE_OPTION",disabled:!0,selected:!0}),s.value=yield j(G,V),s.value&&(o.value=[...o.value,{title:"Geen toevoeging",value:""}]),Fe.homeService.getAddition({zipcode:G,houseNumber:V}).then(ft=>{const kr=ft;if(i.value=!0,Pt(t.houseNumberAdditionName),kr.length){r.value=!1;for(let Xn=0;Xn<kr.length;Xn++)o.value=[...o.value,{title:kr[Xn],value:kr[Xn]}];a.value=!1,Zt||b.nextTick(()=>{l.value=t.houseNumberAddition,Me(G,V,t.houseNumberAddition)})}else o.value[1]&&(o.value[1].title="Geen toevoeging"),r.value=!0,l.value="",De(""),Me(G,V)}).catch(ft=>{a.value=!0,d.value.street="",d.value.city="",e("address-correct",!a.value),Pt("housenumberaddition"),console.error("Error fetching additions:",ft)})}catch(ft){console.error("Error in getHouseNumberAdditions:",ft)}}),j=(G,V)=>se(this,null,function*(){return yield Fe.dataValidationService.validateZipCode(G,V).then(()=>!0).catch(()=>!1)}),q=G=>{h.value=!0,c.value=G.toUpperCase(),e("update-zipcode",G.toUpperCase()),b.nextTick(()=>{w(G.toUpperCase(),t.houseNumber,!0)})},he=G=>{h.value=!0,e("update-house-number",G),b.nextTick(()=>{w(t.zipcode,G,!0)})},De=G=>{e("update-house-number-addition",G),Me(t.zipcode,t.houseNumber,G)},Me=(G,V,Zt="")=>se(this,null,function*(){try{if(!G||!V)return;n.value=!0,a.value=!1,d.value.street="",d.value.city="",e("address-correct",!a.value);const{Street:ft,Place:kr}=yield Fe.dataValidationService.validateZipCode(G,V,Zt);h.value=!1,d.value.street=ft,d.value.city=kr,e("update-house-information",d.value),n.value=!1}catch(ft){a.value=!0,n.value=!1,e("address-correct",!a.value),Pt("housenumberaddition"),console.error("Error getting house information:",ft)}}),Pt=G=>{var Zt;const V=Z.fields.find({name:G});(V!==null||V!==void 0&&V)&&(V==null||V.reset(),(Zt=Z==null?void 0:Z.errors)==null||Zt.remove(V==null?void 0:V.name,V==null?void 0:V.scope))};return b.onMounted(()=>{b.nextTick(()=>{c.value=t.zipcode,f.value=t.houseNumber,w(t.zipcode,t.houseNumber,!1)})}),{additionLabel:p,additionValidationRules:y,disableAdditionField:r,isLoading:n,addressError:a,firstTimeCalled:i,canBeWithoutAddition:s,zipcodeModel:c,houseNumberModel:f,houseAdditionNumberModel:l,additions:o,houseInformation:d,isAddressEditing:h,getHouseNumberAdditions:w,getHouseInformationWithoutAddition:j,updateZipcode:q,updateHouseNumber:he,updateHouseNumberAddition:De,getHouseInformation:Me,resetFieldValidation:Pt,props:t,errors:ce,zipcodeErrorsData:u,houseNumberErrorsData:m,houseNumberAdditionErrorsData:v,addressErrorsData:_}}});var mf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-group"},[r("span",[e.template==="FORM"?r("div",{staticClass:"component-mb-1"},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[r("default-input",{attrs:{id:e.zipcodeName,mask:"####AA","autocomplete-off":!0,placeholder:"bv. 1234AZ",validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.zipcodeName,"is-required":!0},on:{change:e.updateZipcode},model:{value:e.zipcodeModel,callback:function(n){e.zipcodeModel=n},expression:"zipcodeModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.zipcodeName,"errors-data":e.zipcodeErrorsData}})],1)],2)],1)]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-4"},[r("default-input",{staticClass:"mb-md-0",attrs:{id:"houseNumber","autocomplete-off":!0,placeholder:"bv. 1",validation:"required|numeric",label:"Huisnummer",type:"text",name:e.houseNumberName,"is-required":!0},on:{change:e.updateHouseNumber},model:{value:e.houseNumberModel,callback:function(n){e.houseNumberModel=n},expression:"houseNumberModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.houseNumberName,"errors-data":e.houseNumberErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-8"},[r("default-select",{staticClass:"mb-0",attrs:{id:"additions",validation:e.additionValidationRules,"no-default-placeholder":!0,disabled:e.disableAdditionField,name:e.houseNumberAdditionName,placeholder:e.additionLabel,options:e.additions},on:{input:e.updateHouseNumberAddition},scopedSlots:e._u([{key:"title",fn:function(){return[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},disabled:e.addressError||!e.disableAdditionField,"visible-arrow":e.vdFormVersion!=="1",trigger:"hover"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[e._v(" Toevoeging ")]),e._v(" Voor "),e.houseInformation.street&&e.houseInformation.city?r("span",[e._v(" "+e._s(e.houseInformation.street)+" "+e._s(e.houseNumberModel)+", "+e._s(e.houseInformation.city)+" ")]):r("span",[e._v(" dit adres ")]),e._v(" hebben we geen toevoegingen kunnen vinden. ")]),r("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Toevoeging "),e.disableAdditionField&&!e.addressError?r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary cursor-pointer",attrs:{id:"popover-target"}}):e._e(),!e.disableAdditionField&&!e.addressError&&e.additions.length>2?r("span",{staticClass:"text-danger ml-1"},[e._v(" *")]):e._e()])])]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{"errors-data":e.houseNumberAdditionErrorsData}})]},proxy:!0}],null,!1,394698098),model:{value:e.houseAdditionNumberModel,callback:function(n){e.houseAdditionNumberModel=n},expression:"houseAdditionNumberModel"}})],1)]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[e.isLoading?e._e():r("div",[e.showStreetAndCity&&!e.isAddressEditing&&e.houseInformation.street&&e.houseInformation.city?r("div",{staticClass:"fz-medium mt-1"},[r("i",{staticClass:"fa-map-marker-alt",class:e.vdFormVersion==="1"?"fas vd-tip-icon":"fad text-primary"}),e._v(" "+e._s(e.houseInformation.street)+", "+e._s(e.houseInformation.city)+" ")]):e._e(),e.addressError?r("div",{staticClass:"vd-form-error mb-0"},[r("i",{staticClass:"fas fa-info-circle"}),e._v(" Postcode en huisnummer combinatie onbekend. ")]):e._e()]),e.isLoading?r("div",{staticClass:"d-flex align-items-center mt-1"},[r("span",{staticClass:"spinner-border spinner-small fz-medium spinner-border-sm mr-1 text-primary",attrs:{role:"status","aria-hidden":"true"}}),r("span",{staticClass:"fz-medium"},[e._v(" Adres ophalen ")])]):e._e()])])]):e._e(),e.template==="FORM_HORIZONTAL"?r("div",{staticClass:"component-mb-1"},[r("span",{staticClass:"vd-form-card__content p-0"},[r("div",{staticClass:"vd-form-group mb-0"},[r("default-input",{staticClass:"mx-0 mb-lg-0",attrs:{id:e.zipcodeName,mask:"####AA","autocomplete-off":!0,validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.zipcodeName,"is-required":!0},on:{change:e.updateZipcode},model:{value:e.zipcodeModel,callback:function(n){e.zipcodeModel=n},expression:"zipcodeModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.zipcodeName,"errors-data":e.zipcodeErrorsData}})],1)],2)],1),r("div",{staticClass:"vd-form-group mb-0"},[r("default-input",{staticClass:"mx-0 mb-lg-0",attrs:{id:"houseNumber","autocomplete-off":!0,validation:"required|numeric",label:"Huisnummer",type:"text",name:e.houseNumberName,"is-required":!0},on:{change:e.updateHouseNumber},model:{value:e.houseNumberModel,callback:function(n){e.houseNumberModel=n},expression:"houseNumberModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.houseNumberName,"errors-data":e.houseNumberErrorsData}})],1)],2)],1),r("div",{staticClass:"vd-form-group mb-0"},[r("default-select",{staticClass:"mx-0",class:{"mb-0":e.houseInformation.street&&e.houseInformation.city},attrs:{id:"additions",validation:e.additionValidationRules,disabled:e.disableAdditionField,name:e.houseNumberAdditionName,"no-default-placeholder":!0,placeholder:e.additionLabel,options:e.additions},on:{input:e.updateHouseNumberAddition},scopedSlots:e._u([{key:"title",fn:function(){return[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},disabled:e.addressError||!e.disableAdditionField,"visible-arrow":e.vdFormVersion!=="1",trigger:"hover"}},[r("div",{staticClass:"popover popper"},[r("div",{staticClass:"popover-header"},[e._v(" Toevoeging ")]),e._v(" Voor "),e.houseInformation.street&&e.houseInformation.city?r("span",[e._v(" "+e._s(e.houseInformation.street)+" "+e._s(e.houseNumberModel)+", "+e._s(e.houseInformation.city)+" ")]):r("span",[e._v(" dit adres ")]),e._v(" hebben we geen toevoegingen kunnen vinden. ")]),r("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Toevoeging "),e.disableAdditionField&&!e.addressError?r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary cursor-pointer",attrs:{id:"popover-target"}}):e._e()])])]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{"errors-data":e.houseNumberAdditionErrorsData}})]},proxy:!0}],null,!1,2867007919),model:{value:e.houseAdditionNumberModel,callback:function(n){e.houseAdditionNumberModel=n},expression:"houseAdditionNumberModel"}})],1)]),e.isLoading?e._e():r("div",[e.showStreetAndCity&&e.houseInformation.street&&e.houseInformation.city?r("div",{staticClass:"fz-medium mt-1"},[r("i",{staticClass:"fa-map-marker-alt",class:e.vdFormVersion==="1"?"fas vd-tip-icon":"fad text-primary"}),e._v(" "+e._s(e.houseInformation.street)+", "+e._s(e.houseInformation.city)+" ")]):e._e(),e.addressError?r("div",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Postcode en huisnummer combinatie onbekend. ")]):e._e()]),e.isLoading?r("div",{staticClass:"d-flex align-items-center mt-1"},[r("span",{staticClass:"spinner-border spinner-small fz-medium spinner-border-sm mr-1 text-primary",attrs:{role:"status","aria-hidden":"true"}}),r("span",{staticClass:"fz-medium"},[e._v(" Adres ophalen ")])]):e._e()]):e._e(),e.template==="USER_INFORMATION"?r("div",[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-3"},[r("default-input",{attrs:{id:e.zipcodeName,mask:"####AA","autocomplete-off":!0,validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.zipcodeName,"is-required":!0},on:{change:e.updateZipcode},model:{value:e.zipcodeModel,callback:function(n){e.zipcodeModel=n},expression:"zipcodeModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.zipcodeName,"errors-data":e.zipcodeErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-3"},[r("default-input",{attrs:{id:"houseNumber","autocomplete-off":!0,validation:"required|numeric",label:"Huisnummer",type:"text",name:e.houseNumberName,"is-required":!0},on:{change:e.updateHouseNumber},model:{value:e.houseNumberModel,callback:function(n){e.houseNumberModel=n},expression:"houseNumberModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.houseNumberName,"errors-data":e.houseNumberErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-6"},[r("default-select",{attrs:{id:"additions",validation:e.additionValidationRules,disabled:e.disableAdditionField,name:e.houseNumberAdditionName,"no-default-placeholder":!0,placeholder:e.additionLabel,options:e.additions},on:{input:e.updateHouseNumberAddition},scopedSlots:e._u([{key:"title",fn:function(){return[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},disabled:e.addressError||!e.disableAdditionField,"visible-arrow":e.vdFormVersion!=="1",trigger:"hover"}},[r("div",{staticClass:"popover popper"},[r("div",{staticClass:"popover-header"},[e._v(" Toevoeging ")]),e._v(" Voor "),e.houseInformation.street&&e.houseInformation.city?r("span",[e._v(" "+e._s(e.houseInformation.street)+" "+e._s(e.houseNumberModel)+", "+e._s(e.houseInformation.city)+" ")]):r("span",[e._v(" dit adres ")]),e._v(" hebben we geen toevoegingen kunnen vinden. ")]),r("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Toevoeging "),e.disableAdditionField&&!e.addressError?r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary cursor-pointer",attrs:{id:"popover-target"}}):e._e()])])]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{"errors-data":e.houseNumberAdditionErrorsData}})]},proxy:!0}],null,!1,2867007919),model:{value:e.houseAdditionNumberModel,callback:function(n){e.houseAdditionNumberModel=n},expression:"houseAdditionNumberModel"}})],1)]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[r("div",{staticClass:"mb-2"},[e.addressError?r("div",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-info-circle"}),e._v(" Postcode en huisnummer combinatie onbekend. ")]):e._e()])])])]):e._e(),e.template==="NEW_USER_INFORMATION"?r("div",[r("div",{staticClass:"row mt-2"},[r("div",{staticClass:"col-xl-4 col-lg-5 col-md-5"},[r("label",{staticClass:"mt-2 font-weight-bold cursor-pointer",attrs:{for:e.zipcodeName}},[e._v(" Postcode ")])]),r("div",{staticClass:"col-md-3"},[r("default-input",{attrs:{id:e.zipcodeName,"hide-label":!0,mask:"####AA","autocomplete-off":!0,validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.zipcodeName,"is-required":!0},on:{change:e.updateZipcode},model:{value:e.zipcodeModel,callback:function(n){e.zipcodeModel=n},expression:"zipcodeModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.zipcodeName,"errors-data":e.zipcodeErrorsData}})],1)],2)],1)]),r("div",{staticClass:"row mt-2"},[r("div",{staticClass:"col-xl-4 col-lg-5 col-md-5"},[r("label",{staticClass:"mt-2 font-weight-bold cursor-pointer",attrs:{for:e.houseNumberName}},[e._v(" Huisnummer en toevoeging ")])]),r("div",{staticClass:"col-md-3"},[r("default-input",{attrs:{id:"houseNumber","hide-label":!0,"autocomplete-off":!0,validation:"required|numeric",type:"text",name:e.houseNumberName,"is-required":!0},on:{change:e.updateHouseNumber},model:{value:e.houseNumberModel,callback:function(n){e.houseNumberModel=n},expression:"houseNumberModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.houseNumberName,"errors-data":e.houseNumberErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-3"},[r("default-select",{attrs:{id:"additions",validation:e.additionValidationRules,"hide-label":!0,"no-default-placeholder":!0,disabled:e.disableAdditionField,name:e.houseNumberAdditionName,placeholder:e.additionLabel,options:e.additions},on:{input:e.updateHouseNumberAddition},scopedSlots:e._u([{key:"title",fn:function(){return[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},disabled:e.addressError||!e.disableAdditionField,"visible-arrow":e.vdFormVersion!=="1",trigger:"hover"}},[r("div",{staticClass:"popover popper"},[r("div",{staticClass:"popover-header"},[e._v(" Toevoeging ")]),e._v(" Voor "),e.houseInformation.street&&e.houseInformation.city?r("span",[e._v(" "+e._s(e.houseInformation.street)+" "+e._s(e.houseNumberModel)+", "+e._s(e.houseInformation.city)+" ")]):r("span",[e._v(" dit adres ")]),e._v(" hebben we geen toevoegingen kunnen vinden. ")]),r("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Toevoeging "),e.disableAdditionField&&!e.addressError?r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary cursor-pointer",attrs:{id:"popover-target"}}):e._e()])])]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{"errors-data":e.houseNumberAdditionErrorsData}})]},proxy:!0}],null,!1,2867007919),model:{value:e.houseAdditionNumberModel,callback:function(n){e.houseAdditionNumberModel=n},expression:"houseAdditionNumberModel"}})],1)])]):e._e(),e.template==="PACKAGE"?r("div",[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-4"},[r("default-input",{staticClass:"mx-0",attrs:{id:e.zipcodeName,mask:"####AA","autocomplete-off":!0,validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.zipcodeName,"is-required":!0},on:{change:e.updateZipcode},model:{value:e.zipcodeModel,callback:function(n){e.zipcodeModel=n},expression:"zipcodeModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.zipcodeName,"errors-data":e.zipcodeErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-4"},[r("default-input",{staticClass:"mx-0",attrs:{id:"houseNumber","autocomplete-off":!0,validation:"required|numeric",label:"Huisnummer",type:"text",name:e.houseNumberName,"is-required":!0},on:{change:e.updateHouseNumber},model:{value:e.houseNumberModel,callback:function(n){e.houseNumberModel=n},expression:"houseNumberModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.houseNumberName,"errors-data":e.houseNumberErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-4"},[r("default-select",{staticClass:"mx-0",attrs:{id:"additions",validation:e.additionValidationRules,disabled:e.disableAdditionField,name:e.houseNumberAdditionName,"no-default-placeholder":!0,placeholder:e.additionLabel,options:e.additions},on:{input:e.updateHouseNumberAddition},scopedSlots:e._u([{key:"title",fn:function(){return[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},disabled:e.addressError||!e.disableAdditionField,"visible-arrow":e.vdFormVersion!=="1",trigger:"hover"}},[r("div",{staticClass:"popover popper"},[r("div",{staticClass:"popover-header"},[e._v(" Toevoeging ")]),e._v(" Voor "),e.houseInformation.street&&e.houseInformation.city?r("span",[e._v(" "+e._s(e.houseInformation.street)+" "+e._s(e.houseNumberModel)+", "+e._s(e.houseInformation.city)+" ")]):r("span",[e._v(" dit adres ")]),e._v(" hebben we geen toevoegingen kunnen vinden. ")]),r("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Toevoeging "),e.disableAdditionField&&!e.addressError?r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary cursor-pointer",attrs:{id:"popover-target"}}):e._e()])])]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{"errors-data":e.houseNumberAdditionErrorsData}})]},proxy:!0}],null,!1,2867007919),model:{value:e.houseAdditionNumberModel,callback:function(n){e.houseAdditionNumberModel=n},expression:"houseAdditionNumberModel"}})],1)]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[r("div",{staticClass:"mb-2"},[e.showStreetAndCity&&e.houseInformation.street&&e.houseInformation.city?r("div",{staticClass:"text-success fz-small font-weight-bold"},[r("i",{staticClass:"fas fa-info-circle"}),e._v(" "+e._s(e.houseInformation.street)+", "+e._s(e.houseInformation.city)+" ")]):e._e(),r("ErrorHandler",{attrs:{"errors-data":e.addressErrorsData}})],1)])])]):e._e(),r("input",{directives:[{name:"model",rawName:"v-model",value:e.addressError,expression:"addressError"},{name:"validate",rawName:"v-validate",value:{isValue:"false"},expression:"{ isValue: 'false' }"}],attrs:{type:"hidden",name:"hidden-adress-error"},domProps:{value:e.addressError},on:{input:function(n){n.target.composing||(e.addressError=n.target.value)}}})])])},Mk=[];mf._withStripped=!0;var vf=J(xk,mf,Mk,!1,null,null,null,null);vf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/AddressHandler.vue";const Ur=vf.exports,Pk=b.defineComponent({name:"ClaimFreeYearsModalContent",props:{maxClaimFreeYearsOptions:{required:!0},vdFormVersion:{required:!1,type:String,default:"0"}},components:{DefaultSelect:Ae},setup(t,{emit:e}){const r=b.ref("ONE"),n=b.ref("0");return{step:r,claimFreeYears:n,setClaimFreeYears:()=>{e("set-claim-free-years",n.value)},closeModal:()=>{e("close-modal")}}}});var _f=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",[e.step==="ONE"?r("section",[r("p",[e._v(" Heb je in de afgelopen 3 jaar een auto- of motorverzekering op je eigen naam gehad die je hebt opgezegd? ")]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-6"},[r("div",{staticClass:"mb-md-0 mb-2",class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:function(n){e.step="ONE_ONE"}}},[e._v(" Ja ")])]),r("div",{staticClass:"col-md-6"},[r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:function(n){e.step="ONE_TWO"}}},[e._v(" Nee ")])])])]):e._e(),e.step==="ONE_ONE"?r("section",[r("p",[e._v(" Hoeveel aaneengesloten jaren heb je deze auto- of motorverzekering gehad zonder schades te claimen? ")]),r("default-select",{staticClass:"mx-0 mb-3",attrs:{id:"ClaimFreeYears",options:e.maxClaimFreeYearsOptions,name:"ClaimFreeYears",label:"Aantal schadevrije jaren","no-default-placeholder":!0},on:{input:e.setClaimFreeYears},model:{value:e.claimFreeYears,callback:function(n){e.claimFreeYears=n},expression:"claimFreeYears"}}),r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:e.closeModal}},[e._v(" Sluit venster ")])],1):e._e(),e.step==="ONE_TWO"?r("section",[r("p",[e._v(" Wil je gebruik maken van schadevrije jaren van een auto- of motorverzekering die momenteel al loopt? ")]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-6"},[r("div",{staticClass:"mb-md-0 mb-2",class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:function(n){e.step="TWO_TWO"}}},[e._v(" Ja ")])]),r("div",{staticClass:"col-md-6"},[r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:function(n){e.step="TWO_ONE"}}},[e._v(" Nee ")])])])]):e._e(),e.step==="TWO_ONE"?r("section",[r("p",[e._v(" Je hebt helaas geen schadevrije jaren beschikbaar voor je nieuwe voertuig. Omdat je nog geen beschikbare schadevrije jaren hebt voor je nieuwe voertuig, begin je met 0 schadevrije jaren. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. ")]),r("div",{staticClass:"mb-md-0 mb-2",class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:e.closeModal}},[e._v(" Sluit venster ")])]):e._e(),e.step==="TWO_TWO"?r("section",[r("p",[e._v(" Je huidige verzekeraar zal je schadevrije jaren vrijgeven nadat je deze hebt opgezegd. Je kunt ze daarom gebruiken voor je nieuwe voertuig. Ik ga mijn huidige verzekering opzeggen. ")]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-6"},[r("div",{staticClass:"mb-md-0 mb-2",class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:function(n){e.step="THREE_TWO"}}},[e._v(" Ja ")])]),r("div",{staticClass:"col-md-6",on:{click:function(n){e.step="TWO_ONE"}}},[r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer"},[e._v(" Nee ")])])])]):e._e(),e.step==="THREE_TWO"?r("section",[r("p",[e._v(" Hoeveel aaneengesloten jaren heb je deze auto- of motorverzekering gehad zonder schades te claimen? ")]),r("default-select",{staticClass:"mx-0 mb-3",attrs:{id:"ClaimFreeYears",options:e.maxClaimFreeYearsOptions,name:"ClaimFreeYears",label:"Aantal schadevrije jaren","no-default-placeholder":!0},on:{input:e.setClaimFreeYears},model:{value:e.claimFreeYears,callback:function(n){e.claimFreeYears=n},expression:"claimFreeYears"}}),r("div",{staticClass:"mb-md-0 mb-2",class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:e.closeModal}},[e._v(" Sluit venster ")])],1):e._e()])},Rk=[];_f._withStripped=!0;var yf=J(Pk,_f,Rk,!1,null,"659d0a00",null,null);yf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/modals/ClaimFreeYearsModalContent.vue";const gf=yf.exports,Dk=b.defineComponent({props:{hasLoader:{type:Boolean,default:!1},noTitle:{type:Boolean,default:!0},hasBorderTitle:{type:Boolean,default:!0},hasNewStyle:{type:Boolean,default:!1}},setup(t){return{cardClasses:b.computed(()=>({"text-center":t.hasLoader,"vd-card-simple--new":t.hasNewStyle}))}}});var bf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-card-simple",class:{"text-center":e.hasLoader,"vd-card-simple--new":e.hasNewStyle}},[e.noTitle?r("p",{staticClass:"vd-card-simple__title",class:{"border-bottom-0 mb-0":e.hasLoader,"border-bottom-0 mb-0":e.hasBorderTitle}},[e._t("title")],2):e._e(),e._t("default"),e.hasLoader?r("loader"):e._e()],2)},jk=[];bf._withStripped=!0;var wf=J(Dk,bf,jk,!1,null,null,null,null);wf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/SimpleCard.vue";const st=wf.exports;function $k(t){return t.valueOf().toString().substr(6,12)}function Fi(){function t(e){const r=$k(new Date);return`${e}-${r}`}return{inputId:t}}const Tk=b.defineComponent({name:"BirthdateInput",components:{ErrorHandler:Be,DefaultInput:He},props:{vdFormVersion:{required:!1,type:String,default:"0"},agesRange:{required:!1,default:()=>({min:18,max:99})}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fi(),a=b.ref(+k().format("YYYY")),i=b.computed(()=>[{rule:"required",text:"Geboortedatum is verplicht"},{rule:"date_format",text:"Geboortedatum is incorrect"},{rule:"ageRange",text:`Je dient tussen ${a.value-t.agesRange.max} en ${a.value-t.agesRange.min} te zijn geboren`}]);return{inputId:n,attrs:e,listeners:r,errorsData:i,currentYear:a}}});var Sf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("DefaultInput",e._g(e._b({attrs:{id:e.inputId("birthdate"),name:"birthdate",type:"text",placeholder:"DD-MM-YYYY",label:"Geboortedatum",mask:"##-##-####",validation:`required|date_format:dd-MM-yyyy|ageRange:${e.agesRange.min},${e.agesRange.max}`,"is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"birthdate","errors-data":e.errorsData}})]},proxy:!0}])},"DefaultInput",e.attrs,!1),e.listeners))},Fk=[];Sf._withStripped=!0;var Of=J(Tk,Sf,Fk,!1,null,null,null,null);Of.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/BirthdateInput.vue";const kt=Of.exports,Ak=b.defineComponent({name:"MotorForm",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,DefaultSelect:Ae,ClaimFreeYearsModalContent:gf,SimpleCard:st,BirthdateInput:kt,ErrorHandler:Be},props:{link:{type:String,required:!1},classes:{required:!1,type:String,default:""},isOnResultPage:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Motorverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},buttonOptions:{required:!1},userInformation:{required:!1,default(){return{}}},insuranceState:{required:!1,default(){return{}}},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:c,minAge:f,maxAge:l,claimFreeYearsErrorData:o,buttonStyles:d,maxClaimFreeYears:h,onLicenseError:u,onLicenseInput:m,validateBeforeSubmit:v,HouseInformation:_,vehicle:p,getClaimFreeYearsSelectOptions:y,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:q,setClaimFreeYears:he,getHouseInformation:De,getLicenseInformation:Me}=Uu(t,e,Fe);return{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:c,minAge:f,maxAge:l,claimFreeYearsErrorData:o,buttonStyles:d,maxClaimFreeYears:h,onLicenseError:u,onLicenseInput:m,validateBeforeSubmit:v,HouseInformation:_,licenseInformation:sr,vehicle:p,getClaimFreeYearsSelectOptions:y,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:q,setClaimFreeYears:he,getHouseInformation:De,getLicenseInformation:Me,errors:ce,userInformation:C,motorState:ge}}});var kf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes}},[r("form",{ref:"motor-form",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("license-plate",{attrs:{id:"license","prop-vehicle-information":e.vehicle,"vehicle-types":["Motor","MP3Motor"],"vehicle-type":"motor","insurance-dutch-naming":"motor",name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-error":e.onLicenseError,"on-vehicle-information-update":n=>e.licenseInformation.motor=n},model:{value:e.motorState.license,callback:function(n){e.$set(e.motorState,"license",n)},expression:"motorState.license"}}),r("address-handler",{attrs:{"zipcode-name":"zipcode","house-number-name":"housenumber","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition,"vd-form-version":e.vdFormVersion},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}}),r("div",{staticClass:"vd-form-group"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}})],1),r("div",{staticClass:"vd-form-group"},[r("default-select",{staticClass:"mx-0",attrs:{id:"claimFreeYears",options:e.getClaimFreeYearsSelectOptions,"no-default-placeholder":!0,name:"claimfreeyears","is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"d-flex flex-no-wrap"},[e._v(" Schadevrije jaren "),r("span",{staticClass:"text-danger ml-1"},[e._v(" *")]),r("popper",{attrs:{options:{placement:"top",modifiers:{offset:{offset:"0,5px"}}},trigger:"hover","visible-arrow":e.vdFormVersion!=="1"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary mt-1"}),e._v(" Schadevrije jaren ")]),e._v(" Je bouwt alleen schadevrije jaren op als een motor of auto op jouw naam is verzekerd geweest. Schadevrije jaren geven je korting op de premie. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. Schadevrije jaren die ja al in gebruik zijn op een lopende auto- of motorverzekering, kun je niet tegelijkertijd op een tweede voertuig gebruiken. "),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[e._v(" Bereken je schadevrije jaren! ")]):e._e()]),r("i",{staticClass:"fas ml-1",class:e.vdFormVersion==="1"?"fa-info-circle vd-info-icon":"fa-question-circle text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"})])],1)]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"claimFreeYears","errors-data":e.claimFreeYearsErrorData}})]},proxy:!0},{key:"additional-info",fn:function(){return[e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[r("i",{staticClass:"fas fa-question-circle ml-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"}),e._v(" Bereken je schadevrije jaren! ")]):e._e()]},proxy:!0}]),model:{value:e.motorState.claimFreeYears,callback:function(n){e.$set(e.motorState,"claimFreeYears",n)},expression:"motorState.claimFreeYears"}})],1),r("div",{staticClass:"vd-form-group"},[r("default-select",{attrs:{id:"kilometrage",options:e.kilometrages,"no-default-placeholder":!0,name:"kilometrage",label:"Aantal kilometer per jaar","is-required":!0,"vd-form-version":e.vdFormVersion},model:{value:e.motorState.kilometrage,callback:function(n){e.$set(e.motorState,"kilometrage",n)},expression:"motorState.kilometrage"}})],1),r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])],1)]),r("b-modal",{attrs:{title:"Bereken je schadevrije jaren!",static:"",centered:"","no-fade":"","modal-class":"form-modal vd-form-modal_popup","hide-footer":""},model:{value:e.isModalOpen,callback:function(n){e.isModalOpen=n},expression:"isModalOpen"}},[e.isModalOpen?r("claim-free-years-modal-content",{attrs:{"current-claim-free-years":e.motorState.claimFreeYears,"max-claim-free-years-options":e.getClaimFreeYearsSelectOptions,"vd-form-version":e.vdFormVersion},on:{"set-claim-free-years":e.setClaimFreeYears,"close-modal":function(n){e.isModalOpen=!1}}}):e._e()],1)],1)},Ek=[];kf._withStripped=!0;var Cf=J(Ak,kf,Ek,!1,null,null,null,null);Cf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorForm.vue";const Ik=Cf.exports,Yk=b.defineComponent({name:"MotorFormHorizontal",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,DefaultSelect:Ae,ClaimFreeYearsModalContent:gf,SimpleCard:st,BirthdateInput:kt},props:{link:{type:String,required:!1},classes:{required:!1,type:String,default:""},isOnResultPage:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Motorverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},buttonOptions:{required:!1},userInformation:{required:!1},insuranceState:{required:!1},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:c,minAge:f,maxAge:l,claimFreeYearsErrorData:o,buttonStyles:d,maxClaimFreeYears:h,onLicenseError:u,onLicenseInput:m,validateBeforeSubmit:v,HouseInformation:_,vehicle:p,getClaimFreeYearsSelectOptions:y,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:q,setClaimFreeYears:he,getHouseInformation:De,getLicenseInformation:Me}=Uu(t,e,Fe);return{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:c,minAge:f,maxAge:l,claimFreeYearsErrorData:o,buttonStyles:d,maxClaimFreeYears:h,onLicenseError:u,onLicenseInput:m,validateBeforeSubmit:v,HouseInformation:_,licenseInformation:sr,vehicle:p,getClaimFreeYearsSelectOptions:y,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:q,setClaimFreeYears:he,getHouseInformation:De,getLicenseInformation:Me,errors:ce,userInformation:C,motorState:ge}}});var xf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("simple-card",{staticClass:"vd-form-card vd-form-card--horizontal",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes}},[r("form",{ref:"motor-form",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content mb-0 pb-0 pb-lg-3"},[r("license-plate",{attrs:{id:"license","prop-vehicle-information":e.vehicle,"vehicle-types":["Motor","MP3Motor"],"vehicle-type":"motor","insurance-dutch-naming":"motor",name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-error":e.onLicenseError,"on-vehicle-information-update":n=>e.licenseInformation.motor=n},model:{value:e.motorState.license,callback:function(n){e.$set(e.motorState,"license",n)},expression:"motorState.license"}}),r("div",{staticClass:"vd-form-group vd-form-group--address-handler-moped mb-0"},[r("address-handler",{attrs:{"zipcode-name":"zipcode","house-number-name":"housenumber",template:"FORM_HORIZONTAL","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition,"vd-form-version":e.vdFormVersion},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}})],1)],1),r("div",{staticClass:"vd-form-card__content mb-0 pb-3"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}}),r("div",{staticClass:"vd-form-group"},[r("default-select",{staticClass:"mx-0",attrs:{id:"claimFreeYears",options:e.getClaimFreeYearsSelectOptions,"no-default-placeholder":!0,name:"claimfreeyears","is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"d-flex flex-no-wrap"},[e._v(" Schadevrije jaren "),r("span",{staticClass:"text-danger ml-1"},[e._v(" *")]),r("popper",{attrs:{options:{placement:"top",modifiers:{offset:{offset:"0,5px"}}},trigger:"hover","visible-arrow":e.vdFormVersion!=="1"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary mt-1"}),e._v(" Schadevrije jaren ")]),e._v(" Je bouwt alleen schadevrije jaren op als een motor of auto op jouw naam is verzekerd geweest. Schadevrije jaren geven je korting op de premie. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. Schadevrije jaren die ja al in gebruik zijn op een lopende auto- of motorverzekering, kun je niet tegelijkertijd op een tweede voertuig gebruiken. "),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[e._v(" Bereken je schadevrije jaren! ")]):e._e()]),r("i",{staticClass:"fas ml-1",class:e.vdFormVersion==="1"?"fa-info-circle vd-info-icon":"fa-question-circle text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"})])],1)]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"claimFreeYears","errors-data":e.claimFreeYearsErrorData}})]},proxy:!0}]),model:{value:e.motorState.claimFreeYears,callback:function(n){e.$set(e.motorState,"claimFreeYears",n)},expression:"motorState.claimFreeYears"}}),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[r("i",{staticClass:"fas fa-question-circle ml-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"}),e._v(" Bereken je schadevrije jaren! ")]):e._e()],1),r("default-select",{attrs:{id:"kilometrage",options:e.kilometrages,"no-default-placeholder":!0,name:"kilometrage",label:"Aantal kilometer per jaar","is-required":!0,"vd-form-version":e.vdFormVersion},model:{value:e.motorState.kilometrage,callback:function(n){e.$set(e.motorState,"kilometrage",n)},expression:"motorState.kilometrage"}})],1),r("div",{staticClass:"vd-form-card__content"},[r("div",{staticClass:"vd-form-group"},[r("div",{staticClass:"row justify-content-end"},[r("div",{staticClass:"col-md-3 col-12"},[r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])])])])]),r("b-modal",{attrs:{title:"Bereken je schadevrije jaren!",static:"",centered:"","no-fade":"","modal-class":"form-modal vd-form-modal_popup","hide-footer":""},model:{value:e.isModalOpen,callback:function(n){e.isModalOpen=n},expression:"isModalOpen"}},[e.isModalOpen?r("claim-free-years-modal-content",{attrs:{"current-claim-free-years":e.motorState.claimFreeYears,"max-claim-free-years-options":e.getClaimFreeYearsSelectOptions,"vd-form-version":e.vdFormVersion},on:{"set-claim-free-years":e.setClaimFreeYears,"close-modal":function(n){e.isModalOpen=!1}}}):e._e()],1)],1)},Nk=[];xf._withStripped=!0;var Mf=J(Yk,xf,Nk,!1,null,null,null,null);Mf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorFormHorizontal.vue";const Lk=Mf.exports;var Fn=(t=>(t.Horizontal="horizontal",t.Vertical="vertical",t))(Fn||{}),Pf=(t=>(t.Brommobiel="60",t))(Pf||{});const Bk=b.defineComponent({name:"LoanAmount",components:{DefaultInput:He,DefaultSelect:Ae,ErrorHandler:Be},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fi();return{inputId:n,attrs:e,listeners:r,errors:ce,loansErrorData:[{rule:"required",text:"Leenbedrag is verplicht"},{rule:"min_value",text:"Je kunt niet minder dan €2500,- lenen. Vul een hoger bedrag in"},{rule:"max_value",text:"De input mag niet groter zijn dan de maximum waarde: 75000"}]}}});var Rf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("default-input",e._g(e._b({attrs:{id:e.inputId("loanAmount"),label:"Leenbedrag",name:"loanAmount",type:"text","prepend-text":"€",placeholder:"bv. 10 000",mask:"#####","has-prepend":!0,validation:"required|min_value:2500|max_value:75000","is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"loanAmount","errors-data":e.loansErrorData}})]},proxy:!0},{key:"additional-info",fn:function(){return[r("span",{staticClass:"text-deco-line",class:e.vdFormVersion==="1"?"vd-form-additional-info-text":"text-primary",staticStyle:{"font-size":"12px"}},[r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-loan-amount"},slot:"reference"}),e._v(" Je kunt minimaal € 2.500,- en maximaal € 75.000,- lenen. Vul hele euro's in. ")])]},proxy:!0}])},"default-input",e.attrs,!1),e.listeners))},Hk=[];Rf._withStripped=!0;var Df=J(Bk,Rf,Hk,!1,null,null,null,null);Df.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/formFields/loanAmount.vue";const jf=Df.exports;var ze=(t=>(t.PurchaseCar="02",t.PurchaseBoat="03",t.PurchaseCaravanCamper="04",t.PurchaseHousehold="32",t.PurchaseMotor="05",t.PurchaseRecreationalHome="11",t.RefinanceExistingLoans="09",t.HomeRenovation="06",t.EnergySavingMeasures="07",t.PayOffMortgageDebt="12",t.ExtraFinances="33",t.Other="99",t))(ze||{});const zk=[{title:"Aankoop auto",value:ze.PurchaseCar},{title:"Aankoop boot",value:ze.PurchaseBoat},{title:"Aankoop caravan/camper",value:ze.PurchaseCaravanCamper},{title:"Aankoop inboedel",value:ze.PurchaseHousehold},{title:"Aankoop motor",value:ze.PurchaseMotor},{title:"Aankoop recreatiewoning",value:ze.PurchaseRecreationalHome},{title:"Oversluiten lopende leningen",value:ze.RefinanceExistingLoans},{title:"Verbouwing woning",value:ze.HomeRenovation},{title:"Energie besparende maatregelen",value:ze.EnergySavingMeasures},{title:"Aflossen restschuld woning",value:ze.PayOffMortgageDebt},{title:"Extra financiële ruimte",value:ze.ExtraFinances},{title:"Anders",value:ze.Other}],qk=b.defineComponent({name:"LoanPurpose",components:{DefaultSelect:Ae,ErrorHandler:Be},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fi();return{inputId:n,attrs:e,listeners:r,loanPurposeOptions:zk,errors:ce,loansErrorData:[{rule:"required",text:"Leendoel is verplicht"}]}}});var $f=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("default-select",e._g(e._b({attrs:{id:e.inputId("loanPurpose"),label:"Leendoel",name:"loanPurpose",options:e.loanPurposeOptions,"is-required":!0},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"loanPurpose","errors-data":e.loansErrorData}})]},proxy:!0}])},"default-select",e.attrs,!1),e.listeners))},Vk=[];$f._withStripped=!0;var Tf=J(qk,$f,Vk,!1,null,null,null,null);Tf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/formFields/loanPurpose.vue";const Ff=Tf.exports,Uk=[{value:"A",title:"Alleenstaand zonder kinderen"},{value:"H",title:"Gezin zonder kinderen"},{value:"K",title:"Alleenstaand met kinderen"},{value:"I",title:"Gezin met kinderen"}],Wk=b.defineComponent({name:"FamilyCompositionInput",components:{DefaultSelect:Ae,ErrorHandler:Be},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fi(),a=Uk,i=b.computed(()=>[{rule:ce.has("familyComposition"),text:"Gezinssituatie is verplicht"}]);return{inputId:n,familyCompositionOptions:a,attrs:e,listeners:r,errorsData:i}}});var Af=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("default-select",e._g(e._b({attrs:{id:e.inputId("familyComposition"),label:"Gezinssituatie",name:"familyComposition",options:e.familyCompositionOptions,"is-required":!0},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"familyComposition","errors-data":e.errorsData}})]},proxy:!0}])},"default-select",e.attrs,!1),e.listeners))},Gk=[];Af._withStripped=!0;var Ef=J(Wk,Af,Gk,!1,null,null,null,null);Ef.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/FamilyCompositionInput.vue";const If=Ef.exports,Yf=t=>Object.values(Fn).includes(t);class Zk{static render(e){const{AlimonyType:r,AnotherMonthlyExpenses:n,BenefitType:a,CarMonthlyContributionExpenses:i,CarMonthlyTaxAdditionExpenses:s,CarOwnershipType:c,DesiredDuration:f,DesiredRepayment:l,HouseSituation:o,IncomeSituation:d,IncomeType:h,IndependentYears:u,LoanAmount:m,LoanPurpose:v,MonthlyAlimonyAllowance:_,MonthlyCarRentalExpenses:p,MonthlyChildcareAllowance:y,MonthlyChildcareExpenses:w,MonthlyCurrentLoansExpenses:j,MonthlyHouseExpenses:q,MonthlyNetIncome:he,MonthlyStudentLoansExpenses:De,OwnedBuilding:Me,PartnerIncomeType:Pt,PartnerMonthlyNetIncome:G,Sorting:V,TemporaryWorkPhase:Zt,WorkedLastThreeYears:ft}=e.loanData,nm=e,{loanData:kr,filters:Xn,aanvragen:pP}=nm,uP=om(nm,["loanData","filters","aanvragen"]);return ln({loanData:{AlimonyType:r,AnotherMonthlyExpenses:n,BenefitType:a,CarMonthlyContributionExpenses:i,CarMonthlyTaxAdditionExpenses:s,CarOwnershipType:c,DesiredDuration:f,DesiredRepayment:l,HouseSituation:o,IncomeSituation:d,IncomeType:h,IndependentYears:u,LoanAmount:m,LoanPurpose:v,MonthlyAlimonyAllowance:_,MonthlyCarRentalExpenses:p,MonthlyChildcareAllowance:y,MonthlyChildcareExpenses:w,MonthlyCurrentLoansExpenses:j,MonthlyHouseExpenses:q,MonthlyNetIncome:he,MonthlyStudentLoansExpenses:De,OwnedBuilding:Me,PartnerIncomeType:Pt,PartnerMonthlyNetIncome:G,Sorting:V,TemporaryWorkPhase:Zt,WorkedLastThreeYears:ft}},uP)}}const Xk="192";function Jk(t){const e={CreationForm:"CreationForm",Aanvragen:"Aanvragen",Common:"Common"};let r=b.ref([]);const n={[e.CreationForm]:{title:"Oeps... er gaat iets mis!",refId:Xk,notes:[{text:"Kan geen comparison ID aanmaken voor geld lenen vergelijking"}],description:"Door een technische storing kunnen we op dit moment geen premies vergelijken. Laat je gegevens achter en we helpen je zo snel mogelijk telefonisch verder!"},[e.Aanvragen]:{description:"Er gaat iets niet helemaal goed. Je kunt op dit moment niet verder met je vergelijking of aanvraag. Vul je gegevens in en we gaan zo snel mogelijk contact met je opnemen om je verder te helpen."},[e.Common]:{description:"Momenteel kunnen we je lening online niet berekenen. Vul je gegevens in en we gaan zo snel mogelijk contact met je opnemen om je verder te helpen."}},a=(l="Common")=>{t("emit-event-hub",{event:"open-quotation-modal",data:f(l)})},i=l=>{const o=c(l);r.value.push(o)},s=()=>{r.value=[]},c=l=>({text:l}),f=l=>{const{title:o,refId:d,notes:h,description:u}=n[l];return{title:o,refId:d,notes:[...h||[],...r.value],description:u}};return{QuotationType:e,openQuotationModal:a,addNote:i,resetNotes:s,convertToNote:c,renderQuotationData:f}}let wl=b.ref(!1);const Nf=(t,e)=>{const{QuotationType:r,openQuotationModal:n,addNote:a,resetNotes:i}=Jk(e),s=b.computed(()=>Zk.render(t.comparison.getUser().getDetail())),c=b.computed(()=>t.formOrientation===Fn.Horizontal),f=_=>`${t.baseUrl}#/${_}`,l=_=>se(this,null,function*(){i();try{const p=yield Fe.comparisonService.create("loan",_);return yield Fe.comparisonService.update(p),p}catch(p){console.error(p),a(`
|
|
21
|
-
Leendoel: ${
|
|
22
|
-
Leenbedrag: ${
|
|
19
|
+
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var rd={};function nd(t,e){x.deprecationHandler!=null&&x.deprecationHandler(t,e),rd[t]||(td(e),rd[t]=!0)}x.suppressDeprecationWarnings=!1,x.deprecationHandler=null;function St(t){return typeof Function!="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function s0(t){var e,r;for(r in t)B(t,r)&&(e=t[r],St(e)?this[r]=e:this["_"+r]=e);this._config=t,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function qs(t,e){var r=Kt({},t),n;for(n in e)B(e,n)&&(vr(t[n])&&vr(e[n])?(r[n]={},Kt(r[n],t[n]),Kt(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)B(t,n)&&!B(e,n)&&vr(t[n])&&(r[n]=Kt({},r[n]));return r}function Vs(t){t!=null&&this.set(t)}var Us;Object.keys?Us=Object.keys:Us=function(t){var e,r=[];for(e in t)B(t,e)&&r.push(e);return r};var l0={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function u0(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return St(n)?n.call(e,r):n}function Ot(t,e,r){var n=""+Math.abs(t),a=e-n.length,i=t>=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var Ws=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,di=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Gs={},Er={};function j(t,e,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),t&&(Er[t]=a),e&&(Er[e[0]]=function(){return Ot(a.apply(this,arguments),e[1],e[2])}),r&&(Er[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function c0(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function d0(t){var e=t.match(Ws),r,n;for(r=0,n=e.length;r<n;r++)Er[e[r]]?e[r]=Er[e[r]]:e[r]=c0(e[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=St(e[s])?e[s].call(a,t):e[s];return i}}function fi(t,e){return t.isValid()?(e=ad(e,t.localeData()),Gs[e]=Gs[e]||d0(e),Gs[e](t)):t.localeData().invalidDate()}function ad(t,e){var r=5;function n(a){return e.longDateFormat(a)||a}for(di.lastIndex=0;r>=0&&di.test(t);)t=t.replace(di,n),di.lastIndex=0,r-=1;return t}var f0={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function h0(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(Ws).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var p0="Invalid date";function m0(){return this._invalidDate}var v0="%d",_0=/\d{1,2}/;function y0(t){return this._ordinal.replace("%d",t)}var g0={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function b0(t,e,r,n){var a=this._relativeTime[r];return St(a)?a(t,e,r,n):a.replace(/%d/i,t)}function w0(t,e){var r=this._relativeTime[t>0?"future":"past"];return St(r)?r(e):r.replace(/%s/i,e)}var id={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function Xe(t){return typeof t=="string"?id[t]||id[t.toLowerCase()]:void 0}function Zs(t){var e={},r,n;for(n in t)B(t,n)&&(r=Xe(n),r&&(e[r]=t[n]));return e}var S0={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function O0(t){var e=[],r;for(r in t)B(t,r)&&e.push({unit:r,priority:S0[r]});return e.sort(function(n,a){return n.priority-a.priority}),e}var od=/\d/,Le=/\d\d/,sd=/\d{3}/,Xs=/\d{4}/,hi=/[+-]?\d{6}/,te=/\d\d?/,ld=/\d\d\d\d?/,ud=/\d\d\d\d\d\d?/,pi=/\d{1,3}/,Js=/\d{1,4}/,mi=/[+-]?\d{1,6}/,Ir=/\d+/,vi=/[+-]?\d+/,k0=/Z|[+-]\d\d:?\d\d/gi,_i=/Z|[+-]\d\d(?::?\d\d)?/gi,C0=/[+-]?\d+(\.\d{1,3})?/,Cn=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Yr=/^[1-9]\d?/,Qs=/^([1-9]\d|\d)/,yi;yi={};function P(t,e,r){yi[t]=St(e)?e:function(n,a){return n&&r?r:e}}function x0(t,e){return B(yi,t)?yi[t](e._strict,e._locale):new RegExp(M0(t))}function M0(t){return Lt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,a,i){return r||n||a||i}))}function Lt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Je(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function A(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=Je(e)),r}var Ks={};function W(t,e){var r,n=e,a;for(typeof t=="string"&&(t=[t]),Nt(e)&&(n=function(i,s){s[e]=A(i)}),a=t.length,r=0;r<a;r++)Ks[t[r]]=n}function xn(t,e){W(t,function(r,n,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function P0(t,e,r){e!=null&&B(Ks,t)&&Ks[t](e,r._a,r,t)}function gi(t){return t%4===0&&t%100!==0||t%400===0}var xe=0,Bt=1,kt=2,ve=3,ot=4,Ht=5,_r=6,R0=7,D0=8;j("Y",0,0,function(){var t=this.year();return t<=9999?Ot(t,4):"+"+t}),j(0,["YY",2],0,function(){return this.year()%100}),j(0,["YYYY",4],0,"year"),j(0,["YYYYY",5],0,"year"),j(0,["YYYYYY",6,!0],0,"year"),P("Y",vi),P("YY",te,Le),P("YYYY",Js,Xs),P("YYYYY",mi,hi),P("YYYYYY",mi,hi),W(["YYYYY","YYYYYY"],xe),W("YYYY",function(t,e){e[xe]=t.length===2?x.parseTwoDigitYear(t):A(t)}),W("YY",function(t,e){e[xe]=x.parseTwoDigitYear(t)}),W("Y",function(t,e){e[xe]=parseInt(t,10)});function Mn(t){return gi(t)?366:365}x.parseTwoDigitYear=function(t){return A(t)+(A(t)>68?1900:2e3)};var cd=Nr("FullYear",!0);function j0(){return gi(this.year())}function Nr(t,e){return function(r){return r!=null?(dd(this,t,r),x.updateOffset(this,e),this):Pn(this,t)}}function Pn(t,e){if(!t.isValid())return NaN;var r=t._d,n=t._isUTC;switch(e){case"Milliseconds":return n?r.getUTCMilliseconds():r.getMilliseconds();case"Seconds":return n?r.getUTCSeconds():r.getSeconds();case"Minutes":return n?r.getUTCMinutes():r.getMinutes();case"Hours":return n?r.getUTCHours():r.getHours();case"Date":return n?r.getUTCDate():r.getDate();case"Day":return n?r.getUTCDay():r.getDay();case"Month":return n?r.getUTCMonth():r.getMonth();case"FullYear":return n?r.getUTCFullYear():r.getFullYear();default:return NaN}}function dd(t,e,r){var n,a,i,s,c;if(!(!t.isValid()||isNaN(r))){switch(n=t._d,a=t._isUTC,e){case"Milliseconds":return void(a?n.setUTCMilliseconds(r):n.setMilliseconds(r));case"Seconds":return void(a?n.setUTCSeconds(r):n.setSeconds(r));case"Minutes":return void(a?n.setUTCMinutes(r):n.setMinutes(r));case"Hours":return void(a?n.setUTCHours(r):n.setHours(r));case"Date":return void(a?n.setUTCDate(r):n.setDate(r));case"FullYear":break;default:return}i=r,s=t.month(),c=t.date(),c=c===29&&s===1&&!gi(i)?28:c,a?n.setUTCFullYear(i,s,c):n.setFullYear(i,s,c)}}function $0(t){return t=Xe(t),St(this[t])?this[t]():this}function T0(t,e){if(typeof t=="object"){t=Zs(t);var r=O0(t),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](t[r[n].unit])}else if(t=Xe(t),St(this[t]))return this[t](e);return this}function F0(t,e){return(t%e+e)%e}var ue;Array.prototype.indexOf?ue=Array.prototype.indexOf:ue=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function el(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=F0(e,12);return t+=(e-r)/12,r===1?gi(t)?29:28:31-r%7%2}j("M",["MM",2],"Mo",function(){return this.month()+1}),j("MMM",0,0,function(t){return this.localeData().monthsShort(this,t)}),j("MMMM",0,0,function(t){return this.localeData().months(this,t)}),P("M",te,Yr),P("MM",te,Le),P("MMM",function(t,e){return e.monthsShortRegex(t)}),P("MMMM",function(t,e){return e.monthsRegex(t)}),W(["M","MM"],function(t,e){e[Bt]=A(t)-1}),W(["MMM","MMMM"],function(t,e,r,n){var a=r._locale.monthsParse(t,n,r._strict);a!=null?e[Bt]=a:T(r).invalidMonth=t});var A0="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),fd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),hd=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,E0=Cn,I0=Cn;function Y0(t,e){return t?at(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||hd).test(e)?"format":"standalone"][t.month()]:at(this._months)?this._months:this._months.standalone}function N0(t,e){return t?at(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[hd.test(e)?"format":"standalone"][t.month()]:at(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function L0(t,e,r){var n,a,i,s=t.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)i=wt([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=ue.call(this._shortMonthsParse,s),a!==-1?a:null):(a=ue.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=ue.call(this._shortMonthsParse,s),a!==-1?a:(a=ue.call(this._longMonthsParse,s),a!==-1?a:null)):(a=ue.call(this._longMonthsParse,s),a!==-1?a:(a=ue.call(this._shortMonthsParse,s),a!==-1?a:null))}function B0(t,e,r){var n,a,i;if(this._monthsParseExact)return L0.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=wt([2e3,n]),r&&!this._longMonthsParse[n]&&(this._longMonthsParse[n]=new RegExp("^"+this.months(a,"").replace(".","")+"$","i"),this._shortMonthsParse[n]=new RegExp("^"+this.monthsShort(a,"").replace(".","")+"$","i")),!r&&!this._monthsParse[n]&&(i="^"+this.months(a,"")+"|^"+this.monthsShort(a,""),this._monthsParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="MMMM"&&this._longMonthsParse[n].test(t))return n;if(r&&e==="MMM"&&this._shortMonthsParse[n].test(t))return n;if(!r&&this._monthsParse[n].test(t))return n}}function pd(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=A(e);else if(e=t.localeData().monthsParse(e),!Nt(e))return t}var r=e,n=t.date();return n=n<29?n:Math.min(n,el(t.year(),r)),t._isUTC?t._d.setUTCMonth(r,n):t._d.setMonth(r,n),t}function md(t){return t!=null?(pd(this,t),x.updateOffset(this,!0),this):Pn(this,"Month")}function H0(){return el(this.year(),this.month())}function z0(t){return this._monthsParseExact?(B(this,"_monthsRegex")||vd.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(B(this,"_monthsShortRegex")||(this._monthsShortRegex=E0),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function q0(t){return this._monthsParseExact?(B(this,"_monthsRegex")||vd.call(this),t?this._monthsStrictRegex:this._monthsRegex):(B(this,"_monthsRegex")||(this._monthsRegex=I0),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function vd(){function t(f,l){return l.length-f.length}var e=[],r=[],n=[],a,i,s,c;for(a=0;a<12;a++)i=wt([2e3,a]),s=Lt(this.monthsShort(i,"")),c=Lt(this.months(i,"")),e.push(s),r.push(c),n.push(c),n.push(s);e.sort(t),r.sort(t),n.sort(t),this._monthsRegex=new RegExp("^("+n.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+e.join("|")+")","i")}function V0(t,e,r,n,a,i,s){var c;return t<100&&t>=0?(c=new Date(t+400,e,r,n,a,i,s),isFinite(c.getFullYear())&&c.setFullYear(t)):c=new Date(t,e,r,n,a,i,s),c}function Rn(t){var e,r;return t<100&&t>=0?(r=Array.prototype.slice.call(arguments),r[0]=t+400,e=new Date(Date.UTC.apply(null,r)),isFinite(e.getUTCFullYear())&&e.setUTCFullYear(t)):e=new Date(Date.UTC.apply(null,arguments)),e}function bi(t,e,r){var n=7+e-r,a=(7+Rn(t,0,n).getUTCDay()-e)%7;return-a+n-1}function _d(t,e,r,n,a){var i=(7+r-n)%7,s=bi(t,n,a),c=1+7*(e-1)+i+s,f,l;return c<=0?(f=t-1,l=Mn(f)+c):c>Mn(t)?(f=t+1,l=c-Mn(t)):(f=t,l=c),{year:f,dayOfYear:l}}function Dn(t,e,r){var n=bi(t.year(),e,r),a=Math.floor((t.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+zt(s,e,r)):a>zt(t.year(),e,r)?(i=a-zt(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function zt(t,e,r){var n=bi(t,e,r),a=bi(t+1,e,r);return(Mn(t)-n+a)/7}j("w",["ww",2],"wo","week"),j("W",["WW",2],"Wo","isoWeek"),P("w",te,Yr),P("ww",te,Le),P("W",te,Yr),P("WW",te,Le),xn(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=A(t)});function U0(t){return Dn(t,this._week.dow,this._week.doy).week}var W0={dow:0,doy:6};function G0(){return this._week.dow}function Z0(){return this._week.doy}function X0(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function J0(t){var e=Dn(this,1,4).week;return t==null?e:this.add((t-e)*7,"d")}j("d",0,"do","day"),j("dd",0,0,function(t){return this.localeData().weekdaysMin(this,t)}),j("ddd",0,0,function(t){return this.localeData().weekdaysShort(this,t)}),j("dddd",0,0,function(t){return this.localeData().weekdays(this,t)}),j("e",0,0,"weekday"),j("E",0,0,"isoWeekday"),P("d",te),P("e",te),P("E",te),P("dd",function(t,e){return e.weekdaysMinRegex(t)}),P("ddd",function(t,e){return e.weekdaysShortRegex(t)}),P("dddd",function(t,e){return e.weekdaysRegex(t)}),xn(["dd","ddd","dddd"],function(t,e,r,n){var a=r._locale.weekdaysParse(t,n,r._strict);a!=null?e.d=a:T(r).invalidWeekday=t}),xn(["d","e","E"],function(t,e,r,n){e[n]=A(t)});function Q0(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function K0(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function tl(t,e){return t.slice(e,7).concat(t.slice(0,e))}var e1="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),yd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),t1="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),r1=Cn,n1=Cn,a1=Cn;function i1(t,e){var r=at(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?tl(r,this._week.dow):t?r[t.day()]:r}function o1(t){return t===!0?tl(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function s1(t){return t===!0?tl(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function l1(t,e,r){var n,a,i,s=t.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=wt([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?e==="dddd"?(a=ue.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=ue.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=ue.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=ue.call(this._weekdaysParse,s),a!==-1||(a=ue.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=ue.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=ue.call(this._shortWeekdaysParse,s),a!==-1||(a=ue.call(this._weekdaysParse,s),a!==-1)?a:(a=ue.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=ue.call(this._minWeekdaysParse,s),a!==-1||(a=ue.call(this._weekdaysParse,s),a!==-1)?a:(a=ue.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function u1(t,e,r){var n,a,i;if(this._weekdaysParseExact)return l1.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=wt([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&e==="dddd"&&this._fullWeekdaysParse[n].test(t))return n;if(r&&e==="ddd"&&this._shortWeekdaysParse[n].test(t))return n;if(r&&e==="dd"&&this._minWeekdaysParse[n].test(t))return n;if(!r&&this._weekdaysParse[n].test(t))return n}}function c1(t){if(!this.isValid())return t!=null?this:NaN;var e=Pn(this,"Day");return t!=null?(t=Q0(t,this.localeData()),this.add(t-e,"d")):e}function d1(t){if(!this.isValid())return t!=null?this:NaN;var e=(this.day()+7-this.localeData()._week.dow)%7;return t==null?e:this.add(t-e,"d")}function f1(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=K0(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function h1(t){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||rl.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(B(this,"_weekdaysRegex")||(this._weekdaysRegex=r1),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function p1(t){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||rl.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(B(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=n1),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function m1(t){return this._weekdaysParseExact?(B(this,"_weekdaysRegex")||rl.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(B(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=a1),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function rl(){function t(o,d){return d.length-o.length}var e=[],r=[],n=[],a=[],i,s,c,f,l;for(i=0;i<7;i++)s=wt([2e3,1]).day(i),c=Lt(this.weekdaysMin(s,"")),f=Lt(this.weekdaysShort(s,"")),l=Lt(this.weekdays(s,"")),e.push(c),r.push(f),n.push(l),a.push(c),a.push(f),a.push(l);e.sort(t),r.sort(t),n.sort(t),a.sort(t),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+e.join("|")+")","i")}function nl(){return this.hours()%12||12}function v1(){return this.hours()||24}j("H",["HH",2],0,"hour"),j("h",["hh",2],0,nl),j("k",["kk",2],0,v1),j("hmm",0,0,function(){return""+nl.apply(this)+Ot(this.minutes(),2)}),j("hmmss",0,0,function(){return""+nl.apply(this)+Ot(this.minutes(),2)+Ot(this.seconds(),2)}),j("Hmm",0,0,function(){return""+this.hours()+Ot(this.minutes(),2)}),j("Hmmss",0,0,function(){return""+this.hours()+Ot(this.minutes(),2)+Ot(this.seconds(),2)});function gd(t,e){j(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}gd("a",!0),gd("A",!1);function bd(t,e){return e._meridiemParse}P("a",bd),P("A",bd),P("H",te,Qs),P("h",te,Yr),P("k",te,Yr),P("HH",te,Le),P("hh",te,Le),P("kk",te,Le),P("hmm",ld),P("hmmss",ud),P("Hmm",ld),P("Hmmss",ud),W(["H","HH"],ve),W(["k","kk"],function(t,e,r){var n=A(t);e[ve]=n===24?0:n}),W(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t}),W(["h","hh"],function(t,e,r){e[ve]=A(t),T(r).bigHour=!0}),W("hmm",function(t,e,r){var n=t.length-2;e[ve]=A(t.substr(0,n)),e[ot]=A(t.substr(n)),T(r).bigHour=!0}),W("hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[ve]=A(t.substr(0,n)),e[ot]=A(t.substr(n,2)),e[Ht]=A(t.substr(a)),T(r).bigHour=!0}),W("Hmm",function(t,e,r){var n=t.length-2;e[ve]=A(t.substr(0,n)),e[ot]=A(t.substr(n))}),W("Hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[ve]=A(t.substr(0,n)),e[ot]=A(t.substr(n,2)),e[Ht]=A(t.substr(a))});function _1(t){return(t+"").toLowerCase().charAt(0)==="p"}var y1=/[ap]\.?m?\.?/i,g1=Nr("Hours",!0);function b1(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var wd={calendar:l0,longDateFormat:f0,invalidDate:p0,ordinal:v0,dayOfMonthOrdinalParse:_0,relativeTime:g0,months:A0,monthsShort:fd,week:W0,weekdays:e1,weekdaysMin:t1,weekdaysShort:yd,meridiemParse:y1},ie={},jn={},$n;function w1(t,e){var r,n=Math.min(t.length,e.length);for(r=0;r<n;r+=1)if(t[r]!==e[r])return r;return n}function Sd(t){return t&&t.toLowerCase().replace("_","-")}function S1(t){for(var e=0,r,n,a,i;e<t.length;){for(i=Sd(t[e]).split("-"),r=i.length,n=Sd(t[e+1]),n=n?n.split("-"):null;r>0;){if(a=wi(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&w1(i,n)>=r-1)break;r--}e++}return $n}function O1(t){return!!(t&&t.match("^[^/\\\\]*$"))}function wi(t){var e=null,r;if(ie[t]===void 0&&typeof module!="undefined"&&module&&module.exports&&O1(t))try{e=$n._abbr,r=require,r("./locale/"+t),er(e)}catch(n){ie[t]=null}return ie[t]}function er(t,e){var r;return t&&(Te(e)?r=qt(t):r=al(t,e),r?$n=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),$n._abbr}function al(t,e){if(e!==null){var r,n=wd;if(e.abbr=t,ie[t]!=null)nd("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=ie[t]._config;else if(e.parentLocale!=null)if(ie[e.parentLocale]!=null)n=ie[e.parentLocale]._config;else if(r=wi(e.parentLocale),r!=null)n=r._config;else return jn[e.parentLocale]||(jn[e.parentLocale]=[]),jn[e.parentLocale].push({name:t,config:e}),null;return ie[t]=new Vs(qs(n,e)),jn[t]&&jn[t].forEach(function(a){al(a.name,a.config)}),er(t),ie[t]}else return delete ie[t],null}function k1(t,e){if(e!=null){var r,n,a=wd;ie[t]!=null&&ie[t].parentLocale!=null?ie[t].set(qs(ie[t]._config,e)):(n=wi(t),n!=null&&(a=n._config),e=qs(a,e),n==null&&(e.abbr=t),r=new Vs(e),r.parentLocale=ie[t],ie[t]=r),er(t)}else ie[t]!=null&&(ie[t].parentLocale!=null?(ie[t]=ie[t].parentLocale,t===er()&&er(t)):ie[t]!=null&&delete ie[t]);return ie[t]}function qt(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return $n;if(!at(t)){if(e=wi(t),e)return e;t=[t]}return S1(t)}function C1(){return Us(ie)}function il(t){var e,r=t._a;return r&&T(t).overflow===-2&&(e=r[Bt]<0||r[Bt]>11?Bt:r[kt]<1||r[kt]>el(r[xe],r[Bt])?kt:r[ve]<0||r[ve]>24||r[ve]===24&&(r[ot]!==0||r[Ht]!==0||r[_r]!==0)?ve:r[ot]<0||r[ot]>59?ot:r[Ht]<0||r[Ht]>59?Ht:r[_r]<0||r[_r]>999?_r:-1,T(t)._overflowDayOfYear&&(e<xe||e>kt)&&(e=kt),T(t)._overflowWeeks&&e===-1&&(e=R0),T(t)._overflowWeekday&&e===-1&&(e=D0),T(t).overflow=e),t}var x1=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,M1=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,P1=/Z|[+-]\d\d(?::?\d\d)?/,Si=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],ol=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],R1=/^\/?Date\((-?\d+)/i,D1=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,j1={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function Od(t){var e,r,n=t._i,a=x1.exec(n)||M1.exec(n),i,s,c,f,l=Si.length,o=ol.length;if(a){for(T(t).iso=!0,e=0,r=l;e<r;e++)if(Si[e][1].exec(a[1])){s=Si[e][0],i=Si[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=o;e<r;e++)if(ol[e][1].exec(a[3])){c=(a[2]||" ")+ol[e][0];break}if(c==null){t._isValid=!1;return}}if(!i&&c!=null){t._isValid=!1;return}if(a[4])if(P1.exec(a[4]))f="Z";else{t._isValid=!1;return}t._f=s+(c||"")+(f||""),ll(t)}else t._isValid=!1}function $1(t,e,r,n,a,i){var s=[T1(t),fd.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function T1(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function F1(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function A1(t,e,r){if(t){var n=yd.indexOf(t),a=new Date(e[0],e[1],e[2]).getDay();if(n!==a)return T(r).weekdayMismatch=!0,r._isValid=!1,!1}return!0}function E1(t,e,r){if(t)return j1[t];if(e)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function kd(t){var e=D1.exec(F1(t._i)),r;if(e){if(r=$1(e[4],e[3],e[2],e[5],e[6],e[7]),!A1(e[1],r,t))return;t._a=r,t._tzm=E1(e[8],e[9],e[10]),t._d=Rn.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),T(t).rfc2822=!0}else t._isValid=!1}function I1(t){var e=R1.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Od(t),t._isValid===!1)delete t._isValid;else return;if(kd(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:x.createFromInputFallback(t)}x.createFromInputFallback=Ze("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(t){t._d=new Date(t._i+(t._useUTC?" UTC":""))});function Lr(t,e,r){return t!=null?t:e!=null?e:r}function Y1(t){var e=new Date(x.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function sl(t){var e,r,n=[],a,i,s;if(!t._d){for(a=Y1(t),t._w&&t._a[kt]==null&&t._a[Bt]==null&&N1(t),t._dayOfYear!=null&&(s=Lr(t._a[xe],a[xe]),(t._dayOfYear>Mn(s)||t._dayOfYear===0)&&(T(t)._overflowDayOfYear=!0),r=Rn(s,0,t._dayOfYear),t._a[Bt]=r.getUTCMonth(),t._a[kt]=r.getUTCDate()),e=0;e<3&&t._a[e]==null;++e)t._a[e]=n[e]=a[e];for(;e<7;e++)t._a[e]=n[e]=t._a[e]==null?e===2?1:0:t._a[e];t._a[ve]===24&&t._a[ot]===0&&t._a[Ht]===0&&t._a[_r]===0&&(t._nextDay=!0,t._a[ve]=0),t._d=(t._useUTC?Rn:V0).apply(null,n),i=t._useUTC?t._d.getUTCDay():t._d.getDay(),t._tzm!=null&&t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),t._nextDay&&(t._a[ve]=24),t._w&&typeof t._w.d!="undefined"&&t._w.d!==i&&(T(t).weekdayMismatch=!0)}}function N1(t){var e,r,n,a,i,s,c,f,l;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=Lr(e.GG,t._a[xe],Dn(re(),1,4).year),n=Lr(e.W,1),a=Lr(e.E,1),(a<1||a>7)&&(f=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,l=Dn(re(),i,s),r=Lr(e.gg,t._a[xe],l.year),n=Lr(e.w,l.week),e.d!=null?(a=e.d,(a<0||a>6)&&(f=!0)):e.e!=null?(a=e.e+i,(e.e<0||e.e>6)&&(f=!0)):a=i),n<1||n>zt(r,i,s)?T(t)._overflowWeeks=!0:f!=null?T(t)._overflowWeekday=!0:(c=_d(r,n,a,i,s),t._a[xe]=c.year,t._dayOfYear=c.dayOfYear)}x.ISO_8601=function(){},x.RFC_2822=function(){};function ll(t){if(t._f===x.ISO_8601){Od(t);return}if(t._f===x.RFC_2822){kd(t);return}t._a=[],T(t).empty=!0;var e=""+t._i,r,n,a,i,s,c=e.length,f=0,l,o;for(a=ad(t._f,t._locale).match(Ws)||[],o=a.length,r=0;r<o;r++)i=a[r],n=(e.match(x0(i,t))||[])[0],n&&(s=e.substr(0,e.indexOf(n)),s.length>0&&T(t).unusedInput.push(s),e=e.slice(e.indexOf(n)+n.length),f+=n.length),Er[i]?(n?T(t).empty=!1:T(t).unusedTokens.push(i),P0(i,n,t)):t._strict&&!n&&T(t).unusedTokens.push(i);T(t).charsLeftOver=c-f,e.length>0&&T(t).unusedInput.push(e),t._a[ve]<=12&&T(t).bigHour===!0&&t._a[ve]>0&&(T(t).bigHour=void 0),T(t).parsedDateParts=t._a.slice(0),T(t).meridiem=t._meridiem,t._a[ve]=L1(t._locale,t._a[ve],t._meridiem),l=T(t).era,l!==null&&(t._a[xe]=t._locale.erasConvertYear(l,t._a[xe])),sl(t),il(t)}function L1(t,e,r){var n;return r==null?e:t.meridiemHour!=null?t.meridiemHour(e,r):(t.isPM!=null&&(n=t.isPM(r),n&&e<12&&(e+=12),!n&&e===12&&(e=0)),e)}function B1(t){var e,r,n,a,i,s,c=!1,f=t._f.length;if(f===0){T(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<f;a++)i=0,s=!1,e=zs({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],ll(e),Bs(e)&&(s=!0),i+=T(e).charsLeftOver,i+=T(e).unusedTokens.length*10,T(e).score=i,c?i<n&&(n=i,r=e):(n==null||i<n||s)&&(n=i,r=e,s&&(c=!0));Kt(t,r||e)}function H1(t){if(!t._d){var e=Zs(t._i),r=e.day===void 0?e.date:e.day;t._a=Kc([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),sl(t)}}function z1(t){var e=new kn(il(Cd(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Cd(t){var e=t._i,r=t._f;return t._locale=t._locale||qt(t._l),e===null||r===void 0&&e===""?ci({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),it(e)?new kn(il(e)):(On(e)?t._d=e:at(r)?B1(t):r?ll(t):q1(t),Bs(t)||(t._d=null),t))}function q1(t){var e=t._i;Te(e)?t._d=new Date(x.now()):On(e)?t._d=new Date(e.valueOf()):typeof e=="string"?I1(t):at(e)?(t._a=Kc(e.slice(0),function(r){return parseInt(r,10)}),sl(t)):vr(e)?H1(t):Nt(e)?t._d=new Date(e):x.createFromInputFallback(t)}function xd(t,e,r,n,a){var i={};return(e===!0||e===!1)&&(n=e,e=void 0),(r===!0||r===!1)&&(n=r,r=void 0),(vr(t)&&Ns(t)||at(t)&&t.length===0)&&(t=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=a,i._l=r,i._i=t,i._f=e,i._strict=n,z1(i)}function re(t,e,r,n){return xd(t,e,r,n,!1)}var V1=Ze("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=re.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:ci()}),U1=Ze("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=re.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:ci()});function Md(t,e){var r,n;if(e.length===1&&at(e[0])&&(e=e[0]),!e.length)return re();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function W1(){var t=[].slice.call(arguments,0);return Md("isBefore",t)}function G1(){var t=[].slice.call(arguments,0);return Md("isAfter",t)}var Z1=function(){return Date.now?Date.now():+new Date},Tn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function X1(t){var e,r=!1,n,a=Tn.length;for(e in t)if(B(t,e)&&!(ue.call(Tn,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<a;++n)if(t[Tn[n]]){if(r)return!1;parseFloat(t[Tn[n]])!==A(t[Tn[n]])&&(r=!0)}return!0}function J1(){return this._isValid}function Q1(){return st(NaN)}function Oi(t){var e=Zs(t),r=e.year||0,n=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,c=e.hour||0,f=e.minute||0,l=e.second||0,o=e.millisecond||0;this._isValid=X1(e),this._milliseconds=+o+l*1e3+f*6e4+c*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=qt(),this._bubble()}function ki(t){return t instanceof Oi}function ul(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function K1(t,e,r){var n=Math.min(t.length,e.length),a=Math.abs(t.length-e.length),i=0,s;for(s=0;s<n;s++)(r&&t[s]!==e[s]||!r&&A(t[s])!==A(e[s]))&&i++;return i+a}function Pd(t,e){j(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+Ot(~~(r/60),2)+e+Ot(~~r%60,2)})}Pd("Z",":"),Pd("ZZ",""),P("Z",_i),P("ZZ",_i),W(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=cl(_i,t)});var eS=/([\+\-]|\d\d)/gi;function cl(t,e){var r=(e||"").match(t),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(eS)||["-",0,0],i=+(a[1]*60)+A(a[2]),i===0?0:a[0]==="+"?i:-i)}function dl(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(it(t)||On(t)?t.valueOf():re(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),x.updateOffset(r,!1),r):re(t).local()}function fl(t){return-Math.round(t._d.getTimezoneOffset())}x.updateOffset=function(){};function tS(t,e,r){var n=this._offset||0,a;if(!this.isValid())return t!=null?this:NaN;if(t!=null){if(typeof t=="string"){if(t=cl(_i,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=fl(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==t&&(!e||this._changeInProgress?$d(this,st(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,x.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:fl(this)}function rS(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function nS(t){return this.utcOffset(0,t)}function aS(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(fl(this),"m")),this}function iS(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=cl(k0,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function oS(t){return this.isValid()?(t=t?re(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function sS(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function lS(){if(!Te(this._isDSTShifted))return this._isDSTShifted;var t={},e;return zs(t,this),t=Cd(t),t._a?(e=t._isUTC?wt(t._a):re(t._a),this._isDSTShifted=this.isValid()&&K1(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function uS(){return this.isValid()?!this._isUTC:!1}function cS(){return this.isValid()?this._isUTC:!1}function Rd(){return this.isValid()?this._isUTC&&this._offset===0:!1}var dS=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,fS=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function st(t,e){var r=t,n=null,a,i,s;return ki(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:Nt(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=dS.exec(t))?(a=n[1]==="-"?-1:1,r={y:0,d:A(n[kt])*a,h:A(n[ve])*a,m:A(n[ot])*a,s:A(n[Ht])*a,ms:A(ul(n[_r]*1e3))*a}):(n=fS.exec(t))?(a=n[1]==="-"?-1:1,r={y:yr(n[2],a),M:yr(n[3],a),w:yr(n[4],a),d:yr(n[5],a),h:yr(n[6],a),m:yr(n[7],a),s:yr(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=hS(re(r.from),re(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new Oi(r),ki(t)&&B(t,"_locale")&&(i._locale=t._locale),ki(t)&&B(t,"_isValid")&&(i._isValid=t._isValid),i}st.fn=Oi.prototype,st.invalid=Q1;function yr(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function Dd(t,e){var r={};return r.months=e.month()-t.month()+(e.year()-t.year())*12,t.clone().add(r.months,"M").isAfter(e)&&--r.months,r.milliseconds=+e-+t.clone().add(r.months,"M"),r}function hS(t,e){var r;return t.isValid()&&e.isValid()?(e=dl(e,t),t.isBefore(e)?r=Dd(t,e):(r=Dd(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function jd(t,e){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(nd(e,"moment()."+e+"(period, number) is deprecated. Please use moment()."+e+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=st(r,n),$d(this,a,t),this}}function $d(t,e,r,n){var a=e._milliseconds,i=ul(e._days),s=ul(e._months);t.isValid()&&(n=n==null?!0:n,s&&pd(t,Pn(t,"Month")+s*r),i&&dd(t,"Date",Pn(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),n&&x.updateOffset(t,i||s))}var pS=jd(1,"add"),mS=jd(-1,"subtract");function Td(t){return typeof t=="string"||t instanceof String}function vS(t){return it(t)||On(t)||Td(t)||Nt(t)||yS(t)||_S(t)||t===null||t===void 0}function _S(t){var e=vr(t)&&!Ns(t),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,s=n.length;for(a=0;a<s;a+=1)i=n[a],r=r||B(t,i);return e&&r}function yS(t){var e=at(t),r=!1;return e&&(r=t.filter(function(n){return!Nt(n)&&Td(t)}).length===0),e&&r}function gS(t){var e=vr(t)&&!Ns(t),r=!1,n=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"],a,i;for(a=0;a<n.length;a+=1)i=n[a],r=r||B(t,i);return e&&r}function bS(t,e){var r=t.diff(e,"days",!0);return r<-6?"sameElse":r<-1?"lastWeek":r<0?"lastDay":r<1?"sameDay":r<2?"nextDay":r<7?"nextWeek":"sameElse"}function wS(t,e){arguments.length===1&&(arguments[0]?vS(arguments[0])?(t=arguments[0],e=void 0):gS(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||re(),n=dl(r,this).startOf("day"),a=x.calendarFormat(this,n)||"sameElse",i=e&&(St(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,re(r)))}function SS(){return new kn(this)}function OS(t,e){var r=it(t)?t:re(t);return this.isValid()&&r.isValid()?(e=Xe(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function kS(t,e){var r=it(t)?t:re(t);return this.isValid()&&r.isValid()?(e=Xe(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function CS(t,e,r,n){var a=it(t)?t:re(t),i=it(e)?e:re(e);return this.isValid()&&a.isValid()&&i.isValid()?(n=n||"()",(n[0]==="("?this.isAfter(a,r):!this.isBefore(a,r))&&(n[1]===")"?this.isBefore(i,r):!this.isAfter(i,r))):!1}function xS(t,e){var r=it(t)?t:re(t),n;return this.isValid()&&r.isValid()?(e=Xe(e)||"millisecond",e==="millisecond"?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(e).valueOf()<=n&&n<=this.clone().endOf(e).valueOf())):!1}function MS(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function PS(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function RS(t,e,r){var n,a,i;if(!this.isValid())return NaN;if(n=dl(t,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,e=Xe(e),e){case"year":i=Ci(this,n)/12;break;case"month":i=Ci(this,n);break;case"quarter":i=Ci(this,n)/3;break;case"second":i=(this-n)/1e3;break;case"minute":i=(this-n)/6e4;break;case"hour":i=(this-n)/36e5;break;case"day":i=(this-n-a)/864e5;break;case"week":i=(this-n-a)/6048e5;break;default:i=this-n}return r?i:Je(i)}function Ci(t,e){if(t.date()<e.date())return-Ci(e,t);var r=(e.year()-t.year())*12+(e.month()-t.month()),n=t.clone().add(r,"months"),a,i;return e-n<0?(a=t.clone().add(r-1,"months"),i=(e-n)/(n-a)):(a=t.clone().add(r+1,"months"),i=(e-n)/(a-n)),-(r+i)||0}x.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",x.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function DS(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function jS(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?fi(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):St(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",fi(r,"Z")):fi(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function $S(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var t="moment",e="",r,n,a,i;return this.isLocal()||(t=this.utcOffset()===0?"moment.utc":"moment.parseZone",e="Z"),r="["+t+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=e+'[")]',this.format(r+n+a+i)}function TS(t){t||(t=this.isUtc()?x.defaultFormatUtc:x.defaultFormat);var e=fi(this,t);return this.localeData().postformat(e)}function FS(t,e){return this.isValid()&&(it(t)&&t.isValid()||re(t).isValid())?st({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function AS(t){return this.from(re(),t)}function ES(t,e){return this.isValid()&&(it(t)&&t.isValid()||re(t).isValid())?st({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function IS(t){return this.to(re(),t)}function Fd(t){var e;return t===void 0?this._locale._abbr:(e=qt(t),e!=null&&(this._locale=e),this)}var Ad=Ze("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(t){return t===void 0?this.localeData():this.locale(t)});function Ed(){return this._locale}var xi=1e3,Br=60*xi,Mi=60*Br,Id=(365*400+97)*24*Mi;function Hr(t,e){return(t%e+e)%e}function Yd(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-Id:new Date(t,e,r).valueOf()}function Nd(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-Id:Date.UTC(t,e,r)}function YS(t){var e,r;if(t=Xe(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Nd:Yd,t){case"year":e=r(this.year(),0,1);break;case"quarter":e=r(this.year(),this.month()-this.month()%3,1);break;case"month":e=r(this.year(),this.month(),1);break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":e=r(this.year(),this.month(),this.date());break;case"hour":e=this._d.valueOf(),e-=Hr(e+(this._isUTC?0:this.utcOffset()*Br),Mi);break;case"minute":e=this._d.valueOf(),e-=Hr(e,Br);break;case"second":e=this._d.valueOf(),e-=Hr(e,xi);break}return this._d.setTime(e),x.updateOffset(this,!0),this}function NS(t){var e,r;if(t=Xe(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?Nd:Yd,t){case"year":e=r(this.year()+1,0,1)-1;break;case"quarter":e=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":e=r(this.year(),this.month()+1,1)-1;break;case"week":e=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":e=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":e=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":e=this._d.valueOf(),e+=Mi-Hr(e+(this._isUTC?0:this.utcOffset()*Br),Mi)-1;break;case"minute":e=this._d.valueOf(),e+=Br-Hr(e,Br)-1;break;case"second":e=this._d.valueOf(),e+=xi-Hr(e,xi)-1;break}return this._d.setTime(e),x.updateOffset(this,!0),this}function LS(){return this._d.valueOf()-(this._offset||0)*6e4}function BS(){return Math.floor(this.valueOf()/1e3)}function HS(){return new Date(this.valueOf())}function zS(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function qS(){var t=this;return{years:t.year(),months:t.month(),date:t.date(),hours:t.hours(),minutes:t.minutes(),seconds:t.seconds(),milliseconds:t.milliseconds()}}function VS(){return this.isValid()?this.toISOString():null}function US(){return Bs(this)}function WS(){return Kt({},T(this))}function GS(){return T(this).overflow}function ZS(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}j("N",0,0,"eraAbbr"),j("NN",0,0,"eraAbbr"),j("NNN",0,0,"eraAbbr"),j("NNNN",0,0,"eraName"),j("NNNNN",0,0,"eraNarrow"),j("y",["y",1],"yo","eraYear"),j("y",["yy",2],0,"eraYear"),j("y",["yyy",3],0,"eraYear"),j("y",["yyyy",4],0,"eraYear"),P("N",hl),P("NN",hl),P("NNN",hl),P("NNNN",oO),P("NNNNN",sO),W(["N","NN","NNN","NNNN","NNNNN"],function(t,e,r,n){var a=r._locale.erasParse(t,n,r._strict);a?T(r).era=a:T(r).invalidEra=t}),P("y",Ir),P("yy",Ir),P("yyy",Ir),P("yyyy",Ir),P("yo",lO),W(["y","yy","yyy","yyyy"],xe),W(["yo"],function(t,e,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[xe]=r._locale.eraYearOrdinalParse(t,a):e[xe]=parseInt(t,10)});function XS(t,e){var r,n,a,i=this._eras||qt("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=x(i[r].since).startOf("day"),i[r].since=a.valueOf();break}switch(typeof i[r].until){case"undefined":i[r].until=1/0;break;case"string":a=x(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function JS(t,e,r){var n,a,i=this.eras(),s,c,f;for(t=t.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),c=i[n].abbr.toUpperCase(),f=i[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(c===t)return i[n];break;case"NNNN":if(s===t)return i[n];break;case"NNNNN":if(f===t)return i[n];break}else if([s,c,f].indexOf(t)>=0)return i[n]}function QS(t,e){var r=t.since<=t.until?1:-1;return e===void 0?x(t.since).year():x(t.since).year()+(e-t.offset)*r}function KS(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].name;return""}function eO(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].narrow;return""}function tO(){var t,e,r,n=this.localeData().eras();for(t=0,e=n.length;t<e;++t)if(r=this.clone().startOf("day").valueOf(),n[t].since<=r&&r<=n[t].until||n[t].until<=r&&r<=n[t].since)return n[t].abbr;return""}function rO(){var t,e,r,n,a=this.localeData().eras();for(t=0,e=a.length;t<e;++t)if(r=a[t].since<=a[t].until?1:-1,n=this.clone().startOf("day").valueOf(),a[t].since<=n&&n<=a[t].until||a[t].until<=n&&n<=a[t].since)return(this.year()-x(a[t].since).year())*r+a[t].offset;return this.year()}function nO(t){return B(this,"_erasNameRegex")||pl.call(this),t?this._erasNameRegex:this._erasRegex}function aO(t){return B(this,"_erasAbbrRegex")||pl.call(this),t?this._erasAbbrRegex:this._erasRegex}function iO(t){return B(this,"_erasNarrowRegex")||pl.call(this),t?this._erasNarrowRegex:this._erasRegex}function hl(t,e){return e.erasAbbrRegex(t)}function oO(t,e){return e.erasNameRegex(t)}function sO(t,e){return e.erasNarrowRegex(t)}function lO(t,e){return e._eraYearOrdinalRegex||Ir}function pl(){var t=[],e=[],r=[],n=[],a,i,s,c,f,l=this.eras();for(a=0,i=l.length;a<i;++a)s=Lt(l[a].name),c=Lt(l[a].abbr),f=Lt(l[a].narrow),e.push(s),t.push(c),r.push(f),n.push(s),n.push(c),n.push(f);this._erasRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+e.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+t.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100});function Pi(t,e){j(0,[t,t.length],0,e)}Pi("gggg","weekYear"),Pi("ggggg","weekYear"),Pi("GGGG","isoWeekYear"),Pi("GGGGG","isoWeekYear"),P("G",vi),P("g",vi),P("GG",te,Le),P("gg",te,Le),P("GGGG",Js,Xs),P("gggg",Js,Xs),P("GGGGG",mi,hi),P("ggggg",mi,hi),xn(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=A(t)}),xn(["gg","GG"],function(t,e,r,n){e[n]=x.parseTwoDigitYear(t)});function uO(t){return Ld.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function cO(t){return Ld.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function dO(){return zt(this.year(),1,4)}function fO(){return zt(this.isoWeekYear(),1,4)}function hO(){var t=this.localeData()._week;return zt(this.year(),t.dow,t.doy)}function pO(){var t=this.localeData()._week;return zt(this.weekYear(),t.dow,t.doy)}function Ld(t,e,r,n,a){var i;return t==null?Dn(this,n,a).year:(i=zt(t,n,a),e>i&&(e=i),mO.call(this,t,e,r,n,a))}function mO(t,e,r,n,a){var i=_d(t,e,r,n,a),s=Rn(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}j("Q",0,"Qo","quarter"),P("Q",od),W("Q",function(t,e){e[Bt]=(A(t)-1)*3});function vO(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}j("D",["DD",2],"Do","date"),P("D",te,Yr),P("DD",te,Le),P("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),W(["D","DD"],kt),W("Do",function(t,e){e[kt]=A(t.match(te)[0])});var Bd=Nr("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),P("DDD",pi),P("DDDD",sd),W(["DDD","DDDD"],function(t,e,r){r._dayOfYear=A(t)});function _O(t){var e=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return t==null?e:this.add(t-e,"d")}j("m",["mm",2],0,"minute"),P("m",te,Qs),P("mm",te,Le),W(["m","mm"],ot);var yO=Nr("Minutes",!1);j("s",["ss",2],0,"second"),P("s",te,Qs),P("ss",te,Le),W(["s","ss"],Ht);var gO=Nr("Seconds",!1);j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return this.millisecond()*10}),j(0,["SSSSS",5],0,function(){return this.millisecond()*100}),j(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3}),j(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4}),j(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5}),j(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6}),P("S",pi,od),P("SS",pi,Le),P("SSS",pi,sd);var tr,Hd;for(tr="SSSS";tr.length<=9;tr+="S")P(tr,Ir);function bO(t,e){e[_r]=A(("0."+t)*1e3)}for(tr="S";tr.length<=9;tr+="S")W(tr,bO);Hd=Nr("Milliseconds",!1),j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");function wO(){return this._isUTC?"UTC":""}function SO(){return this._isUTC?"Coordinated Universal Time":""}var O=kn.prototype;O.add=pS,O.calendar=wS,O.clone=SS,O.diff=RS,O.endOf=NS,O.format=TS,O.from=FS,O.fromNow=AS,O.to=ES,O.toNow=IS,O.get=$0,O.invalidAt=GS,O.isAfter=OS,O.isBefore=kS,O.isBetween=CS,O.isSame=xS,O.isSameOrAfter=MS,O.isSameOrBefore=PS,O.isValid=US,O.lang=Ad,O.locale=Fd,O.localeData=Ed,O.max=U1,O.min=V1,O.parsingFlags=WS,O.set=T0,O.startOf=YS,O.subtract=mS,O.toArray=zS,O.toObject=qS,O.toDate=HS,O.toISOString=jS,O.inspect=$S,typeof Symbol!="undefined"&&Symbol.for!=null&&(O[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),O.toJSON=VS,O.toString=DS,O.unix=BS,O.valueOf=LS,O.creationData=ZS,O.eraName=KS,O.eraNarrow=eO,O.eraAbbr=tO,O.eraYear=rO,O.year=cd,O.isLeapYear=j0,O.weekYear=uO,O.isoWeekYear=cO,O.quarter=O.quarters=vO,O.month=md,O.daysInMonth=H0,O.week=O.weeks=X0,O.isoWeek=O.isoWeeks=J0,O.weeksInYear=hO,O.weeksInWeekYear=pO,O.isoWeeksInYear=dO,O.isoWeeksInISOWeekYear=fO,O.date=Bd,O.day=O.days=c1,O.weekday=d1,O.isoWeekday=f1,O.dayOfYear=_O,O.hour=O.hours=g1,O.minute=O.minutes=yO,O.second=O.seconds=gO,O.millisecond=O.milliseconds=Hd,O.utcOffset=tS,O.utc=nS,O.local=aS,O.parseZone=iS,O.hasAlignedHourOffset=oS,O.isDST=sS,O.isLocal=uS,O.isUtcOffset=cS,O.isUtc=Rd,O.isUTC=Rd,O.zoneAbbr=wO,O.zoneName=SO,O.dates=Ze("dates accessor is deprecated. Use date instead.",Bd),O.months=Ze("months accessor is deprecated. Use month instead",md),O.years=Ze("years accessor is deprecated. Use year instead",cd),O.zone=Ze("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",rS),O.isDSTShifted=Ze("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",lS);function OO(t){return re(t*1e3)}function kO(){return re.apply(null,arguments).parseZone()}function zd(t){return t}var H=Vs.prototype;H.calendar=u0,H.longDateFormat=h0,H.invalidDate=m0,H.ordinal=y0,H.preparse=zd,H.postformat=zd,H.relativeTime=b0,H.pastFuture=w0,H.set=s0,H.eras=XS,H.erasParse=JS,H.erasConvertYear=QS,H.erasAbbrRegex=aO,H.erasNameRegex=nO,H.erasNarrowRegex=iO,H.months=Y0,H.monthsShort=N0,H.monthsParse=B0,H.monthsRegex=q0,H.monthsShortRegex=z0,H.week=U0,H.firstDayOfYear=Z0,H.firstDayOfWeek=G0,H.weekdays=i1,H.weekdaysMin=s1,H.weekdaysShort=o1,H.weekdaysParse=u1,H.weekdaysRegex=h1,H.weekdaysShortRegex=p1,H.weekdaysMinRegex=m1,H.isPM=_1,H.meridiem=b1;function Ri(t,e,r,n){var a=qt(),i=wt().set(n,e);return a[r](i,t)}function qd(t,e,r){if(Nt(t)&&(e=t,t=void 0),t=t||"",e!=null)return Ri(t,e,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=Ri(t,n,r,"month");return a}function ml(t,e,r,n){typeof t=="boolean"?(Nt(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,Nt(e)&&(r=e,e=void 0),e=e||"");var a=qt(),i=t?a._week.dow:0,s,c=[];if(r!=null)return Ri(e,(r+i)%7,n,"day");for(s=0;s<7;s++)c[s]=Ri(e,(s+i)%7,n,"day");return c}function CO(t,e){return qd(t,e,"months")}function xO(t,e){return qd(t,e,"monthsShort")}function MO(t,e,r){return ml(t,e,r,"weekdays")}function PO(t,e,r){return ml(t,e,r,"weekdaysShort")}function RO(t,e,r){return ml(t,e,r,"weekdaysMin")}er("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(t){var e=t%10,r=A(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}}),x.lang=Ze("moment.lang is deprecated. Use moment.locale instead.",er),x.langData=Ze("moment.langData is deprecated. Use moment.localeData instead.",qt);var Vt=Math.abs;function DO(){var t=this._data;return this._milliseconds=Vt(this._milliseconds),this._days=Vt(this._days),this._months=Vt(this._months),t.milliseconds=Vt(t.milliseconds),t.seconds=Vt(t.seconds),t.minutes=Vt(t.minutes),t.hours=Vt(t.hours),t.months=Vt(t.months),t.years=Vt(t.years),this}function Vd(t,e,r,n){var a=st(e,r);return t._milliseconds+=n*a._milliseconds,t._days+=n*a._days,t._months+=n*a._months,t._bubble()}function jO(t,e){return Vd(this,t,e,1)}function $O(t,e){return Vd(this,t,e,-1)}function Ud(t){return t<0?Math.floor(t):Math.ceil(t)}function TO(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,a,i,s,c,f;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=Ud(vl(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,a=Je(t/1e3),n.seconds=a%60,i=Je(a/60),n.minutes=i%60,s=Je(i/60),n.hours=s%24,e+=Je(s/24),f=Je(Wd(e)),r+=f,e-=Ud(vl(f)),c=Je(r/12),r%=12,n.days=e,n.months=r,n.years=c,this}function Wd(t){return t*4800/146097}function vl(t){return t*146097/4800}function FO(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=Xe(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+Wd(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(vl(this._months)),t){case"week":return e/7+n/6048e5;case"day":return e+n/864e5;case"hour":return e*24+n/36e5;case"minute":return e*1440+n/6e4;case"second":return e*86400+n/1e3;case"millisecond":return Math.floor(e*864e5)+n;default:throw new Error("Unknown unit "+t)}}function Ut(t){return function(){return this.as(t)}}var Gd=Ut("ms"),AO=Ut("s"),EO=Ut("m"),IO=Ut("h"),YO=Ut("d"),NO=Ut("w"),LO=Ut("M"),BO=Ut("Q"),HO=Ut("y"),zO=Gd;function qO(){return st(this)}function VO(t){return t=Xe(t),this.isValid()?this[t+"s"]():NaN}function gr(t){return function(){return this.isValid()?this._data[t]:NaN}}var UO=gr("milliseconds"),WO=gr("seconds"),GO=gr("minutes"),ZO=gr("hours"),XO=gr("days"),JO=gr("months"),QO=gr("years");function KO(){return Je(this.days()/7)}var Wt=Math.round,zr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ek(t,e,r,n,a){return a.relativeTime(e||1,!!r,t,n)}function tk(t,e,r,n){var a=st(t).abs(),i=Wt(a.as("s")),s=Wt(a.as("m")),c=Wt(a.as("h")),f=Wt(a.as("d")),l=Wt(a.as("M")),o=Wt(a.as("w")),d=Wt(a.as("y")),h=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||c<=1&&["h"]||c<r.h&&["hh",c]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(h=h||o<=1&&["w"]||o<r.w&&["ww",o]),h=h||l<=1&&["M"]||l<r.M&&["MM",l]||d<=1&&["y"]||["yy",d],h[2]=e,h[3]=+t>0,h[4]=n,ek.apply(null,h)}function rk(t){return t===void 0?Wt:typeof t=="function"?(Wt=t,!0):!1}function nk(t,e){return zr[t]===void 0?!1:e===void 0?zr[t]:(zr[t]=e,t==="s"&&(zr.ss=e-1),!0)}function ak(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=zr,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},zr,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),a=this.localeData(),i=tk(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var _l=Math.abs;function qr(t){return(t>0)-(t<0)||+t}function Di(){if(!this.isValid())return this.localeData().invalidDate();var t=_l(this._milliseconds)/1e3,e=_l(this._days),r=_l(this._months),n,a,i,s,c=this.asSeconds(),f,l,o,d;return c?(n=Je(t/60),a=Je(n/60),t%=60,n%=60,i=Je(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",f=c<0?"-":"",l=qr(this._months)!==qr(c)?"-":"",o=qr(this._days)!==qr(c)?"-":"",d=qr(this._milliseconds)!==qr(c)?"-":"",f+"P"+(i?l+i+"Y":"")+(r?l+r+"M":"")+(e?o+e+"D":"")+(a||n||t?"T":"")+(a?d+a+"H":"")+(n?d+n+"M":"")+(t?d+s+"S":"")):"P0D"}var I=Oi.prototype;I.isValid=J1,I.abs=DO,I.add=jO,I.subtract=$O,I.as=FO,I.asMilliseconds=Gd,I.asSeconds=AO,I.asMinutes=EO,I.asHours=IO,I.asDays=YO,I.asWeeks=NO,I.asMonths=LO,I.asQuarters=BO,I.asYears=HO,I.valueOf=zO,I._bubble=TO,I.clone=qO,I.get=VO,I.milliseconds=UO,I.seconds=WO,I.minutes=GO,I.hours=ZO,I.days=XO,I.weeks=KO,I.months=JO,I.years=QO,I.humanize=ak,I.toISOString=Di,I.toString=Di,I.toJSON=Di,I.locale=Fd,I.localeData=Ed,I.toIsoString=Ze("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Di),I.lang=Ad,j("X",0,0,"unix"),j("x",0,0,"valueOf"),P("x",vi),P("X",C0),W("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)}),W("x",function(t,e,r){r._d=new Date(A(t))});//! moment.js
|
|
20
|
+
x.version="2.30.1",i0(re),x.fn=O,x.min=W1,x.max=G1,x.now=Z1,x.utc=wt,x.unix=OO,x.months=CO,x.isDate=On,x.locale=er,x.invalid=ci,x.duration=st,x.isMoment=it,x.weekdays=MO,x.parseZone=kO,x.localeData=qt,x.isDuration=ki,x.monthsShort=xO,x.weekdaysMin=RO,x.defineLocale=al,x.updateLocale=k1,x.locales=C1,x.weekdaysShort=PO,x.normalizeUnits=Xe,x.relativeTimeRounding=rk,x.relativeTimeThreshold=nk,x.calendarFormat=bS,x.prototype=O,x.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const ik=wg(Object.freeze(Object.defineProperty({__proto__:null,default:x},Symbol.toStringTag,{value:"Module"})));var Zd;function ok(){if(Zd)return ui;Zd=1,Object.defineProperty(ui,"__esModule",{value:!0});var t=ik,e=z(),r=function(){function n(a,i,s,c,f,l){this.unique_id=a,this.funnel=i,this.data=s,this.user=c,this.location=window.location,this.updated_at=f,this.created_at=l}return n.prototype.getId=function(){return this.unique_id},n.prototype.getFunnel=function(){return this.funnel},n.prototype.getData=function(){return this.data},n.prototype.getUser=function(){return this.user},n.prototype.getTimeStamps=function(){return{updated_at:t(this.updated_at),created_at:t(this.created_at)}},n.fromObject=function(a){return new this(a.unique_id,a.funnel,e.ComparisonDataCollection.fromObject(a.data),e.User.fromObject(a.user),a.updated_at,a.created_at)},n.prototype.toObject=function(){return{unique_id:this.unique_id,referrer:this.location.href,funnel:this.funnel,data:this.data.toObject(),user:this.user}},n}();return ui.default=r,ui}var ji={},Xd;function sk(){if(Xd)return ji;Xd=1;var t=g&&g.__awaiter||function(s,c,f,l){function o(d){return d instanceof f?d:new f(function(h){h(d)})}return new(f||(f=Promise))(function(d,h){function u(y){try{v(l.next(y))}catch(p){h(p)}}function m(y){try{v(l.throw(y))}catch(p){h(p)}}function v(y){y.done?d(y.value):o(y.value).then(u,m)}v((l=l.apply(s,c||[])).next())})},e=g&&g.__generator||function(s,c){var f={label:0,sent:function(){if(d[0]&1)throw d[1];return d[1]},trys:[],ops:[]},l,o,d,h;return h={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function u(v){return function(y){return m([v,y])}}function m(v){if(l)throw new TypeError("Generator is already executing.");for(;h&&(h=0,v[0]&&(f=0)),f;)try{if(l=1,o&&(d=v[0]&2?o.return:v[0]?o.throw||((d=o.return)&&d.call(o),0):o.next)&&!(d=d.call(o,v[1])).done)return d;switch(o=0,d&&(v=[v[0]&2,d.value]),v[0]){case 0:case 1:d=v;break;case 4:return f.label++,{value:v[1],done:!1};case 5:f.label++,o=v[1],v=[0];continue;case 7:v=f.ops.pop(),f.trys.pop();continue;default:if(d=f.trys,!(d=d.length>0&&d[d.length-1])&&(v[0]===6||v[0]===2)){f=0;continue}if(v[0]===3&&(!d||v[1]>d[0]&&v[1]<d[3])){f.label=v[1];break}if(v[0]===6&&f.label<d[1]){f.label=d[1],d=v;break}if(d&&f.label<d[2]){f.label=d[2],f.ops.push(v);break}d[2]&&f.ops.pop(),f.trys.pop();continue}v=c.call(s,f)}catch(y){v=[6,y],o=0}finally{l=d=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}},r=g&&g.__values||function(s){var c=typeof Symbol=="function"&&Symbol.iterator,f=c&&s[c],l=0;if(f)return f.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&l>=s.length&&(s=void 0),{value:s&&s[l++],done:!s}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ji,"__esModule",{value:!0});var n=Yt(),a=tf(),i=function(){function s(c){c===void 0&&(c={}),this.data=c}return s.prototype.addItem=function(c,f){return this.data[c]=f,this},s.prototype.removeItem=function(c){return delete this.data[c],this},s.prototype.getItem=function(c){if(this.data.hasOwnProperty(c))return this.data[c];throw new Error("".concat(c," collection doesn't exist."))},s.prototype.all=function(){return this.data},s.prototype.calculate=function(c,f){return f===void 0&&(f=null),t(this,void 0,void 0,function(){var l,o,d,h,u,m,v,y,p;return e(this,function(_){switch(_.label){case 0:l=n.ApiServiceFactory.get(c),f===null?o=this.data[c].getData():o=[this.data[c].getItem(f)],_.label=1;case 1:_.trys.push([1,6,7,8]),d=r(o),h=d.next(),_.label=2;case 2:return h.done?[3,5]:(u=h.value,[4,l.getRates(u.getModel())]);case 3:m=_.sent(),u.setRates(m),_.label=4;case 4:return h=d.next(),[3,2];case 5:return[3,8];case 6:return v=_.sent(),y={error:v},[3,8];case 7:try{h&&!h.done&&(p=d.return)&&p.call(d)}finally{if(y)throw y.error}return[7];case 8:return[2,this]}})})},s.fromObject=function(c){for(var f=new this,l=Object.keys(c),o=0;o<l.length;o++){var d={};d.insuranceType=l[o],d.data=c[l[o]],f.addItem(l[o],a.ComparisonInsuranceData.fromObject(d))}return f},s.prototype.toObject=function(){for(var c={},f=Object.keys(this.data),l=0;l<f.length;l++){var o=f[l];c[o]=this.data[o].toObject()}return c},s}();return ji.default=i,ji}var $i={},Ti={},Jd;function Qd(){if(Jd)return Ti;Jd=1,Object.defineProperty(Ti,"__esModule",{value:!0});var t=z(),e=function(){function r(n,a,i){this.id=n,this.model=a,this.rates=i}return r.prototype.setModel=function(n){return this.model=n,this},r.prototype.updateModel=function(n,a){return this.model[n]=a,this},r.prototype.setRates=function(n){return this.rates=n,this},r.prototype.getId=function(){return this.id},r.prototype.getModel=function(){return this.model},r.prototype.getRates=function(){return this.rates},r.prototype.toObject=function(){return{id:this.id,model:this.model,rates:this.rates.toObject()}},r.fromObject=function(n){return new this(n.insurance.id,n.insurance.model,new t.RateCollection(n.insuranceType,n.insurance.rates))},r}();return Ti.default=e,Ti}var Kd;function lk(){if(Kd)return $i;Kd=1;var t=g&&g.__values||function(n){var a=typeof Symbol=="function"&&Symbol.iterator,i=a&&n[a],s=0;if(i)return i.call(n);if(n&&typeof n.length=="number")return{next:function(){return n&&s>=n.length&&(n=void 0),{value:n&&n[s++],done:!n}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty($i,"__esModule",{value:!0});var e=Qd(),r=function(){function n(a){this.pointer=0,this.data=a}return n.prototype.getData=function(){return this.data},n.prototype.count=function(){return this.data.length},n.prototype.addItem=function(a){return this.data.push(a),this},n.prototype.getItem=function(a){for(var i=0;i<this.data.length;i++)if(a===this.data[i].getId())return this.data[i];throw new Error("Insurance data not found.")},n.prototype.next=function(){return this.pointer<this.count()?{done:!1,value:this.data[this.pointer++]}:{done:!0,value:null}},n.prototype[Symbol.iterator]=function(){return this},n.fromObject=function(a){for(var i=[],s=0;s<a.data.length;s++){var c={};c.insurance=a.data[s],c.insuranceType=a.insuranceType,i.push(e.default.fromObject(c))}return new this(i)},n.prototype.toObject=function(){var a,i,s=[];try{for(var c=t(this.data),f=c.next();!f.done;f=c.next()){var l=f.value;s.push(l.toObject())}}catch(o){a={error:o}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}return s},n}();return $i.default=r,$i}var ef;function tf(){return ef||(ef=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComparisonInsurance=t.ComparisonInsuranceData=t.ComparisonDataCollection=t.Comparison=void 0;var e=ok();Object.defineProperty(t,"Comparison",{enumerable:!0,get:function(){return e.default}});var r=sk();Object.defineProperty(t,"ComparisonDataCollection",{enumerable:!0,get:function(){return r.default}});var n=lk();Object.defineProperty(t,"ComparisonInsuranceData",{enumerable:!0,get:function(){return n.default}});var a=Qd();Object.defineProperty(t,"ComparisonInsurance",{enumerable:!0,get:function(){return a.default}})}(Ys)),Ys}var rf;function z(){return rf||(rf=1,function(t){var e=g&&g.__createBinding||(Object.create?function(y,p,_,w){w===void 0&&(w=_);var R=Object.getOwnPropertyDescriptor(p,_);(!R||("get"in R?!p.__esModule:R.writable||R.configurable))&&(R={enumerable:!0,get:function(){return p[_]}}),Object.defineProperty(y,w,R)}:function(y,p,_,w){w===void 0&&(w=_),y[w]=p[_]}),r=g&&g.__exportStar||function(y,p){for(var _ in y)_!=="default"&&!Object.prototype.hasOwnProperty.call(p,_)&&e(p,y,_)};Object.defineProperty(t,"__esModule",{value:!0}),t.User=t.RateCollection=t.UndefinedRate=t.DkmRate=t.VergelijkdirectRate=t.MoneyviewRate=t.EnraRate=t.RollsRate=t.RiskRate=t.LakaRate=t.PackageRate=t.Rate=t.DocumentsModel=void 0;var n=Vo;Object.defineProperty(t,"DocumentsModel",{enumerable:!0,get:function(){return n.default}});var a=Yc();Object.defineProperty(t,"Rate",{enumerable:!0,get:function(){return a.default}});var i=Ww();Object.defineProperty(t,"PackageRate",{enumerable:!0,get:function(){return i.default}});var s=Gw();Object.defineProperty(t,"LakaRate",{enumerable:!0,get:function(){return s.default}});var c=Zw();Object.defineProperty(t,"RiskRate",{enumerable:!0,get:function(){return c.default}});var f=Xw();Object.defineProperty(t,"RollsRate",{enumerable:!0,get:function(){return f.default}});var l=Jw();Object.defineProperty(t,"EnraRate",{enumerable:!0,get:function(){return l.default}});var o=Qw();Object.defineProperty(t,"MoneyviewRate",{enumerable:!0,get:function(){return o.default}});var d=Kw();Object.defineProperty(t,"VergelijkdirectRate",{enumerable:!0,get:function(){return d.default}});var h=e0();Object.defineProperty(t,"DkmRate",{enumerable:!0,get:function(){return h.default}});var u=t0();Object.defineProperty(t,"UndefinedRate",{enumerable:!0,get:function(){return u.default}});var m=Lc();Object.defineProperty(t,"RateCollection",{enumerable:!0,get:function(){return m.default}});var v=Es;Object.defineProperty(t,"User",{enumerable:!0,get:function(){return v.default}}),r(a0(),t),r(tf(),t)}(qo)),qo}var uk=g&&g.__awaiter||function(t,e,r,n){function a(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function c(o){try{l(n.next(o))}catch(d){s(d)}}function f(o){try{l(n.throw(o))}catch(d){s(d)}}function l(o){o.done?i(o.value):a(o.value).then(c,f)}l((n=n.apply(t,e||[])).next())})},ck=g&&g.__generator||function(t,e){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,a,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(l){return function(o){return f([l,o])}}function f(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,a&&(i=l[0]&2?a.return:l[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,l[1])).done)return i;switch(a=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,a=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){r.label=l[1];break}if(l[0]===6&&r.label<i[1]){r.label=i[1],i=l;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(l);break}i[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(o){l=[6,o],a=0}finally{n=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(zo,"__esModule",{value:!0});var dk=z(),fk=Ce(),nf=Fr,hk=Sn,pk=function(){function t(e){this.storageManager=e}return t.prototype.configure=function(e){return uk(this,void 0,void 0,function(){var r,n;return ck(this,function(a){switch(a.label){case 0:return r=nf.Injector.instance,r.constant("environment",e),n=new fk.ConfigurationsService,[4,n.configure()];case 1:return a.sent(),r.constant("configuration-service",n),hk.supplierPlacementTracker.setParams(),[2,this]}})})},t.prototype.getConfigurations=function(){return nf.Injector.instance.get("configuration-service").getConfigurations()},t.prototype.saveNew=function(e){return this.remove(e.getInsuranceCategory()),this.save(e),this},t.prototype.save=function(e){return this.storageManager.save(e.getInsuranceCategory(),e.getData()),this},t.prototype.get=function(e){var r=this.storageManager.get(e);return new dk.RateCollection(e,r)},t.prototype.remove=function(e){return this.storageManager.remove(e),this},t}();zo.default=pk,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.InsuranceTransmissionClient=void 0;var e=zo;Object.defineProperty(t,"InsuranceTransmissionClient",{enumerable:!0,get:function(){return e.default}})}(Xu);var af={},yl={};Object.defineProperty(yl,"__esModule",{value:!0});var mk=function(){function t(e){return this.storage={},this.storageKey=e,this.freshStorage(),this.setStorage(),this}return t.prototype.getStorage=function(){var e=JSON.parse(localStorage.getItem(this.storageKey));return e||{}},t.prototype.setStorage=function(){return localStorage.setItem(this.storageKey,JSON.stringify(this.storage)),this},t.prototype.freshStorage=function(){return this.storage=this.getStorage(),this},t.prototype.save=function(e,r){return this.freshStorage(),this.storage[e]===void 0&&(this.storage[e]=[]),this.storage[e].push(r),this.setStorage(),this},t.prototype.put=function(e,r){return this.freshStorage(),this.storage[e]=r,this.setStorage(),this},t.prototype.get=function(e){return this.freshStorage(),this.storage[e]===void 0?[]:this.storage[e]},t.prototype.remove=function(e){return this.freshStorage(),delete this.storage[e],this.setStorage(),this},t.prototype.all=function(){return this.getStorage()},t}();yl.default=mk,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageAdapter=void 0;var e=yl;Object.defineProperty(t,"LocalStorageAdapter",{enumerable:!0,get:function(){return e.default}})}(af),function(t){var e=g&&g.__createBinding||(Object.create?function(n,a,i,s){s===void 0&&(s=i);var c=Object.getOwnPropertyDescriptor(a,i);(!c||("get"in c?!a.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,s,c)}:function(n,a,i,s){s===void 0&&(s=i),n[s]=a[i]}),r=g&&g.__exportStar||function(n,a){for(var i in n)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&e(a,n,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(Gu,t),r(Xu,t),r(af,t),r(z(),t),r(Ce(),t)}(X);const of=Q({__proto__:null,default:bg(X)},[X]),gl={vd:{url:"http://master.dev.vergelijkdirect.com/index.php"},mijn:{url:"http://master.mijn-api.vergelijkdirect.com"},api:{url:"http://master.api.vergelijkdirect.com/"},postcode:{url:"https://api.postcodeapi.nu",key:"RL7RFSAjlA1mON4P3d4bzAOu0Fgfbwaac21WLG00"}},bl={url:gl.api.url,login:gl.api.login,password:gl.api.password},sf={api:{baseUrl:bl.url,auth:{username:bl.login,password:bl.password},version:"v2"}};class vk{constructor(){oe(this,"insurances",["PetService","MotorService","BikeService","MopedService","HousingService","HomeService","LiabilityService","HouseholdService","DocumentService","PackageService","CaravanService","DataValidationService","CarService","PartnerService","ComparisonService","UserService","V1Service","TravelService"]);oe(this,"activeInsurances");oe(this,"client");oe(this,"petService");oe(this,"motorService");oe(this,"bikeService");oe(this,"mopedService");oe(this,"housingService");oe(this,"homeService");oe(this,"liabilityService");oe(this,"householdService");oe(this,"documentService");oe(this,"packageService");oe(this,"caravanService");oe(this,"dataValidationService");oe(this,"carService");oe(this,"partnerService");oe(this,"validation");oe(this,"comparisonService");oe(this,"userService");oe(this,"v1Service");oe(this,"travelService");oe(this,"dataService")}initITC(){return se(this,null,function*(){if(typeof window=="undefined")return;const e=JSON.parse(JSON.stringify(sf));e.api.baseUrl=sf.api.baseUrl+"api";const r=new X.LocalStorageAdapter("insurances");return this.client=new X.InsuranceTransmissionClient(r),yield this.client.configure(e),this.createConfig(),this.createInsuranceClasses(),this})}createConfig(){this.validation=new X.DataValidationService,this.petService=new X.PetService,this.motorService=new X.MotorService,this.bikeService=new X.BikeService,this.mopedService=new X.MopedService,this.housingService=new X.HousingService,this.homeService=new X.HomeService,this.liabilityService=new X.LiabilityService,this.householdService=new X.HouseholdService,this.documentService=new X.DocumentService,this.packageService=new X.PackageService,this.caravanService=new X.CaravanService,this.dataValidationService=new X.DataValidationService,this.carService=new X.CarService,this.partnerService=new X.PartnerService,this.comparisonService=new X.ComparisonService,this.userService=new X.UserService,this.v1Service=new X.V1Service,this.travelService=new X.TravelService,this.dataService=new X.DataService}createInsuranceClasses(){this.insurances.map(e=>{if(Object.prototype.hasOwnProperty.call(of,e)){const r={};r[e]=new of[e],this.activeInsurances=Object.assign({},this.activeInsurances,r)}else console.error(`${e} is not found in insurance transmission client`)})}get getActiveInsurances(){return this.activeInsurances}get getClient(){return this.client}getVehicleLicenseInformation(e,r){return se(this,null,function*(){const n=e.toLocaleLowerCase(),a=this.dataService.findVehicle(r,n);return a||null})}}let Fe=b.reactive({});const _k=(t=null)=>se(this,null,function*(){Fe=t||(yield new vk().initITC())}),yk=b.defineComponent({name:"ErrorHandler",props:{name:{required:!1,type:String},errorsData:{required:!0,type:Array[{rule:String||Boolean,text:Boolean}]}},setup(){return{errors:ce}}});function J(t,e,r,n,a,i,s,c){var f=typeof t=="function"?t.options:t;e&&(f.render=e,f.staticRenderFns=r,f._compiled=!0),n&&(f.functional=!0),i&&(f._scopeId="data-v-"+i);var l;if(s?(l=function(h){h=h||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!h&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(h=__VUE_SSR_CONTEXT__),a&&a.call(this,h),h&&h._registeredComponents&&h._registeredComponents.add(s)},f._ssrRegister=l):a&&(l=c?function(){a.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(f.functional){f._injectStyles=l;var o=f.render;f.render=function(u,m){return l.call(m),o(u,m)}}else{var d=f.beforeCreate;f.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:f}}var lf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("ul",{staticClass:"vd-form-error__list m-0"},e._l(e.errorsData,function(n,a){return(typeof n.rule=="boolean"?n.rule:e.errors.has(e.name+":"+n.rule))?r("li",{key:a,staticClass:"vd-form-error__list-item"},[r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v(e._s(n.text)+" ")])]):e._e()}),0)},gk=[];lf._withStripped=!0;var uf=J(yk,lf,gk,!1,null,"29b1158d",null,null);uf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/ErrorHandler.vue";const Be=uf.exports,bk=b.defineComponent({name:"LicensePlate",components:{ErrorHandler:Be},props:{label:{type:String,required:!1,default:"Kenteken"},name:{type:String,required:!0},placeholder:{type:String,required:!1,default:""},id:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1},value:{type:String,required:!0},vehicleTypes:{type:Array[String],required:!1,default:()=>[]},insuranceDutchNaming:{type:String,required:!0},propVehicleInformation:{required:!1,default:()=>{}},vehicleType:{type:String,required:!0,validator:t=>["motor","car","moped"].includes(t)},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){let r=b.ref("");const n=b.ref({});let a=b.ref(!1),i=b.ref(!1),s=b.ref(!1);const c=b.computed(()=>[{rule:"required",text:"Kenteken is verplicht"},{rule:"minlength",text:"Kenteken is incorrect"},{rule:s.value,text:"Kenteken onbekend"},{rule:i.value,text:`Het ingevoerde kenteken is geen ${t.insuranceDutchNaming.toLowerCase()}`},{rule:!a.value&&t.value.length===8&&!n.value.VehicleType&&Object.keys(n.value).length!==0,text:"Voertuig onbekend - Voer ander kenteken in of neem contact op"}]),f=m=>{e("focus");let v=m.srcElement.name;const y=Z.fields.find({name:v});(y!==null||y!==void 0&&y)&&(y.reset(),Z.errors.remove(y.name,y.scope))},l=m=>{e("blur");let v=m.srcElement.name;const y=Z.fields.find({name:v});(y!==null||y!==void 0&&y)&&Z.validate(y.name)},o=(m,v,y)=>{v==="input"&&(s.value=!1),m||(i.value=!1);let p=Ho(m);if(p==="no-template-found"){r.value=m,e(v,m),e("on-error");return}e(v,p.toUpperCase()),r.value=p.toUpperCase(),p.length===8&&v==="input"&&(Z.validate(t.name),y&&u(p.toUpperCase()))},d=m=>{let v=(m.clipboardData||window.clipboardData).getData("text");if(typeof v=="string"&&v){let y=Ho(v);if(y==="no-template-found"){r.value=v,e("input",v),e("on-error"),m.preventDefault();return}e("input",y.toUpperCase()),r.value=y.toUpperCase(),e("license-correct"),y.length===8&&(Z.validate(t.name),u(y.toUpperCase())),m.preventDefault()}},h=(m,v)=>se(this,null,function*(){const y=m.toLocaleLowerCase(),p=yield Fe.dataService.findVehicle(v,y);return p||null}),u=m=>{a.value=!0,i.value=!1,s.value=!1,n.value={},h(t.vehicleType,m).then(v=>{if(Array.isArray(v)&&!v.length){a.value=!1,s.value=!0,Z.validate("unknownLicensePlateHiddenField");return}if(t.vehicleTypes.length!==0&&!t.vehicleTypes.includes(v.VehicleType)){e("incorrect-vehicle-type"),i.value=!0,a.value=!1,Z.validate("incorrectLicensePlateHiddenField"),Z.validate("noLicensePlateHiddenField"),Z.validate("unknownLicensePlateHiddenField");return}n.value=v,e("on-vehicle-information-update",v),a.value=!1})};return b.onMounted(()=>{b.nextTick(()=>{if(r.value=t.value,!r.value)return;let m=!0;Ho(r.value).length===8&&Object.keys(t.propVehicleInformation).length!==0&&(n.value=t.propVehicleInformation,Z.validate(t.name),m=!1),o(r.value,"input",m)})}),{license:r,vehicleInformation:n,isLicenseUnknown:s,isRetrievingVehicleInformation:a,incorrectLicensePlate:i,resetFieldValidation:f,validateField:l,onPasteEvent:d,retrieveLicensePlateInformation:u,setValue:o,errors:ce,userInformation:C,motorState:ge,errorsData:c}}});var cf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:e.id}},[e._v(" "+e._s(e.label)+" "),r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v(" *")])]),r("div",{staticClass:"license"},[r("div",{staticClass:"license__country"}),r("input",{directives:[{name:"model",rawName:"v-model",value:e.license,expression:"license"},{name:"validate",rawName:"v-validate",value:"required|minlength:8",expression:"'required|minlength:8'"}],ref:"license-field",staticClass:"vd-form-group__input form-control license__input",class:{"vd-form-group__input--error":e.errors.has(e.name)},attrs:{id:e.id,maxlength:"8",placeholder:e.placeholder,name:e.name,type:"text",autocomplete:"off","data-vv-validate-on":"none"},domProps:{value:e.license},on:{input:[function(n){n.target.composing||(e.license=n.target.value)},function(n){return e.setValue(n.target.value,"input",!0)}],change:function(n){return e.setValue(n.target.value,"change",!0)},keydown:function(n){if(!n.type.indexOf("key")&&e._k(n.keyCode,"space",32,n.key,[" ","Spacebar"]))return null;n.preventDefault()},paste:e.onPasteEvent,focus:e.resetFieldValidation,blur:e.validateField}})]),r("input",{directives:[{name:"validate",rawName:"v-validate",value:{isValue:"false"},expression:"{ isValue: 'false' }"}],attrs:{type:"hidden",name:"incorrectLicensePlateHiddenField"},domProps:{value:e.incorrectLicensePlate}}),r("input",{directives:[{name:"validate",rawName:"v-validate",value:{isValue:"false"},expression:"{ isValue: 'false' }"}],attrs:{type:"hidden",name:"noLicensePlateHiddenField"},domProps:{value:!e.isRetrievingVehicleInformation&&e.value.length===8&&!e.vehicleInformation.VehicleType&&Object.keys(e.vehicleInformation).length!==0}}),r("input",{directives:[{name:"validate",rawName:"v-validate",value:{isValue:"false"},expression:"{ isValue: 'false' }"}],attrs:{type:"hidden",name:"unknownLicensePlateHiddenField"},domProps:{value:e.isLicenseUnknown}}),e._t("errors",function(){return[r("ErrorHandler",{attrs:{name:e.name,"errors-data":e.errorsData}})]},{errors:e.errors,incorrectLicenseplate:e.incorrectLicensePlate}),e._t("vehicle-information",function(){return[!e.isRetrievingVehicleInformation&&e.vehicleInformation.Brand&&e.vehicleInformation.Model&&e.vehicleTypes.includes(e.vehicleInformation.VehicleType)&&e.value.length>=6&&!e.errors.has(e.name)?r("div",{staticClass:"d-flex flex-wrap align-items-center fz-medium mt-1",class:e.vdFormVersion==="1"?"vd-form-vehicle-name":""},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary mt-1"}),r("span",{staticClass:"mr-1"},[e._v(e._s(e.vehicleInformation.Brand))]),r("span",{staticClass:"mr-1"},[e._v(e._s(e.vehicleInformation.Model))]),r("span",[e._v("("+e._s(e.vehicleInformation.ManufacturingYear)+")")])]):e._e(),e.isRetrievingVehicleInformation?r("div",{staticClass:"d-flex align-items-center mt-1"},[r("span",{staticClass:"spinner-border spinner-small fz-medium spinner-border-sm mr-1 text-primary",attrs:{role:"status","aria-hidden":"true"}}),r("span",{staticClass:"fz-medium"},[e._v(" Voertuig gegevens ophalen ")])]):e._e()]},{loading:e.isRetrievingVehicleInformation,vehicleInformation:e.vehicleInformation})],2)},wk=[];cf._withStripped=!0;var df=J(bk,cf,wk,!1,null,null,null,null);df.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/LicensePlate.vue";const Vr=df.exports,Sk=b.defineComponent({name:"DefaultInput",props:{label:{type:String,required:!1,default:""},name:{type:String,required:!0},placeholder:{type:String,required:!1,default:""},validation:{required:!1,default:"required"},id:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1},mask:{type:String,required:!1,default:""},value:{required:!0},type:{type:String,validator:t=>["number","text"].includes(t),required:!0,default:""},hasPrepend:{type:Boolean,required:!1,default:!1},prependText:{type:String,required:!1,default:""},inputMode:{type:String,required:!1,default:"text"},disableValidationBlur:{type:Boolean,required:!1,default:!1},optionDisableValidationBlur:{type:Boolean,required:!1,default:!1},uId:{type:String,required:!1,default:""},hideLabel:{type:Boolean,required:!1,default:!1},readonly:{type:Boolean,required:!1,default:!1},removeCheckMark:{type:Boolean,required:!1,default:!1},autocompleteOff:{type:Boolean,required:!1,default:!1},isRequired:{type:Boolean,required:!1,default:!1},vdFormVersion:{required:!1,type:String,default:"0"}},emits:["input","change","focus","blur"],setup(t,{emit:e}){const r=b.computed(()=>t.inputMode==="zipcode"?"text":t.inputMode),n=c=>{e("input",c)},a=c=>{e("change",c)},i=c=>{e("focus");let f=c.srcElement.name;const l=ba.find({name:f+t.uId});(l!==null||l!==void 0&&l)&&(l.reset(),ce.remove(l.name,l.scope))},s=c=>{if(e("blur"),t.disableValidationBlur&&t.value||t.optionDisableValidationBlur)return;let f=c.srcElement.name;const l=ba.find({name:f+t.uId});(l!==null||l!==void 0&&l)&&Z.validate(l.name)};return b.onMounted(()=>{if(t.value){const c=ba.find({name:t.name+t.uId});(c!==null||c!==void 0&&c)&&Z.validate(c.name)}}),{inputModeChecker:r,inputValue:n,changeValue:a,resetFieldValidation:i,validateField:s,errors:ce}}});var ff=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-group",attrs:{id:"vd-form-group-"+e.id}},[e.hideLabel?e._e():r("label",{staticClass:"vd-form-group__label",attrs:{for:e.id}},[e.label?r("span",{domProps:{innerHTML:e._s(e.label)}}):r("span",[e._t("title")],2),e.isRequired&&e.label?r("span",{staticClass:"text-danger ml-1 mt-2"},[e._v("*")]):e._e()]),r("div",{class:{"input-group flex-nowrap":e.hasPrepend}},[e.hasPrepend?r("div",{staticClass:"input-group-prepend",class:{"input-group-text--active":e.value&&!e.errors.has(e.name+e.uId),"input-group-text--error":e.errors.has(e.name+e.uId)}},[r("span",{staticClass:"input-group-text",class:{"input-group-text--active":e.value&&!e.errors.has(e.name+e.uId),"input-group-text--error":e.errors.has(e.name+e.uId)},attrs:{id:"prepend-"+e.id},domProps:{innerHTML:e._s(e.prependText)}})]):e._e(),r("div",{class:{"vd-form-group--filled-in":e.type!=="hidden"&&e.value&&!e.errors.has(e.name+e.uId),"vd-form-group--filled-in-checkmark":e.type!=="hidden"&&!e.removeCheckMark&&e.value&&!e.errors.has(e.name+e.uId)&&(e.vdFormVersion!=="1"||!e.hasPrepend),"vd-form-group--error":e.type!=="hidden"&&!e.removeCheckMark&&e.errors.has(e.name+e.uId),"flex-grow-1":e.hasPrepend}},[r("input",{directives:[{name:"mask",rawName:"v-mask",value:e.mask,expression:"mask"},{name:"validate",rawName:"v-validate",value:e.validation,expression:"validation"}],staticClass:"vd-form-group__input form-control",class:{"vd-form-group__input--error":e.errors.has(e.name+e.uId)},attrs:{id:e.id,type:e.type,placeholder:e.placeholder,inputmode:e.inputModeChecker,name:e.name,disabled:e.disabled,autocomplete:e.autocompleteOff?"off":"on",readonly:e.readonly,"data-vv-name":e.name+e.uId,"data-vv-validate-on":"none"},domProps:{value:e.value},on:{input:function(n){return e.inputValue(n.target.value)},change:function(n){return e.changeValue(n.target.value)},focus:e.resetFieldValidation,blur:e.validateField}})])]),e._t("error-messages"),e._t("additional-info")],2)},Ok=[];ff._withStripped=!0;var hf=J(Sk,ff,Ok,!1,null,null,null,null);hf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultInput.vue";const He=hf.exports,kk=b.defineComponent({name:"DefaultSelect",props:{validation:{required:!1,default:"required"},label:{type:String,required:!1,default:""},name:{type:String,required:!0},hideLabel:{type:Boolean,required:!1,default:!1},placeholder:{type:String,required:!1,default:"Maak een keuze"},id:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1},value:{required:!0},options:{type:Array,required:!0},noDefaultPlaceholder:{type:Boolean,required:!1,default:!1},isRequired:{type:Boolean,required:!1,default:!1},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const r=b.ref(!1);return{changeValue:a=>{r.value=!0,e("input",a.target.value)},wasOptionChosen:r,errors:ce}}});var pf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-group"},[e.hideLabel?e._e():r("label",{staticClass:"vd-form-group__label",attrs:{for:e.id}},[e.label?r("span",[e._v(" "+e._s(e.label)+" ")]):r("span",[e._t("title")],2),e.isRequired&&e.label?r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v(" *")]):e._e()]),r("div",[r("div",{staticClass:"position-relative",class:{"vd-form-group--filled-in":e.value&&e.value!=="CHOOSE_OPTION"&&e.wasOptionChosen&&!e.errors.has(e.name),"vd-form-group--error vd-form-group--error--no-error-times":e.errors.has(e.name)}},[r("select",{directives:[{name:"validate",rawName:"v-validate",value:e.validation,expression:"validation"}],staticClass:"vd-form-group__input form-control",class:{"vd-form-group__input--error":e.errors.has(e.name)},attrs:{id:e.id,disabled:e.disabled,name:e.name},domProps:{value:e.value},on:{change:e.changeValue}},[e.noDefaultPlaceholder?e._e():r("option",{attrs:{value:""}},[e._v(" "+e._s(e.placeholder)+" ")]),e._l(e.options,function(n,a){return r("option",{key:n.value+"_"+a,attrs:{disabled:n.disabled||!1},domProps:{selected:n.selected||!1,value:n.value}},[e._v(" "+e._s(n.title)+" ")])})],2),r("label",{staticClass:"vd-form-group__select-icon cursor-pointer",attrs:{for:e.id}})])]),e._t("additional-info"),e._t("error-messages")],2)},Ck=[];pf._withStripped=!0;var mf=J(kk,pf,Ck,!1,null,null,null,null);mf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultSelect.vue";const Ae=mf.exports,xk=b.defineComponent({components:{DefaultInput:He,DefaultSelect:Ae,ErrorHandler:Be},props:{template:{type:String,default:"FORM",validator:t=>["FORM","USER_INFORMATION","NEW_USER_INFORMATION","PACKAGE","FORM_HORIZONTAL"].includes(t)},zipcode:{type:String,required:!0},houseNumber:{type:String,required:!0},houseNumberAddition:{type:String,required:!0},zipcodeName:{type:String,required:!0},houseNumberName:{type:String,required:!0},houseNumberAdditionName:{type:String,required:!0},showStreetAndCity:{type:Boolean,default:!0},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const r=b.ref(!1),n=b.ref(!1),a=b.ref(!1),i=b.ref(!0),s=b.ref(!1),c=b.ref(""),f=b.ref(""),l=b.ref(""),o=b.ref([]),d=b.ref({street:"",city:""}),h=b.ref(!1),u=[{rule:"required",text:"Vul je postcode in"},{rule:"regex",text:"Postcode is incorrect"}],m=[{rule:"required",text:"Huisnummer is verplicht"}],v=b.computed(()=>[{rule:ce.has(t.houseNumberAdditionName),text:"Een toevoeging is verplicht"}]),y=b.computed(()=>[{rule:a.value,text:"Postcode en huisnummer combinatie onbekend."}]),p=b.computed(()=>r.value?"-":"Kies toevoeging"),_=b.computed(()=>`${s.value?"":"required"}|is_not:CHOOSE_OPTION`),w=(G,V,Ve)=>se(this,null,function*(){try{if(!G||!V){De(""),l.value="CHOOSE_OPTION",a.value=!1,d.value.street="",d.value.city="",o.value=[{title:"Kies een toevoeging",value:"CHOOSE_OPTION",disabled:!0,selected:!0}];return}o.value=[],Ve&&(l.value="CHOOSE_OPTION"),o.value.push({title:"Kies een toevoeging",value:"CHOOSE_OPTION",disabled:!0,selected:!0}),s.value=yield R(G,V),s.value&&(o.value=[...o.value,{title:"Geen toevoeging",value:""}]),Fe.homeService.getAddition({zipcode:G,houseNumber:V}).then(ht=>{const kr=ht;if(i.value=!0,Rt(t.houseNumberAdditionName),kr.length){r.value=!1;for(let Xn=0;Xn<kr.length;Xn++)o.value=[...o.value,{title:kr[Xn],value:kr[Xn]}];a.value=!1,Ve||b.nextTick(()=>{l.value=t.houseNumberAddition,Me(G,V,t.houseNumberAddition)})}else o.value[1]&&(o.value[1].title="Geen toevoeging"),r.value=!0,l.value="",De(""),Me(G,V)}).catch(ht=>{a.value=!0,d.value.street="",d.value.city="",e("address-correct",!a.value),Rt("housenumberaddition"),console.error("Error fetching additions:",ht)})}catch(ht){console.error("Error in getHouseNumberAdditions:",ht)}}),R=(G,V)=>se(this,null,function*(){return yield Fe.dataValidationService.validateZipCode(G,V).then(()=>!0).catch(()=>!1)}),q=G=>{h.value=!0,c.value=G.toUpperCase(),e("update-zipcode",G.toUpperCase()),b.nextTick(()=>{w(G.toUpperCase(),t.houseNumber,!0)})},he=G=>{h.value=!0,e("update-house-number",G),b.nextTick(()=>{w(t.zipcode,G,!0)})},De=G=>{e("update-house-number-addition",G),Me(t.zipcode,t.houseNumber,G)},Me=(G,V,Ve="")=>se(this,null,function*(){try{if(!G||!V)return;n.value=!0,a.value=!1,d.value.street="",d.value.city="",e("address-correct",!a.value);const{Street:ht,Place:kr}=yield Fe.dataValidationService.validateZipCode(G,V,Ve);h.value=!1,d.value.street=ht,d.value.city=kr,e("update-house-information",d.value),n.value=!1}catch(ht){a.value=!0,n.value=!1,e("address-correct",!a.value),Rt("housenumberaddition"),console.error("Error getting house information:",ht)}}),Rt=G=>{var Ve;const V=Z.fields.find({name:G});(V!==null||V!==void 0&&V)&&(V==null||V.reset(),(Ve=Z==null?void 0:Z.errors)==null||Ve.remove(V==null?void 0:V.name,V==null?void 0:V.scope))};return b.onMounted(()=>{b.nextTick(()=>{c.value=t.zipcode,f.value=t.houseNumber,w(t.zipcode,t.houseNumber,!1)})}),{additionLabel:p,additionValidationRules:_,disableAdditionField:r,isLoading:n,addressError:a,firstTimeCalled:i,canBeWithoutAddition:s,zipcodeModel:c,houseNumberModel:f,houseAdditionNumberModel:l,additions:o,houseInformation:d,isAddressEditing:h,getHouseNumberAdditions:w,getHouseInformationWithoutAddition:R,updateZipcode:q,updateHouseNumber:he,updateHouseNumberAddition:De,getHouseInformation:Me,resetFieldValidation:Rt,props:t,errors:ce,zipcodeErrorsData:u,houseNumberErrorsData:m,houseNumberAdditionErrorsData:v,addressErrorsData:y}}});var vf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-group"},[r("span",[e.template==="FORM"?r("div",{staticClass:"component-mb-1"},[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[r("default-input",{attrs:{id:e.zipcodeName,mask:"####AA","autocomplete-off":!0,placeholder:"bv. 1234AZ",validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.zipcodeName,"is-required":!0},on:{change:e.updateZipcode},model:{value:e.zipcodeModel,callback:function(n){e.zipcodeModel=n},expression:"zipcodeModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.zipcodeName,"errors-data":e.zipcodeErrorsData}})],1)],2)],1)]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-4"},[r("default-input",{staticClass:"mb-md-0",attrs:{id:"houseNumber","autocomplete-off":!0,placeholder:"bv. 1",validation:"required|numeric",label:"Huisnummer",type:"text",name:e.houseNumberName,"is-required":!0},on:{change:e.updateHouseNumber},model:{value:e.houseNumberModel,callback:function(n){e.houseNumberModel=n},expression:"houseNumberModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.houseNumberName,"errors-data":e.houseNumberErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-8"},[r("default-select",{staticClass:"mb-0",attrs:{id:"additions",validation:e.additionValidationRules,"no-default-placeholder":!0,disabled:e.disableAdditionField,name:e.houseNumberAdditionName,placeholder:e.additionLabel,options:e.additions},on:{input:e.updateHouseNumberAddition},scopedSlots:e._u([{key:"title",fn:function(){return[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},disabled:e.addressError||!e.disableAdditionField,"visible-arrow":e.vdFormVersion!=="1",trigger:"hover"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[e._v(" Toevoeging ")]),e._v(" Voor "),e.houseInformation.street&&e.houseInformation.city?r("span",[e._v(" "+e._s(e.houseInformation.street)+" "+e._s(e.houseNumberModel)+", "+e._s(e.houseInformation.city)+" ")]):r("span",[e._v(" dit adres ")]),e._v(" hebben we geen toevoegingen kunnen vinden. ")]),r("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Toevoeging "),e.disableAdditionField&&!e.addressError?r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary cursor-pointer",attrs:{id:"popover-target"}}):e._e(),!e.disableAdditionField&&!e.addressError&&e.additions.length>2?r("span",{staticClass:"text-danger ml-1"},[e._v(" *")]):e._e()])])]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{"errors-data":e.houseNumberAdditionErrorsData}})]},proxy:!0}],null,!1,394698098),model:{value:e.houseAdditionNumberModel,callback:function(n){e.houseAdditionNumberModel=n},expression:"houseAdditionNumberModel"}})],1)]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[e.isLoading?e._e():r("div",[e.showStreetAndCity&&!e.isAddressEditing&&e.houseInformation.street&&e.houseInformation.city?r("div",{staticClass:"fz-medium mt-1"},[r("i",{staticClass:"fa-map-marker-alt",class:e.vdFormVersion==="1"?"fas vd-tip-icon":"fad text-primary"}),e._v(" "+e._s(e.houseInformation.street)+", "+e._s(e.houseInformation.city)+" ")]):e._e(),e.addressError?r("div",{staticClass:"vd-form-error mb-0"},[r("i",{staticClass:"fas fa-info-circle"}),e._v(" Postcode en huisnummer combinatie onbekend. ")]):e._e()]),e.isLoading?r("div",{staticClass:"d-flex align-items-center mt-1"},[r("span",{staticClass:"spinner-border spinner-small fz-medium spinner-border-sm mr-1 text-primary",attrs:{role:"status","aria-hidden":"true"}}),r("span",{staticClass:"fz-medium"},[e._v(" Adres ophalen ")])]):e._e()])])]):e._e(),e.template==="FORM_HORIZONTAL"?r("div",{staticClass:"component-mb-1"},[r("span",{staticClass:"vd-form-card__content p-0"},[r("div",{staticClass:"vd-form-group mb-0"},[r("default-input",{staticClass:"mx-0 mb-lg-0",attrs:{id:e.zipcodeName,mask:"####AA","autocomplete-off":!0,validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.zipcodeName,"is-required":!0},on:{change:e.updateZipcode},model:{value:e.zipcodeModel,callback:function(n){e.zipcodeModel=n},expression:"zipcodeModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.zipcodeName,"errors-data":e.zipcodeErrorsData}})],1)],2)],1),r("div",{staticClass:"vd-form-group mb-0"},[r("default-input",{staticClass:"mx-0 mb-lg-0",attrs:{id:"houseNumber","autocomplete-off":!0,validation:"required|numeric",label:"Huisnummer",type:"text",name:e.houseNumberName,"is-required":!0},on:{change:e.updateHouseNumber},model:{value:e.houseNumberModel,callback:function(n){e.houseNumberModel=n},expression:"houseNumberModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.houseNumberName,"errors-data":e.houseNumberErrorsData}})],1)],2)],1),r("div",{staticClass:"vd-form-group mb-0"},[r("default-select",{staticClass:"mx-0",class:{"mb-0":e.houseInformation.street&&e.houseInformation.city},attrs:{id:"additions",validation:e.additionValidationRules,disabled:e.disableAdditionField,name:e.houseNumberAdditionName,"no-default-placeholder":!0,placeholder:e.additionLabel,options:e.additions},on:{input:e.updateHouseNumberAddition},scopedSlots:e._u([{key:"title",fn:function(){return[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},disabled:e.addressError||!e.disableAdditionField,"visible-arrow":e.vdFormVersion!=="1",trigger:"hover"}},[r("div",{staticClass:"popover popper"},[r("div",{staticClass:"popover-header"},[e._v(" Toevoeging ")]),e._v(" Voor "),e.houseInformation.street&&e.houseInformation.city?r("span",[e._v(" "+e._s(e.houseInformation.street)+" "+e._s(e.houseNumberModel)+", "+e._s(e.houseInformation.city)+" ")]):r("span",[e._v(" dit adres ")]),e._v(" hebben we geen toevoegingen kunnen vinden. ")]),r("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Toevoeging "),e.disableAdditionField&&!e.addressError?r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary cursor-pointer",attrs:{id:"popover-target"}}):e._e()])])]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{"errors-data":e.houseNumberAdditionErrorsData}})]},proxy:!0}],null,!1,2867007919),model:{value:e.houseAdditionNumberModel,callback:function(n){e.houseAdditionNumberModel=n},expression:"houseAdditionNumberModel"}})],1)]),e.isLoading?e._e():r("div",[e.showStreetAndCity&&e.houseInformation.street&&e.houseInformation.city?r("div",{staticClass:"fz-medium mt-1"},[r("i",{staticClass:"fa-map-marker-alt",class:e.vdFormVersion==="1"?"fas vd-tip-icon":"fad text-primary"}),e._v(" "+e._s(e.houseInformation.street)+", "+e._s(e.houseInformation.city)+" ")]):e._e(),e.addressError?r("div",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Postcode en huisnummer combinatie onbekend. ")]):e._e()]),e.isLoading?r("div",{staticClass:"d-flex align-items-center mt-1"},[r("span",{staticClass:"spinner-border spinner-small fz-medium spinner-border-sm mr-1 text-primary",attrs:{role:"status","aria-hidden":"true"}}),r("span",{staticClass:"fz-medium"},[e._v(" Adres ophalen ")])]):e._e()]):e._e(),e.template==="USER_INFORMATION"?r("div",[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-3"},[r("default-input",{attrs:{id:e.zipcodeName,mask:"####AA","autocomplete-off":!0,validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.zipcodeName,"is-required":!0},on:{change:e.updateZipcode},model:{value:e.zipcodeModel,callback:function(n){e.zipcodeModel=n},expression:"zipcodeModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.zipcodeName,"errors-data":e.zipcodeErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-3"},[r("default-input",{attrs:{id:"houseNumber","autocomplete-off":!0,validation:"required|numeric",label:"Huisnummer",type:"text",name:e.houseNumberName,"is-required":!0},on:{change:e.updateHouseNumber},model:{value:e.houseNumberModel,callback:function(n){e.houseNumberModel=n},expression:"houseNumberModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.houseNumberName,"errors-data":e.houseNumberErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-6"},[r("default-select",{attrs:{id:"additions",validation:e.additionValidationRules,disabled:e.disableAdditionField,name:e.houseNumberAdditionName,"no-default-placeholder":!0,placeholder:e.additionLabel,options:e.additions},on:{input:e.updateHouseNumberAddition},scopedSlots:e._u([{key:"title",fn:function(){return[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},disabled:e.addressError||!e.disableAdditionField,"visible-arrow":e.vdFormVersion!=="1",trigger:"hover"}},[r("div",{staticClass:"popover popper"},[r("div",{staticClass:"popover-header"},[e._v(" Toevoeging ")]),e._v(" Voor "),e.houseInformation.street&&e.houseInformation.city?r("span",[e._v(" "+e._s(e.houseInformation.street)+" "+e._s(e.houseNumberModel)+", "+e._s(e.houseInformation.city)+" ")]):r("span",[e._v(" dit adres ")]),e._v(" hebben we geen toevoegingen kunnen vinden. ")]),r("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Toevoeging "),e.disableAdditionField&&!e.addressError?r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary cursor-pointer",attrs:{id:"popover-target"}}):e._e()])])]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{"errors-data":e.houseNumberAdditionErrorsData}})]},proxy:!0}],null,!1,2867007919),model:{value:e.houseAdditionNumberModel,callback:function(n){e.houseAdditionNumberModel=n},expression:"houseAdditionNumberModel"}})],1)]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[r("div",{staticClass:"mb-2"},[e.addressError?r("div",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-info-circle"}),e._v(" Postcode en huisnummer combinatie onbekend. ")]):e._e()])])])]):e._e(),e.template==="NEW_USER_INFORMATION"?r("div",[r("div",{staticClass:"row mt-2"},[r("div",{staticClass:"col-xl-4 col-lg-5 col-md-5"},[r("label",{staticClass:"mt-2 font-weight-bold cursor-pointer",attrs:{for:e.zipcodeName}},[e._v(" Postcode ")])]),r("div",{staticClass:"col-md-3"},[r("default-input",{attrs:{id:e.zipcodeName,"hide-label":!0,mask:"####AA","autocomplete-off":!0,validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.zipcodeName,"is-required":!0},on:{change:e.updateZipcode},model:{value:e.zipcodeModel,callback:function(n){e.zipcodeModel=n},expression:"zipcodeModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.zipcodeName,"errors-data":e.zipcodeErrorsData}})],1)],2)],1)]),r("div",{staticClass:"row mt-2"},[r("div",{staticClass:"col-xl-4 col-lg-5 col-md-5"},[r("label",{staticClass:"mt-2 font-weight-bold cursor-pointer",attrs:{for:e.houseNumberName}},[e._v(" Huisnummer en toevoeging ")])]),r("div",{staticClass:"col-md-3"},[r("default-input",{attrs:{id:"houseNumber","hide-label":!0,"autocomplete-off":!0,validation:"required|numeric",type:"text",name:e.houseNumberName,"is-required":!0},on:{change:e.updateHouseNumber},model:{value:e.houseNumberModel,callback:function(n){e.houseNumberModel=n},expression:"houseNumberModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.houseNumberName,"errors-data":e.houseNumberErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-3"},[r("default-select",{attrs:{id:"additions",validation:e.additionValidationRules,"hide-label":!0,"no-default-placeholder":!0,disabled:e.disableAdditionField,name:e.houseNumberAdditionName,placeholder:e.additionLabel,options:e.additions},on:{input:e.updateHouseNumberAddition},scopedSlots:e._u([{key:"title",fn:function(){return[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},disabled:e.addressError||!e.disableAdditionField,"visible-arrow":e.vdFormVersion!=="1",trigger:"hover"}},[r("div",{staticClass:"popover popper"},[r("div",{staticClass:"popover-header"},[e._v(" Toevoeging ")]),e._v(" Voor "),e.houseInformation.street&&e.houseInformation.city?r("span",[e._v(" "+e._s(e.houseInformation.street)+" "+e._s(e.houseNumberModel)+", "+e._s(e.houseInformation.city)+" ")]):r("span",[e._v(" dit adres ")]),e._v(" hebben we geen toevoegingen kunnen vinden. ")]),r("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Toevoeging "),e.disableAdditionField&&!e.addressError?r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary cursor-pointer",attrs:{id:"popover-target"}}):e._e()])])]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{"errors-data":e.houseNumberAdditionErrorsData}})]},proxy:!0}],null,!1,2867007919),model:{value:e.houseAdditionNumberModel,callback:function(n){e.houseAdditionNumberModel=n},expression:"houseAdditionNumberModel"}})],1)])]):e._e(),e.template==="PACKAGE"?r("div",[r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-4"},[r("default-input",{staticClass:"mx-0",attrs:{id:e.zipcodeName,mask:"####AA","autocomplete-off":!0,validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.zipcodeName,"is-required":!0},on:{change:e.updateZipcode},model:{value:e.zipcodeModel,callback:function(n){e.zipcodeModel=n},expression:"zipcodeModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.zipcodeName,"errors-data":e.zipcodeErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-4"},[r("default-input",{staticClass:"mx-0",attrs:{id:"houseNumber","autocomplete-off":!0,validation:"required|numeric",label:"Huisnummer",type:"text",name:e.houseNumberName,"is-required":!0},on:{change:e.updateHouseNumber},model:{value:e.houseNumberModel,callback:function(n){e.houseNumberModel=n},expression:"houseNumberModel"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:e.houseNumberName,"errors-data":e.houseNumberErrorsData}})],1)],2)],1),r("div",{staticClass:"col-md-4"},[r("default-select",{staticClass:"mx-0",attrs:{id:"additions",validation:e.additionValidationRules,disabled:e.disableAdditionField,name:e.houseNumberAdditionName,"no-default-placeholder":!0,placeholder:e.additionLabel,options:e.additions},on:{input:e.updateHouseNumberAddition},scopedSlots:e._u([{key:"title",fn:function(){return[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},disabled:e.addressError||!e.disableAdditionField,"visible-arrow":e.vdFormVersion!=="1",trigger:"hover"}},[r("div",{staticClass:"popover popper"},[r("div",{staticClass:"popover-header"},[e._v(" Toevoeging ")]),e._v(" Voor "),e.houseInformation.street&&e.houseInformation.city?r("span",[e._v(" "+e._s(e.houseInformation.street)+" "+e._s(e.houseNumberModel)+", "+e._s(e.houseInformation.city)+" ")]):r("span",[e._v(" dit adres ")]),e._v(" hebben we geen toevoegingen kunnen vinden. ")]),r("span",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Toevoeging "),e.disableAdditionField&&!e.addressError?r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary cursor-pointer",attrs:{id:"popover-target"}}):e._e()])])]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{"errors-data":e.houseNumberAdditionErrorsData}})]},proxy:!0}],null,!1,2867007919),model:{value:e.houseAdditionNumberModel,callback:function(n){e.houseAdditionNumberModel=n},expression:"houseAdditionNumberModel"}})],1)]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-12"},[r("div",{staticClass:"mb-2"},[e.showStreetAndCity&&e.houseInformation.street&&e.houseInformation.city?r("div",{staticClass:"text-success fz-small font-weight-bold"},[r("i",{staticClass:"fas fa-info-circle"}),e._v(" "+e._s(e.houseInformation.street)+", "+e._s(e.houseInformation.city)+" ")]):e._e(),r("ErrorHandler",{attrs:{"errors-data":e.addressErrorsData}})],1)])])]):e._e(),r("input",{directives:[{name:"model",rawName:"v-model",value:e.addressError,expression:"addressError"},{name:"validate",rawName:"v-validate",value:{isValue:"false"},expression:"{ isValue: 'false' }"}],attrs:{type:"hidden",name:"hidden-adress-error"},domProps:{value:e.addressError},on:{input:function(n){n.target.composing||(e.addressError=n.target.value)}}})])])},Mk=[];vf._withStripped=!0;var _f=J(xk,vf,Mk,!1,null,null,null,null);_f.options.__file="/Users/mac/Work/comparison-forms/src/components/common/AddressHandler.vue";const Ur=_f.exports,Pk=b.defineComponent({name:"ClaimFreeYearsModalContent",props:{maxClaimFreeYearsOptions:{required:!0},vdFormVersion:{required:!1,type:String,default:"0"}},components:{DefaultSelect:Ae},setup(t,{emit:e}){const r=b.ref("ONE"),n=b.ref("0");return{step:r,claimFreeYears:n,setClaimFreeYears:()=>{e("set-claim-free-years",n.value)},closeModal:()=>{e("close-modal")}}}});var yf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",[e.step==="ONE"?r("section",[r("p",[e._v(" Heb je in de afgelopen 3 jaar een auto- of motorverzekering op je eigen naam gehad die je hebt opgezegd? ")]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-6"},[r("div",{staticClass:"mb-md-0 mb-2",class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:function(n){e.step="ONE_ONE"}}},[e._v(" Ja ")])]),r("div",{staticClass:"col-md-6"},[r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:function(n){e.step="ONE_TWO"}}},[e._v(" Nee ")])])])]):e._e(),e.step==="ONE_ONE"?r("section",[r("p",[e._v(" Hoeveel aaneengesloten jaren heb je deze auto- of motorverzekering gehad zonder schades te claimen? ")]),r("default-select",{staticClass:"mx-0 mb-3",attrs:{id:"ClaimFreeYears",options:e.maxClaimFreeYearsOptions,name:"ClaimFreeYears",label:"Aantal schadevrije jaren","no-default-placeholder":!0},on:{input:e.setClaimFreeYears},model:{value:e.claimFreeYears,callback:function(n){e.claimFreeYears=n},expression:"claimFreeYears"}}),r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:e.closeModal}},[e._v(" Sluit venster ")])],1):e._e(),e.step==="ONE_TWO"?r("section",[r("p",[e._v(" Wil je gebruik maken van schadevrije jaren van een auto- of motorverzekering die momenteel al loopt? ")]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-6"},[r("div",{staticClass:"mb-md-0 mb-2",class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:function(n){e.step="TWO_TWO"}}},[e._v(" Ja ")])]),r("div",{staticClass:"col-md-6"},[r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:function(n){e.step="TWO_ONE"}}},[e._v(" Nee ")])])])]):e._e(),e.step==="TWO_ONE"?r("section",[r("p",[e._v(" Je hebt helaas geen schadevrije jaren beschikbaar voor je nieuwe voertuig. Omdat je nog geen beschikbare schadevrije jaren hebt voor je nieuwe voertuig, begin je met 0 schadevrije jaren. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. ")]),r("div",{staticClass:"mb-md-0 mb-2",class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:e.closeModal}},[e._v(" Sluit venster ")])]):e._e(),e.step==="TWO_TWO"?r("section",[r("p",[e._v(" Je huidige verzekeraar zal je schadevrije jaren vrijgeven nadat je deze hebt opgezegd. Je kunt ze daarom gebruiken voor je nieuwe voertuig. Ik ga mijn huidige verzekering opzeggen. ")]),r("div",{staticClass:"row"},[r("div",{staticClass:"col-md-6"},[r("div",{staticClass:"mb-md-0 mb-2",class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:function(n){e.step="THREE_TWO"}}},[e._v(" Ja ")])]),r("div",{staticClass:"col-md-6",on:{click:function(n){e.step="TWO_ONE"}}},[r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer"},[e._v(" Nee ")])])])]):e._e(),e.step==="THREE_TWO"?r("section",[r("p",[e._v(" Hoeveel aaneengesloten jaren heb je deze auto- of motorverzekering gehad zonder schades te claimen? ")]),r("default-select",{staticClass:"mx-0 mb-3",attrs:{id:"ClaimFreeYears",options:e.maxClaimFreeYearsOptions,name:"ClaimFreeYears",label:"Aantal schadevrije jaren","no-default-placeholder":!0},on:{input:e.setClaimFreeYears},model:{value:e.claimFreeYears,callback:function(n){e.claimFreeYears=n},expression:"claimFreeYears"}}),r("div",{staticClass:"mb-md-0 mb-2",class:e.vdFormVersion==="1"?"vd-btn vd-btn-primary vd-btn-w-100":"btn-a btn-a--primary btn-a--bold btn-block cursor-pointer",on:{click:e.closeModal}},[e._v(" Sluit venster ")])],1):e._e()])},Rk=[];yf._withStripped=!0;var gf=J(Pk,yf,Rk,!1,null,"659d0a00",null,null);gf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/modals/ClaimFreeYearsModalContent.vue";const bf=gf.exports,Dk=b.defineComponent({props:{hasLoader:{type:Boolean,default:!1},noTitle:{type:Boolean,default:!0},hasBorderTitle:{type:Boolean,default:!0},hasNewStyle:{type:Boolean,default:!1}},setup(t){return{cardClasses:b.computed(()=>({"text-center":t.hasLoader,"vd-card-simple--new":t.hasNewStyle}))}}});var wf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-card-simple",class:{"text-center":e.hasLoader,"vd-card-simple--new":e.hasNewStyle}},[e.noTitle?r("p",{staticClass:"vd-card-simple__title",class:{"border-bottom-0 mb-0":e.hasLoader,"border-bottom-0 mb-0":e.hasBorderTitle}},[e._t("title")],2):e._e(),e._t("default"),e.hasLoader?r("loader"):e._e()],2)},jk=[];wf._withStripped=!0;var Sf=J(Dk,wf,jk,!1,null,null,null,null);Sf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/SimpleCard.vue";const lt=Sf.exports;function $k(t){return t.valueOf().toString().substr(6,12)}function Fi(){function t(e){const r=$k(new Date);return`${e}-${r}`}return{inputId:t}}const Tk=b.defineComponent({name:"BirthdateInput",components:{ErrorHandler:Be,DefaultInput:He},props:{vdFormVersion:{required:!1,type:String,default:"0"},agesRange:{required:!1,default:()=>({min:18,max:99})}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fi(),a=b.ref(+k().format("YYYY")),i=b.computed(()=>[{rule:"required",text:"Geboortedatum is verplicht"},{rule:"date_format",text:"Geboortedatum is incorrect"},{rule:"ageRange",text:`Je dient tussen ${a.value-t.agesRange.max} en ${a.value-t.agesRange.min} te zijn geboren`}]);return{inputId:n,attrs:e,listeners:r,errorsData:i,currentYear:a}}});var Of=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("DefaultInput",e._g(e._b({attrs:{id:e.inputId("birthdate"),name:"birthdate",type:"text",placeholder:"DD-MM-YYYY",label:"Geboortedatum",mask:"##-##-####",validation:`required|date_format:dd-MM-yyyy|ageRange:${e.agesRange.min},${e.agesRange.max}`,"is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"birthdate","errors-data":e.errorsData}})]},proxy:!0}])},"DefaultInput",e.attrs,!1),e.listeners))},Fk=[];Of._withStripped=!0;var kf=J(Tk,Of,Fk,!1,null,null,null,null);kf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/BirthdateInput.vue";const Ct=kf.exports,Ak=b.defineComponent({name:"MotorForm",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,DefaultSelect:Ae,ClaimFreeYearsModalContent:bf,SimpleCard:lt,BirthdateInput:Ct,ErrorHandler:Be},props:{link:{type:String,required:!1},classes:{required:!1,type:String,default:""},isOnResultPage:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Motorverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},buttonOptions:{required:!1},userInformation:{required:!1,default(){return{}}},insuranceState:{required:!1,default(){return{}}},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:c,minAge:f,maxAge:l,claimFreeYearsErrorData:o,buttonStyles:d,maxClaimFreeYears:h,onLicenseError:u,onLicenseInput:m,validateBeforeSubmit:v,HouseInformation:y,vehicle:p,getClaimFreeYearsSelectOptions:_,isModalOpen:w,birthDateYear:R,openClaimFreeYearModal:q,setClaimFreeYears:he,getHouseInformation:De,getLicenseInformation:Me}=Wu(t,e,Fe);return{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:c,minAge:f,maxAge:l,claimFreeYearsErrorData:o,buttonStyles:d,maxClaimFreeYears:h,onLicenseError:u,onLicenseInput:m,validateBeforeSubmit:v,HouseInformation:y,licenseInformation:sr,vehicle:p,getClaimFreeYearsSelectOptions:_,isModalOpen:w,birthDateYear:R,openClaimFreeYearModal:q,setClaimFreeYears:he,getHouseInformation:De,getLicenseInformation:Me,errors:ce,userInformation:C,motorState:ge}}});var Cf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes}},[r("form",{ref:"motor-form",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("license-plate",{attrs:{id:"license","prop-vehicle-information":e.vehicle,"vehicle-types":["Motor","MP3Motor"],"vehicle-type":"motor","insurance-dutch-naming":"motor",name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-error":e.onLicenseError,"on-vehicle-information-update":n=>e.licenseInformation.motor=n},model:{value:e.motorState.license,callback:function(n){e.$set(e.motorState,"license",n)},expression:"motorState.license"}}),r("address-handler",{attrs:{"zipcode-name":"zipcode","house-number-name":"housenumber","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition,"vd-form-version":e.vdFormVersion},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}}),r("div",{staticClass:"vd-form-group"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}})],1),r("div",{staticClass:"vd-form-group"},[r("default-select",{staticClass:"mx-0",attrs:{id:"claimFreeYears",options:e.getClaimFreeYearsSelectOptions,"no-default-placeholder":!0,name:"claimfreeyears","is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"d-flex flex-no-wrap"},[e._v(" Schadevrije jaren "),r("span",{staticClass:"text-danger ml-1"},[e._v(" *")]),r("popper",{attrs:{options:{placement:"top",modifiers:{offset:{offset:"0,5px"}}},trigger:"hover","visible-arrow":e.vdFormVersion!=="1"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary mt-1"}),e._v(" Schadevrije jaren ")]),e._v(" Je bouwt alleen schadevrije jaren op als een motor of auto op jouw naam is verzekerd geweest. Schadevrije jaren geven je korting op de premie. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. Schadevrije jaren die ja al in gebruik zijn op een lopende auto- of motorverzekering, kun je niet tegelijkertijd op een tweede voertuig gebruiken. "),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[e._v(" Bereken je schadevrije jaren! ")]):e._e()]),r("i",{staticClass:"fas ml-1",class:e.vdFormVersion==="1"?"fa-info-circle vd-info-icon":"fa-question-circle text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"})])],1)]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"claimFreeYears","errors-data":e.claimFreeYearsErrorData}})]},proxy:!0},{key:"additional-info",fn:function(){return[e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[r("i",{staticClass:"fas fa-question-circle ml-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"}),e._v(" Bereken je schadevrije jaren! ")]):e._e()]},proxy:!0}]),model:{value:e.motorState.claimFreeYears,callback:function(n){e.$set(e.motorState,"claimFreeYears",n)},expression:"motorState.claimFreeYears"}})],1),r("div",{staticClass:"vd-form-group"},[r("default-select",{attrs:{id:"kilometrage",options:e.kilometrages,"no-default-placeholder":!0,name:"kilometrage",label:"Aantal kilometer per jaar","is-required":!0,"vd-form-version":e.vdFormVersion},model:{value:e.motorState.kilometrage,callback:function(n){e.$set(e.motorState,"kilometrage",n)},expression:"motorState.kilometrage"}})],1),r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])],1)]),r("b-modal",{attrs:{title:"Bereken je schadevrije jaren!",static:"",centered:"","no-fade":"","modal-class":"form-modal vd-form-modal_popup","hide-footer":""},model:{value:e.isModalOpen,callback:function(n){e.isModalOpen=n},expression:"isModalOpen"}},[e.isModalOpen?r("claim-free-years-modal-content",{attrs:{"current-claim-free-years":e.motorState.claimFreeYears,"max-claim-free-years-options":e.getClaimFreeYearsSelectOptions,"vd-form-version":e.vdFormVersion},on:{"set-claim-free-years":e.setClaimFreeYears,"close-modal":function(n){e.isModalOpen=!1}}}):e._e()],1)],1)},Ek=[];Cf._withStripped=!0;var xf=J(Ak,Cf,Ek,!1,null,null,null,null);xf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorForm.vue";const Ik=xf.exports,Yk=b.defineComponent({name:"MotorFormHorizontal",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,DefaultSelect:Ae,ClaimFreeYearsModalContent:bf,SimpleCard:lt,BirthdateInput:Ct},props:{link:{type:String,required:!1},classes:{required:!1,type:String,default:""},isOnResultPage:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Motorverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},buttonOptions:{required:!1},userInformation:{required:!1},insuranceState:{required:!1},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:c,minAge:f,maxAge:l,claimFreeYearsErrorData:o,buttonStyles:d,maxClaimFreeYears:h,onLicenseError:u,onLicenseInput:m,validateBeforeSubmit:v,HouseInformation:y,vehicle:p,getClaimFreeYearsSelectOptions:_,isModalOpen:w,birthDateYear:R,openClaimFreeYearModal:q,setClaimFreeYears:he,getHouseInformation:De,getLicenseInformation:Me}=Wu(t,e,Fe);return{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:c,minAge:f,maxAge:l,claimFreeYearsErrorData:o,buttonStyles:d,maxClaimFreeYears:h,onLicenseError:u,onLicenseInput:m,validateBeforeSubmit:v,HouseInformation:y,licenseInformation:sr,vehicle:p,getClaimFreeYearsSelectOptions:_,isModalOpen:w,birthDateYear:R,openClaimFreeYearModal:q,setClaimFreeYears:he,getHouseInformation:De,getLicenseInformation:Me,errors:ce,userInformation:C,motorState:ge}}});var Mf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("simple-card",{staticClass:"vd-form-card vd-form-card--horizontal",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes}},[r("form",{ref:"motor-form",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content mb-0 pb-0 pb-lg-3"},[r("license-plate",{attrs:{id:"license","prop-vehicle-information":e.vehicle,"vehicle-types":["Motor","MP3Motor"],"vehicle-type":"motor","insurance-dutch-naming":"motor",name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-error":e.onLicenseError,"on-vehicle-information-update":n=>e.licenseInformation.motor=n},model:{value:e.motorState.license,callback:function(n){e.$set(e.motorState,"license",n)},expression:"motorState.license"}}),r("div",{staticClass:"vd-form-group vd-form-group--address-handler-moped mb-0"},[r("address-handler",{attrs:{"zipcode-name":"zipcode","house-number-name":"housenumber",template:"FORM_HORIZONTAL","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition,"vd-form-version":e.vdFormVersion},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}})],1)],1),r("div",{staticClass:"vd-form-card__content mb-0 pb-3"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}}),r("div",{staticClass:"vd-form-group"},[r("default-select",{staticClass:"mx-0",attrs:{id:"claimFreeYears",options:e.getClaimFreeYearsSelectOptions,"no-default-placeholder":!0,name:"claimfreeyears","is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"d-flex flex-no-wrap"},[e._v(" Schadevrije jaren "),r("span",{staticClass:"text-danger ml-1"},[e._v(" *")]),r("popper",{attrs:{options:{placement:"top",modifiers:{offset:{offset:"0,5px"}}},trigger:"hover","visible-arrow":e.vdFormVersion!=="1"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary mt-1"}),e._v(" Schadevrije jaren ")]),e._v(" Je bouwt alleen schadevrije jaren op als een motor of auto op jouw naam is verzekerd geweest. Schadevrije jaren geven je korting op de premie. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. Schadevrije jaren die ja al in gebruik zijn op een lopende auto- of motorverzekering, kun je niet tegelijkertijd op een tweede voertuig gebruiken. "),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[e._v(" Bereken je schadevrije jaren! ")]):e._e()]),r("i",{staticClass:"fas ml-1",class:e.vdFormVersion==="1"?"fa-info-circle vd-info-icon":"fa-question-circle text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"})])],1)]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"claimFreeYears","errors-data":e.claimFreeYearsErrorData}})]},proxy:!0}]),model:{value:e.motorState.claimFreeYears,callback:function(n){e.$set(e.motorState,"claimFreeYears",n)},expression:"motorState.claimFreeYears"}}),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[r("i",{staticClass:"fas fa-question-circle ml-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"}),e._v(" Bereken je schadevrije jaren! ")]):e._e()],1),r("default-select",{attrs:{id:"kilometrage",options:e.kilometrages,"no-default-placeholder":!0,name:"kilometrage",label:"Aantal kilometer per jaar","is-required":!0,"vd-form-version":e.vdFormVersion},model:{value:e.motorState.kilometrage,callback:function(n){e.$set(e.motorState,"kilometrage",n)},expression:"motorState.kilometrage"}})],1),r("div",{staticClass:"vd-form-card__content"},[r("div",{staticClass:"vd-form-group"},[r("div",{staticClass:"row justify-content-end"},[r("div",{staticClass:"col-md-3 col-12"},[r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])])])])]),r("b-modal",{attrs:{title:"Bereken je schadevrije jaren!",static:"",centered:"","no-fade":"","modal-class":"form-modal vd-form-modal_popup","hide-footer":""},model:{value:e.isModalOpen,callback:function(n){e.isModalOpen=n},expression:"isModalOpen"}},[e.isModalOpen?r("claim-free-years-modal-content",{attrs:{"current-claim-free-years":e.motorState.claimFreeYears,"max-claim-free-years-options":e.getClaimFreeYearsSelectOptions,"vd-form-version":e.vdFormVersion},on:{"set-claim-free-years":e.setClaimFreeYears,"close-modal":function(n){e.isModalOpen=!1}}}):e._e()],1)],1)},Nk=[];Mf._withStripped=!0;var Pf=J(Yk,Mf,Nk,!1,null,null,null,null);Pf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorFormHorizontal.vue";const Lk=Pf.exports;var Fn=(t=>(t.Horizontal="horizontal",t.Vertical="vertical",t))(Fn||{}),Rf=(t=>(t.Brommobiel="60",t))(Rf||{});const Bk=b.defineComponent({name:"LoanAmount",components:{DefaultInput:He,DefaultSelect:Ae,ErrorHandler:Be},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fi();return{inputId:n,attrs:e,listeners:r,errors:ce,loansErrorData:[{rule:"required",text:"Leenbedrag is verplicht"},{rule:"min_value",text:"Je kunt niet minder dan €2500,- lenen. Vul een hoger bedrag in"},{rule:"max_value",text:"De input mag niet groter zijn dan de maximum waarde: 75000"}]}}});var Df=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("default-input",e._g(e._b({attrs:{id:e.inputId("loanAmount"),label:"Leenbedrag",name:"loanAmount",type:"text","prepend-text":"€",placeholder:"bv. 10 000",mask:"#####","has-prepend":!0,validation:"required|min_value:2500|max_value:75000","is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"loanAmount","errors-data":e.loansErrorData}})]},proxy:!0},{key:"additional-info",fn:function(){return[r("span",{staticClass:"text-deco-line",class:e.vdFormVersion==="1"?"vd-form-additional-info-text":"text-primary",staticStyle:{"font-size":"12px"}},[r("i",{staticClass:"fas fa-info-circle",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-loan-amount"},slot:"reference"}),e._v(" Je kunt minimaal € 2.500,- en maximaal € 75.000,- lenen. Vul hele euro's in. ")])]},proxy:!0}])},"default-input",e.attrs,!1),e.listeners))},Hk=[];Df._withStripped=!0;var jf=J(Bk,Df,Hk,!1,null,null,null,null);jf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/formFields/loanAmount.vue";const $f=jf.exports;var ze=(t=>(t.PurchaseCar="02",t.PurchaseBoat="03",t.PurchaseCaravanCamper="04",t.PurchaseHousehold="32",t.PurchaseMotor="05",t.PurchaseRecreationalHome="11",t.RefinanceExistingLoans="09",t.HomeRenovation="06",t.EnergySavingMeasures="07",t.PayOffMortgageDebt="12",t.ExtraFinances="33",t.Other="99",t))(ze||{});const zk=[{title:"Aankoop auto",value:ze.PurchaseCar},{title:"Aankoop boot",value:ze.PurchaseBoat},{title:"Aankoop caravan/camper",value:ze.PurchaseCaravanCamper},{title:"Aankoop inboedel",value:ze.PurchaseHousehold},{title:"Aankoop motor",value:ze.PurchaseMotor},{title:"Aankoop recreatiewoning",value:ze.PurchaseRecreationalHome},{title:"Oversluiten lopende leningen",value:ze.RefinanceExistingLoans},{title:"Verbouwing woning",value:ze.HomeRenovation},{title:"Energie besparende maatregelen",value:ze.EnergySavingMeasures},{title:"Aflossen restschuld woning",value:ze.PayOffMortgageDebt},{title:"Extra financiële ruimte",value:ze.ExtraFinances},{title:"Anders",value:ze.Other}],qk=b.defineComponent({name:"LoanPurpose",components:{DefaultSelect:Ae,ErrorHandler:Be},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fi();return{inputId:n,attrs:e,listeners:r,loanPurposeOptions:zk,errors:ce,loansErrorData:[{rule:"required",text:"Leendoel is verplicht"}]}}});var Tf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("default-select",e._g(e._b({attrs:{id:e.inputId("loanPurpose"),label:"Leendoel",name:"loanPurpose",options:e.loanPurposeOptions,"is-required":!0},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"loanPurpose","errors-data":e.loansErrorData}})]},proxy:!0}])},"default-select",e.attrs,!1),e.listeners))},Vk=[];Tf._withStripped=!0;var Ff=J(qk,Tf,Vk,!1,null,null,null,null);Ff.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/formFields/loanPurpose.vue";const Af=Ff.exports,Uk=[{value:"A",title:"Alleenstaand zonder kinderen"},{value:"H",title:"Gezin zonder kinderen"},{value:"K",title:"Alleenstaand met kinderen"},{value:"I",title:"Gezin met kinderen"}],Wk=b.defineComponent({name:"FamilyCompositionInput",components:{DefaultSelect:Ae,ErrorHandler:Be},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fi(),a=Uk,i=b.computed(()=>[{rule:ce.has("familyComposition"),text:"Gezinssituatie is verplicht"}]);return{inputId:n,familyCompositionOptions:a,attrs:e,listeners:r,errorsData:i}}});var Ef=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("default-select",e._g(e._b({attrs:{id:e.inputId("familyComposition"),label:"Gezinssituatie",name:"familyComposition",options:e.familyCompositionOptions,"is-required":!0},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"familyComposition","errors-data":e.errorsData}})]},proxy:!0}])},"default-select",e.attrs,!1),e.listeners))},Gk=[];Ef._withStripped=!0;var If=J(Wk,Ef,Gk,!1,null,null,null,null);If.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/FamilyCompositionInput.vue";const Yf=If.exports,Nf=t=>Object.values(Fn).includes(t);class Zk{static render(e){const{AlimonyType:r,AnotherMonthlyExpenses:n,BenefitType:a,CarMonthlyContributionExpenses:i,CarMonthlyTaxAdditionExpenses:s,CarOwnershipType:c,DesiredDuration:f,DesiredRepayment:l,HouseSituation:o,IncomeSituation:d,IncomeType:h,IndependentYears:u,LoanAmount:m,LoanPurpose:v,MonthlyAlimonyAllowance:y,MonthlyCarRentalExpenses:p,MonthlyChildcareAllowance:_,MonthlyChildcareExpenses:w,MonthlyCurrentLoansExpenses:R,MonthlyHouseExpenses:q,MonthlyNetIncome:he,MonthlyStudentLoansExpenses:De,OwnedBuilding:Me,PartnerIncomeType:Rt,PartnerMonthlyNetIncome:G,Sorting:V,TemporaryWorkPhase:Ve,WorkedLastThreeYears:ht}=e.loanData,nm=e,{loanData:kr,filters:Xn,aanvragen:pP}=nm,uP=om(nm,["loanData","filters","aanvragen"]);return ln({loanData:{AlimonyType:r,AnotherMonthlyExpenses:n,BenefitType:a,CarMonthlyContributionExpenses:i,CarMonthlyTaxAdditionExpenses:s,CarOwnershipType:c,DesiredDuration:f,DesiredRepayment:l,HouseSituation:o,IncomeSituation:d,IncomeType:h,IndependentYears:u,LoanAmount:m,LoanPurpose:v,MonthlyAlimonyAllowance:y,MonthlyCarRentalExpenses:p,MonthlyChildcareAllowance:_,MonthlyChildcareExpenses:w,MonthlyCurrentLoansExpenses:R,MonthlyHouseExpenses:q,MonthlyNetIncome:he,MonthlyStudentLoansExpenses:De,OwnedBuilding:Me,PartnerIncomeType:Rt,PartnerMonthlyNetIncome:G,Sorting:V,TemporaryWorkPhase:Ve,WorkedLastThreeYears:ht}},uP)}}const Xk="192";function Jk(t){const e={CreationForm:"CreationForm",Aanvragen:"Aanvragen",Common:"Common"};let r=b.ref([]);const n={[e.CreationForm]:{title:"Oeps... er gaat iets mis!",refId:Xk,notes:[{text:"Kan geen comparison ID aanmaken voor geld lenen vergelijking"}],description:"Door een technische storing kunnen we op dit moment geen premies vergelijken. Laat je gegevens achter en we helpen je zo snel mogelijk telefonisch verder!"},[e.Aanvragen]:{description:"Er gaat iets niet helemaal goed. Je kunt op dit moment niet verder met je vergelijking of aanvraag. Vul je gegevens in en we gaan zo snel mogelijk contact met je opnemen om je verder te helpen."},[e.Common]:{description:"Momenteel kunnen we je lening online niet berekenen. Vul je gegevens in en we gaan zo snel mogelijk contact met je opnemen om je verder te helpen."}},a=(l="Common")=>{t("emit-event-hub",{event:"open-quotation-modal",data:f(l)})},i=l=>{const o=c(l);r.value.push(o)},s=()=>{r.value=[]},c=l=>({text:l}),f=l=>{const{title:o,refId:d,notes:h,description:u}=n[l];return{title:o,refId:d,notes:[...h||[],...r.value],description:u}};return{QuotationType:e,openQuotationModal:a,addNote:i,resetNotes:s,convertToNote:c,renderQuotationData:f}}let wl=b.ref(!1);const Lf=(t,e)=>{const{QuotationType:r,openQuotationModal:n,addNote:a,resetNotes:i}=Jk(e),s=b.computed(()=>Zk.render(t.comparison.getUser().getDetail())),c=b.computed(()=>t.formOrientation===Fn.Horizontal),f=y=>`${t.baseUrl}#/${y}`,l=y=>se(this,null,function*(){i();try{const p=yield Fe.comparisonService.create("loan",y);return yield Fe.comparisonService.update(p),p}catch(p){console.error(p),a(`
|
|
21
|
+
Leendoel: ${pt.loanPurpose} |
|
|
22
|
+
Leenbedrag: ${pt.loanAmount} |
|
|
23
23
|
Geboortedatum: ${C.birthdate} |
|
|
24
24
|
Gezinssituatie: ${C.familyComposition}
|
|
25
|
-
`),n(r.CreationForm)}}),o=()=>{t.comparison.getUser().setBirthDate(C.birthdate),t.comparison.getUser().setFamilyComposition(C.familyComposition)},d=()=>{t.comparison.getUser().setDetail(null,ln(ln({},t.comparison.getUser().getDetail(null)),s.value))},h=()=>{ht.loanAmount=t.insuranceState.LoanAmount,ht.loanPurpose=t.insuranceState.LoanPurpose,C.birthdate=t.userInformation.birthdate,C.familyComposition=t.userInformation.familyComposition},u=()=>{const _=new X.User({});return _.setDetail(null,{}),_.setBirthDate(C.birthdate),_.setFamilyComposition(C.familyComposition),_.setDetail("loanData",{LoanPurpose:ht.loanPurpose,LoanAmount:ht.loanAmount}),_};return{inSubmissions:wl,loanState:ht,isHorizontalForm:c,setFormData:h,submitUpdateForm:()=>se(this,null,function*(){wl.value=!0;try{(yield fr(["birthdate","familyComposition","loanAmount","loanPurpose"]))&&(yield d(),yield o(),yield Fe.comparisonService.update(t.comparison),e("submit-form",{userInformation:C,loanState:ht}))}catch(_){console.error(_),e("emit-event-hub",{event:"open-quotation-modal"})}wl.value=!1}),submitCreateForm:()=>se(this,null,function*(){try{if(!(yield fr(["birthdate","familyComposition","loanAmount","loanPurpose"])))return;const p=u(),y=yield l(p);y&&y.getId()?e("redirect-page",{link:f(y.getId())}):n(r.CreationForm)}catch(_){console.error(_),n(r.CreationForm)}})}},Qk=b.defineComponent({name:"CreateLoanComparisonForm",components:{LoanPurposeInputField:Ff,LoanAmountInputField:jf,BirthdateInput:kt,FamilyCompositionInput:If,SimpleCard:st},props:{baseUrl:{required:!1,type:String},title:{required:!1,type:String,default:"Geld lenen"},showTitle:{required:!1,type:Boolean,default:!0},formOrientation:{type:String,default:Fn.Vertical,validator:Yf},vdFormVersion:{required:!1,type:String,default:"0"},classes:{required:!1,type:String,default:""}},setup(t,{emit:e}){const{loanState:r,isHorizontalForm:n,submitCreateForm:a}=Nf(t,e);return b.onMounted(()=>{Cr.removeSessionState(b.getCurrentInstance().proxy.$root.$data.pathKey,b.getCurrentInstance().proxy.$root.$data.storageKey)}),{loanState:r,isHorizontalForm:n,submitCreateForm:a,userInformation:C}}});var Lf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes,"vd-form-card--horizontal":e.isHorizontalForm},attrs:{"has-new-style":!0}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("loan-purpose-input-field",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.loanState.loanPurpose,callback:function(n){e.$set(e.loanState,"loanPurpose",n)},expression:"loanState.loanPurpose"}}),r("loan-amount-input-field",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.loanState.loanAmount,callback:function(n){e.$set(e.loanState,"loanAmount",e._n(n))},expression:"loanState.loanAmount"}}),r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion,"ages-range":{min:21,max:67}},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}}),r("family-composition-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.familyComposition,callback:function(n){e.$set(e.userInformation,"familyComposition",n)},expression:"userInformation.familyComposition"}}),r("div",{class:{"vd-form-group":e.isHorizontalForm}},[r("button",{class:{"btn-a--horizontal":e.isHorizontalForm,"vd-btn vd-btn-green vd-btn-w-100":e.vdFormVersion==="1","btn-a btn-a--success btn-a--bold btn-block":e.vdFormVersion!=="1"},on:{click:e.submitCreateForm}},[e._v(" Vergelijken ")])])],1)])},Kk=[];Lf._withStripped=!0;var Bf=J(Qk,Lf,Kk,!1,null,null,null,null);Bf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/forms/createLoanComparisonForm.vue";const eC=Bf.exports,tC=b.defineComponent({name:"UpdateLoanComparisonForm",components:{LoanPurposeInputField:Ff,LoanAmountInputField:jf,BirthdateInput:kt,FamilyCompositionInput:If,SimpleCard:st},props:{title:{required:!1,type:String,default:"Geld lenen"},showTitle:{required:!1,type:Boolean,default:!0},comparison:{required:!0},vdFormVersion:{required:!1,type:String,default:"0"},classes:{required:!1,type:String,default:""},insuranceState:{required:!1,default(){return{}}},userInformation:{required:!1,default(){return{}}}},setup(t,{emit:e}){const{inSubmissions:r,loanState:n,setFormData:a,submitUpdateForm:i}=Nf(t,e);return b.onMounted(()=>{a()}),{inSubmissions:r,loanState:n,submitUpdateForm:i,userInformation:C}}});var Hf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content p-0"},[r("loan-purpose-input-field",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.loanState.loanPurpose,callback:function(n){e.$set(e.loanState,"loanPurpose",n)},expression:"loanState.loanPurpose"}}),r("loan-amount-input-field",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.loanState.loanAmount,callback:function(n){e.$set(e.loanState,"loanAmount",e._n(n))},expression:"loanState.loanAmount"}}),r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion,"ages-range":{min:21,max:67}},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}}),r("family-composition-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.familyComposition,callback:function(n){e.$set(e.userInformation,"familyComposition",n)},expression:"userInformation.familyComposition"}}),r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block",attrs:{disabled:e.inSubmissions},on:{click:e.submitUpdateForm}},[e._v(" Vergelijken ")])],1)])},rC=[];Hf._withStripped=!0;var zf=J(tC,Hf,rC,!1,null,null,null,null);zf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/forms/updateLoanComparisonForm.vue";const nC=zf.exports;function aC(t,e,r,n=!1){const a=n&&typeof r=="string"?r.toLowerCase():r;return t.find(i=>(n&&typeof r=="string"?i[e].toLowerCase():i[e])===a)}function iC(t){if(t.length===1)return t;const e=[];for(const r of t)e.some(n=>JSON.stringify(r)===JSON.stringify(n))||e.push(r);return e}const qf=(t,e,r,n)=>{const a=b.ref(""),i=b.ref(!1),s=b.ref(!1),c=b.ref(!1),f=b.ref([]),l=b.ref("");function o(){return se(this,null,function*(){if((yield fr(["license","zipcode","housenumber","housenumberaddition","birthdate"]))&&!s.value&&be.VehicleType==="Car"&&!c.value)if(t.isOnResultPage||t.isOnCoveragePage)e("submit-form",{userInformation:C,carState:be});else{const p=yield d();p&&e("redirect-page",{link:`${t.link}#/${p.getId()}/dekkingen/`})}})}function d(){return se(this,null,function*(){try{const _=new X.User({});return _.setDetail(null,{}),_.setDetail("car",Object.assign(be,{LicensePlate:a.value,Brand:be.Brand,Model:be.Model,Type:be.Type,VehicleType:be.VehicleType,ManufacturingYear:be.ManufacturingYear})),_.setDetail("comparison",{Coverage:null,Deductables:300,ClaimFreeYears:"0",Kilometrage:"12000"}),_.setZipCode(C.zipcode),_.setHouseNumber(Number(C.houseNumber)),_.setHouseNumberAddition(C.houseNumberAddition),_.setBirthDate(C.birthdate),yield r.comparisonService.create("car",_)}catch(_){return f.value.push({text:`Kenteken: ${a.value} | Postcode: ${C.zipcode} | Huisnummer: ${C.houseNumber} | Huisnummer toevoeging: ${C.houseNumberAddition} | Geboortedatum: ${C.birthdate}`}),f.value=iC(f.value),h(),null}})}function h(){e("emit-event-hub",{event:"open-quotation-modal",data:{refId:l.value,notes:f.value}})}function u(){c.value=!1}function m(){c.value=!0}const v=b.computed(()=>{const _=k.utc(k().subtract(100,"y").format("DD-MM-YYYY"),"DD-MM-YYYY"),p=k.utc(k().subtract(18,"y").format("DD-MM-YYYY"),"DD-MM-YYYY");return{min:_,max:p}});return b.onMounted(()=>{var _,p,y,w,j;(t.isOnResultPage||t.isOnCoveragePage)&&(Object.assign(be,t.insuranceState),a.value=(_=be.LicensePlate)!=null?_:"",C.zipcode=(p=t.userInformation.zipCode)!=null?p:"",C.houseNumber=(y=String(t.userInformation.houseNumber))!=null?y:"",C.houseNumberAddition=(w=t.userInformation.houseNumberAddition)!=null?w:"",C.birthdate=(j=t.userInformation.birthdate)!=null?j:""),(!t.isOnResultPage||!t.isOnCoveragePage)&&Cr.removeSessionState("car-storage","car-path"),i.value=!0}),{isReady:i,licensePlate:a,onLicenseInput:u,onLicenseError:m,houseError:s,dateRange:v,validateBeforeSubmit:o}},oC=b.defineComponent({name:"CarForm",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,SimpleCard:st,BirthdateInput:kt},props:{title:{type:String,default:"Autoverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},isOnResultPage:{type:Boolean,default:!1},isOnCoveragePage:{type:Boolean,default:!1},link:{type:String,required:!0},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:c,validateBeforeSubmit:f}=qf(t,e,Fe);return{userInformation:C,carState:be,isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:c,validateBeforeSubmit:f,errors:ce}}});var Vf=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes,"vd-form-card--flat w-100":e.isOnResultPage||e.isOnCoveragePage},attrs:{"has-new-style":!0}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("license-plate",{attrs:{id:"license","vehicle-types":["Car"],"vehicle-type":"car","insurance-dutch-naming":"auto","prop-vehicle-information":e.carState,name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-error":e.onLicenseError,"on-vehicle-information-update":n=>Object.assign(e.carState,n)},model:{value:e.licensePlate,callback:function(n){e.licensePlate=n},expression:"licensePlate"}}),r("div",{staticClass:"vd-form-group vd-form-group--address-handler-moped"},[r("address-handler",{staticClass:"mx-0",attrs:{"zipcode-name":"zipcode","show-street-and-city":!0,"house-number-name":"housenumber","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition,"vd-form-version":e.vdFormVersion},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}})],1),r("div",{staticClass:"vd-form-group"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}})],1),r("div",{staticClass:"vd-form-group mb-0"},[r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer",on:{click:e.validateBeforeSubmit}},[e._v(" Vergelijken ")])])],1)]):e._e()},sC=[];Vf._withStripped=!0;var Uf=J(oC,Vf,sC,!1,null,null,null,null);Uf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/car/components/forms/CarForm.vue";const lC=Uf.exports,uC=b.defineComponent({name:"CarFormHorizontal",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,SimpleCard:st,BirthdateInput:kt},props:{title:{type:String,default:"Autoverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},isOnResultPage:{type:Boolean,default:!1},isOnCoveragePage:{type:Boolean,default:!1},link:{type:String,required:!0},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:c,validateBeforeSubmit:f}=qf(t,e,Fe);return{userInformation:C,carState:be,isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:c,validateBeforeSubmit:f,errors:ce}}});var Wf=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card vd-form-card--horizontal",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes},attrs:{"has-new-style":!0}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("license-plate",{attrs:{id:"license","vehicle-types":["Car"],"vehicle-type":"car","insurance-dutch-naming":"auto","prop-vehicle-information":e.carState,name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-error":e.onLicenseError,"on-vehicle-information-update":n=>Object.assign(e.carState,n)},model:{value:e.licensePlate,callback:function(n){e.licensePlate=n},expression:"licensePlate"}}),r("div",{staticClass:"vd-form-group vd-form-group--address-handler-moped"},[r("address-handler",{staticClass:"mx-0",attrs:{"zipcode-name":"zipcode","show-street-and-city":!0,template:"FORM_HORIZONTAL","house-number-name":"housenumber","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition,"vd-form-version":e.vdFormVersion},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}})],1),r("div",{staticClass:"vd-form-group"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}})],1),r("div",{staticClass:"vd-form-group mb-0 d-flex align-items-center"},[r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block btn-a--horizontal-car cursor-pointer",on:{click:e.validateBeforeSubmit}},[e._v(" Vergelijken ")])])],1)]):e._e()},cC=[];Wf._withStripped=!0;var Gf=J(uC,Wf,cC,!1,null,null,null,null);Gf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/car/components/forms/CarFormHorizontal.vue";const dC=Gf.exports;function Sl(t){const e=decodeURIComponent(t);return e===t?t.replace(/\+/g," "):Sl(e)}function fC(t){const e={},r=t.split("&");for(let n=0;n<r.length;n++){const a=r[n].split("="),i=decodeURIComponent(a[0]);Object.prototype.hasOwnProperty.call(e,i)?e[i]+=","+Sl(a[1]):e[i]=Sl(a[1]),i||delete e[i]}return e}function rr(){const t=window.location.search.substr(1);return t!==null&&t!==""?fC(t):{}}function hC(t){let e="";for(const n in t)e!==""&&(e+="&"),e+=n+"="+encodeURIComponent(t[n]);const r="?"+e;window.history.pushState({},"",r)}function pC(t){const e=rr();if(Object.keys(t).length!==0){const r=Object.assign(e,t);hC(r)}}function Zf(t,e){let r=URL.canParse(t)?new URL(t):new URL(t,window.location.href);const n=Object.fromEntries(r.searchParams.entries()),a=ln(ln({},n),e),i=new URL(r);return Object.entries(a).forEach(([s,c])=>{i.searchParams.set(s,c)}),i.toString()}let mC=b.reactive({});const vC=b.reactive({});let Xf=b.ref(!1),_C=b.ref(!1),yC=b.ref(!1),gC=b.ref(!1),Jf=b.ref(+k().format("YYYY")),Qf=b.ref(!1),An=b.ref(!1),Wr=b.ref(!1);const Kf=18,bC=99,wC=[{rule:"required",text:"Schadevrije jaren zijn verplicht"}],eh=(t,e)=>{const r=b.computed(()=>C.birthdate.length===10),n=b.computed(()=>{const p=[];for(let y=0;y<a.value;y++)p.push({title:`${y} jaar`,value:y});return p.length===0&&p.push({title:"0 jaar",value:0}),p}),a=b.computed(()=>{let p;if(C.birthdate.split("_").join("").length===10)p=+k.utc(C.birthdate,"DD-MM-YYYY").format("YYYY");else return 0;const y=Jf.value-p-Kf;return y>0?y:0}),i=b.computed(()=>Object.keys(t.buttonOptions).length===0?{}:{"--background":t.buttonOptions.normal.background,"--text-color":t.buttonOptions.normal.textColor,"--background-hover":t.buttonOptions.hover.background,"--text-color-hover":t.buttonOptions.hover.textColor}),s=b.computed(()=>t.insuranceState.TypeOfMoped===Pf.Brommobiel||t.insuranceState.Model==="Brommobiel"?19999:4999),c=b.computed(()=>{const p=["license","zipcode","housenumber","housenumberaddition","claimfreeyears","birthdate"];return An.value&&p.push("catalogValueForm"),Wr.value&&p.push("purchaseValueForm"),p}),f=b.computed(()=>t.insuranceState.CatalogValueByLicense),l=()=>{(!C.birthdate||C.birthdate.length!==10)&&(_e.claimFreeYears="0")},o=p=>{_e.claimFreeYears=String(p)},d=p=>{const y=p.split("-").join("")!==_e.oldLicense;p.length>=6&&y&&(An.value=!1,Wr.value=!1,_e.purchaseValue="")},h=()=>{Xf.value=!0},u=p=>{e("emit-event-hub",{event:"open-quotation-modal",data:{refId:p}})},m=()=>{Qf.value=!0},v=()=>se(this,null,function*(){if(yield fr(c.value))if(t.isOnResultPage)e("submit-form",{userInformation:C,mopedState:_e,licenseInformation:sr.moped,showCatalogValueField:An.value});else{const y={license:_e.license,zipcode:C.zipcode,housenumber:C.houseNumber,housenumberaddition:C.houseNumberAddition,birthdate:C.birthdate,claimfreeyears:_e.claimFreeYears};y.housenumberaddition||delete y.housenumberaddition;const w=Zf(t.link,y);window.location.href=w}}),_={claimFreeYears:[{rule:"required",text:"Schadevrije jaren zijn verplicht"}],catalogValue:[{rule:"required",text:"Cataloguswaarde is verplicht"},{rule:"min_value",text:"Cataloguswaarde moet minimaal €500 zijn"},{rule:"max_value",text:"Cataloguswaarde mag maximaal €19.999 zijn"}],purchaseValue:[{rule:"required",text:"Aankoopbedrag is verplicht"},{rule:"min_value",text:"Aankoopbedrag moet minimaal €500 zijn"},{rule:"max_value",text:`Aankoopbedrag mag maximaal €${s.value} zijn`}]};return b.watch(f,p=>{Number(p)>5e3?Wr.value=!0:(Wr.value=!1,_e.purchaseValue="")}),b.onMounted(()=>{if(t.isOnResultPage){_e.license=_e.oldLicense=t.insuranceState.LicensePlate||rr().license||"",_e.claimFreeYears=t.insuranceState.ClaimFreeYears||rr().claimfreeyears||"0",C.birthdate=t.userInformation.birthdate||rr().birthdate||"",C.zipcode=t.userInformation.zipCode||rr().zipcode||"",C.houseNumber=t.userInformation.houseNumber||rr().housenumber||"",C.houseNumberAddition=t.userInformation.houseNumberAddition||rr().housenumberaddition||"",t.insuranceState.CatalogValueByLicense&&(_e.catalogValue=t.insuranceState.CatalogValueByLicense,An.value=!0);const p=t.insuranceState.PurchaseValueByLicense;p&&(_e.purchaseValue=p,Wr.value=!0)}t.isOnResultPage||Cr.removeSessionState("moped-path","moped-storage")}),{HouseInformation:mC,vehicle:vC,licenseError:Xf,showLicenseInfo:_C,houseError:yC,showHouseInformation:gC,currentYear:Jf,isModalOpen:Qf,minAge:Kf,maxAge:bC,birthDateYear:r,maxClaimFreeYearsOptions:n,maxClaimFreeYears:a,buttonStyles:i,showCatalogValueField:An,showPurchaseValueField:Wr,maxPurchaseValue:s,checkClaimFreeYears:l,setClaimFreeYears:o,onLicenseInput:d,onLicenseError:h,openQuotationModal:u,openClaimFreeYearModal:m,validateBeforeSubmit:v,userInformation:C,mopedState:_e,claimFreeYearsErrorData:wC,errorsData:_}};var th=function(){return(th=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},Ol={kebab:/-(\w)/g,styleProp:/:(.*)/,styleList:/;(?![^(]*\))/g};function SC(t,e){return e?e.toUpperCase():""}function OC(t){for(var e,r={},n=0,a=t.split(Ol.styleList);n<a.length;n++){var i=a[n].split(Ol.styleProp),s=i[0],c=i[1];(s=s.trim())&&(typeof c=="string"&&(c=c.trim()),r[e=s,e.replace(Ol.kebab,SC)]=c)}return r}function Ai(){for(var t,e,r={},n=arguments.length;n--;)for(var a=0,i=Object.keys(arguments[n]);a<i.length;a++)switch(t=i[a]){case"class":case"style":case"directives":if(Array.isArray(r[t])||(r[t]=[]),t==="style"){var s=void 0;s=Array.isArray(arguments[n].style)?arguments[n].style:[arguments[n].style];for(var c=0;c<s.length;c++){var f=s[c];typeof f=="string"&&(s[c]=OC(f))}arguments[n].style=s}r[t]=r[t].concat(arguments[n][t]);break;case"staticClass":if(!arguments[n][t])break;r[t]===void 0&&(r[t]=""),r[t]&&(r[t]+=" "),r[t]+=arguments[n][t].trim();break;case"on":case"nativeOn":r[t]||(r[t]={});for(var l=0,o=Object.keys(arguments[n][t]||{});l<o.length;l++)e=o[l],r[t][e]?r[t][e]=[].concat(r[t][e],arguments[n][t][e]):r[t][e]=arguments[n][t][e];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":r[t]||(r[t]={}),r[t]=th({},arguments[n][t],r[t]);break;case"slot":case"key":case"ref":case"tag":case"show":case"keepAlive":default:r[t]||(r[t]=arguments[n][t])}return r}var kC="$bvConfig",Gr=typeof window!="undefined",rh=typeof document!="undefined",CC=typeof navigator!="undefined",xC=typeof MutationObserver!="undefined"||typeof WebKitMutationObserver!="undefined"||typeof MozMutationObserver!="undefined",Ee=Gr&&rh&&CC,MC=Ee?window.navigator.userAgent.toLowerCase():"";MC.indexOf("jsdom")>0;var PC=function(){var t=!1;if(Ee)try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(r){t=!1}return t}(),nh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=typeof process!="undefined"&&process?process.env||{}:{};return e?n[e]||r:n},RC=function(){return nh("BOOTSTRAP_VUE_NO_WARN")||nh("NODE_ENV")==="production"};function Ei(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ei=function(r){return typeof r}:Ei=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ei(t)}function ah(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ih(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&En(t,e)}function oh(t){var e=sh();return function(){var n=In(t),a;if(e){var i=In(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return DC(this,a)}}function DC(t,e){return e&&(Ei(e)==="object"||typeof e=="function")?e:jC(t)}function jC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kl(t){var e=typeof Map=="function"?new Map:void 0;return kl=function(n){if(n===null||!$C(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,a)}function a(){return Ii(n,arguments,In(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),En(a,n)},kl(t)}function Ii(t,e,r){return sh()?Ii=Reflect.construct:Ii=function(a,i,s){var c=[null];c.push.apply(c,i);var f=Function.bind.apply(a,c),l=new f;return s&&En(l,s.prototype),l},Ii.apply(null,arguments)}function sh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function $C(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function En(t,e){return En=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},En(t,e)}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},In(t)}var lh=Gr?window:{},TC=Gr?lh.Element:function(t){ih(r,t);var e=oh(r);function r(){return ah(this,r),e.apply(this,arguments)}return r}(kl(Object)),uh=Gr?lh.HTMLElement:function(t){ih(r,t);var e=oh(r);function r(){return ah(this,r),e.apply(this,arguments)}return r}(TC);function Yn(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Yn=function(r){return typeof r}:Yn=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Yn(t)}var Cl=function(e){return Yn(e)},Zr=function(e){return e===void 0},nr=function(e){return e===null},Yi=function(e){return Zr(e)||nr(e)},Ct=function(e){return Cl(e)==="function"},xl=function(e){return Cl(e)==="boolean"},br=function(e){return Cl(e)==="string"},lt=function(e){return Array.isArray(e)},Xr=function(e){return e!==null&&Yn(e)==="object"},wr=function(e){return Object.prototype.toString.call(e)==="[object Object]"},ch=function(e){return e instanceof Date},Ml=function(e){return e instanceof Event};function dh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function fh(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?dh(Object(r),!0).forEach(function(n){hh(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function hh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var FC=function(){return Object.assign.apply(Object,arguments)},ph=function(e,r){return Object.defineProperties(e,r)},AC=function(e,r,n){return Object.defineProperty(e,r,n)},ut=function(e){return Object.keys(e)},Pl=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},EC=function(e,r){return ut(e).filter(function(n){return r.indexOf(n)===-1}).reduce(function(n,a){return fh(fh({},n),{},hh({},a,e[a]))},{})},ar=function(){return{enumerable:!0,configurable:!1,writable:!1}};function mh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function vh(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?mh(Object(r),!0).forEach(function(n){_h(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _h(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function IC(t){return BC(t)||LC(t)||NC(t)||YC()}function YC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
26
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NC(t,e){if(t){if(typeof t=="string")return Rl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rl(t,e)}}function LC(t){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(t))return Array.from(t)}function BC(t){if(Array.isArray(t))return Rl(t)}function Rl(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ni=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return lt(e)?e.reduce(function(n,a){return[].concat(IC(n),[t(a,a)])},[]):wr(e)?ut(e).reduce(function(n,a){return vh(vh({},n),{},_h({},a,t(e[a],e[a])))},{}):r},HC=/\[(\d+)]/g,zC=/(<([^>]+)>)/gi,qC=/%2C/g,VC=/[!'()*]/g,UC=function(e){return e};const Jr=UC;var WC=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(r=lt(r)?r.join("."):r,!r||!Xr(e))return n;if(r in e)return e[r];r=String(r).replace(HC,".$1");var a=r.split(".").filter(Jr);return a.length===0?n:a.every(function(i){return Xr(e)&&i in e&&!Yi(e=e[i])})?e:nr(e)?null:n},Li=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=WC(e,r);return Yi(a)?n:a},yh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;RC()||console.warn("[BootstrapVue warn]: ".concat(r?"".concat(r," - "):"").concat(e))},GC=function(e){return xC?!1:(yh("".concat(e,": Requires MutationObserver support.")),!0)},gh="BButton",bh="BButtonClose",wh="BCollapse",ZC="BVCollapse",Sh="BFormCheckbox",Oh="BFormRadio",kh="BFormRadioGroup",Ch="BLink",xh="BModal",XC="BVTransition",JC="BTransporterSingle",QC="BTransporterTargetSingle";function Mh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Ph(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Mh(Object(r),!0).forEach(function(n){KC(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function KC(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ex=b.prototype,Rh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=ex[kC];return n?n.getConfigValue(e,r):Ni(r)},tx=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return r?Rh("".concat(e,".").concat(r),n):Rh(e,{})},Re=function(e,r){return ut(e).reduce(function(n,a){var i=e[a],s=i.default;return n[a]=Ph(Ph({},Ni(i)),{},{default:function(){return tx(r,a,Ct(s)?s():s)}}),n},{})},rx=function(){return Array.from.apply(Array,arguments)},Dl=function(e,r){return e.indexOf(r)!==-1},Wt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Array.prototype.concat.apply([],r)},nx=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseInt(e,10);return isNaN(n)?r:n},Bi=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseFloat(e);return isNaN(n)?r:n},Nn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Yi(e)?"":lt(e)||wr(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,r):String(e)},ax=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(t){return"".concat(t,":not(:disabled):not([disabled])")}).join(", "),Gt=Gr?window:{},Hi=rh?document:{},zi=typeof Element!="undefined"?Element.prototype:{},ix=zi.matches||zi.msMatchesSelector||zi.webkitMatchesSelector,ox=zi.closest||function(t){var e=this;do{if($l(e,t))return e;e=e.parentElement||e.parentNode}while(!nr(e)&&e.nodeType===Node.ELEMENT_NODE);return null},Sr=Gt.requestAnimationFrame||Gt.webkitRequestAnimationFrame||Gt.mozRequestAnimationFrame||Gt.msRequestAnimationFrame||Gt.oRequestAnimationFrame||function(t){return setTimeout(t,16)},sx=Gt.MutationObserver||Gt.WebKitMutationObserver||Gt.MozMutationObserver||null,lx=function(e){return e&&e.parentNode&&e.parentNode.removeChild(e)},fe=function(e){return!!(e&&e.nodeType===Node.ELEMENT_NODE)},Dh=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=Hi.activeElement;return r&&!e.some(function(n){return n===r})?r:null},qi=function(e,r){return Nn(e).toLowerCase()===Nn(r).toLowerCase()},jh=function(e){return fe(e)&&e===Dh()},$h=function(e){if(!fe(e)||!e.parentNode||!Ln(Hi.body,e)||Hn(e,"display")==="none")return!1;var r=Ui(e);return!!(r&&r.height>0&&r.width>0)},Th=function(e){return fe(e)&&e.offsetHeight},Vi=function(e,r){return rx((fe(r)?r:Hi).querySelectorAll(e))},jl=function(e,r){return(fe(r)?r:Hi).querySelector(e)||null},$l=function(e,r){return fe(e)?ix.call(e,r):!1},Fh=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!fe(r))return null;var a=ox.call(r,e);return n?a:a===r?null:a},Ln=function(e,r){return e&&Ct(e.contains)?e.contains(r):!1},Qr=function(e,r){r&&fe(e)&&e.classList&&e.classList.add(r)},Tl=function(e,r){r&&fe(e)&&e.classList&&e.classList.remove(r)},ux=function(e,r){return r&&fe(e)&&e.classList?e.classList.contains(r):!1},Bn=function(e,r,n){r&&fe(e)&&e.setAttribute(r,n)},Fl=function(e,r){r&&fe(e)&&e.removeAttribute(r)},Al=function(e,r){return r&&fe(e)?e.getAttribute(r):null},El=function(e,r){return r&&fe(e)?e.hasAttribute(r):null},Ie=function(e,r,n){r&&fe(e)&&(e.style[r]=n)},Ah=function(e,r){r&&fe(e)&&(e.style[r]="")},Hn=function(e,r){return r&&fe(e)&&e.style[r]||null},Ui=function(e){return fe(e)?e.getBoundingClientRect():null},ir=function(e){return Gr&&fe(e)?Gt.getComputedStyle(e):{}},cx=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return Vi(ax,e).filter($h).filter(function(r){return r.tabIndex>-1&&!r.disabled})},or=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{e.focus(r)}catch(n){}return jh(e)},Eh=function(e){try{e.blur()}catch(r){}return!jh(e)};function Ih(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Kr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ih(Object(r),!0).forEach(function(n){dx(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ih(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dx(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yh={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},fx=Kr(Kr({},Yh),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),hx=b.extend({name:XC,functional:!0,props:{noFade:{type:Boolean,default:!1},appear:{type:Boolean,default:!1},mode:{type:String},transProps:{type:Object,default:null}},render:function(e,r){var n=r.children,a=r.data,i=r.props,s=i.transProps;return wr(s)||(s=i.noFade?Yh:fx,i.appear&&(s=Kr(Kr({},s),{},{appear:!0,appearClass:s.enterClass,appearActiveClass:s.enterActiveClass,appearToClass:s.enterToClass}))),s=Kr(Kr({mode:i.mode},s),{},{css:!0}),e("transition",Ai(a,{props:s}),n)}});const px=hx;var en="default",mx="first",Nh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e=Wt(e).filter(Jr),e.some(function(a){return r[a]||n[a]})},Lh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};e=Wt(e).filter(Jr);for(var i,s=0;s<e.length&&!i;s++){var c=e[s];i=n[c]||a[c]}return Ct(i)?i(r):i};const tn={methods:{hasNormalizedSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:en;return Nh(e,this.$scopedSlots,this.$slots)},normalizeSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:en,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Lh(e,r,this.$scopedSlots,this.$slots);return n&&Wt(n)}}};var Bh=function(e){return PC?Xr(e)?e:{capture:!!e||!1}:!!(Xr(e)?e.capture:e)},Wi=function(e,r,n,a){e&&e.addEventListener&&e.addEventListener(r,n,Bh(a))},rn=function(e,r,n,a){e&&e.removeEventListener&&e.removeEventListener(r,n,Bh(a))},Hh=function(e){for(var r=e?Wi:rn,n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];r.apply(void 0,a)},zn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventDefault,a=n===void 0?!0:n,i=r.propagation,s=i===void 0?!0:i,c=r.immediatePropagation,f=c===void 0?!1:c;a&&e.preventDefault(),s&&e.stopPropagation(),f&&e.stopImmediatePropagation()};function vx(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _x=Re({content:{type:String,default:"×"},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Close"},textVariant:{type:String}},bh),yx=b.extend({name:bh,functional:!0,props:_x,render:function(e,r){var n=r.props,a=r.data,i=r.slots,s=r.scopedSlots,c=i(),f=s||{},l={staticClass:"close",class:vx({},"text-".concat(n.textVariant),n.textVariant),attrs:{type:"button",disabled:n.disabled,"aria-label":n.ariaLabel?String(n.ariaLabel):null},on:{click:function(d){n.disabled&&Ml(d)&&zn(d)}}};return Nh(en,f,c)||(l.domProps={innerHTML:n.content}),e("button",Ai(a,l),Lh(en,{},f,c))}}),zh=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Jr;return(lt(e)?e.slice():ut(e)).reduce(function(a,i){return a[n(i)]=r[i],a},{})},qh="a",gx=function(e){return"%"+e.charCodeAt(0).toString(16)},nn=function(e){return encodeURIComponent(Nn(e)).replace(VC,gx).replace(qC,",")},bx=function(e){if(!wr(e))return"";var r=ut(e).map(function(n){var a=e[n];return Zr(a)?"":nr(a)?nn(n):lt(a)?a.reduce(function(i,s){return nr(s)?i.push(nn(n)):Zr(s)||i.push(nn(n)+"="+nn(s)),i},[]).join("&"):nn(n)+"="+nn(a)}).filter(function(n){return n.length>0}).join("&");return r?"?".concat(r):""},wx=function(e){return!!(e.href||e.to)},Vh=function(e){return!!(e&&!qi(e,"a"))},Sx=function(e,r){var n=e.to,a=e.disabled,i=e.routerComponentName,s=!!r.$router;return!s||s&&(a||!n)?qh:i||(r.$nuxt?"nuxt-link":"router-link")},Ox=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.target,n=e.rel;return r==="_blank"&&nr(n)?"noopener":n||null},kx=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.href,n=e.to,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qh,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#",s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"/";if(r)return r;if(Vh(a))return null;if(br(n))return n||s;if(wr(n)&&(n.path||n.query||n.hash)){var c=Nn(n.path),f=bx(n.query),l=Nn(n.hash);return l=!l||l.charAt(0)==="#"?l:"#".concat(l),"".concat(c).concat(f).concat(l)||s}return i},Cx=13,xx=27,Mx=32,Px=function(e,r){if(e.length!==r.length)return!1;for(var n=!0,a=0;n&&a<e.length;a++)n=xt(e[a],r[a]);return n},xt=function t(e,r){if(e===r)return!0;var n=ch(e),a=ch(r);if(n||a)return n&&a?e.getTime()===r.getTime():!1;if(n=lt(e),a=lt(r),n||a)return n&&a?Px(e,r):!1;if(n=Xr(e),a=Xr(r),n||a){if(!n||!a)return!1;var i=ut(e).length,s=ut(r).length;if(i!==s)return!1;for(var c in e){var f=Pl(e,c),l=Pl(r,c);if(f&&!l||!f&&l||!t(e[c],r[c]))return!1}}return String(e)===String(r)};function Uh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Wh=function(e){return!e||ut(e).length===0},Rx=function(e){return{handler:function(n,a){if(!xt(n,a)){if(Wh(n)||Wh(a)){this[e]=Ni(n);return}for(var i in a)Pl(n,i)||this.$delete(this.$data[e],i);for(var s in n)this.$set(this.$data[e],s,n[s])}}}},Gh=function(e,r){return{data:function(){return Uh({},r,Ni(this[e]))},watch:Uh({},e,Rx(r))}};const Il=Gh("$attrs","bvAttrs"),Dx=Gh("$listeners","bvListeners");function jx(t){return Ax(t)||Fx(t)||Tx(t)||$x()}function $x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
27
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tx(t,e){if(t){if(typeof t=="string")return Yl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yl(t,e)}}function Fx(t){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(t))return Array.from(t)}function Ax(t){if(Array.isArray(t))return Yl(t)}function Yl(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Zh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function qe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Zh(Object(r),!0).forEach(function(n){Xh(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Zh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Xh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jh={to:{type:[String,Object],default:null},append:{type:Boolean,default:!1},replace:{type:Boolean,default:!1},event:{type:[String,Array],default:"click"},activeClass:{type:String},exact:{type:Boolean,default:!1},exactActiveClass:{type:String},routerTag:{type:String,default:"a"}},Qh={prefetch:{type:Boolean,default:null},noPrefetch:{type:Boolean,default:!1}},Kh=Re(qe(qe(qe({href:{type:String,default:null},rel:{type:String,default:null},target:{type:String,default:"_self"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},Jh),Qh),{},{routerComponentName:{type:String}}),Ch),Ex=b.extend({name:Ch,mixins:[Il,Dx,tn],inheritAttrs:!1,props:Kh,computed:{computedTag:function(){var e=this.to,r=this.disabled,n=this.routerComponentName;return Sx({to:e,disabled:r,routerComponentName:n},this)},isRouterLink:function(){return Vh(this.computedTag)},computedRel:function(){var e=this.target,r=this.rel;return Ox({target:e,rel:r})},computedHref:function(){var e=this.to,r=this.href;return kx({to:e,href:r},this.computedTag)},computedProps:function(){var e=this.prefetch;return this.isRouterLink?qe(qe({},zh(qe(qe({},Jh),Qh),this)),{},{prefetch:xl(e)?e:void 0,tag:this.routerTag}):{}},computedAttrs:function(){var e=this.bvAttrs,r=this.computedHref,n=this.computedRel,a=this.disabled,i=this.target,s=this.routerTag,c=this.isRouterLink;return qe(qe(qe(qe({},e),r?{href:r}:{}),c&&!qi(s,"a")?{}:{rel:n,target:i}),{},{tabindex:a?"-1":Zr(e.tabindex)?null:e.tabindex,"aria-disabled":a?"true":null})},computedListeners:function(){return qe(qe({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(e){var r=arguments,n=Ml(e),a=this.isRouterLink,i=this.bvListeners.click;n&&this.disabled?zn(e,{immediatePropagation:!0}):(a&&e.currentTarget.__vue__&&e.currentTarget.__vue__.$emit("click",e),Wt(i).filter(function(s){return Ct(s)}).forEach(function(s){s.apply(void 0,jx(r))}),this.$root.$emit("clicked::link",e)),n&&!a&&this.computedHref==="#"&&zn(e,{propagation:!1})},focus:function(){or(this.$el)},blur:function(){Eh(this.$el)}},render:function(e){var r=this.active,n=this.disabled;return e(this.computedTag,Xh({class:{active:r,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function ep(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Ix(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ep(Object(r),!0).forEach(function(n){Or(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ep(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Or(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Gi=EC(Kh,["event","routerTag"]);delete Gi.href.default,delete Gi.to.default;var Yx=Re(Ix({block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String},variant:{type:String,default:"secondary"},type:{type:String,default:"button"},tag:{type:String,default:"button"},pill:{type:Boolean,default:!1},squared:{type:Boolean,default:!1},pressed:{type:Boolean,default:null}},Gi),gh),tp=function(e){e.type==="focusin"?Qr(e.target,"focus"):e.type==="focusout"&&Tl(e.target,"focus")},qn=function(e){return wx(e)||qi(e.tag,"a")},rp=function(e){return xl(e.pressed)},np=function(e){return!(qn(e)||e.tag&&!qi(e.tag,"button"))},ap=function(e){return!qn(e)&&!np(e)},Nx=function(e){var r;return["btn-".concat(e.variant||"secondary"),(r={},Or(r,"btn-".concat(e.size),e.size),Or(r,"btn-block",e.block),Or(r,"rounded-pill",e.pill),Or(r,"rounded-0",e.squared&&!e.pill),Or(r,"disabled",e.disabled),Or(r,"active",e.pressed),r)]},Lx=function(e){return qn(e)?zh(Gi,e):{}},Bx=function(e,r){var n=np(e),a=qn(e),i=rp(e),s=ap(e),c=a&&e.href==="#",f=r.attrs&&r.attrs.role?r.attrs.role:null,l=r.attrs?r.attrs.tabindex:null;return(s||c)&&(l="0"),{type:n&&!a?e.type:null,disabled:n?e.disabled:null,role:s||c?"button":f,"aria-disabled":s?String(e.disabled):null,"aria-pressed":i?String(e.pressed):null,autocomplete:i?"off":null,tabindex:e.disabled&&!n?"-1":l}},ip=b.extend({name:gh,functional:!0,props:Yx,render:function(e,r){var n=r.props,a=r.data,i=r.listeners,s=r.children,c=rp(n),f=qn(n),l=ap(n),o=f&&n.href==="#",d={keydown:function(m){if(!(n.disabled||!(l||o))){var v=m.keyCode;if(v===Mx||v===Cx&&l){var _=m.currentTarget||m.target;zn(m,{propagation:!1}),_.click()}}},click:function(m){n.disabled&&Ml(m)?zn(m):c&&i&&i["update:pressed"]&&Wt(i["update:pressed"]).forEach(function(v){Ct(v)&&v(!n.pressed)})}};c&&(d.focusin=tp,d.focusout=tp);var h={staticClass:"btn",class:Nx(n),props:Lx(n),attrs:Bx(n,a),on:d};return e(f?Ex:n.tag,Ai(a,h),s)}}),op=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return String(e).replace(zC,"")},Zi=function(e,r){return e?{innerHTML:e}:r?{textContent:r}:{}};const Vn={props:{id:{type:String}},data:function(){return{localId_:null}},computed:{safeId:function(){var e=this.id||this.localId_,r=function(a){return e?(a=String(a||"").replace(/\s+/g,"_"),a?e+"_"+a:e):null};return r}},mounted:function(){var e=this;this.$nextTick(function(){e.localId_="__BVID__".concat(e._uid)})}};var Mt={passive:!0,capture:!1};function sp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Hx(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sp(Object(r),!0).forEach(function(n){zx(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function zx(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qx=function(e,r,n){if(e=e?e.$el||e:null,!fe(e)||GC("observeDom"))return null;var a=new sx(function(i){for(var s=!1,c=0;c<i.length&&!s;c++){var f=i[c],l=f.type,o=f.target;(l==="characterData"&&o.nodeType===Node.TEXT_NODE||l==="attributes"||l==="childList"&&(f.addedNodes.length>0||f.removedNodes.length>0))&&(s=!0)}s&&r()});return a.observe(e,Hx({childList:!0,subtree:!0},n)),a},Vx=function(e){Ie(e,"height",0),Sr(function(){Th(e),Ie(e,"height","".concat(e.scrollHeight,"px"))})},Ux=function(e){Ah(e,"height")},Wx=function(e){Ie(e,"height","auto"),Ie(e,"display","block"),Ie(e,"height","".concat(Ui(e).height,"px")),Th(e),Ie(e,"height",0)},Gx=function(e){Ah(e,"height")},Zx={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},Xx={enter:Vx,afterEnter:Ux,leave:Wx,afterLeave:Gx},Jx=b.extend({name:ZC,functional:!0,props:{appear:{type:Boolean,default:!1}},render:function(e,r){var n=r.props,a=r.data,i=r.children;return e("transition",Ai(a,{props:Zx,on:Xx},{props:n}),i)}});const lp={methods:{listenOnRoot:function(e,r){var n=this;this.$root.$on(e,r),this.$on("hook:beforeDestroy",function(){n.$root.$off(e,r)})},listenOnRootOnce:function(e,r){var n=this;this.$root.$once(e,r),this.$on("hook:beforeDestroy",function(){n.$root.$off(e,r)})},emitOnRoot:function(e){for(var r,n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];(r=this.$root).$emit.apply(r,[e].concat(a))}}};var Qx="bv::toggle::collapse",Kx="bv::collapse::state",eM="bv::collapse::sync::state",tM="bv::request::collapse::state",up="bv::collapse::accordion",rM=b.extend({name:wh,mixins:[Vn,lp,tn],model:{prop:"visible",event:"input"},props:Re({isNav:{type:Boolean,default:!1},accordion:{type:String},visible:{type:Boolean,default:!1},tag:{type:String,default:"div"},appear:{type:Boolean,default:!1}},wh),data:function(){return{show:this.visible,transitioning:!1}},computed:{classObject:function(){return{"navbar-collapse":this.isNav,collapse:!this.transitioning,show:this.show&&!this.transitioning}}},watch:{visible:function(e){e!==this.show&&(this.show=e)},show:function(e,r){e!==r&&this.emitState()}},created:function(){this.show=this.visible},mounted:function(){var e=this;this.show=this.visible,this.listenOnRoot(Qx,this.handleToggleEvt),this.listenOnRoot(up,this.handleAccordionEvt),this.isNav&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick(function(){e.emitState()}),this.listenOnRoot(tM,function(r){r===e.safeId()&&e.$nextTick(e.emitSync)})},updated:function(){this.emitSync()},deactivated:function(){this.isNav&&this.setWindowEvents(!1)},activated:function(){this.isNav&&this.setWindowEvents(!0),this.emitSync()},beforeDestroy:function(){this.show=!1,this.isNav&&Ee&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(e){Hh(e,window,"resize",this.handleResize,Mt),Hh(e,window,"orientationchange",this.handleResize,Mt)},toggle:function(){this.show=!this.show},onEnter:function(){this.transitioning=!0,this.$emit("show")},onAfterEnter:function(){this.transitioning=!1,this.$emit("shown")},onLeave:function(){this.transitioning=!0,this.$emit("hide")},onAfterLeave:function(){this.transitioning=!1,this.$emit("hidden")},emitState:function(){this.$emit("input",this.show),this.emitOnRoot(Kx,this.safeId(),this.show),this.accordion&&this.show&&this.emitOnRoot(up,this.safeId(),this.accordion)},emitSync:function(){this.emitOnRoot(eM,this.safeId(),this.show)},checkDisplayBlock:function(){var e=ux(this.$el,"show");Tl(this.$el,"show");var r=ir(this.$el).display==="block";return e&&Qr(this.$el,"show"),r},clickHandler:function(e){var r=e.target;!this.isNav||!r||ir(this.$el).display!=="block"||($l(r,".nav-link,.dropdown-item")||Fh(".nav-link,.dropdown-item",r))&&(this.checkDisplayBlock()||(this.show=!1))},handleToggleEvt:function(e){e===this.safeId()&&this.toggle()},handleAccordionEvt:function(e,r){!this.accordion||r!==this.accordion||(e===this.safeId()?this.show||this.toggle():this.show&&this.toggle())},handleResize:function(){this.show=ir(this.$el).display==="block"}},render:function(e){var r=this,n={visible:this.show,close:function(){return r.show=!1}},a=e(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.safeId()},on:{click:this.clickHandler}},[this.normalizeSlot(en,n)]);return e(Jx,{props:{appear:this.appear},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[a])}});function nM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cp(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function aM(t,e,r){return e&&cp(t.prototype,e),r&&cp(t,r),t}var iM=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(nM(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));FC(this,t.Defaults,this.constructor.Defaults,r,{type:e}),ph(this,{type:ar(),cancelable:ar(),nativeEvent:ar(),target:ar(),relatedTarget:ar(),vueTarget:ar(),componentId:ar()});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},AC(this,"defaultPrevented",{enumerable:!0,get:function(){return n}})}return aM(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),t}(),oM='Setting prop "options" to an object is deprecated. Use the array format instead.',dp=Re({options:{type:[Array,Object],default:function(){return[]}},valueField:{type:String,default:"value"},textField:{type:String,default:"text"},htmlField:{type:String,default:"html"},disabledField:{type:String,default:"disabled"}},"formOptionControls");const sM={props:dp,computed:{formOptions:function(){return this.normalizeOptions(this.options)}},methods:{normalizeOption:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(wr(e)){var n=Li(e,this.valueField),a=Li(e,this.textField);return{value:Zr(n)?r||a:n,text:op(String(Zr(a)?r:a)),html:Li(e,this.htmlField),disabled:!!Li(e,this.disabledField)}}return{value:r||e,text:op(String(e)),disabled:!1}},normalizeOptions:function(e){var r=this;return lt(e)?e.map(function(n){return r.normalizeOption(n)}):wr(e)?(yh(oM,this.$options.name),ut(e).map(function(n){return r.normalizeOption(e[n]||{},n)})):[]}}};var fp=function(e,r){for(var n=0;n<e.length;n++)if(xt(e[n],r))return n;return-1};function hp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function lM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hp(Object(r),!0).forEach(function(n){uM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function uM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pp="input, textarea, select",Xi=lM({id:{type:String},name:{type:String}},Re({disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},form:{type:String},autofocus:{type:Boolean,default:!1}},"formControls"));const Nl={props:Xi,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var e=this;this.$nextTick(function(){Sr(function(){var r=e.$el;e.autofocus&&$h(r)&&($l(r,pp)||(r=jl(pp,r)),or(r))})})}}};var Ll=Re({plain:{type:Boolean,default:!1}},"formControls");const mp={props:Ll,computed:{custom:function(){return!this.plain}}};function vp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Ji(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?vp(Object(r),!0).forEach(function(n){an(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function an(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Bl=Re(Ji(Ji({},Ll),{},{value:{},checked:{},inline:{type:Boolean,default:!1},button:{type:Boolean,default:!1},buttonVariant:{type:String},ariaLabel:{type:String},ariaLabelledby:{type:String}}),"formRadioCheckControls");const _p={mixins:[Il,mp,tn],inheritAttrs:!1,model:{prop:"checked",event:"input"},props:Bl,data:function(){return{localChecked:this.isGroup?this.bvGroup.checked:this.checked,hasFocus:!1}},computed:{computedLocalChecked:{get:function(){return this.isGroup?this.bvGroup.localChecked:this.localChecked},set:function(e){this.isGroup?this.bvGroup.localChecked=e:this.localChecked=e}},isGroup:function(){return!!this.bvGroup},isBtnMode:function(){return this.isGroup?this.bvGroup.buttons:this.button},isPlain:function(){return this.isBtnMode?!1:this.isGroup?this.bvGroup.plain:this.plain},isCustom:function(){return this.isBtnMode?!1:!this.isPlain},isSwitch:function(){return this.isBtnMode||this.isRadio||this.isPlain?!1:this.isGroup?this.bvGroup.switches:this.switch},isInline:function(){return this.isGroup?this.bvGroup.inline:this.inline},isDisabled:function(){return this.isGroup?this.bvGroup.disabled||this.disabled:this.disabled},isRequired:function(){return this.getName&&(this.isGroup?this.bvGroup.required:this.required)},getName:function(){return(this.isGroup?this.bvGroup.groupName:this.name)||null},getForm:function(){return(this.isGroup?this.bvGroup.form:this.form)||null},getSize:function(){return(this.isGroup?this.bvGroup.size:this.size)||""},getState:function(){return this.isGroup?this.bvGroup.computedState:this.computedState},getButtonVariant:function(){return this.buttonVariant?this.buttonVariant:this.isGroup&&this.bvGroup.buttonVariant?this.bvGroup.buttonVariant:"secondary"},buttonClasses:function(){var e;return["btn","btn-".concat(this.getButtonVariant),(e={},an(e,"btn-".concat(this.getSize),this.getSize),an(e,"disabled",this.isDisabled),an(e,"active",this.isChecked),an(e,"focus",this.hasFocus),e)]},computedAttrs:function(){return Ji(Ji({},this.bvAttrs),{},{id:this.safeId(),type:this.isRadio?"radio":"checkbox",name:this.getName,form:this.getForm,disabled:this.isDisabled,required:this.isRequired,"aria-required":this.isRequired||null,"aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||null})}},watch:{checked:function(e){xt(e,this.computedLocalChecked)||(this.computedLocalChecked=e)}},methods:{handleFocus:function(e){e.target&&(e.type==="focus"?this.hasFocus=!0:e.type==="blur"&&(this.hasFocus=!1))},focus:function(){this.isDisabled||or(this.$refs.input)},blur:function(){this.isDisabled||Eh(this.$refs.input)}},render:function(e){var r=this.normalizeSlot(),n={change:this.handleChange};this.isBtnMode&&(n.focus=n.blur=this.handleFocus);var a=e("input",{ref:"input",key:"input",on:n,class:{"form-check-input":this.isPlain,"custom-control-input":this.isCustom,"is-valid":this.getState===!0&&!this.isBtnMode,"is-invalid":this.getState===!1&&!this.isBtnMode,"position-static":this.isPlain&&!r},directives:[{name:"model",rawName:"v-model",value:this.computedLocalChecked,expression:"computedLocalChecked"}],attrs:this.computedAttrs,domProps:{value:this.value,checked:this.isChecked}});if(this.isBtnMode){var i=e("label",{class:this.buttonClasses},[a,r]);return this.isGroup||(i=e("div",{class:["btn-group-toggle","d-inline-block"]},[i])),i}else{var s=e();return this.isPlain&&!r||(s=e("label",{class:{"form-check-label":this.isPlain,"custom-control-label":this.isCustom},attrs:{for:this.safeId()}},r)),e("div",{class:an({"form-check":this.isPlain,"form-check-inline":this.isPlain&&this.isInline,"custom-control":this.isCustom,"custom-control-inline":this.isCustom&&this.isInline,"custom-checkbox":this.isCustom&&this.isCheck&&!this.isSwitch,"custom-switch":this.isSwitch,"custom-radio":this.isCustom&&this.isRadio},"b-custom-control-".concat(this.getSize),!!(this.getSize&&!this.isBtnMode))},[a,s])}}};var Qi=Re({size:{type:String}},"formControls");const Hl={props:Qi,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}};var Ki=Re({state:{type:Boolean,default:null}},"formState");const zl={props:Ki,computed:{computedState:function(){return xl(this.state)?this.state:null},stateClass:function(){var e=this.computedState;return e===!0?"is-valid":e===!1?"is-invalid":null},computedAriaInvalid:function(){var e=this.ariaInvalid;return e===!0||e==="true"||e===""||this.computedState===!1?"true":e}}};function yp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Un(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?yp(Object(r),!0).forEach(function(n){cM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function cM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dM=b.extend({name:Sh,mixins:[_p,Vn,Nl,Hl,zl],inject:{bvGroup:{from:"bvCheckGroup",default:!1}},props:Re(Un(Un(Un(Un(Un({},Xi),Bl),Qi),Ki),{},{value:{default:!0},uncheckedValue:{default:!1},indeterminate:{type:Boolean,default:!1},switch:{type:Boolean,default:!1},checked:{default:null}}),Sh),computed:{isChecked:function(){var e=this.value,r=this.computedLocalChecked;return lt(r)?fp(r,e)>-1:xt(r,e)},isRadio:function(){return!1},isCheck:function(){return!0}},watch:{computedLocalChecked:function(e,r){if(!xt(e,r)){this.$emit("input",e);var n=this.$refs.input;n&&this.$emit("update:indeterminate",n.indeterminate)}},indeterminate:function(e){this.setIndeterminate(e)}},mounted:function(){this.setIndeterminate(this.indeterminate)},methods:{handleChange:function(e){var r=this,n=e.target,a=n.checked,i=n.indeterminate,s=this.value,c=this.uncheckedValue,f=this.computedLocalChecked;if(lt(f)){var l=fp(f,s);a&&l<0?f=f.concat(s):!a&&l>-1&&(f=f.slice(0,l).concat(f.slice(l+1)))}else f=a?s:c;this.computedLocalChecked=f,this.$nextTick(function(){r.$emit("change",f),r.isGroup&&r.bvGroup.$emit("change",f),r.$emit("update:indeterminate",i)})},setIndeterminate:function(e){lt(this.computedLocalChecked)&&(e=!1);var r=this.$refs.input;r&&(r.indeterminate=e,this.$emit("update:indeterminate",e))}}});function gp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Wn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gp(Object(r),!0).forEach(function(n){fM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hM=b.extend({name:Oh,mixins:[Vn,_p,Nl,Hl,zl],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:Re(Wn(Wn(Wn(Wn(Wn({},Xi),Bl),Qi),Ki),{},{checked:{default:null}}),Oh),computed:{isChecked:function(){return xt(this.value,this.computedLocalChecked)},isRadio:function(){return!0},isCheck:function(){return!1}},watch:{computedLocalChecked:function(e,r){xt(e,r)||this.$emit("input",e)}},methods:{handleChange:function(e){var r=this,n=e.target.checked,a=this.value,i=n?a:null;this.computedLocalChecked=a,this.$nextTick(function(){r.$emit("change",i),r.isGroup&&r.bvGroup.$emit("change",i)})}}});function bp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function on(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bp(Object(r),!0).forEach(function(n){wp(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wp(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Sp=Re(on(on(on(on(on(on({},Xi),dp),Qi),Ki),Ll),{},{checked:{default:null},validated:{type:Boolean,default:!1},ariaInvalid:{type:[Boolean,String],default:!1},stacked:{type:Boolean,default:!1},buttons:{type:Boolean,default:!1},buttonVariant:{type:String}}),"formRadioCheckGroups");const pM={mixins:[Vn,tn,Nl,sM,Hl,zl,mp],model:{prop:"checked",event:"input"},props:Sp,data:function(){return{localChecked:this.checked}},computed:{inline:function(){return!this.stacked},groupName:function(){return this.name||this.safeId()},groupClasses:function(){var e=this.inline,r=this.size,n=this.validated,a={"was-validated":n};return this.buttons&&(a=[a,"btn-group-toggle",wp({"btn-group":e,"btn-group-vertical":!e},"btn-group-".concat(r),!!r)]),a}},watch:{checked:function(e){xt(e,this.localChecked)||(this.localChecked=e)},localChecked:function(e,r){xt(e,r)||this.$emit("input",e)}},render:function(e){var r=this,n=this.isRadioGroup,a=n?hM:dM,i=this.formOptions.map(function(s,c){var f="BV_option_".concat(c);return e(a,{props:{id:r.safeId(f),value:s.value,disabled:s.disabled||!1},key:f},[e("span",{domProps:Zi(s.html,s.text)})])});return e("div",{class:[this.groupClasses,"bv-no-focus-ring"],attrs:{id:this.safeId(),role:n?"radiogroup":"group",tabindex:"-1","aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid}},[this.normalizeSlot(mx),i,this.normalizeSlot()])}};var mM=Re(Sp,kh),eo=b.extend({name:kh,mixins:[pM],provide:function(){return{bvRadioGroup:this}},props:mM,computed:{isRadioGroup:function(){return!0}}}),vM=b.extend({abstract:!0,name:QC,props:{nodes:{type:[Array,Function]}},data:function(e){return{updatedNodes:e.nodes}},destroyed:function(){lx(this.$el)},render:function(e){var r=Ct(this.updatedNodes)?this.updatedNodes({}):this.updatedNodes;return r=Wt(r).filter(Boolean),r&&r.length>0&&!r[0].text?r[0]:e()}}),_M=b.extend({name:JC,mixins:[tn],props:{disabled:{type:Boolean,default:!1},container:{type:[String,uh],default:"body"},tag:{type:String,default:"div"}},watch:{disabled:{immediate:!0,handler:function(e){e?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(Ee){var e=this.container;return br(e)?jl(e):e}else return null},mountTarget:function(){if(!this.$_target){var e=this.getContainer();if(e){var r=document.createElement("div");e.appendChild(r),this.$_target=new vM({el:r,parent:this,propsData:{nodes:Wt(this.normalizeSlot())}})}}},updateTarget:function(){if(Ee&&this.$_target){var e=this.$scopedSlots.default;this.disabled||(e&&this.$_defaultFn!==e?this.$_target.updatedNodes=e:e||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=e}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(e){if(this.disabled){var r=Wt(this.normalizeSlot()).filter(Jr);if(r.length>0&&!r[0].text)return r[0]}return e()}}),ct="$_bv_documentHandlers_";const yM={created:function(){var e=this;Ee&&(this[ct]={},this.$once("hook:beforeDestroy",function(){var r=e[ct]||{};delete e[ct],ut(r).forEach(function(n){var a=r[n]||[];a.forEach(function(i){return rn(document,n,i,Mt)})})}))},methods:{listenDocument:function(e,r,n){e?this.listenOnDocument(r,n):this.listenOffDocument(r,n)},listenOnDocument:function(e,r){this[ct]&&br(e)&&Ct(r)&&(this[ct][e]=this[ct][e]||[],Dl(this[ct][e],r)||(this[ct][e].push(r),Wi(document,e,r,Mt)))},listenOffDocument:function(e,r){this[ct]&&br(e)&&Ct(r)&&(rn(document,e,r,Mt),this[ct][e]=(this[ct][e]||[]).filter(function(n){return n!==r}))}}};var dt="$_bv_windowHandlers_";const gM={beforeCreate:function(){this[dt]={}},beforeDestroy:function(){if(Ee){var e=this[dt];delete this[dt],ut(e).forEach(function(r){var n=e[r]||[];n.forEach(function(a){return rn(window,r,a,Mt)})})}},methods:{listenWindow:function(e,r,n){e?this.listenOnWindow(r,n):this.listenOffWindow(r,n)},listenOnWindow:function(e,r){Ee&&this[dt]&&br(e)&&Ct(r)&&(this[dt][e]=this[dt][e]||[],Dl(this[dt][e],r)||(this[dt][e].push(r),Wi(window,e,r,Mt)))},listenOffWindow:function(e,r){Ee&&this[dt]&&br(e)&&Ct(r)&&(rn(window,e,r,Mt),this[dt][e]=(this[dt][e]||[]).filter(function(n){return n!==r}))}}};var bM=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e&&e.$options._scopeId||r};function wM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const SM={computed:{scopedStyleAttrs:function(){var e=bM(this.$parent);return e?wM({},e,""):{}}}};var Op=1040,ql={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},OM=b.extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(e,r){Ee&&(this.getScrollbarWidth(),e>0&&r===0?(this.checkScrollbar(),this.setScrollbar(),Qr(document.body,"modal-open")):e===0&&r>0&&(this.resetScrollbar(),Tl(document.body,"modal-open")),Bn(document.body,"data-modal-open-count",String(e)))},modals:function(e){var r=this;this.checkScrollbar(),Sr(function(){r.updateModals(e||[])})}},methods:{registerModal:function(e){var r=this;e&&this.modals.indexOf(e)===-1&&(this.modals.push(e),e.$once("hook:beforeDestroy",function(){r.unregisterModal(e)}))},unregisterModal:function(e){var r=this.modals.indexOf(e);r>-1&&(this.modals.splice(r,1),e._isBeingDestroyed||e._isDestroyed||this.resetModal(e))},getBaseZIndex:function(){if(nr(this.baseZIndex)&&Ee){var e=document.createElement("div");Qr(e,"modal-backdrop"),Qr(e,"d-none"),Ie(e,"display","none"),document.body.appendChild(e),this.baseZIndex=nx(ir(e).zIndex,Op),document.body.removeChild(e)}return this.baseZIndex||Op},getScrollbarWidth:function(){if(nr(this.scrollbarWidth)&&Ee){var e=document.createElement("div");Qr(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=Ui(e).width-e.clientWidth,document.body.removeChild(e)}return this.scrollbarWidth||0},updateModals:function(e){var r=this,n=this.getBaseZIndex(),a=this.getScrollbarWidth();e.forEach(function(i,s){i.zIndex=n+s,i.scrollbarWidth=a,i.isTop=s===r.modals.length-1,i.isBodyOverflowing=r.isBodyOverflowing})},resetModal:function(e){e&&(e.zIndex=this.getBaseZIndex(),e.isTop=!0,e.isBodyOverflowing=!1)},checkScrollbar:function(){var e=Ui(document.body),r=e.left,n=e.right;this.isBodyOverflowing=r+n<window.innerWidth},setScrollbar:function(){var e=document.body;if(e._paddingChangedForModal=e._paddingChangedForModal||[],e._marginChangedForModal=e._marginChangedForModal||[],this.isBodyOverflowing){var r=this.scrollbarWidth;Vi(ql.FIXED_CONTENT).forEach(function(a){var i=Hn(a,"paddingRight")||"";Bn(a,"data-padding-right",i),Ie(a,"paddingRight","".concat(Bi(ir(a).paddingRight,0)+r,"px")),e._paddingChangedForModal.push(a)}),Vi(ql.STICKY_CONTENT).forEach(function(a){var i=Hn(a,"marginRight")||"";Bn(a,"data-margin-right",i),Ie(a,"marginRight","".concat(Bi(ir(a).marginRight,0)-r,"px")),e._marginChangedForModal.push(a)}),Vi(ql.NAVBAR_TOGGLER).forEach(function(a){var i=Hn(a,"marginRight")||"";Bn(a,"data-margin-right",i),Ie(a,"marginRight","".concat(Bi(ir(a).marginRight,0)+r,"px")),e._marginChangedForModal.push(a)});var n=Hn(e,"paddingRight")||"";Bn(e,"data-padding-right",n),Ie(e,"paddingRight","".concat(Bi(ir(e).paddingRight,0)+r,"px"))}},resetScrollbar:function(){var e=document.body;e._paddingChangedForModal&&e._paddingChangedForModal.forEach(function(r){El(r,"data-padding-right")&&(Ie(r,"paddingRight",Al(r,"data-padding-right")||""),Fl(r,"data-padding-right"))}),e._marginChangedForModal&&e._marginChangedForModal.forEach(function(r){El(r,"data-margin-right")&&(Ie(r,"marginRight",Al(r,"data-margin-right")||""),Fl(r,"data-margin-right"))}),e._paddingChangedForModal=null,e._marginChangedForModal=null,El(e,"data-padding-right")&&(Ie(e,"paddingRight",Al(e,"data-padding-right")||""),Fl(e,"data-padding-right"))}}}),Gn=new OM;function to(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?to=function(r){return typeof r}:to=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},to(t)}function kp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Cp(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?kp(Object(r),!0).forEach(function(n){kM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function kM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function CM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xp(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function xM(t,e,r){return e&&xp(t.prototype,e),r&&xp(t,r),t}function ro(t,e,r){return typeof Reflect!="undefined"&&Reflect.get?ro=Reflect.get:ro=function(a,i,s){var c=MM(a,i);if(c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(s):f.value}},ro(t,e,r||t)}function MM(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=sn(t),t!==null););return t}function PM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Vl(t,e)}function Vl(t,e){return Vl=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Vl(t,e)}function RM(t){var e=jM();return function(){var n=sn(t),a;if(e){var i=sn(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return DM(this,a)}}function DM(t,e){return e&&(to(e)==="object"||typeof e=="function")?e:Mp(t)}function Mp(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function sn(t){return sn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sn(t)}var $M=function(t){PM(r,t);var e=RM(r);function r(n){var a,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return CM(this,r),a=e.call(this,n,i),ph(Mp(a),{trigger:ar()}),a}return xM(r,null,[{key:"Defaults",get:function(){return Cp(Cp({},ro(sn(r),"Defaults",this)),{},{trigger:null})}}]),r}(iM);function Pp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Zn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Pp(Object(r),!0).forEach(function(n){Je(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Je(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var TM={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},FM=Re({size:{type:String,default:"md"},centered:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},buttonSize:{type:String},noStacking:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noCloseOnBackdrop:{type:Boolean,default:!1},noCloseOnEsc:{type:Boolean,default:!1},noEnforceFocus:{type:Boolean,default:!1},ignoreEnforceFocusSelector:{type:[Array,String],default:""},title:{type:String,default:""},titleHtml:{type:String},titleTag:{type:String,default:"h5"},titleClass:{type:[String,Array,Object]},titleSrOnly:{type:Boolean,default:!1},ariaLabel:{type:String},headerBgVariant:{type:String},headerBorderVariant:{type:String},headerTextVariant:{type:String},headerCloseVariant:{type:String},headerClass:{type:[String,Array,Object]},bodyBgVariant:{type:String},bodyTextVariant:{type:String},modalClass:{type:[String,Array,Object]},dialogClass:{type:[String,Array,Object]},contentClass:{type:[String,Array,Object]},bodyClass:{type:[String,Array,Object]},footerBgVariant:{type:String},footerBorderVariant:{type:String},footerTextVariant:{type:String},footerClass:{type:[String,Array,Object]},hideHeader:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideHeaderClose:{type:Boolean,default:!1},hideBackdrop:{type:Boolean,default:!1},okOnly:{type:Boolean,default:!1},okDisabled:{type:Boolean,default:!1},cancelDisabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!1},returnFocus:{type:[uh,String,Object],default:null},headerCloseContent:{type:String,default:"×"},headerCloseLabel:{type:String,default:"Close"},cancelTitle:{type:String,default:"Cancel"},cancelTitleHtml:{type:String},okTitle:{type:String,default:"OK"},okTitleHtml:{type:String},cancelVariant:{type:String,default:"secondary"},okVariant:{type:String,default:"primary"},lazy:{type:Boolean,default:!1},busy:{type:Boolean,default:!1},static:{type:Boolean,default:!1},autoFocusButton:{type:String,default:null,validator:function(e){return Yi(e)||Dl(["ok","cancel","close"],e)}}},xh),AM=b.extend({name:xh,mixins:[Il,Vn,yM,lp,gM,tn,SM],inheritAttrs:!1,model:{prop:"visible",event:"change"},props:FM,data:function(){return{isHidden:!0,isVisible:!1,isTransitioning:!1,isShow:!1,isBlock:!1,isOpening:!1,isClosing:!1,ignoreBackdropClick:!1,isModalOverflowing:!1,return_focus:this.returnFocus||null,scrollbarWidth:0,zIndex:Gn.getBaseZIndex(),isTop:!0,isBodyOverflowing:!1}},computed:{modalId:function(){return this.safeId()},modalOuterId:function(){return this.safeId("__BV_modal_outer_")},modalHeaderId:function(){return this.safeId("__BV_modal_header_")},modalBodyId:function(){return this.safeId("__BV_modal_body_")},modalTitleId:function(){return this.safeId("__BV_modal_title_")},modalContentId:function(){return this.safeId("__BV_modal_content_")},modalFooterId:function(){return this.safeId("__BV_modal_footer_")},modalBackdropId:function(){return this.safeId("__BV_modal_backdrop_")},modalClasses:function(){return[{fade:!this.noFade,show:this.isShow},this.modalClass]},modalStyles:function(){var e="".concat(this.scrollbarWidth,"px");return{paddingLeft:!this.isBodyOverflowing&&this.isModalOverflowing?e:"",paddingRight:this.isBodyOverflowing&&!this.isModalOverflowing?e:"",display:this.isBlock?"block":"none"}},dialogClasses:function(){var e;return[(e={},Je(e,"modal-".concat(this.size),this.size),Je(e,"modal-dialog-centered",this.centered),Je(e,"modal-dialog-scrollable",this.scrollable),e),this.dialogClass]},headerClasses:function(){var e;return[(e={},Je(e,"bg-".concat(this.headerBgVariant),this.headerBgVariant),Je(e,"text-".concat(this.headerTextVariant),this.headerTextVariant),Je(e,"border-".concat(this.headerBorderVariant),this.headerBorderVariant),e),this.headerClass]},titleClasses:function(){return[{"sr-only":this.titleSrOnly},this.titleClass]},bodyClasses:function(){var e;return[(e={},Je(e,"bg-".concat(this.bodyBgVariant),this.bodyBgVariant),Je(e,"text-".concat(this.bodyTextVariant),this.bodyTextVariant),e),this.bodyClass]},footerClasses:function(){var e;return[(e={},Je(e,"bg-".concat(this.footerBgVariant),this.footerBgVariant),Je(e,"text-".concat(this.footerTextVariant),this.footerTextVariant),Je(e,"border-".concat(this.footerBorderVariant),this.footerBorderVariant),e),this.footerClass]},modalOuterStyle:function(){return{position:"absolute",zIndex:this.zIndex}},slotScope:function(){return{ok:this.onOk,cancel:this.onCancel,close:this.onClose,hide:this.hide,visible:this.isVisible}},computeIgnoreEnforceFocusSelector:function(){return Wt(this.ignoreEnforceFocusSelector).filter(Jr).join(",").trim()},computedAttrs:function(){var e=this.static?{}:this.scopedStyleAttrs;return Zn(Zn(Zn({},e),this.bvAttrs),{},{id:this.modalOuterId})},computedModalAttrs:function(){var e=this.isVisible,r=this.ariaLabel;return{id:this.modalId,role:"dialog","aria-hidden":e?null:"true","aria-modal":e?"true":null,"aria-label":r,"aria-labelledby":this.hideHeader||r||!(this.hasNormalizedSlot("modal-title")||this.titleHtml||this.title)?null:this.modalTitleId,"aria-describedby":this.modalBodyId}}},watch:{visible:function(e,r){e!==r&&this[e?"show":"hide"]()}},created:function(){this.$_observer=null},mounted:function(){this.zIndex=Gn.getBaseZIndex(),this.listenOnRoot("bv::show::modal",this.showHandler),this.listenOnRoot("bv::hide::modal",this.hideHandler),this.listenOnRoot("bv::toggle::modal",this.toggleHandler),this.listenOnRoot("bv::modal::show",this.modalListener),this.visible===!0&&this.$nextTick(this.show)},beforeDestroy:function(){this.setObserver(!1),this.isVisible&&(this.isVisible=!1,this.isShow=!1,this.isTransitioning=!1)},methods:{setObserver:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=qx(this.$refs.content,this.checkModalOverflow.bind(this),TM))},updateModel:function(e){e!==this.visible&&this.$emit("change",e)},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new $M(e,Zn(Zn({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},r),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!(this.isVisible||this.isOpening)){if(this.isClosing){this.$once("hidden",this.show);return}this.isOpening=!0,this.return_focus=this.return_focus||this.getActiveElement();var e=this.buildEvent("show",{cancelable:!0});if(this.emitEvent(e),e.defaultPrevented||this.isVisible){this.isOpening=!1,this.updateModel(!1);return}this.doShow()}},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(!(!this.isVisible||this.isClosing)){this.isClosing=!0;var r=this.buildEvent("hide",{cancelable:e!=="FORCE",trigger:e||null});if(e==="ok"?this.$emit("ok",r):e==="cancel"?this.$emit("cancel",r):e==="headerclose"&&this.$emit("close",r),this.emitEvent(r),r.defaultPrevented||!this.isVisible){this.isClosing=!1,this.updateModel(!0);return}this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(e){e&&(this.return_focus=e),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){var e=Dh(Ee?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;if(Gn.modalsAreOpen&&this.noStacking){this.listenOnRootOnce("bv::modal::hidden",this.doShow);return}Gn.registerModal(this),this.isHidden=!1,this.$nextTick(function(){e.isVisible=!0,e.isOpening=!1,e.updateModel(!0),e.$nextTick(function(){e.setObserver(!0)})})},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var e=this;this.isBlock=!0,Sr(function(){Sr(function(){e.isShow=!0})})},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,Sr(function(){e.emitEvent(e.buildEvent("shown")),e.setEnforceFocus(!0),e.$nextTick(function(){e.focusFirst()})})},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var e=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick(function(){e.isClosing=!1,Gn.unregisterModal(e),e.returnFocusTo(),e.emitEvent(e.buildEvent("hidden"))})},emitEvent:function(e){var r=e.type;this.emitOnRoot("bv::modal::".concat(r),e,e.componentId),this.$emit(r,e)},onDialogMousedown:function(){var e=this,r=this.$refs.modal,n=function a(i){rn(r,"mouseup",a,Mt),i.target===r&&(e.ignoreBackdropClick=!0)};Wi(r,"mouseup",n,Mt)},onClickOut:function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}!this.isVisible||this.noCloseOnBackdrop||!Ln(document.body,e.target)||Ln(this.$refs.content,e.target)||this.hide("backdrop")},onOk:function(){this.hide("ok")},onCancel:function(){this.hide("cancel")},onClose:function(){this.hide("headerclose")},onEsc:function(e){e.keyCode===xx&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(e){var r=this.$refs.content,n=e.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!r||document===n||Ln(r,n)||this.computeIgnoreEnforceFocusSelector&&Fh(this.computeIgnoreEnforceFocusSelector,n,!0))){var a=cx(this.$refs.content),i=this.$refs,s=i.bottomTrap,c=i.topTrap;if(s&&n===s){if(or(a[0]))return}else if(c&&n===c&&or(a[a.length-1]))return;or(r,{preventScroll:!0})}},setEnforceFocus:function(e){this.listenDocument(e,"focusin",this.focusHandler)},setResizeEvent:function(e){this.listenWindow(e,"resize",this.checkModalOverflow),this.listenWindow(e,"orientationchange",this.checkModalOverflow)},showHandler:function(e,r){e===this.modalId&&(this.return_focus=r||this.getActiveElement(),this.show())},hideHandler:function(e){e===this.modalId&&this.hide("event")},toggleHandler:function(e,r){e===this.modalId&&this.toggle(r)},modalListener:function(e){this.noStacking&&e.vueTarget!==this&&this.hide()},focusFirst:function(){var e=this;Ee&&Sr(function(){var r=e.$refs.modal,n=e.$refs.content,a=e.getActiveElement();if(r&&n&&!(a&&Ln(n,a))){var i=e.$refs["ok-button"],s=e.$refs["cancel-button"],c=e.$refs["close-button"],f=e.autoFocusButton,l=f==="ok"&&i?i.$el||i:f==="cancel"&&s?s.$el||s:f==="close"&&c?c.$el||c:n;or(l),l===n&&e.$nextTick(function(){r.scrollTop=0})}})},returnFocusTo:function(){var e=this.returnFocus||this.return_focus||null;this.return_focus=null,this.$nextTick(function(){e=br(e)?jl(e):e,e&&(e=e.$el||e,or(e))})},checkModalOverflow:function(){if(this.isVisible){var e=this.$refs.modal;this.isModalOverflowing=e.scrollHeight>document.documentElement.clientHeight}},makeModal:function(e){var r=e();if(!this.hideHeader){var n=this.normalizeSlot("modal-header",this.slotScope);if(!n){var a=e();this.hideHeaderClose||(a=e(yx,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot("modal-header-close")])),n=[e(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot("modal-title")?{}:Zi(this.titleHtml,this.title)},this.normalizeSlot("modal-title",this.slotScope)),a]}r=e("header",{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var i=e("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot(en,this.slotScope)),s=e();if(!this.hideFooter){var c=this.normalizeSlot("modal-footer",this.slotScope);if(!c){var f=e();this.okOnly||(f=e(ip,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-cancel")?{}:Zi(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot("modal-cancel")));var l=e(ip,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-ok")?{}:Zi(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot("modal-ok"));c=[f,l]}s=e("footer",{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[c])}var o=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[r,i,s]),d=e(),h=e();this.isVisible&&!this.noEnforceFocus&&(d=e("span",{ref:"topTrap",attrs:{tabindex:"0"}}),h=e("span",{ref:"bottomTrap",attrs:{tabindex:"0"}}));var u=e("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[d,o,h]),m=e("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[u]);m=e("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[m]);var v=e();return!this.hideBackdrop&&this.isVisible&&(v=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot("modal-backdrop"))),v=e(px,{props:{noFade:this.noFade}},[v]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this._uid)},[m,v])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(_M,[this.makeModal(e)])}});const EM=b.defineComponent({name:"ClaimFreeYearsModalContent",components:{BModal:AM,BCollapse:rM,DefaultSelect:Ae},props:{maxClaimFreeYears:{required:!0,type:Number},currentClaimFreeYears:{required:!0,type:String},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const r=b.ref(!1),n=b.ref(!1),a=b.ref("1"),i=b.ref("0"),s=b.ref(t.currentClaimFreeYears),c=b.computed(()=>a.value==="2"?"Je hebt schadevrije jaren, maar..":"Bereken je schadevrije jaren!");b.watch(s,u=>{i.value=u});const f=()=>{e("set-claim-free-years",i.value)},l=()=>{i.value="0",f(),o()},o=()=>{r.value=!1,b.nextTick(()=>{a.value="1"})},d=()=>{r.value=!0},h=u=>{a.value=u};return b.onBeforeUnmount(()=>{e("open-claim-free-year-modal",d)}),b.onMounted(()=>{e("open-claim-free-year-modal",d)}),{collapseOpen:n,currentStep:a,isModalOpen:r,claimFreeYears:i,setClaimFreeYears:f,openModal:d,closeModal:o,setStep:h,resetClaimFreeYears:l,title:c}}});var Rp=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",[r("b-modal",{attrs:{title:e.title,static:"",centered:"","no-fade":"","modal-class":"form-modal","hide-footer":""},model:{value:e.isModalOpen,callback:function(n){e.isModalOpen=n},expression:"isModalOpen"}},[e.currentStep==="1"?r("div",[r("p",[e._v(" Heb je in de afgelopen 3 jaar een bromfietsverzekering op je eigen naam gehad die je hebt opgezegd? ")]),r("div",{staticClass:"d-flex justify-content-between"},[r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill mr-2 cursor-pointer",on:{click:function(n){return e.setStep("1-1")}}},[e._v(" Ja ")]),r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill ml-2 cursor-pointer",on:{click:function(n){return e.setStep("1-2")}}},[e._v(" Nee ")])])]):e._e(),e.currentStep==="1-1"?r("div",[r("p",[e._v(" Hoeveel aaneengesloten jaren heb je deze bromfietsverzekering gehad zonder schades te claimen? ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.claimFreeYears,expression:"claimFreeYears"}],staticClass:"vd-form-group__input",attrs:{id:"claimFreeYears",name:"claimfreeyears"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,function(i){return i.selected}).map(function(i){var s="_value"in i?i._value:i.value;return s});e.claimFreeYears=n.target.multiple?a:a[0]},e.setClaimFreeYears]}},[r("option",{attrs:{value:"0"}},[e._v(" 0 jaar ")]),e._l(e.maxClaimFreeYears,function(n){return r("option",{key:n,domProps:{value:n}},[e._v(" "+e._s(n)+" jaar ")])})],2),r("div",{staticClass:"d-flex justify-content-between mt-3"},[r("div",{staticClass:"btn-a btn-a--gray btn-a--bold btn-a--small cursor-pointer",on:{click:function(n){return e.setStep("1")}}},[e._v(" Terug ")]),r("div",{staticClass:"btn-a btn-a--success btn-a--small btn-a--bold cursor-pointer",on:{click:e.closeModal}},[e._v(" Opslaan ")])])]):e._e(),e.currentStep==="1-2"?r("div",[r("p",[e._v(" Je hebt geen schadevrije jaren voor de bromfiets/scooter opgebouwd. Wil je gebruik maken van schadevrije jaren van een motor- of autoverzekering? ")]),r("div",{staticClass:"d-flex justify-content-between"},[r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill mr-2 cursor-pointer",on:{click:function(n){return e.setStep("2")}}},[e._v(" Ja ")]),r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill ml-2 cursor-pointer",on:{click:function(n){return e.setStep("1-3")}}},[e._v(" Nee ")])]),r("div",{staticClass:"btn-a btn-a--gray btn-a--bold btn-a--small btn-block cursor-pointer mt-3",on:{click:function(n){return e.setStep("1")}}},[e._v(" Terug ")])]):e._e(),e.currentStep==="1-3"?r("div",[r("p",[e._v(" Omdat je nog geen aantoonbare schadevrije jaren hebt opgebouwd, begin je met 0 schadevrije jaren. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. ")]),r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill btn-block cursor-pointer",on:{click:e.resetClaimFreeYears}},[e._v(" Sluit venster ")])]):e._e(),e.currentStep==="2"?r("div",[r("p",[e._v(" ..schadevrije jaren die je hebt opgebouwd op je motor- of autoverzekering kun je niet tegelijkertijd gebruiken voor je bromfietsverzekering. Wil je ze toch op je bromfietsverzekering gebruiken? Dan komen deze schadevrije jaren te vervallen op je motor- of autoverzekering. "),r("span",{staticClass:"text-primary text-deco-line cursor-pointer",on:{click:function(n){e.collapseOpen=!e.collapseOpen}}},[e._v(" Meer informatie ")]),r("b-collapse",{model:{value:e.collapseOpen,callback:function(n){e.collapseOpen=n},expression:"collapseOpen"}},[r("p",{staticClass:"mb-0"},[e._v(" Je kunt ze daarna nooit meer gebruiken voor een nieuwe motor- of autoverzekering. De korting bij schadevrije jaren op een auto- of motorverzekering is vaak veel hoger dan bij een bromfiets- of scooterverzekering. "),r("span",{staticClass:"font-weight-bold"},[e._v(" Heb je hulp nodig? Bel ons op 035-6857888! ")])])])],1),r("div",{staticClass:"d-flex justify-content-between flex-column"},[r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill cursor-pointer",on:{click:e.resetClaimFreeYears}},[e._v(" Schadevrije jaren "),r("span",{staticClass:"text-deco-line"},[e._v("NIET")]),e._v(" gebruiken ")]),r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill mt-2 cursor-pointer",on:{click:function(n){return e.setStep("2-1")}}},[e._v(" Schadevrije jaren "),r("span",{staticClass:"text-deco-line"},[e._v("WEL")]),e._v(" gebruiken ")])]),r("div",{staticClass:"btn-a btn-a--gray btn-a--bold btn-a--small btn-block cursor-pointer mt-3",on:{click:function(n){return e.setStep("1-2")}}},[e._v(" Terug ")])]):e._e(),e.currentStep==="2-1"?r("div",[r("p",[e._v(" Selecteer hieronder het aantal schadevrije jaren dat je hebt opgebouwd op een auto- of motorverzekering. Deze kun je dan op je bromfietsverzekering gebruiken. ")]),r("small",{staticClass:"font-weight-bold mb-3 d-block"},[e._v(" Let op! Je kunt ze daarna niet meer op een nieuwe auto- of motorverzekering gebruiken. ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.claimFreeYears,expression:"claimFreeYears"}],staticClass:"vd-form-group__input",attrs:{id:"claimFreeYears",name:"claimfreeyears"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,function(i){return i.selected}).map(function(i){var s="_value"in i?i._value:i.value;return s});e.claimFreeYears=n.target.multiple?a:a[0]},e.setClaimFreeYears]}},[r("option",{attrs:{value:"0"}},[e._v(" 0 jaar ")]),e._l(e.maxClaimFreeYears,function(n){return r("option",{key:n,domProps:{value:n}},[e._v(" "+e._s(n)+" jaar ")])})],2),r("div",{staticClass:"d-flex justify-content-between mt-3"},[r("div",{staticClass:"btn-a btn-a--gray btn-a--bold btn-a--small cursor-pointer",on:{click:function(n){return e.setStep("1")}}},[e._v(" Terug ")]),r("div",{staticClass:"btn-a btn-a--success btn-a--small btn-a--bold cursor-pointer",on:{click:e.closeModal}},[e._v(" Opslaan ")])])]):e._e()])],1)},IM=[];Rp._withStripped=!0;var Dp=J(EM,Rp,IM,!1,null,null,null,null);Dp.options.__file="/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/modals/calculateClaimFreeYears.vue";const jp=Dp.exports,YM=b.defineComponent({name:"MopedForm",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,DefaultSelect:Ae,CalculateClaimFreeYears:jp,SimpleCard:st,BirthdateInput:kt,ErrorHandler:Be},props:{link:{type:String,required:!1},classes:{required:!1,type:String,default:""},isOnResultPage:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Brommerverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},buttonOptions:{required:!1},userInformation:{required:!1,default(){return{}}},insuranceState:{required:!1,default(){return{}}},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const{HouseInformation:r,vehicle:n,licenseError:a,showLicenseInfo:i,houseError:s,showHouseInformation:c,currentYear:f,isModalOpen:l,minAge:o,maxAge:d,claimFreeYearsErrorData:h,birthDateYear:u,maxClaimFreeYearsOptions:m,maxClaimFreeYears:v,buttonStyles:_,showCatalogValueField:p,showPurchaseValueField:y,maxPurchaseValue:w,errorsData:j,checkClaimFreeYears:q,setClaimFreeYears:he,onLicenseInput:De,onLicenseError:Me,openQuotationModal:Pt,openClaimFreeYearModal:G,validateBeforeSubmit:V}=eh(t,e);return{HouseInformation:r,licenseInformation:sr,vehicle:n,licenseError:a,showLicenseInfo:i,houseError:s,showHouseInformation:c,currentYear:f,isModalOpen:l,minAge:o,maxAge:d,claimFreeYearsErrorData:h,birthDateYear:u,maxClaimFreeYearsOptions:m,maxClaimFreeYears:v,buttonStyles:_,showCatalogValueField:p,showPurchaseValueField:y,maxPurchaseValue:w,errorsData:j,checkClaimFreeYears:q,setClaimFreeYears:he,onLicenseInput:De,onLicenseError:Me,openQuotationModal:Pt,openClaimFreeYearModal:G,validateBeforeSubmit:V,userInformation:C,mopedState:_e}}});var $p=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes}},[r("form",{ref:"moped-form",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("license-plate",{attrs:{id:"license","vehicle-types":["Moped"],"vehicle-type":"moped","insurance-dutch-naming":"brommer","prop-vehicle-information":e.licenseInformation.moped,name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-vehicle-information-update":n=>e.licenseInformation.moped=n},model:{value:e.mopedState.license,callback:function(n){e.$set(e.mopedState,"license",n)},expression:"mopedState.license"}}),e.showPurchaseValueField?r("div",{staticClass:"vd-form-group"},[r("default-input",{attrs:{id:"purchaseValueForm",validation:`required|min_value:500|max_value:${e.maxPurchaseValue}`,name:"purchaseValueForm",type:"text",mask:"#####",label:"Aankoopbedrag","has-prepend":!0,"prepend-text":"€","vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"purchaseValueForm","errors-data":e.errorsData.purchaseValue}})]},proxy:!0}],null,!1,1454891373),model:{value:e.mopedState.purchaseValue,callback:function(n){e.$set(e.mopedState,"purchaseValue",n)},expression:"mopedState.purchaseValue"}})],1):e._e(),e.showCatalogValueField?r("div",{staticClass:"vd-form-group"},[r("default-input",{attrs:{id:"catalogValueForm",validation:"required|min_value:500|max_value:19999",name:"catalogValueForm",type:"text",mask:"#####",label:"Cataloguswaarde","has-prepend":!0,"prepend-text":"€","vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"catalogValueForm","errors-data":e.errorsData.catalogValue}})]},proxy:!0}],null,!1,2596429485),model:{value:e.mopedState.catalogValue,callback:function(n){e.$set(e.mopedState,"catalogValue",n)},expression:"mopedState.catalogValue"}})],1):e._e(),r("address-handler",{attrs:{"zipcode-name":"zipcode","house-number-name":"housenumber","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition,"vd-form-version":e.vdFormVersion},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}}),r("div",{staticClass:"vd-form-group"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion,"ages-range":{min:16,max:100}},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}})],1),r("div",{staticClass:"vd-form-group"},[r("default-select",{staticClass:"mx-0",attrs:{id:"claimFreeYears",options:e.maxClaimFreeYearsOptions,"no-default-placeholder":!0,name:"claimfreeyears","is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"d-flex flex-no-wrap"},[e._v(" Schadevrije jaren "),r("span",{staticClass:"text-danger ml-1"},[e._v(" *")]),r("popper",{attrs:{options:{placement:"top",modifiers:{offset:{offset:"0,5px"}}},trigger:"hover","visible-arrow":e.vdFormVersion!=="1"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary mt-1"}),e._v(" Schadevrije jaren ")]),e._v(" Je bouwt alleen schadevrije jaren op als je in de laatste 3 jaar een bromfiets of scooter op jouw naam verzekerd hebt gehad. Schadevrije jaren geven je korting op de premie. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. Schadevrije jaren die ja al op een lopende auto, motor of bromfietsverzekering hebt lopen kun je niet op een tweede voertuig gebruiken. "),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[e._v(" Bereken je schadevrije jaren! ")]):e._e()]),r("i",{staticClass:"fas ml-1",class:e.vdFormVersion==="1"?"fa-info-circle vd-info-icon":"fa-question-circle text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"})])],1)]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"claimFreeYears","errors-data":e.errorsData.claimFreeYears}})]},proxy:!0},{key:"additional-info",fn:function(){return[e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[r("i",{staticClass:"fas fa-question-circle ml-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"}),e._v(" Bereken je schadevrije jaren! ")]):e._e()]},proxy:!0}]),model:{value:e.mopedState.claimFreeYears,callback:function(n){e.$set(e.mopedState,"claimFreeYears",n)},expression:"mopedState.claimFreeYears"}})],1),r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])],1)]),r("calculate-claim-free-years",{attrs:{"current-claim-free-years":e.mopedState.claimFreeYears,"max-claim-free-years":e.maxClaimFreeYears},on:{"set-claim-free-years":e.setClaimFreeYears}})],1)},NM=[];$p._withStripped=!0;var Tp=J(YM,$p,NM,!1,null,null,null,null);Tp.options.__file="/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/MopedForm.vue";const LM=Tp.exports,BM=b.defineComponent({name:"MopedFormHorizontal",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,DefaultSelect:Ae,CalculateClaimFreeYears:jp,BirthdateInput:kt,ErrorHandler:Be},props:{link:{type:String,required:!1},classes:{required:!1,type:String,default:""},isOnResultPage:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Brommerverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},buttonOptions:{required:!1},userInformation:{required:!1},insuranceState:{required:!1},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const{HouseInformation:r,vehicle:n,licenseError:a,showLicenseInfo:i,houseError:s,showHouseInformation:c,currentYear:f,isModalOpen:l,minAge:o,maxAge:d,claimFreeYearsErrorData:h,birthDateYear:u,maxClaimFreeYearsOptions:m,maxClaimFreeYears:v,buttonStyles:_,showCatalogValueField:p,showPurchaseValueField:y,maxPurchaseValue:w,errorsData:j,checkClaimFreeYears:q,setClaimFreeYears:he,onLicenseInput:De,onLicenseError:Me,openQuotationModal:Pt,openClaimFreeYearModal:G,validateBeforeSubmit:V}=eh(t,e);return{HouseInformation:r,licenseInformation:sr,vehicle:n,licenseError:a,showLicenseInfo:i,houseError:s,showHouseInformation:c,currentYear:f,isModalOpen:l,minAge:o,maxAge:d,claimFreeYearsErrorData:h,birthDateYear:u,maxClaimFreeYearsOptions:m,maxClaimFreeYears:v,buttonStyles:_,showCatalogValueField:p,showPurchaseValueField:y,maxPurchaseValue:w,errorsData:j,checkClaimFreeYears:q,setClaimFreeYears:he,onLicenseInput:De,onLicenseError:Me,openQuotationModal:Pt,openClaimFreeYearModal:G,validateBeforeSubmit:V,userInformation:C,mopedState:_e}}});var Fp=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-card vd-form-card--horizontal",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes}},[r("form",{ref:"moped-form",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]),r("div",{staticClass:"vd-form-card__content"},[r("license-plate",{attrs:{id:"license","vehicle-types":["Moped"],"vehicle-type":"moped","insurance-dutch-naming":"brommer","prop-vehicle-information":e.licenseInformation,name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-error":e.onLicenseError,"on-vehicle-information-update":n=>e.licenseInformation=n},model:{value:e.mopedState.license,callback:function(n){e.$set(e.mopedState,"license",n)},expression:"mopedState.license"}}),r("div",{staticClass:"vd-form-group vd-form-group--address-handler-moped"},[r("address-handler",{attrs:{"zipcode-name":"zipcode",template:"FORM_HORIZONTAL","house-number-name":"housenumber","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}})],1),r("div",{staticClass:"vd-form-group"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion,"ages-range":{min:16,max:100}},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}})],1),r("div",{staticClass:"vd-form-group"},[r("default-select",{staticClass:"mx-0",attrs:{id:"claimFreeYears",options:e.maxClaimFreeYearsOptions,"no-default-placeholder":!0,name:"claimfreeyears","is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"d-flex flex-no-wrap"},[e._v(" Schadevrije jaren "),r("popper",{attrs:{options:{placement:"top",modifiers:{offset:{offset:"0,5px"}}},trigger:"hover"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[e._v(" Schadevrije jaren ")]),e._v(" Je bouwt alleen schadevrije jaren op als je in de laatste 3 jaar een bromfiets of scooter op jouw naam verzekerd hebt gehad. Schadevrije jaren geven je korting op de premie. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. Schadevrije jaren die ja al op een lopende auto, motor of bromfietsverzekering hebt lopen kun je niet op een tweede voertuig gebruiken. "),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[e._v(" Bereken je schadevrije jaren! ")]):e._e()]),r("i",{staticClass:"fas ml-1",class:e.vdFormVersion==="1"?"fa-info-circle vd-info-icon":"fa-question-circle text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"})])],1)]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"claimFreeYears","errors-data":e.errorsData.claimFreeYears}})]},proxy:!0}]),model:{value:e.mopedState.claimFreeYears,callback:function(n){e.$set(e.mopedState,"claimFreeYears",n)},expression:"mopedState.claimFreeYears"}}),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[e._v(" Bereken je schadevrije jaren! ")]):e._e()],1),r("div",{staticClass:"vd-form-group"},[r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])],1)]),r("calculate-claim-free-years",{attrs:{"current-claim-free-years":e.mopedState.claimFreeYears,"max-claim-free-years":e.maxClaimFreeYears},on:{"set-claim-free-years":e.setClaimFreeYears}})],1)},HM=[];Fp._withStripped=!0;var Ap=J(BM,Fp,HM,!1,null,null,null,null);Ap.options.__file="/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/MopedFormHorizontal.vue";const zM=Ap.exports,Ep=(t,e,r,n)=>{const a=b.getCurrentInstance(),i=b.ref(null),s=b.ref(!1),c=b.ref(!1),f=b.computed(()=>Math.floor(Math.random()*1e3));function l(){return se(this,null,function*(){var v;s.value=!Y.sex;const m=yield fr(["zipcode","breed-value"]);if(!s.value&&m)if(!t.isOnResultPage)(v=a.proxy.$el.querySelector("#search-select-input"))==null||v.setAttribute("name",""),i.value.submit();else{const _={sex:Y.sex,age:Y.age,postcode:Y.postcode,kind:Y.kind,breed:Y.breed};e("submit-form",{petState:_})}})}const o=b.computed(()=>{const m=Y.kind==="dog"?7:11,v=[];for(let _=0;_<=m;_++)v.push({title:`${_} jaar`,value:_});return v}),d=b.computed(()=>Y.raceLists[Y.kind]);function h(m){Y.breed=m}function u(){return se(this,null,function*(){yield r.v1Service.getDog().then(m=>Y.raceLists.dog=m).catch(m=>console.log(m)),yield r.v1Service.getCat().then(m=>Y.raceLists.cat=m).catch(m=>console.log(m))})}return b.onMounted(()=>se(this,null,function*(){var m,v,_,p,y;yield u(),Y.sex=((m=t.insuranceState)==null?void 0:m.sex)||Y.sex,Y.age=+((v=t.insuranceState)==null?void 0:v.age)||Y.age,Y.postcode=((_=t.insuranceState)==null?void 0:_.postcode)||Y.postcode,Y.kind=((p=t.insuranceState)==null?void 0:p.kind)||Y.kind,Y.breed=+((y=t.insuranceState)==null?void 0:y.breed)||Y.breed,t.isOnResultPage||Cr.removeSessionState("pet-storage","pet-path"),c.value=!0})),{petForm:i,genderError:s,validateBeforeSubmit:l,ageOptions:o,raceList:d,setBreedId:h,getRaceLists:u,componentId:f,isReady:c}},Ip=[{title:"Hond",value:"dog"},{title:"Kat",value:"cat"}],Yp=[{text:"Man",value:"m"},{text:"Vrouw",value:"f"}],qM=b.defineComponent({name:"ZipcodeInput",components:{DefaultInput:He},props:{id:{type:String,required:!1,default:"zipcode"},name:{type:String,required:!1,default:"zipcode"},value:{type:String,required:!0},isRequired:{type:Boolean,default:!1},vdFormVersion:{required:!1,type:String,default:"0"}},emits:["input","change"],setup(t,{emit:e}){return{handleChange:a=>{e("change",a.toUpperCase())},handleInput:a=>{e("input",a.toUpperCase())},errors:ce}}});var Np=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("default-input",{attrs:{id:e.id,value:e.value,mask:"####AA","autocomplete-off":!0,placeholder:"bv. 1234AZ",validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.name,"is-required":e.isRequired,"vd-form-version":e.vdFormVersion},on:{input:e.handleInput,change:e.handleChange}},[r("template",{slot:"error-messages"},[e.errors.has(e.name+":required")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Vul je postcode in ")]):e._e(),e.errors.has(e.name+":regex")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Postcode is incorrect ")]):e._e()])],2)},VM=[];Np._withStripped=!0;var Lp=J(qM,Np,VM,!1,null,null,null,null);Lp.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/ZipcodeInput.vue";const no=Lp.exports,UM=b.defineComponent({name:"SearchableSelect",components:{DefaultInput:He},props:{label:{type:String,required:!1,default:""},name:{type:String,required:!0},value:{type:[Number,String,null]},options:{type:Array,required:!0},placeholder:{type:String,required:!1,default:""},vdFormVersion:{required:!1,type:String,default:"0"}},emits:["input","set-breed"],setup(t,{emit:e}){const r=b.ref(!1);function n(){r.value=!0}function a(){r.value=!1}const i=b.getCurrentInstance();let s=b.ref(""),c=b.ref(!1),f=b.ref("bottom");const l=b.computed(()=>b.getCurrentInstance().proxy.$el.querySelector("#search-select-input")),o=b.computed(()=>t.options.filter(w=>w.name.toLowerCase().indexOf(s.value.toLowerCase())!==-1)),d=b.computed(()=>`search-select-options--${f.value}`),h=()=>{var w;t.value&&(s.value=((w=aC(t.options,"id",t.value))==null?void 0:w.name)||"")},u=()=>{f.value="bottom",b.nextTick(()=>{var w;if(l){const j=window.innerHeight,q=(w=i.proxy.$el.querySelector("#search-select-options"))==null?void 0:w.getBoundingClientRect();if(q){const he=j-(q.height+q.top);f.value=Math.sign(he)===-1?"top":"bottom"}}})},m=()=>{s.value="",e("input",null),b.nextTick(()=>{l.value&&(l.value.focus(),c.value=!0)})},v=(w,j)=>{e("input",w),e("set-breed",w),s.value=j,l.value&&l.value.focus(),p()},_=w=>{w.target.focus(),c.value=!0,f.value="bottom",b.nextTick(()=>{u()})},p=()=>{r.value=!1,c.value=!1},y=w=>{c.value&&w.target.id!=="search-select-remove-icon"&&(w.target.closest("#search-select-wrapper")||p())};return b.onBeforeUnmount(()=>{l.value&&l.value.removeEventListener("focus",_),b.getCurrentInstance().proxy.$root.$el.removeEventListener("click",y)}),b.onMounted(()=>{l.value&&l.value.addEventListener("focus",_),b.getCurrentInstance().proxy.$root.$el.addEventListener("click",y),h()}),{onSelectBlur:a,onOptionMousedown:n,optionDisableValidationBlur:r,searchInput:s,element:l,direction:f,isOptionListOpened:c,filteredOptions:o,optionsListStyle:d,setDirection:u,removeValue:m,setOption:v,onFocusEvent:_,onBlurEvent:p}}});var Bp=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"position-relative",attrs:{id:"search-select-wrapper"}},[r("div",{staticClass:"position-relative"},[r("default-input",{staticClass:"mb-0 mx-0",attrs:{id:"search-select-input",type:"text",name:e.name,"hide-label":!0,"autocomplete-off":!0,placeholder:e.placeholder,"remove-check-mark":!0,"option-disable-validation-blur":e.optionDisableValidationBlur,"vd-form-version":e.vdFormVersion},on:{input:e.setDirection,blur:e.onSelectBlur},model:{value:e.searchInput,callback:function(n){e.searchInput=n},expression:"searchInput"}},[e.isOptionListOpened?e._e():r("template",{slot:"error-messages"},[e._t("default")],2)],2),e.searchInput?r("div",{staticClass:"position-absolute search-select-remove",attrs:{id:"search-select-remove"}},[e.vdFormVersion==="1"?r("button",{staticClass:"icon cursor-pointer",attrs:{id:"search-select-remove-icon"},on:{click:e.removeValue}},[e._v("×")]):r("i",{staticClass:"icon fas fa-times-circle text-danger cursor-pointer",attrs:{id:"search-select-remove-icon"},on:{click:e.removeValue}})]):e._e(),e.searchInput?e._e():r("label",{staticClass:"vd-form-group__select-icon cursor-pointer",on:{click:function(n){return e.element.focus()}}})],1),e.isOptionListOpened?r("div",{staticClass:"search-select-options",class:e.optionsListStyle,attrs:{id:"search-select-options"}},e._l(e.filteredOptions,function(n){return r("div",{key:n.id,staticClass:"search-select-options__item",on:{mousedown:e.onOptionMousedown,click:function(a){return e.setOption(n.id,n.name)}}},[e._v(" "+e._s(n.name)+" ")])}),0):e._e()])},WM=[];Bp._withStripped=!0;var Hp=J(UM,Bp,WM,!1,null,null,null,null);Hp.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/SearchableSelect.vue";const zp=Hp.exports,GM=b.defineComponent({name:"PetForm",components:{SimpleCard:st,DefaultSelect:Ae,ZipcodeInput:no,SearchableSelect:zp,BFormRadioGroup:eo,ErrorHandler:Be},props:{link:{type:String,required:!0},fitSidebar:{type:Boolean,default:!1},title:{type:String,default:"Dierenverzekering vergelijken"},showTitle:{type:Boolean,default:!0},isOnResultPage:{type:Boolean},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{petForm:r,genderError:n,validateBeforeSubmit:a,ageOptions:i,raceList:s,setBreedId:c,getRaceLists:f,componentId:l,isReady:o}=Ep(t,e,Fe);return{petState:Y,petForm:r,genderError:n,validateBeforeSubmit:a,ageOptions:i,raceList:s,setBreedId:c,getRaceLists:f,petKinds:Ip,petGenders:Yp,errors:ce,componentId:l,isReady:o}}});var qp=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes,"vd-form-card--fit":e.fitSidebar},attrs:{"has-new-style":!0}},[r("form",{ref:"petForm",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"kind"+e.componentId}},[e._v(" Soort huisdier ")]),r("default-select",{attrs:{id:"kind"+e.componentId,options:e.petKinds,"data-vv-name":"kind"+e.componentId,"no-default-placeholder":!0,name:"kind","vd-form-version":e.vdFormVersion},on:{input:function(n){return e.setBreedId(1)}},model:{value:e.petState.kind,callback:function(n){e.$set(e.petState,"kind",n)},expression:"petState.kind"}})],1),r("div",{staticClass:"vd-form-group vd-radio-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"sex"+e.componentId}},[e._v(" Geslacht ")]),r("b-form-radio-group",{staticClass:"vd-radio-buttons",attrs:{options:e.petGenders,"data-vv-name":"sex"+e.componentId,name:"sex"},model:{value:e.petState.sex,callback:function(n){e.$set(e.petState,"sex",n)},expression:"petState.sex"}}),r("ErrorHandler",{attrs:{"errors-data":[{rule:e.genderError,text:"Geslacht is verplicht"}]}})],1),r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"age"+e.componentId}},[e._v(" Leeftijd ")]),r("default-select",{attrs:{id:"age"+e.componentId,options:e.ageOptions,"data-vv-name":"age"+e.componentId,"no-default-placeholder":!0,name:"age","vd-form-version":e.vdFormVersion},model:{value:e.petState.age,callback:function(n){e.$set(e.petState,"age",n)},expression:"petState.age"}})],1),r("div",{staticClass:"vd-form-group"},[r("zipcode-input",{attrs:{id:"postcode"+e.componentId,name:"zipcode","is-required":"","vd-form-version":e.vdFormVersion},model:{value:e.petState.postcode,callback:function(n){e.$set(e.petState,"postcode",n)},expression:"petState.postcode"}})],1),r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label"},[e._v(" Ras "),r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v("*")])]),r("searchable-select",{key:e.petState.kind,attrs:{name:"breed-value",placeholder:"Typ of selecteer",label:"Ras",options:e.raceList,"vd-form-version":e.vdFormVersion},on:{change:e.setBreedId},model:{value:e.petState.breed,callback:function(n){e.$set(e.petState,"breed",n)},expression:"petState.breed"}}),r("ErrorHandler",{attrs:{name:"breed-value","errors-data":[{rule:"required",text:"Selecteer een ras"}]}}),r("input",{directives:[{name:"model",rawName:"v-model",value:e.petState.breed,expression:"petState.breed"}],attrs:{type:"hidden",name:"breed"},domProps:{value:e.petState.breed},on:{input:function(n){n.target.composing||e.$set(e.petState,"breed",n.target.value)}}}),e.vdFormVersion==="1"?r("span",{staticClass:"text-primary text-deco-line d-flex mt-1",staticStyle:{"font-size":"12px"}},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"}),r("span",[e._v("Geen rashond of kruising? Selecteer dan het ras waar deze het meeste op lijkt.")])]):r("div",{staticClass:"d-flex justify-content-end"},[r("div",{staticClass:"text-deco-line fz-small mt-2 cursor-pointer",attrs:{id:"race"+e.componentId}},[r("popper",{attrs:{options:{placement:"right",modifiers:{offset:{offset:"0,10px"}}},trigger:"hover"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[e._v(" Ras onbekend? ")]),e._v(" Heb je geen "+e._s(e.petState.kind==="dog"?"rashond":"raskat")+" of heb je een kruising? Selecteer dan het ras waar "+e._s(e.petState.sex==="m"?"hij":"zij")+" het meest op lijkt! ")]),r("div",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Ras onbekend? "),r("i",{staticClass:"fas fa-question-circle fz-big text-primary cursor-pointer",attrs:{id:"race"+e.componentId}})])])],1)])],1),r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])])]):e._e()},ZM=[];qp._withStripped=!0;var Vp=J(GM,qp,ZM,!1,null,null,null,null);Vp.options.__file="/Users/mac/Work/comparison-forms/src/insurances/pet/components/forms/PetForm.vue";const XM=Vp.exports,JM=b.defineComponent({name:"PetFormHorizontal",components:{SimpleCard:st,DefaultSelect:Ae,ZipcodeInput:no,SearchableSelect:zp,BFormRadioGroup:eo,ErrorHandler:Be},props:{link:{type:String,required:!0},title:{type:String,default:"Dierenverzekering vergelijken"},showTitle:{type:Boolean,default:!0},isOnResultPage:{type:Boolean},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{petForm:r,genderError:n,validateBeforeSubmit:a,ageOptions:i,raceList:s,setBreedId:c,getRaceLists:f,componentId:l,isReady:o}=Ep(t,e,Fe);return{petState:Y,petForm:r,genderError:n,validateBeforeSubmit:a,ageOptions:i,raceList:s,setBreedId:c,getRaceLists:f,petKinds:Ip,petGenders:Yp,errors:ce,componentId:l,isReady:o}}});var Up=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card vd-form-card--horizontal",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes},attrs:{"has-new-style":!0}},[r("form",{ref:"pet-form",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"kind"+e.componentId}},[e._v(" Soort huisdier ")]),r("default-select",{staticClass:"mx-0",attrs:{id:"kind"+e.componentId,options:e.petKinds,"no-default-placeholder":!0,name:"kind","vd-form-version":e.vdFormVersion},on:{input:function(n){return e.setBreedId(2)}},model:{value:e.petState.kind,callback:function(n){e.$set(e.petState,"kind",n)},expression:"petState.kind"}})],1),r("div",{staticClass:"vd-form-group vd-radio-group d-flex flex-column"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"claimFreeYears"}},[e._v(" Geslacht ")]),r("div",{staticClass:"align-self-stretch"},[r("b-form-radio-group",{staticClass:"vd-radio-buttons mt-2",attrs:{options:e.petGenders,name:"sex"},model:{value:e.petState.sex,callback:function(n){e.$set(e.petState,"sex",n)},expression:"petState.sex"}})],1)]),r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"age"+e.componentId}},[e._v(" Leeftijd ")]),r("default-select",{staticClass:"mx-0",attrs:{id:"age"+e.componentId,options:e.ageOptions,"no-default-placeholder":!0,name:"age","vd-form-version":e.vdFormVersion},model:{value:e.petState.age,callback:function(n){e.$set(e.petState,"age",n)},expression:"petState.age"}})],1),r("div",{staticClass:"vd-form-group"},[r("zipcode-input",{staticClass:"m-0",attrs:{id:"postcode"+e.componentId,name:"zipcode","is-required":"","vd-form-version":e.vdFormVersion},model:{value:e.petState.postcode,callback:function(n){e.$set(e.petState,"postcode",n)},expression:"petState.postcode"}})],1),r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"search-select-input"}},[e._v(" Ras "),r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v("*")])]),r("searchable-select",{key:e.petState.kind,attrs:{name:"breed-value",placeholder:"Typ of selecteer",label:"Ras",options:e.raceList,"vd-form-version":e.vdFormVersion},on:{change:e.setBreedId},model:{value:e.petState.breed,callback:function(n){e.$set(e.petState,"breed",n)},expression:"petState.breed"}},[r("ErrorHandler",{attrs:{name:"breed-value","errors-data":[{rule:"required",text:"Selecteer een ras"}]}})],1),r("input",{directives:[{name:"model",rawName:"v-model",value:e.petState.breed,expression:"petState.breed"}],attrs:{type:"hidden",name:"breed"},domProps:{value:e.petState.breed},on:{input:function(n){n.target.composing||e.$set(e.petState,"breed",n.target.value)}}}),e.vdFormVersion==="1"?r("span",{staticClass:"text-primary text-deco-line d-flex mt-1",staticStyle:{"font-size":"12px"}},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"}),r("span",[e._v("Geen rashond of kruising? Selecteer dan het ras waar deze het meeste op lijkt.")])]):r("div",{staticClass:"d-flex justify-content-end"},[r("div",{staticClass:"text-deco-line fz-small mt-2 cursor-pointer",attrs:{id:"race"+e.componentId}},[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},trigger:"hover"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[e._v(" Ras onbekend? ")]),e._v(" Heb je geen "+e._s(e.petState.kind==="dog"?"rashond":"raskat")+" of heb je een kruising? Selecteer dan het ras waar "+e._s(e.petState.sex==="m"?"hij":"zij")+" het meest op lijkt! ")]),r("div",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Ras onbekend? "),r("i",{staticClass:"fas fa-question-circle fz-big text-primary cursor-pointer",attrs:{id:"race"+e.componentId}})])])],1)])],1),r("div",{staticClass:"vd-form-group mb-0"},[r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])])])]):e._e()},QM=[];Up._withStripped=!0;var Wp=J(JM,Up,QM,!1,null,null,null,null);Wp.options.__file="/Users/mac/Work/comparison-forms/src/insurances/pet/components/forms/PetFormHorizontal.vue";const KM=Wp.exports,Gp=(t,e)=>{b.getCurrentInstance();const r=b.ref(null),n=b.ref(!1),a=b.ref(null),i="####",s=!0,c="€";function f(u){a.value=u===null}function l(){return se(this,null,function*(){const u=yield fr(["kind","zipcode","price"]);f(pt.condition),u&&!a.value&&(t.isOnResultPage?e("submit-form",pt):r.value.submit())})}function o(u,m){Object.keys(m).length!==0&&Object.keys(m).forEach(v=>{typeof u[v]!="undefined"&&(u[v]=v==="price"?d(m[v]):m[v],u[v]&&pC({[v]:u[v]}))})}function d(u){const m=parseInt(u);return isNaN(m)?u:m.toString()}function h(){const u=rr();o(pt,u)}return b.onMounted(()=>{t.isOnResultPage?o(pt,t.insuranceState):(h(),Cr.removeSessionState("bike-storage","bike-path")),n.value=!0}),{validateBeforeSubmit:l,checkCondition:f,conditionError:a,maxPriceLength:i,hasPricePrepend:s,prependText:c,isReady:n,bikeFormRef:r}},Zp=[{value:1,title:"E-Bike",name:"E-Bike",isEBike:!0},{value:2,title:"Fiets",name:"Fiets",isEBike:!1},{value:3,title:"Racefiets",name:"Racefiets",isEBike:!1},{value:4,title:"ATB / Mountainbike",name:"Mountainbike",isEBike:!1},{value:5,title:"Ligfiets",name:"Ligfiets",isEBike:!1},{value:6,title:"Bakfiets",name:"Bakfiets",isEBike:!1},{value:7,title:"Elektrische bakfiets",name:"Elektrische bakfiets",isEBike:!0},{value:8,title:"Elektrische ATB / mountainbike",name:"Elektrische ATB / mountainbike",isEBike:!0},{value:9,title:"Kinderfiets",name:"Kinderfiets",isEBike:!1},{value:10,title:"Vouwfiets",name:"Vouwfiets",isEBike:!1}],Xp=[{value:1,label:"Nieuw"},{value:0,label:"Tweedehands"}],eP=b.defineComponent({name:"BikeForm",components:{SimpleCard:st,DefaultSelect:Ae,DefaultInput:He,ZipcodeInput:no,BFormRadioGroup:eo,BirthdateInput:kt,ErrorHandler:Be},props:{link:{type:String,required:!0},isOnResultPage:{type:Boolean,default:!1},title:{type:String,default:"Fietsverzekering vergelijken"},showTitle:{type:Boolean,default:!0},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{validateBeforeSubmit:r,checkCondition:n,conditionError:a,maxPriceLength:i,hasPricePrepend:s,prependText:c,isReady:f,bikeFormRef:l}=Gp(t,e);return{bikeState:pt,validateBeforeSubmit:r,checkCondition:n,conditionError:a,maxPriceLength:i,hasPricePrepend:s,prependText:c,bikeKinds:Zp,bikeConditions:Xp,errors:ce,isReady:f,bikeFormRef:l}}});var Jp=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes},attrs:{"has-new-style":!0}},[r("form",{ref:"bikeFormRef",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("div",{staticClass:"vd-form-group"},[r("default-select",{attrs:{id:"kind",label:"Soort fiets",name:"kind",placeholder:"Selecteer je fiets",options:e.bikeKinds,"vd-form-version":e.vdFormVersion,"is-required":""},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"kind","errors-data":[{rule:"required",text:"Selecteer je fiets"}]}})]},proxy:!0}],null,!1,40251816),model:{value:e.bikeState.kind,callback:function(n){e.$set(e.bikeState,"kind",e._n(n))},expression:"bikeState.kind"}})],1),r("div",{staticClass:"vd-form-group"},[r("zipcode-input",{attrs:{"vd-form-version":e.vdFormVersion,"is-required":""},model:{value:e.bikeState.zipcode,callback:function(n){e.$set(e.bikeState,"zipcode",n)},expression:"bikeState.zipcode"}})],1),r("div",{staticClass:"vd-form-group vd-radio-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"condition"}},[e._v(" Gekocht als "),r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v("*")])]),r("b-form-radio-group",{staticClass:"vd-radio-buttons",attrs:{options:e.bikeConditions,"text-field":"label",name:"condition"},on:{change:e.checkCondition},model:{value:e.bikeState.condition,callback:function(n){e.$set(e.bikeState,"condition",n)},expression:"bikeState.condition"}}),r("ErrorHandler",{attrs:{"errors-data":[{rule:e.conditionError,text:"Is je fiets nieuw of tweedehands gekocht?"}]}})],1),r("div",{staticClass:"vd-form-group"},[r("default-input",{attrs:{id:"price",mask:e.maxPriceLength,"has-prepend":e.hasPricePrepend,"prepend-text":e.prependText,"vd-form-version":e.vdFormVersion,name:"price",label:"Aankoopprijs",placeholder:"Bedrag van fiets",type:"text","is-required":""},model:{value:e.bikeState.price,callback:function(n){e.$set(e.bikeState,"price",n)},expression:"bikeState.price"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:"price","errors-data":[{rule:"required",text:"Vul de aankoopprijs in (afgerond bedrag)"}]}})],1)],2)],1),r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])])]):e._e()},tP=[];Jp._withStripped=!0;var Qp=J(eP,Jp,tP,!1,null,null,null,null);Qp.options.__file="/Users/mac/Work/comparison-forms/src/insurances/bike/components/forms/BikeForm.vue";const rP=Qp.exports,nP=b.defineComponent({name:"BikeFormHorizontal",components:{SimpleCard:st,DefaultSelect:Ae,DefaultInput:He,ZipcodeInput:no,BFormRadioGroup:eo,BirthdateInput:kt,ErrorHandler:Be},props:{link:{type:String,required:!0},isOnResultPage:{type:Boolean,default:!1},title:{type:String,default:"Fietsverzekering vergelijken"},showTitle:{type:Boolean,default:!0},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{validateBeforeSubmit:r,checkCondition:n,conditionError:a,maxPriceLength:i,hasPricePrepend:s,prependText:c,isReady:f,bikeFormRef:l}=Gp(t,e);return{bikeState:pt,validateBeforeSubmit:r,checkCondition:n,conditionError:a,maxPriceLength:i,hasPricePrepend:s,prependText:c,bikeKinds:Zp,bikeConditions:Xp,errors:ce,isReady:f,bikeFormRef:l}}});var Kp=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card vd-form-card--horizontal",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes},attrs:{"has-new-style":!0}},[r("form",{ref:"bikeFormRef",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("div",{staticClass:"vd-form-group"},[r("default-select",{staticClass:"mx-0",attrs:{id:"kind",label:"Soort fiets",name:"kind",placeholder:"Selecteer je fiets",options:e.bikeKinds,"vd-form-version":e.vdFormVersion,"is-required":""},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"kind","errors-data":[{rule:"required",text:"Selecteer je fiets"}]}})]},proxy:!0}],null,!1,40251816),model:{value:e.bikeState.kind,callback:function(n){e.$set(e.bikeState,"kind",e._n(n))},expression:"bikeState.kind"}})],1),r("div",{staticClass:"vd-form-group"},[r("zipcode-input",{staticClass:"m-0",attrs:{"vd-form-version":e.vdFormVersion,"is-required":""},model:{value:e.bikeState.zipcode,callback:function(n){e.$set(e.bikeState,"zipcode",n)},expression:"bikeState.zipcode"}})],1),r("div",{staticClass:"vd-form-group vd-radio-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"condition"}},[e._v(" Gekocht als "),r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v("*")])]),r("b-form-radio-group",{staticClass:"vd-radio-buttons mt-md-3 mt-xl-0",attrs:{options:e.bikeConditions,"text-field":"label",name:"condition"},on:{change:e.checkCondition},model:{value:e.bikeState.condition,callback:function(n){e.$set(e.bikeState,"condition",n)},expression:"bikeState.condition"}}),r("ErrorHandler",{attrs:{"errors-data":[{rule:e.conditionError,text:"Is je fiets nieuw of tweedehands gekocht?"}]}})],1),r("div",{staticClass:"vd-form-group"},[r("default-input",{staticClass:"m-0",attrs:{id:"price",mask:e.maxPriceLength,"has-prepend":e.hasPricePrepend,"prepend-text":e.prependText,name:"price",label:"Aankoopprijs",placeholder:"1234",type:"text","is-required":""},model:{value:e.bikeState.price,callback:function(n){e.$set(e.bikeState,"price",n)},expression:"bikeState.price"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:"price","errors-data":[{rule:"required",text:"Vul de aankoopprijs in (afgerond bedrag)"}]}})],1)],2)],1),r("div",{staticClass:"vd-form-group mb-0"},[r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])])])]):e._e()},aP=[];Kp._withStripped=!0;var em=J(nP,Kp,aP,!1,null,null,null,null);em.options.__file="/Users/mac/Work/comparison-forms/src/insurances/bike/components/forms/BikeFormHorizontal.vue";const iP=em.exports,oP=b.defineComponent({name:"EmbeddedApp",components:{MotorForm:Ik,MotorFormHorizontal:Lk,CreateLoanComparisonForm:eC,UpdateLoanComparisonForm:nC,CarForm:lC,CarFormHorizontal:dC,MopedForm:LM,MopedFormHorizontal:zM,PetForm:XM,PetFormHorizontal:KM,BikeForm:rP,BikeFormHorizontal:iP},props:{formComponent:{required:!0,type:String},link:{required:!1,type:String},vdFormVersion:{required:!1,type:String,default:"0"},userInformation:{required:!1,default(){return{}}},insuranceState:{required:!1,default(){return{}}},isOnResultPage:{type:Boolean,required:!1,default:!1},isOnCoveragePage:{type:Boolean,required:!1,default:!1},classes:{required:!1,type:String,default:""},baseUrl:{type:String,required:!1},title:{required:!1,type:String},showTitle:{required:!1,type:Boolean,default:!0},formOrientation:{required:!1,type:String,default:Fn.Vertical,validator:Yf},comparison:{required:!1}},setup(t,{emit:e}){const r=i=>{e("change",i)},n=i=>{e("emit-event",i)},a=({link:i,data:s=null})=>{if(!s){window.location.href=i;return}const c=Zf(i,s);window.location.href=c};return _k(b.inject("ITC")),cg(b.inject("$validator")),{submitFormData:r,emitEventHub:n,redirectPage:a}}});var tm=function(){var e=this,r=e._self._c;return e._self._setupProxy,r(e.formComponent,{tag:"component",attrs:{link:e.link,"base-url":e.baseUrl,"vd-form-version":e.vdFormVersion,"user-information":e.userInformation,"insurance-state":e.insuranceState,"is-on-result-page":e.isOnResultPage,"is-on-coverage-page":e.isOnCoveragePage,classes:e.classes,title:e.title,showTitle:e.showTitle,"form-orientation":e.formOrientation,comparison:e.comparison},on:{"submit-form":e.submitFormData,"emit-event-hub":e.emitEventHub,"redirect-page":e.redirectPage}})},sP=[];tm._withStripped=!0;var rm=J(oP,tm,sP,!1,null,null,null,null);rm.options.__file="/Users/mac/Work/comparison-forms/src/core/Embedded.vue";const lP=rm.exports;return{install(t){t.component("embedded-comparison-forms",lP)}}});
|
|
25
|
+
`),n(r.CreationForm)}}),o=()=>{t.comparison.getUser().setBirthDate(C.birthdate),t.comparison.getUser().setFamilyComposition(C.familyComposition)},d=()=>{t.comparison.getUser().setDetail(null,ln(ln({},t.comparison.getUser().getDetail(null)),s.value))},h=()=>{pt.loanAmount=t.insuranceState.LoanAmount,pt.loanPurpose=t.insuranceState.LoanPurpose,C.birthdate=t.userInformation.birthdate,C.familyComposition=t.userInformation.familyComposition},u=()=>{const y=new X.User({});return y.setDetail(null,{}),y.setBirthDate(C.birthdate),y.setFamilyComposition(C.familyComposition),y.setDetail("loanData",{LoanPurpose:pt.loanPurpose,LoanAmount:pt.loanAmount}),y};return{inSubmissions:wl,loanState:pt,isHorizontalForm:c,setFormData:h,submitUpdateForm:()=>se(this,null,function*(){wl.value=!0;try{(yield fr(["birthdate","familyComposition","loanAmount","loanPurpose"]))&&(yield d(),yield o(),yield Fe.comparisonService.update(t.comparison),e("submit-form",{userInformation:C,loanState:pt}))}catch(y){console.error(y),e("emit-event-hub",{event:"open-quotation-modal"})}wl.value=!1}),submitCreateForm:()=>se(this,null,function*(){try{if(!(yield fr(["birthdate","familyComposition","loanAmount","loanPurpose"])))return;const p=u(),_=yield l(p);_&&_.getId()?e("redirect-page",{link:f(_.getId())}):n(r.CreationForm)}catch(y){console.error(y),n(r.CreationForm)}})}},Qk=b.defineComponent({name:"CreateLoanComparisonForm",components:{LoanPurposeInputField:Af,LoanAmountInputField:$f,BirthdateInput:Ct,FamilyCompositionInput:Yf,SimpleCard:lt},props:{baseUrl:{required:!1,type:String},title:{required:!1,type:String,default:"Geld lenen"},showTitle:{required:!1,type:Boolean,default:!0},formOrientation:{type:String,default:Fn.Vertical,validator:Nf},vdFormVersion:{required:!1,type:String,default:"0"},classes:{required:!1,type:String,default:""}},setup(t,{emit:e}){const{loanState:r,isHorizontalForm:n,submitCreateForm:a}=Lf(t,e);return b.onMounted(()=>{Cr.removeSessionState(b.getCurrentInstance().proxy.$root.$data.pathKey,b.getCurrentInstance().proxy.$root.$data.storageKey)}),{loanState:r,isHorizontalForm:n,submitCreateForm:a,userInformation:C}}});var Bf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes,"vd-form-card--horizontal":e.isHorizontalForm},attrs:{"has-new-style":!0}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("loan-purpose-input-field",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.loanState.loanPurpose,callback:function(n){e.$set(e.loanState,"loanPurpose",n)},expression:"loanState.loanPurpose"}}),r("loan-amount-input-field",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.loanState.loanAmount,callback:function(n){e.$set(e.loanState,"loanAmount",e._n(n))},expression:"loanState.loanAmount"}}),r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion,"ages-range":{min:21,max:67}},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}}),r("family-composition-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.familyComposition,callback:function(n){e.$set(e.userInformation,"familyComposition",n)},expression:"userInformation.familyComposition"}}),r("div",{class:{"vd-form-group":e.isHorizontalForm}},[r("button",{class:{"btn-a--horizontal":e.isHorizontalForm,"vd-btn vd-btn-green vd-btn-w-100":e.vdFormVersion==="1","btn-a btn-a--success btn-a--bold btn-block":e.vdFormVersion!=="1"},on:{click:e.submitCreateForm}},[e._v(" Vergelijken ")])])],1)])},Kk=[];Bf._withStripped=!0;var Hf=J(Qk,Bf,Kk,!1,null,null,null,null);Hf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/forms/createLoanComparisonForm.vue";const eC=Hf.exports,tC=b.defineComponent({name:"UpdateLoanComparisonForm",components:{LoanPurposeInputField:Af,LoanAmountInputField:$f,BirthdateInput:Ct,FamilyCompositionInput:Yf,SimpleCard:lt},props:{title:{required:!1,type:String,default:"Geld lenen"},showTitle:{required:!1,type:Boolean,default:!0},comparison:{required:!0},vdFormVersion:{required:!1,type:String,default:"0"},classes:{required:!1,type:String,default:""},insuranceState:{required:!1,default(){return{}}},userInformation:{required:!1,default(){return{}}}},setup(t,{emit:e}){const{inSubmissions:r,loanState:n,setFormData:a,submitUpdateForm:i}=Lf(t,e);return b.onMounted(()=>{a()}),{inSubmissions:r,loanState:n,submitUpdateForm:i,userInformation:C}}});var zf=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content p-0"},[r("loan-purpose-input-field",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.loanState.loanPurpose,callback:function(n){e.$set(e.loanState,"loanPurpose",n)},expression:"loanState.loanPurpose"}}),r("loan-amount-input-field",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.loanState.loanAmount,callback:function(n){e.$set(e.loanState,"loanAmount",e._n(n))},expression:"loanState.loanAmount"}}),r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion,"ages-range":{min:21,max:67}},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}}),r("family-composition-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.familyComposition,callback:function(n){e.$set(e.userInformation,"familyComposition",n)},expression:"userInformation.familyComposition"}}),r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block",attrs:{disabled:e.inSubmissions},on:{click:e.submitUpdateForm}},[e._v(" Vergelijken ")])],1)])},rC=[];zf._withStripped=!0;var qf=J(tC,zf,rC,!1,null,null,null,null);qf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/forms/updateLoanComparisonForm.vue";const nC=qf.exports;function aC(t,e,r,n=!1){const a=n&&typeof r=="string"?r.toLowerCase():r;return t.find(i=>(n&&typeof r=="string"?i[e].toLowerCase():i[e])===a)}function iC(t){if(t.length===1)return t;const e=[];for(const r of t)e.some(n=>JSON.stringify(r)===JSON.stringify(n))||e.push(r);return e}const Vf=(t,e,r,n)=>{const a=b.ref(""),i=b.ref(!1),s=b.ref(!1),c=b.ref(!1),f=b.ref([]),l=b.ref("");function o(){return se(this,null,function*(){if((yield fr(["license","zipcode","housenumber","housenumberaddition","birthdate"]))&&!s.value&&be.VehicleType==="Car"&&!c.value)if(t.isOnResultPage||t.isOnCoveragePage)e("submit-form",{userInformation:C,carState:be});else{const p=yield d();p&&e("redirect-page",{link:`${t.link}#/${p.getId()}/dekkingen/`})}})}function d(){return se(this,null,function*(){try{const y=new X.User({});return y.setDetail(null,{}),y.setDetail("car",Object.assign(be,{LicensePlate:a.value,Brand:be.Brand,Model:be.Model,Type:be.Type,VehicleType:be.VehicleType,ManufacturingYear:be.ManufacturingYear})),y.setDetail("comparison",{Coverage:null,Deductables:300,ClaimFreeYears:"0",Kilometrage:"12000"}),y.setZipCode(C.zipcode),y.setHouseNumber(Number(C.houseNumber)),y.setHouseNumberAddition(C.houseNumberAddition),y.setBirthDate(C.birthdate),yield r.comparisonService.create("car",y)}catch(y){return f.value.push({text:`Kenteken: ${a.value} | Postcode: ${C.zipcode} | Huisnummer: ${C.houseNumber} | Huisnummer toevoeging: ${C.houseNumberAddition} | Geboortedatum: ${C.birthdate}`}),f.value=iC(f.value),h(),null}})}function h(){e("emit-event-hub",{event:"open-quotation-modal",data:{refId:l.value,notes:f.value}})}function u(){c.value=!1}function m(){c.value=!0}const v=b.computed(()=>{const y=k.utc(k().subtract(100,"y").format("DD-MM-YYYY"),"DD-MM-YYYY"),p=k.utc(k().subtract(18,"y").format("DD-MM-YYYY"),"DD-MM-YYYY");return{min:y,max:p}});return b.onMounted(()=>{var y,p,_,w,R;(t.isOnResultPage||t.isOnCoveragePage)&&(Object.assign(be,t.insuranceState),a.value=(y=be.LicensePlate)!=null?y:"",C.zipcode=(p=t.userInformation.zipCode)!=null?p:"",C.houseNumber=(_=String(t.userInformation.houseNumber))!=null?_:"",C.houseNumberAddition=(w=t.userInformation.houseNumberAddition)!=null?w:"",C.birthdate=(R=t.userInformation.birthdate)!=null?R:""),(!t.isOnResultPage||!t.isOnCoveragePage)&&Cr.removeSessionState("car-storage","car-path"),i.value=!0}),{isReady:i,licensePlate:a,onLicenseInput:u,onLicenseError:m,houseError:s,dateRange:v,validateBeforeSubmit:o}},oC=b.defineComponent({name:"CarForm",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,SimpleCard:lt,BirthdateInput:Ct},props:{title:{type:String,default:"Autoverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},isOnResultPage:{type:Boolean,default:!1},isOnCoveragePage:{type:Boolean,default:!1},link:{type:String,required:!0},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:c,validateBeforeSubmit:f}=Vf(t,e,Fe);return{userInformation:C,carState:be,isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:c,validateBeforeSubmit:f,errors:ce}}});var Uf=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes,"vd-form-card--flat w-100":e.isOnResultPage||e.isOnCoveragePage},attrs:{"has-new-style":!0}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("license-plate",{attrs:{id:"license","vehicle-types":["Car"],"vehicle-type":"car","insurance-dutch-naming":"auto","prop-vehicle-information":e.carState,name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-error":e.onLicenseError,"on-vehicle-information-update":n=>Object.assign(e.carState,n)},model:{value:e.licensePlate,callback:function(n){e.licensePlate=n},expression:"licensePlate"}}),r("div",{staticClass:"vd-form-group vd-form-group--address-handler-moped"},[r("address-handler",{staticClass:"mx-0",attrs:{"zipcode-name":"zipcode","show-street-and-city":!0,"house-number-name":"housenumber","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition,"vd-form-version":e.vdFormVersion},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}})],1),r("div",{staticClass:"vd-form-group"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}})],1),r("div",{staticClass:"vd-form-group mb-0"},[r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer",on:{click:e.validateBeforeSubmit}},[e._v(" Vergelijken ")])])],1)]):e._e()},sC=[];Uf._withStripped=!0;var Wf=J(oC,Uf,sC,!1,null,null,null,null);Wf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/car/components/forms/CarForm.vue";const lC=Wf.exports,uC=b.defineComponent({name:"CarFormHorizontal",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,SimpleCard:lt,BirthdateInput:Ct},props:{title:{type:String,default:"Autoverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},isOnResultPage:{type:Boolean,default:!1},isOnCoveragePage:{type:Boolean,default:!1},link:{type:String,required:!0},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:c,validateBeforeSubmit:f}=Vf(t,e,Fe);return{userInformation:C,carState:be,isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:c,validateBeforeSubmit:f,errors:ce}}});var Gf=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card vd-form-card--horizontal",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes},attrs:{"has-new-style":!0}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("license-plate",{attrs:{id:"license","vehicle-types":["Car"],"vehicle-type":"car","insurance-dutch-naming":"auto","prop-vehicle-information":e.carState,name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-error":e.onLicenseError,"on-vehicle-information-update":n=>Object.assign(e.carState,n)},model:{value:e.licensePlate,callback:function(n){e.licensePlate=n},expression:"licensePlate"}}),r("div",{staticClass:"vd-form-group vd-form-group--address-handler-moped"},[r("address-handler",{staticClass:"mx-0",attrs:{"zipcode-name":"zipcode","show-street-and-city":!0,template:"FORM_HORIZONTAL","house-number-name":"housenumber","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition,"vd-form-version":e.vdFormVersion},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}})],1),r("div",{staticClass:"vd-form-group"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}})],1),r("div",{staticClass:"vd-form-group mb-0 d-flex align-items-center"},[r("div",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block btn-a--horizontal-car cursor-pointer",on:{click:e.validateBeforeSubmit}},[e._v(" Vergelijken ")])])],1)]):e._e()},cC=[];Gf._withStripped=!0;var Zf=J(uC,Gf,cC,!1,null,null,null,null);Zf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/car/components/forms/CarFormHorizontal.vue";const dC=Zf.exports;function Sl(t){const e=decodeURIComponent(t);return e===t?t.replace(/\+/g," "):Sl(e)}function fC(t){const e={},r=t.split("&");for(let n=0;n<r.length;n++){const a=r[n].split("="),i=decodeURIComponent(a[0]);Object.prototype.hasOwnProperty.call(e,i)?e[i]+=","+Sl(a[1]):e[i]=Sl(a[1]),i||delete e[i]}return e}function rr(){const t=window.location.search.substr(1);return t!==null&&t!==""?fC(t):{}}function hC(t){let e="";for(const n in t)e!==""&&(e+="&"),e+=n+"="+encodeURIComponent(t[n]);const r="?"+e;window.history.pushState({},"",r)}function pC(t){const e=rr();if(Object.keys(t).length!==0){const r=Object.assign(e,t);hC(r)}}function Xf(t,e){let r=URL.canParse(t)?new URL(t):new URL(t,window.location.href);const n=Object.fromEntries(r.searchParams.entries()),a=ln(ln({},n),e),i=new URL(r);return Object.entries(a).forEach(([s,c])=>{i.searchParams.set(s,c)}),i.toString()}let mC=b.reactive({});const vC=b.reactive({});let Jf=b.ref(!1),_C=b.ref(!1),yC=b.ref(!1),gC=b.ref(!1),Qf=b.ref(+k().format("YYYY")),Ol=b.ref(!1),An=b.ref(!1),Wr=b.ref(!1);const Kf=16,bC=99,wC=[{rule:"required",text:"Schadevrije jaren zijn verplicht"}],eh=(t,e)=>{const r=b.computed(()=>C.birthdate.length===10),n=b.computed(()=>{const _=[];for(let w=0;w<a.value;w++)_.push({title:`${w} jaar`,value:w});return _.length===0&&_.push({title:"0 jaar",value:0}),_}),a=b.computed(()=>{let _;if(C.birthdate.split("_").join("").length===10)_=+k.utc(C.birthdate,"DD-MM-YYYY").format("YYYY");else return 0;const w=Qf.value-_-Kf;return w>0?w:0}),i=b.computed(()=>Object.keys(t.buttonOptions).length===0?{}:{"--background":t.buttonOptions.normal.background,"--text-color":t.buttonOptions.normal.textColor,"--background-hover":t.buttonOptions.hover.background,"--text-color-hover":t.buttonOptions.hover.textColor}),s=b.computed(()=>t.insuranceState.TypeOfMoped===Rf.Brommobiel||t.insuranceState.Model==="Brommobiel"?19999:4999),c=b.computed(()=>{const _=["license","zipcode","housenumber","housenumberaddition","claimfreeyears","birthdate"];return An.value&&_.push("catalogValueForm"),Wr.value&&_.push("purchaseValueForm"),_}),f=b.computed(()=>t.insuranceState.CatalogValueByLicense),l=()=>{(!C.birthdate||C.birthdate.length!==10)&&(_e.claimFreeYears="0")},o=_=>{_e.claimFreeYears=String(_)},d=_=>{const w=_.split("-").join("")!==_e.oldLicense;_.length>=6&&w&&(An.value=!1,Wr.value=!1,_e.purchaseValue="")},h=()=>{Jf.value=!0},u=_=>{e("emit-event-hub",{event:"open-quotation-modal",data:{refId:_}})},m=()=>{Ol.value=!0},v=()=>{Ol.value=!1},y=()=>se(this,null,function*(){if(yield fr(c.value))if(t.isOnResultPage)e("submit-form",{userInformation:C,mopedState:_e,licenseInformation:sr.moped,showCatalogValueField:An.value});else{const w={license:_e.license,zipcode:C.zipcode,housenumber:C.houseNumber,housenumberaddition:C.houseNumberAddition,birthdate:C.birthdate,claimfreeyears:_e.claimFreeYears};w.housenumberaddition||delete w.housenumberaddition;const R=Xf(t.link,w);window.location.href=R}}),p={claimFreeYears:[{rule:"required",text:"Schadevrije jaren zijn verplicht"}],catalogValue:[{rule:"required",text:"Cataloguswaarde is verplicht"},{rule:"min_value",text:"Cataloguswaarde moet minimaal €500 zijn"},{rule:"max_value",text:"Cataloguswaarde mag maximaal €19.999 zijn"}],purchaseValue:[{rule:"required",text:"Aankoopbedrag is verplicht"},{rule:"min_value",text:"Aankoopbedrag moet minimaal €500 zijn"},{rule:"max_value",text:`Aankoopbedrag mag maximaal €${s.value} zijn`}]};return b.watch(f,_=>{Number(_)>5e3?Wr.value=!0:(Wr.value=!1,_e.purchaseValue="")}),b.onMounted(()=>{if(t.isOnResultPage){_e.license=_e.oldLicense=t.insuranceState.LicensePlate||rr().license||"",_e.claimFreeYears=t.insuranceState.ClaimFreeYears||rr().claimfreeyears||"0",C.birthdate=t.userInformation.birthdate||rr().birthdate||"",C.zipcode=t.userInformation.zipCode||rr().zipcode||"",C.houseNumber=t.userInformation.houseNumber||rr().housenumber||"",C.houseNumberAddition=t.userInformation.houseNumberAddition||rr().housenumberaddition||"",t.insuranceState.CatalogValueByLicense&&(_e.catalogValue=t.insuranceState.CatalogValueByLicense,An.value=!0);const _=t.insuranceState.PurchaseValueByLicense;_&&(_e.purchaseValue=_,Wr.value=!0)}t.isOnResultPage||Cr.removeSessionState("moped-path","moped-storage")}),{HouseInformation:mC,vehicle:vC,licenseError:Jf,showLicenseInfo:_C,houseError:yC,showHouseInformation:gC,currentYear:Qf,isModalOpen:Ol,minAge:Kf,maxAge:bC,birthDateYear:r,maxClaimFreeYearsOptions:n,maxClaimFreeYears:a,buttonStyles:i,showCatalogValueField:An,showPurchaseValueField:Wr,maxPurchaseValue:s,checkClaimFreeYears:l,setClaimFreeYears:o,onLicenseInput:d,onLicenseError:h,openQuotationModal:u,openClaimFreeYearModal:m,closeClaimFreeYearModal:v,validateBeforeSubmit:y,userInformation:C,mopedState:_e,claimFreeYearsErrorData:wC,errorsData:p}};var th=function(){return(th=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var a in e=arguments[r])Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a]);return t}).apply(this,arguments)},kl={kebab:/-(\w)/g,styleProp:/:(.*)/,styleList:/;(?![^(]*\))/g};function SC(t,e){return e?e.toUpperCase():""}function OC(t){for(var e,r={},n=0,a=t.split(kl.styleList);n<a.length;n++){var i=a[n].split(kl.styleProp),s=i[0],c=i[1];(s=s.trim())&&(typeof c=="string"&&(c=c.trim()),r[e=s,e.replace(kl.kebab,SC)]=c)}return r}function Ai(){for(var t,e,r={},n=arguments.length;n--;)for(var a=0,i=Object.keys(arguments[n]);a<i.length;a++)switch(t=i[a]){case"class":case"style":case"directives":if(Array.isArray(r[t])||(r[t]=[]),t==="style"){var s=void 0;s=Array.isArray(arguments[n].style)?arguments[n].style:[arguments[n].style];for(var c=0;c<s.length;c++){var f=s[c];typeof f=="string"&&(s[c]=OC(f))}arguments[n].style=s}r[t]=r[t].concat(arguments[n][t]);break;case"staticClass":if(!arguments[n][t])break;r[t]===void 0&&(r[t]=""),r[t]&&(r[t]+=" "),r[t]+=arguments[n][t].trim();break;case"on":case"nativeOn":r[t]||(r[t]={});for(var l=0,o=Object.keys(arguments[n][t]||{});l<o.length;l++)e=o[l],r[t][e]?r[t][e]=[].concat(r[t][e],arguments[n][t][e]):r[t][e]=arguments[n][t][e];break;case"attrs":case"props":case"domProps":case"scopedSlots":case"staticStyle":case"hook":case"transition":r[t]||(r[t]={}),r[t]=th({},arguments[n][t],r[t]);break;case"slot":case"key":case"ref":case"tag":case"show":case"keepAlive":default:r[t]||(r[t]=arguments[n][t])}return r}var kC="$bvConfig",Gr=typeof window!="undefined",rh=typeof document!="undefined",CC=typeof navigator!="undefined",xC=typeof MutationObserver!="undefined"||typeof WebKitMutationObserver!="undefined"||typeof MozMutationObserver!="undefined",Ee=Gr&&rh&&CC,MC=Ee?window.navigator.userAgent.toLowerCase():"";MC.indexOf("jsdom")>0;var PC=function(){var t=!1;if(Ee)try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(r){t=!1}return t}(),nh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=typeof process!="undefined"&&process?process.env||{}:{};return e?n[e]||r:n},RC=function(){return nh("BOOTSTRAP_VUE_NO_WARN")||nh("NODE_ENV")==="production"};function Ei(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ei=function(r){return typeof r}:Ei=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Ei(t)}function ah(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ih(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&En(t,e)}function oh(t){var e=sh();return function(){var n=In(t),a;if(e){var i=In(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return DC(this,a)}}function DC(t,e){return e&&(Ei(e)==="object"||typeof e=="function")?e:jC(t)}function jC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cl(t){var e=typeof Map=="function"?new Map:void 0;return Cl=function(n){if(n===null||!$C(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(n))return e.get(n);e.set(n,a)}function a(){return Ii(n,arguments,In(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),En(a,n)},Cl(t)}function Ii(t,e,r){return sh()?Ii=Reflect.construct:Ii=function(a,i,s){var c=[null];c.push.apply(c,i);var f=Function.bind.apply(a,c),l=new f;return s&&En(l,s.prototype),l},Ii.apply(null,arguments)}function sh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function $C(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function En(t,e){return En=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},En(t,e)}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},In(t)}var lh=Gr?window:{},TC=Gr?lh.Element:function(t){ih(r,t);var e=oh(r);function r(){return ah(this,r),e.apply(this,arguments)}return r}(Cl(Object)),uh=Gr?lh.HTMLElement:function(t){ih(r,t);var e=oh(r);function r(){return ah(this,r),e.apply(this,arguments)}return r}(TC);function Yn(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Yn=function(r){return typeof r}:Yn=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Yn(t)}var xl=function(e){return Yn(e)},Zr=function(e){return e===void 0},nr=function(e){return e===null},Yi=function(e){return Zr(e)||nr(e)},xt=function(e){return xl(e)==="function"},Ml=function(e){return xl(e)==="boolean"},br=function(e){return xl(e)==="string"},ut=function(e){return Array.isArray(e)},Xr=function(e){return e!==null&&Yn(e)==="object"},wr=function(e){return Object.prototype.toString.call(e)==="[object Object]"},ch=function(e){return e instanceof Date},Pl=function(e){return e instanceof Event};function dh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function fh(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?dh(Object(r),!0).forEach(function(n){hh(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):dh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function hh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var FC=function(){return Object.assign.apply(Object,arguments)},ph=function(e,r){return Object.defineProperties(e,r)},AC=function(e,r,n){return Object.defineProperty(e,r,n)},ct=function(e){return Object.keys(e)},Rl=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},EC=function(e,r){return ct(e).filter(function(n){return r.indexOf(n)===-1}).reduce(function(n,a){return fh(fh({},n),{},hh({},a,e[a]))},{})},ar=function(){return{enumerable:!0,configurable:!1,writable:!1}};function mh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function vh(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?mh(Object(r),!0).forEach(function(n){_h(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function _h(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function IC(t){return BC(t)||LC(t)||NC(t)||YC()}function YC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
26
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function NC(t,e){if(t){if(typeof t=="string")return Dl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Dl(t,e)}}function LC(t){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(t))return Array.from(t)}function BC(t){if(Array.isArray(t))return Dl(t)}function Dl(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var Ni=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return ut(e)?e.reduce(function(n,a){return[].concat(IC(n),[t(a,a)])},[]):wr(e)?ct(e).reduce(function(n,a){return vh(vh({},n),{},_h({},a,t(e[a],e[a])))},{}):r},HC=/\[(\d+)]/g,zC=/(<([^>]+)>)/gi,qC=/%2C/g,VC=/[!'()*]/g,UC=function(e){return e};const Jr=UC;var WC=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(r=ut(r)?r.join("."):r,!r||!Xr(e))return n;if(r in e)return e[r];r=String(r).replace(HC,".$1");var a=r.split(".").filter(Jr);return a.length===0?n:a.every(function(i){return Xr(e)&&i in e&&!Yi(e=e[i])})?e:nr(e)?null:n},Li=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=WC(e,r);return Yi(a)?n:a},yh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;RC()||console.warn("[BootstrapVue warn]: ".concat(r?"".concat(r," - "):"").concat(e))},GC=function(e){return xC?!1:(yh("".concat(e,": Requires MutationObserver support.")),!0)},gh="BButton",bh="BButtonClose",wh="BCollapse",ZC="BVCollapse",Sh="BFormCheckbox",Oh="BFormRadio",kh="BFormRadioGroup",Ch="BLink",xh="BModal",XC="BVTransition",JC="BTransporterSingle",QC="BTransporterTargetSingle";function Mh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Ph(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Mh(Object(r),!0).forEach(function(n){KC(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Mh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function KC(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var ex=b.prototype,Rh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=ex[kC];return n?n.getConfigValue(e,r):Ni(r)},tx=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;return r?Rh("".concat(e,".").concat(r),n):Rh(e,{})},Re=function(e,r){return ct(e).reduce(function(n,a){var i=e[a],s=i.default;return n[a]=Ph(Ph({},Ni(i)),{},{default:function(){return tx(r,a,xt(s)?s():s)}}),n},{})},rx=function(){return Array.from.apply(Array,arguments)},jl=function(e,r){return e.indexOf(r)!==-1},Gt=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];return Array.prototype.concat.apply([],r)},nx=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseInt(e,10);return isNaN(n)?r:n},Bi=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseFloat(e);return isNaN(n)?r:n},Nn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Yi(e)?"":ut(e)||wr(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,r):String(e)},ax=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(t){return"".concat(t,":not(:disabled):not([disabled])")}).join(", "),Zt=Gr?window:{},Hi=rh?document:{},zi=typeof Element!="undefined"?Element.prototype:{},ix=zi.matches||zi.msMatchesSelector||zi.webkitMatchesSelector,ox=zi.closest||function(t){var e=this;do{if(Tl(e,t))return e;e=e.parentElement||e.parentNode}while(!nr(e)&&e.nodeType===Node.ELEMENT_NODE);return null},Sr=Zt.requestAnimationFrame||Zt.webkitRequestAnimationFrame||Zt.mozRequestAnimationFrame||Zt.msRequestAnimationFrame||Zt.oRequestAnimationFrame||function(t){return setTimeout(t,16)},sx=Zt.MutationObserver||Zt.WebKitMutationObserver||Zt.MozMutationObserver||null,lx=function(e){return e&&e.parentNode&&e.parentNode.removeChild(e)},fe=function(e){return!!(e&&e.nodeType===Node.ELEMENT_NODE)},Dh=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=Hi.activeElement;return r&&!e.some(function(n){return n===r})?r:null},qi=function(e,r){return Nn(e).toLowerCase()===Nn(r).toLowerCase()},jh=function(e){return fe(e)&&e===Dh()},$h=function(e){if(!fe(e)||!e.parentNode||!Ln(Hi.body,e)||Hn(e,"display")==="none")return!1;var r=Ui(e);return!!(r&&r.height>0&&r.width>0)},Th=function(e){return fe(e)&&e.offsetHeight},Vi=function(e,r){return rx((fe(r)?r:Hi).querySelectorAll(e))},$l=function(e,r){return(fe(r)?r:Hi).querySelector(e)||null},Tl=function(e,r){return fe(e)?ix.call(e,r):!1},Fh=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!fe(r))return null;var a=ox.call(r,e);return n?a:a===r?null:a},Ln=function(e,r){return e&&xt(e.contains)?e.contains(r):!1},Qr=function(e,r){r&&fe(e)&&e.classList&&e.classList.add(r)},Fl=function(e,r){r&&fe(e)&&e.classList&&e.classList.remove(r)},ux=function(e,r){return r&&fe(e)&&e.classList?e.classList.contains(r):!1},Bn=function(e,r,n){r&&fe(e)&&e.setAttribute(r,n)},Al=function(e,r){r&&fe(e)&&e.removeAttribute(r)},El=function(e,r){return r&&fe(e)?e.getAttribute(r):null},Il=function(e,r){return r&&fe(e)?e.hasAttribute(r):null},Ie=function(e,r,n){r&&fe(e)&&(e.style[r]=n)},Ah=function(e,r){r&&fe(e)&&(e.style[r]="")},Hn=function(e,r){return r&&fe(e)&&e.style[r]||null},Ui=function(e){return fe(e)?e.getBoundingClientRect():null},ir=function(e){return Gr&&fe(e)?Zt.getComputedStyle(e):{}},cx=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return Vi(ax,e).filter($h).filter(function(r){return r.tabIndex>-1&&!r.disabled})},or=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{e.focus(r)}catch(n){}return jh(e)},Eh=function(e){try{e.blur()}catch(r){}return!jh(e)};function Ih(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Kr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ih(Object(r),!0).forEach(function(n){dx(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ih(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function dx(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Yh={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},fx=Kr(Kr({},Yh),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),hx=b.extend({name:XC,functional:!0,props:{noFade:{type:Boolean,default:!1},appear:{type:Boolean,default:!1},mode:{type:String},transProps:{type:Object,default:null}},render:function(e,r){var n=r.children,a=r.data,i=r.props,s=i.transProps;return wr(s)||(s=i.noFade?Yh:fx,i.appear&&(s=Kr(Kr({},s),{},{appear:!0,appearClass:s.enterClass,appearActiveClass:s.enterActiveClass,appearToClass:s.enterToClass}))),s=Kr(Kr({mode:i.mode},s),{},{css:!0}),e("transition",Ai(a,{props:s}),n)}});const px=hx;var en="default",mx="first",Nh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return e=Gt(e).filter(Jr),e.some(function(a){return r[a]||n[a]})},Lh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};e=Gt(e).filter(Jr);for(var i,s=0;s<e.length&&!i;s++){var c=e[s];i=n[c]||a[c]}return xt(i)?i(r):i};const tn={methods:{hasNormalizedSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:en;return Nh(e,this.$scopedSlots,this.$slots)},normalizeSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:en,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Lh(e,r,this.$scopedSlots,this.$slots);return n&&Gt(n)}}};var Bh=function(e){return PC?Xr(e)?e:{capture:!!e||!1}:!!(Xr(e)?e.capture:e)},Wi=function(e,r,n,a){e&&e.addEventListener&&e.addEventListener(r,n,Bh(a))},rn=function(e,r,n,a){e&&e.removeEventListener&&e.removeEventListener(r,n,Bh(a))},Hh=function(e){for(var r=e?Wi:rn,n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];r.apply(void 0,a)},zn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventDefault,a=n===void 0?!0:n,i=r.propagation,s=i===void 0?!0:i,c=r.immediatePropagation,f=c===void 0?!1:c;a&&e.preventDefault(),s&&e.stopPropagation(),f&&e.stopImmediatePropagation()};function vx(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _x=Re({content:{type:String,default:"×"},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Close"},textVariant:{type:String}},bh),yx=b.extend({name:bh,functional:!0,props:_x,render:function(e,r){var n=r.props,a=r.data,i=r.slots,s=r.scopedSlots,c=i(),f=s||{},l={staticClass:"close",class:vx({},"text-".concat(n.textVariant),n.textVariant),attrs:{type:"button",disabled:n.disabled,"aria-label":n.ariaLabel?String(n.ariaLabel):null},on:{click:function(d){n.disabled&&Pl(d)&&zn(d)}}};return Nh(en,f,c)||(l.domProps={innerHTML:n.content}),e("button",Ai(a,l),Lh(en,{},f,c))}}),zh=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Jr;return(ut(e)?e.slice():ct(e)).reduce(function(a,i){return a[n(i)]=r[i],a},{})},qh="a",gx=function(e){return"%"+e.charCodeAt(0).toString(16)},nn=function(e){return encodeURIComponent(Nn(e)).replace(VC,gx).replace(qC,",")},bx=function(e){if(!wr(e))return"";var r=ct(e).map(function(n){var a=e[n];return Zr(a)?"":nr(a)?nn(n):ut(a)?a.reduce(function(i,s){return nr(s)?i.push(nn(n)):Zr(s)||i.push(nn(n)+"="+nn(s)),i},[]).join("&"):nn(n)+"="+nn(a)}).filter(function(n){return n.length>0}).join("&");return r?"?".concat(r):""},wx=function(e){return!!(e.href||e.to)},Vh=function(e){return!!(e&&!qi(e,"a"))},Sx=function(e,r){var n=e.to,a=e.disabled,i=e.routerComponentName,s=!!r.$router;return!s||s&&(a||!n)?qh:i||(r.$nuxt?"nuxt-link":"router-link")},Ox=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.target,n=e.rel;return r==="_blank"&&nr(n)?"noopener":n||null},kx=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.href,n=e.to,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:qh,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"#",s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"/";if(r)return r;if(Vh(a))return null;if(br(n))return n||s;if(wr(n)&&(n.path||n.query||n.hash)){var c=Nn(n.path),f=bx(n.query),l=Nn(n.hash);return l=!l||l.charAt(0)==="#"?l:"#".concat(l),"".concat(c).concat(f).concat(l)||s}return i},Cx=13,xx=27,Mx=32,Px=function(e,r){if(e.length!==r.length)return!1;for(var n=!0,a=0;n&&a<e.length;a++)n=Mt(e[a],r[a]);return n},Mt=function t(e,r){if(e===r)return!0;var n=ch(e),a=ch(r);if(n||a)return n&&a?e.getTime()===r.getTime():!1;if(n=ut(e),a=ut(r),n||a)return n&&a?Px(e,r):!1;if(n=Xr(e),a=Xr(r),n||a){if(!n||!a)return!1;var i=ct(e).length,s=ct(r).length;if(i!==s)return!1;for(var c in e){var f=Rl(e,c),l=Rl(r,c);if(f&&!l||!f&&l||!t(e[c],r[c]))return!1}}return String(e)===String(r)};function Uh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Wh=function(e){return!e||ct(e).length===0},Rx=function(e){return{handler:function(n,a){if(!Mt(n,a)){if(Wh(n)||Wh(a)){this[e]=Ni(n);return}for(var i in a)Rl(n,i)||this.$delete(this.$data[e],i);for(var s in n)this.$set(this.$data[e],s,n[s])}}}},Gh=function(e,r){return{data:function(){return Uh({},r,Ni(this[e]))},watch:Uh({},e,Rx(r))}};const Yl=Gh("$attrs","bvAttrs"),Dx=Gh("$listeners","bvListeners");function jx(t){return Ax(t)||Fx(t)||Tx(t)||$x()}function $x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
27
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Tx(t,e){if(t){if(typeof t=="string")return Nl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nl(t,e)}}function Fx(t){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(t))return Array.from(t)}function Ax(t){if(Array.isArray(t))return Nl(t)}function Nl(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function Zh(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function qe(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Zh(Object(r),!0).forEach(function(n){Xh(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Zh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Xh(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Jh={to:{type:[String,Object],default:null},append:{type:Boolean,default:!1},replace:{type:Boolean,default:!1},event:{type:[String,Array],default:"click"},activeClass:{type:String},exact:{type:Boolean,default:!1},exactActiveClass:{type:String},routerTag:{type:String,default:"a"}},Qh={prefetch:{type:Boolean,default:null},noPrefetch:{type:Boolean,default:!1}},Kh=Re(qe(qe(qe({href:{type:String,default:null},rel:{type:String,default:null},target:{type:String,default:"_self"},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},Jh),Qh),{},{routerComponentName:{type:String}}),Ch),Ex=b.extend({name:Ch,mixins:[Yl,Dx,tn],inheritAttrs:!1,props:Kh,computed:{computedTag:function(){var e=this.to,r=this.disabled,n=this.routerComponentName;return Sx({to:e,disabled:r,routerComponentName:n},this)},isRouterLink:function(){return Vh(this.computedTag)},computedRel:function(){var e=this.target,r=this.rel;return Ox({target:e,rel:r})},computedHref:function(){var e=this.to,r=this.href;return kx({to:e,href:r},this.computedTag)},computedProps:function(){var e=this.prefetch;return this.isRouterLink?qe(qe({},zh(qe(qe({},Jh),Qh),this)),{},{prefetch:Ml(e)?e:void 0,tag:this.routerTag}):{}},computedAttrs:function(){var e=this.bvAttrs,r=this.computedHref,n=this.computedRel,a=this.disabled,i=this.target,s=this.routerTag,c=this.isRouterLink;return qe(qe(qe(qe({},e),r?{href:r}:{}),c&&!qi(s,"a")?{}:{rel:n,target:i}),{},{tabindex:a?"-1":Zr(e.tabindex)?null:e.tabindex,"aria-disabled":a?"true":null})},computedListeners:function(){return qe(qe({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(e){var r=arguments,n=Pl(e),a=this.isRouterLink,i=this.bvListeners.click;n&&this.disabled?zn(e,{immediatePropagation:!0}):(a&&e.currentTarget.__vue__&&e.currentTarget.__vue__.$emit("click",e),Gt(i).filter(function(s){return xt(s)}).forEach(function(s){s.apply(void 0,jx(r))}),this.$root.$emit("clicked::link",e)),n&&!a&&this.computedHref==="#"&&zn(e,{propagation:!1})},focus:function(){or(this.$el)},blur:function(){Eh(this.$el)}},render:function(e){var r=this.active,n=this.disabled;return e(this.computedTag,Xh({class:{active:r,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function ep(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Ix(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ep(Object(r),!0).forEach(function(n){Or(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ep(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Or(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Gi=EC(Kh,["event","routerTag"]);delete Gi.href.default,delete Gi.to.default;var Yx=Re(Ix({block:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:String},variant:{type:String,default:"secondary"},type:{type:String,default:"button"},tag:{type:String,default:"button"},pill:{type:Boolean,default:!1},squared:{type:Boolean,default:!1},pressed:{type:Boolean,default:null}},Gi),gh),tp=function(e){e.type==="focusin"?Qr(e.target,"focus"):e.type==="focusout"&&Fl(e.target,"focus")},qn=function(e){return wx(e)||qi(e.tag,"a")},rp=function(e){return Ml(e.pressed)},np=function(e){return!(qn(e)||e.tag&&!qi(e.tag,"button"))},ap=function(e){return!qn(e)&&!np(e)},Nx=function(e){var r;return["btn-".concat(e.variant||"secondary"),(r={},Or(r,"btn-".concat(e.size),e.size),Or(r,"btn-block",e.block),Or(r,"rounded-pill",e.pill),Or(r,"rounded-0",e.squared&&!e.pill),Or(r,"disabled",e.disabled),Or(r,"active",e.pressed),r)]},Lx=function(e){return qn(e)?zh(Gi,e):{}},Bx=function(e,r){var n=np(e),a=qn(e),i=rp(e),s=ap(e),c=a&&e.href==="#",f=r.attrs&&r.attrs.role?r.attrs.role:null,l=r.attrs?r.attrs.tabindex:null;return(s||c)&&(l="0"),{type:n&&!a?e.type:null,disabled:n?e.disabled:null,role:s||c?"button":f,"aria-disabled":s?String(e.disabled):null,"aria-pressed":i?String(e.pressed):null,autocomplete:i?"off":null,tabindex:e.disabled&&!n?"-1":l}},ip=b.extend({name:gh,functional:!0,props:Yx,render:function(e,r){var n=r.props,a=r.data,i=r.listeners,s=r.children,c=rp(n),f=qn(n),l=ap(n),o=f&&n.href==="#",d={keydown:function(m){if(!(n.disabled||!(l||o))){var v=m.keyCode;if(v===Mx||v===Cx&&l){var y=m.currentTarget||m.target;zn(m,{propagation:!1}),y.click()}}},click:function(m){n.disabled&&Pl(m)?zn(m):c&&i&&i["update:pressed"]&&Gt(i["update:pressed"]).forEach(function(v){xt(v)&&v(!n.pressed)})}};c&&(d.focusin=tp,d.focusout=tp);var h={staticClass:"btn",class:Nx(n),props:Lx(n),attrs:Bx(n,a),on:d};return e(f?Ex:n.tag,Ai(a,h),s)}}),op=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return String(e).replace(zC,"")},Zi=function(e,r){return e?{innerHTML:e}:r?{textContent:r}:{}};const Vn={props:{id:{type:String}},data:function(){return{localId_:null}},computed:{safeId:function(){var e=this.id||this.localId_,r=function(a){return e?(a=String(a||"").replace(/\s+/g,"_"),a?e+"_"+a:e):null};return r}},mounted:function(){var e=this;this.$nextTick(function(){e.localId_="__BVID__".concat(e._uid)})}};var Pt={passive:!0,capture:!1};function sp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Hx(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sp(Object(r),!0).forEach(function(n){zx(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function zx(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var qx=function(e,r,n){if(e=e?e.$el||e:null,!fe(e)||GC("observeDom"))return null;var a=new sx(function(i){for(var s=!1,c=0;c<i.length&&!s;c++){var f=i[c],l=f.type,o=f.target;(l==="characterData"&&o.nodeType===Node.TEXT_NODE||l==="attributes"||l==="childList"&&(f.addedNodes.length>0||f.removedNodes.length>0))&&(s=!0)}s&&r()});return a.observe(e,Hx({childList:!0,subtree:!0},n)),a},Vx=function(e){Ie(e,"height",0),Sr(function(){Th(e),Ie(e,"height","".concat(e.scrollHeight,"px"))})},Ux=function(e){Ah(e,"height")},Wx=function(e){Ie(e,"height","auto"),Ie(e,"display","block"),Ie(e,"height","".concat(Ui(e).height,"px")),Th(e),Ie(e,"height",0)},Gx=function(e){Ah(e,"height")},Zx={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},Xx={enter:Vx,afterEnter:Ux,leave:Wx,afterLeave:Gx},Jx=b.extend({name:ZC,functional:!0,props:{appear:{type:Boolean,default:!1}},render:function(e,r){var n=r.props,a=r.data,i=r.children;return e("transition",Ai(a,{props:Zx,on:Xx},{props:n}),i)}});const lp={methods:{listenOnRoot:function(e,r){var n=this;this.$root.$on(e,r),this.$on("hook:beforeDestroy",function(){n.$root.$off(e,r)})},listenOnRootOnce:function(e,r){var n=this;this.$root.$once(e,r),this.$on("hook:beforeDestroy",function(){n.$root.$off(e,r)})},emitOnRoot:function(e){for(var r,n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];(r=this.$root).$emit.apply(r,[e].concat(a))}}};var Qx="bv::toggle::collapse",Kx="bv::collapse::state",eM="bv::collapse::sync::state",tM="bv::request::collapse::state",up="bv::collapse::accordion",rM=b.extend({name:wh,mixins:[Vn,lp,tn],model:{prop:"visible",event:"input"},props:Re({isNav:{type:Boolean,default:!1},accordion:{type:String},visible:{type:Boolean,default:!1},tag:{type:String,default:"div"},appear:{type:Boolean,default:!1}},wh),data:function(){return{show:this.visible,transitioning:!1}},computed:{classObject:function(){return{"navbar-collapse":this.isNav,collapse:!this.transitioning,show:this.show&&!this.transitioning}}},watch:{visible:function(e){e!==this.show&&(this.show=e)},show:function(e,r){e!==r&&this.emitState()}},created:function(){this.show=this.visible},mounted:function(){var e=this;this.show=this.visible,this.listenOnRoot(Qx,this.handleToggleEvt),this.listenOnRoot(up,this.handleAccordionEvt),this.isNav&&(this.setWindowEvents(!0),this.handleResize()),this.$nextTick(function(){e.emitState()}),this.listenOnRoot(tM,function(r){r===e.safeId()&&e.$nextTick(e.emitSync)})},updated:function(){this.emitSync()},deactivated:function(){this.isNav&&this.setWindowEvents(!1)},activated:function(){this.isNav&&this.setWindowEvents(!0),this.emitSync()},beforeDestroy:function(){this.show=!1,this.isNav&&Ee&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(e){Hh(e,window,"resize",this.handleResize,Pt),Hh(e,window,"orientationchange",this.handleResize,Pt)},toggle:function(){this.show=!this.show},onEnter:function(){this.transitioning=!0,this.$emit("show")},onAfterEnter:function(){this.transitioning=!1,this.$emit("shown")},onLeave:function(){this.transitioning=!0,this.$emit("hide")},onAfterLeave:function(){this.transitioning=!1,this.$emit("hidden")},emitState:function(){this.$emit("input",this.show),this.emitOnRoot(Kx,this.safeId(),this.show),this.accordion&&this.show&&this.emitOnRoot(up,this.safeId(),this.accordion)},emitSync:function(){this.emitOnRoot(eM,this.safeId(),this.show)},checkDisplayBlock:function(){var e=ux(this.$el,"show");Fl(this.$el,"show");var r=ir(this.$el).display==="block";return e&&Qr(this.$el,"show"),r},clickHandler:function(e){var r=e.target;!this.isNav||!r||ir(this.$el).display!=="block"||(Tl(r,".nav-link,.dropdown-item")||Fh(".nav-link,.dropdown-item",r))&&(this.checkDisplayBlock()||(this.show=!1))},handleToggleEvt:function(e){e===this.safeId()&&this.toggle()},handleAccordionEvt:function(e,r){!this.accordion||r!==this.accordion||(e===this.safeId()?this.show||this.toggle():this.show&&this.toggle())},handleResize:function(){this.show=ir(this.$el).display==="block"}},render:function(e){var r=this,n={visible:this.show,close:function(){return r.show=!1}},a=e(this.tag,{class:this.classObject,directives:[{name:"show",value:this.show}],attrs:{id:this.safeId()},on:{click:this.clickHandler}},[this.normalizeSlot(en,n)]);return e(Jx,{props:{appear:this.appear},on:{enter:this.onEnter,afterEnter:this.onAfterEnter,leave:this.onLeave,afterLeave:this.onAfterLeave}},[a])}});function nM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cp(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function aM(t,e,r){return e&&cp(t.prototype,e),r&&cp(t,r),t}var iM=function(){function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(nM(this,t),!e)throw new TypeError("Failed to construct '".concat(this.constructor.name,"'. 1 argument required, ").concat(arguments.length," given."));FC(this,t.Defaults,this.constructor.Defaults,r,{type:e}),ph(this,{type:ar(),cancelable:ar(),nativeEvent:ar(),target:ar(),relatedTarget:ar(),vueTarget:ar(),componentId:ar()});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},AC(this,"defaultPrevented",{enumerable:!0,get:function(){return n}})}return aM(t,null,[{key:"Defaults",get:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null,componentId:null}}}]),t}(),oM='Setting prop "options" to an object is deprecated. Use the array format instead.',dp=Re({options:{type:[Array,Object],default:function(){return[]}},valueField:{type:String,default:"value"},textField:{type:String,default:"text"},htmlField:{type:String,default:"html"},disabledField:{type:String,default:"disabled"}},"formOptionControls");const sM={props:dp,computed:{formOptions:function(){return this.normalizeOptions(this.options)}},methods:{normalizeOption:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(wr(e)){var n=Li(e,this.valueField),a=Li(e,this.textField);return{value:Zr(n)?r||a:n,text:op(String(Zr(a)?r:a)),html:Li(e,this.htmlField),disabled:!!Li(e,this.disabledField)}}return{value:r||e,text:op(String(e)),disabled:!1}},normalizeOptions:function(e){var r=this;return ut(e)?e.map(function(n){return r.normalizeOption(n)}):wr(e)?(yh(oM,this.$options.name),ct(e).map(function(n){return r.normalizeOption(e[n]||{},n)})):[]}}};var fp=function(e,r){for(var n=0;n<e.length;n++)if(Mt(e[n],r))return n;return-1};function hp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function lM(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hp(Object(r),!0).forEach(function(n){uM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function uM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var pp="input, textarea, select",Xi=lM({id:{type:String},name:{type:String}},Re({disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},form:{type:String},autofocus:{type:Boolean,default:!1}},"formControls"));const Ll={props:Xi,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var e=this;this.$nextTick(function(){Sr(function(){var r=e.$el;e.autofocus&&$h(r)&&(Tl(r,pp)||(r=$l(pp,r)),or(r))})})}}};var Bl=Re({plain:{type:Boolean,default:!1}},"formControls");const mp={props:Bl,computed:{custom:function(){return!this.plain}}};function vp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Ji(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?vp(Object(r),!0).forEach(function(n){an(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):vp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function an(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Hl=Re(Ji(Ji({},Bl),{},{value:{},checked:{},inline:{type:Boolean,default:!1},button:{type:Boolean,default:!1},buttonVariant:{type:String},ariaLabel:{type:String},ariaLabelledby:{type:String}}),"formRadioCheckControls");const _p={mixins:[Yl,mp,tn],inheritAttrs:!1,model:{prop:"checked",event:"input"},props:Hl,data:function(){return{localChecked:this.isGroup?this.bvGroup.checked:this.checked,hasFocus:!1}},computed:{computedLocalChecked:{get:function(){return this.isGroup?this.bvGroup.localChecked:this.localChecked},set:function(e){this.isGroup?this.bvGroup.localChecked=e:this.localChecked=e}},isGroup:function(){return!!this.bvGroup},isBtnMode:function(){return this.isGroup?this.bvGroup.buttons:this.button},isPlain:function(){return this.isBtnMode?!1:this.isGroup?this.bvGroup.plain:this.plain},isCustom:function(){return this.isBtnMode?!1:!this.isPlain},isSwitch:function(){return this.isBtnMode||this.isRadio||this.isPlain?!1:this.isGroup?this.bvGroup.switches:this.switch},isInline:function(){return this.isGroup?this.bvGroup.inline:this.inline},isDisabled:function(){return this.isGroup?this.bvGroup.disabled||this.disabled:this.disabled},isRequired:function(){return this.getName&&(this.isGroup?this.bvGroup.required:this.required)},getName:function(){return(this.isGroup?this.bvGroup.groupName:this.name)||null},getForm:function(){return(this.isGroup?this.bvGroup.form:this.form)||null},getSize:function(){return(this.isGroup?this.bvGroup.size:this.size)||""},getState:function(){return this.isGroup?this.bvGroup.computedState:this.computedState},getButtonVariant:function(){return this.buttonVariant?this.buttonVariant:this.isGroup&&this.bvGroup.buttonVariant?this.bvGroup.buttonVariant:"secondary"},buttonClasses:function(){var e;return["btn","btn-".concat(this.getButtonVariant),(e={},an(e,"btn-".concat(this.getSize),this.getSize),an(e,"disabled",this.isDisabled),an(e,"active",this.isChecked),an(e,"focus",this.hasFocus),e)]},computedAttrs:function(){return Ji(Ji({},this.bvAttrs),{},{id:this.safeId(),type:this.isRadio?"radio":"checkbox",name:this.getName,form:this.getForm,disabled:this.isDisabled,required:this.isRequired,"aria-required":this.isRequired||null,"aria-label":this.ariaLabel||null,"aria-labelledby":this.ariaLabelledby||null})}},watch:{checked:function(e){Mt(e,this.computedLocalChecked)||(this.computedLocalChecked=e)}},methods:{handleFocus:function(e){e.target&&(e.type==="focus"?this.hasFocus=!0:e.type==="blur"&&(this.hasFocus=!1))},focus:function(){this.isDisabled||or(this.$refs.input)},blur:function(){this.isDisabled||Eh(this.$refs.input)}},render:function(e){var r=this.normalizeSlot(),n={change:this.handleChange};this.isBtnMode&&(n.focus=n.blur=this.handleFocus);var a=e("input",{ref:"input",key:"input",on:n,class:{"form-check-input":this.isPlain,"custom-control-input":this.isCustom,"is-valid":this.getState===!0&&!this.isBtnMode,"is-invalid":this.getState===!1&&!this.isBtnMode,"position-static":this.isPlain&&!r},directives:[{name:"model",rawName:"v-model",value:this.computedLocalChecked,expression:"computedLocalChecked"}],attrs:this.computedAttrs,domProps:{value:this.value,checked:this.isChecked}});if(this.isBtnMode){var i=e("label",{class:this.buttonClasses},[a,r]);return this.isGroup||(i=e("div",{class:["btn-group-toggle","d-inline-block"]},[i])),i}else{var s=e();return this.isPlain&&!r||(s=e("label",{class:{"form-check-label":this.isPlain,"custom-control-label":this.isCustom},attrs:{for:this.safeId()}},r)),e("div",{class:an({"form-check":this.isPlain,"form-check-inline":this.isPlain&&this.isInline,"custom-control":this.isCustom,"custom-control-inline":this.isCustom&&this.isInline,"custom-checkbox":this.isCustom&&this.isCheck&&!this.isSwitch,"custom-switch":this.isSwitch,"custom-radio":this.isCustom&&this.isRadio},"b-custom-control-".concat(this.getSize),!!(this.getSize&&!this.isBtnMode))},[a,s])}}};var Qi=Re({size:{type:String}},"formControls");const zl={props:Qi,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}};var Ki=Re({state:{type:Boolean,default:null}},"formState");const ql={props:Ki,computed:{computedState:function(){return Ml(this.state)?this.state:null},stateClass:function(){var e=this.computedState;return e===!0?"is-valid":e===!1?"is-invalid":null},computedAriaInvalid:function(){var e=this.ariaInvalid;return e===!0||e==="true"||e===""||this.computedState===!1?"true":e}}};function yp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Un(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?yp(Object(r),!0).forEach(function(n){cM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):yp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function cM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var dM=b.extend({name:Sh,mixins:[_p,Vn,Ll,zl,ql],inject:{bvGroup:{from:"bvCheckGroup",default:!1}},props:Re(Un(Un(Un(Un(Un({},Xi),Hl),Qi),Ki),{},{value:{default:!0},uncheckedValue:{default:!1},indeterminate:{type:Boolean,default:!1},switch:{type:Boolean,default:!1},checked:{default:null}}),Sh),computed:{isChecked:function(){var e=this.value,r=this.computedLocalChecked;return ut(r)?fp(r,e)>-1:Mt(r,e)},isRadio:function(){return!1},isCheck:function(){return!0}},watch:{computedLocalChecked:function(e,r){if(!Mt(e,r)){this.$emit("input",e);var n=this.$refs.input;n&&this.$emit("update:indeterminate",n.indeterminate)}},indeterminate:function(e){this.setIndeterminate(e)}},mounted:function(){this.setIndeterminate(this.indeterminate)},methods:{handleChange:function(e){var r=this,n=e.target,a=n.checked,i=n.indeterminate,s=this.value,c=this.uncheckedValue,f=this.computedLocalChecked;if(ut(f)){var l=fp(f,s);a&&l<0?f=f.concat(s):!a&&l>-1&&(f=f.slice(0,l).concat(f.slice(l+1)))}else f=a?s:c;this.computedLocalChecked=f,this.$nextTick(function(){r.$emit("change",f),r.isGroup&&r.bvGroup.$emit("change",f),r.$emit("update:indeterminate",i)})},setIndeterminate:function(e){ut(this.computedLocalChecked)&&(e=!1);var r=this.$refs.input;r&&(r.indeterminate=e,this.$emit("update:indeterminate",e))}}});function gp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Wn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?gp(Object(r),!0).forEach(function(n){fM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var hM=b.extend({name:Oh,mixins:[Vn,_p,Ll,zl,ql],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:Re(Wn(Wn(Wn(Wn(Wn({},Xi),Hl),Qi),Ki),{},{checked:{default:null}}),Oh),computed:{isChecked:function(){return Mt(this.value,this.computedLocalChecked)},isRadio:function(){return!0},isCheck:function(){return!1}},watch:{computedLocalChecked:function(e,r){Mt(e,r)||this.$emit("input",e)}},methods:{handleChange:function(e){var r=this,n=e.target.checked,a=this.value,i=n?a:null;this.computedLocalChecked=a,this.$nextTick(function(){r.$emit("change",i),r.isGroup&&r.bvGroup.$emit("change",i)})}}});function bp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function on(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?bp(Object(r),!0).forEach(function(n){wp(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):bp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function wp(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Sp=Re(on(on(on(on(on(on({},Xi),dp),Qi),Ki),Bl),{},{checked:{default:null},validated:{type:Boolean,default:!1},ariaInvalid:{type:[Boolean,String],default:!1},stacked:{type:Boolean,default:!1},buttons:{type:Boolean,default:!1},buttonVariant:{type:String}}),"formRadioCheckGroups");const pM={mixins:[Vn,tn,Ll,sM,zl,ql,mp],model:{prop:"checked",event:"input"},props:Sp,data:function(){return{localChecked:this.checked}},computed:{inline:function(){return!this.stacked},groupName:function(){return this.name||this.safeId()},groupClasses:function(){var e=this.inline,r=this.size,n=this.validated,a={"was-validated":n};return this.buttons&&(a=[a,"btn-group-toggle",wp({"btn-group":e,"btn-group-vertical":!e},"btn-group-".concat(r),!!r)]),a}},watch:{checked:function(e){Mt(e,this.localChecked)||(this.localChecked=e)},localChecked:function(e,r){Mt(e,r)||this.$emit("input",e)}},render:function(e){var r=this,n=this.isRadioGroup,a=n?hM:dM,i=this.formOptions.map(function(s,c){var f="BV_option_".concat(c);return e(a,{props:{id:r.safeId(f),value:s.value,disabled:s.disabled||!1},key:f},[e("span",{domProps:Zi(s.html,s.text)})])});return e("div",{class:[this.groupClasses,"bv-no-focus-ring"],attrs:{id:this.safeId(),role:n?"radiogroup":"group",tabindex:"-1","aria-required":this.required?"true":null,"aria-invalid":this.computedAriaInvalid}},[this.normalizeSlot(mx),i,this.normalizeSlot()])}};var mM=Re(Sp,kh),eo=b.extend({name:kh,mixins:[pM],provide:function(){return{bvRadioGroup:this}},props:mM,computed:{isRadioGroup:function(){return!0}}}),vM=b.extend({abstract:!0,name:QC,props:{nodes:{type:[Array,Function]}},data:function(e){return{updatedNodes:e.nodes}},destroyed:function(){lx(this.$el)},render:function(e){var r=xt(this.updatedNodes)?this.updatedNodes({}):this.updatedNodes;return r=Gt(r).filter(Boolean),r&&r.length>0&&!r[0].text?r[0]:e()}}),_M=b.extend({name:JC,mixins:[tn],props:{disabled:{type:Boolean,default:!1},container:{type:[String,uh],default:"body"},tag:{type:String,default:"div"}},watch:{disabled:{immediate:!0,handler:function(e){e?this.unmountTarget():this.$nextTick(this.mountTarget)}}},created:function(){this.$_defaultFn=null,this.$_target=null},beforeMount:function(){this.mountTarget()},updated:function(){this.updateTarget()},beforeDestroy:function(){this.unmountTarget(),this.$_defaultFn=null},methods:{getContainer:function(){if(Ee){var e=this.container;return br(e)?$l(e):e}else return null},mountTarget:function(){if(!this.$_target){var e=this.getContainer();if(e){var r=document.createElement("div");e.appendChild(r),this.$_target=new vM({el:r,parent:this,propsData:{nodes:Gt(this.normalizeSlot())}})}}},updateTarget:function(){if(Ee&&this.$_target){var e=this.$scopedSlots.default;this.disabled||(e&&this.$_defaultFn!==e?this.$_target.updatedNodes=e:e||(this.$_target.updatedNodes=this.$slots.default)),this.$_defaultFn=e}},unmountTarget:function(){this.$_target&&this.$_target.$destroy(),this.$_target=null}},render:function(e){if(this.disabled){var r=Gt(this.normalizeSlot()).filter(Jr);if(r.length>0&&!r[0].text)return r[0]}return e()}}),dt="$_bv_documentHandlers_";const yM={created:function(){var e=this;Ee&&(this[dt]={},this.$once("hook:beforeDestroy",function(){var r=e[dt]||{};delete e[dt],ct(r).forEach(function(n){var a=r[n]||[];a.forEach(function(i){return rn(document,n,i,Pt)})})}))},methods:{listenDocument:function(e,r,n){e?this.listenOnDocument(r,n):this.listenOffDocument(r,n)},listenOnDocument:function(e,r){this[dt]&&br(e)&&xt(r)&&(this[dt][e]=this[dt][e]||[],jl(this[dt][e],r)||(this[dt][e].push(r),Wi(document,e,r,Pt)))},listenOffDocument:function(e,r){this[dt]&&br(e)&&xt(r)&&(rn(document,e,r,Pt),this[dt][e]=(this[dt][e]||[]).filter(function(n){return n!==r}))}}};var ft="$_bv_windowHandlers_";const gM={beforeCreate:function(){this[ft]={}},beforeDestroy:function(){if(Ee){var e=this[ft];delete this[ft],ct(e).forEach(function(r){var n=e[r]||[];n.forEach(function(a){return rn(window,r,a,Pt)})})}},methods:{listenWindow:function(e,r,n){e?this.listenOnWindow(r,n):this.listenOffWindow(r,n)},listenOnWindow:function(e,r){Ee&&this[ft]&&br(e)&&xt(r)&&(this[ft][e]=this[ft][e]||[],jl(this[ft][e],r)||(this[ft][e].push(r),Wi(window,e,r,Pt)))},listenOffWindow:function(e,r){Ee&&this[ft]&&br(e)&&xt(r)&&(rn(window,e,r,Pt),this[ft][e]=(this[ft][e]||[]).filter(function(n){return n!==r}))}}};var bM=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e&&e.$options._scopeId||r};function wM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const SM={computed:{scopedStyleAttrs:function(){var e=bM(this.$parent);return e?wM({},e,""):{}}}};var Op=1040,Vl={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},OM=b.extend({data:function(){return{modals:[],baseZIndex:null,scrollbarWidth:null,isBodyOverflowing:!1}},computed:{modalCount:function(){return this.modals.length},modalsAreOpen:function(){return this.modalCount>0}},watch:{modalCount:function(e,r){Ee&&(this.getScrollbarWidth(),e>0&&r===0?(this.checkScrollbar(),this.setScrollbar(),Qr(document.body,"modal-open")):e===0&&r>0&&(this.resetScrollbar(),Fl(document.body,"modal-open")),Bn(document.body,"data-modal-open-count",String(e)))},modals:function(e){var r=this;this.checkScrollbar(),Sr(function(){r.updateModals(e||[])})}},methods:{registerModal:function(e){var r=this;e&&this.modals.indexOf(e)===-1&&(this.modals.push(e),e.$once("hook:beforeDestroy",function(){r.unregisterModal(e)}))},unregisterModal:function(e){var r=this.modals.indexOf(e);r>-1&&(this.modals.splice(r,1),e._isBeingDestroyed||e._isDestroyed||this.resetModal(e))},getBaseZIndex:function(){if(nr(this.baseZIndex)&&Ee){var e=document.createElement("div");Qr(e,"modal-backdrop"),Qr(e,"d-none"),Ie(e,"display","none"),document.body.appendChild(e),this.baseZIndex=nx(ir(e).zIndex,Op),document.body.removeChild(e)}return this.baseZIndex||Op},getScrollbarWidth:function(){if(nr(this.scrollbarWidth)&&Ee){var e=document.createElement("div");Qr(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=Ui(e).width-e.clientWidth,document.body.removeChild(e)}return this.scrollbarWidth||0},updateModals:function(e){var r=this,n=this.getBaseZIndex(),a=this.getScrollbarWidth();e.forEach(function(i,s){i.zIndex=n+s,i.scrollbarWidth=a,i.isTop=s===r.modals.length-1,i.isBodyOverflowing=r.isBodyOverflowing})},resetModal:function(e){e&&(e.zIndex=this.getBaseZIndex(),e.isTop=!0,e.isBodyOverflowing=!1)},checkScrollbar:function(){var e=Ui(document.body),r=e.left,n=e.right;this.isBodyOverflowing=r+n<window.innerWidth},setScrollbar:function(){var e=document.body;if(e._paddingChangedForModal=e._paddingChangedForModal||[],e._marginChangedForModal=e._marginChangedForModal||[],this.isBodyOverflowing){var r=this.scrollbarWidth;Vi(Vl.FIXED_CONTENT).forEach(function(a){var i=Hn(a,"paddingRight")||"";Bn(a,"data-padding-right",i),Ie(a,"paddingRight","".concat(Bi(ir(a).paddingRight,0)+r,"px")),e._paddingChangedForModal.push(a)}),Vi(Vl.STICKY_CONTENT).forEach(function(a){var i=Hn(a,"marginRight")||"";Bn(a,"data-margin-right",i),Ie(a,"marginRight","".concat(Bi(ir(a).marginRight,0)-r,"px")),e._marginChangedForModal.push(a)}),Vi(Vl.NAVBAR_TOGGLER).forEach(function(a){var i=Hn(a,"marginRight")||"";Bn(a,"data-margin-right",i),Ie(a,"marginRight","".concat(Bi(ir(a).marginRight,0)+r,"px")),e._marginChangedForModal.push(a)});var n=Hn(e,"paddingRight")||"";Bn(e,"data-padding-right",n),Ie(e,"paddingRight","".concat(Bi(ir(e).paddingRight,0)+r,"px"))}},resetScrollbar:function(){var e=document.body;e._paddingChangedForModal&&e._paddingChangedForModal.forEach(function(r){Il(r,"data-padding-right")&&(Ie(r,"paddingRight",El(r,"data-padding-right")||""),Al(r,"data-padding-right"))}),e._marginChangedForModal&&e._marginChangedForModal.forEach(function(r){Il(r,"data-margin-right")&&(Ie(r,"marginRight",El(r,"data-margin-right")||""),Al(r,"data-margin-right"))}),e._paddingChangedForModal=null,e._marginChangedForModal=null,Il(e,"data-padding-right")&&(Ie(e,"paddingRight",El(e,"data-padding-right")||""),Al(e,"data-padding-right"))}}}),Gn=new OM;function to(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?to=function(r){return typeof r}:to=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},to(t)}function kp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Cp(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?kp(Object(r),!0).forEach(function(n){kM(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):kp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function kM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function CM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xp(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function xM(t,e,r){return e&&xp(t.prototype,e),r&&xp(t,r),t}function ro(t,e,r){return typeof Reflect!="undefined"&&Reflect.get?ro=Reflect.get:ro=function(a,i,s){var c=MM(a,i);if(c){var f=Object.getOwnPropertyDescriptor(c,i);return f.get?f.get.call(s):f.value}},ro(t,e,r||t)}function MM(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=sn(t),t!==null););return t}function PM(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ul(t,e)}function Ul(t,e){return Ul=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Ul(t,e)}function RM(t){var e=jM();return function(){var n=sn(t),a;if(e){var i=sn(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return DM(this,a)}}function DM(t,e){return e&&(to(e)==="object"||typeof e=="function")?e:Mp(t)}function Mp(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jM(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function sn(t){return sn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},sn(t)}var $M=function(t){PM(r,t);var e=RM(r);function r(n){var a,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return CM(this,r),a=e.call(this,n,i),ph(Mp(a),{trigger:ar()}),a}return xM(r,null,[{key:"Defaults",get:function(){return Cp(Cp({},ro(sn(r),"Defaults",this)),{},{trigger:null})}}]),r}(iM);function Pp(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Zn(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Pp(Object(r),!0).forEach(function(n){Qe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Pp(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Qe(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var TM={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},FM=Re({size:{type:String,default:"md"},centered:{type:Boolean,default:!1},scrollable:{type:Boolean,default:!1},buttonSize:{type:String},noStacking:{type:Boolean,default:!1},noFade:{type:Boolean,default:!1},noCloseOnBackdrop:{type:Boolean,default:!1},noCloseOnEsc:{type:Boolean,default:!1},noEnforceFocus:{type:Boolean,default:!1},ignoreEnforceFocusSelector:{type:[Array,String],default:""},title:{type:String,default:""},titleHtml:{type:String},titleTag:{type:String,default:"h5"},titleClass:{type:[String,Array,Object]},titleSrOnly:{type:Boolean,default:!1},ariaLabel:{type:String},headerBgVariant:{type:String},headerBorderVariant:{type:String},headerTextVariant:{type:String},headerCloseVariant:{type:String},headerClass:{type:[String,Array,Object]},bodyBgVariant:{type:String},bodyTextVariant:{type:String},modalClass:{type:[String,Array,Object]},dialogClass:{type:[String,Array,Object]},contentClass:{type:[String,Array,Object]},bodyClass:{type:[String,Array,Object]},footerBgVariant:{type:String},footerBorderVariant:{type:String},footerTextVariant:{type:String},footerClass:{type:[String,Array,Object]},hideHeader:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},hideHeaderClose:{type:Boolean,default:!1},hideBackdrop:{type:Boolean,default:!1},okOnly:{type:Boolean,default:!1},okDisabled:{type:Boolean,default:!1},cancelDisabled:{type:Boolean,default:!1},visible:{type:Boolean,default:!1},returnFocus:{type:[uh,String,Object],default:null},headerCloseContent:{type:String,default:"×"},headerCloseLabel:{type:String,default:"Close"},cancelTitle:{type:String,default:"Cancel"},cancelTitleHtml:{type:String},okTitle:{type:String,default:"OK"},okTitleHtml:{type:String},cancelVariant:{type:String,default:"secondary"},okVariant:{type:String,default:"primary"},lazy:{type:Boolean,default:!1},busy:{type:Boolean,default:!1},static:{type:Boolean,default:!1},autoFocusButton:{type:String,default:null,validator:function(e){return Yi(e)||jl(["ok","cancel","close"],e)}}},xh),AM=b.extend({name:xh,mixins:[Yl,Vn,yM,lp,gM,tn,SM],inheritAttrs:!1,model:{prop:"visible",event:"change"},props:FM,data:function(){return{isHidden:!0,isVisible:!1,isTransitioning:!1,isShow:!1,isBlock:!1,isOpening:!1,isClosing:!1,ignoreBackdropClick:!1,isModalOverflowing:!1,return_focus:this.returnFocus||null,scrollbarWidth:0,zIndex:Gn.getBaseZIndex(),isTop:!0,isBodyOverflowing:!1}},computed:{modalId:function(){return this.safeId()},modalOuterId:function(){return this.safeId("__BV_modal_outer_")},modalHeaderId:function(){return this.safeId("__BV_modal_header_")},modalBodyId:function(){return this.safeId("__BV_modal_body_")},modalTitleId:function(){return this.safeId("__BV_modal_title_")},modalContentId:function(){return this.safeId("__BV_modal_content_")},modalFooterId:function(){return this.safeId("__BV_modal_footer_")},modalBackdropId:function(){return this.safeId("__BV_modal_backdrop_")},modalClasses:function(){return[{fade:!this.noFade,show:this.isShow},this.modalClass]},modalStyles:function(){var e="".concat(this.scrollbarWidth,"px");return{paddingLeft:!this.isBodyOverflowing&&this.isModalOverflowing?e:"",paddingRight:this.isBodyOverflowing&&!this.isModalOverflowing?e:"",display:this.isBlock?"block":"none"}},dialogClasses:function(){var e;return[(e={},Qe(e,"modal-".concat(this.size),this.size),Qe(e,"modal-dialog-centered",this.centered),Qe(e,"modal-dialog-scrollable",this.scrollable),e),this.dialogClass]},headerClasses:function(){var e;return[(e={},Qe(e,"bg-".concat(this.headerBgVariant),this.headerBgVariant),Qe(e,"text-".concat(this.headerTextVariant),this.headerTextVariant),Qe(e,"border-".concat(this.headerBorderVariant),this.headerBorderVariant),e),this.headerClass]},titleClasses:function(){return[{"sr-only":this.titleSrOnly},this.titleClass]},bodyClasses:function(){var e;return[(e={},Qe(e,"bg-".concat(this.bodyBgVariant),this.bodyBgVariant),Qe(e,"text-".concat(this.bodyTextVariant),this.bodyTextVariant),e),this.bodyClass]},footerClasses:function(){var e;return[(e={},Qe(e,"bg-".concat(this.footerBgVariant),this.footerBgVariant),Qe(e,"text-".concat(this.footerTextVariant),this.footerTextVariant),Qe(e,"border-".concat(this.footerBorderVariant),this.footerBorderVariant),e),this.footerClass]},modalOuterStyle:function(){return{position:"absolute",zIndex:this.zIndex}},slotScope:function(){return{ok:this.onOk,cancel:this.onCancel,close:this.onClose,hide:this.hide,visible:this.isVisible}},computeIgnoreEnforceFocusSelector:function(){return Gt(this.ignoreEnforceFocusSelector).filter(Jr).join(",").trim()},computedAttrs:function(){var e=this.static?{}:this.scopedStyleAttrs;return Zn(Zn(Zn({},e),this.bvAttrs),{},{id:this.modalOuterId})},computedModalAttrs:function(){var e=this.isVisible,r=this.ariaLabel;return{id:this.modalId,role:"dialog","aria-hidden":e?null:"true","aria-modal":e?"true":null,"aria-label":r,"aria-labelledby":this.hideHeader||r||!(this.hasNormalizedSlot("modal-title")||this.titleHtml||this.title)?null:this.modalTitleId,"aria-describedby":this.modalBodyId}}},watch:{visible:function(e,r){e!==r&&this[e?"show":"hide"]()}},created:function(){this.$_observer=null},mounted:function(){this.zIndex=Gn.getBaseZIndex(),this.listenOnRoot("bv::show::modal",this.showHandler),this.listenOnRoot("bv::hide::modal",this.hideHandler),this.listenOnRoot("bv::toggle::modal",this.toggleHandler),this.listenOnRoot("bv::modal::show",this.modalListener),this.visible===!0&&this.$nextTick(this.show)},beforeDestroy:function(){this.setObserver(!1),this.isVisible&&(this.isVisible=!1,this.isShow=!1,this.isTransitioning=!1)},methods:{setObserver:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.$_observer&&this.$_observer.disconnect(),this.$_observer=null,e&&(this.$_observer=qx(this.$refs.content,this.checkModalOverflow.bind(this),TM))},updateModel:function(e){e!==this.visible&&this.$emit("change",e)},buildEvent:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new $M(e,Zn(Zn({cancelable:!1,target:this.$refs.modal||this.$el||null,relatedTarget:null,trigger:null},r),{},{vueTarget:this,componentId:this.modalId}))},show:function(){if(!(this.isVisible||this.isOpening)){if(this.isClosing){this.$once("hidden",this.show);return}this.isOpening=!0,this.return_focus=this.return_focus||this.getActiveElement();var e=this.buildEvent("show",{cancelable:!0});if(this.emitEvent(e),e.defaultPrevented||this.isVisible){this.isOpening=!1,this.updateModel(!1);return}this.doShow()}},hide:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";if(!(!this.isVisible||this.isClosing)){this.isClosing=!0;var r=this.buildEvent("hide",{cancelable:e!=="FORCE",trigger:e||null});if(e==="ok"?this.$emit("ok",r):e==="cancel"?this.$emit("cancel",r):e==="headerclose"&&this.$emit("close",r),this.emitEvent(r),r.defaultPrevented||!this.isVisible){this.isClosing=!1,this.updateModel(!0);return}this.setObserver(!1),this.isVisible=!1,this.updateModel(!1)}},toggle:function(e){e&&(this.return_focus=e),this.isVisible?this.hide("toggle"):this.show()},getActiveElement:function(){var e=Dh(Ee?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;if(Gn.modalsAreOpen&&this.noStacking){this.listenOnRootOnce("bv::modal::hidden",this.doShow);return}Gn.registerModal(this),this.isHidden=!1,this.$nextTick(function(){e.isVisible=!0,e.isOpening=!1,e.updateModel(!0),e.$nextTick(function(){e.setObserver(!0)})})},onBeforeEnter:function(){this.isTransitioning=!0,this.setResizeEvent(!0)},onEnter:function(){var e=this;this.isBlock=!0,Sr(function(){Sr(function(){e.isShow=!0})})},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,Sr(function(){e.emitEvent(e.buildEvent("shown")),e.setEnforceFocus(!0),e.$nextTick(function(){e.focusFirst()})})},onBeforeLeave:function(){this.isTransitioning=!0,this.setResizeEvent(!1),this.setEnforceFocus(!1)},onLeave:function(){this.isShow=!1},onAfterLeave:function(){var e=this;this.isBlock=!1,this.isTransitioning=!1,this.isModalOverflowing=!1,this.isHidden=!0,this.$nextTick(function(){e.isClosing=!1,Gn.unregisterModal(e),e.returnFocusTo(),e.emitEvent(e.buildEvent("hidden"))})},emitEvent:function(e){var r=e.type;this.emitOnRoot("bv::modal::".concat(r),e,e.componentId),this.$emit(r,e)},onDialogMousedown:function(){var e=this,r=this.$refs.modal,n=function a(i){rn(r,"mouseup",a,Pt),i.target===r&&(e.ignoreBackdropClick=!0)};Wi(r,"mouseup",n,Pt)},onClickOut:function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}!this.isVisible||this.noCloseOnBackdrop||!Ln(document.body,e.target)||Ln(this.$refs.content,e.target)||this.hide("backdrop")},onOk:function(){this.hide("ok")},onCancel:function(){this.hide("cancel")},onClose:function(){this.hide("headerclose")},onEsc:function(e){e.keyCode===xx&&this.isVisible&&!this.noCloseOnEsc&&this.hide("esc")},focusHandler:function(e){var r=this.$refs.content,n=e.target;if(!(this.noEnforceFocus||!this.isTop||!this.isVisible||!r||document===n||Ln(r,n)||this.computeIgnoreEnforceFocusSelector&&Fh(this.computeIgnoreEnforceFocusSelector,n,!0))){var a=cx(this.$refs.content),i=this.$refs,s=i.bottomTrap,c=i.topTrap;if(s&&n===s){if(or(a[0]))return}else if(c&&n===c&&or(a[a.length-1]))return;or(r,{preventScroll:!0})}},setEnforceFocus:function(e){this.listenDocument(e,"focusin",this.focusHandler)},setResizeEvent:function(e){this.listenWindow(e,"resize",this.checkModalOverflow),this.listenWindow(e,"orientationchange",this.checkModalOverflow)},showHandler:function(e,r){e===this.modalId&&(this.return_focus=r||this.getActiveElement(),this.show())},hideHandler:function(e){e===this.modalId&&this.hide("event")},toggleHandler:function(e,r){e===this.modalId&&this.toggle(r)},modalListener:function(e){this.noStacking&&e.vueTarget!==this&&this.hide()},focusFirst:function(){var e=this;Ee&&Sr(function(){var r=e.$refs.modal,n=e.$refs.content,a=e.getActiveElement();if(r&&n&&!(a&&Ln(n,a))){var i=e.$refs["ok-button"],s=e.$refs["cancel-button"],c=e.$refs["close-button"],f=e.autoFocusButton,l=f==="ok"&&i?i.$el||i:f==="cancel"&&s?s.$el||s:f==="close"&&c?c.$el||c:n;or(l),l===n&&e.$nextTick(function(){r.scrollTop=0})}})},returnFocusTo:function(){var e=this.returnFocus||this.return_focus||null;this.return_focus=null,this.$nextTick(function(){e=br(e)?$l(e):e,e&&(e=e.$el||e,or(e))})},checkModalOverflow:function(){if(this.isVisible){var e=this.$refs.modal;this.isModalOverflowing=e.scrollHeight>document.documentElement.clientHeight}},makeModal:function(e){var r=e();if(!this.hideHeader){var n=this.normalizeSlot("modal-header",this.slotScope);if(!n){var a=e();this.hideHeaderClose||(a=e(yx,{props:{content:this.headerCloseContent,disabled:this.isTransitioning,ariaLabel:this.headerCloseLabel,textVariant:this.headerCloseVariant||this.headerTextVariant},on:{click:this.onClose},ref:"close-button"},[this.normalizeSlot("modal-header-close")])),n=[e(this.titleTag,{staticClass:"modal-title",class:this.titleClasses,attrs:{id:this.modalTitleId},domProps:this.hasNormalizedSlot("modal-title")?{}:Zi(this.titleHtml,this.title)},this.normalizeSlot("modal-title",this.slotScope)),a]}r=e("header",{staticClass:"modal-header",class:this.headerClasses,attrs:{id:this.modalHeaderId},ref:"header"},[n])}var i=e("div",{staticClass:"modal-body",class:this.bodyClasses,attrs:{id:this.modalBodyId},ref:"body"},this.normalizeSlot(en,this.slotScope)),s=e();if(!this.hideFooter){var c=this.normalizeSlot("modal-footer",this.slotScope);if(!c){var f=e();this.okOnly||(f=e(ip,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-cancel")?{}:Zi(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot("modal-cancel")));var l=e(ip,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-ok")?{}:Zi(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot("modal-ok"));c=[f,l]}s=e("footer",{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[c])}var o=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[r,i,s]),d=e(),h=e();this.isVisible&&!this.noEnforceFocus&&(d=e("span",{ref:"topTrap",attrs:{tabindex:"0"}}),h=e("span",{ref:"bottomTrap",attrs:{tabindex:"0"}}));var u=e("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[d,o,h]),m=e("div",{staticClass:"modal",class:this.modalClasses,style:this.modalStyles,attrs:this.computedModalAttrs,on:{keydown:this.onEsc,click:this.onClickOut},directives:[{name:"show",value:this.isVisible}],ref:"modal"},[u]);m=e("transition",{props:{enterClass:"",enterToClass:"",enterActiveClass:"",leaveClass:"",leaveActiveClass:"",leaveToClass:""},on:{beforeEnter:this.onBeforeEnter,enter:this.onEnter,afterEnter:this.onAfterEnter,beforeLeave:this.onBeforeLeave,leave:this.onLeave,afterLeave:this.onAfterLeave}},[m]);var v=e();return!this.hideBackdrop&&this.isVisible&&(v=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot("modal-backdrop"))),v=e(px,{props:{noFade:this.noFade}},[v]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this._uid)},[m,v])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(_M,[this.makeModal(e)])}});const EM=b.defineComponent({name:"ClaimFreeYearsModalContent",components:{BModal:AM,BCollapse:rM,DefaultSelect:Ae},props:{maxClaimFreeYears:{required:!0,type:Number},currentClaimFreeYears:{required:!0,type:String},isModalOpen:{required:!0,type:Boolean,default:!1},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const r=b.ref(!1),n=b.ref("1"),a=b.ref("0"),i=b.ref(t.currentClaimFreeYears),s=b.computed(()=>n.value==="2"?"Je hebt schadevrije jaren, maar..":"Bereken je schadevrije jaren!");b.watch(i,d=>{a.value=d});const c=()=>{e("set-claim-free-years",a.value)},f=()=>{a.value="0",c(),l()},l=()=>{e("close-claim-free-years-modal"),b.nextTick(()=>{n.value="1"})};return{collapseOpen:r,currentStep:n,claimFreeYears:a,setClaimFreeYears:c,closeModal:l,setStep:d=>{n.value=d},resetClaimFreeYears:f,title:s}}});var Rp=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",[r("b-modal",{attrs:{title:e.title,static:"",centered:"","no-fade":"","modal-class":"form-modal","hide-footer":""},model:{value:e.isModalOpen,callback:function(n){e.isModalOpen=n},expression:"isModalOpen"}},[e.currentStep==="1"?r("div",[r("p",[e._v(" Heb je in de afgelopen 3 jaar een bromfietsverzekering op je eigen naam gehad die je hebt opgezegd? ")]),r("div",{staticClass:"d-flex justify-content-between"},[r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill mr-2 cursor-pointer",on:{click:function(n){return e.setStep("1-1")}}},[e._v(" Ja ")]),r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill ml-2 cursor-pointer",on:{click:function(n){return e.setStep("1-2")}}},[e._v(" Nee ")])])]):e._e(),e.currentStep==="1-1"?r("div",[r("p",[e._v(" Hoeveel aaneengesloten jaren heb je deze bromfietsverzekering gehad zonder schades te claimen? ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.claimFreeYears,expression:"claimFreeYears"}],staticClass:"vd-form-group__input",attrs:{id:"claimFreeYears",name:"claimfreeyears"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,function(i){return i.selected}).map(function(i){var s="_value"in i?i._value:i.value;return s});e.claimFreeYears=n.target.multiple?a:a[0]},e.setClaimFreeYears]}},[r("option",{attrs:{value:"0"}},[e._v(" 0 jaar ")]),e._l(e.maxClaimFreeYears,function(n){return r("option",{key:n,domProps:{value:n}},[e._v(" "+e._s(n)+" jaar ")])})],2),r("div",{staticClass:"d-flex justify-content-between mt-3"},[r("div",{staticClass:"btn-a btn-a--gray btn-a--bold btn-a--small cursor-pointer",on:{click:function(n){return e.setStep("1")}}},[e._v(" Terug ")]),r("div",{staticClass:"btn-a btn-a--success btn-a--small btn-a--bold cursor-pointer",on:{click:e.closeModal}},[e._v(" Opslaan ")])])]):e._e(),e.currentStep==="1-2"?r("div",[r("p",[e._v(" Je hebt geen schadevrije jaren voor de bromfiets/scooter opgebouwd. Wil je gebruik maken van schadevrije jaren van een motor- of autoverzekering? ")]),r("div",{staticClass:"d-flex justify-content-between"},[r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill mr-2 cursor-pointer",on:{click:function(n){return e.setStep("2")}}},[e._v(" Ja ")]),r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill ml-2 cursor-pointer",on:{click:function(n){return e.setStep("1-3")}}},[e._v(" Nee ")])]),r("div",{staticClass:"btn-a btn-a--gray btn-a--bold btn-a--small btn-block cursor-pointer mt-3",on:{click:function(n){return e.setStep("1")}}},[e._v(" Terug ")])]):e._e(),e.currentStep==="1-3"?r("div",[r("p",[e._v(" Omdat je nog geen aantoonbare schadevrije jaren hebt opgebouwd, begin je met 0 schadevrije jaren. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. ")]),r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill btn-block cursor-pointer",on:{click:e.resetClaimFreeYears}},[e._v(" Sluit venster ")])]):e._e(),e.currentStep==="2"?r("div",[r("p",[e._v(" ..schadevrije jaren die je hebt opgebouwd op je motor- of autoverzekering kun je niet tegelijkertijd gebruiken voor je bromfietsverzekering. Wil je ze toch op je bromfietsverzekering gebruiken? Dan komen deze schadevrije jaren te vervallen op je motor- of autoverzekering. "),r("span",{staticClass:"text-primary text-deco-line cursor-pointer",on:{click:function(n){e.collapseOpen=!e.collapseOpen}}},[e._v(" Meer informatie ")]),r("b-collapse",{model:{value:e.collapseOpen,callback:function(n){e.collapseOpen=n},expression:"collapseOpen"}},[r("p",{staticClass:"mb-0"},[e._v(" Je kunt ze daarna nooit meer gebruiken voor een nieuwe motor- of autoverzekering. De korting bij schadevrije jaren op een auto- of motorverzekering is vaak veel hoger dan bij een bromfiets- of scooterverzekering. "),r("span",{staticClass:"font-weight-bold"},[e._v(" Heb je hulp nodig? Bel ons op 035-6857888! ")])])])],1),r("div",{staticClass:"d-flex justify-content-between flex-column"},[r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill cursor-pointer",on:{click:e.resetClaimFreeYears}},[e._v(" Schadevrije jaren "),r("span",{staticClass:"text-deco-line"},[e._v("NIET")]),e._v(" gebruiken ")]),r("div",{staticClass:"btn-a btn-a--primary-outline btn-a--bold flex-fill mt-2 cursor-pointer",on:{click:function(n){return e.setStep("2-1")}}},[e._v(" Schadevrije jaren "),r("span",{staticClass:"text-deco-line"},[e._v("WEL")]),e._v(" gebruiken ")])]),r("div",{staticClass:"btn-a btn-a--gray btn-a--bold btn-a--small btn-block cursor-pointer mt-3",on:{click:function(n){return e.setStep("1-2")}}},[e._v(" Terug ")])]):e._e(),e.currentStep==="2-1"?r("div",[r("p",[e._v(" Selecteer hieronder het aantal schadevrije jaren dat je hebt opgebouwd op een auto- of motorverzekering. Deze kun je dan op je bromfietsverzekering gebruiken. ")]),r("small",{staticClass:"font-weight-bold mb-3 d-block"},[e._v(" Let op! Je kunt ze daarna niet meer op een nieuwe auto- of motorverzekering gebruiken. ")]),r("select",{directives:[{name:"model",rawName:"v-model",value:e.claimFreeYears,expression:"claimFreeYears"}],staticClass:"vd-form-group__input",attrs:{id:"claimFreeYears",name:"claimfreeyears"},on:{change:[function(n){var a=Array.prototype.filter.call(n.target.options,function(i){return i.selected}).map(function(i){var s="_value"in i?i._value:i.value;return s});e.claimFreeYears=n.target.multiple?a:a[0]},e.setClaimFreeYears]}},[r("option",{attrs:{value:"0"}},[e._v(" 0 jaar ")]),e._l(e.maxClaimFreeYears,function(n){return r("option",{key:n,domProps:{value:n}},[e._v(" "+e._s(n)+" jaar ")])})],2),r("div",{staticClass:"d-flex justify-content-between mt-3"},[r("div",{staticClass:"btn-a btn-a--gray btn-a--bold btn-a--small cursor-pointer",on:{click:function(n){return e.setStep("1")}}},[e._v(" Terug ")]),r("div",{staticClass:"btn-a btn-a--success btn-a--small btn-a--bold cursor-pointer",on:{click:e.closeModal}},[e._v(" Opslaan ")])])]):e._e()])],1)},IM=[];Rp._withStripped=!0;var Dp=J(EM,Rp,IM,!1,null,null,null,null);Dp.options.__file="/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/modals/calculateClaimFreeYears.vue";const jp=Dp.exports,YM=b.defineComponent({name:"MopedForm",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,DefaultSelect:Ae,CalculateClaimFreeYears:jp,SimpleCard:lt,BirthdateInput:Ct,ErrorHandler:Be},props:{link:{type:String,required:!1},classes:{required:!1,type:String,default:""},isOnResultPage:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Brommerverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},buttonOptions:{required:!1},userInformation:{required:!1,default(){return{}}},insuranceState:{required:!1,default(){return{}}},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const{HouseInformation:r,vehicle:n,licenseError:a,showLicenseInfo:i,houseError:s,showHouseInformation:c,currentYear:f,isModalOpen:l,minAge:o,maxAge:d,claimFreeYearsErrorData:h,birthDateYear:u,maxClaimFreeYearsOptions:m,maxClaimFreeYears:v,buttonStyles:y,showCatalogValueField:p,showPurchaseValueField:_,maxPurchaseValue:w,errorsData:R,checkClaimFreeYears:q,setClaimFreeYears:he,onLicenseInput:De,onLicenseError:Me,openQuotationModal:Rt,openClaimFreeYearModal:G,closeClaimFreeYearModal:V,validateBeforeSubmit:Ve}=eh(t,e);return{HouseInformation:r,licenseInformation:sr,vehicle:n,licenseError:a,showLicenseInfo:i,houseError:s,showHouseInformation:c,currentYear:f,isModalOpen:l,minAge:o,maxAge:d,claimFreeYearsErrorData:h,birthDateYear:u,maxClaimFreeYearsOptions:m,maxClaimFreeYears:v,buttonStyles:y,showCatalogValueField:p,showPurchaseValueField:_,maxPurchaseValue:w,errorsData:R,checkClaimFreeYears:q,setClaimFreeYears:he,onLicenseInput:De,onLicenseError:Me,openQuotationModal:Rt,openClaimFreeYearModal:G,closeClaimFreeYearModal:V,validateBeforeSubmit:Ve,userInformation:C,mopedState:_e}}});var $p=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes}},[r("form",{ref:"moped-form",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("license-plate",{attrs:{id:"license","vehicle-types":["Moped"],"vehicle-type":"moped","insurance-dutch-naming":"brommer","prop-vehicle-information":e.licenseInformation.moped,name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-vehicle-information-update":n=>e.licenseInformation.moped=n},model:{value:e.mopedState.license,callback:function(n){e.$set(e.mopedState,"license",n)},expression:"mopedState.license"}}),e.showPurchaseValueField?r("div",{staticClass:"vd-form-group"},[r("default-input",{attrs:{id:"purchaseValueForm",validation:`required|min_value:500|max_value:${e.maxPurchaseValue}`,name:"purchaseValueForm",type:"text",mask:"#####",label:"Aankoopbedrag","has-prepend":!0,"prepend-text":"€","vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"purchaseValueForm","errors-data":e.errorsData.purchaseValue}})]},proxy:!0}],null,!1,1454891373),model:{value:e.mopedState.purchaseValue,callback:function(n){e.$set(e.mopedState,"purchaseValue",n)},expression:"mopedState.purchaseValue"}})],1):e._e(),e.showCatalogValueField?r("div",{staticClass:"vd-form-group"},[r("default-input",{attrs:{id:"catalogValueForm",validation:"required|min_value:500|max_value:19999",name:"catalogValueForm",type:"text",mask:"#####",label:"Cataloguswaarde","has-prepend":!0,"prepend-text":"€","vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"catalogValueForm","errors-data":e.errorsData.catalogValue}})]},proxy:!0}],null,!1,2596429485),model:{value:e.mopedState.catalogValue,callback:function(n){e.$set(e.mopedState,"catalogValue",n)},expression:"mopedState.catalogValue"}})],1):e._e(),r("address-handler",{attrs:{"zipcode-name":"zipcode","house-number-name":"housenumber","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition,"vd-form-version":e.vdFormVersion},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}}),r("div",{staticClass:"vd-form-group"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion,"ages-range":{min:e.minAge,max:e.maxAge}},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}})],1),r("div",{staticClass:"vd-form-group"},[r("default-select",{staticClass:"mx-0",attrs:{id:"claimFreeYears",options:e.maxClaimFreeYearsOptions,"no-default-placeholder":!0,name:"claimfreeyears","is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"d-flex flex-no-wrap"},[e._v(" Schadevrije jaren "),r("span",{staticClass:"text-danger ml-1"},[e._v(" *")]),r("popper",{attrs:{options:{placement:"top",modifiers:{offset:{offset:"0,5px"}}},trigger:"hover","visible-arrow":e.vdFormVersion!=="1"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-info-icon":"text-primary mt-1"}),e._v(" Schadevrije jaren ")]),e._v(" Je bouwt alleen schadevrije jaren op als je in de laatste 3 jaar een bromfiets of scooter op jouw naam verzekerd hebt gehad. Schadevrije jaren geven je korting op de premie. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. Schadevrije jaren die ja al op een lopende auto, motor of bromfietsverzekering hebt lopen kun je niet op een tweede voertuig gebruiken. "),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[e._v(" Bereken je schadevrije jaren! ")]):e._e()]),r("i",{staticClass:"fas ml-1",class:e.vdFormVersion==="1"?"fa-info-circle vd-info-icon":"fa-question-circle text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"})])],1)]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"claimFreeYears","errors-data":e.errorsData.claimFreeYears}})]},proxy:!0},{key:"additional-info",fn:function(){return[e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[r("i",{staticClass:"fas fa-question-circle ml-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"}),e._v(" Bereken je schadevrije jaren! ")]):e._e()]},proxy:!0}]),model:{value:e.mopedState.claimFreeYears,callback:function(n){e.$set(e.mopedState,"claimFreeYears",n)},expression:"mopedState.claimFreeYears"}})],1),r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])],1)]),r("calculate-claim-free-years",{attrs:{"is-modal-open":e.isModalOpen,"current-claim-free-years":e.mopedState.claimFreeYears,"max-claim-free-years":e.maxClaimFreeYears},on:{"close-claim-free-years-modal":e.closeClaimFreeYearModal,"set-claim-free-years":e.setClaimFreeYears}})],1)},NM=[];$p._withStripped=!0;var Tp=J(YM,$p,NM,!1,null,null,null,null);Tp.options.__file="/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/MopedForm.vue";const LM=Tp.exports,BM=b.defineComponent({name:"MopedFormHorizontal",components:{LicensePlate:Vr,AddressHandler:Ur,DefaultInput:He,DefaultSelect:Ae,CalculateClaimFreeYears:jp,BirthdateInput:Ct,ErrorHandler:Be},props:{link:{type:String,required:!1},classes:{required:!1,type:String,default:""},isOnResultPage:{type:Boolean,required:!1,default:!1},title:{type:String,required:!1,default:"Brommerverzekering vergelijken"},showTitle:{required:!1,type:Boolean,default:!0},buttonOptions:{required:!1},userInformation:{required:!1},insuranceState:{required:!1},vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{emit:e}){const{HouseInformation:r,vehicle:n,licenseError:a,showLicenseInfo:i,houseError:s,showHouseInformation:c,currentYear:f,isModalOpen:l,minAge:o,maxAge:d,claimFreeYearsErrorData:h,birthDateYear:u,maxClaimFreeYearsOptions:m,maxClaimFreeYears:v,buttonStyles:y,showCatalogValueField:p,showPurchaseValueField:_,maxPurchaseValue:w,errorsData:R,checkClaimFreeYears:q,setClaimFreeYears:he,onLicenseInput:De,onLicenseError:Me,openQuotationModal:Rt,openClaimFreeYearModal:G,closeClaimFreeYearModal:V,validateBeforeSubmit:Ve}=eh(t,e);return{HouseInformation:r,licenseInformation:sr,vehicle:n,licenseError:a,showLicenseInfo:i,houseError:s,showHouseInformation:c,currentYear:f,isModalOpen:l,minAge:o,maxAge:d,claimFreeYearsErrorData:h,birthDateYear:u,maxClaimFreeYearsOptions:m,maxClaimFreeYears:v,buttonStyles:y,showCatalogValueField:p,showPurchaseValueField:_,maxPurchaseValue:w,errorsData:R,checkClaimFreeYears:q,setClaimFreeYears:he,onLicenseInput:De,onLicenseError:Me,openQuotationModal:Rt,openClaimFreeYearModal:G,closeClaimFreeYearModal:V,validateBeforeSubmit:Ve,userInformation:C,mopedState:_e}}});var Fp=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-card vd-form-card--horizontal",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes}},[r("form",{ref:"moped-form",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]),r("div",{staticClass:"vd-form-card__content"},[r("license-plate",{attrs:{id:"license","vehicle-types":["Moped"],"vehicle-type":"moped","insurance-dutch-naming":"brommer","prop-vehicle-information":e.licenseInformation,name:"license","vd-form-version":e.vdFormVersion},on:{input:e.onLicenseInput,"on-error":e.onLicenseError,"on-vehicle-information-update":n=>e.licenseInformation=n},model:{value:e.mopedState.license,callback:function(n){e.$set(e.mopedState,"license",n)},expression:"mopedState.license"}}),r("div",{staticClass:"vd-form-group vd-form-group--address-handler-moped"},[r("address-handler",{attrs:{"zipcode-name":"zipcode",template:"FORM_HORIZONTAL","house-number-name":"housenumber","house-number-addition-name":"housenumberaddition",zipcode:e.userInformation.zipcode,"house-number":e.userInformation.houseNumber,"house-number-addition":e.userInformation.houseNumberAddition},on:{"update-zipcode":n=>e.userInformation.zipcode=n,"update-house-number":n=>e.userInformation.houseNumber=n,"update-house-number-addition":n=>e.userInformation.houseNumberAddition=n,"address-correct":n=>e.houseError=!n}})],1),r("div",{staticClass:"vd-form-group"},[r("birthdate-input",{attrs:{"vd-form-version":e.vdFormVersion,"ages-range":{min:16,max:100}},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}})],1),r("div",{staticClass:"vd-form-group"},[r("default-select",{staticClass:"mx-0",attrs:{id:"claimFreeYears",options:e.maxClaimFreeYearsOptions,"no-default-placeholder":!0,name:"claimfreeyears","is-required":!0,"vd-form-version":e.vdFormVersion},scopedSlots:e._u([{key:"title",fn:function(){return[r("div",{staticClass:"d-flex flex-no-wrap"},[e._v(" Schadevrije jaren "),r("popper",{attrs:{options:{placement:"top",modifiers:{offset:{offset:"0,5px"}}},trigger:"hover"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[e._v(" Schadevrije jaren ")]),e._v(" Je bouwt alleen schadevrije jaren op als je in de laatste 3 jaar een bromfiets of scooter op jouw naam verzekerd hebt gehad. Schadevrije jaren geven je korting op de premie. Elk jaar dat je geen schade claimt, bouw je 1 schadevrij jaar op. Schadevrije jaren die ja al op een lopende auto, motor of bromfietsverzekering hebt lopen kun je niet op een tweede voertuig gebruiken. "),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[e._v(" Bereken je schadevrije jaren! ")]):e._e()]),r("i",{staticClass:"fas ml-1",class:e.vdFormVersion==="1"?"fa-info-circle vd-info-icon":"fa-question-circle text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"})])],1)]},proxy:!0},{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"claimFreeYears","errors-data":e.errorsData.claimFreeYears}})]},proxy:!0}]),model:{value:e.mopedState.claimFreeYears,callback:function(n){e.$set(e.mopedState,"claimFreeYears",n)},expression:"mopedState.claimFreeYears"}}),e.birthDateYear?r("span",{staticClass:"text-primary text-deco-line cursor-pointer",staticStyle:{"font-size":"12px"},on:{click:e.openClaimFreeYearModal}},[e._v(" Bereken je schadevrije jaren! ")]):e._e()],1),r("div",{staticClass:"vd-form-group"},[r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])],1)]),r("calculate-claim-free-years",{attrs:{"is-modal-open":e.isModalOpen,"current-claim-free-years":e.mopedState.claimFreeYears,"max-claim-free-years":e.maxClaimFreeYears},on:{"close-claim-free-years-modal":e.closeClaimFreeYearModal,"set-claim-free-years":e.setClaimFreeYears}})],1)},HM=[];Fp._withStripped=!0;var Ap=J(BM,Fp,HM,!1,null,null,null,null);Ap.options.__file="/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/MopedFormHorizontal.vue";const zM=Ap.exports,Ep=(t,e,r,n)=>{const a=b.getCurrentInstance(),i=b.ref(null),s=b.ref(!1),c=b.ref(!1),f=b.computed(()=>Math.floor(Math.random()*1e3));function l(){return se(this,null,function*(){var v;s.value=!Y.sex;const m=yield fr(["zipcode","breed-value"]);if(!s.value&&m)if(!t.isOnResultPage)(v=a.proxy.$el.querySelector("#search-select-input"))==null||v.setAttribute("name",""),i.value.submit();else{const y={sex:Y.sex,age:Y.age,postcode:Y.postcode,kind:Y.kind,breed:Y.breed};e("submit-form",{petState:y})}})}const o=b.computed(()=>{const m=Y.kind==="dog"?7:11,v=[];for(let y=0;y<=m;y++)v.push({title:`${y} jaar`,value:y});return v}),d=b.computed(()=>Y.raceLists[Y.kind]);function h(m){Y.breed=m}function u(){return se(this,null,function*(){yield r.v1Service.getDog().then(m=>Y.raceLists.dog=m).catch(m=>console.log(m)),yield r.v1Service.getCat().then(m=>Y.raceLists.cat=m).catch(m=>console.log(m))})}return b.onMounted(()=>se(this,null,function*(){var m,v,y,p,_;yield u(),Y.sex=((m=t.insuranceState)==null?void 0:m.sex)||Y.sex,Y.age=+((v=t.insuranceState)==null?void 0:v.age)||Y.age,Y.postcode=((y=t.insuranceState)==null?void 0:y.postcode)||Y.postcode,Y.kind=((p=t.insuranceState)==null?void 0:p.kind)||Y.kind,Y.breed=+((_=t.insuranceState)==null?void 0:_.breed)||Y.breed,t.isOnResultPage||Cr.removeSessionState("pet-storage","pet-path"),c.value=!0})),{petForm:i,genderError:s,validateBeforeSubmit:l,ageOptions:o,raceList:d,setBreedId:h,getRaceLists:u,componentId:f,isReady:c}},Ip=[{title:"Hond",value:"dog"},{title:"Kat",value:"cat"}],Yp=[{text:"Man",value:"m"},{text:"Vrouw",value:"f"}],qM=b.defineComponent({name:"ZipcodeInput",components:{DefaultInput:He},props:{id:{type:String,required:!1,default:"zipcode"},name:{type:String,required:!1,default:"zipcode"},value:{type:String,required:!0},isRequired:{type:Boolean,default:!1},vdFormVersion:{required:!1,type:String,default:"0"}},emits:["input","change"],setup(t,{emit:e}){return{handleChange:a=>{e("change",a.toUpperCase())},handleInput:a=>{e("input",a.toUpperCase())},errors:ce}}});var Np=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("default-input",{attrs:{id:e.id,value:e.value,mask:"####AA","autocomplete-off":!0,placeholder:"bv. 1234AZ",validation:{rules:{required:"required",regex:/^\d{4}(\s|)[a-z]{2}$/i}},type:"text",label:"Postcode",name:e.name,"is-required":e.isRequired,"vd-form-version":e.vdFormVersion},on:{input:e.handleInput,change:e.handleChange}},[r("template",{slot:"error-messages"},[e.errors.has(e.name+":required")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Vul je postcode in ")]):e._e(),e.errors.has(e.name+":regex")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Postcode is incorrect ")]):e._e()])],2)},VM=[];Np._withStripped=!0;var Lp=J(qM,Np,VM,!1,null,null,null,null);Lp.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/ZipcodeInput.vue";const no=Lp.exports,UM=b.defineComponent({name:"SearchableSelect",components:{DefaultInput:He},props:{label:{type:String,required:!1,default:""},name:{type:String,required:!0},value:{type:[Number,String,null]},options:{type:Array,required:!0},placeholder:{type:String,required:!1,default:""},vdFormVersion:{required:!1,type:String,default:"0"}},emits:["input","set-breed"],setup(t,{emit:e}){const r=b.ref(!1);function n(){r.value=!0}function a(){r.value=!1}const i=b.getCurrentInstance();let s=b.ref(""),c=b.ref(!1),f=b.ref("bottom");const l=b.computed(()=>b.getCurrentInstance().proxy.$el.querySelector("#search-select-input")),o=b.computed(()=>t.options.filter(w=>w.name.toLowerCase().indexOf(s.value.toLowerCase())!==-1)),d=b.computed(()=>`search-select-options--${f.value}`),h=()=>{var w;t.value&&(s.value=((w=aC(t.options,"id",t.value))==null?void 0:w.name)||"")},u=()=>{f.value="bottom",b.nextTick(()=>{var w;if(l){const R=window.innerHeight,q=(w=i.proxy.$el.querySelector("#search-select-options"))==null?void 0:w.getBoundingClientRect();if(q){const he=R-(q.height+q.top);f.value=Math.sign(he)===-1?"top":"bottom"}}})},m=()=>{s.value="",e("input",null),b.nextTick(()=>{l.value&&(l.value.focus(),c.value=!0)})},v=(w,R)=>{e("input",w),e("set-breed",w),s.value=R,l.value&&l.value.focus(),p()},y=w=>{w.target.focus(),c.value=!0,f.value="bottom",b.nextTick(()=>{u()})},p=()=>{r.value=!1,c.value=!1},_=w=>{c.value&&w.target.id!=="search-select-remove-icon"&&(w.target.closest("#search-select-wrapper")||p())};return b.onBeforeUnmount(()=>{l.value&&l.value.removeEventListener("focus",y),b.getCurrentInstance().proxy.$root.$el.removeEventListener("click",_)}),b.onMounted(()=>{l.value&&l.value.addEventListener("focus",y),b.getCurrentInstance().proxy.$root.$el.addEventListener("click",_),h()}),{onSelectBlur:a,onOptionMousedown:n,optionDisableValidationBlur:r,searchInput:s,element:l,direction:f,isOptionListOpened:c,filteredOptions:o,optionsListStyle:d,setDirection:u,removeValue:m,setOption:v,onFocusEvent:y,onBlurEvent:p}}});var Bp=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"position-relative",attrs:{id:"search-select-wrapper"}},[r("div",{staticClass:"position-relative"},[r("default-input",{staticClass:"mb-0 mx-0",attrs:{id:"search-select-input",type:"text",name:e.name,"hide-label":!0,"autocomplete-off":!0,placeholder:e.placeholder,"remove-check-mark":!0,"option-disable-validation-blur":e.optionDisableValidationBlur,"vd-form-version":e.vdFormVersion},on:{input:e.setDirection,blur:e.onSelectBlur},model:{value:e.searchInput,callback:function(n){e.searchInput=n},expression:"searchInput"}},[e.isOptionListOpened?e._e():r("template",{slot:"error-messages"},[e._t("default")],2)],2),e.searchInput?r("div",{staticClass:"position-absolute search-select-remove",attrs:{id:"search-select-remove"}},[e.vdFormVersion==="1"?r("button",{staticClass:"icon cursor-pointer",attrs:{id:"search-select-remove-icon"},on:{click:e.removeValue}},[e._v("×")]):r("i",{staticClass:"icon fas fa-times-circle text-danger cursor-pointer",attrs:{id:"search-select-remove-icon"},on:{click:e.removeValue}})]):e._e(),e.searchInput?e._e():r("label",{staticClass:"vd-form-group__select-icon cursor-pointer",on:{click:function(n){return e.element.focus()}}})],1),e.isOptionListOpened?r("div",{staticClass:"search-select-options",class:e.optionsListStyle,attrs:{id:"search-select-options"}},e._l(e.filteredOptions,function(n){return r("div",{key:n.id,staticClass:"search-select-options__item",on:{mousedown:e.onOptionMousedown,click:function(a){return e.setOption(n.id,n.name)}}},[e._v(" "+e._s(n.name)+" ")])}),0):e._e()])},WM=[];Bp._withStripped=!0;var Hp=J(UM,Bp,WM,!1,null,null,null,null);Hp.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/SearchableSelect.vue";const zp=Hp.exports,GM=b.defineComponent({name:"PetForm",components:{SimpleCard:lt,DefaultSelect:Ae,ZipcodeInput:no,SearchableSelect:zp,BFormRadioGroup:eo,ErrorHandler:Be},props:{link:{type:String,required:!0},fitSidebar:{type:Boolean,default:!1},title:{type:String,default:"Dierenverzekering vergelijken"},showTitle:{type:Boolean,default:!0},isOnResultPage:{type:Boolean},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{petForm:r,genderError:n,validateBeforeSubmit:a,ageOptions:i,raceList:s,setBreedId:c,getRaceLists:f,componentId:l,isReady:o}=Ep(t,e,Fe);return{petState:Y,petForm:r,genderError:n,validateBeforeSubmit:a,ageOptions:i,raceList:s,setBreedId:c,getRaceLists:f,petKinds:Ip,petGenders:Yp,errors:ce,componentId:l,isReady:o}}});var qp=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes,"vd-form-card--fit":e.fitSidebar},attrs:{"has-new-style":!0}},[r("form",{ref:"petForm",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"kind"+e.componentId}},[e._v(" Soort huisdier ")]),r("default-select",{attrs:{id:"kind"+e.componentId,options:e.petKinds,"data-vv-name":"kind"+e.componentId,"no-default-placeholder":!0,name:"kind","vd-form-version":e.vdFormVersion},on:{input:function(n){return e.setBreedId(1)}},model:{value:e.petState.kind,callback:function(n){e.$set(e.petState,"kind",n)},expression:"petState.kind"}})],1),r("div",{staticClass:"vd-form-group vd-radio-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"sex"+e.componentId}},[e._v(" Geslacht ")]),r("b-form-radio-group",{staticClass:"vd-radio-buttons",attrs:{options:e.petGenders,"data-vv-name":"sex"+e.componentId,name:"sex"},model:{value:e.petState.sex,callback:function(n){e.$set(e.petState,"sex",n)},expression:"petState.sex"}}),r("ErrorHandler",{attrs:{"errors-data":[{rule:e.genderError,text:"Geslacht is verplicht"}]}})],1),r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"age"+e.componentId}},[e._v(" Leeftijd ")]),r("default-select",{attrs:{id:"age"+e.componentId,options:e.ageOptions,"data-vv-name":"age"+e.componentId,"no-default-placeholder":!0,name:"age","vd-form-version":e.vdFormVersion},model:{value:e.petState.age,callback:function(n){e.$set(e.petState,"age",n)},expression:"petState.age"}})],1),r("div",{staticClass:"vd-form-group"},[r("zipcode-input",{attrs:{id:"postcode"+e.componentId,name:"zipcode","is-required":"","vd-form-version":e.vdFormVersion},model:{value:e.petState.postcode,callback:function(n){e.$set(e.petState,"postcode",n)},expression:"petState.postcode"}})],1),r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label"},[e._v(" Ras "),r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v("*")])]),r("searchable-select",{key:e.petState.kind,attrs:{name:"breed-value",placeholder:"Typ of selecteer",label:"Ras",options:e.raceList,"vd-form-version":e.vdFormVersion},on:{change:e.setBreedId},model:{value:e.petState.breed,callback:function(n){e.$set(e.petState,"breed",n)},expression:"petState.breed"}}),r("ErrorHandler",{attrs:{name:"breed-value","errors-data":[{rule:"required",text:"Selecteer een ras"}]}}),r("input",{directives:[{name:"model",rawName:"v-model",value:e.petState.breed,expression:"petState.breed"}],attrs:{type:"hidden",name:"breed"},domProps:{value:e.petState.breed},on:{input:function(n){n.target.composing||e.$set(e.petState,"breed",n.target.value)}}}),e.vdFormVersion==="1"?r("span",{staticClass:"text-primary text-deco-line d-flex mt-1",staticStyle:{"font-size":"12px"}},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"}),r("span",[e._v("Geen rashond of kruising? Selecteer dan het ras waar deze het meeste op lijkt.")])]):r("div",{staticClass:"d-flex justify-content-end"},[r("div",{staticClass:"text-deco-line fz-small mt-2 cursor-pointer",attrs:{id:"race"+e.componentId}},[r("popper",{attrs:{options:{placement:"right",modifiers:{offset:{offset:"0,10px"}}},trigger:"hover"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[e._v(" Ras onbekend? ")]),e._v(" Heb je geen "+e._s(e.petState.kind==="dog"?"rashond":"raskat")+" of heb je een kruising? Selecteer dan het ras waar "+e._s(e.petState.sex==="m"?"hij":"zij")+" het meest op lijkt! ")]),r("div",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Ras onbekend? "),r("i",{staticClass:"fas fa-question-circle fz-big text-primary cursor-pointer",attrs:{id:"race"+e.componentId}})])])],1)])],1),r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])])]):e._e()},ZM=[];qp._withStripped=!0;var Vp=J(GM,qp,ZM,!1,null,null,null,null);Vp.options.__file="/Users/mac/Work/comparison-forms/src/insurances/pet/components/forms/PetForm.vue";const XM=Vp.exports,JM=b.defineComponent({name:"PetFormHorizontal",components:{SimpleCard:lt,DefaultSelect:Ae,ZipcodeInput:no,SearchableSelect:zp,BFormRadioGroup:eo,ErrorHandler:Be},props:{link:{type:String,required:!0},title:{type:String,default:"Dierenverzekering vergelijken"},showTitle:{type:Boolean,default:!0},isOnResultPage:{type:Boolean},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{petForm:r,genderError:n,validateBeforeSubmit:a,ageOptions:i,raceList:s,setBreedId:c,getRaceLists:f,componentId:l,isReady:o}=Ep(t,e,Fe);return{petState:Y,petForm:r,genderError:n,validateBeforeSubmit:a,ageOptions:i,raceList:s,setBreedId:c,getRaceLists:f,petKinds:Ip,petGenders:Yp,errors:ce,componentId:l,isReady:o}}});var Up=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card vd-form-card--horizontal",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes},attrs:{"has-new-style":!0}},[r("form",{ref:"pet-form",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"kind"+e.componentId}},[e._v(" Soort huisdier ")]),r("default-select",{staticClass:"mx-0",attrs:{id:"kind"+e.componentId,options:e.petKinds,"no-default-placeholder":!0,name:"kind","vd-form-version":e.vdFormVersion},on:{input:function(n){return e.setBreedId(2)}},model:{value:e.petState.kind,callback:function(n){e.$set(e.petState,"kind",n)},expression:"petState.kind"}})],1),r("div",{staticClass:"vd-form-group vd-radio-group d-flex flex-column"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"claimFreeYears"}},[e._v(" Geslacht ")]),r("div",{staticClass:"align-self-stretch"},[r("b-form-radio-group",{staticClass:"vd-radio-buttons mt-2",attrs:{options:e.petGenders,name:"sex"},model:{value:e.petState.sex,callback:function(n){e.$set(e.petState,"sex",n)},expression:"petState.sex"}})],1)]),r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"age"+e.componentId}},[e._v(" Leeftijd ")]),r("default-select",{staticClass:"mx-0",attrs:{id:"age"+e.componentId,options:e.ageOptions,"no-default-placeholder":!0,name:"age","vd-form-version":e.vdFormVersion},model:{value:e.petState.age,callback:function(n){e.$set(e.petState,"age",n)},expression:"petState.age"}})],1),r("div",{staticClass:"vd-form-group"},[r("zipcode-input",{staticClass:"m-0",attrs:{id:"postcode"+e.componentId,name:"zipcode","is-required":"","vd-form-version":e.vdFormVersion},model:{value:e.petState.postcode,callback:function(n){e.$set(e.petState,"postcode",n)},expression:"petState.postcode"}})],1),r("div",{staticClass:"vd-form-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"search-select-input"}},[e._v(" Ras "),r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v("*")])]),r("searchable-select",{key:e.petState.kind,attrs:{name:"breed-value",placeholder:"Typ of selecteer",label:"Ras",options:e.raceList,"vd-form-version":e.vdFormVersion},on:{change:e.setBreedId},model:{value:e.petState.breed,callback:function(n){e.$set(e.petState,"breed",n)},expression:"petState.breed"}},[r("ErrorHandler",{attrs:{name:"breed-value","errors-data":[{rule:"required",text:"Selecteer een ras"}]}})],1),r("input",{directives:[{name:"model",rawName:"v-model",value:e.petState.breed,expression:"petState.breed"}],attrs:{type:"hidden",name:"breed"},domProps:{value:e.petState.breed},on:{input:function(n){n.target.composing||e.$set(e.petState,"breed",n.target.value)}}}),e.vdFormVersion==="1"?r("span",{staticClass:"text-primary text-deco-line d-flex mt-1",staticStyle:{"font-size":"12px"}},[r("i",{staticClass:"fas fa-info-circle mr-1",class:e.vdFormVersion==="1"?"vd-tip-icon":"text-primary fz-big cursor-pointer",attrs:{slot:"reference",id:"popover-target-claimfreeyears"},slot:"reference"}),r("span",[e._v("Geen rashond of kruising? Selecteer dan het ras waar deze het meeste op lijkt.")])]):r("div",{staticClass:"d-flex justify-content-end"},[r("div",{staticClass:"text-deco-line fz-small mt-2 cursor-pointer",attrs:{id:"race"+e.componentId}},[r("popper",{attrs:{options:{placement:"auto",modifiers:{offset:{offset:"0,10px"}}},trigger:"hover"}},[r("div",{staticClass:"popover popper vd-popover"},[r("div",{staticClass:"popover-header vd-popover-header"},[e._v(" Ras onbekend? ")]),e._v(" Heb je geen "+e._s(e.petState.kind==="dog"?"rashond":"raskat")+" of heb je een kruising? Selecteer dan het ras waar "+e._s(e.petState.sex==="m"?"hij":"zij")+" het meest op lijkt! ")]),r("div",{attrs:{slot:"reference"},slot:"reference"},[e._v(" Ras onbekend? "),r("i",{staticClass:"fas fa-question-circle fz-big text-primary cursor-pointer",attrs:{id:"race"+e.componentId}})])])],1)])],1),r("div",{staticClass:"vd-form-group mb-0"},[r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])])])]):e._e()},QM=[];Up._withStripped=!0;var Wp=J(JM,Up,QM,!1,null,null,null,null);Wp.options.__file="/Users/mac/Work/comparison-forms/src/insurances/pet/components/forms/PetFormHorizontal.vue";const KM=Wp.exports,Gp=(t,e)=>{b.getCurrentInstance();const r=b.ref(null),n=b.ref(!1),a=b.ref(null),i="####",s=!0,c="€";function f(u){a.value=u===null}function l(){return se(this,null,function*(){const u=yield fr(["kind","zipcode","price"]);f(mt.condition),u&&!a.value&&(t.isOnResultPage?e("submit-form",mt):r.value.submit())})}function o(u,m){Object.keys(m).length!==0&&Object.keys(m).forEach(v=>{typeof u[v]!="undefined"&&(u[v]=v==="price"?d(m[v]):m[v],u[v]&&pC({[v]:u[v]}))})}function d(u){const m=parseInt(u);return isNaN(m)?u:m.toString()}function h(){const u=rr();o(mt,u)}return b.onMounted(()=>{t.isOnResultPage?o(mt,t.insuranceState):(h(),Cr.removeSessionState("bike-storage","bike-path")),n.value=!0}),{validateBeforeSubmit:l,checkCondition:f,conditionError:a,maxPriceLength:i,hasPricePrepend:s,prependText:c,isReady:n,bikeFormRef:r}},Zp=[{value:1,title:"E-Bike",name:"E-Bike",isEBike:!0},{value:2,title:"Fiets",name:"Fiets",isEBike:!1},{value:3,title:"Racefiets",name:"Racefiets",isEBike:!1},{value:4,title:"ATB / Mountainbike",name:"Mountainbike",isEBike:!1},{value:5,title:"Ligfiets",name:"Ligfiets",isEBike:!1},{value:6,title:"Bakfiets",name:"Bakfiets",isEBike:!1},{value:7,title:"Elektrische bakfiets",name:"Elektrische bakfiets",isEBike:!0},{value:8,title:"Elektrische ATB / mountainbike",name:"Elektrische ATB / mountainbike",isEBike:!0},{value:9,title:"Kinderfiets",name:"Kinderfiets",isEBike:!1},{value:10,title:"Vouwfiets",name:"Vouwfiets",isEBike:!1}],Xp=[{value:1,label:"Nieuw"},{value:0,label:"Tweedehands"}],eP=b.defineComponent({name:"BikeForm",components:{SimpleCard:lt,DefaultSelect:Ae,DefaultInput:He,ZipcodeInput:no,BFormRadioGroup:eo,BirthdateInput:Ct,ErrorHandler:Be},props:{link:{type:String,required:!0},isOnResultPage:{type:Boolean,default:!1},title:{type:String,default:"Fietsverzekering vergelijken"},showTitle:{type:Boolean,default:!0},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{validateBeforeSubmit:r,checkCondition:n,conditionError:a,maxPriceLength:i,hasPricePrepend:s,prependText:c,isReady:f,bikeFormRef:l}=Gp(t,e);return{bikeState:mt,validateBeforeSubmit:r,checkCondition:n,conditionError:a,maxPriceLength:i,hasPricePrepend:s,prependText:c,bikeKinds:Zp,bikeConditions:Xp,errors:ce,isReady:f,bikeFormRef:l}}});var Jp=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes},attrs:{"has-new-style":!0}},[r("form",{ref:"bikeFormRef",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("div",{staticClass:"vd-form-group"},[r("default-select",{attrs:{id:"kind",label:"Soort fiets",name:"kind",placeholder:"Selecteer je fiets",options:e.bikeKinds,"vd-form-version":e.vdFormVersion,"is-required":""},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"kind","errors-data":[{rule:"required",text:"Selecteer je fiets"}]}})]},proxy:!0}],null,!1,40251816),model:{value:e.bikeState.kind,callback:function(n){e.$set(e.bikeState,"kind",e._n(n))},expression:"bikeState.kind"}})],1),r("div",{staticClass:"vd-form-group"},[r("zipcode-input",{attrs:{"vd-form-version":e.vdFormVersion,"is-required":""},model:{value:e.bikeState.zipcode,callback:function(n){e.$set(e.bikeState,"zipcode",n)},expression:"bikeState.zipcode"}})],1),r("div",{staticClass:"vd-form-group vd-radio-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"condition"}},[e._v(" Gekocht als "),r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v("*")])]),r("b-form-radio-group",{staticClass:"vd-radio-buttons",attrs:{options:e.bikeConditions,"text-field":"label",name:"condition"},on:{change:e.checkCondition},model:{value:e.bikeState.condition,callback:function(n){e.$set(e.bikeState,"condition",n)},expression:"bikeState.condition"}}),r("ErrorHandler",{attrs:{"errors-data":[{rule:e.conditionError,text:"Is je fiets nieuw of tweedehands gekocht?"}]}})],1),r("div",{staticClass:"vd-form-group"},[r("default-input",{attrs:{id:"price",mask:e.maxPriceLength,"has-prepend":e.hasPricePrepend,"prepend-text":e.prependText,"vd-form-version":e.vdFormVersion,name:"price",label:"Aankoopprijs",placeholder:"Bedrag van fiets",type:"text","is-required":""},model:{value:e.bikeState.price,callback:function(n){e.$set(e.bikeState,"price",n)},expression:"bikeState.price"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:"price","errors-data":[{rule:"required",text:"Vul de aankoopprijs in (afgerond bedrag)"}]}})],1)],2)],1),r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])])]):e._e()},tP=[];Jp._withStripped=!0;var Qp=J(eP,Jp,tP,!1,null,null,null,null);Qp.options.__file="/Users/mac/Work/comparison-forms/src/insurances/bike/components/forms/BikeForm.vue";const rP=Qp.exports,nP=b.defineComponent({name:"BikeFormHorizontal",components:{SimpleCard:lt,DefaultSelect:Ae,DefaultInput:He,ZipcodeInput:no,BFormRadioGroup:eo,BirthdateInput:Ct,ErrorHandler:Be},props:{link:{type:String,required:!0},isOnResultPage:{type:Boolean,default:!1},title:{type:String,default:"Fietsverzekering vergelijken"},showTitle:{type:Boolean,default:!0},userInformation:{required:!1},insuranceState:{required:!1},classes:{type:String},vdFormVersion:{type:String,default:"0"}},setup(t,{emit:e}){const{validateBeforeSubmit:r,checkCondition:n,conditionError:a,maxPriceLength:i,hasPricePrepend:s,prependText:c,isReady:f,bikeFormRef:l}=Gp(t,e);return{bikeState:mt,validateBeforeSubmit:r,checkCondition:n,conditionError:a,maxPriceLength:i,hasPricePrepend:s,prependText:c,bikeKinds:Zp,bikeConditions:Xp,errors:ce,isReady:f,bikeFormRef:l}}});var Kp=function(){var e=this,r=e._self._c;return e._self._setupProxy,e.isReady?r("simple-card",{staticClass:"vd-form-card vd-form-card--horizontal",class:{"vd-new-form":e.vdFormVersion==="1",[e.classes]:!!e.classes},attrs:{"has-new-style":!0}},[r("form",{ref:"bikeFormRef",attrs:{action:e.link,method:"GET"},on:{submit:function(n){return n.preventDefault(),e.validateBeforeSubmit.apply(null,arguments)}}},[e.showTitle?r("p",{staticClass:"vd-form-card__title"},[e._v(" "+e._s(e.title)+" ")]):e._e(),r("div",{staticClass:"vd-form-card__content"},[r("div",{staticClass:"vd-form-group"},[r("default-select",{staticClass:"mx-0",attrs:{id:"kind",label:"Soort fiets",name:"kind",placeholder:"Selecteer je fiets",options:e.bikeKinds,"vd-form-version":e.vdFormVersion,"is-required":""},scopedSlots:e._u([{key:"error-messages",fn:function(){return[r("ErrorHandler",{attrs:{name:"kind","errors-data":[{rule:"required",text:"Selecteer je fiets"}]}})]},proxy:!0}],null,!1,40251816),model:{value:e.bikeState.kind,callback:function(n){e.$set(e.bikeState,"kind",e._n(n))},expression:"bikeState.kind"}})],1),r("div",{staticClass:"vd-form-group"},[r("zipcode-input",{staticClass:"m-0",attrs:{"vd-form-version":e.vdFormVersion,"is-required":""},model:{value:e.bikeState.zipcode,callback:function(n){e.$set(e.bikeState,"zipcode",n)},expression:"bikeState.zipcode"}})],1),r("div",{staticClass:"vd-form-group vd-radio-group"},[r("label",{staticClass:"vd-form-group__label",attrs:{for:"condition"}},[e._v(" Gekocht als "),r("span",{staticClass:"text-danger mr-3 mt-2"},[e._v("*")])]),r("b-form-radio-group",{staticClass:"vd-radio-buttons mt-md-3 mt-xl-0",attrs:{options:e.bikeConditions,"text-field":"label",name:"condition"},on:{change:e.checkCondition},model:{value:e.bikeState.condition,callback:function(n){e.$set(e.bikeState,"condition",n)},expression:"bikeState.condition"}}),r("ErrorHandler",{attrs:{"errors-data":[{rule:e.conditionError,text:"Is je fiets nieuw of tweedehands gekocht?"}]}})],1),r("div",{staticClass:"vd-form-group"},[r("default-input",{staticClass:"m-0",attrs:{id:"price",mask:e.maxPriceLength,"has-prepend":e.hasPricePrepend,"prepend-text":e.prependText,name:"price",label:"Aankoopprijs",placeholder:"1234",type:"text","is-required":""},model:{value:e.bikeState.price,callback:function(n){e.$set(e.bikeState,"price",n)},expression:"bikeState.price"}},[r("template",{slot:"error-messages"},[r("ErrorHandler",{attrs:{name:"price","errors-data":[{rule:"required",text:"Vul de aankoopprijs in (afgerond bedrag)"}]}})],1)],2)],1),r("div",{staticClass:"vd-form-group mb-0"},[r("button",{class:e.vdFormVersion==="1"?"vd-btn vd-btn-green vd-btn-w-100":"btn-a btn-a--success btn-a--bold btn-block cursor-pointer"},[e._v(" Vergelijken ")])])])])]):e._e()},aP=[];Kp._withStripped=!0;var em=J(nP,Kp,aP,!1,null,null,null,null);em.options.__file="/Users/mac/Work/comparison-forms/src/insurances/bike/components/forms/BikeFormHorizontal.vue";const iP=em.exports,oP=b.defineComponent({name:"EmbeddedApp",components:{MotorForm:Ik,MotorFormHorizontal:Lk,CreateLoanComparisonForm:eC,UpdateLoanComparisonForm:nC,CarForm:lC,CarFormHorizontal:dC,MopedForm:LM,MopedFormHorizontal:zM,PetForm:XM,PetFormHorizontal:KM,BikeForm:rP,BikeFormHorizontal:iP},props:{formComponent:{required:!0,type:String},link:{required:!1,type:String},vdFormVersion:{required:!1,type:String,default:"0"},userInformation:{required:!1,default(){return{}}},insuranceState:{required:!1,default(){return{}}},isOnResultPage:{type:Boolean,required:!1,default:!1},isOnCoveragePage:{type:Boolean,required:!1,default:!1},classes:{required:!1,type:String,default:""},baseUrl:{type:String,required:!1},title:{required:!1,type:String},showTitle:{required:!1,type:Boolean,default:!0},formOrientation:{required:!1,type:String,default:Fn.Vertical,validator:Nf},comparison:{required:!1}},setup(t,{emit:e}){const r=i=>{e("change",i)},n=i=>{e("emit-event",i)},a=({link:i,data:s=null})=>{if(!s){window.location.href=i;return}const c=Xf(i,s);window.location.href=c};return _k(b.inject("ITC")),cg(b.inject("$validator")),{submitFormData:r,emitEventHub:n,redirectPage:a}}});var tm=function(){var e=this,r=e._self._c;return e._self._setupProxy,r(e.formComponent,{tag:"component",attrs:{link:e.link,"base-url":e.baseUrl,"vd-form-version":e.vdFormVersion,"user-information":e.userInformation,"insurance-state":e.insuranceState,"is-on-result-page":e.isOnResultPage,"is-on-coverage-page":e.isOnCoveragePage,classes:e.classes,title:e.title,showTitle:e.showTitle,"form-orientation":e.formOrientation,comparison:e.comparison},on:{"submit-form":e.submitFormData,"emit-event-hub":e.emitEventHub,"redirect-page":e.redirectPage}})},sP=[];tm._withStripped=!0;var rm=J(oP,tm,sP,!1,null,null,null,null);rm.options.__file="/Users/mac/Work/comparison-forms/src/core/Embedded.vue";const lP=rm.exports;return{install(t){t.component("embedded-comparison-forms",lP)}}});
|