@vergelijkdirect/comparison-forms 1.0.134 → 1.0.136
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 +7057 -5157
- package/dist-rollup/comparison-forms.umd.cjs +17 -16
- package/dist-rollup/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
(function(b,
|
|
1
|
+
(function(b,Z){typeof exports=="object"&&typeof module!="undefined"?module.exports=Z(require("vue")):typeof define=="function"&&define.amd?define(["vue"],Z):(b=typeof globalThis!="undefined"?globalThis:b||self,b.ComparisonForm=Z(b.Vue))})(this,function(b){"use strict";var IM=Object.defineProperty;var Vi=Object.getOwnPropertySymbols;var sm=Object.prototype.hasOwnProperty,um=Object.prototype.propertyIsEnumerable;var ku=(b,Z,te)=>Z in b?IM(b,Z,{enumerable:!0,configurable:!0,writable:!0,value:te}):b[Z]=te,Zr=(b,Z)=>{for(var te in Z||(Z={}))sm.call(Z,te)&&ku(b,te,Z[te]);if(Vi)for(var te of Vi(Z))um.call(Z,te)&&ku(b,te,Z[te]);return b};var lm=(b,Z)=>{var te={};for(var C in b)sm.call(b,C)&&Z.indexOf(C)<0&&(te[C]=b[C]);if(b!=null&&Vi)for(var C of Vi(b))Z.indexOf(C)<0&&um.call(b,C)&&(te[C]=b[C]);return te};var ae=(b,Z,te)=>(ku(b,typeof Z!="symbol"?Z+"":Z,te),te);var he=(b,Z,te)=>new Promise((C,_e)=>{var me=Me=>{try{ye(te.next(Me))}catch(Wt){_e(Wt)}},ot=Me=>{try{ye(te.throw(Me))}catch(Wt){_e(Wt)}},ye=Me=>Me.done?C(Me.value):Promise.resolve(Me.value).then(me,ot);ye((te=te.apply(b,Z)).next())});function Z(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 te=[{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:""}}),_e=b.reactive({license:"",kilometrage:6e3,claimFreeYears:"0"}),me=b.reactive({license:"",oldLicense:"",kilometrage:6e3,claimFreeYears:"0",catalogValue:"",purchaseValue:""}),ot=b.reactive({loanPurpose:null,loanAmount:null}),ye=b.reactive({LicensePlate:"",Brand:"",Model:"",Type:"",RegularDriver:"1",ManufacturingYear:"",VehicleType:"",BrandLogo:"",DayValue:null,CatalogValue:null,CarAlarmRequirement:"",TheftProtectionClass:""}),Me=b.reactive({moped:{},motor:{}}),Wt={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])
|
|
6
|
+
var Cu;function k(){return Cu.apply(null,arguments)}function cm(t){Cu=t}function Ge(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function er(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function I(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Wi(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(I(t,e))return!1;return!0}function Re(t){return t===void 0}function wt(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function Xr(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Mu(t,e){var r=[],n;for(n=0;n<t.length;++n)r.push(e(t[n],n));return r}function Ut(t,e){for(var r in e)I(e,r)&&(t[r]=e[r]);return I(e,"toString")&&(t.toString=e.toString),I(e,"valueOf")&&(t.valueOf=e.valueOf),t}function st(t,e,r,n){return Qu(t,e,r,n,!0).utc()}function dm(){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=dm()),t._pf}var Ui;Array.prototype.some?Ui=Array.prototype.some:Ui=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 zi(t){if(t._isValid==null){var e=T(t),r=Ui.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 Ln(t){var e=st(NaN);return t!=null?Ut(T(e),t):T(e).userInvalidated=!0,e}var qi=k.momentProperties=[],Gi=!1;function Zi(t,e){var r,n,a;if(Re(e._isAMomentObject)||(t._isAMomentObject=e._isAMomentObject),Re(e._i)||(t._i=e._i),Re(e._f)||(t._f=e._f),Re(e._l)||(t._l=e._l),Re(e._strict)||(t._strict=e._strict),Re(e._tzm)||(t._tzm=e._tzm),Re(e._isUTC)||(t._isUTC=e._isUTC),Re(e._offset)||(t._offset=e._offset),Re(e._pf)||(t._pf=T(e)),Re(e._locale)||(t._locale=e._locale),qi.length>0)for(r=0;r<qi.length;r++)n=qi[r],a=e[n],Re(a)||(t[n]=a);return t}function Jr(t){Zi(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Gi===!1&&(Gi=!0,k.updateOffset(this),Gi=!1)}function Ze(t){return t instanceof Jr||t!=null&&t._isAMomentObject!=null}function Pu(t){k.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+t)}function Le(t,e){var r=!0;return Ut(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])I(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}Pu(t+`
|
|
8
8
|
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
9
|
-
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var Ps={};function Rs(t,e){O.deprecationHandler!=null&&O.deprecationHandler(t,e),Ps[t]||(xs(e),Ps[t]=!0)}O.suppressDeprecationWarnings=!1,O.deprecationHandler=null;function Ke(t){return typeof Function!="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function Df(t){var e,r;for(r in t)E(t,r)&&(e=t[r],Ke(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 Qa(t,e){var r=Rt({},t),n;for(n in e)E(e,n)&&(Nt(t[n])&&Nt(e[n])?(r[n]={},Rt(r[n],t[n]),Rt(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)E(t,n)&&!E(e,n)&&Nt(t[n])&&(r[n]=Rt({},r[n]));return r}function Ka(t){t!=null&&this.set(t)}var ei;Object.keys?ei=Object.keys:ei=function(t){var e,r=[];for(e in t)E(t,e)&&r.push(e);return r};var jf={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function $f(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return Ke(n)?n.call(e,r):n}function et(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 ti=/(\[[^\[]*\])|(\\)?([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,Qr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,ri={},Zt={};function R(t,e,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),t&&(Zt[t]=a),e&&(Zt[e[0]]=function(){return et(a.apply(this,arguments),e[1],e[2])}),r&&(Zt[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function Tf(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function Yf(t){var e=t.match(ti),r,n;for(r=0,n=e.length;r<n;r++)Zt[e[r]]?e[r]=Zt[e[r]]:e[r]=Tf(e[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=Ke(e[s])?e[s].call(a,t):e[s];return i}}function Kr(t,e){return t.isValid()?(e=Ds(e,t.localeData()),ri[e]=ri[e]||Yf(e),ri[e](t)):t.localeData().invalidDate()}function Ds(t,e){var r=5;function n(a){return e.longDateFormat(a)||a}for(Qr.lastIndex=0;r>=0&&Qr.test(t);)t=t.replace(Qr,n),Qr.lastIndex=0,r-=1;return t}var Af={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 If(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(ti).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var Ff="Invalid date";function Nf(){return this._invalidDate}var Ef="%d",Lf=/\d{1,2}/;function Hf(t){return this._ordinal.replace("%d",t)}var qf={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 Uf(t,e,r,n){var a=this._relativeTime[r];return Ke(a)?a(t,e,r,n):a.replace(/%d/i,t)}function Wf(t,e){var r=this._relativeTime[t>0?"future":"past"];return Ke(r)?r(e):r.replace(/%s/i,e)}var Sr={};function _e(t,e){var r=t.toLowerCase();Sr[r]=Sr[r+"s"]=Sr[e]=t}function Ae(t){return typeof t=="string"?Sr[t]||Sr[t.toLowerCase()]:void 0}function ni(t){var e={},r,n;for(n in t)E(t,n)&&(r=Ae(n),r&&(e[r]=t[n]));return e}var js={};function ye(t,e){js[t]=e}function Vf(t){var e=[],r;for(r in t)E(t,r)&&e.push({unit:r,priority:js[r]});return e.sort(function(n,a){return n.priority-a.priority}),e}function en(t){return t%4===0&&t%100!==0||t%400===0}function Ie(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function Y(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=Ie(e)),r}function Jt(t,e){return function(r){return r!=null?($s(this,t,r),O.updateOffset(this,e),this):tn(this,t)}}function tn(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function $s(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&en(t.year())&&t.month()===1&&t.date()===29?(r=Y(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),ln(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function zf(t){return t=Ae(t),Ke(this[t])?this[t]():this}function Bf(t,e){if(typeof t=="object"){t=ni(t);var r=Vf(t),n;for(n=0;n<r.length;n++)this[r[n].unit](t[r[n].unit])}else if(t=Ae(t),Ke(this[t]))return this[t](e);return this}var Ts=/\d/,De=/\d\d/,Ys=/\d{3}/,ai=/\d{4}/,rn=/[+-]?\d{6}/,Q=/\d\d?/,As=/\d\d\d\d?/,Is=/\d\d\d\d\d\d?/,nn=/\d{1,3}/,ii=/\d{1,4}/,an=/[+-]?\d{1,6}/,Xt=/\d+/,on=/[+-]?\d+/,Gf=/Z|[+-]\d\d:?\d\d/gi,sn=/Z|[+-]\d\d(?::?\d\d)?/gi,Zf=/[+-]?\d+(\.\d{1,3})?/,kr=/[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,un;un={};function M(t,e,r){un[t]=Ke(e)?e:function(n,a){return n&&r?r:e}}function Jf(t,e){return E(un,t)?un[t](e._strict,e._locale):new RegExp(Xf(t))}function Xf(t){return je(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,a,i){return r||n||a||i}))}function je(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var oi={};function B(t,e){var r,n=e;for(typeof t=="string"&&(t=[t]),lt(e)&&(n=function(a,i){i[e]=Y(a)}),r=0;r<t.length;r++)oi[t[r]]=n}function Or(t,e){B(t,function(r,n,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function Qf(t,e,r){e!=null&&E(oi,t)&&oi[t](e,r._a,r,t)}var ge=0,ct=1,tt=2,de=3,qe=4,dt=5,Et=6,Kf=7,eh=8;function th(t,e){return(t%e+e)%e}var oe;Array.prototype.indexOf?oe=Array.prototype.indexOf:oe=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function ln(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=th(e,12);return t+=(e-r)/12,r===1?en(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)}),_e("month","M"),ye("month",8),M("M",Q),M("MM",Q,De),M("MMM",function(t,e){return e.monthsShortRegex(t)}),M("MMMM",function(t,e){return e.monthsRegex(t)}),B(["M","MM"],function(t,e){e[ct]=Y(t)-1}),B(["MMM","MMMM"],function(t,e,r,n){var a=r._locale.monthsParse(t,n,r._strict);a!=null?e[ct]=a:$(r).invalidMonth=t});var rh="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Fs="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Ns=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,nh=kr,ah=kr;function ih(t,e){return t?Le(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Ns).test(e)?"format":"standalone"][t.month()]:Le(this._months)?this._months:this._months.standalone}function oh(t,e){return t?Le(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Ns.test(e)?"format":"standalone"][t.month()]:Le(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function sh(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=Qe([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=oe.call(this._shortMonthsParse,s),a!==-1?a:null):(a=oe.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=oe.call(this._shortMonthsParse,s),a!==-1?a:(a=oe.call(this._longMonthsParse,s),a!==-1?a:null)):(a=oe.call(this._longMonthsParse,s),a!==-1?a:(a=oe.call(this._shortMonthsParse,s),a!==-1?a:null))}function uh(t,e,r){var n,a,i;if(this._monthsParseExact)return sh.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=Qe([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 Es(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=Y(e);else if(e=t.localeData().monthsParse(e),!lt(e))return t}return r=Math.min(t.date(),ln(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function Ls(t){return t!=null?(Es(this,t),O.updateOffset(this,!0),this):tn(this,"Month")}function lh(){return ln(this.year(),this.month())}function ch(t){return this._monthsParseExact?(E(this,"_monthsRegex")||Hs.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(E(this,"_monthsShortRegex")||(this._monthsShortRegex=nh),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function dh(t){return this._monthsParseExact?(E(this,"_monthsRegex")||Hs.call(this),t?this._monthsStrictRegex:this._monthsRegex):(E(this,"_monthsRegex")||(this._monthsRegex=ah),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function Hs(){function t(s,d){return d.length-s.length}var e=[],r=[],n=[],a,i;for(a=0;a<12;a++)i=Qe([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]=je(e[a]),r[a]=je(r[a]);for(a=0;a<24;a++)n[a]=je(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?et(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"),_e("year","y"),ye("year",1),M("Y",on),M("YY",Q,De),M("YYYY",ii,ai),M("YYYYY",an,rn),M("YYYYYY",an,rn),B(["YYYYY","YYYYYY"],ge),B("YYYY",function(t,e){e[ge]=t.length===2?O.parseTwoDigitYear(t):Y(t)}),B("YY",function(t,e){e[ge]=O.parseTwoDigitYear(t)}),B("Y",function(t,e){e[ge]=parseInt(t,10)});function Cr(t){return en(t)?366:365}O.parseTwoDigitYear=function(t){return Y(t)+(Y(t)>68?1900:2e3)};var qs=Jt("FullYear",!0);function fh(){return en(this.year())}function hh(t,e,r,n,a,i,s){var d;return t<100&&t>=0?(d=new Date(t+400,e,r,n,a,i,s),isFinite(d.getFullYear())&&d.setFullYear(t)):d=new Date(t,e,r,n,a,i,s),d}function Mr(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 cn(t,e,r){var n=7+e-r,a=(7+Mr(t,0,n).getUTCDay()-e)%7;return-a+n-1}function Us(t,e,r,n,a){var i=(7+r-n)%7,s=cn(t,n,a),d=1+7*(e-1)+i+s,f,u;return d<=0?(f=t-1,u=Cr(f)+d):d>Cr(t)?(f=t+1,u=d-Cr(t)):(f=t,u=d),{year:f,dayOfYear:u}}function xr(t,e,r){var n=cn(t.year(),e,r),a=Math.floor((t.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+ft(s,e,r)):a>ft(t.year(),e,r)?(i=a-ft(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function ft(t,e,r){var n=cn(t,e,r),a=cn(t+1,e,r);return(Cr(t)-n+a)/7}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),_e("week","w"),_e("isoWeek","W"),ye("week",5),ye("isoWeek",5),M("w",Q),M("ww",Q,De),M("W",Q),M("WW",Q,De),Or(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=Y(t)});function mh(t){return xr(t,this._week.dow,this._week.doy).week}var ph={dow:0,doy:6};function vh(){return this._week.dow}function _h(){return this._week.doy}function yh(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function gh(t){var e=xr(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"),_e("day","d"),_e("weekday","e"),_e("isoWeekday","E"),ye("day",11),ye("weekday",11),ye("isoWeekday",11),M("d",Q),M("e",Q),M("E",Q),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)}),Or(["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}),Or(["d","e","E"],function(t,e,r,n){e[n]=Y(t)});function bh(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function wh(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function si(t,e){return t.slice(e,7).concat(t.slice(0,e))}var Sh="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ws="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),kh="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Oh=kr,Ch=kr,Mh=kr;function xh(t,e){var r=Le(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?si(r,this._week.dow):t?r[t.day()]:r}function Ph(t){return t===!0?si(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function Rh(t){return t===!0?si(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Dh(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=Qe([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=oe.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=oe.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=oe.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=oe.call(this._weekdaysParse,s),a!==-1||(a=oe.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=oe.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=oe.call(this._shortWeekdaysParse,s),a!==-1||(a=oe.call(this._weekdaysParse,s),a!==-1)?a:(a=oe.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=oe.call(this._minWeekdaysParse,s),a!==-1||(a=oe.call(this._weekdaysParse,s),a!==-1)?a:(a=oe.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function jh(t,e,r){var n,a,i;if(this._weekdaysParseExact)return Dh.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=Qe([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 $h(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=bh(t,this.localeData()),this.add(t-e,"d")):e}function Th(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 Yh(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=wh(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Ah(t){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||ui.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(E(this,"_weekdaysRegex")||(this._weekdaysRegex=Oh),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ih(t){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||ui.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(E(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ch),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Fh(t){return this._weekdaysParseExact?(E(this,"_weekdaysRegex")||ui.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(E(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Mh),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function ui(){function t(o,c){return c.length-o.length}var e=[],r=[],n=[],a=[],i,s,d,f,u;for(i=0;i<7;i++)s=Qe([2e3,1]).day(i),d=je(this.weekdaysMin(s,"")),f=je(this.weekdaysShort(s,"")),u=je(this.weekdays(s,"")),e.push(d),r.push(f),n.push(u),a.push(d),a.push(f),a.push(u);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 li(){return this.hours()%12||12}function Nh(){return this.hours()||24}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,li),R("k",["kk",2],0,Nh),R("hmm",0,0,function(){return""+li.apply(this)+et(this.minutes(),2)}),R("hmmss",0,0,function(){return""+li.apply(this)+et(this.minutes(),2)+et(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+et(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+et(this.minutes(),2)+et(this.seconds(),2)});function Vs(t,e){R(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Vs("a",!0),Vs("A",!1),_e("hour","h"),ye("hour",13);function zs(t,e){return e._meridiemParse}M("a",zs),M("A",zs),M("H",Q),M("h",Q),M("k",Q),M("HH",Q,De),M("hh",Q,De),M("kk",Q,De),M("hmm",As),M("hmmss",Is),M("Hmm",As),M("Hmmss",Is),B(["H","HH"],de),B(["k","kk"],function(t,e,r){var n=Y(t);e[de]=n===24?0:n}),B(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t}),B(["h","hh"],function(t,e,r){e[de]=Y(t),$(r).bigHour=!0}),B("hmm",function(t,e,r){var n=t.length-2;e[de]=Y(t.substr(0,n)),e[qe]=Y(t.substr(n)),$(r).bigHour=!0}),B("hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[de]=Y(t.substr(0,n)),e[qe]=Y(t.substr(n,2)),e[dt]=Y(t.substr(a)),$(r).bigHour=!0}),B("Hmm",function(t,e,r){var n=t.length-2;e[de]=Y(t.substr(0,n)),e[qe]=Y(t.substr(n))}),B("Hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[de]=Y(t.substr(0,n)),e[qe]=Y(t.substr(n,2)),e[dt]=Y(t.substr(a))});function Eh(t){return(t+"").toLowerCase().charAt(0)==="p"}var Lh=/[ap]\.?m?\.?/i,Hh=Jt("Hours",!0);function qh(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var Bs={calendar:jf,longDateFormat:Af,invalidDate:Ff,ordinal:Ef,dayOfMonthOrdinalParse:Lf,relativeTime:qf,months:rh,monthsShort:Fs,week:ph,weekdays:Sh,weekdaysMin:kh,weekdaysShort:Ws,meridiemParse:Lh},ne={},Pr={},Rr;function Uh(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 Gs(t){return t&&t.toLowerCase().replace("_","-")}function Wh(t){for(var e=0,r,n,a,i;e<t.length;){for(i=Gs(t[e]).split("-"),r=i.length,n=Gs(t[e+1]),n=n?n.split("-"):null;r>0;){if(a=dn(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&Uh(i,n)>=r-1)break;r--}e++}return Rr}function dn(t){var e=null,r;if(ne[t]===void 0&&typeof module!="undefined"&&module&&module.exports)try{e=Rr._abbr,r=require,r("./locale/"+t),Dt(e)}catch(n){ne[t]=null}return ne[t]}function Dt(t,e){var r;return t&&(Me(e)?r=ht(t):r=ci(t,e),r?Rr=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Rr._abbr}function ci(t,e){if(e!==null){var r,n=Bs;if(e.abbr=t,ne[t]!=null)Rs("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=ne[t]._config;else if(e.parentLocale!=null)if(ne[e.parentLocale]!=null)n=ne[e.parentLocale]._config;else if(r=dn(e.parentLocale),r!=null)n=r._config;else return Pr[e.parentLocale]||(Pr[e.parentLocale]=[]),Pr[e.parentLocale].push({name:t,config:e}),null;return ne[t]=new Ka(Qa(n,e)),Pr[t]&&Pr[t].forEach(function(a){ci(a.name,a.config)}),Dt(t),ne[t]}else return delete ne[t],null}function Vh(t,e){if(e!=null){var r,n,a=Bs;ne[t]!=null&&ne[t].parentLocale!=null?ne[t].set(Qa(ne[t]._config,e)):(n=dn(t),n!=null&&(a=n._config),e=Qa(a,e),n==null&&(e.abbr=t),r=new Ka(e),r.parentLocale=ne[t],ne[t]=r),Dt(t)}else ne[t]!=null&&(ne[t].parentLocale!=null?(ne[t]=ne[t].parentLocale,t===Dt()&&Dt(t)):ne[t]!=null&&delete ne[t]);return ne[t]}function ht(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Rr;if(!Le(t)){if(e=dn(t),e)return e;t=[t]}return Wh(t)}function zh(){return ei(ne)}function di(t){var e,r=t._a;return r&&$(t).overflow===-2&&(e=r[ct]<0||r[ct]>11?ct:r[tt]<1||r[tt]>ln(r[ge],r[ct])?tt:r[de]<0||r[de]>24||r[de]===24&&(r[qe]!==0||r[dt]!==0||r[Et]!==0)?de:r[qe]<0||r[qe]>59?qe:r[dt]<0||r[dt]>59?dt:r[Et]<0||r[Et]>999?Et:-1,$(t)._overflowDayOfYear&&(e<ge||e>tt)&&(e=tt),$(t)._overflowWeeks&&e===-1&&(e=Kf),$(t)._overflowWeekday&&e===-1&&(e=eh),$(t).overflow=e),t}var Bh=/^\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)?)?$/,Gh=/^\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)?)?$/,Zh=/Z|[+-]\d\d(?::?\d\d)?/,fn=[["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]],fi=[["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/]],Jh=/^\/?Date\((-?\d+)/i,Xh=/^(?:(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}))$/,Qh={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 Zs(t){var e,r,n=t._i,a=Bh.exec(n)||Gh.exec(n),i,s,d,f;if(a){for($(t).iso=!0,e=0,r=fn.length;e<r;e++)if(fn[e][1].exec(a[1])){s=fn[e][0],i=fn[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=fi.length;e<r;e++)if(fi[e][1].exec(a[3])){d=(a[2]||" ")+fi[e][0];break}if(d==null){t._isValid=!1;return}}if(!i&&d!=null){t._isValid=!1;return}if(a[4])if(Zh.exec(a[4]))f="Z";else{t._isValid=!1;return}t._f=s+(d||"")+(f||""),mi(t)}else t._isValid=!1}function Kh(t,e,r,n,a,i){var s=[em(t),Fs.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function em(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function tm(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function rm(t,e,r){if(t){var n=Ws.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 nm(t,e,r){if(t)return Qh[t];if(e)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function Js(t){var e=Xh.exec(tm(t._i)),r;if(e){if(r=Kh(e[4],e[3],e[2],e[5],e[6],e[7]),!rm(e[1],r,t))return;t._a=r,t._tzm=nm(e[8],e[9],e[10]),t._d=Mr.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),$(t).rfc2822=!0}else t._isValid=!1}function am(t){var e=Jh.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Zs(t),t._isValid===!1)delete t._isValid;else return;if(Js(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:O.createFromInputFallback(t)}O.createFromInputFallback=Ye("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 Qt(t,e,r){return t!=null?t:e!=null?e:r}function im(t){var e=new Date(O.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function hi(t){var e,r,n=[],a,i,s;if(!t._d){for(a=im(t),t._w&&t._a[tt]==null&&t._a[ct]==null&&om(t),t._dayOfYear!=null&&(s=Qt(t._a[ge],a[ge]),(t._dayOfYear>Cr(s)||t._dayOfYear===0)&&($(t)._overflowDayOfYear=!0),r=Mr(s,0,t._dayOfYear),t._a[ct]=r.getUTCMonth(),t._a[tt]=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[de]===24&&t._a[qe]===0&&t._a[dt]===0&&t._a[Et]===0&&(t._nextDay=!0,t._a[de]=0),t._d=(t._useUTC?Mr:hh).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[de]=24),t._w&&typeof t._w.d!="undefined"&&t._w.d!==i&&($(t).weekdayMismatch=!0)}}function om(t){var e,r,n,a,i,s,d,f,u;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=Qt(e.GG,t._a[ge],xr(K(),1,4).year),n=Qt(e.W,1),a=Qt(e.E,1),(a<1||a>7)&&(f=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,u=xr(K(),i,s),r=Qt(e.gg,t._a[ge],u.year),n=Qt(e.w,u.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>ft(r,i,s)?$(t)._overflowWeeks=!0:f!=null?$(t)._overflowWeekday=!0:(d=Us(r,n,a,i,s),t._a[ge]=d.year,t._dayOfYear=d.dayOfYear)}O.ISO_8601=function(){},O.RFC_2822=function(){};function mi(t){if(t._f===O.ISO_8601){Zs(t);return}if(t._f===O.RFC_2822){Js(t);return}t._a=[],$(t).empty=!0;var e=""+t._i,r,n,a,i,s,d=e.length,f=0,u;for(a=Ds(t._f,t._locale).match(ti)||[],r=0;r<a.length;r++)i=a[r],n=(e.match(Jf(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),Zt[i]?(n?$(t).empty=!1:$(t).unusedTokens.push(i),Qf(i,n,t)):t._strict&&!n&&$(t).unusedTokens.push(i);$(t).charsLeftOver=d-f,e.length>0&&$(t).unusedInput.push(e),t._a[de]<=12&&$(t).bigHour===!0&&t._a[de]>0&&($(t).bigHour=void 0),$(t).parsedDateParts=t._a.slice(0),$(t).meridiem=t._meridiem,t._a[de]=sm(t._locale,t._a[de],t._meridiem),u=$(t).era,u!==null&&(t._a[ge]=t._locale.erasConvertYear(u,t._a[ge])),hi(t),di(t)}function sm(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 um(t){var e,r,n,a,i,s,d=!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=Xa({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],mi(e),Ga(e)&&(s=!0),i+=$(e).charsLeftOver,i+=$(e).unusedTokens.length*10,$(e).score=i,d?i<n&&(n=i,r=e):(n==null||i<n||s)&&(n=i,r=e,s&&(d=!0));Rt(t,r||e)}function lm(t){if(!t._d){var e=ni(t._i),r=e.day===void 0?e.date:e.day;t._a=Ms([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),hi(t)}}function cm(t){var e=new wr(di(Xs(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Xs(t){var e=t._i,r=t._f;return t._locale=t._locale||ht(t._l),e===null||r===void 0&&e===""?Xr({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),He(e)?new wr(di(e)):(br(e)?t._d=e:Le(r)?um(t):r?mi(t):dm(t),Ga(t)||(t._d=null),t))}function dm(t){var e=t._i;Me(e)?t._d=new Date(O.now()):br(e)?t._d=new Date(e.valueOf()):typeof e=="string"?am(t):Le(e)?(t._a=Ms(e.slice(0),function(r){return parseInt(r,10)}),hi(t)):Nt(e)?lm(t):lt(e)?t._d=new Date(e):O.createFromInputFallback(t)}function Qs(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),(Nt(t)&&za(t)||Le(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,cm(i)}function K(t,e,r,n){return Qs(t,e,r,n,!1)}var fm=Ye("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=K.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Xr()}),hm=Ye("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=K.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Xr()});function Ks(t,e){var r,n;if(e.length===1&&Le(e[0])&&(e=e[0]),!e.length)return K();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function mm(){var t=[].slice.call(arguments,0);return Ks("isBefore",t)}function pm(){var t=[].slice.call(arguments,0);return Ks("isAfter",t)}var vm=function(){return Date.now?Date.now():+new Date},Dr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function _m(t){var e,r=!1,n;for(e in t)if(E(t,e)&&!(oe.call(Dr,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<Dr.length;++n)if(t[Dr[n]]){if(r)return!1;parseFloat(t[Dr[n]])!==Y(t[Dr[n]])&&(r=!0)}return!0}function ym(){return this._isValid}function gm(){return Ue(NaN)}function hn(t){var e=ni(t),r=e.year||0,n=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,d=e.hour||0,f=e.minute||0,u=e.second||0,o=e.millisecond||0;this._isValid=_m(e),this._milliseconds=+o+u*1e3+f*6e4+d*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=ht(),this._bubble()}function mn(t){return t instanceof hn}function pi(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function bm(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&&Y(t[s])!==Y(e[s]))&&i++;return i+a}function eu(t,e){R(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+et(~~(r/60),2)+e+et(~~r%60,2)})}eu("Z",":"),eu("ZZ",""),M("Z",sn),M("ZZ",sn),B(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=vi(sn,t)});var wm=/([\+\-]|\d\d)/gi;function vi(t,e){var r=(e||"").match(t),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(wm)||["-",0,0],i=+(a[1]*60)+Y(a[2]),i===0?0:a[0]==="+"?i:-i)}function _i(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(He(t)||br(t)?t.valueOf():K(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),O.updateOffset(r,!1),r):K(t).local()}function yi(t){return-Math.round(t._d.getTimezoneOffset())}O.updateOffset=function(){};function Sm(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=vi(sn,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=yi(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==t&&(!e||this._changeInProgress?au(this,Ue(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,O.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:yi(this)}function km(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function Om(t){return this.utcOffset(0,t)}function Cm(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(yi(this),"m")),this}function Mm(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=vi(Gf,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function xm(t){return this.isValid()?(t=t?K(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function Pm(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Rm(){if(!Me(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Xa(t,this),t=Xs(t),t._a?(e=t._isUTC?Qe(t._a):K(t._a),this._isDSTShifted=this.isValid()&&bm(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Dm(){return this.isValid()?!this._isUTC:!1}function jm(){return this.isValid()?this._isUTC:!1}function tu(){return this.isValid()?this._isUTC&&this._offset===0:!1}var $m=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Tm=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ue(t,e){var r=t,n=null,a,i,s;return mn(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:lt(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=$m.exec(t))?(a=n[1]==="-"?-1:1,r={y:0,d:Y(n[tt])*a,h:Y(n[de])*a,m:Y(n[qe])*a,s:Y(n[dt])*a,ms:Y(pi(n[Et]*1e3))*a}):(n=Tm.exec(t))?(a=n[1]==="-"?-1:1,r={y:Lt(n[2],a),M:Lt(n[3],a),w:Lt(n[4],a),d:Lt(n[5],a),h:Lt(n[6],a),m:Lt(n[7],a),s:Lt(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=Ym(K(r.from),K(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new hn(r),mn(t)&&E(t,"_locale")&&(i._locale=t._locale),mn(t)&&E(t,"_isValid")&&(i._isValid=t._isValid),i}Ue.fn=hn.prototype,Ue.invalid=gm;function Lt(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function ru(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 Ym(t,e){var r;return t.isValid()&&e.isValid()?(e=_i(e,t),t.isBefore(e)?r=ru(t,e):(r=ru(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function nu(t,e){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(Rs(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=Ue(r,n),au(this,a,t),this}}function au(t,e,r,n){var a=e._milliseconds,i=pi(e._days),s=pi(e._months);t.isValid()&&(n=n==null?!0:n,s&&Es(t,tn(t,"Month")+s*r),i&&$s(t,"Date",tn(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),n&&O.updateOffset(t,i||s))}var Am=nu(1,"add"),Im=nu(-1,"subtract");function iu(t){return typeof t=="string"||t instanceof String}function Fm(t){return He(t)||br(t)||iu(t)||lt(t)||Em(t)||Nm(t)||t===null||t===void 0}function Nm(t){var e=Nt(t)&&!za(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||E(t,i);return e&&r}function Em(t){var e=Le(t),r=!1;return e&&(r=t.filter(function(n){return!lt(n)&&iu(t)}).length===0),e&&r}function Lm(t){var e=Nt(t)&&!za(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||E(t,i);return e&&r}function Hm(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 qm(t,e){arguments.length===1&&(arguments[0]?Fm(arguments[0])?(t=arguments[0],e=void 0):Lm(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||K(),n=_i(r,this).startOf("day"),a=O.calendarFormat(this,n)||"sameElse",i=e&&(Ke(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,K(r)))}function Um(){return new wr(this)}function Wm(t,e){var r=He(t)?t:K(t);return this.isValid()&&r.isValid()?(e=Ae(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function Vm(t,e){var r=He(t)?t:K(t);return this.isValid()&&r.isValid()?(e=Ae(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function zm(t,e,r,n){var a=He(t)?t:K(t),i=He(e)?e:K(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 Bm(t,e){var r=He(t)?t:K(t),n;return this.isValid()&&r.isValid()?(e=Ae(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 Gm(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function Zm(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Jm(t,e,r){var n,a,i;if(!this.isValid())return NaN;if(n=_i(t,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,e=Ae(e),e){case"year":i=pn(this,n)/12;break;case"month":i=pn(this,n);break;case"quarter":i=pn(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:Ie(i)}function pn(t,e){if(t.date()<e.date())return-pn(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}O.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",O.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function Xm(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Qm(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?Kr(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):Ke(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Kr(r,"Z")):Kr(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Km(){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 ep(t){t||(t=this.isUtc()?O.defaultFormatUtc:O.defaultFormat);var e=Kr(this,t);return this.localeData().postformat(e)}function tp(t,e){return this.isValid()&&(He(t)&&t.isValid()||K(t).isValid())?Ue({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function rp(t){return this.from(K(),t)}function np(t,e){return this.isValid()&&(He(t)&&t.isValid()||K(t).isValid())?Ue({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function ap(t){return this.to(K(),t)}function ou(t){var e;return t===void 0?this._locale._abbr:(e=ht(t),e!=null&&(this._locale=e),this)}var su=Ye("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 uu(){return this._locale}var vn=1e3,Kt=60*vn,_n=60*Kt,lu=(365*400+97)*24*_n;function er(t,e){return(t%e+e)%e}function cu(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-lu:new Date(t,e,r).valueOf()}function du(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-lu:Date.UTC(t,e,r)}function ip(t){var e,r;if(t=Ae(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?du:cu,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-=er(e+(this._isUTC?0:this.utcOffset()*Kt),_n);break;case"minute":e=this._d.valueOf(),e-=er(e,Kt);break;case"second":e=this._d.valueOf(),e-=er(e,vn);break}return this._d.setTime(e),O.updateOffset(this,!0),this}function op(t){var e,r;if(t=Ae(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?du:cu,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+=_n-er(e+(this._isUTC?0:this.utcOffset()*Kt),_n)-1;break;case"minute":e=this._d.valueOf(),e+=Kt-er(e,Kt)-1;break;case"second":e=this._d.valueOf(),e+=vn-er(e,vn)-1;break}return this._d.setTime(e),O.updateOffset(this,!0),this}function sp(){return this._d.valueOf()-(this._offset||0)*6e4}function up(){return Math.floor(this.valueOf()/1e3)}function lp(){return new Date(this.valueOf())}function cp(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function dp(){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 fp(){return this.isValid()?this.toISOString():null}function hp(){return Ga(this)}function mp(){return Rt({},$(this))}function pp(){return $(this).overflow}function vp(){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",gi),M("NN",gi),M("NNN",gi),M("NNNN",xp),M("NNNNN",Pp),B(["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",Xt),M("yy",Xt),M("yyy",Xt),M("yyyy",Xt),M("yo",Rp),B(["y","yy","yyy","yyyy"],ge),B(["yo"],function(t,e,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[ge]=r._locale.eraYearOrdinalParse(t,a):e[ge]=parseInt(t,10)});function _p(t,e){var r,n,a,i=this._eras||ht("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=O(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=O(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function yp(t,e,r){var n,a,i=this.eras(),s,d,f;for(t=t.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),d=i[n].abbr.toUpperCase(),f=i[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(d===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,d,f].indexOf(t)>=0)return i[n]}function gp(t,e){var r=t.since<=t.until?1:-1;return e===void 0?O(t.since).year():O(t.since).year()+(e-t.offset)*r}function bp(){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 wp(){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 Sp(){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 kp(){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()-O(a[t].since).year())*r+a[t].offset;return this.year()}function Op(t){return E(this,"_erasNameRegex")||bi.call(this),t?this._erasNameRegex:this._erasRegex}function Cp(t){return E(this,"_erasAbbrRegex")||bi.call(this),t?this._erasAbbrRegex:this._erasRegex}function Mp(t){return E(this,"_erasNarrowRegex")||bi.call(this),t?this._erasNarrowRegex:this._erasRegex}function gi(t,e){return e.erasAbbrRegex(t)}function xp(t,e){return e.erasNameRegex(t)}function Pp(t,e){return e.erasNarrowRegex(t)}function Rp(t,e){return e._eraYearOrdinalRegex||Xt}function bi(){var t=[],e=[],r=[],n=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)e.push(je(s[a].name)),t.push(je(s[a].abbr)),r.push(je(s[a].narrow)),n.push(je(s[a].name)),n.push(je(s[a].abbr)),n.push(je(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 yn(t,e){R(0,[t,t.length],0,e)}yn("gggg","weekYear"),yn("ggggg","weekYear"),yn("GGGG","isoWeekYear"),yn("GGGGG","isoWeekYear"),_e("weekYear","gg"),_e("isoWeekYear","GG"),ye("weekYear",1),ye("isoWeekYear",1),M("G",on),M("g",on),M("GG",Q,De),M("gg",Q,De),M("GGGG",ii,ai),M("gggg",ii,ai),M("GGGGG",an,rn),M("ggggg",an,rn),Or(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=Y(t)}),Or(["gg","GG"],function(t,e,r,n){e[n]=O.parseTwoDigitYear(t)});function Dp(t){return fu.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function jp(t){return fu.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function $p(){return ft(this.year(),1,4)}function Tp(){return ft(this.isoWeekYear(),1,4)}function Yp(){var t=this.localeData()._week;return ft(this.year(),t.dow,t.doy)}function Ap(){var t=this.localeData()._week;return ft(this.weekYear(),t.dow,t.doy)}function fu(t,e,r,n,a){var i;return t==null?xr(this,n,a).year:(i=ft(t,n,a),e>i&&(e=i),Ip.call(this,t,e,r,n,a))}function Ip(t,e,r,n,a){var i=Us(t,e,r,n,a),s=Mr(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}R("Q",0,"Qo","quarter"),_e("quarter","Q"),ye("quarter",7),M("Q",Ts),B("Q",function(t,e){e[ct]=(Y(t)-1)*3});function Fp(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}R("D",["DD",2],"Do","date"),_e("date","D"),ye("date",9),M("D",Q),M("DD",Q,De),M("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),B(["D","DD"],tt),B("Do",function(t,e){e[tt]=Y(t.match(Q)[0])});var hu=Jt("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),_e("dayOfYear","DDD"),ye("dayOfYear",4),M("DDD",nn),M("DDDD",Ys),B(["DDD","DDDD"],function(t,e,r){r._dayOfYear=Y(t)});function Np(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"),_e("minute","m"),ye("minute",14),M("m",Q),M("mm",Q,De),B(["m","mm"],qe);var Ep=Jt("Minutes",!1);R("s",["ss",2],0,"second"),_e("second","s"),ye("second",15),M("s",Q),M("ss",Q,De),B(["s","ss"],dt);var Lp=Jt("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}),_e("millisecond","ms"),ye("millisecond",16),M("S",nn,Ts),M("SS",nn,De),M("SSS",nn,Ys);var jt,mu;for(jt="SSSS";jt.length<=9;jt+="S")M(jt,Xt);function Hp(t,e){e[Et]=Y(("0."+t)*1e3)}for(jt="S";jt.length<=9;jt+="S")B(jt,Hp);mu=Jt("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");function qp(){return this._isUTC?"UTC":""}function Up(){return this._isUTC?"Coordinated Universal Time":""}var S=wr.prototype;S.add=Am,S.calendar=qm,S.clone=Um,S.diff=Jm,S.endOf=op,S.format=ep,S.from=tp,S.fromNow=rp,S.to=np,S.toNow=ap,S.get=zf,S.invalidAt=pp,S.isAfter=Wm,S.isBefore=Vm,S.isBetween=zm,S.isSame=Bm,S.isSameOrAfter=Gm,S.isSameOrBefore=Zm,S.isValid=hp,S.lang=su,S.locale=ou,S.localeData=uu,S.max=hm,S.min=fm,S.parsingFlags=mp,S.set=Bf,S.startOf=ip,S.subtract=Im,S.toArray=cp,S.toObject=dp,S.toDate=lp,S.toISOString=Qm,S.inspect=Km,typeof Symbol!="undefined"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),S.toJSON=fp,S.toString=Xm,S.unix=up,S.valueOf=sp,S.creationData=vp,S.eraName=bp,S.eraNarrow=wp,S.eraAbbr=Sp,S.eraYear=kp,S.year=qs,S.isLeapYear=fh,S.weekYear=Dp,S.isoWeekYear=jp,S.quarter=S.quarters=Fp,S.month=Ls,S.daysInMonth=lh,S.week=S.weeks=yh,S.isoWeek=S.isoWeeks=gh,S.weeksInYear=Yp,S.weeksInWeekYear=Ap,S.isoWeeksInYear=$p,S.isoWeeksInISOWeekYear=Tp,S.date=hu,S.day=S.days=$h,S.weekday=Th,S.isoWeekday=Yh,S.dayOfYear=Np,S.hour=S.hours=Hh,S.minute=S.minutes=Ep,S.second=S.seconds=Lp,S.millisecond=S.milliseconds=mu,S.utcOffset=Sm,S.utc=Om,S.local=Cm,S.parseZone=Mm,S.hasAlignedHourOffset=xm,S.isDST=Pm,S.isLocal=Dm,S.isUtcOffset=jm,S.isUtc=tu,S.isUTC=tu,S.zoneAbbr=qp,S.zoneName=Up,S.dates=Ye("dates accessor is deprecated. Use date instead.",hu),S.months=Ye("months accessor is deprecated. Use month instead",Ls),S.years=Ye("years accessor is deprecated. Use year instead",qs),S.zone=Ye("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",km),S.isDSTShifted=Ye("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Rm);function Wp(t){return K(t*1e3)}function Vp(){return K.apply(null,arguments).parseZone()}function pu(t){return t}var L=Ka.prototype;L.calendar=$f,L.longDateFormat=If,L.invalidDate=Nf,L.ordinal=Hf,L.preparse=pu,L.postformat=pu,L.relativeTime=Uf,L.pastFuture=Wf,L.set=Df,L.eras=_p,L.erasParse=yp,L.erasConvertYear=gp,L.erasAbbrRegex=Cp,L.erasNameRegex=Op,L.erasNarrowRegex=Mp,L.months=ih,L.monthsShort=oh,L.monthsParse=uh,L.monthsRegex=dh,L.monthsShortRegex=ch,L.week=mh,L.firstDayOfYear=_h,L.firstDayOfWeek=vh,L.weekdays=xh,L.weekdaysMin=Rh,L.weekdaysShort=Ph,L.weekdaysParse=jh,L.weekdaysRegex=Ah,L.weekdaysShortRegex=Ih,L.weekdaysMinRegex=Fh,L.isPM=Eh,L.meridiem=qh;function gn(t,e,r,n){var a=ht(),i=Qe().set(n,e);return a[r](i,t)}function vu(t,e,r){if(lt(t)&&(e=t,t=void 0),t=t||"",e!=null)return gn(t,e,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=gn(t,n,r,"month");return a}function wi(t,e,r,n){typeof t=="boolean"?(lt(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,lt(e)&&(r=e,e=void 0),e=e||"");var a=ht(),i=t?a._week.dow:0,s,d=[];if(r!=null)return gn(e,(r+i)%7,n,"day");for(s=0;s<7;s++)d[s]=gn(e,(s+i)%7,n,"day");return d}function zp(t,e){return vu(t,e,"months")}function Bp(t,e){return vu(t,e,"monthsShort")}function Gp(t,e,r){return wi(t,e,r,"weekdays")}function Zp(t,e,r){return wi(t,e,r,"weekdaysShort")}function Jp(t,e,r){return wi(t,e,r,"weekdaysMin")}Dt("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=Y(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}}),O.lang=Ye("moment.lang is deprecated. Use moment.locale instead.",Dt),O.langData=Ye("moment.langData is deprecated. Use moment.localeData instead.",ht);var mt=Math.abs;function Xp(){var t=this._data;return this._milliseconds=mt(this._milliseconds),this._days=mt(this._days),this._months=mt(this._months),t.milliseconds=mt(t.milliseconds),t.seconds=mt(t.seconds),t.minutes=mt(t.minutes),t.hours=mt(t.hours),t.months=mt(t.months),t.years=mt(t.years),this}function _u(t,e,r,n){var a=Ue(e,r);return t._milliseconds+=n*a._milliseconds,t._days+=n*a._days,t._months+=n*a._months,t._bubble()}function Qp(t,e){return _u(this,t,e,1)}function Kp(t,e){return _u(this,t,e,-1)}function yu(t){return t<0?Math.floor(t):Math.ceil(t)}function ev(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,a,i,s,d,f;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=yu(Si(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,a=Ie(t/1e3),n.seconds=a%60,i=Ie(a/60),n.minutes=i%60,s=Ie(i/60),n.hours=s%24,e+=Ie(s/24),f=Ie(gu(e)),r+=f,e-=yu(Si(f)),d=Ie(r/12),r%=12,n.days=e,n.months=r,n.years=d,this}function gu(t){return t*4800/146097}function Si(t){return t*146097/4800}function tv(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=Ae(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+gu(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(Si(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 rv(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+Y(this._months/12)*31536e6:NaN}function pt(t){return function(){return this.as(t)}}var nv=pt("ms"),av=pt("s"),iv=pt("m"),ov=pt("h"),sv=pt("d"),uv=pt("w"),lv=pt("M"),cv=pt("Q"),dv=pt("y");function fv(){return Ue(this)}function hv(t){return t=Ae(t),this.isValid()?this[t+"s"]():NaN}function Ht(t){return function(){return this.isValid()?this._data[t]:NaN}}var mv=Ht("milliseconds"),pv=Ht("seconds"),vv=Ht("minutes"),_v=Ht("hours"),yv=Ht("days"),gv=Ht("months"),bv=Ht("years");function wv(){return Ie(this.days()/7)}var vt=Math.round,tr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Sv(t,e,r,n,a){return a.relativeTime(e||1,!!r,t,n)}function kv(t,e,r,n){var a=Ue(t).abs(),i=vt(a.as("s")),s=vt(a.as("m")),d=vt(a.as("h")),f=vt(a.as("d")),u=vt(a.as("M")),o=vt(a.as("w")),c=vt(a.as("y")),h=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||d<=1&&["h"]||d<r.h&&["hh",d]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(h=h||o<=1&&["w"]||o<r.w&&["ww",o]),h=h||u<=1&&["M"]||u<r.M&&["MM",u]||c<=1&&["y"]||["yy",c],h[2]=e,h[3]=+t>0,h[4]=n,Sv.apply(null,h)}function Ov(t){return t===void 0?vt:typeof t=="function"?(vt=t,!0):!1}function Cv(t,e){return tr[t]===void 0?!1:e===void 0?tr[t]:(tr[t]=e,t==="s"&&(tr.ss=e-1),!0)}function Mv(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=tr,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},tr,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),a=this.localeData(),i=kv(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var ki=Math.abs;function rr(t){return(t>0)-(t<0)||+t}function bn(){if(!this.isValid())return this.localeData().invalidDate();var t=ki(this._milliseconds)/1e3,e=ki(this._days),r=ki(this._months),n,a,i,s,d=this.asSeconds(),f,u,o,c;return d?(n=Ie(t/60),a=Ie(n/60),t%=60,n%=60,i=Ie(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",f=d<0?"-":"",u=rr(this._months)!==rr(d)?"-":"",o=rr(this._days)!==rr(d)?"-":"",c=rr(this._milliseconds)!==rr(d)?"-":"",f+"P"+(i?u+i+"Y":"")+(r?u+r+"M":"")+(e?o+e+"D":"")+(a||n||t?"T":"")+(a?c+a+"H":"")+(n?c+n+"M":"")+(t?c+s+"S":"")):"P0D"}var F=hn.prototype;F.isValid=ym,F.abs=Xp,F.add=Qp,F.subtract=Kp,F.as=tv,F.asMilliseconds=nv,F.asSeconds=av,F.asMinutes=iv,F.asHours=ov,F.asDays=sv,F.asWeeks=uv,F.asMonths=lv,F.asQuarters=cv,F.asYears=dv,F.valueOf=rv,F._bubble=ev,F.clone=fv,F.get=hv,F.milliseconds=mv,F.seconds=pv,F.minutes=vv,F.hours=_v,F.days=yv,F.weeks=wv,F.months=gv,F.years=bv,F.humanize=Mv,F.toISOString=bn,F.toString=bn,F.toJSON=bn,F.locale=ou,F.localeData=uu,F.toIsoString=Ye("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",bn),F.lang=su,R("X",0,0,"unix"),R("x",0,0,"valueOf"),M("x",on),M("X",Zf),B("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)}),B("x",function(t,e,r){r._d=new Date(Y(t))});//! moment.js
|
|
10
|
-
O.version="2.29.1",Pf(K),O.fn=S,O.min=mm,O.max=pm,O.now=vm,O.utc=Qe,O.unix=Wp,O.months=zp,O.isDate=br,O.locale=Dt,O.invalid=Xr,O.duration=Ue,O.isMoment=He,O.weekdays=Gp,O.parseZone=Vp,O.localeData=ht,O.isDuration=mn,O.monthsShort=Bp,O.weekdaysMin=Jp,O.defineLocale=ci,O.updateLocale=Vh,O.locales=zh,O.weekdaysShort=Zp,O.normalizeUnits=Ae,O.relativeTimeRounding=Ov,O.relativeTimeThreshold=Cv,O.calendarFormat=Hm,O.prototype=S,O.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 xv=(t,{valueToMatch:e}={})=>t===e,bu=(t,{length:e}={})=>t?t.length>=e:!0,Pv=(t,{min:e,max:r,compareFullDate:n=!1}={})=>{if(n){const i=O.utc(t,"DD-MM-YYYY");return e.isSameOrBefore(i)&&i.isSameOrBefore(r)}const a=+O.utc(t,"DD-MM-YYYY").format("YYYY");return Number(e)<=a&&Number(r)>=a},Rv=(t,{minAge:e=18,maxAge:r=100}={})=>{const n=O.utc(),a=O.utc(t,"DD-MM-YYYY",!0),i=n.diff(a,"years");return e<=i&&i<=r},Dv=(t,e,r)=>{const[n,a]=e;return`Je dient tussen de ${n} en ${a} jaar oud te zijn!`};let Z=b.reactive({}),me=b.reactive({}),wn=b.reactive({});const jv=t=>{Z=t._base,Z.extend("isValue",xv,{paramNames:["valueToMatch"]}),Z.extend("minlength",bu,{paramNames:["length"]}),Z.extend("emailServerValidation",bu,{immediate:!1}),Z.extend("betweenBirthDate",Pv,{paramNames:["min","max","compareFullDate"]}),Z.extend("ageRange",{getMessage:Dv,validate:Rv},{paramNames:["minAge","maxAge"]}),me=Z.errors,wn=Z.fields},jr=t=>le(this,null,function*(){const e={};return yield Promise.all(t.map(r=>le(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}),Oi={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)})}};let wu=b.reactive({}),Su=b.reactive({});const $v=b.reactive({});let $r=b.ref(!1),Ci=b.ref(!1),Sn=b.ref(!1),Mi=b.ref(!1),xi=b.ref(null),ku=b.ref(!1);const Tv=re,Ou=18,Yv=99,Cu=(t,e,r,n)=>{b.ref(b.getCurrentInstance().proxy.$refs).value;const a=b.computed(()=>P.birthdate.length===10),i=b.computed(()=>{const y=[];for(let m=0;m<d.value;m++)y.push({title:`${m} jaar`,value:m});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}),d=b.computed(()=>{let y;if(P.birthdate.split("_").join("").length===10)y=+O.utc(P.birthdate,"DD-MM-YYYY").format("YYYY");else return 0;const m=xi.value-y-Ou;return m>0?m:0}),f=()=>{ku.value=!0},u=y=>{ve.claimFreeYears=String(y)},o=()=>{$r.value=!0},c=()=>{$r.value=!1},h=y=>le(this,null,function*(){try{if(Ci.value=!1,$r.value=!1,y.length>=6){const m=yield r.motorService.findMotor(y);Su=m,ve.license=m.LicensePlate,Ci.value=!0}}catch(m){console.error(m),$r.value=!0}}),l=()=>le(this,null,function*(){try{Mi.value=!1,Sn.value=!1,P.zipcode&&P.houseNumber&&(wu=yield r.dataValidationService.validateZipCode(P.zipcode,P.houseNumber,P.houseNumberAddition),Mi.value=!0)}catch(y){Sn.value=!0}}),p=y=>{e("emit-event-hub",{event:"open-quotation-modal",data:{refId:y}})},v=()=>le(this,null,function*(){if((yield jr(["license","incorrectLicensePlateHiddenField","noLicensePlateHiddenField","unknownLicensePlateHiddenField","zipcode","housenumber","housenumberaddition","claimfreeyears","kilometrage","birthdate"]))&&!Sn.value)if(t.isOnResultPage)e("submit-form",{userInformation:P,motorState:ve});else{const m={license:ve.license,zipcode:P.zipcode,housenumber:P.houseNumber,housenumberaddition:P.houseNumberAddition,birthdate:P.birthdate,claimfreeyears:ve.claimFreeYears,kilometrage:ve.kilometrage};m.housenumberaddition||delete m.housenumberaddition,e("redirect-page",{link:t.link,data:m})}});return b.onMounted(()=>{xi.value=+O().format("YYYY"),t.isOnResultPage&&(ve.license=t.insuranceState.vehicle.LicensePlate,h(t.insuranceState.vehicle.LicensePlate),ve.claimFreeYears=t.insuranceState.claimFreeYears,ve.kilometrage=+t.insuranceState.kilometrage,P.birthdate=t.userInformation.birthdate,P.zipcode=t.userInformation.zipCode,P.houseNumber=t.userInformation.houseNumber,P.houseNumberAddition=t.userInformation.houseNumberAddition,l()),t.isOnResultPage||Oi.removeSessionState("motor-storage","motor-path")}),{licenseError:$r,showLicenseInfo:Ci,houseError:Sn,showHouseInformation:Mi,currentYear:xi,kilometrages:Tv,minAge:Ou,maxAge:Yv,buttonStyles:s,maxClaimFreeYears:d,onLicenseError:o,onLicenseInput:c,validateBeforeSubmit:v,HouseInformation:wu,licenseInformation:Su,vehicle:$v,getClaimFreeYearsSelectOptions:i,isModalOpen:ku,birthDateYear:a,openClaimFreeYearModal:f,setClaimFreeYears:u,getHouseInformation:l,getLicenseInformation:h,openQuotationModal:p,userInformation:P,motorState:ve}};function Av(t){return t=t.split("-").join(""),t}function Iv(t,e){return t.split("").reduce((r,n,a)=>(n===e&&r.push(a),r),[])}function Fv(t){const e=parseInt(t);return!!(e==0||e&&!isNaN(e))}const Pi=["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 Ri(t){let e="";if(e=Av(t),e.length>=6){const r=Ev(e).join("");let n=[];for(let a=0;a<Pi.length;a++){const i=Pi[a],s=i.split("-").join("");if(s===r){n=s.split(""),n=Nv(i,n,e);break}if(Pi.length===a+1)return"no-template-found"}if(n.length===8)return n.join("")}return e}function Nv(t,e,r){return e.map((n,a)=>e[a]=r[a]),Iv(t,"-").forEach(n=>e.splice(n,0,"-")),e}function Ev(t){let e=[];for(let r=0;r<t.length;r++){const n=t[r];n&&(Fv(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 Lv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Hv(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 J={},Mu={},xu={};Object.defineProperty(xu,"__esModule",{value:!0}),function(t){var e=g&&g.__createBinding||(Object.create?function(n,a,i,s){s===void 0&&(s=i);var d=Object.getOwnPropertyDescriptor(a,i);(!d||("get"in d?!a.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,s,d)}: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(xu,t)}(Mu);var Pu={},Di={},ji={},$i={};Object.defineProperty($i,"__esModule",{value:!0});var qv=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}();$i.default=qv;var kn={},Ti={},Yi={},ce={},Ai={},be={},We={},nr={},Ii={},Ru=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(d){s={error:d}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},Du=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(Ii,"__esModule",{value:!0});var Uv=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,Du([],Ru(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,Du([void 0],Ru(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}();Ii.default=Uv;var Fi={},Ni={};(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,d=Object.prototype.hasOwnProperty.call(n,"name");return Object.defineProperty(a,"name",{configurable:!0,enumerable:d,writable:d,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={}))})(Ni);var pe=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof global!="undefined"&&global||{},ke={searchParams:"URLSearchParams"in pe,iterable:"Symbol"in pe&&"iterator"in Symbol,blob:"FileReader"in pe&&"Blob"in pe&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in pe,arrayBuffer:"ArrayBuffer"in pe};function Wv(t){return t&&DataView.prototype.isPrototypeOf(t)}if(ke.arrayBuffer)var Vv=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],zv=ArrayBuffer.isView||function(t){return t&&Vv.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 Ei(t){return typeof t!="string"&&(t=String(t)),t}function Li(t){var e={next:function(){var r=t.shift();return{done:r===void 0,value:r}}};return ke.iterable&&(e[Symbol.iterator]=function(){return e}),e}function fe(t){this.map={},t instanceof fe?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)}fe.prototype.append=function(t,e){t=ar(t),e=Ei(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},fe.prototype.delete=function(t){delete this.map[ar(t)]},fe.prototype.get=function(t){return t=ar(t),this.has(t)?this.map[t]:null},fe.prototype.has=function(t){return this.map.hasOwnProperty(ar(t))},fe.prototype.set=function(t,e){this.map[ar(t)]=Ei(e)},fe.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},fe.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),Li(t)},fe.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Li(t)},fe.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),Li(t)},ke.iterable&&(fe.prototype[Symbol.iterator]=fe.prototype.entries);function Hi(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}}function ju(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Bv(t){var e=new FileReader,r=ju(e);return e.readAsArrayBuffer(t),r}function Gv(t){var e=new FileReader,r=ju(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),a=n?n[1]:"utf-8";return e.readAsText(t,a),r}function Zv(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 $u(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function Tu(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?typeof t=="string"?this._bodyText=t:ke.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:ke.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:ke.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():ke.arrayBuffer&&ke.blob&&Wv(t)?(this._bodyArrayBuffer=$u(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):ke.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||zv(t))?this._bodyArrayBuffer=$u(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):ke.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},ke.blob&&(this.blob=function(){var t=Hi(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=Hi(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(ke.blob)return this.blob().then(Bv);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var t=Hi(this);if(t)return t;if(this._bodyBlob)return Gv(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Zv(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},ke.formData&&(this.formData=function(){return this.text().then(Qv)}),this.json=function(){return this.text().then(JSON.parse)},this}var Jv=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Xv(t){var e=t.toUpperCase();return Jv.indexOf(e)>-1?e:t}function qt(t,e){if(!(this instanceof qt))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 qt){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new fe(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 fe(e.headers)),this.method=Xv(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in pe){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()}}}qt.prototype.clone=function(){return new qt(this,{body:this._bodyInit})};function Qv(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 Kv(t){var e=new fe,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(d){console.warn("Response "+d.message)}}}),e}Tu.call(qt.prototype);function rt(t,e){if(!(this instanceof rt))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 fe(e.headers),this.url=e.url||"",this._initBody(t)}Tu.call(rt.prototype),rt.prototype.clone=function(){return new rt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new fe(this.headers),url:this.url})},rt.error=function(){var t=new rt(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var e_=[301,302,303,307,308];rt.redirect=function(t,e){if(e_.indexOf(e)===-1)throw new RangeError("Invalid status code");return new rt(null,{status:e,headers:{location:t}})};var Ut=pe.DOMException;try{new Ut}catch(t){Ut=function(e,r){this.message=e,this.name=r;var n=Error(e);this.stack=n.stack},Ut.prototype=Object.create(Error.prototype),Ut.prototype.constructor=Ut}function Yu(t,e){return new Promise(function(r,n){var a=new qt(t,e);if(a.signal&&a.signal.aborted)return n(new Ut("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var u={statusText:i.statusText,headers:Kv(i.getAllResponseHeaders()||"")};a.url.indexOf("file://")===0&&(i.status<200||i.status>599)?u.status=200:u.status=i.status,u.url="responseURL"in i?i.responseURL:u.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout(function(){r(new rt(o,u))},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 Ut("Aborted","AbortError"))},0)};function d(u){try{return u===""&&pe.location.href?pe.location.href:u}catch(o){return u}}if(i.open(a.method,d(a.url),!0),a.credentials==="include"?i.withCredentials=!0:a.credentials==="omit"&&(i.withCredentials=!1),"responseType"in i&&(ke.blob?i.responseType="blob":ke.arrayBuffer&&(i.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof fe||pe.Headers&&e.headers instanceof pe.Headers)){var f=[];Object.getOwnPropertyNames(e.headers).forEach(function(u){f.push(ar(u)),i.setRequestHeader(u,Ei(e.headers[u]))}),a.headers.forEach(function(u,o){f.indexOf(o)===-1&&i.setRequestHeader(o,u)})}else a.headers.forEach(function(u,o){i.setRequestHeader(o,u)});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)})}Yu.polyfill=!0,pe.fetch||(pe.fetch=Yu,pe.Headers=fe,pe.Request=qt,pe.Response=rt),self.fetch.bind(self);var On=g&&g.__assign||function(){return On=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},On.apply(this,arguments)},t_=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 d(o){try{u(n.next(o))}catch(c){s(c)}}function f(o){try{u(n.throw(o))}catch(c){s(c)}}function u(o){o.done?i(o.value):a(o.value).then(d,f)}u((n=n.apply(t,e||[])).next())})},r_=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:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(u){return function(o){return f([u,o])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(r=0)),r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(o){u=[6,o],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(Fi,"__esModule",{value:!0});var n_=Ni,a_=function(){function t(e){this.interceptors={request:new Au,response:new Au},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 On(On({},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 t_(r,void 0,void 0,function(){return r_(this,function(i){return a.ok?[2,a.json()]:[2,Promise.reject(a.json())]})})})},t.prototype[n_.Invokable.call]=function(e){return this.fetchRequest(e)},t}(),Au=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}();Fi.default=a_,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClient=t.Injector=void 0;var e=Ii;Object.defineProperty(t,"Injector",{enumerable:!0,get:function(){return e.default}});var r=Fi;Object.defineProperty(t,"HttpClient",{enumerable:!0,get:function(){return r.default}})}(nr),Object.defineProperty(We,"__esModule",{value:!0});var Iu=nr,i_=Ni,o_=function(){function t(){var e=Iu.Injector.instance.get("environment");this.http=i_.Invokable.create(new Iu.HttpClient(this.getBaseUrl(e)))}return t}();We.default=o_;var Wt={},qi={},Cn={};Object.defineProperty(Cn,"__esModule",{value:!0});var s_=function(){function t(e){this.response=e}return t.prototype.next=function(){return this.response},t}();Cn.default=s_;var u_=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(d){s={error:d}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},l_=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(qi,"__esModule",{value:!0});var c_=Cn,d_=function(){function t(e){e===void 0&&(e=new c_.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,l_([],u_(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}();qi.default=d_;var Ui={};Object.defineProperty(Ui,"__esModule",{value:!0});var f_=function(){function t(e){this.error=e}return t.prototype.next=function(){throw this.error},t}();Ui.default=f_,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseHandler=t.ErrorHandler=t.RateHandler=void 0;var e=qi;Object.defineProperty(t,"RateHandler",{enumerable:!0,get:function(){return e.default}});var r=Ui;Object.defineProperty(t,"ErrorHandler",{enumerable:!0,get:function(){return r.default}});var n=Cn;Object.defineProperty(t,"ResponseHandler",{enumerable:!0,get:function(){return n.default}})}(Wt);var h_=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)}}(),Mn=g&&g.__assign||function(){return Mn=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},Mn.apply(this,arguments)},Fu=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(be,"__esModule",{value:!0});var m_=We,Nu=nr,xn=Wt,p_=function(t){h_(e,t);function e(){var r=t.call(this)||this;return r.http.interceptors.request.use(function(n){return n.headers=Mn(Mn({},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=Nu.Injector.instance.get("configuration-service");return r.isConfigured()?r.getConfigurations().getServices(this.getCategory(),this.getFunnel()):this.getAvailableServices()},e.prototype.getFunnel=function(){try{return Nu.Injector.instance.get("X-Comparison-Funnel")}catch(r){return this.getCategory()}},e.prototype.getRates=function(r){var n,a,i=[];try{for(var s=Fu(this.getConfiguredServices()),d=s.next();!d.done;d=s.next()){var f=d.value;i.push(this.http({method:"post",url:"/".concat(f,"/rates"),data:r}).then(function(u){return new xn.ResponseHandler(u)}).catch(function(u){return new xn.ErrorHandler(u)}))}}catch(u){n={error:u}}finally{try{d&&!d.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 d=Fu(this.getConfiguredServices()),f=d.next();!f.done;f=d.next()){var u=f.value;s.push(this.http({method:"post",url:"/".concat(u,"/coverage_rate_comparison/").concat(n),data:r}).then(function(o){return new xn.ResponseHandler(o)}).catch(function(o){return new xn.ErrorHandler(o)}))}}catch(o){a={error:o}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}return Promise.all(s)},e}(m_.default);be.default=p_;var v_=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(Ai,"__esModule",{value:!0});var __=be,y_=function(t){v_(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}(__.default);Ai.default=y_;var Wi={},g_=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(Wi,"__esModule",{value:!0});var b_=be,w_=function(t){g_(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}(b_.default);Wi.default=w_;var Vi={},S_=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(Vi,"__esModule",{value:!0});var k_=We,O_=function(t){S_(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}(k_.default);Vi.default=O_;var zi={},C_=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(zi,"__esModule",{value:!0});var M_=be,x_=function(t){C_(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}(M_.default);zi.default=x_;var Bi={},P_=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(Bi,"__esModule",{value:!0});var R_=be,D_=function(t){P_(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}(R_.default);Bi.default=D_;var Gi={},j_=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(Gi,"__esModule",{value:!0});var $_=be,T_=function(t){j_(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}($_.default);Gi.default=T_;var Zi={},Y_=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(Zi,"__esModule",{value:!0});var A_=be,I_=function(t){Y_(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}(A_.default);Zi.default=I_;var Ji={},F_=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(Ji,"__esModule",{value:!0});var N_=be,E_=function(t){F_(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}(N_.default);Ji.default=E_;var Xi={},L_=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(Xi,"__esModule",{value:!0});var Eu=Wt,H_=be,q_=function(t){L_(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 Eu.ResponseHandler(n)}).catch(function(n){return new Eu.ErrorHandler(n)})},e}(H_.default);Xi.default=q_;var Qi={},U_=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(Qi,"__esModule",{value:!0});var W_=We,V_=function(t){U_(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}(W_.default);Qi.default=V_;var Ki={},z_=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(Ki,"__esModule",{value:!0});var B_=be,G_=function(t){z_(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}(B_.default);Ki.default=G_;var eo={},Z_=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(eo,"__esModule",{value:!0});var Lu=Wt,J_=be,X_=function(t){Z_(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 Lu.ResponseHandler(n)}).catch(function(n){return new Lu.ErrorHandler(n)})},e}(J_.default);eo.default=X_;var to={},Q_=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(to,"__esModule",{value:!0});var K_=be,ey=function(t){Q_(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}(K_.default);to.default=ey;var ro={},ty=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(ro,"__esModule",{value:!0});var ry=be,ny=function(t){ty(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}(ry.default);ro.default=ny;var no={},ay=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(no,"__esModule",{value:!0});var iy=We,oy=function(t){ay(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}(iy.default);no.default=oy;var ao={},sy=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(ao,"__esModule",{value:!0});var uy=We,ly=function(t){sy(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}(uy.default);ao.default=ly;var io={},cy=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(io,"__esModule",{value:!0});var dy=We,fy=function(t){cy(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}(dy.default);io.default=fy;var oo={},hy=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(oo,"__esModule",{value:!0});var my=We,py=function(t){hy(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}(my.default);oo.default=py;var so={},vy=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(so,"__esModule",{value:!0});var _y=We,yy=function(t){vy(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}(_y.default);so.default=yy,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=Ai;Object.defineProperty(t,"PetResource",{enumerable:!0,get:function(){return e.default}});var r=Wi;Object.defineProperty(t,"LoanResource",{enumerable:!0,get:function(){return r.default}});var n=Vi;Object.defineProperty(t,"DataResource",{enumerable:!0,get:function(){return n.default}});var a=zi;Object.defineProperty(t,"HomeResource",{enumerable:!0,get:function(){return a.default}});var i=Bi;Object.defineProperty(t,"MopedResource",{enumerable:!0,get:function(){return i.default}});var s=Gi;Object.defineProperty(t,"MotorResource",{enumerable:!0,get:function(){return s.default}});var d=Zi;Object.defineProperty(t,"CarResource",{enumerable:!0,get:function(){return d.default}});var f=Ji;Object.defineProperty(t,"CaravanResource",{enumerable:!0,get:function(){return f.default}});var u=Xi;Object.defineProperty(t,"BikeResource",{enumerable:!0,get:function(){return u.default}});var o=Qi;Object.defineProperty(t,"PackageResource",{enumerable:!0,get:function(){return o.default}});var c=Ki;Object.defineProperty(t,"HouseholdResource",{enumerable:!0,get:function(){return c.default}});var h=eo;Object.defineProperty(t,"HousingResource",{enumerable:!0,get:function(){return h.default}});var l=to;Object.defineProperty(t,"LiabilityResource",{enumerable:!0,get:function(){return l.default}});var p=ro;Object.defineProperty(t,"LegalAssistanceResource",{enumerable:!0,get:function(){return p.default}});var v=no;Object.defineProperty(t,"PartnerResource",{enumerable:!0,get:function(){return v.default}});var y=ao;Object.defineProperty(t,"ComparisonModuleResource",{enumerable:!0,get:function(){return y.default}});var m=io;Object.defineProperty(t,"DocumentResource",{enumerable:!0,get:function(){return m.default}});var _=oo;Object.defineProperty(t,"ComparisonResource",{enumerable:!0,get:function(){return _.default}});var w=so;Object.defineProperty(t,"DataValidationResource",{enumerable:!0,get:function(){return w.default}})}(ce);var Pn=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 d(o){try{u(n.next(o))}catch(c){s(c)}}function f(o){try{u(n.throw(o))}catch(c){s(c)}}function u(o){o.done?i(o.value):a(o.value).then(d,f)}u((n=n.apply(t,e||[])).next())})},Rn=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:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(u){return function(o){return f([u,o])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(r=0)),r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(o){u=[6,o],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(Yi,"__esModule",{value:!0});var gy=ce,by=function(){function t(){this.client=new gy.DataResource}return t.prototype.calculateMaximumLoanAmount=function(e){return Pn(this,void 0,void 0,function(){return Rn(this,function(r){return[2,this.client.calculateMaximumLoanAmount(e)]})})},t.prototype.findVehicle=function(e,r){return Pn(this,void 0,void 0,function(){return Rn(this,function(n){return[2,this.client.findVehicle(e,r)]})})},t.prototype.checkLicensePlate=function(e,r,n){return Pn(this,void 0,void 0,function(){return Rn(this,function(a){return[2,this.client.checkLicensePlate(e,r,n)]})})},t.prototype.validateIBAN=function(e){return Pn(this,void 0,void 0,function(){return Rn(this,function(r){return[2,this.client.validateIBAN(e)]})})},t}();Yi.default=by;var Tr={},wy=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(Tr,"__esModule",{value:!0});var Hu=Wt,Sy=function(){function t(){}return t.prototype.handleRates=function(e){var r,n,a=[new Hu.RateHandler],i=0;try{for(var s=wy(e),d=s.next();!d.done;d=s.next()){var f=d.value;f!==void 0&&(a.push(a[i].setNext(new Hu.RateHandler(f))),i++)}}catch(u){r={error:u}}finally{try{d&&!d.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a[0].handle()},t}();Tr.default=Sy;var Dn={},xe={},jn={};Object.defineProperty(jn,"__esModule",{value:!0});var ky={price:function(t,e){return t.Price-e.Price},coverage:function(t,e){return t.Price-e.Price}};jn.default=ky;var uo={},lo={};Object.defineProperty(lo,"__esModule",{value:!0}),lo.default=function(t,e,r){return Array.from({length:~~((e-t)/r)+1},function(n,a){return t+a*r})};var qu=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(uo,"__esModule",{value:!0});var Uu=jn,Oy=lo;uo.default=function(t){for(var e,r,n,a,i=[],s=1,d=0;d<t.length;d++){var f=parseInt(Object.keys(t[d]).sort().pop());f>s&&(s=f)}try{for(var u=qu((0,Oy.default)(1,s,1)),o=u.next();!o.done;o=u.next()){var c=o.value,h=[];try{for(var l=(n=void 0,qu(t)),p=l.next();!p.done;p=l.next()){var v=p.value;v.hasOwnProperty(c)&&h.push(v[c])}}catch(y){n={error:y}}finally{try{p&&!p.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}h.length>=1&&(h.sort(Uu.default.price),i.push(h.shift())),h=[]}}catch(y){e={error:y}}finally{try{o&&!o.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return i.length>=2&&i.sort(Uu.default.coverage),i},function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.compareRateByCoverage=t.sortBy=void 0;var e=jn;Object.defineProperty(t,"sortBy",{enumerable:!0,get:function(){return e.default}});var r=uo;Object.defineProperty(t,"compareRateByCoverage",{enumerable:!0,get:function(){return r.default}})}(xe);var Wu;function Cy(){if(Wu)return Dn;Wu=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(_){try{m(c.next(_))}catch(w){p(w)}}function y(_){try{m(c.throw(_))}catch(w){p(w)}}function m(_){_.done?l(_.value):h(_.value).then(v,y)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(_){return y([m,_])}}function y(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(_){m=[6,_],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Dn,"__esModule",{value:!0});var n=ce,a=U(),i=xe,s=we(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.PetResource,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("pet",h.sort(i.sortBy.price))]}})})},u.prototype.getPetsecureAdditionalCoverages=function(o){return this.client.getPetsecurAdditionalCoverages(o)},u}(s.RateService);return Dn.default=d,Dn}var $n={},Vu;function My(){if(Vu)return $n;Vu=1;var t=g&&g.__extends||function(){var d=function(f,u){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,c){o.__proto__=c}||function(o,c){for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&(o[h]=c[h])},d(f,u)};return function(f,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");d(f,u);function o(){this.constructor=f}f.prototype=u===null?Object.create(u):(o.prototype=u.prototype,new o)}}(),e=g&&g.__awaiter||function(d,f,u,o){function c(h){return h instanceof u?h:new u(function(l){l(h)})}return new(u||(u=Promise))(function(h,l){function p(m){try{y(o.next(m))}catch(_){l(_)}}function v(m){try{y(o.throw(m))}catch(_){l(_)}}function y(m){m.done?h(m.value):c(m.value).then(p,v)}y((o=o.apply(d,f||[])).next())})},r=g&&g.__generator||function(d,f){var u={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},o,c,h,l;return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(y){return function(m){return v([y,m])}}function v(y){if(o)throw new TypeError("Generator is already executing.");for(;l&&(l=0,y[0]&&(u=0)),u;)try{if(o=1,c&&(h=y[0]&2?c.return:y[0]?c.throw||((h=c.return)&&h.call(c),0):c.next)&&!(h=h.call(c,y[1])).done)return h;switch(c=0,h&&(y=[y[0]&2,h.value]),y[0]){case 0:case 1:h=y;break;case 4:return u.label++,{value:y[1],done:!1};case 5:u.label++,c=y[1],y=[0];continue;case 7:y=u.ops.pop(),u.trys.pop();continue;default:if(h=u.trys,!(h=h.length>0&&h[h.length-1])&&(y[0]===6||y[0]===2)){u=0;continue}if(y[0]===3&&(!h||y[1]>h[0]&&y[1]<h[3])){u.label=y[1];break}if(y[0]===6&&u.label<h[1]){u.label=h[1],h=y;break}if(h&&u.label<h[2]){u.label=h[2],u.ops.push(y);break}h[2]&&u.ops.pop(),u.trys.pop();continue}y=f.call(d,u)}catch(m){y=[6,m],c=0}finally{o=h=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}};Object.defineProperty($n,"__esModule",{value:!0});var n=U(),a=we(),i=ce,s=function(d){t(f,d);function f(){var u=d.call(this)||this;return u.client=new i.LoanResource,u}return f.prototype.getRates=function(u){return e(this,void 0,void 0,function(){var o,c;return r(this,function(h){switch(h.label){case 0:return[4,this.client.getRates(u)];case 1:return o=h.sent(),c=this.handleRates(o),[2,new n.RateCollection("loan",c)]}})})},f.prototype.getFieldValues=function(u){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.getFieldValues(u)]})})},f.prototype.loanRequest=function(u){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.loanRequest(u)]})})},f}(a.RateService);return $n.default=s,$n}var Tn={},zu;function xy(){if(zu)return Tn;zu=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(_){try{m(c.next(_))}catch(w){p(w)}}function y(_){try{m(c.throw(_))}catch(w){p(w)}}function m(_){_.done?l(_.value):h(_.value).then(v,y)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(_){return y([m,_])}}function y(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(_){m=[6,_],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Tn,"__esModule",{value:!0});var n=ce,a=U(),i=xe,s=we(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.HomeResource,o}return u.prototype.findHome=function(o){return this.client.findHome(o)},u.prototype.getAddition=function(o){return this.client.getAddition(o)},u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("home",h.sort(i.sortBy.price))]}})})},u.prototype.getAmount=function(o){return this.client.getAmount(o)},u}(s.RateService);return Tn.default=d,Tn}var Yn={},Bu;function Py(){if(Bu)return Yn;Bu=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(_){try{m(c.next(_))}catch(w){p(w)}}function y(_){try{m(c.throw(_))}catch(w){p(w)}}function m(_){_.done?l(_.value):h(_.value).then(v,y)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(_){return y([m,_])}}function y(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(_){m=[6,_],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Yn,"__esModule",{value:!0});var n=ce,a=U(),i=xe,s=we(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.MopedResource,o}return u.prototype.findMoped=function(o){return this.client.findMoped(o)},u.prototype.checkValidity=function(o){return this.client.checkValidity(o)},u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("moped",h.sort(i.sortBy.price))]}})})},u.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("moped",(0,i.compareRateByCoverage)(h))]}})})},u.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getRiskAdditionalCoverages(o)]})})},u.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},u.prototype.getEnraAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getEnraAdditionalCoverages(o)]})})},u.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},u}(s.RateService);return Yn.default=d,Yn}var An={},Gu;function Ry(){if(Gu)return An;Gu=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(_){try{m(c.next(_))}catch(w){p(w)}}function y(_){try{m(c.throw(_))}catch(w){p(w)}}function m(_){_.done?l(_.value):h(_.value).then(v,y)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(_){return y([m,_])}}function y(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(_){m=[6,_],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(An,"__esModule",{value:!0});var n=ce,a=U(),i=xe,s=we(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.MotorResource,o}return u.prototype.findMotor=function(o){return this.client.findMotor(o)},u.prototype.checkValidity=function(o){return this.client.checkValidity(o)},u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("motor",h.sort(i.sortBy.price))]}})})},u.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("motor",(0,i.compareRateByCoverage)(h))]}})})},u.prototype.getCoverageRateComparisonForCoverage=function(o,c){return e(this,void 0,void 0,function(){var h,l;return r(this,function(p){switch(p.label){case 0:return[4,this.client.getCoverageRateComparison(c,o)];case 1:return h=p.sent(),l=this.handleRates(h),[2,new a.RateCollection("motor",(0,i.compareRateByCoverage)(l))]}})})},u.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},u.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},u.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getRollsAdditionalCoverages(o)]})})},u}(s.RateService);return An.default=d,An}var In={},Zu;function Dy(){if(Zu)return In;Zu=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(_){try{m(c.next(_))}catch(w){p(w)}}function y(_){try{m(c.throw(_))}catch(w){p(w)}}function m(_){_.done?l(_.value):h(_.value).then(v,y)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(_){return y([m,_])}}function y(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(_){m=[6,_],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(In,"__esModule",{value:!0});var n=ce,a=U(),i=xe,s=we(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.CaravanResource,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("caravan",h.sort(i.sortBy.price))]}})})},u.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("caravan",(0,i.compareRateByCoverage)(h))]}})})},u.prototype.getCaravanBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getCaravanBrands(o)]})})},u.prototype.getCaravanVDBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getCaravanVDBrands(o)]})})},u.prototype.getCaravanModels=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getCaravanModels(o)]})})},u.prototype.getCaravanTypes=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getCaravanTypes(o)]})})},u.prototype.getCaravanCatalogPrice=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getCaravanCatalogPrice(o)]})})},u}(s.RateService);return In.default=d,In}var Fn={},Ju;function jy(){if(Ju)return Fn;Ju=1;var t=g&&g.__extends||function(){var u=function(o,c){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&(h[p]=l[p])},u(o,c)};return function(o,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");u(o,c);function h(){this.constructor=o}o.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}}(),e=g&&g.__awaiter||function(u,o,c,h){function l(p){return p instanceof c?p:new c(function(v){v(p)})}return new(c||(c=Promise))(function(p,v){function y(w){try{_(h.next(w))}catch(j){v(j)}}function m(w){try{_(h.throw(w))}catch(j){v(j)}}function _(w){w.done?p(w.value):l(w.value).then(y,m)}_((h=h.apply(u,o||[])).next())})},r=g&&g.__generator||function(u,o){var c={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},h,l,p,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 m([_,w])}}function m(_){if(h)throw new TypeError("Generator is already executing.");for(;v&&(v=0,_[0]&&(c=0)),c;)try{if(h=1,l&&(p=_[0]&2?l.return:_[0]?l.throw||((p=l.return)&&p.call(l),0):l.next)&&!(p=p.call(l,_[1])).done)return p;switch(l=0,p&&(_=[_[0]&2,p.value]),_[0]){case 0:case 1:p=_;break;case 4:return c.label++,{value:_[1],done:!1};case 5:c.label++,l=_[1],_=[0];continue;case 7:_=c.ops.pop(),c.trys.pop();continue;default:if(p=c.trys,!(p=p.length>0&&p[p.length-1])&&(_[0]===6||_[0]===2)){c=0;continue}if(_[0]===3&&(!p||_[1]>p[0]&&_[1]<p[3])){c.label=_[1];break}if(_[0]===6&&c.label<p[1]){c.label=p[1],p=_;break}if(p&&c.label<p[2]){c.label=p[2],c.ops.push(_);break}p[2]&&c.ops.pop(),c.trys.pop();continue}_=o.call(u,c)}catch(w){_=[6,w],l=0}finally{h=p=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}};Object.defineProperty(Fn,"__esModule",{value:!0});var n=ce,a=U(),i=Wt,s=xe,d=Tr,f=function(u){t(o,u);function o(){var c=u.call(this)||this;return c.client=new n.BikeResource,c}return o.prototype.getRates=function(c){return e(this,void 0,void 0,function(){var h,l;return r(this,function(p){switch(p.label){case 0:return[4,this.client.getRates(c)];case 1:return h=p.sent(),l=this.handleRates(h),[2,new a.RateCollection("bike",l.sort(s.sortBy.price))]}})})},o.prototype.getEnraRates=function(c){return e(this,void 0,void 0,function(){var h,l,p;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getEnraRates(c)];case 1:return h=v.sent(),l=new i.RateHandler(h),p=l.handle(),[2,new a.RateCollection("bike",p.sort(s.sortBy.price))]}})})},o}(d.default);return Fn.default=f,Fn}var Nn={},Xu;function $y(){if(Xu)return Nn;Xu=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(_){try{m(c.next(_))}catch(w){p(w)}}function y(_){try{m(c.throw(_))}catch(w){p(w)}}function m(_){_.done?l(_.value):h(_.value).then(v,y)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(_){return y([m,_])}}function y(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(_){m=[6,_],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Nn,"__esModule",{value:!0});var n=ce,a=U(),i=xe,s=we(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.HouseholdResource,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("household",h.sort(i.sortBy.price))]}})})},u.prototype.getAmount=function(o){return this.client.getAmount(o)},u}(s.RateService);return Nn.default=d,Nn}var co={},fo={},Ty=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(fo,"__esModule",{value:!0});var Yy=be,Ay=function(t){Ty(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}(Yy.default);fo.default=Ay,Object.defineProperty(co,"__esModule",{value:!0});var Iy=fo,Fy=function(){function t(){this.client=new Iy.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}();co.default=Fy;var En={},Qu;function Ny(){if(Qu)return En;Qu=1;var t=g&&g.__extends||function(){var u=function(o,c){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&(h[p]=l[p])},u(o,c)};return function(o,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");u(o,c);function h(){this.constructor=o}o.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}}(),e=g&&g.__awaiter||function(u,o,c,h){function l(p){return p instanceof c?p:new c(function(v){v(p)})}return new(c||(c=Promise))(function(p,v){function y(w){try{_(h.next(w))}catch(j){v(j)}}function m(w){try{_(h.throw(w))}catch(j){v(j)}}function _(w){w.done?p(w.value):l(w.value).then(y,m)}_((h=h.apply(u,o||[])).next())})},r=g&&g.__generator||function(u,o){var c={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},h,l,p,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 m([_,w])}}function m(_){if(h)throw new TypeError("Generator is already executing.");for(;v&&(v=0,_[0]&&(c=0)),c;)try{if(h=1,l&&(p=_[0]&2?l.return:_[0]?l.throw||((p=l.return)&&p.call(l),0):l.next)&&!(p=p.call(l,_[1])).done)return p;switch(l=0,p&&(_=[_[0]&2,p.value]),_[0]){case 0:case 1:p=_;break;case 4:return c.label++,{value:_[1],done:!1};case 5:c.label++,l=_[1],_=[0];continue;case 7:_=c.ops.pop(),c.trys.pop();continue;default:if(p=c.trys,!(p=p.length>0&&p[p.length-1])&&(_[0]===6||_[0]===2)){c=0;continue}if(_[0]===3&&(!p||_[1]>p[0]&&_[1]<p[3])){c.label=_[1];break}if(_[0]===6&&c.label<p[1]){c.label=p[1],p=_;break}if(p&&c.label<p[2]){c.label=p[2],c.ops.push(_);break}p[2]&&c.ops.pop(),c.trys.pop();continue}_=o.call(u,c)}catch(w){_=[6,w],l=0}finally{h=p=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}};Object.defineProperty(En,"__esModule",{value:!0});var n=ce,a=U(),i=Wt,s=xe,d=we(),f=function(u){t(o,u);function o(){var c=u.call(this)||this;return c.client=new n.HousingResource,c}return o.prototype.getRates=function(c){return e(this,void 0,void 0,function(){var h,l;return r(this,function(p){switch(p.label){case 0:return[4,this.client.getRates(c)];case 1:return h=p.sent(),l=this.handleRates(h),[2,new a.RateCollection("housing",l.sort(s.sortBy.price))]}})})},o.prototype.getMoneyviewRates=function(c){return e(this,void 0,void 0,function(){var h,l,p;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getMoneyviewRates(c)];case 1:return h=v.sent(),l=new i.RateHandler(h),p=l.handle(),[2,new a.RateCollection("housing",p.sort(s.sortBy.price))]}})})},o}(d.RateService);return En.default=f,En}var Ln={},Ku;function Ey(){if(Ku)return Ln;Ku=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(_){try{m(c.next(_))}catch(w){p(w)}}function y(_){try{m(c.throw(_))}catch(w){p(w)}}function m(_){_.done?l(_.value):h(_.value).then(v,y)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(_){return y([m,_])}}function y(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(_){m=[6,_],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Ln,"__esModule",{value:!0});var n=ce,a=U(),i=xe,s=we(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.LiabilityResource,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("liability",h.sort(i.sortBy.price))]}})})},u}(s.RateService);return Ln.default=d,Ln}var Hn={},el;function Ly(){if(el)return Hn;el=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(_){try{m(c.next(_))}catch(w){p(w)}}function y(_){try{m(c.throw(_))}catch(w){p(w)}}function m(_){_.done?l(_.value):h(_.value).then(v,y)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(_){return y([m,_])}}function y(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(_){m=[6,_],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Hn,"__esModule",{value:!0});var n=ce,a=U(),i=xe,s=we(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.LegalAssistanceResource,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("legal-assistance",h.sort(i.sortBy.price))]}})})},u.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},u.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},u.prototype.getVergelijkdirectAdditionalCoverages=function(o){return this.client.getVergelijkdirectAdditionalCoverages(o)},u}(s.RateService);return Hn.default=d,Hn}var ho={};Object.defineProperty(ho,"__esModule",{value:!0});var Hy=ce,qy=function(){function t(){this.client=new Hy.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}();ho.default=qy;var mo={};Object.defineProperty(mo,"__esModule",{value:!0});var Uy=ce,Wy=function(){function t(){this.client=new Uy.ComparisonModuleResource}return t.prototype.getInitializationData=function(){return this.client.getInitializationData()},t.prototype.getScriptSource=function(){return this.client.getScriptSource()},t}();mo.default=Wy;var qn={},po={},vo={};Object.defineProperty(vo,"__esModule",{value:!0});var Vy=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}();vo.default=Vy;var Un={},tl;function zy(){if(tl)return Un;tl=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(s[f]=d[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(Un,"__esModule",{value:!0});var e=nl(),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 Un.default=r,Un}var rl;function nl(){return rl||(rl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultConfigurationModel=t.ConfigurationModel=void 0;var e=vo;Object.defineProperty(t,"ConfigurationModel",{enumerable:!0,get:function(){return e.default}});var r=zy();Object.defineProperty(t,"DefaultConfigurationModel",{enumerable:!0,get:function(){return r.default}})}(po)),po}var al;function By(){if(al)return qn;al=1;var t=g&&g.__awaiter||function(i,s,d,f){function u(o){return o instanceof d?o:new d(function(c){c(o)})}return new(d||(d=Promise))(function(o,c){function h(v){try{p(f.next(v))}catch(y){c(y)}}function l(v){try{p(f.throw(v))}catch(y){c(y)}}function p(v){v.done?o(v.value):u(v.value).then(h,l)}p((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var d={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,u,o,c;return c={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function h(p){return function(v){return l([p,v])}}function l(p){if(f)throw new TypeError("Generator is already executing.");for(;c&&(c=0,p[0]&&(d=0)),d;)try{if(f=1,u&&(o=p[0]&2?u.return:p[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,p[1])).done)return o;switch(u=0,o&&(p=[p[0]&2,o.value]),p[0]){case 0:case 1:o=p;break;case 4:return d.label++,{value:p[1],done:!1};case 5:d.label++,u=p[1],p=[0];continue;case 7:p=d.ops.pop(),d.trys.pop();continue;default:if(o=d.trys,!(o=o.length>0&&o[o.length-1])&&(p[0]===6||p[0]===2)){d=0;continue}if(p[0]===3&&(!o||p[1]>o[0]&&p[1]<o[3])){d.label=p[1];break}if(p[0]===6&&d.label<o[1]){d.label=o[1],o=p;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(p);break}o[2]&&d.ops.pop(),d.trys.pop();continue}p=s.call(i,d)}catch(v){p=[6,v],u=0}finally{f=o=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(qn,"__esModule",{value:!0});var r=we(),n=nl(),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,d,f;return e(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,this.configurationService.getInitializationData()];case 1:return s=u.sent(),d=new n.ConfigurationModel(s),this.setConfigurations(d),[3,3];case 2:return f=u.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 qn.default=a,qn}var Wn={},Vn={},_o={};Object.defineProperty(_o,"__esModule",{value:!0});function Gy(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]}_o.default=Gy;var yo={};Object.defineProperty(yo,"__esModule",{value:!0}),yo.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=_o;Object.defineProperty(t,"mapRiskInsurances",{enumerable:!0,get:function(){return e.default}});var r=yo;Object.defineProperty(t,"insuranceKeyConfig",{enumerable:!0,get:function(){return r.default}})}(Vn);var Yr={};Object.defineProperty(Yr,"__esModule",{value:!0}),Yr.supplierPlacementTracker=void 0,Yr.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 il;function Zy(){if(il)return Wn;il=1;var t=g&&g.__awaiter||function(o,c,h,l){function p(v){return v instanceof h?v:new h(function(y){y(v)})}return new(h||(h=Promise))(function(v,y){function m(j){try{w(l.next(j))}catch(V){y(V)}}function _(j){try{w(l.throw(j))}catch(V){y(V)}}function w(j){j.done?v(j.value):p(j.value).then(m,_)}w((l=l.apply(o,c||[])).next())})},e=g&&g.__generator||function(o,c){var h={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]},l,p,v,y;return y={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(y[Symbol.iterator]=function(){return this}),y;function m(w){return function(j){return _([w,j])}}function _(w){if(l)throw new TypeError("Generator is already executing.");for(;y&&(y=0,w[0]&&(h=0)),h;)try{if(l=1,p&&(v=w[0]&2?p.return:w[0]?p.throw||((v=p.return)&&v.call(p),0):p.next)&&!(v=v.call(p,w[1])).done)return v;switch(p=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++,p=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=c.call(o,h)}catch(j){w=[6,j],p=0}finally{l=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 c=typeof Symbol=="function"&&Symbol.iterator,h=c&&o[c],l=0;if(h)return h.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&l>=o.length&&(o=void 0),{value:o&&o[l++],done:!o}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Wn,"__esModule",{value:!0});var n=ce,a=Vn,i=U(),s=xe,d=Yr,f=nr,u=function(){function o(){this.client=new n.PackageResource}return o.prototype.calculatePackage=function(c){return this.client.calculatePackage(c)},o.prototype.calculateAdditionalCoverages=function(c){return this.client.calculateAdditionalCoverages(c)},o.prototype.calculatePackages=function(c){return t(this,void 0,void 0,function(){var h,l,p,v,y,m,_,w,j;return e(this,function(V){switch(V.label){case 0:h=new i.RateCollection,l=[],V.label=1;case 1:return V.trys.push([1,3,,4]),[4,this.client.calculatePackages(c)];case 2:return l=V.sent(),l.length===0?[2,h]:[3,4];case 3:return V.sent(),[2,h];case 4:if(p=f.Injector.instance.get(c),v=[],p.funnel!="package")return[2,new i.RateCollection("package",l.filter(Boolean).sort(s.sortBy.price))];try{for(y=r(l),m=y.next();!m.done;m=y.next())_=m.value,v.push(this.client.calculatePackageDiscount(_.CompanyName,_).catch(function(A){return null}))}catch(A){w={error:A}}finally{try{m&&!m.done&&(j=y.return)&&j.call(y)}finally{if(w)throw w.error}}return[2,Promise.all(v).then(function(A){return new i.RateCollection("package",A.filter(Boolean).sort(s.sortBy.price))})]}})})},o.prototype.calculateCompanyDiscount=function(c,h){return this.client.calculatePackageDiscount(c,h)},o.prototype.requestPackage=function(c){return t(this,void 0,void 0,function(){var h;return e(this,function(l){switch(l.label){case 0:return localStorage.getItem("supplierID")&&localStorage.getItem("placementID")&&(c.SupplierID=localStorage.getItem("supplierID"),c.PlacementID=localStorage.getItem("placementID")),[4,this.client.requestPackage(c)];case 1:return h=l.sent(),d.supplierPlacementTracker.removeParams(),[2,h]}})})},o.prototype.savePackage=function(c){return this.client.savePackage(c)},o.prototype.addAdditionalUserInfo=function(c){return this.client.addAdditionalUserInfo(c)},o.prototype.annualDiscount=function(c){return this.client.annualDiscount(c)},o.prototype.getRequest=function(c){for(var h={},l=0;l<c.length;l++){var p=(0,a.mapRiskInsurances)(c[l].Category);h.hasOwnProperty(p)||(h[p]=[]),h[p].push(c[l])}return h},o}();return Wn.default=u,Wn}var zn={},ol;function Jy(){if(ol)return zn;ol=1;var t=g&&g.__awaiter||function(i,s,d,f){function u(o){return o instanceof d?o:new d(function(c){c(o)})}return new(d||(d=Promise))(function(o,c){function h(v){try{p(f.next(v))}catch(y){c(y)}}function l(v){try{p(f.throw(v))}catch(y){c(y)}}function p(v){v.done?o(v.value):u(v.value).then(h,l)}p((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var d={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,u,o,c;return c={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function h(p){return function(v){return l([p,v])}}function l(p){if(f)throw new TypeError("Generator is already executing.");for(;c&&(c=0,p[0]&&(d=0)),d;)try{if(f=1,u&&(o=p[0]&2?u.return:p[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,p[1])).done)return o;switch(u=0,o&&(p=[p[0]&2,o.value]),p[0]){case 0:case 1:o=p;break;case 4:return d.label++,{value:p[1],done:!1};case 5:d.label++,u=p[1],p=[0];continue;case 7:p=d.ops.pop(),d.trys.pop();continue;default:if(o=d.trys,!(o=o.length>0&&o[o.length-1])&&(p[0]===6||p[0]===2)){d=0;continue}if(p[0]===3&&(!o||p[1]>o[0]&&p[1]<o[3])){d.label=p[1];break}if(p[0]===6&&d.label<o[1]){d.label=o[1],o=p;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(p);break}o[2]&&d.ops.pop(),d.trys.pop();continue}p=s.call(i,d)}catch(v){p=[6,v],u=0}finally{f=o=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(zn,"__esModule",{value:!0});var r=ce,n=U(),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 d=this;return e(this,function(f){return[2,function(){var u=!1,o=new n.DocumentsModel({ConditionUrls:[],InsuranceCards:[]});return function(){return t(d,void 0,void 0,function(){var c,h;return e(this,function(l){switch(l.label){case 0:if(u)return[3,4];u=!0,l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.client.getMoneyviewDocumentList(s)];case 2:return c=l.sent(),[2,new n.DocumentsModel(c)];case 3:return h=l.sent(),console.error(h),[3,4];case 4:return[2,o]}})})}}()]})})},i}();return zn.default=a,zn}var Bn={},go={},Gn={},sl;function Xy(){if(sl)return Gn;sl=1;var t=g&&g.__values||function(a){var i=typeof Symbol=="function"&&Symbol.iterator,s=i&&a[i],d=0;if(s)return s.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&d>=a.length&&(a=void 0),{value:a&&a[d++],done:!a}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Gn,"__esModule",{value:!0});var e=U(),r=Vn,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 d,f;try{for(var u=t(r.insuranceKeyConfig),o=u.next();!o.done;o=u.next()){var c=o.value,h=(0,r.mapRiskInsurances)(c,!0);if(s.hasOwnProperty(c)){var l=s[c];if(!(Array.isArray(l)&&l.length)){delete s[c];continue}for(var p=new e.RateCollection(h,[]),v=0;v<s[c].length;v++)p.push(a.createRate(h,l[v]));s[c]=p}}}catch(y){d={error:y}}finally{try{o&&!o.done&&(f=u.return)&&f.call(u)}finally{if(d)throw d.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 Gn.default=n,Gn}var Zn={},ul;function Qy(){if(ul)return Zn;ul=1,Object.defineProperty(Zn,"__esModule",{value:!0});var t=we(),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 Zn.default=e,Zn}var Jn={},ll;function Ky(){if(ll)return Jn;ll=1,Object.defineProperty(Jn,"__esModule",{value:!0});var t=U(),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 Jn.default=e,Jn}var cl;function _t(){return cl||(cl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComparisonFactory=t.ApiServiceFactory=t.RateFactory=void 0;var e=Xy();Object.defineProperty(t,"RateFactory",{enumerable:!0,get:function(){return e.default}});var r=Qy();Object.defineProperty(t,"ApiServiceFactory",{enumerable:!0,get:function(){return r.default}});var n=Ky();Object.defineProperty(t,"ComparisonFactory",{enumerable:!0,get:function(){return n.default}})}(go)),go}var dl;function eg(){if(dl)return Bn;dl=1;var t=g&&g.__awaiter||function(s,d,f,u){function o(c){return c instanceof f?c:new f(function(h){h(c)})}return new(f||(f=Promise))(function(c,h){function l(y){try{v(u.next(y))}catch(m){h(m)}}function p(y){try{v(u.throw(y))}catch(m){h(m)}}function v(y){y.done?c(y.value):o(y.value).then(l,p)}v((u=u.apply(s,d||[])).next())})},e=g&&g.__generator||function(s,d){var f={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},u,o,c,h;return h={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function l(v){return function(y){return p([v,y])}}function p(v){if(u)throw new TypeError("Generator is already executing.");for(;h&&(h=0,v[0]&&(f=0)),f;)try{if(u=1,o&&(c=v[0]&2?o.return:v[0]?o.throw||((c=o.return)&&c.call(o),0):o.next)&&!(c=c.call(o,v[1])).done)return c;switch(o=0,c&&(v=[v[0]&2,c.value]),v[0]){case 0:case 1:c=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(c=f.trys,!(c=c.length>0&&c[c.length-1])&&(v[0]===6||v[0]===2)){f=0;continue}if(v[0]===3&&(!c||v[1]>c[0]&&v[1]<c[3])){f.label=v[1];break}if(v[0]===6&&f.label<c[1]){f.label=c[1],c=v;break}if(c&&f.label<c[2]){f.label=c[2],f.ops.push(v);break}c[2]&&f.ops.pop(),f.trys.pop();continue}v=d.call(s,f)}catch(y){v=[6,y],o=0}finally{u=c=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}};Object.defineProperty(Bn,"__esModule",{value:!0});var r=ce,n=_t(),a=nr,i=function(){function s(){this.client=new r.ComparisonResource}return s.prototype.create=function(d,f){return f===void 0&&(f=null),t(this,void 0,void 0,function(){var u,o;return e(this,function(c){switch(c.label){case 0:return u={funnel:d},f!==null&&(u.user=f),[4,this.client.create(u)];case 1:return o=c.sent(),[2,n.ComparisonFactory.createFromResponse(o)]}})})},s.prototype.update=function(d){return t(this,void 0,void 0,function(){var f,u;return e(this,function(o){switch(o.label){case 0:return f=d.toObject(),[4,this.client.update(f,d.getId())];case 1:return u=o.sent(),[2,n.ComparisonFactory.createFromResponse(u)]}})})},s.prototype.get=function(d){return t(this,void 0,void 0,function(){var f,u;return e(this,function(o){switch(o.label){case 0:return[4,this.client.get(d)];case 1:return f=o.sent(),u=n.ComparisonFactory.createFromResponse(f),a.Injector.instance.constant(u.getId(),{funnel:u.getFunnel()}),a.Injector.instance.constant("X-Comparison-Funnel",u.getFunnel()),[2,u]}})})},s}();return Bn.default=i,Bn}var bo={};Object.defineProperty(bo,"__esModule",{value:!0});var tg=ce,rg=function(){function t(){this.client=new tg.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}();bo.default=rg;var Xn={},fl;function ng(){if(fl)return Xn;fl=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(_){try{m(c.next(_))}catch(w){p(w)}}function y(_){try{m(c.throw(_))}catch(w){p(w)}}function m(_){_.done?l(_.value):h(_.value).then(v,y)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(_){return y([m,_])}}function y(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(_){m=[6,_],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Xn,"__esModule",{value:!0});var n=ce,a=U(),i=xe,s=we(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.CarResource,o}return u.prototype.findCar=function(o){return this.client.findCar(o)},u.prototype.checkValidity=function(o){return this.client.checkValidity(o)},u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("car",h.sort(i.sortBy.price))]}})})},u.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getRiskAdditionalCoverages(o)]})})},u.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getRollsAdditionalCoverages(o)]})})},u.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},u}(s.RateService);return Xn.default=d,Xn}var Qn={},wo={},ag=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(wo,"__esModule",{value:!0});var ig=be,og=function(t){ag(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}(ig.default);wo.default=og;var hl;function sg(){if(hl)return Qn;hl=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(_){try{m(c.next(_))}catch(w){p(w)}}function y(_){try{m(c.throw(_))}catch(w){p(w)}}function m(_){_.done?l(_.value):h(_.value).then(v,y)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(_){return y([m,_])}}function y(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(_){m=[6,_],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Qn,"__esModule",{value:!0});var n=U(),a=xe,i=Tr,s=wo,d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new s.default,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new n.RateCollection("travel",h.sort(a.sortBy.price))]}})})},u.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getRiskAdditionalCoverages(o)]})})},u.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},u.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},u}(i.default);return Qn.default=d,Qn}var So={},ko={},ug=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(ko,"__esModule",{value:!0});var lg=We,cg=function(t){ug(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}(lg.default);ko.default=cg,Object.defineProperty(So,"__esModule",{value:!0});var dg=ko,fg=function(){function t(){this.client=new dg.default}return t.prototype.create=function(e){return this.client.create(e)},t}();So.default=fg;var ml;function we(){return ml||(ml=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=Yi;Object.defineProperty(t,"DataService",{enumerable:!0,get:function(){return e.default}});var r=Tr;Object.defineProperty(t,"RateService",{enumerable:!0,get:function(){return r.default}});var n=Cy();Object.defineProperty(t,"PetService",{enumerable:!0,get:function(){return n.default}});var a=My();Object.defineProperty(t,"LoanService",{enumerable:!0,get:function(){return a.default}});var i=xy();Object.defineProperty(t,"HomeService",{enumerable:!0,get:function(){return i.default}});var s=Py();Object.defineProperty(t,"MopedService",{enumerable:!0,get:function(){return s.default}});var d=Ry();Object.defineProperty(t,"MotorService",{enumerable:!0,get:function(){return d.default}});var f=Dy();Object.defineProperty(t,"CaravanService",{enumerable:!0,get:function(){return f.default}});var u=jy();Object.defineProperty(t,"BikeService",{enumerable:!0,get:function(){return u.default}});var o=$y();Object.defineProperty(t,"HouseholdService",{enumerable:!0,get:function(){return o.default}});var c=co;Object.defineProperty(t,"V1Service",{enumerable:!0,get:function(){return c.default}});var h=Ny();Object.defineProperty(t,"HousingService",{enumerable:!0,get:function(){return h.default}});var l=Ey();Object.defineProperty(t,"LiabilityService",{enumerable:!0,get:function(){return l.default}});var p=Ly();Object.defineProperty(t,"LegalAssistanceService",{enumerable:!0,get:function(){return p.default}});var v=ho;Object.defineProperty(t,"PartnerService",{enumerable:!0,get:function(){return v.default}});var y=mo;Object.defineProperty(t,"ComparisonModuleService",{enumerable:!0,get:function(){return y.default}});var m=By();Object.defineProperty(t,"ConfigurationsService",{enumerable:!0,get:function(){return m.default}});var _=Zy();Object.defineProperty(t,"PackageService",{enumerable:!0,get:function(){return _.default}});var w=Jy();Object.defineProperty(t,"DocumentService",{enumerable:!0,get:function(){return w.default}});var j=eg();Object.defineProperty(t,"ComparisonService",{enumerable:!0,get:function(){return j.default}});var V=bo;Object.defineProperty(t,"DataValidationService",{enumerable:!0,get:function(){return V.default}});var A=ng();Object.defineProperty(t,"CarService",{enumerable:!0,get:function(){return A.default}});var W=sg();Object.defineProperty(t,"TravelService",{enumerable:!0,get:function(){return W.default}});var Oe=So;Object.defineProperty(t,"UserService",{enumerable:!0,get:function(){return Oe.default}})}(Ti)),Ti}var pl;function vl(){if(pl)return kn;pl=1;var t=g&&g.__awaiter||function(i,s,d,f){function u(o){return o instanceof d?o:new d(function(c){c(o)})}return new(d||(d=Promise))(function(o,c){function h(v){try{p(f.next(v))}catch(y){c(y)}}function l(v){try{p(f.throw(v))}catch(y){c(y)}}function p(v){v.done?o(v.value):u(v.value).then(h,l)}p((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var d={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,u,o,c;return c={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function h(p){return function(v){return l([p,v])}}function l(p){if(f)throw new TypeError("Generator is already executing.");for(;c&&(c=0,p[0]&&(d=0)),d;)try{if(f=1,u&&(o=p[0]&2?u.return:p[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,p[1])).done)return o;switch(u=0,o&&(p=[p[0]&2,o.value]),p[0]){case 0:case 1:o=p;break;case 4:return d.label++,{value:p[1],done:!1};case 5:d.label++,u=p[1],p=[0];continue;case 7:p=d.ops.pop(),d.trys.pop();continue;default:if(o=d.trys,!(o=o.length>0&&o[o.length-1])&&(p[0]===6||p[0]===2)){d=0;continue}if(p[0]===3&&(!o||p[1]>o[0]&&p[1]<o[3])){d.label=p[1];break}if(p[0]===6&&d.label<o[1]){d.label=o[1],o=p;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(p);break}o[2]&&d.ops.pop(),d.trys.pop();continue}p=s.call(i,d)}catch(v){p=[6,v],u=0}finally{f=o=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(kn,"__esModule",{value:!0});var r=we(),n=U(),a=function(){function i(s,d){this.data=d,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,d){d===void 0&&(d=null);try{return s.split(".").reduce(function(f,u){return f[u]},this.getData())}catch(f){return d}},i.prototype.set=function(s,d){return this.data[s]=d,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(d){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 kn.default=a,kn}var Kn={},ea={},_l;function yl(){if(_l)return ea;_l=1;var t=g&&g.__values||function(a){var i=typeof Symbol=="function"&&Symbol.iterator,s=i&&a[i],d=0;if(s)return s.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&d>=a.length&&(a=void 0),{value:a&&a[d++],done:!a}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ea,"__esModule",{value:!0});var e=U(),r=_t(),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 d=0;d<s.length;d++)this.rates.push(r.RateFactory.get(i,s[d]))}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,d=[];try{for(var f=t(this.rates),u=f.next();!u.done;u=f.next()){var o=u.value;d.push(o.getData())}}catch(c){i={error:c}}finally{try{u&&!u.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}return d},a}();return ea.default=n,ea}var gl;function hg(){if(gl)return Kn;gl=1;var t=g&&g.__extends||function(){var d=function(f,u){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,c){o.__proto__=c}||function(o,c){for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&(o[h]=c[h])},d(f,u)};return function(f,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");d(f,u);function o(){this.constructor=f}f.prototype=u===null?Object.create(u):(o.prototype=u.prototype,new o)}}(),e=g&&g.__values||function(d){var f=typeof Symbol=="function"&&Symbol.iterator,u=f&&d[f],o=0;if(u)return u.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&o>=d.length&&(d=void 0),{value:d&&d[o++],done:!d}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Kn,"__esModule",{value:!0});var r=U(),n=_t(),a=Vn,i=yl(),s=function(d){t(f,d);function f(){return d!==null&&d.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(u){var o,c;u===void 0&&(u=null);var h=d.prototype.getData.call(this);if(u!==null)return h[(0,a.mapRiskInsurances)(u)];var l=new i.default;try{for(var p=e(a.insuranceKeyConfig),v=p.next();!v.done;v=p.next()){var y=v.value;h.hasOwnProperty(y)&&(l=l.merge(h[y]))}}catch(m){o={error:m}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(o)throw o.error}}return l},f.prototype.getData=function(){var u,o,c,h,l=d.prototype.getData.call(this);try{for(var p=e(a.insuranceKeyConfig),v=p.next();!v.done;v=p.next()){var y=v.value;if(l.hasOwnProperty(y)){var m=[];try{for(var _=(c=void 0,e(l[y].all())),w=_.next();!w.done;w=_.next()){var j=w.value;m.push(j.getData())}}catch(V){c={error:V}}finally{try{w&&!w.done&&(h=_.return)&&h.call(_)}finally{if(c)throw c.error}}l[y]=m}}}catch(V){u={error:V}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return l},f}(r.Rate);return Kn.default=s,Kn}var ta={},bl;function mg(){if(bl)return ta;bl=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(s[f]=d[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(ta,"__esModule",{value:!0});var e=U(),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 ta.default=r,ta}var ra={},wl;function pg(){if(wl)return ra;wl=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var u in f)Object.prototype.hasOwnProperty.call(f,u)&&(d[u]=f[u])},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 d(){this.constructor=i}i.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}();Object.defineProperty(ra,"__esModule",{value:!0});var e=U(),r=_t(),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 ra.default=n,ra}var na={},Sl;function vg(){if(Sl)return na;Sl=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var u in f)Object.prototype.hasOwnProperty.call(f,u)&&(d[u]=f[u])},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 d(){this.constructor=i}i.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}();Object.defineProperty(na,"__esModule",{value:!0});var e=U(),r=_t(),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 na.default=n,na}var aa={},kl;function _g(){if(kl)return aa;kl=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var u in f)Object.prototype.hasOwnProperty.call(f,u)&&(d[u]=f[u])},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 d(){this.constructor=i}i.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}();Object.defineProperty(aa,"__esModule",{value:!0});var e=U(),r=_t(),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 aa.default=n,aa}var ia={},Ol;function yg(){if(Ol)return ia;Ol=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var u in f)Object.prototype.hasOwnProperty.call(f,u)&&(d[u]=f[u])},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 d(){this.constructor=i}i.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}();Object.defineProperty(ia,"__esModule",{value:!0});var e=U(),r=_t(),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 ia.default=n,ia}var oa={},Cl;function gg(){if(Cl)return oa;Cl=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var u in f)Object.prototype.hasOwnProperty.call(f,u)&&(d[u]=f[u])},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 d(){this.constructor=i}i.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}();Object.defineProperty(oa,"__esModule",{value:!0});var e=vl(),r=_t(),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 oa.default=n,oa}var sa={},Ml;function bg(){if(Ml)return sa;Ml=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(s[f]=d[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(sa,"__esModule",{value:!0});var e=U(),r=function(n){t(a,n);function a(){return n!==null&&n.apply(this,arguments)||this}return a}(e.Rate);return sa.default=r,sa}var ua={},xl;function wg(){if(xl)return ua;xl=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(s[f]=d[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(ua,"__esModule",{value:!0});var e=U(),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 ua.default=r,ua}var Oo={};Object.defineProperty(Oo,"__esModule",{value:!0});var Sg=function(){function t(e){var r,n,a,i,s,d,f,u,o,c;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=(d=e.house_number)!==null&&d!==void 0?d:null,this.house_number_addition=(f=e.house_number_addition)!==null&&f!==void 0?f:null,this.family_composition=(u=e.family_composition)!==null&&u!==void 0?u:null,this.birth_date=(o=e.birth_date)!==null&&o!==void 0?o:null,this.detail=(c=e.detail)!==null&&c!==void 0?c: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}();Oo.default=Sg;var Co={},la={},Pl;function kg(){if(Pl)return la;Pl=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(s[f]=d[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(la,"__esModule",{value:!0});var e=U(),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 la.default=r,la}var Rl;function Og(){return Rl||(Rl=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.PetsecurRate=void 0;var e=kg();Object.defineProperty(t,"PetsecurRate",{enumerable:!0,get:function(){return e.default}})}(Co)),Co}var Mo={},ca={};//! moment.js
|
|
9
|
+
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var xu={};function Du(t,e){k.deprecationHandler!=null&&k.deprecationHandler(t,e),xu[t]||(Pu(e),xu[t]=!0)}k.suppressDeprecationWarnings=!1,k.deprecationHandler=null;function ut(t){return typeof Function!="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function fm(t){var e,r;for(r in t)I(t,r)&&(e=t[r],ut(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 Xi(t,e){var r=Ut({},t),n;for(n in e)I(e,n)&&(er(t[n])&&er(e[n])?(r[n]={},Ut(r[n],t[n]),Ut(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)I(t,n)&&!I(e,n)&&er(t[n])&&(r[n]=Ut({},r[n]));return r}function Ji(t){t!=null&&this.set(t)}var Qi;Object.keys?Qi=Object.keys:Qi=function(t){var e,r=[];for(e in t)I(t,e)&&r.push(e);return r};var hm={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function mm(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return ut(n)?n.call(e,r):n}function lt(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 Ki=/(\[[^\[]*\])|(\\)?([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,Hn=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,eo={},vr={};function D(t,e,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),t&&(vr[t]=a),e&&(vr[e[0]]=function(){return lt(a.apply(this,arguments),e[1],e[2])}),r&&(vr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function pm(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function vm(t){var e=t.match(Ki),r,n;for(r=0,n=e.length;r<n;r++)vr[e[r]]?e[r]=vr[e[r]]:e[r]=pm(e[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=ut(e[s])?e[s].call(a,t):e[s];return i}}function Bn(t,e){return t.isValid()?(e=Ru(e,t.localeData()),eo[e]=eo[e]||vm(e),eo[e](t)):t.localeData().invalidDate()}function Ru(t,e){var r=5;function n(a){return e.longDateFormat(a)||a}for(Hn.lastIndex=0;r>=0&&Hn.test(t);)t=t.replace(Hn,n),Hn.lastIndex=0,r-=1;return t}var _m={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 ym(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(Ki).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var gm="Invalid date";function bm(){return this._invalidDate}var wm="%d",Sm=/\d{1,2}/;function Om(t){return this._ordinal.replace("%d",t)}var km={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 Cm(t,e,r,n){var a=this._relativeTime[r];return ut(a)?a(t,e,r,n):a.replace(/%d/i,t)}function Mm(t,e){var r=this._relativeTime[t>0?"future":"past"];return ut(r)?r(e):r.replace(/%s/i,e)}var Qr={};function ge(t,e){var r=t.toLowerCase();Qr[r]=Qr[r+"s"]=Qr[e]=t}function He(t){return typeof t=="string"?Qr[t]||Qr[t.toLowerCase()]:void 0}function to(t){var e={},r,n;for(n in t)I(t,n)&&(r=He(n),r&&(e[r]=t[n]));return e}var ju={};function be(t,e){ju[t]=e}function Pm(t){var e=[],r;for(r in t)I(t,r)&&e.push({unit:r,priority:ju[r]});return e.sort(function(n,a){return n.priority-a.priority}),e}function Vn(t){return t%4===0&&t%100!==0||t%400===0}function Be(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=Be(e)),r}function _r(t,e){return function(r){return r!=null?(Tu(this,t,r),k.updateOffset(this,e),this):Wn(this,t)}}function Wn(t,e){return t.isValid()?t._d["get"+(t._isUTC?"UTC":"")+e]():NaN}function Tu(t,e,r){t.isValid()&&!isNaN(r)&&(e==="FullYear"&&Vn(t.year())&&t.month()===1&&t.date()===29?(r=A(r),t._d["set"+(t._isUTC?"UTC":"")+e](r,t.month(),Jn(r,t.month()))):t._d["set"+(t._isUTC?"UTC":"")+e](r))}function xm(t){return t=He(t),ut(this[t])?this[t]():this}function Dm(t,e){if(typeof t=="object"){t=to(t);var r=Pm(t),n;for(n=0;n<r.length;n++)this[r[n].unit](t[r[n].unit])}else if(t=He(t),ut(this[t]))return this[t](e);return this}var $u=/\d/,Fe=/\d\d/,Au=/\d{3}/,ro=/\d{4}/,Un=/[+-]?\d{6}/,X=/\d\d?/,Fu=/\d\d\d\d?/,Eu=/\d\d\d\d\d\d?/,zn=/\d{1,3}/,no=/\d{1,4}/,qn=/[+-]?\d{1,6}/,yr=/\d+/,Gn=/[+-]?\d+/,Rm=/Z|[+-]\d\d:?\d\d/gi,Zn=/Z|[+-]\d\d(?::?\d\d)?/gi,jm=/[+-]?\d+(\.\d{1,3})?/,Kr=/[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,Xn;Xn={};function P(t,e,r){Xn[t]=ut(e)?e:function(n,a){return n&&r?r:e}}function Tm(t,e){return I(Xn,t)?Xn[t](e._strict,e._locale):new RegExp($m(t))}function $m(t){return Ee(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,a,i){return r||n||a||i}))}function Ee(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ao={};function V(t,e){var r,n=e;for(typeof t=="string"&&(t=[t]),wt(e)&&(n=function(a,i){i[e]=A(a)}),r=0;r<t.length;r++)ao[t[r]]=n}function en(t,e){V(t,function(r,n,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function Am(t,e,r){e!=null&&I(ao,t)&&ao[t](e,r._a,r,t)}var we=0,St=1,ct=2,ce=3,Xe=4,Ot=5,tr=6,Fm=7,Em=8;function Ym(t,e){return(t%e+e)%e}var ie;Array.prototype.indexOf?ie=Array.prototype.indexOf:ie=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function Jn(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=Ym(e,12);return t+=(e-r)/12,r===1?Vn(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)}),ge("month","M"),be("month",8),P("M",X),P("MM",X,Fe),P("MMM",function(t,e){return e.monthsShortRegex(t)}),P("MMMM",function(t,e){return e.monthsRegex(t)}),V(["M","MM"],function(t,e){e[St]=A(t)-1}),V(["MMM","MMMM"],function(t,e,r,n){var a=r._locale.monthsParse(t,n,r._strict);a!=null?e[St]=a:T(r).invalidMonth=t});var Im="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Yu="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Iu=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Nm=Kr,Lm=Kr;function Hm(t,e){return t?Ge(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Iu).test(e)?"format":"standalone"][t.month()]:Ge(this._months)?this._months:this._months.standalone}function Bm(t,e){return t?Ge(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Iu.test(e)?"format":"standalone"][t.month()]:Ge(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function Vm(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=st([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=ie.call(this._shortMonthsParse,s),a!==-1?a:null):(a=ie.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=ie.call(this._shortMonthsParse,s),a!==-1?a:(a=ie.call(this._longMonthsParse,s),a!==-1?a:null)):(a=ie.call(this._longMonthsParse,s),a!==-1?a:(a=ie.call(this._shortMonthsParse,s),a!==-1?a:null))}function Wm(t,e,r){var n,a,i;if(this._monthsParseExact)return Vm.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=st([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 Nu(t,e){var r;if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=A(e);else if(e=t.localeData().monthsParse(e),!wt(e))return t}return r=Math.min(t.date(),Jn(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,r),t}function Lu(t){return t!=null?(Nu(this,t),k.updateOffset(this,!0),this):Wn(this,"Month")}function Um(){return Jn(this.year(),this.month())}function zm(t){return this._monthsParseExact?(I(this,"_monthsRegex")||Hu.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(I(this,"_monthsShortRegex")||(this._monthsShortRegex=Nm),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function qm(t){return this._monthsParseExact?(I(this,"_monthsRegex")||Hu.call(this),t?this._monthsStrictRegex:this._monthsRegex):(I(this,"_monthsRegex")||(this._monthsRegex=Lm),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function Hu(){function t(s,d){return d.length-s.length}var e=[],r=[],n=[],a,i;for(a=0;a<12;a++)i=st([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]=Ee(e[a]),r[a]=Ee(r[a]);for(a=0;a<24;a++)n[a]=Ee(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?lt(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"),ge("year","y"),be("year",1),P("Y",Gn),P("YY",X,Fe),P("YYYY",no,ro),P("YYYYY",qn,Un),P("YYYYYY",qn,Un),V(["YYYYY","YYYYYY"],we),V("YYYY",function(t,e){e[we]=t.length===2?k.parseTwoDigitYear(t):A(t)}),V("YY",function(t,e){e[we]=k.parseTwoDigitYear(t)}),V("Y",function(t,e){e[we]=parseInt(t,10)});function tn(t){return Vn(t)?366:365}k.parseTwoDigitYear=function(t){return A(t)+(A(t)>68?1900:2e3)};var Bu=_r("FullYear",!0);function Gm(){return Vn(this.year())}function Zm(t,e,r,n,a,i,s){var d;return t<100&&t>=0?(d=new Date(t+400,e,r,n,a,i,s),isFinite(d.getFullYear())&&d.setFullYear(t)):d=new Date(t,e,r,n,a,i,s),d}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 Qn(t,e,r){var n=7+e-r,a=(7+rn(t,0,n).getUTCDay()-e)%7;return-a+n-1}function Vu(t,e,r,n,a){var i=(7+r-n)%7,s=Qn(t,n,a),d=1+7*(e-1)+i+s,f,u;return d<=0?(f=t-1,u=tn(f)+d):d>tn(t)?(f=t+1,u=d-tn(t)):(f=t,u=d),{year:f,dayOfYear:u}}function nn(t,e,r){var n=Qn(t.year(),e,r),a=Math.floor((t.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+kt(s,e,r)):a>kt(t.year(),e,r)?(i=a-kt(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function kt(t,e,r){var n=Qn(t,e,r),a=Qn(t+1,e,r);return(tn(t)-n+a)/7}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),ge("week","w"),ge("isoWeek","W"),be("week",5),be("isoWeek",5),P("w",X),P("ww",X,Fe),P("W",X),P("WW",X,Fe),en(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=A(t)});function Xm(t){return nn(t,this._week.dow,this._week.doy).week}var Jm={dow:0,doy:6};function Qm(){return this._week.dow}function Km(){return this._week.doy}function ep(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function tp(t){var e=nn(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"),ge("day","d"),ge("weekday","e"),ge("isoWeekday","E"),be("day",11),be("weekday",11),be("isoWeekday",11),P("d",X),P("e",X),P("E",X),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)}),en(["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}),en(["d","e","E"],function(t,e,r,n){e[n]=A(t)});function rp(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function np(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function io(t,e){return t.slice(e,7).concat(t.slice(0,e))}var ap="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Wu="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),ip="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),op=Kr,sp=Kr,up=Kr;function lp(t,e){var r=Ge(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?io(r,this._week.dow):t?r[t.day()]:r}function cp(t){return t===!0?io(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function dp(t){return t===!0?io(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function fp(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=st([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=ie.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=ie.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=ie.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=ie.call(this._weekdaysParse,s),a!==-1||(a=ie.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=ie.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=ie.call(this._shortWeekdaysParse,s),a!==-1||(a=ie.call(this._weekdaysParse,s),a!==-1)?a:(a=ie.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=ie.call(this._minWeekdaysParse,s),a!==-1||(a=ie.call(this._weekdaysParse,s),a!==-1)?a:(a=ie.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function hp(t,e,r){var n,a,i;if(this._weekdaysParseExact)return fp.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=st([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 mp(t){if(!this.isValid())return t!=null?this:NaN;var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return t!=null?(t=rp(t,this.localeData()),this.add(t-e,"d")):e}function pp(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 vp(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=np(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function _p(t){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||oo.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(I(this,"_weekdaysRegex")||(this._weekdaysRegex=op),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function yp(t){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||oo.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(I(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=sp),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function gp(t){return this._weekdaysParseExact?(I(this,"_weekdaysRegex")||oo.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(I(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=up),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function oo(){function t(o,c){return c.length-o.length}var e=[],r=[],n=[],a=[],i,s,d,f,u;for(i=0;i<7;i++)s=st([2e3,1]).day(i),d=Ee(this.weekdaysMin(s,"")),f=Ee(this.weekdaysShort(s,"")),u=Ee(this.weekdays(s,"")),e.push(d),r.push(f),n.push(u),a.push(d),a.push(f),a.push(u);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 so(){return this.hours()%12||12}function bp(){return this.hours()||24}D("H",["HH",2],0,"hour"),D("h",["hh",2],0,so),D("k",["kk",2],0,bp),D("hmm",0,0,function(){return""+so.apply(this)+lt(this.minutes(),2)}),D("hmmss",0,0,function(){return""+so.apply(this)+lt(this.minutes(),2)+lt(this.seconds(),2)}),D("Hmm",0,0,function(){return""+this.hours()+lt(this.minutes(),2)}),D("Hmmss",0,0,function(){return""+this.hours()+lt(this.minutes(),2)+lt(this.seconds(),2)});function Uu(t,e){D(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Uu("a",!0),Uu("A",!1),ge("hour","h"),be("hour",13);function zu(t,e){return e._meridiemParse}P("a",zu),P("A",zu),P("H",X),P("h",X),P("k",X),P("HH",X,Fe),P("hh",X,Fe),P("kk",X,Fe),P("hmm",Fu),P("hmmss",Eu),P("Hmm",Fu),P("Hmmss",Eu),V(["H","HH"],ce),V(["k","kk"],function(t,e,r){var n=A(t);e[ce]=n===24?0:n}),V(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t}),V(["h","hh"],function(t,e,r){e[ce]=A(t),T(r).bigHour=!0}),V("hmm",function(t,e,r){var n=t.length-2;e[ce]=A(t.substr(0,n)),e[Xe]=A(t.substr(n)),T(r).bigHour=!0}),V("hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[ce]=A(t.substr(0,n)),e[Xe]=A(t.substr(n,2)),e[Ot]=A(t.substr(a)),T(r).bigHour=!0}),V("Hmm",function(t,e,r){var n=t.length-2;e[ce]=A(t.substr(0,n)),e[Xe]=A(t.substr(n))}),V("Hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[ce]=A(t.substr(0,n)),e[Xe]=A(t.substr(n,2)),e[Ot]=A(t.substr(a))});function wp(t){return(t+"").toLowerCase().charAt(0)==="p"}var Sp=/[ap]\.?m?\.?/i,Op=_r("Hours",!0);function kp(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var qu={calendar:hm,longDateFormat:_m,invalidDate:gm,ordinal:wm,dayOfMonthOrdinalParse:Sm,relativeTime:km,months:Im,monthsShort:Yu,week:Jm,weekdays:ap,weekdaysMin:ip,weekdaysShort:Wu,meridiemParse:Sp},re={},an={},on;function Cp(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 Gu(t){return t&&t.toLowerCase().replace("_","-")}function Mp(t){for(var e=0,r,n,a,i;e<t.length;){for(i=Gu(t[e]).split("-"),r=i.length,n=Gu(t[e+1]),n=n?n.split("-"):null;r>0;){if(a=Kn(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&Cp(i,n)>=r-1)break;r--}e++}return on}function Kn(t){var e=null,r;if(re[t]===void 0&&typeof module!="undefined"&&module&&module.exports)try{e=on._abbr,r=require,r("./locale/"+t),zt(e)}catch(n){re[t]=null}return re[t]}function zt(t,e){var r;return t&&(Re(e)?r=Ct(t):r=uo(t,e),r?on=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),on._abbr}function uo(t,e){if(e!==null){var r,n=qu;if(e.abbr=t,re[t]!=null)Du("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=re[t]._config;else if(e.parentLocale!=null)if(re[e.parentLocale]!=null)n=re[e.parentLocale]._config;else if(r=Kn(e.parentLocale),r!=null)n=r._config;else return an[e.parentLocale]||(an[e.parentLocale]=[]),an[e.parentLocale].push({name:t,config:e}),null;return re[t]=new Ji(Xi(n,e)),an[t]&&an[t].forEach(function(a){uo(a.name,a.config)}),zt(t),re[t]}else return delete re[t],null}function Pp(t,e){if(e!=null){var r,n,a=qu;re[t]!=null&&re[t].parentLocale!=null?re[t].set(Xi(re[t]._config,e)):(n=Kn(t),n!=null&&(a=n._config),e=Xi(a,e),n==null&&(e.abbr=t),r=new Ji(e),r.parentLocale=re[t],re[t]=r),zt(t)}else re[t]!=null&&(re[t].parentLocale!=null?(re[t]=re[t].parentLocale,t===zt()&&zt(t)):re[t]!=null&&delete re[t]);return re[t]}function Ct(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return on;if(!Ge(t)){if(e=Kn(t),e)return e;t=[t]}return Mp(t)}function xp(){return Qi(re)}function lo(t){var e,r=t._a;return r&&T(t).overflow===-2&&(e=r[St]<0||r[St]>11?St:r[ct]<1||r[ct]>Jn(r[we],r[St])?ct:r[ce]<0||r[ce]>24||r[ce]===24&&(r[Xe]!==0||r[Ot]!==0||r[tr]!==0)?ce:r[Xe]<0||r[Xe]>59?Xe:r[Ot]<0||r[Ot]>59?Ot:r[tr]<0||r[tr]>999?tr:-1,T(t)._overflowDayOfYear&&(e<we||e>ct)&&(e=ct),T(t)._overflowWeeks&&e===-1&&(e=Fm),T(t)._overflowWeekday&&e===-1&&(e=Em),T(t).overflow=e),t}var Dp=/^\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)?)?$/,Rp=/^\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)?)?$/,jp=/Z|[+-]\d\d(?::?\d\d)?/,ea=[["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]],co=[["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/]],Tp=/^\/?Date\((-?\d+)/i,$p=/^(?:(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}))$/,Ap={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 Zu(t){var e,r,n=t._i,a=Dp.exec(n)||Rp.exec(n),i,s,d,f;if(a){for(T(t).iso=!0,e=0,r=ea.length;e<r;e++)if(ea[e][1].exec(a[1])){s=ea[e][0],i=ea[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=co.length;e<r;e++)if(co[e][1].exec(a[3])){d=(a[2]||" ")+co[e][0];break}if(d==null){t._isValid=!1;return}}if(!i&&d!=null){t._isValid=!1;return}if(a[4])if(jp.exec(a[4]))f="Z";else{t._isValid=!1;return}t._f=s+(d||"")+(f||""),ho(t)}else t._isValid=!1}function Fp(t,e,r,n,a,i){var s=[Ep(t),Yu.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function Ep(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Yp(t){return t.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Ip(t,e,r){if(t){var n=Wu.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 Np(t,e,r){if(t)return Ap[t];if(e)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function Xu(t){var e=$p.exec(Yp(t._i)),r;if(e){if(r=Fp(e[4],e[3],e[2],e[5],e[6],e[7]),!Ip(e[1],r,t))return;t._a=r,t._tzm=Np(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 Lp(t){var e=Tp.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(Zu(t),t._isValid===!1)delete t._isValid;else return;if(Xu(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:k.createFromInputFallback(t)}k.createFromInputFallback=Le("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 gr(t,e,r){return t!=null?t:e!=null?e:r}function Hp(t){var e=new Date(k.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function fo(t){var e,r,n=[],a,i,s;if(!t._d){for(a=Hp(t),t._w&&t._a[ct]==null&&t._a[St]==null&&Bp(t),t._dayOfYear!=null&&(s=gr(t._a[we],a[we]),(t._dayOfYear>tn(s)||t._dayOfYear===0)&&(T(t)._overflowDayOfYear=!0),r=rn(s,0,t._dayOfYear),t._a[St]=r.getUTCMonth(),t._a[ct]=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[ce]===24&&t._a[Xe]===0&&t._a[Ot]===0&&t._a[tr]===0&&(t._nextDay=!0,t._a[ce]=0),t._d=(t._useUTC?rn:Zm).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[ce]=24),t._w&&typeof t._w.d!="undefined"&&t._w.d!==i&&(T(t).weekdayMismatch=!0)}}function Bp(t){var e,r,n,a,i,s,d,f,u;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=gr(e.GG,t._a[we],nn(J(),1,4).year),n=gr(e.W,1),a=gr(e.E,1),(a<1||a>7)&&(f=!0)):(i=t._locale._week.dow,s=t._locale._week.doy,u=nn(J(),i,s),r=gr(e.gg,t._a[we],u.year),n=gr(e.w,u.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>kt(r,i,s)?T(t)._overflowWeeks=!0:f!=null?T(t)._overflowWeekday=!0:(d=Vu(r,n,a,i,s),t._a[we]=d.year,t._dayOfYear=d.dayOfYear)}k.ISO_8601=function(){},k.RFC_2822=function(){};function ho(t){if(t._f===k.ISO_8601){Zu(t);return}if(t._f===k.RFC_2822){Xu(t);return}t._a=[],T(t).empty=!0;var e=""+t._i,r,n,a,i,s,d=e.length,f=0,u;for(a=Ru(t._f,t._locale).match(Ki)||[],r=0;r<a.length;r++)i=a[r],n=(e.match(Tm(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),vr[i]?(n?T(t).empty=!1:T(t).unusedTokens.push(i),Am(i,n,t)):t._strict&&!n&&T(t).unusedTokens.push(i);T(t).charsLeftOver=d-f,e.length>0&&T(t).unusedInput.push(e),t._a[ce]<=12&&T(t).bigHour===!0&&t._a[ce]>0&&(T(t).bigHour=void 0),T(t).parsedDateParts=t._a.slice(0),T(t).meridiem=t._meridiem,t._a[ce]=Vp(t._locale,t._a[ce],t._meridiem),u=T(t).era,u!==null&&(t._a[we]=t._locale.erasConvertYear(u,t._a[we])),fo(t),lo(t)}function Vp(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 Wp(t){var e,r,n,a,i,s,d=!1;if(t._f.length===0){T(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<t._f.length;a++)i=0,s=!1,e=Zi({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],ho(e),zi(e)&&(s=!0),i+=T(e).charsLeftOver,i+=T(e).unusedTokens.length*10,T(e).score=i,d?i<n&&(n=i,r=e):(n==null||i<n||s)&&(n=i,r=e,s&&(d=!0));Ut(t,r||e)}function Up(t){if(!t._d){var e=to(t._i),r=e.day===void 0?e.date:e.day;t._a=Mu([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),fo(t)}}function zp(t){var e=new Jr(lo(Ju(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function Ju(t){var e=t._i,r=t._f;return t._locale=t._locale||Ct(t._l),e===null||r===void 0&&e===""?Ln({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),Ze(e)?new Jr(lo(e)):(Xr(e)?t._d=e:Ge(r)?Wp(t):r?ho(t):qp(t),zi(t)||(t._d=null),t))}function qp(t){var e=t._i;Re(e)?t._d=new Date(k.now()):Xr(e)?t._d=new Date(e.valueOf()):typeof e=="string"?Lp(t):Ge(e)?(t._a=Mu(e.slice(0),function(r){return parseInt(r,10)}),fo(t)):er(e)?Up(t):wt(e)?t._d=new Date(e):k.createFromInputFallback(t)}function Qu(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),(er(t)&&Wi(t)||Ge(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,zp(i)}function J(t,e,r,n){return Qu(t,e,r,n,!1)}var Gp=Le("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=J.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Ln()}),Zp=Le("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=J.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Ln()});function Ku(t,e){var r,n;if(e.length===1&&Ge(e[0])&&(e=e[0]),!e.length)return J();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function Xp(){var t=[].slice.call(arguments,0);return Ku("isBefore",t)}function Jp(){var t=[].slice.call(arguments,0);return Ku("isAfter",t)}var Qp=function(){return Date.now?Date.now():+new Date},sn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Kp(t){var e,r=!1,n;for(e in t)if(I(t,e)&&!(ie.call(sn,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<sn.length;++n)if(t[sn[n]]){if(r)return!1;parseFloat(t[sn[n]])!==A(t[sn[n]])&&(r=!0)}return!0}function ev(){return this._isValid}function tv(){return Je(NaN)}function ta(t){var e=to(t),r=e.year||0,n=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,d=e.hour||0,f=e.minute||0,u=e.second||0,o=e.millisecond||0;this._isValid=Kp(e),this._milliseconds=+o+u*1e3+f*6e4+d*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=Ct(),this._bubble()}function ra(t){return t instanceof ta}function mo(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function rv(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 el(t,e){D(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+lt(~~(r/60),2)+e+lt(~~r%60,2)})}el("Z",":"),el("ZZ",""),P("Z",Zn),P("ZZ",Zn),V(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=po(Zn,t)});var nv=/([\+\-]|\d\d)/gi;function po(t,e){var r=(e||"").match(t),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(nv)||["-",0,0],i=+(a[1]*60)+A(a[2]),i===0?0:a[0]==="+"?i:-i)}function vo(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(Ze(t)||Xr(t)?t.valueOf():J(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),k.updateOffset(r,!1),r):J(t).local()}function _o(t){return-Math.round(t._d.getTimezoneOffset())}k.updateOffset=function(){};function av(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=po(Zn,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?al(this,Je(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 iv(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function ov(t){return this.utcOffset(0,t)}function sv(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(_o(this),"m")),this}function uv(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=po(Rm,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function lv(t){return this.isValid()?(t=t?J(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function cv(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function dv(){if(!Re(this._isDSTShifted))return this._isDSTShifted;var t={},e;return Zi(t,this),t=Ju(t),t._a?(e=t._isUTC?st(t._a):J(t._a),this._isDSTShifted=this.isValid()&&rv(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function fv(){return this.isValid()?!this._isUTC:!1}function hv(){return this.isValid()?this._isUTC:!1}function tl(){return this.isValid()?this._isUTC&&this._offset===0:!1}var mv=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,pv=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Je(t,e){var r=t,n=null,a,i,s;return ra(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:wt(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=mv.exec(t))?(a=n[1]==="-"?-1:1,r={y:0,d:A(n[ct])*a,h:A(n[ce])*a,m:A(n[Xe])*a,s:A(n[Ot])*a,ms:A(mo(n[tr]*1e3))*a}):(n=pv.exec(t))?(a=n[1]==="-"?-1:1,r={y:rr(n[2],a),M:rr(n[3],a),w:rr(n[4],a),d:rr(n[5],a),h:rr(n[6],a),m:rr(n[7],a),s:rr(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=vv(J(r.from),J(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new ta(r),ra(t)&&I(t,"_locale")&&(i._locale=t._locale),ra(t)&&I(t,"_isValid")&&(i._isValid=t._isValid),i}Je.fn=ta.prototype,Je.invalid=tv;function rr(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function rl(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 vv(t,e){var r;return t.isValid()&&e.isValid()?(e=vo(e,t),t.isBefore(e)?r=rl(t,e):(r=rl(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function nl(t,e){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(Du(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=Je(r,n),al(this,a,t),this}}function al(t,e,r,n){var a=e._milliseconds,i=mo(e._days),s=mo(e._months);t.isValid()&&(n=n==null?!0:n,s&&Nu(t,Wn(t,"Month")+s*r),i&&Tu(t,"Date",Wn(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),n&&k.updateOffset(t,i||s))}var _v=nl(1,"add"),yv=nl(-1,"subtract");function il(t){return typeof t=="string"||t instanceof String}function gv(t){return Ze(t)||Xr(t)||il(t)||wt(t)||wv(t)||bv(t)||t===null||t===void 0}function bv(t){var e=er(t)&&!Wi(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||I(t,i);return e&&r}function wv(t){var e=Ge(t),r=!1;return e&&(r=t.filter(function(n){return!wt(n)&&il(t)}).length===0),e&&r}function Sv(t){var e=er(t)&&!Wi(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||I(t,i);return e&&r}function Ov(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 kv(t,e){arguments.length===1&&(arguments[0]?gv(arguments[0])?(t=arguments[0],e=void 0):Sv(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||J(),n=vo(r,this).startOf("day"),a=k.calendarFormat(this,n)||"sameElse",i=e&&(ut(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,J(r)))}function Cv(){return new Jr(this)}function Mv(t,e){var r=Ze(t)?t:J(t);return this.isValid()&&r.isValid()?(e=He(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function Pv(t,e){var r=Ze(t)?t:J(t);return this.isValid()&&r.isValid()?(e=He(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function xv(t,e,r,n){var a=Ze(t)?t:J(t),i=Ze(e)?e:J(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 Dv(t,e){var r=Ze(t)?t:J(t),n;return this.isValid()&&r.isValid()?(e=He(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 Rv(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function jv(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Tv(t,e,r){var n,a,i;if(!this.isValid())return NaN;if(n=vo(t,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,e=He(e),e){case"year":i=na(this,n)/12;break;case"month":i=na(this,n);break;case"quarter":i=na(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:Be(i)}function na(t,e){if(t.date()<e.date())return-na(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 $v(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function Av(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?Bn(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ut(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",Bn(r,"Z")):Bn(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Fv(){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 Ev(t){t||(t=this.isUtc()?k.defaultFormatUtc:k.defaultFormat);var e=Bn(this,t);return this.localeData().postformat(e)}function Yv(t,e){return this.isValid()&&(Ze(t)&&t.isValid()||J(t).isValid())?Je({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Iv(t){return this.from(J(),t)}function Nv(t,e){return this.isValid()&&(Ze(t)&&t.isValid()||J(t).isValid())?Je({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function Lv(t){return this.to(J(),t)}function ol(t){var e;return t===void 0?this._locale._abbr:(e=Ct(t),e!=null&&(this._locale=e),this)}var sl=Le("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 ul(){return this._locale}var aa=1e3,br=60*aa,ia=60*br,ll=(365*400+97)*24*ia;function wr(t,e){return(t%e+e)%e}function cl(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-ll:new Date(t,e,r).valueOf()}function dl(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-ll:Date.UTC(t,e,r)}function Hv(t){var e,r;if(t=He(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?dl:cl,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-=wr(e+(this._isUTC?0:this.utcOffset()*br),ia);break;case"minute":e=this._d.valueOf(),e-=wr(e,br);break;case"second":e=this._d.valueOf(),e-=wr(e,aa);break}return this._d.setTime(e),k.updateOffset(this,!0),this}function Bv(t){var e,r;if(t=He(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?dl:cl,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+=ia-wr(e+(this._isUTC?0:this.utcOffset()*br),ia)-1;break;case"minute":e=this._d.valueOf(),e+=br-wr(e,br)-1;break;case"second":e=this._d.valueOf(),e+=aa-wr(e,aa)-1;break}return this._d.setTime(e),k.updateOffset(this,!0),this}function Vv(){return this._d.valueOf()-(this._offset||0)*6e4}function Wv(){return Math.floor(this.valueOf()/1e3)}function Uv(){return new Date(this.valueOf())}function zv(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function qv(){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 Gv(){return this.isValid()?this.toISOString():null}function Zv(){return zi(this)}function Xv(){return Ut({},T(this))}function Jv(){return T(this).overflow}function Qv(){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",yo),P("NN",yo),P("NNN",yo),P("NNNN",l_),P("NNNNN",c_),V(["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",yr),P("yy",yr),P("yyy",yr),P("yyyy",yr),P("yo",d_),V(["y","yy","yyy","yyyy"],we),V(["yo"],function(t,e,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[we]=r._locale.eraYearOrdinalParse(t,a):e[we]=parseInt(t,10)});function Kv(t,e){var r,n,a,i=this._eras||Ct("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 e_(t,e,r){var n,a,i=this.eras(),s,d,f;for(t=t.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),d=i[n].abbr.toUpperCase(),f=i[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(d===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,d,f].indexOf(t)>=0)return i[n]}function t_(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 r_(){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 n_(){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 a_(){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 i_(){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 o_(t){return I(this,"_erasNameRegex")||go.call(this),t?this._erasNameRegex:this._erasRegex}function s_(t){return I(this,"_erasAbbrRegex")||go.call(this),t?this._erasAbbrRegex:this._erasRegex}function u_(t){return I(this,"_erasNarrowRegex")||go.call(this),t?this._erasNarrowRegex:this._erasRegex}function yo(t,e){return e.erasAbbrRegex(t)}function l_(t,e){return e.erasNameRegex(t)}function c_(t,e){return e.erasNarrowRegex(t)}function d_(t,e){return e._eraYearOrdinalRegex||yr}function go(){var t=[],e=[],r=[],n=[],a,i,s=this.eras();for(a=0,i=s.length;a<i;++a)e.push(Ee(s[a].name)),t.push(Ee(s[a].abbr)),r.push(Ee(s[a].narrow)),n.push(Ee(s[a].name)),n.push(Ee(s[a].abbr)),n.push(Ee(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 oa(t,e){D(0,[t,t.length],0,e)}oa("gggg","weekYear"),oa("ggggg","weekYear"),oa("GGGG","isoWeekYear"),oa("GGGGG","isoWeekYear"),ge("weekYear","gg"),ge("isoWeekYear","GG"),be("weekYear",1),be("isoWeekYear",1),P("G",Gn),P("g",Gn),P("GG",X,Fe),P("gg",X,Fe),P("GGGG",no,ro),P("gggg",no,ro),P("GGGGG",qn,Un),P("ggggg",qn,Un),en(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=A(t)}),en(["gg","GG"],function(t,e,r,n){e[n]=k.parseTwoDigitYear(t)});function f_(t){return fl.call(this,t,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function h_(t){return fl.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function m_(){return kt(this.year(),1,4)}function p_(){return kt(this.isoWeekYear(),1,4)}function v_(){var t=this.localeData()._week;return kt(this.year(),t.dow,t.doy)}function __(){var t=this.localeData()._week;return kt(this.weekYear(),t.dow,t.doy)}function fl(t,e,r,n,a){var i;return t==null?nn(this,n,a).year:(i=kt(t,n,a),e>i&&(e=i),y_.call(this,t,e,r,n,a))}function y_(t,e,r,n,a){var i=Vu(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"),ge("quarter","Q"),be("quarter",7),P("Q",$u),V("Q",function(t,e){e[St]=(A(t)-1)*3});function g_(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}D("D",["DD",2],"Do","date"),ge("date","D"),be("date",9),P("D",X),P("DD",X,Fe),P("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),V(["D","DD"],ct),V("Do",function(t,e){e[ct]=A(t.match(X)[0])});var hl=_r("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear"),ge("dayOfYear","DDD"),be("dayOfYear",4),P("DDD",zn),P("DDDD",Au),V(["DDD","DDDD"],function(t,e,r){r._dayOfYear=A(t)});function b_(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"),ge("minute","m"),be("minute",14),P("m",X),P("mm",X,Fe),V(["m","mm"],Xe);var w_=_r("Minutes",!1);D("s",["ss",2],0,"second"),ge("second","s"),be("second",15),P("s",X),P("ss",X,Fe),V(["s","ss"],Ot);var S_=_r("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}),ge("millisecond","ms"),be("millisecond",16),P("S",zn,$u),P("SS",zn,Fe),P("SSS",zn,Au);var qt,ml;for(qt="SSSS";qt.length<=9;qt+="S")P(qt,yr);function O_(t,e){e[tr]=A(("0."+t)*1e3)}for(qt="S";qt.length<=9;qt+="S")V(qt,O_);ml=_r("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");function k_(){return this._isUTC?"UTC":""}function C_(){return this._isUTC?"Coordinated Universal Time":""}var S=Jr.prototype;S.add=_v,S.calendar=kv,S.clone=Cv,S.diff=Tv,S.endOf=Bv,S.format=Ev,S.from=Yv,S.fromNow=Iv,S.to=Nv,S.toNow=Lv,S.get=xm,S.invalidAt=Jv,S.isAfter=Mv,S.isBefore=Pv,S.isBetween=xv,S.isSame=Dv,S.isSameOrAfter=Rv,S.isSameOrBefore=jv,S.isValid=Zv,S.lang=sl,S.locale=ol,S.localeData=ul,S.max=Zp,S.min=Gp,S.parsingFlags=Xv,S.set=Dm,S.startOf=Hv,S.subtract=yv,S.toArray=zv,S.toObject=qv,S.toDate=Uv,S.toISOString=Av,S.inspect=Fv,typeof Symbol!="undefined"&&Symbol.for!=null&&(S[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),S.toJSON=Gv,S.toString=$v,S.unix=Wv,S.valueOf=Vv,S.creationData=Qv,S.eraName=r_,S.eraNarrow=n_,S.eraAbbr=a_,S.eraYear=i_,S.year=Bu,S.isLeapYear=Gm,S.weekYear=f_,S.isoWeekYear=h_,S.quarter=S.quarters=g_,S.month=Lu,S.daysInMonth=Um,S.week=S.weeks=ep,S.isoWeek=S.isoWeeks=tp,S.weeksInYear=v_,S.weeksInWeekYear=__,S.isoWeeksInYear=m_,S.isoWeeksInISOWeekYear=p_,S.date=hl,S.day=S.days=mp,S.weekday=pp,S.isoWeekday=vp,S.dayOfYear=b_,S.hour=S.hours=Op,S.minute=S.minutes=w_,S.second=S.seconds=S_,S.millisecond=S.milliseconds=ml,S.utcOffset=av,S.utc=ov,S.local=sv,S.parseZone=uv,S.hasAlignedHourOffset=lv,S.isDST=cv,S.isLocal=fv,S.isUtcOffset=hv,S.isUtc=tl,S.isUTC=tl,S.zoneAbbr=k_,S.zoneName=C_,S.dates=Le("dates accessor is deprecated. Use date instead.",hl),S.months=Le("months accessor is deprecated. Use month instead",Lu),S.years=Le("years accessor is deprecated. Use year instead",Bu),S.zone=Le("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",iv),S.isDSTShifted=Le("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",dv);function M_(t){return J(t*1e3)}function P_(){return J.apply(null,arguments).parseZone()}function pl(t){return t}var N=Ji.prototype;N.calendar=mm,N.longDateFormat=ym,N.invalidDate=bm,N.ordinal=Om,N.preparse=pl,N.postformat=pl,N.relativeTime=Cm,N.pastFuture=Mm,N.set=fm,N.eras=Kv,N.erasParse=e_,N.erasConvertYear=t_,N.erasAbbrRegex=s_,N.erasNameRegex=o_,N.erasNarrowRegex=u_,N.months=Hm,N.monthsShort=Bm,N.monthsParse=Wm,N.monthsRegex=qm,N.monthsShortRegex=zm,N.week=Xm,N.firstDayOfYear=Km,N.firstDayOfWeek=Qm,N.weekdays=lp,N.weekdaysMin=dp,N.weekdaysShort=cp,N.weekdaysParse=hp,N.weekdaysRegex=_p,N.weekdaysShortRegex=yp,N.weekdaysMinRegex=gp,N.isPM=wp,N.meridiem=kp;function sa(t,e,r,n){var a=Ct(),i=st().set(n,e);return a[r](i,t)}function vl(t,e,r){if(wt(t)&&(e=t,t=void 0),t=t||"",e!=null)return sa(t,e,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=sa(t,n,r,"month");return a}function bo(t,e,r,n){typeof t=="boolean"?(wt(e)&&(r=e,e=void 0),e=e||""):(e=t,r=e,t=!1,wt(e)&&(r=e,e=void 0),e=e||"");var a=Ct(),i=t?a._week.dow:0,s,d=[];if(r!=null)return sa(e,(r+i)%7,n,"day");for(s=0;s<7;s++)d[s]=sa(e,(s+i)%7,n,"day");return d}function x_(t,e){return vl(t,e,"months")}function D_(t,e){return vl(t,e,"monthsShort")}function R_(t,e,r){return bo(t,e,r,"weekdays")}function j_(t,e,r){return bo(t,e,r,"weekdaysShort")}function T_(t,e,r){return bo(t,e,r,"weekdaysMin")}zt("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}}),k.lang=Le("moment.lang is deprecated. Use moment.locale instead.",zt),k.langData=Le("moment.langData is deprecated. Use moment.localeData instead.",Ct);var Mt=Math.abs;function $_(){var t=this._data;return this._milliseconds=Mt(this._milliseconds),this._days=Mt(this._days),this._months=Mt(this._months),t.milliseconds=Mt(t.milliseconds),t.seconds=Mt(t.seconds),t.minutes=Mt(t.minutes),t.hours=Mt(t.hours),t.months=Mt(t.months),t.years=Mt(t.years),this}function _l(t,e,r,n){var a=Je(e,r);return t._milliseconds+=n*a._milliseconds,t._days+=n*a._days,t._months+=n*a._months,t._bubble()}function A_(t,e){return _l(this,t,e,1)}function F_(t,e){return _l(this,t,e,-1)}function yl(t){return t<0?Math.floor(t):Math.ceil(t)}function E_(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,a,i,s,d,f;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=yl(wo(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,a=Be(t/1e3),n.seconds=a%60,i=Be(a/60),n.minutes=i%60,s=Be(i/60),n.hours=s%24,e+=Be(s/24),f=Be(gl(e)),r+=f,e-=yl(wo(f)),d=Be(r/12),r%=12,n.days=e,n.months=r,n.years=d,this}function gl(t){return t*4800/146097}function wo(t){return t*146097/4800}function Y_(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=He(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+gl(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(wo(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 I_(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+A(this._months/12)*31536e6:NaN}function Pt(t){return function(){return this.as(t)}}var N_=Pt("ms"),L_=Pt("s"),H_=Pt("m"),B_=Pt("h"),V_=Pt("d"),W_=Pt("w"),U_=Pt("M"),z_=Pt("Q"),q_=Pt("y");function G_(){return Je(this)}function Z_(t){return t=He(t),this.isValid()?this[t+"s"]():NaN}function nr(t){return function(){return this.isValid()?this._data[t]:NaN}}var X_=nr("milliseconds"),J_=nr("seconds"),Q_=nr("minutes"),K_=nr("hours"),ey=nr("days"),ty=nr("months"),ry=nr("years");function ny(){return Be(this.days()/7)}var xt=Math.round,Sr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ay(t,e,r,n,a){return a.relativeTime(e||1,!!r,t,n)}function iy(t,e,r,n){var a=Je(t).abs(),i=xt(a.as("s")),s=xt(a.as("m")),d=xt(a.as("h")),f=xt(a.as("d")),u=xt(a.as("M")),o=xt(a.as("w")),c=xt(a.as("y")),h=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||d<=1&&["h"]||d<r.h&&["hh",d]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(h=h||o<=1&&["w"]||o<r.w&&["ww",o]),h=h||u<=1&&["M"]||u<r.M&&["MM",u]||c<=1&&["y"]||["yy",c],h[2]=e,h[3]=+t>0,h[4]=n,ay.apply(null,h)}function oy(t){return t===void 0?xt:typeof t=="function"?(xt=t,!0):!1}function sy(t,e){return Sr[t]===void 0?!1:e===void 0?Sr[t]:(Sr[t]=e,t==="s"&&(Sr.ss=e-1),!0)}function uy(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Sr,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},Sr,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),a=this.localeData(),i=iy(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var So=Math.abs;function Or(t){return(t>0)-(t<0)||+t}function ua(){if(!this.isValid())return this.localeData().invalidDate();var t=So(this._milliseconds)/1e3,e=So(this._days),r=So(this._months),n,a,i,s,d=this.asSeconds(),f,u,o,c;return d?(n=Be(t/60),a=Be(n/60),t%=60,n%=60,i=Be(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",f=d<0?"-":"",u=Or(this._months)!==Or(d)?"-":"",o=Or(this._days)!==Or(d)?"-":"",c=Or(this._milliseconds)!==Or(d)?"-":"",f+"P"+(i?u+i+"Y":"")+(r?u+r+"M":"")+(e?o+e+"D":"")+(a||n||t?"T":"")+(a?c+a+"H":"")+(n?c+n+"M":"")+(t?c+s+"S":"")):"P0D"}var E=ta.prototype;E.isValid=ev,E.abs=$_,E.add=A_,E.subtract=F_,E.as=Y_,E.asMilliseconds=N_,E.asSeconds=L_,E.asMinutes=H_,E.asHours=B_,E.asDays=V_,E.asWeeks=W_,E.asMonths=U_,E.asQuarters=z_,E.asYears=q_,E.valueOf=I_,E._bubble=E_,E.clone=G_,E.get=Z_,E.milliseconds=X_,E.seconds=J_,E.minutes=Q_,E.hours=K_,E.days=ey,E.weeks=ny,E.months=ty,E.years=ry,E.humanize=uy,E.toISOString=ua,E.toString=ua,E.toJSON=ua,E.locale=ol,E.localeData=ul,E.toIsoString=Le("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),E.lang=sl,D("X",0,0,"unix"),D("x",0,0,"valueOf"),P("x",Gn),P("X",jm),V("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)}),V("x",function(t,e,r){r._d=new Date(A(t))});//! moment.js
|
|
10
|
+
k.version="2.29.1",cm(J),k.fn=S,k.min=Xp,k.max=Jp,k.now=Qp,k.utc=st,k.unix=M_,k.months=x_,k.isDate=Xr,k.locale=zt,k.invalid=Ln,k.duration=Je,k.isMoment=Ze,k.weekdays=R_,k.parseZone=P_,k.localeData=Ct,k.isDuration=ra,k.monthsShort=D_,k.weekdaysMin=T_,k.defineLocale=uo,k.updateLocale=Pp,k.locales=xp,k.weekdaysShort=j_,k.normalizeUnits=He,k.relativeTimeRounding=oy,k.relativeTimeThreshold=sy,k.calendarFormat=Ov,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 ly=(t,{valueToMatch:e}={})=>t===e,bl=(t,{length:e}={})=>t?t.length>=e:!0,cy=(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},dy=(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},fy=(t,e,r)=>{const[n,a]=e;return`Je dient tussen de ${n} en ${a} jaar oud te zijn!`};let z=b.reactive({}),Pe=b.reactive({}),la=b.reactive({});const hy=t=>{z=t._base,z.extend("isValue",ly,{paramNames:["valueToMatch"]}),z.extend("minlength",bl,{paramNames:["length"]}),z.extend("emailServerValidation",bl,{immediate:!1}),z.extend("betweenBirthDate",cy,{paramNames:["min","max","compareFullDate"]}),z.extend("ageRange",{getMessage:fy,validate:dy},{paramNames:["minAge","maxAge"]}),Pe=z.errors,la=z.fields},un=t=>he(this,null,function*(){const e={};return yield Promise.all(t.map(r=>he(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 wl=b.reactive({});const my=b.reactive({});let ln=b.ref(!1),Oo=b.ref(!1),ca=b.ref(!1),ko=b.ref(!1),Co=b.ref(null),Sl=b.ref(!1);const py=te,Ol=18,vy=99,_y=[{rule:"required",text:"Schadevrije jaren zijn verplicht"}],kl=(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 m=0;m<d.value;m++)_.push({title:`${m} jaar`,value:m});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}),d=b.computed(()=>{let _;if(C.birthdate.split("_").join("").length===10)_=+k.utc(C.birthdate,"DD-MM-YYYY").format("YYYY");else return 0;const m=Co.value-_-Ol;return m>0?m:0}),f=()=>{Sl.value=!0},u=_=>{_e.claimFreeYears=String(_)},o=()=>{ln.value=!0},c=()=>{ln.value=!1},h=_=>he(this,null,function*(){try{if(Oo.value=!1,ln.value=!1,_.length>=6){const m=yield r.motorService.findMotor(_);Me.motor=m,_e.license=m.LicensePlate,Oo.value=!0}}catch(m){console.error(m),ln.value=!0}}),l=()=>he(this,null,function*(){try{ko.value=!1,ca.value=!1,C.zipcode&&C.houseNumber&&(wl=yield r.dataValidationService.validateZipCode(C.zipcode,C.houseNumber,C.houseNumberAddition),ko.value=!0)}catch(_){ca.value=!0}}),p=_=>{e("emit-event-hub",{event:"open-quotation-modal",data:{refId:_}})},v=()=>he(this,null,function*(){if((yield un(["license","incorrectLicensePlateHiddenField","noLicensePlateHiddenField","unknownLicensePlateHiddenField","zipcode","housenumber","housenumberaddition","claimfreeyears","kilometrage","birthdate"]))&&!ca.value)if(t.isOnResultPage)e("submit-form",{userInformation:C,motorState:_e,licenseInformation:Me.motor});else{const m={license:_e.license,zipcode:C.zipcode,housenumber:C.houseNumber,housenumberaddition:C.houseNumberAddition,birthdate:C.birthdate,claimfreeyears:_e.claimFreeYears,kilometrage:_e.kilometrage};m.housenumberaddition||delete m.housenumberaddition,e("redirect-page",{link:t.link,data:m})}});return b.onMounted(()=>{Co.value=+k().format("YYYY"),t.isOnResultPage&&(_e.license=t.insuranceState.vehicle.LicensePlate,h(t.insuranceState.vehicle.LicensePlate),_e.claimFreeYears=t.insuranceState.claimFreeYears,_e.kilometrage=+t.insuranceState.kilometrage,C.birthdate=t.userInformation.birthdate,C.zipcode=t.userInformation.zipCode,C.houseNumber=t.userInformation.houseNumber,C.houseNumberAddition=t.userInformation.houseNumberAddition,l()),t.isOnResultPage||Wt.removeSessionState("motor-storage","motor-path")}),{licenseError:ln,showLicenseInfo:Oo,houseError:ca,showHouseInformation:ko,currentYear:Co,kilometrages:py,minAge:Ol,maxAge:vy,claimFreeYearsErrorData:_y,buttonStyles:s,maxClaimFreeYears:d,onLicenseError:o,onLicenseInput:c,validateBeforeSubmit:v,HouseInformation:wl,vehicle:my,getClaimFreeYearsSelectOptions:i,isModalOpen:Sl,birthDateYear:a,openClaimFreeYearModal:f,setClaimFreeYears:u,getHouseInformation:l,getLicenseInformation:h,openQuotationModal:p,userInformation:C,motorState:_e}};function yy(t){return t=t.split("-").join(""),t}function gy(t,e){return t.split("").reduce((r,n,a)=>(n===e&&r.push(a),r),[])}function by(t){const e=parseInt(t);return!!(e==0||e&&!isNaN(e))}const Mo=["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 Po(t){let e="";if(e=yy(t),e.length>=6){const r=Sy(e).join("");let n=[];for(let a=0;a<Mo.length;a++){const i=Mo[a],s=i.split("-").join("");if(s===r){n=s.split(""),n=wy(i,n,e);break}if(Mo.length===a+1)return"no-template-found"}if(n.length===8)return n.join("")}return e}function wy(t,e,r){return e.map((n,a)=>e[a]=r[a]),gy(t,"-").forEach(n=>e.splice(n,0,"-")),e}function Sy(t){let e=[];for(let r=0;r<t.length;r++){const n=t[r];n&&(by(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 Oy(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ky(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 q={},Cl={},Ml={};Object.defineProperty(Ml,"__esModule",{value:!0}),function(t){var e=g&&g.__createBinding||(Object.create?function(n,a,i,s){s===void 0&&(s=i);var d=Object.getOwnPropertyDescriptor(a,i);(!d||("get"in d?!a.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,s,d)}: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(Ml,t)}(Cl);var Pl={},xo={},Do={},Ro={};Object.defineProperty(Ro,"__esModule",{value:!0});var Cy=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}();Ro.default=Cy;var da={},jo={},To={},ue={},$o={},Se={},Qe={},kr={},Ao={},xl=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(d){s={error:d}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},Dl=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(Ao,"__esModule",{value:!0});var My=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,Dl([],xl(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,Dl([void 0],xl(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}();Ao.default=My;var Fo={},Eo={};(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,d=Object.prototype.hasOwnProperty.call(n,"name");return Object.defineProperty(a,"name",{configurable:!0,enumerable:d,writable:d,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={}))})(Eo);var ve=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof global!="undefined"&&global||{},xe={searchParams:"URLSearchParams"in ve,iterable:"Symbol"in ve&&"iterator"in Symbol,blob:"FileReader"in ve&&"Blob"in ve&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in ve,arrayBuffer:"ArrayBuffer"in ve};function Py(t){return t&&DataView.prototype.isPrototypeOf(t)}if(xe.arrayBuffer)var xy=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Dy=ArrayBuffer.isView||function(t){return t&&xy.indexOf(Object.prototype.toString.call(t))>-1};function Cr(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 Yo(t){return typeof t!="string"&&(t=String(t)),t}function Io(t){var e={next:function(){var r=t.shift();return{done:r===void 0,value:r}}};return xe.iterable&&(e[Symbol.iterator]=function(){return e}),e}function de(t){this.map={},t instanceof de?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)}de.prototype.append=function(t,e){t=Cr(t),e=Yo(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},de.prototype.delete=function(t){delete this.map[Cr(t)]},de.prototype.get=function(t){return t=Cr(t),this.has(t)?this.map[t]:null},de.prototype.has=function(t){return this.map.hasOwnProperty(Cr(t))},de.prototype.set=function(t,e){this.map[Cr(t)]=Yo(e)},de.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},de.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),Io(t)},de.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Io(t)},de.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),Io(t)},xe.iterable&&(de.prototype[Symbol.iterator]=de.prototype.entries);function No(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}}function Rl(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Ry(t){var e=new FileReader,r=Rl(e);return e.readAsArrayBuffer(t),r}function jy(t){var e=new FileReader,r=Rl(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),a=n?n[1]:"utf-8";return e.readAsText(t,a),r}function Ty(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 jl(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function Tl(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?typeof t=="string"?this._bodyText=t:xe.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:xe.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:xe.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():xe.arrayBuffer&&xe.blob&&Py(t)?(this._bodyArrayBuffer=jl(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):xe.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||Dy(t))?this._bodyArrayBuffer=jl(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):xe.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},xe.blob&&(this.blob=function(){var t=No(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=No(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(xe.blob)return this.blob().then(Ry);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var t=No(this);if(t)return t;if(this._bodyBlob)return jy(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Ty(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},xe.formData&&(this.formData=function(){return this.text().then(Fy)}),this.json=function(){return this.text().then(JSON.parse)},this}var $y=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Ay(t){var e=t.toUpperCase();return $y.indexOf(e)>-1?e:t}function ar(t,e){if(!(this instanceof ar))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 ar){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new de(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 de(e.headers)),this.method=Ay(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in ve){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()}}}ar.prototype.clone=function(){return new ar(this,{body:this._bodyInit})};function Fy(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 Ey(t){var e=new de,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(d){console.warn("Response "+d.message)}}}),e}Tl.call(ar.prototype);function dt(t,e){if(!(this instanceof dt))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 de(e.headers),this.url=e.url||"",this._initBody(t)}Tl.call(dt.prototype),dt.prototype.clone=function(){return new dt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new de(this.headers),url:this.url})},dt.error=function(){var t=new dt(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var Yy=[301,302,303,307,308];dt.redirect=function(t,e){if(Yy.indexOf(e)===-1)throw new RangeError("Invalid status code");return new dt(null,{status:e,headers:{location:t}})};var ir=ve.DOMException;try{new ir}catch(t){ir=function(e,r){this.message=e,this.name=r;var n=Error(e);this.stack=n.stack},ir.prototype=Object.create(Error.prototype),ir.prototype.constructor=ir}function $l(t,e){return new Promise(function(r,n){var a=new ar(t,e);if(a.signal&&a.signal.aborted)return n(new ir("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var u={statusText:i.statusText,headers:Ey(i.getAllResponseHeaders()||"")};a.url.indexOf("file://")===0&&(i.status<200||i.status>599)?u.status=200:u.status=i.status,u.url="responseURL"in i?i.responseURL:u.headers.get("X-Request-URL");var o="response"in i?i.response:i.responseText;setTimeout(function(){r(new dt(o,u))},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 ir("Aborted","AbortError"))},0)};function d(u){try{return u===""&&ve.location.href?ve.location.href:u}catch(o){return u}}if(i.open(a.method,d(a.url),!0),a.credentials==="include"?i.withCredentials=!0:a.credentials==="omit"&&(i.withCredentials=!1),"responseType"in i&&(xe.blob?i.responseType="blob":xe.arrayBuffer&&(i.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof de||ve.Headers&&e.headers instanceof ve.Headers)){var f=[];Object.getOwnPropertyNames(e.headers).forEach(function(u){f.push(Cr(u)),i.setRequestHeader(u,Yo(e.headers[u]))}),a.headers.forEach(function(u,o){f.indexOf(o)===-1&&i.setRequestHeader(o,u)})}else a.headers.forEach(function(u,o){i.setRequestHeader(o,u)});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)})}$l.polyfill=!0,ve.fetch||(ve.fetch=$l,ve.Headers=de,ve.Request=ar,ve.Response=dt),self.fetch.bind(self);var fa=g&&g.__assign||function(){return fa=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},fa.apply(this,arguments)},Iy=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 d(o){try{u(n.next(o))}catch(c){s(c)}}function f(o){try{u(n.throw(o))}catch(c){s(c)}}function u(o){o.done?i(o.value):a(o.value).then(d,f)}u((n=n.apply(t,e||[])).next())})},Ny=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:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(u){return function(o){return f([u,o])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(r=0)),r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(o){u=[6,o],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(Fo,"__esModule",{value:!0});var Ly=Eo,Hy=function(){function t(e){this.interceptors={request:new Al,response:new Al},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 fa(fa({},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 Iy(r,void 0,void 0,function(){return Ny(this,function(i){return a.ok?[2,a.json()]:[2,Promise.reject(a.json())]})})})},t.prototype[Ly.Invokable.call]=function(e){return this.fetchRequest(e)},t}(),Al=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}();Fo.default=Hy,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClient=t.Injector=void 0;var e=Ao;Object.defineProperty(t,"Injector",{enumerable:!0,get:function(){return e.default}});var r=Fo;Object.defineProperty(t,"HttpClient",{enumerable:!0,get:function(){return r.default}})}(kr),Object.defineProperty(Qe,"__esModule",{value:!0});var Fl=kr,By=Eo,Vy=function(){function t(){var e=Fl.Injector.instance.get("environment");this.http=By.Invokable.create(new Fl.HttpClient(this.getBaseUrl(e)))}return t}();Qe.default=Vy;var or={},Lo={},ha={};Object.defineProperty(ha,"__esModule",{value:!0});var Wy=function(){function t(e){this.response=e}return t.prototype.next=function(){return this.response},t}();ha.default=Wy;var Uy=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(d){s={error:d}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i},zy=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(Lo,"__esModule",{value:!0});var qy=ha,Gy=function(){function t(e){e===void 0&&(e=new qy.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,zy([],Uy(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}();Lo.default=Gy;var Ho={};Object.defineProperty(Ho,"__esModule",{value:!0});var Zy=function(){function t(e){this.error=e}return t.prototype.next=function(){throw this.error},t}();Ho.default=Zy,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseHandler=t.ErrorHandler=t.RateHandler=void 0;var e=Lo;Object.defineProperty(t,"RateHandler",{enumerable:!0,get:function(){return e.default}});var r=Ho;Object.defineProperty(t,"ErrorHandler",{enumerable:!0,get:function(){return r.default}});var n=ha;Object.defineProperty(t,"ResponseHandler",{enumerable:!0,get:function(){return n.default}})}(or);var Xy=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)}}(),ma=g&&g.__assign||function(){return ma=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},ma.apply(this,arguments)},El=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(Se,"__esModule",{value:!0});var Jy=Qe,Yl=kr,pa=or,Qy=function(t){Xy(e,t);function e(){var r=t.call(this)||this;return r.http.interceptors.request.use(function(n){return n.headers=ma(ma({},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=Yl.Injector.instance.get("configuration-service");return r.isConfigured()?r.getConfigurations().getServices(this.getCategory(),this.getFunnel()):this.getAvailableServices()},e.prototype.getFunnel=function(){try{return Yl.Injector.instance.get("X-Comparison-Funnel")}catch(r){return this.getCategory()}},e.prototype.getRates=function(r){var n,a,i=[];try{for(var s=El(this.getConfiguredServices()),d=s.next();!d.done;d=s.next()){var f=d.value;i.push(this.http({method:"post",url:"/".concat(f,"/rates"),data:r}).then(function(u){return new pa.ResponseHandler(u)}).catch(function(u){return new pa.ErrorHandler(u)}))}}catch(u){n={error:u}}finally{try{d&&!d.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 d=El(this.getConfiguredServices()),f=d.next();!f.done;f=d.next()){var u=f.value;s.push(this.http({method:"post",url:"/".concat(u,"/coverage_rate_comparison/").concat(n),data:r}).then(function(o){return new pa.ResponseHandler(o)}).catch(function(o){return new pa.ErrorHandler(o)}))}}catch(o){a={error:o}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}return Promise.all(s)},e}(Jy.default);Se.default=Qy;var Ky=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($o,"__esModule",{value:!0});var eg=Se,tg=function(t){Ky(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}(eg.default);$o.default=tg;var Bo={},rg=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(Bo,"__esModule",{value:!0});var ng=Se,ag=function(t){rg(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}(ng.default);Bo.default=ag;var Vo={},ig=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(Vo,"__esModule",{value:!0});var og=Qe,sg=function(t){ig(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}(og.default);Vo.default=sg;var Wo={},ug=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(Wo,"__esModule",{value:!0});var lg=Se,cg=function(t){ug(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}(lg.default);Wo.default=cg;var Uo={},dg=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(Uo,"__esModule",{value:!0});var fg=Se,hg=function(t){dg(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}(fg.default);Uo.default=hg;var zo={},mg=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(zo,"__esModule",{value:!0});var pg=Se,vg=function(t){mg(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}(pg.default);zo.default=vg;var qo={},_g=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(qo,"__esModule",{value:!0});var yg=Se,gg=function(t){_g(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}(yg.default);qo.default=gg;var Go={},bg=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 wg=Se,Sg=function(t){bg(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}(wg.default);Go.default=Sg;var Zo={},Og=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(Zo,"__esModule",{value:!0});var Il=or,kg=Se,Cg=function(t){Og(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 Il.ResponseHandler(n)}).catch(function(n){return new Il.ErrorHandler(n)})},e}(kg.default);Zo.default=Cg;var Xo={},Mg=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(Xo,"__esModule",{value:!0});var Pg=Qe,xg=function(t){Mg(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}(Pg.default);Xo.default=xg;var Jo={},Dg=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(Jo,"__esModule",{value:!0});var Rg=Se,jg=function(t){Dg(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}(Rg.default);Jo.default=jg;var Qo={},Tg=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(Qo,"__esModule",{value:!0});var Nl=or,$g=Se,Ag=function(t){Tg(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 Nl.ResponseHandler(n)}).catch(function(n){return new Nl.ErrorHandler(n)})},e}($g.default);Qo.default=Ag;var Ko={},Fg=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(Ko,"__esModule",{value:!0});var Eg=Se,Yg=function(t){Fg(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}(Eg.default);Ko.default=Yg;var es={},Ig=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(es,"__esModule",{value:!0});var Ng=Se,Lg=function(t){Ig(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}(Ng.default);es.default=Lg;var ts={},Hg=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 Bg=Qe,Vg=function(t){Hg(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}(Bg.default);ts.default=Vg;var rs={},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)}}();Object.defineProperty(rs,"__esModule",{value:!0});var Ug=Qe,zg=function(t){Wg(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}(Ug.default);rs.default=zg;var ns={},qg=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 Gg=Qe,Zg=function(t){qg(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}(Gg.default);ns.default=Zg;var as={},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(as,"__esModule",{value:!0});var Jg=Qe,Qg=function(t){Xg(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}(Jg.default);as.default=Qg;var is={},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(is,"__esModule",{value:!0});var eb=Qe,tb=function(t){Kg(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}(eb.default);is.default=tb,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=$o;Object.defineProperty(t,"PetResource",{enumerable:!0,get:function(){return e.default}});var r=Bo;Object.defineProperty(t,"LoanResource",{enumerable:!0,get:function(){return r.default}});var n=Vo;Object.defineProperty(t,"DataResource",{enumerable:!0,get:function(){return n.default}});var a=Wo;Object.defineProperty(t,"HomeResource",{enumerable:!0,get:function(){return a.default}});var i=Uo;Object.defineProperty(t,"MopedResource",{enumerable:!0,get:function(){return i.default}});var s=zo;Object.defineProperty(t,"MotorResource",{enumerable:!0,get:function(){return s.default}});var d=qo;Object.defineProperty(t,"CarResource",{enumerable:!0,get:function(){return d.default}});var f=Go;Object.defineProperty(t,"CaravanResource",{enumerable:!0,get:function(){return f.default}});var u=Zo;Object.defineProperty(t,"BikeResource",{enumerable:!0,get:function(){return u.default}});var o=Xo;Object.defineProperty(t,"PackageResource",{enumerable:!0,get:function(){return o.default}});var c=Jo;Object.defineProperty(t,"HouseholdResource",{enumerable:!0,get:function(){return c.default}});var h=Qo;Object.defineProperty(t,"HousingResource",{enumerable:!0,get:function(){return h.default}});var l=Ko;Object.defineProperty(t,"LiabilityResource",{enumerable:!0,get:function(){return l.default}});var p=es;Object.defineProperty(t,"LegalAssistanceResource",{enumerable:!0,get:function(){return p.default}});var v=ts;Object.defineProperty(t,"PartnerResource",{enumerable:!0,get:function(){return v.default}});var _=rs;Object.defineProperty(t,"ComparisonModuleResource",{enumerable:!0,get:function(){return _.default}});var m=ns;Object.defineProperty(t,"DocumentResource",{enumerable:!0,get:function(){return m.default}});var y=as;Object.defineProperty(t,"ComparisonResource",{enumerable:!0,get:function(){return y.default}});var w=is;Object.defineProperty(t,"DataValidationResource",{enumerable:!0,get:function(){return w.default}})}(ue);var va=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 d(o){try{u(n.next(o))}catch(c){s(c)}}function f(o){try{u(n.throw(o))}catch(c){s(c)}}function u(o){o.done?i(o.value):a(o.value).then(d,f)}u((n=n.apply(t,e||[])).next())})},_a=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:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(u){return function(o){return f([u,o])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(r=0)),r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(o){u=[6,o],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(To,"__esModule",{value:!0});var rb=ue,nb=function(){function t(){this.client=new rb.DataResource}return t.prototype.calculateMaximumLoanAmount=function(e){return va(this,void 0,void 0,function(){return _a(this,function(r){return[2,this.client.calculateMaximumLoanAmount(e)]})})},t.prototype.findVehicle=function(e,r){return va(this,void 0,void 0,function(){return _a(this,function(n){return[2,this.client.findVehicle(e,r)]})})},t.prototype.checkLicensePlate=function(e,r,n){return va(this,void 0,void 0,function(){return _a(this,function(a){return[2,this.client.checkLicensePlate(e,r,n)]})})},t.prototype.validateIBAN=function(e){return va(this,void 0,void 0,function(){return _a(this,function(r){return[2,this.client.validateIBAN(e)]})})},t}();To.default=nb;var cn={},ab=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(cn,"__esModule",{value:!0});var Ll=or,ib=function(){function t(){}return t.prototype.handleRates=function(e){var r,n,a=[new Ll.RateHandler],i=0;try{for(var s=ab(e),d=s.next();!d.done;d=s.next()){var f=d.value;f!==void 0&&(a.push(a[i].setNext(new Ll.RateHandler(f))),i++)}}catch(u){r={error:u}}finally{try{d&&!d.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return a[0].handle()},t}();cn.default=ib;var ya={},je={},ga={};Object.defineProperty(ga,"__esModule",{value:!0});var ob={price:function(t,e){return t.Price-e.Price},coverage:function(t,e){return t.Price-e.Price}};ga.default=ob;var os={},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 Hl=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(os,"__esModule",{value:!0});var Bl=ga,sb=ss;os.default=function(t){for(var e,r,n,a,i=[],s=1,d=0;d<t.length;d++){var f=parseInt(Object.keys(t[d]).sort().pop());f>s&&(s=f)}try{for(var u=Hl((0,sb.default)(1,s,1)),o=u.next();!o.done;o=u.next()){var c=o.value,h=[];try{for(var l=(n=void 0,Hl(t)),p=l.next();!p.done;p=l.next()){var v=p.value;v.hasOwnProperty(c)&&h.push(v[c])}}catch(_){n={error:_}}finally{try{p&&!p.done&&(a=l.return)&&a.call(l)}finally{if(n)throw n.error}}h.length>=1&&(h.sort(Bl.default.price),i.push(h.shift())),h=[]}}catch(_){e={error:_}}finally{try{o&&!o.done&&(r=u.return)&&r.call(u)}finally{if(e)throw e.error}}return i.length>=2&&i.sort(Bl.default.coverage),i},function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.compareRateByCoverage=t.sortBy=void 0;var e=ga;Object.defineProperty(t,"sortBy",{enumerable:!0,get:function(){return e.default}});var r=os;Object.defineProperty(t,"compareRateByCoverage",{enumerable:!0,get:function(){return r.default}})}(je);var Vl;function ub(){if(Vl)return ya;Vl=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(y){try{m(c.next(y))}catch(w){p(w)}}function _(y){try{m(c.throw(y))}catch(w){p(w)}}function m(y){y.done?l(y.value):h(y.value).then(v,_)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(y){return _([m,y])}}function _(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(y){m=[6,y],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(ya,"__esModule",{value:!0});var n=ue,a=B(),i=je,s=Oe(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.PetResource,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("pet",h.sort(i.sortBy.price))]}})})},u.prototype.getPetsecureAdditionalCoverages=function(o){return this.client.getPetsecurAdditionalCoverages(o)},u}(s.RateService);return ya.default=d,ya}var ba={},Wl;function lb(){if(Wl)return ba;Wl=1;var t=g&&g.__extends||function(){var d=function(f,u){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,c){o.__proto__=c}||function(o,c){for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&(o[h]=c[h])},d(f,u)};return function(f,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");d(f,u);function o(){this.constructor=f}f.prototype=u===null?Object.create(u):(o.prototype=u.prototype,new o)}}(),e=g&&g.__awaiter||function(d,f,u,o){function c(h){return h instanceof u?h:new u(function(l){l(h)})}return new(u||(u=Promise))(function(h,l){function p(m){try{_(o.next(m))}catch(y){l(y)}}function v(m){try{_(o.throw(m))}catch(y){l(y)}}function _(m){m.done?h(m.value):c(m.value).then(p,v)}_((o=o.apply(d,f||[])).next())})},r=g&&g.__generator||function(d,f){var u={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},o,c,h,l;return l={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function p(_){return function(m){return v([_,m])}}function v(_){if(o)throw new TypeError("Generator is already executing.");for(;l&&(l=0,_[0]&&(u=0)),u;)try{if(o=1,c&&(h=_[0]&2?c.return:_[0]?c.throw||((h=c.return)&&h.call(c),0):c.next)&&!(h=h.call(c,_[1])).done)return h;switch(c=0,h&&(_=[_[0]&2,h.value]),_[0]){case 0:case 1:h=_;break;case 4:return u.label++,{value:_[1],done:!1};case 5:u.label++,c=_[1],_=[0];continue;case 7:_=u.ops.pop(),u.trys.pop();continue;default:if(h=u.trys,!(h=h.length>0&&h[h.length-1])&&(_[0]===6||_[0]===2)){u=0;continue}if(_[0]===3&&(!h||_[1]>h[0]&&_[1]<h[3])){u.label=_[1];break}if(_[0]===6&&u.label<h[1]){u.label=h[1],h=_;break}if(h&&u.label<h[2]){u.label=h[2],u.ops.push(_);break}h[2]&&u.ops.pop(),u.trys.pop();continue}_=f.call(d,u)}catch(m){_=[6,m],c=0}finally{o=h=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}};Object.defineProperty(ba,"__esModule",{value:!0});var n=B(),a=Oe(),i=ue,s=function(d){t(f,d);function f(){var u=d.call(this)||this;return u.client=new i.LoanResource,u}return f.prototype.getRates=function(u){return e(this,void 0,void 0,function(){var o,c;return r(this,function(h){switch(h.label){case 0:return[4,this.client.getRates(u)];case 1:return o=h.sent(),c=this.handleRates(o),[2,new n.RateCollection("loan",c)]}})})},f.prototype.getFieldValues=function(u){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.getFieldValues(u)]})})},f.prototype.loanRequest=function(u){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.loanRequest(u)]})})},f}(a.RateService);return ba.default=s,ba}var wa={},Ul;function cb(){if(Ul)return wa;Ul=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(y){try{m(c.next(y))}catch(w){p(w)}}function _(y){try{m(c.throw(y))}catch(w){p(w)}}function m(y){y.done?l(y.value):h(y.value).then(v,_)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(y){return _([m,y])}}function _(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(y){m=[6,y],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(wa,"__esModule",{value:!0});var n=ue,a=B(),i=je,s=Oe(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.HomeResource,o}return u.prototype.findHome=function(o){return this.client.findHome(o)},u.prototype.getAddition=function(o){return this.client.getAddition(o)},u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("home",h.sort(i.sortBy.price))]}})})},u.prototype.getAmount=function(o){return this.client.getAmount(o)},u}(s.RateService);return wa.default=d,wa}var Sa={},zl;function db(){if(zl)return Sa;zl=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(y){try{m(c.next(y))}catch(w){p(w)}}function _(y){try{m(c.throw(y))}catch(w){p(w)}}function m(y){y.done?l(y.value):h(y.value).then(v,_)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(y){return _([m,y])}}function _(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(y){m=[6,y],h=0}finally{c=l=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 n=ue,a=B(),i=je,s=Oe(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.MopedResource,o}return u.prototype.findMoped=function(o){return this.client.findMoped(o)},u.prototype.checkValidity=function(o){return this.client.checkValidity(o)},u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("moped",h.sort(i.sortBy.price))]}})})},u.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("moped",(0,i.compareRateByCoverage)(h))]}})})},u.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getRiskAdditionalCoverages(o)]})})},u.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},u.prototype.getEnraAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getEnraAdditionalCoverages(o)]})})},u.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},u}(s.RateService);return Sa.default=d,Sa}var Oa={},ql;function fb(){if(ql)return Oa;ql=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(y){try{m(c.next(y))}catch(w){p(w)}}function _(y){try{m(c.throw(y))}catch(w){p(w)}}function m(y){y.done?l(y.value):h(y.value).then(v,_)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(y){return _([m,y])}}function _(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(y){m=[6,y],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Oa,"__esModule",{value:!0});var n=ue,a=B(),i=je,s=Oe(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.MotorResource,o}return u.prototype.findMotor=function(o){return this.client.findMotor(o)},u.prototype.checkValidity=function(o){return this.client.checkValidity(o)},u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("motor",h.sort(i.sortBy.price))]}})})},u.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("motor",(0,i.compareRateByCoverage)(h))]}})})},u.prototype.getCoverageRateComparisonForCoverage=function(o,c){return e(this,void 0,void 0,function(){var h,l;return r(this,function(p){switch(p.label){case 0:return[4,this.client.getCoverageRateComparison(c,o)];case 1:return h=p.sent(),l=this.handleRates(h),[2,new a.RateCollection("motor",(0,i.compareRateByCoverage)(l))]}})})},u.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},u.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},u.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getRollsAdditionalCoverages(o)]})})},u}(s.RateService);return Oa.default=d,Oa}var ka={},Gl;function hb(){if(Gl)return ka;Gl=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(y){try{m(c.next(y))}catch(w){p(w)}}function _(y){try{m(c.throw(y))}catch(w){p(w)}}function m(y){y.done?l(y.value):h(y.value).then(v,_)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(y){return _([m,y])}}function _(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(y){m=[6,y],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(ka,"__esModule",{value:!0});var n=ue,a=B(),i=je,s=Oe(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.CaravanResource,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("caravan",h.sort(i.sortBy.price))]}})})},u.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("caravan",(0,i.compareRateByCoverage)(h))]}})})},u.prototype.getCaravanBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getCaravanBrands(o)]})})},u.prototype.getCaravanVDBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getCaravanVDBrands(o)]})})},u.prototype.getCaravanModels=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getCaravanModels(o)]})})},u.prototype.getCaravanTypes=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getCaravanTypes(o)]})})},u.prototype.getCaravanCatalogPrice=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getCaravanCatalogPrice(o)]})})},u}(s.RateService);return ka.default=d,ka}var Ca={},Zl;function mb(){if(Zl)return Ca;Zl=1;var t=g&&g.__extends||function(){var u=function(o,c){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&(h[p]=l[p])},u(o,c)};return function(o,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");u(o,c);function h(){this.constructor=o}o.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}}(),e=g&&g.__awaiter||function(u,o,c,h){function l(p){return p instanceof c?p:new c(function(v){v(p)})}return new(c||(c=Promise))(function(p,v){function _(w){try{y(h.next(w))}catch(j){v(j)}}function m(w){try{y(h.throw(w))}catch(j){v(j)}}function y(w){w.done?p(w.value):l(w.value).then(_,m)}y((h=h.apply(u,o||[])).next())})},r=g&&g.__generator||function(u,o){var c={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},h,l,p,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 m([y,w])}}function m(y){if(h)throw new TypeError("Generator is already executing.");for(;v&&(v=0,y[0]&&(c=0)),c;)try{if(h=1,l&&(p=y[0]&2?l.return:y[0]?l.throw||((p=l.return)&&p.call(l),0):l.next)&&!(p=p.call(l,y[1])).done)return p;switch(l=0,p&&(y=[y[0]&2,p.value]),y[0]){case 0:case 1:p=y;break;case 4:return c.label++,{value:y[1],done:!1};case 5:c.label++,l=y[1],y=[0];continue;case 7:y=c.ops.pop(),c.trys.pop();continue;default:if(p=c.trys,!(p=p.length>0&&p[p.length-1])&&(y[0]===6||y[0]===2)){c=0;continue}if(y[0]===3&&(!p||y[1]>p[0]&&y[1]<p[3])){c.label=y[1];break}if(y[0]===6&&c.label<p[1]){c.label=p[1],p=y;break}if(p&&c.label<p[2]){c.label=p[2],c.ops.push(y);break}p[2]&&c.ops.pop(),c.trys.pop();continue}y=o.call(u,c)}catch(w){y=[6,w],l=0}finally{h=p=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}};Object.defineProperty(Ca,"__esModule",{value:!0});var n=ue,a=B(),i=or,s=je,d=cn,f=function(u){t(o,u);function o(){var c=u.call(this)||this;return c.client=new n.BikeResource,c}return o.prototype.getRates=function(c){return e(this,void 0,void 0,function(){var h,l;return r(this,function(p){switch(p.label){case 0:return[4,this.client.getRates(c)];case 1:return h=p.sent(),l=this.handleRates(h),[2,new a.RateCollection("bike",l.sort(s.sortBy.price))]}})})},o.prototype.getEnraRates=function(c){return e(this,void 0,void 0,function(){var h,l,p;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getEnraRates(c)];case 1:return h=v.sent(),l=new i.RateHandler(h),p=l.handle(),[2,new a.RateCollection("bike",p.sort(s.sortBy.price))]}})})},o}(d.default);return Ca.default=f,Ca}var Ma={},Xl;function pb(){if(Xl)return Ma;Xl=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(y){try{m(c.next(y))}catch(w){p(w)}}function _(y){try{m(c.throw(y))}catch(w){p(w)}}function m(y){y.done?l(y.value):h(y.value).then(v,_)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(y){return _([m,y])}}function _(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(y){m=[6,y],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Ma,"__esModule",{value:!0});var n=ue,a=B(),i=je,s=Oe(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.HouseholdResource,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("household",h.sort(i.sortBy.price))]}})})},u.prototype.getAmount=function(o){return this.client.getAmount(o)},u}(s.RateService);return Ma.default=d,Ma}var us={},ls={},vb=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 _b=Se,yb=function(t){vb(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}(_b.default);ls.default=yb,Object.defineProperty(us,"__esModule",{value:!0});var gb=ls,bb=function(){function t(){this.client=new gb.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}();us.default=bb;var Pa={},Jl;function wb(){if(Jl)return Pa;Jl=1;var t=g&&g.__extends||function(){var u=function(o,c){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,l){h.__proto__=l}||function(h,l){for(var p in l)Object.prototype.hasOwnProperty.call(l,p)&&(h[p]=l[p])},u(o,c)};return function(o,c){if(typeof c!="function"&&c!==null)throw new TypeError("Class extends value "+String(c)+" is not a constructor or null");u(o,c);function h(){this.constructor=o}o.prototype=c===null?Object.create(c):(h.prototype=c.prototype,new h)}}(),e=g&&g.__awaiter||function(u,o,c,h){function l(p){return p instanceof c?p:new c(function(v){v(p)})}return new(c||(c=Promise))(function(p,v){function _(w){try{y(h.next(w))}catch(j){v(j)}}function m(w){try{y(h.throw(w))}catch(j){v(j)}}function y(w){w.done?p(w.value):l(w.value).then(_,m)}y((h=h.apply(u,o||[])).next())})},r=g&&g.__generator||function(u,o){var c={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},h,l,p,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 m([y,w])}}function m(y){if(h)throw new TypeError("Generator is already executing.");for(;v&&(v=0,y[0]&&(c=0)),c;)try{if(h=1,l&&(p=y[0]&2?l.return:y[0]?l.throw||((p=l.return)&&p.call(l),0):l.next)&&!(p=p.call(l,y[1])).done)return p;switch(l=0,p&&(y=[y[0]&2,p.value]),y[0]){case 0:case 1:p=y;break;case 4:return c.label++,{value:y[1],done:!1};case 5:c.label++,l=y[1],y=[0];continue;case 7:y=c.ops.pop(),c.trys.pop();continue;default:if(p=c.trys,!(p=p.length>0&&p[p.length-1])&&(y[0]===6||y[0]===2)){c=0;continue}if(y[0]===3&&(!p||y[1]>p[0]&&y[1]<p[3])){c.label=y[1];break}if(y[0]===6&&c.label<p[1]){c.label=p[1],p=y;break}if(p&&c.label<p[2]){c.label=p[2],c.ops.push(y);break}p[2]&&c.ops.pop(),c.trys.pop();continue}y=o.call(u,c)}catch(w){y=[6,w],l=0}finally{h=p=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}};Object.defineProperty(Pa,"__esModule",{value:!0});var n=ue,a=B(),i=or,s=je,d=Oe(),f=function(u){t(o,u);function o(){var c=u.call(this)||this;return c.client=new n.HousingResource,c}return o.prototype.getRates=function(c){return e(this,void 0,void 0,function(){var h,l;return r(this,function(p){switch(p.label){case 0:return[4,this.client.getRates(c)];case 1:return h=p.sent(),l=this.handleRates(h),[2,new a.RateCollection("housing",l.sort(s.sortBy.price))]}})})},o.prototype.getMoneyviewRates=function(c){return e(this,void 0,void 0,function(){var h,l,p;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getMoneyviewRates(c)];case 1:return h=v.sent(),l=new i.RateHandler(h),p=l.handle(),[2,new a.RateCollection("housing",p.sort(s.sortBy.price))]}})})},o}(d.RateService);return Pa.default=f,Pa}var xa={},Ql;function Sb(){if(Ql)return xa;Ql=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(y){try{m(c.next(y))}catch(w){p(w)}}function _(y){try{m(c.throw(y))}catch(w){p(w)}}function m(y){y.done?l(y.value):h(y.value).then(v,_)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(y){return _([m,y])}}function _(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(y){m=[6,y],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(xa,"__esModule",{value:!0});var n=ue,a=B(),i=je,s=Oe(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.LiabilityResource,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("liability",h.sort(i.sortBy.price))]}})})},u}(s.RateService);return xa.default=d,xa}var Da={},Kl;function Ob(){if(Kl)return Da;Kl=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(y){try{m(c.next(y))}catch(w){p(w)}}function _(y){try{m(c.throw(y))}catch(w){p(w)}}function m(y){y.done?l(y.value):h(y.value).then(v,_)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(y){return _([m,y])}}function _(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(y){m=[6,y],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Da,"__esModule",{value:!0});var n=ue,a=B(),i=je,s=Oe(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.LegalAssistanceResource,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("legal-assistance",h.sort(i.sortBy.price))]}})})},u.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},u.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},u.prototype.getVergelijkdirectAdditionalCoverages=function(o){return this.client.getVergelijkdirectAdditionalCoverages(o)},u}(s.RateService);return Da.default=d,Da}var cs={};Object.defineProperty(cs,"__esModule",{value:!0});var kb=ue,Cb=function(){function t(){this.client=new kb.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=Cb;var ds={};Object.defineProperty(ds,"__esModule",{value:!0});var Mb=ue,Pb=function(){function t(){this.client=new Mb.ComparisonModuleResource}return t.prototype.getInitializationData=function(){return this.client.getInitializationData()},t.prototype.getScriptSource=function(){return this.client.getScriptSource()},t}();ds.default=Pb;var Ra={},fs={},hs={};Object.defineProperty(hs,"__esModule",{value:!0});var xb=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}();hs.default=xb;var ja={},ec;function Db(){if(ec)return ja;ec=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(s[f]=d[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(ja,"__esModule",{value:!0});var e=rc(),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 ja.default=r,ja}var tc;function rc(){return tc||(tc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultConfigurationModel=t.ConfigurationModel=void 0;var e=hs;Object.defineProperty(t,"ConfigurationModel",{enumerable:!0,get:function(){return e.default}});var r=Db();Object.defineProperty(t,"DefaultConfigurationModel",{enumerable:!0,get:function(){return r.default}})}(fs)),fs}var nc;function Rb(){if(nc)return Ra;nc=1;var t=g&&g.__awaiter||function(i,s,d,f){function u(o){return o instanceof d?o:new d(function(c){c(o)})}return new(d||(d=Promise))(function(o,c){function h(v){try{p(f.next(v))}catch(_){c(_)}}function l(v){try{p(f.throw(v))}catch(_){c(_)}}function p(v){v.done?o(v.value):u(v.value).then(h,l)}p((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var d={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,u,o,c;return c={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function h(p){return function(v){return l([p,v])}}function l(p){if(f)throw new TypeError("Generator is already executing.");for(;c&&(c=0,p[0]&&(d=0)),d;)try{if(f=1,u&&(o=p[0]&2?u.return:p[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,p[1])).done)return o;switch(u=0,o&&(p=[p[0]&2,o.value]),p[0]){case 0:case 1:o=p;break;case 4:return d.label++,{value:p[1],done:!1};case 5:d.label++,u=p[1],p=[0];continue;case 7:p=d.ops.pop(),d.trys.pop();continue;default:if(o=d.trys,!(o=o.length>0&&o[o.length-1])&&(p[0]===6||p[0]===2)){d=0;continue}if(p[0]===3&&(!o||p[1]>o[0]&&p[1]<o[3])){d.label=p[1];break}if(p[0]===6&&d.label<o[1]){d.label=o[1],o=p;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(p);break}o[2]&&d.ops.pop(),d.trys.pop();continue}p=s.call(i,d)}catch(v){p=[6,v],u=0}finally{f=o=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 r=Oe(),n=rc(),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,d,f;return e(this,function(u){switch(u.label){case 0:return u.trys.push([0,2,,3]),[4,this.configurationService.getInitializationData()];case 1:return s=u.sent(),d=new n.ConfigurationModel(s),this.setConfigurations(d),[3,3];case 2:return f=u.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 Ra.default=a,Ra}var Ta={},$a={},ms={};Object.defineProperty(ms,"__esModule",{value:!0});function jb(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]}ms.default=jb;var ps={};Object.defineProperty(ps,"__esModule",{value:!0}),ps.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=ms;Object.defineProperty(t,"mapRiskInsurances",{enumerable:!0,get:function(){return e.default}});var r=ps;Object.defineProperty(t,"insuranceKeyConfig",{enumerable:!0,get:function(){return r.default}})}($a);var dn={};Object.defineProperty(dn,"__esModule",{value:!0}),dn.supplierPlacementTracker=void 0,dn.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 ac;function Tb(){if(ac)return Ta;ac=1;var t=g&&g.__awaiter||function(o,c,h,l){function p(v){return v instanceof h?v:new h(function(_){_(v)})}return new(h||(h=Promise))(function(v,_){function m(j){try{w(l.next(j))}catch(G){_(G)}}function y(j){try{w(l.throw(j))}catch(G){_(G)}}function w(j){j.done?v(j.value):p(j.value).then(m,y)}w((l=l.apply(o,c||[])).next())})},e=g&&g.__generator||function(o,c){var h={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]},l,p,v,_;return _={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function m(w){return function(j){return y([w,j])}}function y(w){if(l)throw new TypeError("Generator is already executing.");for(;_&&(_=0,w[0]&&(h=0)),h;)try{if(l=1,p&&(v=w[0]&2?p.return:w[0]?p.throw||((v=p.return)&&v.call(p),0):p.next)&&!(v=v.call(p,w[1])).done)return v;switch(p=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++,p=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=c.call(o,h)}catch(j){w=[6,j],p=0}finally{l=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 c=typeof Symbol=="function"&&Symbol.iterator,h=c&&o[c],l=0;if(h)return h.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&l>=o.length&&(o=void 0),{value:o&&o[l++],done:!o}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Ta,"__esModule",{value:!0});var n=ue,a=$a,i=B(),s=je,d=dn,f=kr,u=function(){function o(){this.client=new n.PackageResource}return o.prototype.calculatePackage=function(c){return this.client.calculatePackage(c)},o.prototype.calculateAdditionalCoverages=function(c){return this.client.calculateAdditionalCoverages(c)},o.prototype.calculatePackages=function(c){return t(this,void 0,void 0,function(){var h,l,p,v,_,m,y,w,j;return e(this,function(G){switch(G.label){case 0:h=new i.RateCollection,l=[],G.label=1;case 1:return G.trys.push([1,3,,4]),[4,this.client.calculatePackages(c)];case 2:return l=G.sent(),l.length===0?[2,h]:[3,4];case 3:return G.sent(),[2,h];case 4:if(p=f.Injector.instance.get(c),v=[],p.funnel!="package")return[2,new i.RateCollection("package",l.filter(Boolean).sort(s.sortBy.price))];try{for(_=r(l),m=_.next();!m.done;m=_.next())y=m.value,v.push(this.client.calculatePackageDiscount(y.CompanyName,y).catch(function(pe){return null}))}catch(pe){w={error:pe}}finally{try{m&&!m.done&&(j=_.return)&&j.call(_)}finally{if(w)throw w.error}}return[2,Promise.all(v).then(function(pe){return new i.RateCollection("package",pe.filter(Boolean).sort(s.sortBy.price))})]}})})},o.prototype.calculateCompanyDiscount=function(c,h){return this.client.calculatePackageDiscount(c,h)},o.prototype.requestPackage=function(c){return t(this,void 0,void 0,function(){var h;return e(this,function(l){switch(l.label){case 0:return localStorage.getItem("supplierID")&&localStorage.getItem("placementID")&&(c.SupplierID=localStorage.getItem("supplierID"),c.PlacementID=localStorage.getItem("placementID")),[4,this.client.requestPackage(c)];case 1:return h=l.sent(),d.supplierPlacementTracker.removeParams(),[2,h]}})})},o.prototype.savePackage=function(c){return this.client.savePackage(c)},o.prototype.addAdditionalUserInfo=function(c){return this.client.addAdditionalUserInfo(c)},o.prototype.annualDiscount=function(c){return this.client.annualDiscount(c)},o.prototype.getRequest=function(c){for(var h={},l=0;l<c.length;l++){var p=(0,a.mapRiskInsurances)(c[l].Category);h.hasOwnProperty(p)||(h[p]=[]),h[p].push(c[l])}return h},o}();return Ta.default=u,Ta}var Aa={},ic;function $b(){if(ic)return Aa;ic=1;var t=g&&g.__awaiter||function(i,s,d,f){function u(o){return o instanceof d?o:new d(function(c){c(o)})}return new(d||(d=Promise))(function(o,c){function h(v){try{p(f.next(v))}catch(_){c(_)}}function l(v){try{p(f.throw(v))}catch(_){c(_)}}function p(v){v.done?o(v.value):u(v.value).then(h,l)}p((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var d={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,u,o,c;return c={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function h(p){return function(v){return l([p,v])}}function l(p){if(f)throw new TypeError("Generator is already executing.");for(;c&&(c=0,p[0]&&(d=0)),d;)try{if(f=1,u&&(o=p[0]&2?u.return:p[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,p[1])).done)return o;switch(u=0,o&&(p=[p[0]&2,o.value]),p[0]){case 0:case 1:o=p;break;case 4:return d.label++,{value:p[1],done:!1};case 5:d.label++,u=p[1],p=[0];continue;case 7:p=d.ops.pop(),d.trys.pop();continue;default:if(o=d.trys,!(o=o.length>0&&o[o.length-1])&&(p[0]===6||p[0]===2)){d=0;continue}if(p[0]===3&&(!o||p[1]>o[0]&&p[1]<o[3])){d.label=p[1];break}if(p[0]===6&&d.label<o[1]){d.label=o[1],o=p;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(p);break}o[2]&&d.ops.pop(),d.trys.pop();continue}p=s.call(i,d)}catch(v){p=[6,v],u=0}finally{f=o=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 r=ue,n=B(),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 d=this;return e(this,function(f){return[2,function(){var u=!1,o=new n.DocumentsModel({ConditionUrls:[],InsuranceCards:[]});return function(){return t(d,void 0,void 0,function(){var c,h;return e(this,function(l){switch(l.label){case 0:if(u)return[3,4];u=!0,l.label=1;case 1:return l.trys.push([1,3,,4]),[4,this.client.getMoneyviewDocumentList(s)];case 2:return c=l.sent(),[2,new n.DocumentsModel(c)];case 3:return h=l.sent(),console.error(h),[3,4];case 4:return[2,o]}})})}}()]})})},i}();return Aa.default=a,Aa}var Fa={},vs={},Ea={},oc;function Ab(){if(oc)return Ea;oc=1;var t=g&&g.__values||function(a){var i=typeof Symbol=="function"&&Symbol.iterator,s=i&&a[i],d=0;if(s)return s.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&d>=a.length&&(a=void 0),{value:a&&a[d++],done:!a}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Ea,"__esModule",{value:!0});var e=B(),r=$a,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 d,f;try{for(var u=t(r.insuranceKeyConfig),o=u.next();!o.done;o=u.next()){var c=o.value,h=(0,r.mapRiskInsurances)(c,!0);if(s.hasOwnProperty(c)){var l=s[c];if(!(Array.isArray(l)&&l.length)){delete s[c];continue}for(var p=new e.RateCollection(h,[]),v=0;v<s[c].length;v++)p.push(a.createRate(h,l[v]));s[c]=p}}}catch(_){d={error:_}}finally{try{o&&!o.done&&(f=u.return)&&f.call(u)}finally{if(d)throw d.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 Ea.default=n,Ea}var Ya={},sc;function Fb(){if(sc)return Ya;sc=1,Object.defineProperty(Ya,"__esModule",{value:!0});var t=Oe(),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 Ya.default=e,Ya}var Ia={},uc;function Eb(){if(uc)return Ia;uc=1,Object.defineProperty(Ia,"__esModule",{value:!0});var t=B(),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 Ia.default=e,Ia}var lc;function Dt(){return lc||(lc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComparisonFactory=t.ApiServiceFactory=t.RateFactory=void 0;var e=Ab();Object.defineProperty(t,"RateFactory",{enumerable:!0,get:function(){return e.default}});var r=Fb();Object.defineProperty(t,"ApiServiceFactory",{enumerable:!0,get:function(){return r.default}});var n=Eb();Object.defineProperty(t,"ComparisonFactory",{enumerable:!0,get:function(){return n.default}})}(vs)),vs}var cc;function Yb(){if(cc)return Fa;cc=1;var t=g&&g.__awaiter||function(s,d,f,u){function o(c){return c instanceof f?c:new f(function(h){h(c)})}return new(f||(f=Promise))(function(c,h){function l(_){try{v(u.next(_))}catch(m){h(m)}}function p(_){try{v(u.throw(_))}catch(m){h(m)}}function v(_){_.done?c(_.value):o(_.value).then(l,p)}v((u=u.apply(s,d||[])).next())})},e=g&&g.__generator||function(s,d){var f={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},u,o,c,h;return h={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function l(v){return function(_){return p([v,_])}}function p(v){if(u)throw new TypeError("Generator is already executing.");for(;h&&(h=0,v[0]&&(f=0)),f;)try{if(u=1,o&&(c=v[0]&2?o.return:v[0]?o.throw||((c=o.return)&&c.call(o),0):o.next)&&!(c=c.call(o,v[1])).done)return c;switch(o=0,c&&(v=[v[0]&2,c.value]),v[0]){case 0:case 1:c=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(c=f.trys,!(c=c.length>0&&c[c.length-1])&&(v[0]===6||v[0]===2)){f=0;continue}if(v[0]===3&&(!c||v[1]>c[0]&&v[1]<c[3])){f.label=v[1];break}if(v[0]===6&&f.label<c[1]){f.label=c[1],c=v;break}if(c&&f.label<c[2]){f.label=c[2],f.ops.push(v);break}c[2]&&f.ops.pop(),f.trys.pop();continue}v=d.call(s,f)}catch(_){v=[6,_],o=0}finally{u=c=0}if(v[0]&5)throw v[1];return{value:v[0]?v[1]:void 0,done:!0}}};Object.defineProperty(Fa,"__esModule",{value:!0});var r=ue,n=Dt(),a=kr,i=function(){function s(){this.client=new r.ComparisonResource}return s.prototype.create=function(d,f){return f===void 0&&(f=null),t(this,void 0,void 0,function(){var u,o;return e(this,function(c){switch(c.label){case 0:return u={funnel:d},f!==null&&(u.user=f),[4,this.client.create(u)];case 1:return o=c.sent(),[2,n.ComparisonFactory.createFromResponse(o)]}})})},s.prototype.update=function(d){return t(this,void 0,void 0,function(){var f,u;return e(this,function(o){switch(o.label){case 0:return f=d.toObject(),[4,this.client.update(f,d.getId())];case 1:return u=o.sent(),[2,n.ComparisonFactory.createFromResponse(u)]}})})},s.prototype.get=function(d){return t(this,void 0,void 0,function(){var f,u;return e(this,function(o){switch(o.label){case 0:return[4,this.client.get(d)];case 1:return f=o.sent(),u=n.ComparisonFactory.createFromResponse(f),a.Injector.instance.constant(u.getId(),{funnel:u.getFunnel()}),a.Injector.instance.constant("X-Comparison-Funnel",u.getFunnel()),[2,u]}})})},s}();return Fa.default=i,Fa}var _s={};Object.defineProperty(_s,"__esModule",{value:!0});var Ib=ue,Nb=function(){function t(){this.client=new Ib.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=Nb;var Na={},dc;function Lb(){if(dc)return Na;dc=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(y){try{m(c.next(y))}catch(w){p(w)}}function _(y){try{m(c.throw(y))}catch(w){p(w)}}function m(y){y.done?l(y.value):h(y.value).then(v,_)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(y){return _([m,y])}}function _(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(y){m=[6,y],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Na,"__esModule",{value:!0});var n=ue,a=B(),i=je,s=Oe(),d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new n.CarResource,o}return u.prototype.findCar=function(o){return this.client.findCar(o)},u.prototype.checkValidity=function(o){return this.client.checkValidity(o)},u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new a.RateCollection("car",h.sort(i.sortBy.price))]}})})},u.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getRiskAdditionalCoverages(o)]})})},u.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getRollsAdditionalCoverages(o)]})})},u.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},u}(s.RateService);return Na.default=d,Na}var La={},ys={},Hb=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 Bb=Se,Vb=function(t){Hb(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}(Bb.default);ys.default=Vb;var fc;function Wb(){if(fc)return La;fc=1;var t=g&&g.__extends||function(){var f=function(u,o){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(c,h){c.__proto__=h}||function(c,h){for(var l in h)Object.prototype.hasOwnProperty.call(h,l)&&(c[l]=h[l])},f(u,o)};return function(u,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");f(u,o);function c(){this.constructor=u}u.prototype=o===null?Object.create(o):(c.prototype=o.prototype,new c)}}(),e=g&&g.__awaiter||function(f,u,o,c){function h(l){return l instanceof o?l:new o(function(p){p(l)})}return new(o||(o=Promise))(function(l,p){function v(y){try{m(c.next(y))}catch(w){p(w)}}function _(y){try{m(c.throw(y))}catch(w){p(w)}}function m(y){y.done?l(y.value):h(y.value).then(v,_)}m((c=c.apply(f,u||[])).next())})},r=g&&g.__generator||function(f,u){var o={label:0,sent:function(){if(l[0]&1)throw l[1];return l[1]},trys:[],ops:[]},c,h,l,p;return p={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(p[Symbol.iterator]=function(){return this}),p;function v(m){return function(y){return _([m,y])}}function _(m){if(c)throw new TypeError("Generator is already executing.");for(;p&&(p=0,m[0]&&(o=0)),o;)try{if(c=1,h&&(l=m[0]&2?h.return:m[0]?h.throw||((l=h.return)&&l.call(h),0):h.next)&&!(l=l.call(h,m[1])).done)return l;switch(h=0,l&&(m=[m[0]&2,l.value]),m[0]){case 0:case 1:l=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,h=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(l=o.trys,!(l=l.length>0&&l[l.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!l||m[1]>l[0]&&m[1]<l[3])){o.label=m[1];break}if(m[0]===6&&o.label<l[1]){o.label=l[1],l=m;break}if(l&&o.label<l[2]){o.label=l[2],o.ops.push(m);break}l[2]&&o.ops.pop(),o.trys.pop();continue}m=u.call(f,o)}catch(y){m=[6,y],h=0}finally{c=l=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(La,"__esModule",{value:!0});var n=B(),a=je,i=cn,s=ys,d=function(f){t(u,f);function u(){var o=f.call(this)||this;return o.client=new s.default,o}return u.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var c,h;return r(this,function(l){switch(l.label){case 0:return[4,this.client.getRates(o)];case 1:return c=l.sent(),h=this.handleRates(c),[2,new n.RateCollection("travel",h.sort(a.sortBy.price))]}})})},u.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getRiskAdditionalCoverages(o)]})})},u.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},u.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(c){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},u}(i.default);return La.default=d,La}var gs={},bs={},Ub=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 zb=Qe,qb=function(t){Ub(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}(zb.default);bs.default=qb,Object.defineProperty(gs,"__esModule",{value:!0});var Gb=bs,Zb=function(){function t(){this.client=new Gb.default}return t.prototype.create=function(e){return this.client.create(e)},t}();gs.default=Zb;var hc;function Oe(){return hc||(hc=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=To;Object.defineProperty(t,"DataService",{enumerable:!0,get:function(){return e.default}});var r=cn;Object.defineProperty(t,"RateService",{enumerable:!0,get:function(){return r.default}});var n=ub();Object.defineProperty(t,"PetService",{enumerable:!0,get:function(){return n.default}});var a=lb();Object.defineProperty(t,"LoanService",{enumerable:!0,get:function(){return a.default}});var i=cb();Object.defineProperty(t,"HomeService",{enumerable:!0,get:function(){return i.default}});var s=db();Object.defineProperty(t,"MopedService",{enumerable:!0,get:function(){return s.default}});var d=fb();Object.defineProperty(t,"MotorService",{enumerable:!0,get:function(){return d.default}});var f=hb();Object.defineProperty(t,"CaravanService",{enumerable:!0,get:function(){return f.default}});var u=mb();Object.defineProperty(t,"BikeService",{enumerable:!0,get:function(){return u.default}});var o=pb();Object.defineProperty(t,"HouseholdService",{enumerable:!0,get:function(){return o.default}});var c=us;Object.defineProperty(t,"V1Service",{enumerable:!0,get:function(){return c.default}});var h=wb();Object.defineProperty(t,"HousingService",{enumerable:!0,get:function(){return h.default}});var l=Sb();Object.defineProperty(t,"LiabilityService",{enumerable:!0,get:function(){return l.default}});var p=Ob();Object.defineProperty(t,"LegalAssistanceService",{enumerable:!0,get:function(){return p.default}});var v=cs;Object.defineProperty(t,"PartnerService",{enumerable:!0,get:function(){return v.default}});var _=ds;Object.defineProperty(t,"ComparisonModuleService",{enumerable:!0,get:function(){return _.default}});var m=Rb();Object.defineProperty(t,"ConfigurationsService",{enumerable:!0,get:function(){return m.default}});var y=Tb();Object.defineProperty(t,"PackageService",{enumerable:!0,get:function(){return y.default}});var w=$b();Object.defineProperty(t,"DocumentService",{enumerable:!0,get:function(){return w.default}});var j=Yb();Object.defineProperty(t,"ComparisonService",{enumerable:!0,get:function(){return j.default}});var G=_s;Object.defineProperty(t,"DataValidationService",{enumerable:!0,get:function(){return G.default}});var pe=Lb();Object.defineProperty(t,"CarService",{enumerable:!0,get:function(){return pe.default}});var De=Wb();Object.defineProperty(t,"TravelService",{enumerable:!0,get:function(){return De.default}});var Ce=gs;Object.defineProperty(t,"UserService",{enumerable:!0,get:function(){return Ce.default}})}(jo)),jo}var mc;function pc(){if(mc)return da;mc=1;var t=g&&g.__awaiter||function(i,s,d,f){function u(o){return o instanceof d?o:new d(function(c){c(o)})}return new(d||(d=Promise))(function(o,c){function h(v){try{p(f.next(v))}catch(_){c(_)}}function l(v){try{p(f.throw(v))}catch(_){c(_)}}function p(v){v.done?o(v.value):u(v.value).then(h,l)}p((f=f.apply(i,s||[])).next())})},e=g&&g.__generator||function(i,s){var d={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},f,u,o,c;return c={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(c[Symbol.iterator]=function(){return this}),c;function h(p){return function(v){return l([p,v])}}function l(p){if(f)throw new TypeError("Generator is already executing.");for(;c&&(c=0,p[0]&&(d=0)),d;)try{if(f=1,u&&(o=p[0]&2?u.return:p[0]?u.throw||((o=u.return)&&o.call(u),0):u.next)&&!(o=o.call(u,p[1])).done)return o;switch(u=0,o&&(p=[p[0]&2,o.value]),p[0]){case 0:case 1:o=p;break;case 4:return d.label++,{value:p[1],done:!1};case 5:d.label++,u=p[1],p=[0];continue;case 7:p=d.ops.pop(),d.trys.pop();continue;default:if(o=d.trys,!(o=o.length>0&&o[o.length-1])&&(p[0]===6||p[0]===2)){d=0;continue}if(p[0]===3&&(!o||p[1]>o[0]&&p[1]<o[3])){d.label=p[1];break}if(p[0]===6&&d.label<o[1]){d.label=o[1],o=p;break}if(o&&d.label<o[2]){d.label=o[2],d.ops.push(p);break}o[2]&&d.ops.pop(),d.trys.pop();continue}p=s.call(i,d)}catch(v){p=[6,v],u=0}finally{f=o=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}};Object.defineProperty(da,"__esModule",{value:!0});var r=Oe(),n=B(),a=function(){function i(s,d){this.data=d,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,d){d===void 0&&(d=null);try{return s.split(".").reduce(function(f,u){return f[u]},this.getData())}catch(f){return d}},i.prototype.set=function(s,d){return this.data[s]=d,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(d){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 da.default=a,da}var Ha={},Ba={},vc;function _c(){if(vc)return Ba;vc=1;var t=g&&g.__values||function(a){var i=typeof Symbol=="function"&&Symbol.iterator,s=i&&a[i],d=0;if(s)return s.call(a);if(a&&typeof a.length=="number")return{next:function(){return a&&d>=a.length&&(a=void 0),{value:a&&a[d++],done:!a}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Ba,"__esModule",{value:!0});var e=B(),r=Dt(),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 d=0;d<s.length;d++)this.rates.push(r.RateFactory.get(i,s[d]))}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,d=[];try{for(var f=t(this.rates),u=f.next();!u.done;u=f.next()){var o=u.value;d.push(o.getData())}}catch(c){i={error:c}}finally{try{u&&!u.done&&(s=f.return)&&s.call(f)}finally{if(i)throw i.error}}return d},a}();return Ba.default=n,Ba}var yc;function Xb(){if(yc)return Ha;yc=1;var t=g&&g.__extends||function(){var d=function(f,u){return d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,c){o.__proto__=c}||function(o,c){for(var h in c)Object.prototype.hasOwnProperty.call(c,h)&&(o[h]=c[h])},d(f,u)};return function(f,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");d(f,u);function o(){this.constructor=f}f.prototype=u===null?Object.create(u):(o.prototype=u.prototype,new o)}}(),e=g&&g.__values||function(d){var f=typeof Symbol=="function"&&Symbol.iterator,u=f&&d[f],o=0;if(u)return u.call(d);if(d&&typeof d.length=="number")return{next:function(){return d&&o>=d.length&&(d=void 0),{value:d&&d[o++],done:!d}}};throw new TypeError(f?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Ha,"__esModule",{value:!0});var r=B(),n=Dt(),a=$a,i=_c(),s=function(d){t(f,d);function f(){return d!==null&&d.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(u){var o,c;u===void 0&&(u=null);var h=d.prototype.getData.call(this);if(u!==null)return h[(0,a.mapRiskInsurances)(u)];var l=new i.default;try{for(var p=e(a.insuranceKeyConfig),v=p.next();!v.done;v=p.next()){var _=v.value;h.hasOwnProperty(_)&&(l=l.merge(h[_]))}}catch(m){o={error:m}}finally{try{v&&!v.done&&(c=p.return)&&c.call(p)}finally{if(o)throw o.error}}return l},f.prototype.getData=function(){var u,o,c,h,l=d.prototype.getData.call(this);try{for(var p=e(a.insuranceKeyConfig),v=p.next();!v.done;v=p.next()){var _=v.value;if(l.hasOwnProperty(_)){var m=[];try{for(var y=(c=void 0,e(l[_].all())),w=y.next();!w.done;w=y.next()){var j=w.value;m.push(j.getData())}}catch(G){c={error:G}}finally{try{w&&!w.done&&(h=y.return)&&h.call(y)}finally{if(c)throw c.error}}l[_]=m}}}catch(G){u={error:G}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(u)throw u.error}}return l},f}(r.Rate);return Ha.default=s,Ha}var Va={},gc;function Jb(){if(gc)return Va;gc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(s[f]=d[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(Va,"__esModule",{value:!0});var e=B(),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 Va.default=r,Va}var Wa={},bc;function Qb(){if(bc)return Wa;bc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var u in f)Object.prototype.hasOwnProperty.call(f,u)&&(d[u]=f[u])},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 d(){this.constructor=i}i.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}();Object.defineProperty(Wa,"__esModule",{value:!0});var e=B(),r=Dt(),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 Wa.default=n,Wa}var Ua={},wc;function Kb(){if(wc)return Ua;wc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var u in f)Object.prototype.hasOwnProperty.call(f,u)&&(d[u]=f[u])},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 d(){this.constructor=i}i.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}();Object.defineProperty(Ua,"__esModule",{value:!0});var e=B(),r=Dt(),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 Ua.default=n,Ua}var za={},Sc;function e0(){if(Sc)return za;Sc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var u in f)Object.prototype.hasOwnProperty.call(f,u)&&(d[u]=f[u])},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 d(){this.constructor=i}i.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}();Object.defineProperty(za,"__esModule",{value:!0});var e=B(),r=Dt(),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 za.default=n,za}var qa={},Oc;function t0(){if(Oc)return qa;Oc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var u in f)Object.prototype.hasOwnProperty.call(f,u)&&(d[u]=f[u])},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 d(){this.constructor=i}i.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}();Object.defineProperty(qa,"__esModule",{value:!0});var e=B(),r=Dt(),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 qa.default=n,qa}var Ga={},kc;function r0(){if(kc)return Ga;kc=1;var t=g&&g.__extends||function(){var a=function(i,s){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,f){d.__proto__=f}||function(d,f){for(var u in f)Object.prototype.hasOwnProperty.call(f,u)&&(d[u]=f[u])},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 d(){this.constructor=i}i.prototype=s===null?Object.create(s):(d.prototype=s.prototype,new d)}}();Object.defineProperty(Ga,"__esModule",{value:!0});var e=pc(),r=Dt(),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 Ga.default=n,Ga}var Za={},Cc;function n0(){if(Cc)return Za;Cc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(s[f]=d[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(Za,"__esModule",{value:!0});var e=B(),r=function(n){t(a,n);function a(){return n!==null&&n.apply(this,arguments)||this}return a}(e.Rate);return Za.default=r,Za}var Xa={},Mc;function a0(){if(Mc)return Xa;Mc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(s[f]=d[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(Xa,"__esModule",{value:!0});var e=B(),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 Xa.default=r,Xa}var ws={};Object.defineProperty(ws,"__esModule",{value:!0});var i0=function(){function t(e){var r,n,a,i,s,d,f,u,o,c;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=(d=e.house_number)!==null&&d!==void 0?d:null,this.house_number_addition=(f=e.house_number_addition)!==null&&f!==void 0?f:null,this.family_composition=(u=e.family_composition)!==null&&u!==void 0?u:null,this.birth_date=(o=e.birth_date)!==null&&o!==void 0?o:null,this.detail=(c=e.detail)!==null&&c!==void 0?c: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}();ws.default=i0;var Ss={},Ja={},Pc;function o0(){if(Pc)return Ja;Pc=1;var t=g&&g.__extends||function(){var n=function(a,i){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,d){s.__proto__=d}||function(s,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(s[f]=d[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(Ja,"__esModule",{value:!0});var e=B(),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 Ja.default=r,Ja}var xc;function s0(){return xc||(xc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.PetsecurRate=void 0;var e=o0();Object.defineProperty(t,"PetsecurRate",{enumerable:!0,get:function(){return e.default}})}(Ss)),Ss}var Os={},Qa={};//! 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])
|
|
16
|
+
var Dc;function M(){return Dc.apply(null,arguments)}function u0(t){Dc=t}function Ke(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function sr(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function L(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function ks(t){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(t).length===0;var e;for(e in t)if(L(t,e))return!1;return!0}function Te(t){return t===void 0}function Rt(t){return typeof t=="number"||Object.prototype.toString.call(t)==="[object Number]"}function fn(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function Rc(t,e){var r=[],n,a=t.length;for(n=0;n<a;++n)r.push(e(t[n],n));return r}function Gt(t,e){for(var r in e)L(e,r)&&(t[r]=e[r]);return L(e,"toString")&&(t.toString=e.toString),L(e,"valueOf")&&(t.valueOf=e.valueOf),t}function ft(t,e,r,n){return nd(t,e,r,n,!0).utc()}function l0(){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=l0()),t._pf}var Cs;Array.prototype.some?Cs=Array.prototype.some:Cs=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 Ms(t){var e=null,r=!1,n=t._d&&!isNaN(t._d.getTime());if(n&&(e=$(t),r=Cs.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 Ka(t){var e=ft(NaN);return t!=null?Gt($(e),t):$(e).userInvalidated=!0,e}var jc=M.momentProperties=[],Ps=!1;function xs(t,e){var r,n,a,i=jc.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=$(e)),Te(e._locale)||(t._locale=e._locale),i>0)for(r=0;r<i;r++)n=jc[r],a=e[n],Te(a)||(t[n]=a);return t}function hn(t){xs(this,t),this._d=new Date(t._d!=null?t._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),Ps===!1&&(Ps=!0,M.updateOffset(this),Ps=!1)}function et(t){return t instanceof hn||t!=null&&t._isAMomentObject!=null}function Tc(t){M.suppressDeprecationWarnings===!1&&typeof console!="undefined"&&console.warn&&console.warn("Deprecation warning: "+t)}function Ve(t,e){var r=!0;return Gt(function(){if(M.deprecationHandler!=null&&M.deprecationHandler(null,t),r){var n=[],a,i,s,d=arguments.length;for(i=0;i<d;i++){if(a="",typeof arguments[i]=="object"){a+=`
|
|
17
|
+
[`+i+"] ";for(s in arguments[0])L(arguments[0],s)&&(a+=s+": "+arguments[0][s]+", ");a=a.slice(0,-2)}else a=arguments[i];n.push(a)}Tc(t+`
|
|
18
18
|
Arguments: `+Array.prototype.slice.call(n).join("")+`
|
|
19
|
-
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var Yl={};function Al(t,e){C.deprecationHandler!=null&&C.deprecationHandler(t,e),Yl[t]||(Tl(e),Yl[t]=!0)}C.suppressDeprecationWarnings=!1,C.deprecationHandler=null;function at(t){return typeof Function!="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function xg(t){var e,r;for(r in t)H(t,r)&&(e=t[r],at(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 $o(t,e){var r=$t({},t),n;for(n in e)H(e,n)&&(Vt(t[n])&&Vt(e[n])?(r[n]={},$t(r[n],t[n]),$t(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)H(t,n)&&!H(e,n)&&Vt(t[n])&&(r[n]=$t({},r[n]));return r}function To(t){t!=null&&this.set(t)}var Yo;Object.keys?Yo=Object.keys:Yo=function(t){var e,r=[];for(e in t)H(t,e)&&r.push(e);return r};var Pg={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function Rg(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return at(n)?n.call(e,r):n}function it(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 Ao=/(\[[^\[]*\])|(\\)?([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,fa=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Io={},ir={};function D(t,e,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),t&&(ir[t]=a),e&&(ir[e[0]]=function(){return it(a.apply(this,arguments),e[1],e[2])}),r&&(ir[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function Dg(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function jg(t){var e=t.match(Ao),r,n;for(r=0,n=e.length;r<n;r++)ir[e[r]]?e[r]=ir[e[r]]:e[r]=Dg(e[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=at(e[s])?e[s].call(a,t):e[s];return i}}function ha(t,e){return t.isValid()?(e=Il(e,t.localeData()),Io[e]=Io[e]||jg(e),Io[e](t)):t.localeData().invalidDate()}function Il(t,e){var r=5;function n(a){return e.longDateFormat(a)||a}for(fa.lastIndex=0;r>=0&&fa.test(t);)t=t.replace(fa,n),fa.lastIndex=0,r-=1;return t}var $g={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 Tg(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(Ao).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var Yg="Invalid date";function Ag(){return this._invalidDate}var Ig="%d",Fg=/\d{1,2}/;function Ng(t){return this._ordinal.replace("%d",t)}var Eg={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 Lg(t,e,r,n){var a=this._relativeTime[r];return at(a)?a(t,e,r,n):a.replace(/%d/i,t)}function Hg(t,e){var r=this._relativeTime[t>0?"future":"past"];return at(r)?r(e):r.replace(/%s/i,e)}var Fl={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 Ne(t){return typeof t=="string"?Fl[t]||Fl[t.toLowerCase()]:void 0}function Fo(t){var e={},r,n;for(n in t)H(t,n)&&(r=Ne(n),r&&(e[r]=t[n]));return e}var qg={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 Ug(t){var e=[],r;for(r in t)H(t,r)&&e.push({unit:r,priority:qg[r]});return e.sort(function(n,a){return n.priority-a.priority}),e}var Nl=/\d/,$e=/\d\d/,El=/\d{3}/,No=/\d{4}/,ma=/[+-]?\d{6}/,ee=/\d\d?/,Ll=/\d\d\d\d?/,Hl=/\d\d\d\d\d\d?/,pa=/\d{1,3}/,Eo=/\d{1,4}/,va=/[+-]?\d{1,6}/,or=/\d+/,_a=/[+-]?\d+/,Wg=/Z|[+-]\d\d:?\d\d/gi,ya=/Z|[+-]\d\d(?::?\d\d)?/gi,Vg=/[+-]?\d+(\.\d{1,3})?/,Fr=/[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,sr=/^[1-9]\d?/,Lo=/^([1-9]\d|\d)/,ga;ga={};function x(t,e,r){ga[t]=at(e)?e:function(n,a){return n&&r?r:e}}function zg(t,e){return H(ga,t)?ga[t](e._strict,e._locale):new RegExp(Bg(t))}function Bg(t){return gt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,a,i){return r||n||a||i}))}function gt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ee(t){return t<0?Math.ceil(t)||0:Math.floor(t)}function I(t){var e=+t,r=0;return e!==0&&isFinite(e)&&(r=Ee(e)),r}var Ho={};function G(t,e){var r,n=e,a;for(typeof t=="string"&&(t=[t]),yt(e)&&(n=function(i,s){s[e]=I(i)}),a=t.length,r=0;r<a;r++)Ho[t[r]]=n}function Nr(t,e){G(t,function(r,n,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function Gg(t,e,r){e!=null&&H(Ho,t)&&Ho[t](e,r._a,r,t)}function ba(t){return t%4===0&&t%100!==0||t%400===0}var Se=0,bt=1,ot=2,he=3,Be=4,wt=5,zt=6,Zg=7,Jg=8;D("Y",0,0,function(){var t=this.year();return t<=9999?it(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"),x("Y",_a),x("YY",ee,$e),x("YYYY",Eo,No),x("YYYYY",va,ma),x("YYYYYY",va,ma),G(["YYYYY","YYYYYY"],Se),G("YYYY",function(t,e){e[Se]=t.length===2?C.parseTwoDigitYear(t):I(t)}),G("YY",function(t,e){e[Se]=C.parseTwoDigitYear(t)}),G("Y",function(t,e){e[Se]=parseInt(t,10)});function Er(t){return ba(t)?366:365}C.parseTwoDigitYear=function(t){return I(t)+(I(t)>68?1900:2e3)};var ql=ur("FullYear",!0);function Xg(){return ba(this.year())}function ur(t,e){return function(r){return r!=null?(Ul(this,t,r),C.updateOffset(this,e),this):Lr(this,t)}}function Lr(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 Ul(t,e,r){var n,a,i,s,d;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(),d=t.date(),d=d===29&&s===1&&!ba(i)?28:d,a?n.setUTCFullYear(i,s,d):n.setFullYear(i,s,d)}}function Qg(t){return t=Ne(t),at(this[t])?this[t]():this}function Kg(t,e){if(typeof t=="object"){t=Fo(t);var r=Ug(t),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](t[r[n].unit])}else if(t=Ne(t),at(this[t]))return this[t](e);return this}function eb(t,e){return(t%e+e)%e}var se;Array.prototype.indexOf?se=Array.prototype.indexOf:se=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function qo(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=eb(e,12);return t+=(e-r)/12,r===1?ba(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)}),x("M",ee,sr),x("MM",ee,$e),x("MMM",function(t,e){return e.monthsShortRegex(t)}),x("MMMM",function(t,e){return e.monthsRegex(t)}),G(["M","MM"],function(t,e){e[bt]=I(t)-1}),G(["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 tb="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Wl="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Vl=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rb=Fr,nb=Fr;function ab(t,e){return t?Ve(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Vl).test(e)?"format":"standalone"][t.month()]:Ve(this._months)?this._months:this._months.standalone}function ib(t,e){return t?Ve(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Vl.test(e)?"format":"standalone"][t.month()]:Ve(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function ob(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=nt([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=se.call(this._shortMonthsParse,s),a!==-1?a:null):(a=se.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=se.call(this._shortMonthsParse,s),a!==-1?a:(a=se.call(this._longMonthsParse,s),a!==-1?a:null)):(a=se.call(this._longMonthsParse,s),a!==-1?a:(a=se.call(this._shortMonthsParse,s),a!==-1?a:null))}function sb(t,e,r){var n,a,i;if(this._monthsParseExact)return ob.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=nt([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 zl(t,e){if(!t.isValid())return t;if(typeof e=="string"){if(/^\d+$/.test(e))e=I(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,qo(t.year(),r)),t._isUTC?t._d.setUTCMonth(r,n):t._d.setMonth(r,n),t}function Bl(t){return t!=null?(zl(this,t),C.updateOffset(this,!0),this):Lr(this,"Month")}function ub(){return qo(this.year(),this.month())}function lb(t){return this._monthsParseExact?(H(this,"_monthsRegex")||Gl.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(H(this,"_monthsShortRegex")||(this._monthsShortRegex=rb),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function cb(t){return this._monthsParseExact?(H(this,"_monthsRegex")||Gl.call(this),t?this._monthsStrictRegex:this._monthsRegex):(H(this,"_monthsRegex")||(this._monthsRegex=nb),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function Gl(){function t(f,u){return u.length-f.length}var e=[],r=[],n=[],a,i,s,d;for(a=0;a<12;a++)i=nt([2e3,a]),s=gt(this.monthsShort(i,"")),d=gt(this.months(i,"")),e.push(s),r.push(d),n.push(d),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 db(t,e,r,n,a,i,s){var d;return t<100&&t>=0?(d=new Date(t+400,e,r,n,a,i,s),isFinite(d.getFullYear())&&d.setFullYear(t)):d=new Date(t,e,r,n,a,i,s),d}function Hr(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 wa(t,e,r){var n=7+e-r,a=(7+Hr(t,0,n).getUTCDay()-e)%7;return-a+n-1}function Zl(t,e,r,n,a){var i=(7+r-n)%7,s=wa(t,n,a),d=1+7*(e-1)+i+s,f,u;return d<=0?(f=t-1,u=Er(f)+d):d>Er(t)?(f=t+1,u=d-Er(t)):(f=t,u=d),{year:f,dayOfYear:u}}function qr(t,e,r){var n=wa(t.year(),e,r),a=Math.floor((t.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+St(s,e,r)):a>St(t.year(),e,r)?(i=a-St(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function St(t,e,r){var n=wa(t,e,r),a=wa(t+1,e,r);return(Er(t)-n+a)/7}D("w",["ww",2],"wo","week"),D("W",["WW",2],"Wo","isoWeek"),x("w",ee,sr),x("ww",ee,$e),x("W",ee,sr),x("WW",ee,$e),Nr(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=I(t)});function fb(t){return qr(t,this._week.dow,this._week.doy).week}var hb={dow:0,doy:6};function mb(){return this._week.dow}function pb(){return this._week.doy}function vb(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function _b(t){var e=qr(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"),x("d",ee),x("e",ee),x("E",ee),x("dd",function(t,e){return e.weekdaysMinRegex(t)}),x("ddd",function(t,e){return e.weekdaysShortRegex(t)}),x("dddd",function(t,e){return e.weekdaysRegex(t)}),Nr(["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}),Nr(["d","e","E"],function(t,e,r,n){e[n]=I(t)});function yb(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function gb(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Uo(t,e){return t.slice(e,7).concat(t.slice(0,e))}var bb="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Jl="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wb="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Sb=Fr,kb=Fr,Ob=Fr;function Cb(t,e){var r=Ve(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?Uo(r,this._week.dow):t?r[t.day()]:r}function Mb(t){return t===!0?Uo(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function xb(t){return t===!0?Uo(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function Pb(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=nt([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=se.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=se.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=se.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=se.call(this._weekdaysParse,s),a!==-1||(a=se.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=se.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=se.call(this._shortWeekdaysParse,s),a!==-1||(a=se.call(this._weekdaysParse,s),a!==-1)?a:(a=se.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=se.call(this._minWeekdaysParse,s),a!==-1||(a=se.call(this._weekdaysParse,s),a!==-1)?a:(a=se.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function Rb(t,e,r){var n,a,i;if(this._weekdaysParseExact)return Pb.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=nt([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 Db(t){if(!this.isValid())return t!=null?this:NaN;var e=Lr(this,"Day");return t!=null?(t=yb(t,this.localeData()),this.add(t-e,"d")):e}function jb(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 $b(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=gb(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function Tb(t){return this._weekdaysParseExact?(H(this,"_weekdaysRegex")||Wo.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(H(this,"_weekdaysRegex")||(this._weekdaysRegex=Sb),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function Yb(t){return this._weekdaysParseExact?(H(this,"_weekdaysRegex")||Wo.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(H(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=kb),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ab(t){return this._weekdaysParseExact?(H(this,"_weekdaysRegex")||Wo.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(H(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ob),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Wo(){function t(o,c){return c.length-o.length}var e=[],r=[],n=[],a=[],i,s,d,f,u;for(i=0;i<7;i++)s=nt([2e3,1]).day(i),d=gt(this.weekdaysMin(s,"")),f=gt(this.weekdaysShort(s,"")),u=gt(this.weekdays(s,"")),e.push(d),r.push(f),n.push(u),a.push(d),a.push(f),a.push(u);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 Vo(){return this.hours()%12||12}function Ib(){return this.hours()||24}D("H",["HH",2],0,"hour"),D("h",["hh",2],0,Vo),D("k",["kk",2],0,Ib),D("hmm",0,0,function(){return""+Vo.apply(this)+it(this.minutes(),2)}),D("hmmss",0,0,function(){return""+Vo.apply(this)+it(this.minutes(),2)+it(this.seconds(),2)}),D("Hmm",0,0,function(){return""+this.hours()+it(this.minutes(),2)}),D("Hmmss",0,0,function(){return""+this.hours()+it(this.minutes(),2)+it(this.seconds(),2)});function Xl(t,e){D(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Xl("a",!0),Xl("A",!1);function Ql(t,e){return e._meridiemParse}x("a",Ql),x("A",Ql),x("H",ee,Lo),x("h",ee,sr),x("k",ee,sr),x("HH",ee,$e),x("hh",ee,$e),x("kk",ee,$e),x("hmm",Ll),x("hmmss",Hl),x("Hmm",Ll),x("Hmmss",Hl),G(["H","HH"],he),G(["k","kk"],function(t,e,r){var n=I(t);e[he]=n===24?0:n}),G(["a","A"],function(t,e,r){r._isPm=r._locale.isPM(t),r._meridiem=t}),G(["h","hh"],function(t,e,r){e[he]=I(t),T(r).bigHour=!0}),G("hmm",function(t,e,r){var n=t.length-2;e[he]=I(t.substr(0,n)),e[Be]=I(t.substr(n)),T(r).bigHour=!0}),G("hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[he]=I(t.substr(0,n)),e[Be]=I(t.substr(n,2)),e[wt]=I(t.substr(a)),T(r).bigHour=!0}),G("Hmm",function(t,e,r){var n=t.length-2;e[he]=I(t.substr(0,n)),e[Be]=I(t.substr(n))}),G("Hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[he]=I(t.substr(0,n)),e[Be]=I(t.substr(n,2)),e[wt]=I(t.substr(a))});function Fb(t){return(t+"").toLowerCase().charAt(0)==="p"}var Nb=/[ap]\.?m?\.?/i,Eb=ur("Hours",!0);function Lb(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var Kl={calendar:Pg,longDateFormat:$g,invalidDate:Yg,ordinal:Ig,dayOfMonthOrdinalParse:Fg,relativeTime:Eg,months:tb,monthsShort:Wl,week:hb,weekdays:bb,weekdaysMin:wb,weekdaysShort:Jl,meridiemParse:Nb},ae={},Ur={},Wr;function Hb(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 ec(t){return t&&t.toLowerCase().replace("_","-")}function qb(t){for(var e=0,r,n,a,i;e<t.length;){for(i=ec(t[e]).split("-"),r=i.length,n=ec(t[e+1]),n=n?n.split("-"):null;r>0;){if(a=Sa(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&Hb(i,n)>=r-1)break;r--}e++}return Wr}function Ub(t){return!!(t&&t.match("^[^/\\\\]*$"))}function Sa(t){var e=null,r;if(ae[t]===void 0&&typeof module!="undefined"&&module&&module.exports&&Ub(t))try{e=Wr._abbr,r=require,r("./locale/"+t),Tt(e)}catch(n){ae[t]=null}return ae[t]}function Tt(t,e){var r;return t&&(Pe(e)?r=kt(t):r=zo(t,e),r?Wr=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),Wr._abbr}function zo(t,e){if(e!==null){var r,n=Kl;if(e.abbr=t,ae[t]!=null)Al("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=Sa(e.parentLocale),r!=null)n=r._config;else return Ur[e.parentLocale]||(Ur[e.parentLocale]=[]),Ur[e.parentLocale].push({name:t,config:e}),null;return ae[t]=new To($o(n,e)),Ur[t]&&Ur[t].forEach(function(a){zo(a.name,a.config)}),Tt(t),ae[t]}else return delete ae[t],null}function Wb(t,e){if(e!=null){var r,n,a=Kl;ae[t]!=null&&ae[t].parentLocale!=null?ae[t].set($o(ae[t]._config,e)):(n=Sa(t),n!=null&&(a=n._config),e=$o(a,e),n==null&&(e.abbr=t),r=new To(e),r.parentLocale=ae[t],ae[t]=r),Tt(t)}else ae[t]!=null&&(ae[t].parentLocale!=null?(ae[t]=ae[t].parentLocale,t===Tt()&&Tt(t)):ae[t]!=null&&delete ae[t]);return ae[t]}function kt(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return Wr;if(!Ve(t)){if(e=Sa(t),e)return e;t=[t]}return qb(t)}function Vb(){return Yo(ae)}function Bo(t){var e,r=t._a;return r&&T(t).overflow===-2&&(e=r[bt]<0||r[bt]>11?bt:r[ot]<1||r[ot]>qo(r[Se],r[bt])?ot:r[he]<0||r[he]>24||r[he]===24&&(r[Be]!==0||r[wt]!==0||r[zt]!==0)?he:r[Be]<0||r[Be]>59?Be:r[wt]<0||r[wt]>59?wt:r[zt]<0||r[zt]>999?zt:-1,T(t)._overflowDayOfYear&&(e<Se||e>ot)&&(e=ot),T(t)._overflowWeeks&&e===-1&&(e=Zg),T(t)._overflowWeekday&&e===-1&&(e=Jg),T(t).overflow=e),t}var zb=/^\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)?)?$/,Bb=/^\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)?)?$/,Gb=/Z|[+-]\d\d(?::?\d\d)?/,ka=[["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]],Go=[["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/]],Zb=/^\/?Date\((-?\d+)/i,Jb=/^(?:(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}))$/,Xb={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 tc(t){var e,r,n=t._i,a=zb.exec(n)||Bb.exec(n),i,s,d,f,u=ka.length,o=Go.length;if(a){for(T(t).iso=!0,e=0,r=u;e<r;e++)if(ka[e][1].exec(a[1])){s=ka[e][0],i=ka[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=o;e<r;e++)if(Go[e][1].exec(a[3])){d=(a[2]||" ")+Go[e][0];break}if(d==null){t._isValid=!1;return}}if(!i&&d!=null){t._isValid=!1;return}if(a[4])if(Gb.exec(a[4]))f="Z";else{t._isValid=!1;return}t._f=s+(d||"")+(f||""),Jo(t)}else t._isValid=!1}function Qb(t,e,r,n,a,i){var s=[Kb(t),Wl.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function Kb(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function e0(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function t0(t,e,r){if(t){var n=Jl.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 r0(t,e,r){if(t)return Xb[t];if(e)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function rc(t){var e=Jb.exec(e0(t._i)),r;if(e){if(r=Qb(e[4],e[3],e[2],e[5],e[6],e[7]),!t0(e[1],r,t))return;t._a=r,t._tzm=r0(e[8],e[9],e[10]),t._d=Hr.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),T(t).rfc2822=!0}else t._isValid=!1}function n0(t){var e=Zb.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(tc(t),t._isValid===!1)delete t._isValid;else return;if(rc(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:C.createFromInputFallback(t)}C.createFromInputFallback=Fe("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 a0(t){var e=new Date(C.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function Zo(t){var e,r,n=[],a,i,s;if(!t._d){for(a=a0(t),t._w&&t._a[ot]==null&&t._a[bt]==null&&i0(t),t._dayOfYear!=null&&(s=lr(t._a[Se],a[Se]),(t._dayOfYear>Er(s)||t._dayOfYear===0)&&(T(t)._overflowDayOfYear=!0),r=Hr(s,0,t._dayOfYear),t._a[bt]=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[he]===24&&t._a[Be]===0&&t._a[wt]===0&&t._a[zt]===0&&(t._nextDay=!0,t._a[he]=0),t._d=(t._useUTC?Hr:db).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[he]=24),t._w&&typeof t._w.d!="undefined"&&t._w.d!==i&&(T(t).weekdayMismatch=!0)}}function i0(t){var e,r,n,a,i,s,d,f,u;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=lr(e.GG,t._a[Se],qr(te(),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,u=qr(te(),i,s),r=lr(e.gg,t._a[Se],u.year),n=lr(e.w,u.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>St(r,i,s)?T(t)._overflowWeeks=!0:f!=null?T(t)._overflowWeekday=!0:(d=Zl(r,n,a,i,s),t._a[Se]=d.year,t._dayOfYear=d.dayOfYear)}C.ISO_8601=function(){},C.RFC_2822=function(){};function Jo(t){if(t._f===C.ISO_8601){tc(t);return}if(t._f===C.RFC_2822){rc(t);return}t._a=[],T(t).empty=!0;var e=""+t._i,r,n,a,i,s,d=e.length,f=0,u,o;for(a=Il(t._f,t._locale).match(Ao)||[],o=a.length,r=0;r<o;r++)i=a[r],n=(e.match(zg(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),ir[i]?(n?T(t).empty=!1:T(t).unusedTokens.push(i),Gg(i,n,t)):t._strict&&!n&&T(t).unusedTokens.push(i);T(t).charsLeftOver=d-f,e.length>0&&T(t).unusedInput.push(e),t._a[he]<=12&&T(t).bigHour===!0&&t._a[he]>0&&(T(t).bigHour=void 0),T(t).parsedDateParts=t._a.slice(0),T(t).meridiem=t._meridiem,t._a[he]=o0(t._locale,t._a[he],t._meridiem),u=T(t).era,u!==null&&(t._a[Se]=t._locale.erasConvertYear(u,t._a[Se])),Zo(t),Bo(t)}function o0(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 s0(t){var e,r,n,a,i,s,d=!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=jo({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],Jo(e),Ro(e)&&(s=!0),i+=T(e).charsLeftOver,i+=T(e).unusedTokens.length*10,T(e).score=i,d?i<n&&(n=i,r=e):(n==null||i<n||s)&&(n=i,r=e,s&&(d=!0));$t(t,r||e)}function u0(t){if(!t._d){var e=Fo(t._i),r=e.day===void 0?e.date:e.day;t._a=jl([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),Zo(t)}}function l0(t){var e=new Ir(Bo(nc(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function nc(t){var e=t._i,r=t._f;return t._locale=t._locale||kt(t._l),e===null||r===void 0&&e===""?da({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),ze(e)?new Ir(Bo(e)):(Ar(e)?t._d=e:Ve(r)?s0(t):r?Jo(t):c0(t),Ro(t)||(t._d=null),t))}function c0(t){var e=t._i;Pe(e)?t._d=new Date(C.now()):Ar(e)?t._d=new Date(e.valueOf()):typeof e=="string"?n0(t):Ve(e)?(t._a=jl(e.slice(0),function(r){return parseInt(r,10)}),Zo(t)):Vt(e)?u0(t):yt(e)?t._d=new Date(e):C.createFromInputFallback(t)}function ac(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),(Vt(t)&&xo(t)||Ve(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,l0(i)}function te(t,e,r,n){return ac(t,e,r,n,!1)}var d0=Fe("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=te.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:da()}),f0=Fe("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=te.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:da()});function ic(t,e){var r,n;if(e.length===1&&Ve(e[0])&&(e=e[0]),!e.length)return te();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function h0(){var t=[].slice.call(arguments,0);return ic("isBefore",t)}function m0(){var t=[].slice.call(arguments,0);return ic("isAfter",t)}var p0=function(){return Date.now?Date.now():+new Date},Vr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function v0(t){var e,r=!1,n,a=Vr.length;for(e in t)if(H(t,e)&&!(se.call(Vr,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<a;++n)if(t[Vr[n]]){if(r)return!1;parseFloat(t[Vr[n]])!==I(t[Vr[n]])&&(r=!0)}return!0}function _0(){return this._isValid}function y0(){return Ge(NaN)}function Oa(t){var e=Fo(t),r=e.year||0,n=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,d=e.hour||0,f=e.minute||0,u=e.second||0,o=e.millisecond||0;this._isValid=v0(e),this._milliseconds=+o+u*1e3+f*6e4+d*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=kt(),this._bubble()}function Ca(t){return t instanceof Oa}function Xo(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function g0(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&&I(t[s])!==I(e[s]))&&i++;return i+a}function oc(t,e){D(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+it(~~(r/60),2)+e+it(~~r%60,2)})}oc("Z",":"),oc("ZZ",""),x("Z",ya),x("ZZ",ya),G(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=Qo(ya,t)});var b0=/([\+\-]|\d\d)/gi;function Qo(t,e){var r=(e||"").match(t),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(b0)||["-",0,0],i=+(a[1]*60)+I(a[2]),i===0?0:a[0]==="+"?i:-i)}function Ko(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(ze(t)||Ar(t)?t.valueOf():te(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),C.updateOffset(r,!1),r):te(t).local()}function es(t){return-Math.round(t._d.getTimezoneOffset())}C.updateOffset=function(){};function w0(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=Qo(ya,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=es(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==t&&(!e||this._changeInProgress?cc(this,Ge(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,C.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:es(this)}function S0(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function k0(t){return this.utcOffset(0,t)}function O0(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(es(this),"m")),this}function C0(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=Qo(Wg,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function M0(t){return this.isValid()?(t=t?te(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function x0(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function P0(){if(!Pe(this._isDSTShifted))return this._isDSTShifted;var t={},e;return jo(t,this),t=nc(t),t._a?(e=t._isUTC?nt(t._a):te(t._a),this._isDSTShifted=this.isValid()&&g0(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function R0(){return this.isValid()?!this._isUTC:!1}function D0(){return this.isValid()?this._isUTC:!1}function sc(){return this.isValid()?this._isUTC&&this._offset===0:!1}var j0=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,$0=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Ge(t,e){var r=t,n=null,a,i,s;return Ca(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:yt(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=j0.exec(t))?(a=n[1]==="-"?-1:1,r={y:0,d:I(n[ot])*a,h:I(n[he])*a,m:I(n[Be])*a,s:I(n[wt])*a,ms:I(Xo(n[zt]*1e3))*a}):(n=$0.exec(t))?(a=n[1]==="-"?-1:1,r={y:Bt(n[2],a),M:Bt(n[3],a),w:Bt(n[4],a),d:Bt(n[5],a),h:Bt(n[6],a),m:Bt(n[7],a),s:Bt(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=T0(te(r.from),te(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new Oa(r),Ca(t)&&H(t,"_locale")&&(i._locale=t._locale),Ca(t)&&H(t,"_isValid")&&(i._isValid=t._isValid),i}Ge.fn=Oa.prototype,Ge.invalid=y0;function Bt(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function uc(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 T0(t,e){var r;return t.isValid()&&e.isValid()?(e=Ko(e,t),t.isBefore(e)?r=uc(t,e):(r=uc(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function lc(t,e){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(Al(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=Ge(r,n),cc(this,a,t),this}}function cc(t,e,r,n){var a=e._milliseconds,i=Xo(e._days),s=Xo(e._months);t.isValid()&&(n=n==null?!0:n,s&&zl(t,Lr(t,"Month")+s*r),i&&Ul(t,"Date",Lr(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),n&&C.updateOffset(t,i||s))}var Y0=lc(1,"add"),A0=lc(-1,"subtract");function dc(t){return typeof t=="string"||t instanceof String}function I0(t){return ze(t)||Ar(t)||dc(t)||yt(t)||N0(t)||F0(t)||t===null||t===void 0}function F0(t){var e=Vt(t)&&!xo(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||H(t,i);return e&&r}function N0(t){var e=Ve(t),r=!1;return e&&(r=t.filter(function(n){return!yt(n)&&dc(t)}).length===0),e&&r}function E0(t){var e=Vt(t)&&!xo(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||H(t,i);return e&&r}function L0(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 H0(t,e){arguments.length===1&&(arguments[0]?I0(arguments[0])?(t=arguments[0],e=void 0):E0(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||te(),n=Ko(r,this).startOf("day"),a=C.calendarFormat(this,n)||"sameElse",i=e&&(at(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,te(r)))}function q0(){return new Ir(this)}function U0(t,e){var r=ze(t)?t:te(t);return this.isValid()&&r.isValid()?(e=Ne(e)||"millisecond",e==="millisecond"?this.valueOf()>r.valueOf():r.valueOf()<this.clone().startOf(e).valueOf()):!1}function W0(t,e){var r=ze(t)?t:te(t);return this.isValid()&&r.isValid()?(e=Ne(e)||"millisecond",e==="millisecond"?this.valueOf()<r.valueOf():this.clone().endOf(e).valueOf()<r.valueOf()):!1}function V0(t,e,r,n){var a=ze(t)?t:te(t),i=ze(e)?e:te(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 z0(t,e){var r=ze(t)?t:te(t),n;return this.isValid()&&r.isValid()?(e=Ne(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 B0(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function G0(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function Z0(t,e,r){var n,a,i;if(!this.isValid())return NaN;if(n=Ko(t,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,e=Ne(e),e){case"year":i=Ma(this,n)/12;break;case"month":i=Ma(this,n);break;case"quarter":i=Ma(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:Ee(i)}function Ma(t,e){if(t.date()<e.date())return-Ma(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}C.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",C.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function J0(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function X0(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?ha(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):at(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ha(r,"Z")):ha(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function Q0(){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 K0(t){t||(t=this.isUtc()?C.defaultFormatUtc:C.defaultFormat);var e=ha(this,t);return this.localeData().postformat(e)}function ew(t,e){return this.isValid()&&(ze(t)&&t.isValid()||te(t).isValid())?Ge({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function tw(t){return this.from(te(),t)}function rw(t,e){return this.isValid()&&(ze(t)&&t.isValid()||te(t).isValid())?Ge({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function nw(t){return this.to(te(),t)}function fc(t){var e;return t===void 0?this._locale._abbr:(e=kt(t),e!=null&&(this._locale=e),this)}var hc=Fe("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 mc(){return this._locale}var xa=1e3,cr=60*xa,Pa=60*cr,pc=(365*400+97)*24*Pa;function dr(t,e){return(t%e+e)%e}function vc(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-pc:new Date(t,e,r).valueOf()}function _c(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-pc:Date.UTC(t,e,r)}function aw(t){var e,r;if(t=Ne(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?_c:vc,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-=dr(e+(this._isUTC?0:this.utcOffset()*cr),Pa);break;case"minute":e=this._d.valueOf(),e-=dr(e,cr);break;case"second":e=this._d.valueOf(),e-=dr(e,xa);break}return this._d.setTime(e),C.updateOffset(this,!0),this}function iw(t){var e,r;if(t=Ne(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?_c:vc,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+=Pa-dr(e+(this._isUTC?0:this.utcOffset()*cr),Pa)-1;break;case"minute":e=this._d.valueOf(),e+=cr-dr(e,cr)-1;break;case"second":e=this._d.valueOf(),e+=xa-dr(e,xa)-1;break}return this._d.setTime(e),C.updateOffset(this,!0),this}function ow(){return this._d.valueOf()-(this._offset||0)*6e4}function sw(){return Math.floor(this.valueOf()/1e3)}function uw(){return new Date(this.valueOf())}function lw(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function cw(){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 dw(){return this.isValid()?this.toISOString():null}function fw(){return Ro(this)}function hw(){return $t({},T(this))}function mw(){return T(this).overflow}function pw(){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"),x("N",ts),x("NN",ts),x("NNN",ts),x("NNNN",Mw),x("NNNNN",xw),G(["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}),x("y",or),x("yy",or),x("yyy",or),x("yyyy",or),x("yo",Pw),G(["y","yy","yyy","yyyy"],Se),G(["yo"],function(t,e,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[Se]=r._locale.eraYearOrdinalParse(t,a):e[Se]=parseInt(t,10)});function vw(t,e){var r,n,a,i=this._eras||kt("en")._eras;for(r=0,n=i.length;r<n;++r){switch(typeof i[r].since){case"string":a=C(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=C(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function _w(t,e,r){var n,a,i=this.eras(),s,d,f;for(t=t.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),d=i[n].abbr.toUpperCase(),f=i[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(d===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,d,f].indexOf(t)>=0)return i[n]}function yw(t,e){var r=t.since<=t.until?1:-1;return e===void 0?C(t.since).year():C(t.since).year()+(e-t.offset)*r}function gw(){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 bw(){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 ww(){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 Sw(){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()-C(a[t].since).year())*r+a[t].offset;return this.year()}function kw(t){return H(this,"_erasNameRegex")||rs.call(this),t?this._erasNameRegex:this._erasRegex}function Ow(t){return H(this,"_erasAbbrRegex")||rs.call(this),t?this._erasAbbrRegex:this._erasRegex}function Cw(t){return H(this,"_erasNarrowRegex")||rs.call(this),t?this._erasNarrowRegex:this._erasRegex}function ts(t,e){return e.erasAbbrRegex(t)}function Mw(t,e){return e.erasNameRegex(t)}function xw(t,e){return e.erasNarrowRegex(t)}function Pw(t,e){return e._eraYearOrdinalRegex||or}function rs(){var t=[],e=[],r=[],n=[],a,i,s,d,f,u=this.eras();for(a=0,i=u.length;a<i;++a)s=gt(u[a].name),d=gt(u[a].abbr),f=gt(u[a].narrow),e.push(s),t.push(d),r.push(f),n.push(s),n.push(d),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 Ra(t,e){D(0,[t,t.length],0,e)}Ra("gggg","weekYear"),Ra("ggggg","weekYear"),Ra("GGGG","isoWeekYear"),Ra("GGGGG","isoWeekYear"),x("G",_a),x("g",_a),x("GG",ee,$e),x("gg",ee,$e),x("GGGG",Eo,No),x("gggg",Eo,No),x("GGGGG",va,ma),x("ggggg",va,ma),Nr(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=I(t)}),Nr(["gg","GG"],function(t,e,r,n){e[n]=C.parseTwoDigitYear(t)});function Rw(t){return yc.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Dw(t){return yc.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function jw(){return St(this.year(),1,4)}function $w(){return St(this.isoWeekYear(),1,4)}function Tw(){var t=this.localeData()._week;return St(this.year(),t.dow,t.doy)}function Yw(){var t=this.localeData()._week;return St(this.weekYear(),t.dow,t.doy)}function yc(t,e,r,n,a){var i;return t==null?qr(this,n,a).year:(i=St(t,n,a),e>i&&(e=i),Aw.call(this,t,e,r,n,a))}function Aw(t,e,r,n,a){var i=Zl(t,e,r,n,a),s=Hr(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}D("Q",0,"Qo","quarter"),x("Q",Nl),G("Q",function(t,e){e[bt]=(I(t)-1)*3});function Iw(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}D("D",["DD",2],"Do","date"),x("D",ee,sr),x("DD",ee,$e),x("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),G(["D","DD"],ot),G("Do",function(t,e){e[ot]=I(t.match(ee)[0])});var gc=ur("Date",!0);D("DDD",["DDDD",3],"DDDo","dayOfYear"),x("DDD",pa),x("DDDD",El),G(["DDD","DDDD"],function(t,e,r){r._dayOfYear=I(t)});function Fw(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"),x("m",ee,Lo),x("mm",ee,$e),G(["m","mm"],Be);var Nw=ur("Minutes",!1);D("s",["ss",2],0,"second"),x("s",ee,Lo),x("ss",ee,$e),G(["s","ss"],wt);var Ew=ur("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}),x("S",pa,Nl),x("SS",pa,$e),x("SSS",pa,El);var Yt,bc;for(Yt="SSSS";Yt.length<=9;Yt+="S")x(Yt,or);function Lw(t,e){e[zt]=I(("0."+t)*1e3)}for(Yt="S";Yt.length<=9;Yt+="S")G(Yt,Lw);bc=ur("Milliseconds",!1),D("z",0,0,"zoneAbbr"),D("zz",0,0,"zoneName");function Hw(){return this._isUTC?"UTC":""}function qw(){return this._isUTC?"Coordinated Universal Time":""}var k=Ir.prototype;k.add=Y0,k.calendar=H0,k.clone=q0,k.diff=Z0,k.endOf=iw,k.format=K0,k.from=ew,k.fromNow=tw,k.to=rw,k.toNow=nw,k.get=Qg,k.invalidAt=mw,k.isAfter=U0,k.isBefore=W0,k.isBetween=V0,k.isSame=z0,k.isSameOrAfter=B0,k.isSameOrBefore=G0,k.isValid=fw,k.lang=hc,k.locale=fc,k.localeData=mc,k.max=f0,k.min=d0,k.parsingFlags=hw,k.set=Kg,k.startOf=aw,k.subtract=A0,k.toArray=lw,k.toObject=cw,k.toDate=uw,k.toISOString=X0,k.inspect=Q0,typeof Symbol!="undefined"&&Symbol.for!=null&&(k[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),k.toJSON=dw,k.toString=J0,k.unix=sw,k.valueOf=ow,k.creationData=pw,k.eraName=gw,k.eraNarrow=bw,k.eraAbbr=ww,k.eraYear=Sw,k.year=ql,k.isLeapYear=Xg,k.weekYear=Rw,k.isoWeekYear=Dw,k.quarter=k.quarters=Iw,k.month=Bl,k.daysInMonth=ub,k.week=k.weeks=vb,k.isoWeek=k.isoWeeks=_b,k.weeksInYear=Tw,k.weeksInWeekYear=Yw,k.isoWeeksInYear=jw,k.isoWeeksInISOWeekYear=$w,k.date=gc,k.day=k.days=Db,k.weekday=jb,k.isoWeekday=$b,k.dayOfYear=Fw,k.hour=k.hours=Eb,k.minute=k.minutes=Nw,k.second=k.seconds=Ew,k.millisecond=k.milliseconds=bc,k.utcOffset=w0,k.utc=k0,k.local=O0,k.parseZone=C0,k.hasAlignedHourOffset=M0,k.isDST=x0,k.isLocal=R0,k.isUtcOffset=D0,k.isUtc=sc,k.isUTC=sc,k.zoneAbbr=Hw,k.zoneName=qw,k.dates=Fe("dates accessor is deprecated. Use date instead.",gc),k.months=Fe("months accessor is deprecated. Use month instead",Bl),k.years=Fe("years accessor is deprecated. Use year instead",ql),k.zone=Fe("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",S0),k.isDSTShifted=Fe("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",P0);function Uw(t){return te(t*1e3)}function Ww(){return te.apply(null,arguments).parseZone()}function wc(t){return t}var q=To.prototype;q.calendar=Rg,q.longDateFormat=Tg,q.invalidDate=Ag,q.ordinal=Ng,q.preparse=wc,q.postformat=wc,q.relativeTime=Lg,q.pastFuture=Hg,q.set=xg,q.eras=vw,q.erasParse=_w,q.erasConvertYear=yw,q.erasAbbrRegex=Ow,q.erasNameRegex=kw,q.erasNarrowRegex=Cw,q.months=ab,q.monthsShort=ib,q.monthsParse=sb,q.monthsRegex=cb,q.monthsShortRegex=lb,q.week=fb,q.firstDayOfYear=pb,q.firstDayOfWeek=mb,q.weekdays=Cb,q.weekdaysMin=xb,q.weekdaysShort=Mb,q.weekdaysParse=Rb,q.weekdaysRegex=Tb,q.weekdaysShortRegex=Yb,q.weekdaysMinRegex=Ab,q.isPM=Fb,q.meridiem=Lb;function Da(t,e,r,n){var a=kt(),i=nt().set(n,e);return a[r](i,t)}function Sc(t,e,r){if(yt(t)&&(e=t,t=void 0),t=t||"",e!=null)return Da(t,e,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=Da(t,n,r,"month");return a}function ns(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=kt(),i=t?a._week.dow:0,s,d=[];if(r!=null)return Da(e,(r+i)%7,n,"day");for(s=0;s<7;s++)d[s]=Da(e,(s+i)%7,n,"day");return d}function Vw(t,e){return Sc(t,e,"months")}function zw(t,e){return Sc(t,e,"monthsShort")}function Bw(t,e,r){return ns(t,e,r,"weekdays")}function Gw(t,e,r){return ns(t,e,r,"weekdaysShort")}function Zw(t,e,r){return ns(t,e,r,"weekdaysMin")}Tt("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=I(t%100/10)===1?"th":e===1?"st":e===2?"nd":e===3?"rd":"th";return t+r}}),C.lang=Fe("moment.lang is deprecated. Use moment.locale instead.",Tt),C.langData=Fe("moment.langData is deprecated. Use moment.localeData instead.",kt);var Ot=Math.abs;function Jw(){var t=this._data;return this._milliseconds=Ot(this._milliseconds),this._days=Ot(this._days),this._months=Ot(this._months),t.milliseconds=Ot(t.milliseconds),t.seconds=Ot(t.seconds),t.minutes=Ot(t.minutes),t.hours=Ot(t.hours),t.months=Ot(t.months),t.years=Ot(t.years),this}function kc(t,e,r,n){var a=Ge(e,r);return t._milliseconds+=n*a._milliseconds,t._days+=n*a._days,t._months+=n*a._months,t._bubble()}function Xw(t,e){return kc(this,t,e,1)}function Qw(t,e){return kc(this,t,e,-1)}function Oc(t){return t<0?Math.floor(t):Math.ceil(t)}function Kw(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,a,i,s,d,f;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=Oc(as(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,a=Ee(t/1e3),n.seconds=a%60,i=Ee(a/60),n.minutes=i%60,s=Ee(i/60),n.hours=s%24,e+=Ee(s/24),f=Ee(Cc(e)),r+=f,e-=Oc(as(f)),d=Ee(r/12),r%=12,n.days=e,n.months=r,n.years=d,this}function Cc(t){return t*4800/146097}function as(t){return t*146097/4800}function e1(t){if(!this.isValid())return NaN;var e,r,n=this._milliseconds;if(t=Ne(t),t==="month"||t==="quarter"||t==="year")switch(e=this._days+n/864e5,r=this._months+Cc(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(as(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 Ct(t){return function(){return this.as(t)}}var Mc=Ct("ms"),t1=Ct("s"),r1=Ct("m"),n1=Ct("h"),a1=Ct("d"),i1=Ct("w"),o1=Ct("M"),s1=Ct("Q"),u1=Ct("y"),l1=Mc;function c1(){return Ge(this)}function d1(t){return t=Ne(t),this.isValid()?this[t+"s"]():NaN}function Gt(t){return function(){return this.isValid()?this._data[t]:NaN}}var f1=Gt("milliseconds"),h1=Gt("seconds"),m1=Gt("minutes"),p1=Gt("hours"),v1=Gt("days"),_1=Gt("months"),y1=Gt("years");function g1(){return Ee(this.days()/7)}var Mt=Math.round,fr={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function b1(t,e,r,n,a){return a.relativeTime(e||1,!!r,t,n)}function w1(t,e,r,n){var a=Ge(t).abs(),i=Mt(a.as("s")),s=Mt(a.as("m")),d=Mt(a.as("h")),f=Mt(a.as("d")),u=Mt(a.as("M")),o=Mt(a.as("w")),c=Mt(a.as("y")),h=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||d<=1&&["h"]||d<r.h&&["hh",d]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(h=h||o<=1&&["w"]||o<r.w&&["ww",o]),h=h||u<=1&&["M"]||u<r.M&&["MM",u]||c<=1&&["y"]||["yy",c],h[2]=e,h[3]=+t>0,h[4]=n,b1.apply(null,h)}function S1(t){return t===void 0?Mt:typeof t=="function"?(Mt=t,!0):!1}function k1(t,e){return fr[t]===void 0?!1:e===void 0?fr[t]:(fr[t]=e,t==="s"&&(fr.ss=e-1),!0)}function O1(t,e){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=fr,a,i;return typeof t=="object"&&(e=t,t=!1),typeof t=="boolean"&&(r=t),typeof e=="object"&&(n=Object.assign({},fr,e),e.s!=null&&e.ss==null&&(n.ss=e.s-1)),a=this.localeData(),i=w1(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var is=Math.abs;function hr(t){return(t>0)-(t<0)||+t}function ja(){if(!this.isValid())return this.localeData().invalidDate();var t=is(this._milliseconds)/1e3,e=is(this._days),r=is(this._months),n,a,i,s,d=this.asSeconds(),f,u,o,c;return d?(n=Ee(t/60),a=Ee(n/60),t%=60,n%=60,i=Ee(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",f=d<0?"-":"",u=hr(this._months)!==hr(d)?"-":"",o=hr(this._days)!==hr(d)?"-":"",c=hr(this._milliseconds)!==hr(d)?"-":"",f+"P"+(i?u+i+"Y":"")+(r?u+r+"M":"")+(e?o+e+"D":"")+(a||n||t?"T":"")+(a?c+a+"H":"")+(n?c+n+"M":"")+(t?c+s+"S":"")):"P0D"}var N=Oa.prototype;N.isValid=_0,N.abs=Jw,N.add=Xw,N.subtract=Qw,N.as=e1,N.asMilliseconds=Mc,N.asSeconds=t1,N.asMinutes=r1,N.asHours=n1,N.asDays=a1,N.asWeeks=i1,N.asMonths=o1,N.asQuarters=s1,N.asYears=u1,N.valueOf=l1,N._bubble=Kw,N.clone=c1,N.get=d1,N.milliseconds=f1,N.seconds=h1,N.minutes=m1,N.hours=p1,N.days=v1,N.weeks=g1,N.months=_1,N.years=y1,N.humanize=O1,N.toISOString=ja,N.toString=ja,N.toJSON=ja,N.locale=fc,N.localeData=mc,N.toIsoString=Fe("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ja),N.lang=hc,D("X",0,0,"unix"),D("x",0,0,"valueOf"),x("x",_a),x("X",Vg),G("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)}),G("x",function(t,e,r){r._d=new Date(I(t))});//! moment.js
|
|
20
|
-
C.version="2.30.1",Cg(te),C.fn=k,C.min=h0,C.max=m0,C.now=p0,C.utc=nt,C.unix=Uw,C.months=Vw,C.isDate=Ar,C.locale=Tt,C.invalid=da,C.duration=Ge,C.isMoment=ze,C.weekdays=Bw,C.parseZone=Ww,C.localeData=kt,C.isDuration=Ca,C.monthsShort=zw,C.weekdaysMin=Zw,C.defineLocale=zo,C.updateLocale=Wb,C.locales=Vb,C.weekdaysShort=Gw,C.normalizeUnits=Ne,C.relativeTimeRounding=S1,C.relativeTimeThreshold=k1,C.calendarFormat=L0,C.prototype=k,C.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 C1=Hv(Object.freeze(Object.defineProperty({__proto__:null,default:C},Symbol.toStringTag,{value:"Module"})));var xc;function M1(){if(xc)return ca;xc=1,Object.defineProperty(ca,"__esModule",{value:!0});var t=C1,e=U(),r=function(){function n(a,i,s,d,f,u){this.unique_id=a,this.funnel=i,this.data=s,this.user=d,this.location=window.location,this.updated_at=f,this.created_at=u}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 ca.default=r,ca}var $a={},Pc;function x1(){if(Pc)return $a;Pc=1;var t=g&&g.__awaiter||function(s,d,f,u){function o(c){return c instanceof f?c:new f(function(h){h(c)})}return new(f||(f=Promise))(function(c,h){function l(y){try{v(u.next(y))}catch(m){h(m)}}function p(y){try{v(u.throw(y))}catch(m){h(m)}}function v(y){y.done?c(y.value):o(y.value).then(l,p)}v((u=u.apply(s,d||[])).next())})},e=g&&g.__generator||function(s,d){var f={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},u,o,c,h;return h={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function l(v){return function(y){return p([v,y])}}function p(v){if(u)throw new TypeError("Generator is already executing.");for(;h&&(h=0,v[0]&&(f=0)),f;)try{if(u=1,o&&(c=v[0]&2?o.return:v[0]?o.throw||((c=o.return)&&c.call(o),0):o.next)&&!(c=c.call(o,v[1])).done)return c;switch(o=0,c&&(v=[v[0]&2,c.value]),v[0]){case 0:case 1:c=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(c=f.trys,!(c=c.length>0&&c[c.length-1])&&(v[0]===6||v[0]===2)){f=0;continue}if(v[0]===3&&(!c||v[1]>c[0]&&v[1]<c[3])){f.label=v[1];break}if(v[0]===6&&f.label<c[1]){f.label=c[1],c=v;break}if(c&&f.label<c[2]){f.label=c[2],f.ops.push(v);break}c[2]&&f.ops.pop(),f.trys.pop();continue}v=d.call(s,f)}catch(y){v=[6,y],o=0}finally{u=c=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 d=typeof Symbol=="function"&&Symbol.iterator,f=d&&s[d],u=0;if(f)return f.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&u>=s.length&&(s=void 0),{value:s&&s[u++],done:!s}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty($a,"__esModule",{value:!0});var n=_t(),a=Tc(),i=function(){function s(d){d===void 0&&(d={}),this.data=d}return s.prototype.addItem=function(d,f){return this.data[d]=f,this},s.prototype.removeItem=function(d){return delete this.data[d],this},s.prototype.getItem=function(d){if(this.data.hasOwnProperty(d))return this.data[d];throw new Error("".concat(d," collection doesn't exist."))},s.prototype.all=function(){return this.data},s.prototype.calculate=function(d,f){return f===void 0&&(f=null),t(this,void 0,void 0,function(){var u,o,c,h,l,p,v,y,m;return e(this,function(_){switch(_.label){case 0:u=n.ApiServiceFactory.get(d),f===null?o=this.data[d].getData():o=[this.data[d].getItem(f)],_.label=1;case 1:_.trys.push([1,6,7,8]),c=r(o),h=c.next(),_.label=2;case 2:return h.done?[3,5]:(l=h.value,[4,u.getRates(l.getModel())]);case 3:p=_.sent(),l.setRates(p),_.label=4;case 4:return h=c.next(),[3,2];case 5:return[3,8];case 6:return v=_.sent(),y={error:v},[3,8];case 7:try{h&&!h.done&&(m=c.return)&&m.call(c)}finally{if(y)throw y.error}return[7];case 8:return[2,this]}})})},s.fromObject=function(d){for(var f=new this,u=Object.keys(d),o=0;o<u.length;o++){var c={};c.insuranceType=u[o],c.data=d[u[o]],f.addItem(u[o],a.ComparisonInsuranceData.fromObject(c))}return f},s.prototype.toObject=function(){for(var d={},f=Object.keys(this.data),u=0;u<f.length;u++){var o=f[u];d[o]=this.data[o].toObject()}return d},s}();return $a.default=i,$a}var Ta={},Ya={},Rc;function Dc(){if(Rc)return Ya;Rc=1,Object.defineProperty(Ya,"__esModule",{value:!0});var t=U(),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 Ya.default=e,Ya}var jc;function P1(){if(jc)return Ta;jc=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(Ta,"__esModule",{value:!0});var e=Dc(),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 d={};d.insurance=a.data[s],d.insuranceType=a.insuranceType,i.push(e.default.fromObject(d))}return new this(i)},n.prototype.toObject=function(){var a,i,s=[];try{for(var d=t(this.data),f=d.next();!f.done;f=d.next()){var u=f.value;s.push(u.toObject())}}catch(o){a={error:o}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}return s},n}();return Ta.default=r,Ta}var $c;function Tc(){return $c||($c=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComparisonInsurance=t.ComparisonInsuranceData=t.ComparisonDataCollection=t.Comparison=void 0;var e=M1();Object.defineProperty(t,"Comparison",{enumerable:!0,get:function(){return e.default}});var r=x1();Object.defineProperty(t,"ComparisonDataCollection",{enumerable:!0,get:function(){return r.default}});var n=P1();Object.defineProperty(t,"ComparisonInsuranceData",{enumerable:!0,get:function(){return n.default}});var a=Dc();Object.defineProperty(t,"ComparisonInsurance",{enumerable:!0,get:function(){return a.default}})}(Mo)),Mo}var Yc;function U(){return Yc||(Yc=1,function(t){var e=g&&g.__createBinding||(Object.create?function(y,m,_,w){w===void 0&&(w=_);var j=Object.getOwnPropertyDescriptor(m,_);(!j||("get"in j?!m.__esModule:j.writable||j.configurable))&&(j={enumerable:!0,get:function(){return m[_]}}),Object.defineProperty(y,w,j)}:function(y,m,_,w){w===void 0&&(w=_),y[w]=m[_]}),r=g&&g.__exportStar||function(y,m){for(var _ in y)_!=="default"&&!Object.prototype.hasOwnProperty.call(m,_)&&e(m,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=$i;Object.defineProperty(t,"DocumentsModel",{enumerable:!0,get:function(){return n.default}});var a=vl();Object.defineProperty(t,"Rate",{enumerable:!0,get:function(){return a.default}});var i=hg();Object.defineProperty(t,"PackageRate",{enumerable:!0,get:function(){return i.default}});var s=mg();Object.defineProperty(t,"LakaRate",{enumerable:!0,get:function(){return s.default}});var d=pg();Object.defineProperty(t,"RiskRate",{enumerable:!0,get:function(){return d.default}});var f=vg();Object.defineProperty(t,"RollsRate",{enumerable:!0,get:function(){return f.default}});var u=_g();Object.defineProperty(t,"EnraRate",{enumerable:!0,get:function(){return u.default}});var o=yg();Object.defineProperty(t,"MoneyviewRate",{enumerable:!0,get:function(){return o.default}});var c=gg();Object.defineProperty(t,"VergelijkdirectRate",{enumerable:!0,get:function(){return c.default}});var h=bg();Object.defineProperty(t,"DkmRate",{enumerable:!0,get:function(){return h.default}});var l=wg();Object.defineProperty(t,"UndefinedRate",{enumerable:!0,get:function(){return l.default}});var p=yl();Object.defineProperty(t,"RateCollection",{enumerable:!0,get:function(){return p.default}});var v=Oo;Object.defineProperty(t,"User",{enumerable:!0,get:function(){return v.default}}),r(Og(),t),r(Tc(),t)}(ji)),ji}var R1=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 d(o){try{u(n.next(o))}catch(c){s(c)}}function f(o){try{u(n.throw(o))}catch(c){s(c)}}function u(o){o.done?i(o.value):a(o.value).then(d,f)}u((n=n.apply(t,e||[])).next())})},D1=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:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(u){return function(o){return f([u,o])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(r=0)),r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(o){u=[6,o],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(Di,"__esModule",{value:!0});var j1=U(),$1=we(),Ac=nr,T1=Yr,Y1=function(){function t(e){this.storageManager=e}return t.prototype.configure=function(e){return R1(this,void 0,void 0,function(){var r,n;return D1(this,function(a){switch(a.label){case 0:return r=Ac.Injector.instance,r.constant("environment",e),n=new $1.ConfigurationsService,[4,n.configure()];case 1:return a.sent(),r.constant("configuration-service",n),T1.supplierPlacementTracker.setParams(),[2,this]}})})},t.prototype.getConfigurations=function(){return Ac.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 j1.RateCollection(e,r)},t.prototype.remove=function(e){return this.storageManager.remove(e),this},t}();Di.default=Y1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.InsuranceTransmissionClient=void 0;var e=Di;Object.defineProperty(t,"InsuranceTransmissionClient",{enumerable:!0,get:function(){return e.default}})}(Pu);var Ic={},os={};Object.defineProperty(os,"__esModule",{value:!0});var A1=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}();os.default=A1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageAdapter=void 0;var e=os;Object.defineProperty(t,"LocalStorageAdapter",{enumerable:!0,get:function(){return e.default}})}(Ic),function(t){var e=g&&g.__createBinding||(Object.create?function(n,a,i,s){s===void 0&&(s=i);var d=Object.getOwnPropertyDescriptor(a,i);(!d||("get"in d?!a.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,s,d)}: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(Mu,t),r(Pu,t),r(Ic,t),r(U(),t),r(we(),t)}(J);const Fc=X({__proto__:null,default:Lv(J)},[J]),ss={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"}},us={url:ss.api.url,login:ss.api.login,password:ss.api.password},Nc={api:{baseUrl:us.url,auth:{username:us.login,password:us.password},version:"v2"}};class I1{constructor(){ie(this,"insurances",["PetService","MotorService","BikeService","MopedService","HousingService","HomeService","LiabilityService","HouseholdService","DocumentService","PackageService","CaravanService","DataValidationService","CarService","PartnerService","ComparisonService","UserService","V1Service","TravelService"]);ie(this,"activeInsurances");ie(this,"client");ie(this,"petService");ie(this,"motorService");ie(this,"bikeService");ie(this,"mopedService");ie(this,"housingService");ie(this,"homeService");ie(this,"liabilityService");ie(this,"householdService");ie(this,"documentService");ie(this,"packageService");ie(this,"caravanService");ie(this,"dataValidationService");ie(this,"carService");ie(this,"partnerService");ie(this,"validation");ie(this,"comparisonService");ie(this,"userService");ie(this,"v1Service");ie(this,"travelService");ie(this,"dataService")}initITC(){return le(this,null,function*(){if(typeof window=="undefined")return;const e=JSON.parse(JSON.stringify(Nc));e.api.baseUrl=Nc.api.baseUrl+"api";const r=new J.LocalStorageAdapter("insurances");return this.client=new J.InsuranceTransmissionClient(r),yield this.client.configure(e),this.createConfig(),this.createInsuranceClasses(),this})}createConfig(){this.validation=new J.DataValidationService,this.petService=new J.PetService,this.motorService=new J.MotorService,this.bikeService=new J.BikeService,this.mopedService=new J.MopedService,this.housingService=new J.HousingService,this.homeService=new J.HomeService,this.liabilityService=new J.LiabilityService,this.householdService=new J.HouseholdService,this.documentService=new J.DocumentService,this.packageService=new J.PackageService,this.caravanService=new J.CaravanService,this.dataValidationService=new J.DataValidationService,this.carService=new J.CarService,this.partnerService=new J.PartnerService,this.comparisonService=new J.ComparisonService,this.userService=new J.UserService,this.v1Service=new J.V1Service,this.travelService=new J.TravelService,this.dataService=new J.DataService}createInsuranceClasses(){this.insurances.map(e=>{if(Object.prototype.hasOwnProperty.call(Fc,e)){const r={};r[e]=new Fc[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 le(this,null,function*(){const n=e.toLocaleLowerCase(),a=this.dataService.findVehicle(r,n);return a||null})}}let Re=b.reactive({});const F1=(t=null)=>le(this,null,function*(){Re=t||(yield new I1().initITC())}),N1=b.defineComponent({name:"LicensePlate",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"}},emits:["focus","input","blur","license-correct","incorrect-vehicle-type","on-vehicle-information-update","on-error"],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 d=l=>{e("focus");let p=l.srcElement.name;const v=Z.fields.find({name:p});(v!==null||v!==void 0&&v)&&(v.reset(),Z.errors.remove(v.name,v.scope))},f=l=>{e("blur");let p=l.srcElement.name;const v=Z.fields.find({name:p});(v!==null||v!==void 0&&v)&&Z.validate(v.name)},u=(l,p,v)=>{p==="input"&&(s.value=!1),l||(i.value=!1);let y=Ri(l);if(y==="no-template-found"){r.value=l,e(p,l),e("on-error");return}e(p,y.toUpperCase()),r.value=y.toUpperCase(),y.length===8&&p==="input"&&(Z.validate(t.name),v&&h(y.toUpperCase()))},o=l=>{let p=(l.clipboardData||window.clipboardData).getData("text");if(typeof p=="string"&&p){let v=Ri(p);if(v==="no-template-found"){r.value=p,e("input",p),e("on-error"),l.preventDefault();return}e("input",v.toUpperCase()),r.value=v.toUpperCase(),e("license-correct"),v.length===8&&(Z.validate(t.name),h(v.toUpperCase())),l.preventDefault()}},c=(l,p)=>le(this,null,function*(){const v=l.toLocaleLowerCase(),y=yield Re.dataService.findVehicle(p,v);return y||null}),h=l=>{a.value=!0,i.value=!1,s.value=!1,n.value={},c(t.vehicleType,l).then(p=>{if(Array.isArray(p)&&!p.length){a.value=!1,s.value=!0,Z.validate("unknownLicensePlateHiddenField");return}if(t.vehicleTypes.length!==0&&!t.vehicleTypes.includes(p.VehicleType)){e("incorrect-vehicle-type"),i.value=!0,a.value=!1,Z.validate("incorrectLicensePlateHiddenField"),Z.validate("noLicensePlateHiddenField"),Z.validate("unknownLicensePlateHiddenField");return}n.value=p,e("on-vehicle-information-update",p),a.value=!1})};return b.onMounted(()=>{b.nextTick(()=>{if(r.value=t.value,!r.value)return;let l=!0;Ri(r.value).length===8&&Object.keys(t.propVehicleInformation).length!==0&&(n.value=t.propVehicleInformation,Z.validate(t.name),l=!1),u(r.value,"input",l)})}),{license:r,vehicleInformation:n,isLicenseUnknown:s,isRetrievingVehicleInformation:a,incorrectLicensePlate:i,resetFieldValidation:d,validateField:f,onPasteEvent:o,retrieveLicensePlateInformation:h,setValue:u,errors:me,userInformation:P,motorState:ve}}});function ue(t,e,r,n,a,i,s,d){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 u;if(s?(u=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=u):a&&(u=d?function(){a.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:a),u)if(f.functional){f._injectStyles=u;var o=f.render;f.render=function(l,p){return u.call(p),o(l,p)}}else{var c=f.beforeCreate;f.beforeCreate=c?[].concat(c,u):[u]}return{exports:t,options:f}}var Ec=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[e.errors.has(e.name+":required")?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Kenteken is verplicht ")]):e._e(),e.errors.has(e.name+":minlength")?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Kenteken is incorrect ")]):e._e(),e.isLicenseUnknown?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Kenteken onbekend ")]):e._e(),e.incorrectLicensePlate?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Het ingevoerde kenteken is geen "+e._s(e.insuranceDutchNaming.toLowerCase())+" ")]):e._e(),!e.isRetrievingVehicleInformation&&e.value.length===8&&!e.vehicleInformation.VehicleType&&Object.keys(e.vehicleInformation).length!==0?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Voertuig onbekend - Voer ander kenteken in of neem contact op ")]):e._e()]},{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)},E1=[];Ec._withStripped=!0;var Lc=ue(N1,Ec,E1,!1,null,null,null,null);Lc.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/LicensePlate.vue";const Aa=Lc.exports,L1=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=d=>{e("input",d)},a=d=>{e("change",d)},i=d=>{e("focus");let f=d.srcElement.name;const u=wn.find({name:f+t.uId});(u!==null||u!==void 0&&u)&&(u.reset(),me.remove(u.name,u.scope))},s=d=>{if(e("blur"),t.disableValidationBlur&&t.value||t.optionDisableValidationBlur)return;let f=d.srcElement.name;const u=wn.find({name:f+t.uId});(u!==null||u!==void 0&&u)&&Z.validate(u.name)};return b.onMounted(()=>{if(t.value){const d=wn.find({name:t.name+t.uId});(d!==null||d!==void 0&&d)&&Z.validate(d.name)}}),{inputModeChecker:r,inputValue:n,changeValue:a,resetFieldValidation:i,validateField:s,errors:me}}});var Hc=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)},H1=[];Hc._withStripped=!0;var qc=ue(L1,Hc,H1,!1,null,null,null,null);qc.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultInput.vue";const xt=qc.exports,q1=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:me}}});var Uc=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)},U1=[];Uc._withStripped=!0;var Wc=ue(q1,Uc,U1,!1,null,null,null,null);Wc.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultSelect.vue";const Pt=Wc.exports,W1=b.defineComponent({components:{DefaultInput:xt,DefaultSelect:Pt},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),d=b.ref(""),f=b.ref(""),u=b.ref(""),o=b.ref([]),c=b.ref({street:"",city:""}),h=b.ref(!1),l=b.computed(()=>r.value?"-":"Kies toevoeging"),p=b.computed(()=>`${s.value?"":"required"}|is_not:CHOOSE_OPTION`),v=(A,W,Oe)=>le(this,null,function*(){try{if(!A||!W){w(""),u.value="CHOOSE_OPTION",a.value=!1,c.value.street="",c.value.city="",o.value=[{title:"Kies een toevoeging",value:"CHOOSE_OPTION",disabled:!0,selected:!0}];return}o.value=[],Oe&&(u.value="CHOOSE_OPTION"),o.value.push({title:"Kies een toevoeging",value:"CHOOSE_OPTION",disabled:!0,selected:!0}),s.value=yield y(A,W),s.value&&(o.value=[...o.value,{title:"Geen toevoeging",value:""}]),Re.homeService.getAddition({zipcode:A,houseNumber:W}).then(Ze=>{const Ft=Ze;if(i.value=!0,V(t.houseNumberAdditionName),Ft.length){r.value=!1;for(let yr=0;yr<Ft.length;yr++)o.value=[...o.value,{title:Ft[yr],value:Ft[yr]}];a.value=!1,Oe||b.nextTick(()=>{u.value=t.houseNumberAddition,j(A,W,t.houseNumberAddition)})}else o.value[1]&&(o.value[1].title="Geen toevoeging"),r.value=!0,u.value="",w(""),j(A,W)}).catch(Ze=>{a.value=!0,c.value.street="",c.value.city="",e("address-correct",!a.value),V("housenumberaddition"),console.error("Error fetching additions:",Ze)})}catch(Ze){console.error("Error in getHouseNumberAdditions:",Ze)}}),y=(A,W)=>le(this,null,function*(){return yield Re.dataValidationService.validateZipCode(A,W).then(()=>!0).catch(()=>!1)}),m=A=>{h.value=!0,d.value=A.toUpperCase(),e("update-zipcode",A.toUpperCase()),b.nextTick(()=>{v(A.toUpperCase(),t.houseNumber,!0)})},_=A=>{h.value=!0,e("update-house-number",A),b.nextTick(()=>{v(t.zipcode,A,!0)})},w=A=>{e("update-house-number-addition",A),j(t.zipcode,t.houseNumber,A)},j=(A,W,Oe="")=>le(this,null,function*(){try{if(!A||!W)return;n.value=!0,a.value=!1,c.value.street="",c.value.city="",e("address-correct",!a.value);const{Street:Ze,Place:Ft}=yield Re.dataValidationService.validateZipCode(A,W,Oe);h.value=!1,c.value.street=Ze,c.value.city=Ft,e("update-house-information",c.value),n.value=!1}catch(Ze){a.value=!0,n.value=!1,e("address-correct",!a.value),V("housenumberaddition"),console.error("Error getting house information:",Ze)}}),V=A=>{var Oe;const W=Z.fields.find({name:A});(W!==null||W!==void 0&&W)&&(W==null||W.reset(),(Oe=Z==null?void 0:Z.errors)==null||Oe.remove(W==null?void 0:W.name,W==null?void 0:W.scope))};return b.onMounted(()=>{b.nextTick(()=>{d.value=t.zipcode,f.value=t.houseNumber,v(t.zipcode,t.houseNumber,!1)})}),{additionLabel:l,additionValidationRules:p,disableAdditionField:r,isLoading:n,addressError:a,firstTimeCalled:i,canBeWithoutAddition:s,zipcodeModel:d,houseNumberModel:f,houseAdditionNumberModel:u,additions:o,houseInformation:c,isAddressEditing:h,getHouseNumberAdditions:v,getHouseInformationWithoutAddition:y,updateZipcode:m,updateHouseNumber:_,updateHouseNumberAddition:w,getHouseInformation:j,resetFieldValidation:V,props:t,errors:me}}});var Vc=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"},[e.errors.has(e.zipcodeName+":required")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Vul je postcode in ")]):e._e(),e.errors.has(e.zipcodeName+":regex")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Postcode is incorrect ")]):e._e()])],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"},[e.errors.has(e.houseNumberName+":required")?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Huisnummer is verplicht ")]):e._e()])],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[e.errors.has(e.houseNumberAdditionName)?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Een toevoeging is verplicht ")]):e._e()]},proxy:!0}],null,!1,2167037432),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"},[e.errors.has(e.zipcodeName+":required")?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Vul je postcode in ")]):e._e(),e.errors.has(e.zipcodeName+":regex")?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Postcode is incorrect ")]):e._e()])],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"},[e.errors.has(e.houseNumberName+":required")?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Huisnummer is verplicht ")]):e._e()])],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[e.errors.has(e.houseNumberAdditionName)?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Een toevoeging is verplicht ")]):e._e()]},proxy:!0}],null,!1,797849766),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"},[e.errors.has(e.zipcodeName+":required")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[e._v(" Vul je postcode in ")]):e._e(),e.errors.has(e.zipcodeName+":regex")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[e._v(" Postcode is incorrect ")]):e._e()])],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"},[e.errors.has(e.houseNumberName+":required")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[e._v(" Huisnummer is verplicht ")]):e._e()])],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[e.errors.has(e.houseNumberAdditionName)?r("p",{staticClass:"vd-form-error vd-form-error--block"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Een toevoeging is verplicht ")]):e._e()]},proxy:!0}],null,!1,3922368016),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"},[e.errors.has(e.zipcodeName+":required")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[e._v(" Vul je postcode in ")]):e._e(),e.errors.has(e.zipcodeName+":regex")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[e._v(" Postcode is incorrect ")]):e._e()])],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"},[e.errors.has(e.houseNumberName+":required")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Huisnummer is verplicht ")]):e._e()])],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[e.errors.has(e.houseNumberAdditionName)?r("p",{staticClass:"vd-form-error vd-form-error--block"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Een toevoeging is verplicht ")]):e._e()]},proxy:!0}],null,!1,3922368016),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"},[e.errors.has(e.zipcodeName+":required")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Vul je postcode in ")]):e._e(),e.errors.has(e.zipcodeName+":regex")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Postcode is incorrect ")]):e._e()])],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"},[e.errors.has(e.houseNumberName+":required")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Huisnummer is verplicht ")]):e._e()])],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[e.errors.has(e.houseNumberAdditionName)?r("p",{staticClass:"vd-form-error vd-form-error--block"},[r("i",{staticClass:"fas fa-exclamation-circle mr-1"}),e._v("Een toevoeging is verplicht ")]):e._e()]},proxy:!0}],null,!1,3922368016),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(),e.addressError?r("div",{staticClass:"text-danger fz-small font-weight-bold mb-0"},[r("i",{staticClass:"fas fa-info-circle"}),e._v(" Postcode en huisnummer combinatie onbekend. ")]):e._e()])])])]):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)}}})])])},V1=[];Vc._withStripped=!0;var zc=ue(W1,Vc,V1,!1,null,null,null,null);zc.options.__file="/Users/mac/Work/comparison-forms/src/components/common/AddressHandler.vue";const Ia=zc.exports,z1=b.defineComponent({name:"ClaimFreeYearsModalContent",props:{maxClaimFreeYearsOptions:{required:!0},vdFormVersion:{required:!1,type:String,default:"0"}},components:{DefaultSelect:Pt},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 Bc=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()])},B1=[];Bc._withStripped=!0;var Gc=ue(z1,Bc,B1,!1,null,"659d0a00",null,null);Gc.options.__file="/Users/mac/Work/comparison-forms/src/components/common/modals/ClaimFreeYearsModalContent.vue";const Zc=Gc.exports,G1=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 Jc=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)},Z1=[];Jc._withStripped=!0;var Xc=ue(G1,Jc,Z1,!1,null,null,null,null);Xc.options.__file="/Users/mac/Work/comparison-forms/src/components/common/SimpleCard.vue";const At=Xc.exports,J1=b.defineComponent({name:"MotorForm",components:{LicensePlate:Aa,AddressHandler:Ia,DefaultInput:xt,DefaultSelect:Pt,ClaimFreeYearsModalContent:Zc,SimpleCard:At},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:d,minAge:f,maxAge:u,buttonStyles:o,maxClaimFreeYears:c,onLicenseError:h,onLicenseInput:l,validateBeforeSubmit:p,HouseInformation:v,licenseInformation:y,vehicle:m,getClaimFreeYearsSelectOptions:_,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:V,setClaimFreeYears:A,getHouseInformation:W,getLicenseInformation:Oe}=Cu(t,e,Re);return{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:d,minAge:f,maxAge:u,buttonStyles:o,maxClaimFreeYears:c,onLicenseError:h,onLicenseInput:l,validateBeforeSubmit:p,HouseInformation:v,licenseInformation:y,vehicle:m,getClaimFreeYearsSelectOptions:_,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:V,setClaimFreeYears:A,getHouseInformation:W,getLicenseInformation:Oe,errors:me,userInformation:P,motorState:ve}}});var Qc=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=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("default-input",{attrs:{id:"birthdate",label:"Geboortedatum",mask:"##-##-####",validation:{required:!0,date_format:"dd-MM-yyyy",betweenBirthDate:[e.currentYear-e.maxAge,e.currentYear-e.minAge]},placeholder:"DD-MM-JJJJ",type:"text",name:"birthdate","is-required":!0,"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}},[r("template",{slot:"error-messages"},[e.errors.has("birthdate:required")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Geboortedatum is verplicht ")]):e._e(),e.errors.has("birthdate:date_format")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Geboortedatum is incorrect ")]):e._e(),e.errors.has("birthdate:betweenBirthDate")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Je dient tussen "+e._s(e.currentYear-e.maxAge)+" en "+e._s(e.currentYear-e.minAge)+" te zijn geboren ")]):e._e()])],2)],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[e.errors.has("claimFreeYears:required")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Schadevrije jaren zijn verplicht ")]):e._e()]},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)},X1=[];Qc._withStripped=!0;var Kc=ue(J1,Qc,X1,!1,null,null,null,null);Kc.options.__file="/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorForm.vue";const Q1=Kc.exports,K1=b.defineComponent({name:"MotorFormHorizontal",components:{LicensePlate:Aa,AddressHandler:Ia,DefaultInput:xt,DefaultSelect:Pt,ClaimFreeYearsModalContent:Zc,SimpleCard:At},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:d,minAge:f,maxAge:u,buttonStyles:o,maxClaimFreeYears:c,onLicenseError:h,onLicenseInput:l,validateBeforeSubmit:p,HouseInformation:v,licenseInformation:y,vehicle:m,getClaimFreeYearsSelectOptions:_,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:V,setClaimFreeYears:A,getHouseInformation:W,getLicenseInformation:Oe}=Cu(t,e,Re);return{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:d,minAge:f,maxAge:u,buttonStyles:o,maxClaimFreeYears:c,onLicenseError:h,onLicenseInput:l,validateBeforeSubmit:p,HouseInformation:v,licenseInformation:y,vehicle:m,getClaimFreeYearsSelectOptions:_,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:V,setClaimFreeYears:A,getHouseInformation:W,getLicenseInformation:Oe,errors:me,userInformation:P,motorState:ve}}});var ed=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=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("default-input",{attrs:{id:"birthdate",mask:"##-##-####",validation:{required:!0,date_format:"dd-MM-yyyy",betweenBirthDate:[e.currentYear-e.maxAge,e.currentYear-e.minAge]},label:"Geboortedatum",placeholder:"DD-MM-JJJJ",type:"text",name:"birthdate","is-required":!0},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}},[r("template",{slot:"error-messages"},[e.errors.has("birthdate:required")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Geboortedatum is verplicht ")]):e._e(),e.errors.has("birthdate:date_format")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Geboortedatum is incorrect ")]):e._e(),e.errors.has("birthdate:betweenBirthDate")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Je dient tussen "+e._s(e.currentYear-e.maxAge)+" en "+e._s(e.currentYear-e.minAge)+" te zijn geboren ")]):e._e()])],2),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"}},[r("div",{staticClass:"popover popper"},[r("div",{staticClass:"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[e.errors.has("claimFreeYears:required")?r("p",{staticClass:"vd-form-error vd-form-error--block"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Schadevrije jaren zijn verplicht ")]):e._e()]},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)},eS=[];ed._withStripped=!0;var td=ue(K1,ed,eS,!1,null,null,null,null);td.options.__file="/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorFormHorizontal.vue";const tS=td.exports;var zr=(t=>(t.Horizontal="horizontal",t.Vertical="vertical",t))(zr||{});function rS(t){return t.valueOf().toString().substr(6,12)}function Fa(){function t(e){const r=rS(new Date);return`${e}-${r}`}return{inputId:t}}const nS=b.defineComponent({name:"BirthdateInput",components:{DefaultInput:xt},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fa();return{inputId:n,attrs:e,listeners:r,errors:me}}});var rd=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:21,67","is-required":!0},scopedSlots:e._u([{key:"error-messages",fn:function(){return[e.errors.has("birthdate:required")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Geboortedatum is verplicht ")]):e._e(),e.errors.has("birthdate:date_format")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Geboortedatum is incorrect ")]):e._e(),e.errors.has("birthdate:ageRange")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v(e._s(e.errors.first("birthdate"))+" ")]):e._e()]},proxy:!0}])},"DefaultInput",e.attrs,!1),e.listeners))},aS=[];rd._withStripped=!0;var nd=ue(nS,rd,aS,!1,null,null,null,null);nd.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/formFields/birthdate.vue";const ad=nd.exports,iS=[{value:"A",title:"Alleenstaand zonder kinderen"},{value:"H",title:"Gezin zonder kinderen"},{value:"K",title:"Alleenstaand met kinderen"},{value:"I",title:"Gezin met kinderen"}],oS=b.defineComponent({name:"FamilyCompositionInput",components:{DefaultSelect:Pt},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fa();return{inputId:n,familyCompositionOptions:iS,attrs:e,listeners:r,errors:me}}});var id=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[e.errors.has("familyComposition")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Gezinssituatie is verplicht ")]):e._e()]},proxy:!0}])},"default-select",e.attrs,!1),e.listeners))},sS=[];id._withStripped=!0;var od=ue(oS,id,sS,!1,null,null,null,null);od.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/formFields/familyComposition.vue";const sd=od.exports,uS=b.defineComponent({name:"LoanAmount",components:{DefaultInput:xt,DefaultSelect:Pt},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fa();return{inputId:n,attrs:e,listeners:r,errors:me}}});var ud=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[e.errors.has("loanAmount:required")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Leenbedrag is verplicht ")]):e._e(),e.errors.has("loanAmount:min_value")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Je kunt niet minder dan €2500,- lenen. Vul een hoger bedrag in ")]):e._e(),e.errors.has("loanAmount:max_value")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("De input mag niet groter zijn dan de maximum waarde: 75000 ")]):e._e()]},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))},lS=[];ud._withStripped=!0;var ld=ue(uS,ud,lS,!1,null,null,null,null);ld.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/formFields/loanAmount.vue";const cd=ld.exports;var Te=(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))(Te||{});const cS=[{title:"Aankoop auto",value:Te.PurchaseCar},{title:"Aankoop boot",value:Te.PurchaseBoat},{title:"Aankoop caravan/camper",value:Te.PurchaseCaravanCamper},{title:"Aankoop inboedel",value:Te.PurchaseHousehold},{title:"Aankoop motor",value:Te.PurchaseMotor},{title:"Aankoop recreatiewoning",value:Te.PurchaseRecreationalHome},{title:"Oversluiten lopende leningen",value:Te.RefinanceExistingLoans},{title:"Verbouwing woning",value:Te.HomeRenovation},{title:"Energie besparende maatregelen",value:Te.EnergySavingMeasures},{title:"Aflossen restschuld woning",value:Te.PayOffMortgageDebt},{title:"Extra financiële ruimte",value:Te.ExtraFinances},{title:"Anders",value:Te.Other}],dS=b.defineComponent({name:"LoanPurpose",components:{DefaultSelect:Pt},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Fa();return{inputId:n,attrs:e,listeners:r,loanPurposeOptions:cS,errors:me}}});var dd=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[e.errors.has("loanPurpose:required")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Leendoel is verplicht ")]):e._e()]},proxy:!0}])},"default-select",e.attrs,!1),e.listeners))},fS=[];dd._withStripped=!0;var fd=ue(dS,dd,fS,!1,null,null,null,null);fd.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/formFields/loanPurpose.vue";const hd=fd.exports,md=t=>Object.values(zr).includes(t);class hS{static render(e){const{AlimonyType:r,AnotherMonthlyExpenses:n,BenefitType:a,CarMonthlyContributionExpenses:i,CarMonthlyTaxAdditionExpenses:s,CarOwnershipType:d,DesiredDuration:f,DesiredRepayment:u,HouseSituation:o,IncomeSituation:c,IncomeType:h,IndependentYears:l,LoanAmount:p,LoanPurpose:v,MonthlyAlimonyAllowance:y,MonthlyCarRentalExpenses:m,MonthlyChildcareAllowance:_,MonthlyChildcareExpenses:w,MonthlyCurrentLoansExpenses:j,MonthlyHouseExpenses:V,MonthlyNetIncome:A,MonthlyStudentLoansExpenses:W,OwnedBuilding:Oe,PartnerIncomeType:Ze,PartnerMonthlyNetIncome:Ft,Sorting:yr,TemporaryWorkPhase:Ik,WorkedLastThreeYears:Fk}=e.loanData,Of=e,{loanData:Uk,filters:Wk,aanvragen:Vk}=Of,Nk=xf(Of,["loanData","filters","aanvragen"]);return gr({loanData:{AlimonyType:r,AnotherMonthlyExpenses:n,BenefitType:a,CarMonthlyContributionExpenses:i,CarMonthlyTaxAdditionExpenses:s,CarOwnershipType:d,DesiredDuration:f,DesiredRepayment:u,HouseSituation:o,IncomeSituation:c,IncomeType:h,IndependentYears:l,LoanAmount:p,LoanPurpose:v,MonthlyAlimonyAllowance:y,MonthlyCarRentalExpenses:m,MonthlyChildcareAllowance:_,MonthlyChildcareExpenses:w,MonthlyCurrentLoansExpenses:j,MonthlyHouseExpenses:V,MonthlyNetIncome:A,MonthlyStudentLoansExpenses:W,OwnedBuilding:Oe,PartnerIncomeType:Ze,PartnerMonthlyNetIncome:Ft,Sorting:yr,TemporaryWorkPhase:Ik,WorkedLastThreeYears:Fk}},Nk)}}const mS="192";function pS(t){const e={CreationForm:"CreationForm",Aanvragen:"Aanvragen",Common:"Common"};let r=b.ref([]);const n={[e.CreationForm]:{title:"Oeps... er gaat iets mis!",refId:mS,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=(u="Common")=>{t("emit-event-hub",{event:"open-quotation-modal",data:f(u)})},i=u=>{const o=d(u);r.value.push(o)},s=()=>{r.value=[]},d=u=>({text:u}),f=u=>{const{title:o,refId:c,notes:h,description:l}=n[u];return{title:o,refId:c,notes:[...h||[],...r.value],description:l}};return{QuotationType:e,openQuotationModal:a,addNote:i,resetNotes:s,convertToNote:d,renderQuotationData:f}}let ls=b.ref(!1);const pd=(t,e)=>{const{QuotationType:r,openQuotationModal:n,addNote:a,resetNotes:i}=pS(e),s=b.computed(()=>hS.render(t.comparison.getUser().getDetail())),d=b.computed(()=>t.formOrientation===zr.Horizontal),f=y=>`${t.baseUrl}#/${y}`,u=y=>le(this,null,function*(){i();try{const m=yield Re.comparisonService.create("loan",y);return yield Re.comparisonService.update(m),m}catch(m){console.error(m),a(`
|
|
21
|
-
Leendoel: ${
|
|
22
|
-
Leenbedrag: ${
|
|
23
|
-
Geboortedatum: ${
|
|
24
|
-
Gezinssituatie: ${
|
|
25
|
-
`),n(r.CreationForm)}}),o=()=>{t.comparison.getUser().setBirthDate(P.birthdate),t.comparison.getUser().setFamilyComposition(P.familyComposition)},c=()=>{t.comparison.getUser().setDetail(null,gr(gr({},t.comparison.getUser().getDetail(null)),s.value))},h=()=>{Je.loanAmount=t.insuranceState.LoanAmount,Je.loanPurpose=t.insuranceState.LoanPurpose,P.birthdate=t.userInformation.birthdate,P.familyComposition=t.userInformation.familyComposition},l=()=>{const y=new J.User({});return y.setDetail(null,{}),y.setBirthDate(P.birthdate),y.setFamilyComposition(P.familyComposition),y.setDetail("loanData",{LoanPurpose:Je.loanPurpose,LoanAmount:Je.loanAmount}),y};return{inSubmissions:ls,loanState:Je,isHorizontalForm:d,setFormData:h,submitUpdateForm:()=>le(this,null,function*(){ls.value=!0;try{(yield jr(["birthdate","familyComposition","loanAmount","loanPurpose"]))&&(yield c(),yield o(),yield Re.comparisonService.update(t.comparison),e("submit-form",{userInformation:P,loanState:Je}))}catch(y){console.error(y),e("emit-event-hub",{event:"open-quotation-modal"})}ls.value=!1}),submitCreateForm:()=>le(this,null,function*(){try{if(!(yield jr(["birthdate","familyComposition","loanAmount","loanPurpose"])))return;const m=l(),_=yield u(m);_&&_.getId()?e("redirect-page",{link:f(_.getId())}):n(r.CreationForm)}catch(y){console.error(y),n(r.CreationForm)}})}},vS=b.defineComponent({name:"CreateLoanComparisonForm",components:{LoanPurposeInputField:hd,LoanAmountInputField:cd,BirthdateInputField:ad,FamilyCompositionInputField:sd,SimpleCard:At},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:zr.Vertical,validator:md},vdFormVersion:{required:!1,type:String,default:"0"},classes:{required:!1,type:String,default:""}},setup(t,{emit:e}){const{loanState:r,isHorizontalForm:n,submitCreateForm:a}=pd(t,e);return b.onMounted(()=>{Oi.removeSessionState(b.getCurrentInstance().proxy.$root.$data.pathKey,b.getCurrentInstance().proxy.$root.$data.storageKey)}),{loanState:r,isHorizontalForm:n,submitCreateForm:a,userInformation:P}}});var vd=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-field",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}}),r("family-composition-input-field",{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)])},_S=[];vd._withStripped=!0;var _d=ue(vS,vd,_S,!1,null,null,null,null);_d.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/forms/createLoanComparisonForm.vue";const yS=_d.exports,gS=b.defineComponent({name:"UpdateLoanComparisonForm",components:{LoanPurposeInputField:hd,LoanAmountInputField:cd,BirthdateInputField:ad,FamilyCompositionInputField:sd,SimpleCard:At},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}=pd(t,e);return b.onMounted(()=>{a()}),{inSubmissions:r,loanState:n,submitUpdateForm:i,userInformation:P}}});var yd=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-field",{attrs:{"vd-form-version":e.vdFormVersion},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}}),r("family-composition-input-field",{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)])},bS=[];yd._withStripped=!0;var gd=ue(gS,yd,bS,!1,null,null,null,null);gd.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/forms/updateLoanComparisonForm.vue";const wS=gd.exports;function SS(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 kS(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 bd=(t,e,r,n)=>{const a=b.ref(""),i=b.ref(!1),s=b.ref(!1),d=b.ref(!1),f=b.ref([]),u=b.ref("");function o(){return le(this,null,function*(){if((yield jr(["license","zipcode","housenumber","housenumberaddition","birthdate"]))&&!s.value&&Ce.VehicleType==="Car"&&!d.value)if(t.isOnResultPage||t.isOnCoveragePage)e("submit-form",{userInformation:P,carState:Ce});else{const m=yield c();m&&e("redirect-page",{link:`${t.link}#/${m.getId()}/dekkingen/`})}})}function c(){return le(this,null,function*(){try{const y=new J.User({});return y.setDetail(null,{}),y.setDetail("car",Object.assign(Ce,{LicensePlate:a.value,Brand:Ce.Brand,Model:Ce.Model,Type:Ce.Type,VehicleType:Ce.VehicleType,ManufacturingYear:Ce.ManufacturingYear})),y.setDetail("comparison",{Coverage:null,Deductables:300,ClaimFreeYears:"0",Kilometrage:"12000"}),y.setZipCode(P.zipcode),y.setHouseNumber(Number(P.houseNumber)),y.setHouseNumberAddition(P.houseNumberAddition),y.setBirthDate(P.birthdate),yield r.comparisonService.create("car",y)}catch(y){return f.value.push({text:`Kenteken: ${a.value} | Postcode: ${P.zipcode} | Huisnummer: ${P.houseNumber} | Huisnummer toevoeging: ${P.houseNumberAddition} | Geboortedatum: ${P.birthdate}`}),f.value=kS(f.value),h(),null}})}function h(){e("emit-event-hub",{event:"open-quotation-modal",data:{refId:u.value,notes:f.value}})}function l(){d.value=!1}function p(){d.value=!0}const v=b.computed(()=>{const y=O.utc(O().subtract(100,"y").format("DD-MM-YYYY"),"DD-MM-YYYY"),m=O.utc(O().subtract(18,"y").format("DD-MM-YYYY"),"DD-MM-YYYY");return{min:y,max:m}});return b.onMounted(()=>{var y,m,_,w,j;(t.isOnResultPage||t.isOnCoveragePage)&&(Object.assign(Ce,t.insuranceState),a.value=(y=Ce.LicensePlate)!=null?y:"",P.zipcode=(m=t.userInformation.zipCode)!=null?m:"",P.houseNumber=(_=String(t.userInformation.houseNumber))!=null?_:"",P.houseNumberAddition=(w=t.userInformation.houseNumberAddition)!=null?w:"",P.birthdate=(j=t.userInformation.birthdate)!=null?j:""),(!t.isOnResultPage||!t.isOnCoveragePage)&&Session.removeSessionState("car-storage","car-path"),i.value=!0}),{isReady:i,licensePlate:a,onLicenseInput:l,onLicenseError:p,houseError:s,dateRange:v,validateBeforeSubmit:o}},OS=b.defineComponent({name:"CarForm",components:{LicensePlate:Aa,AddressHandler:Ia,DefaultInput:xt,SimpleCard:At},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:d,validateBeforeSubmit:f}=bd(t,e,Re);return{userInformation:P,carState:Ce,isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:d,validateBeforeSubmit:f,errors:me}}});var wd=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("default-input",{staticClass:"mx-0 mb-3",attrs:{id:"birthdate",validation:{required:!0,date_format:"dd-MM-yyyy",betweenBirthDate:[e.dateRange.min,e.dateRange.max,!0]},mask:"##-##-####","input-mode":"numeric",type:"text",placeholder:"DD-MM-JJJJ",label:"Geboortedatum",name:"birthdate","vd-form-version":e.vdFormVersion,"is-required":!0},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}},[r("template",{slot:"error-messages"},[e.errors.has("birthdate:required")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Geboortedatum is verplicht ")]):e._e(),e.errors.has("birthdate:date_format")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Geboortedatum is incorrect ")]):e._e(),e.errors.has("birthdate:betweenBirthDate")?r("p",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Je dient tussen "+e._s(e.dateRange.min.format("DD-MM-YYYY"))+" en "+e._s(e.dateRange.max.format("DD-MM-YYYY"))+" te zijn geboren ")]):e._e()])],2)],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()},CS=[];wd._withStripped=!0;var Sd=ue(OS,wd,CS,!1,null,null,null,null);Sd.options.__file="/Users/mac/Work/comparison-forms/src/insurances/car/components/forms/CarForm.vue";const MS=Sd.exports,xS=b.defineComponent({name:"CarFormHorizontal",components:{LicensePlate:Aa,AddressHandler:Ia,DefaultInput:xt,SimpleCard:At},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:d,validateBeforeSubmit:f}=bd(t,e,Re);return{userInformation:P,carState:Ce,isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:d,validateBeforeSubmit:f,errors:me}}});var kd=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("default-input",{staticClass:"mx-0 mb-2",attrs:{id:"birthdate",validation:{required:!0,date_format:"dd-MM-yyyy",betweenBirthDate:[e.dateRange.min,e.dateRange.max,!0]},mask:"##-##-####","input-mode":"numeric",type:"text",placeholder:"DD-MM-JJJJ",label:"Geboortedatum",name:"birthdate","vd-form-version":e.vdFormVersion,"is-required":!0},model:{value:e.userInformation.birthdate,callback:function(n){e.$set(e.userInformation,"birthdate",n)},expression:"userInformation.birthdate"}},[r("template",{slot:"error-messages"},[e.errors.has("birthdate:required")?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Geboortedatum is verplicht ")]):e._e(),e.errors.has("birthdate:date_format")?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Geboortedatum is incorrect ")]):e._e(),e.errors.has("birthdate:betweenBirthDate")?r("p",{staticClass:"vd-form-error position-relative"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Je dient tussen "+e._s(e.dateRange.min.format("DD-MM-YYYY"))+" en "+e._s(e.dateRange.max.format("DD-MM-YYYY"))+" te zijn geboren ")]):e._e()])],2)],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()},PS=[];kd._withStripped=!0;var Od=ue(xS,kd,PS,!1,null,null,null,null);Od.options.__file="/Users/mac/Work/comparison-forms/src/insurances/car/components/forms/CarFormHorizontal.vue";const RS=Od.exports,Cd=(t,e,r,n)=>{const a=b.getCurrentInstance(),i=b.ref(null),s=b.ref(!1),d=b.ref(!1),f=b.computed(()=>Math.floor(Math.random()*1e3));function u(){return le(this,null,function*(){var v;s.value=!z.sex;const p=yield jr(["zipcode","breed-value"]);if(!s.value&&p)if(!t.isOnResultPage)(v=a.proxy.$el.querySelector("#search-select-input"))==null||v.setAttribute("name",""),i.value.submit();else{const y={sex:z.sex,age:z.age,postcode:z.postcode,kind:z.kind,breed:z.breed};e("submit-form",{petState:y})}})}const o=b.computed(()=>{const p=z.kind==="dog"?7:11,v=[];for(let y=0;y<=p;y++)v.push({title:`${y} jaar`,value:y});return v}),c=b.computed(()=>z.raceLists[z.kind]);function h(p){z.breed=p}function l(){return le(this,null,function*(){yield r.v1Service.getDog().then(p=>z.raceLists.dog=p).catch(p=>console.log(p)),yield r.v1Service.getCat().then(p=>z.raceLists.cat=p).catch(p=>console.log(p))})}return b.onMounted(()=>le(this,null,function*(){var p,v,y,m,_;yield l(),z.sex=((p=t.insuranceState)==null?void 0:p.sex)||z.sex,z.age=+((v=t.insuranceState)==null?void 0:v.age)||z.age,z.postcode=((y=t.insuranceState)==null?void 0:y.postcode)||z.postcode,z.kind=((m=t.insuranceState)==null?void 0:m.kind)||z.kind,z.breed=+((_=t.insuranceState)==null?void 0:_.breed)||z.breed,t.isOnResultPage||Oi.removeSessionState(a.proxy.$root.$data.pathKey,a.proxy.$root.$data.storageKey),d.value=!0})),{petForm:i,genderError:s,validateBeforeSubmit:u,ageOptions:o,raceList:c,setBreedId:h,getRaceLists:l,componentId:f,isReady:d}},Md=[{title:"Hond",value:"dog"},{title:"Kat",value:"cat"}],xd=[{text:"Man",value:"m"},{text:"Vrouw",value:"f"}],DS=b.defineComponent({name:"ZipcodeInput",components:{DefaultInput:xt},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:me}}});var Pd=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)},jS=[];Pd._withStripped=!0;var Rd=ue(DS,Pd,jS,!1,null,null,null,null);Rd.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/ZipcodeInput.vue";const Dd=Rd.exports,$S=b.defineComponent({name:"SearchableSelect",components:{DefaultInput:xt},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(""),d=b.ref(!1),f=b.ref("bottom");const u=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)),c=b.computed(()=>`search-select-options--${f.value}`),h=()=>{var w;t.value&&(s.value=((w=SS(t.options,"id",t.value))==null?void 0:w.name)||"")},l=()=>{f.value="bottom",b.nextTick(()=>{var w;if(u){const j=window.innerHeight,V=(w=i.proxy.$el.querySelector("#search-select-options"))==null?void 0:w.getBoundingClientRect();if(V){const A=j-(V.height+V.top);f.value=Math.sign(A)===-1?"top":"bottom"}}})},p=()=>{s.value="",e("input",null),b.nextTick(()=>{u.value&&(u.value.focus(),d.value=!0)})},v=(w,j)=>{e("input",w),e("set-breed",w),s.value=j,u.value&&u.value.focus(),m()},y=w=>{w.target.focus(),d.value=!0,f.value="bottom",b.nextTick(()=>{l()})},m=()=>{r.value=!1,d.value=!1},_=w=>{d.value&&w.target.id!=="search-select-remove-icon"&&(w.target.closest("#search-select-wrapper")||m())};return b.onBeforeUnmount(()=>{u.value&&u.value.removeEventListener("focus",y),b.getCurrentInstance().proxy.$root.$el.removeEventListener("click",_)}),b.onMounted(()=>{u.value&&u.value.addEventListener("focus",y),b.getCurrentInstance().proxy.$root.$el.addEventListener("click",_),h()}),{onSelectBlur:a,onOptionMousedown:n,optionDisableValidationBlur:r,searchInput:s,element:u,direction:f,isOptionListOpened:d,filteredOptions:o,optionsListStyle:c,setDirection:l,removeValue:p,setOption:v,onFocusEvent:y,onBlurEvent:m}}});var jd=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()])},TS=[];jd._withStripped=!0;var $d=ue($S,jd,TS,!1,null,null,null,null);$d.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/SearchableSelect.vue";const Td=$d.exports;var YS="$bvConfig",Yd=typeof window!="undefined",Ad=typeof document!="undefined",AS=typeof navigator!="undefined",Id=Yd&&Ad&&AS,IS=Id?window.navigator.userAgent.toLowerCase():"";IS.indexOf("jsdom")>0,function(){var t=!1;if(Id)try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(r){t=!1}return t}();var Fd=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},FS=function(){return Fd("BOOTSTRAP_VUE_NO_WARN")||Fd("NODE_ENV")==="production"};function Br(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Br=function(r){return typeof r}:Br=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Br(t)}var Nd=function(e){return Br(e)},cs=function(e){return e===void 0},Ed=function(e){return e===null},Ld=function(e){return cs(e)||Ed(e)},ds=function(e){return Nd(e)==="function"},NS=function(e){return Nd(e)==="boolean"},It=function(e){return Array.isArray(e)},Na=function(e){return e!==null&&Br(e)==="object"},fs=function(e){return Object.prototype.toString.call(e)==="[object Object]"},Hd=function(e){return e instanceof Date},mr=function(e){return Object.keys(e)},hs=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)};function qd(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 Ud(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qd(Object(r),!0).forEach(function(n){Wd(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qd(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Wd(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function ES(t){return US(t)||qS(t)||HS(t)||LS()}function LS(){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 HS(t,e){if(t){if(typeof t=="string")return ms(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 ms(t,e)}}function qS(t){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(t))return Array.from(t)}function US(t){if(Array.isArray(t))return ms(t)}function ms(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 Ea=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return It(e)?e.reduce(function(n,a){return[].concat(ES(n),[t(a,a)])},[]):fs(e)?mr(e).reduce(function(n,a){return Ud(Ud({},n),{},Wd({},a,t(e[a],e[a])))},{}):r},WS=/\[(\d+)]/g,VS=/(<([^>]+)>)/gi,zS=function(e){return e};const ps=zS;var BS=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0;if(r=It(r)?r.join("."):r,!r||!Na(e))return n;if(r in e)return e[r];r=String(r).replace(WS,".$1");var a=r.split(".").filter(ps);return a.length===0?n:a.every(function(i){return Na(e)&&i in e&&!Ld(e=e[i])})?e:Ed(e)?null:n},La=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,a=BS(e,r);return Ld(a)?n:a},GS=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;FS()||console.warn("[BootstrapVue warn]: ".concat(r?"".concat(r," - "):"").concat(e))},Vd="BFormCheckbox",zd="BFormRadio",Bd="BFormRadioGroup";function Gd(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 Zd(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Gd(Object(r),!0).forEach(function(n){ZS(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Gd(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function ZS(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var JS=b.prototype,Jd=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=JS[YS];return n?n.getConfigValue(e,r):Ea(r)},XS=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?Jd("".concat(e,".").concat(r),n):Jd(e,{})},st=function(e,r){return mr(e).reduce(function(n,a){var i=e[a],s=i.default;return n[a]=Zd(Zd({},Ea(i)),{},{default:function(){return XS(r,a,ds(s)?s():s)}}),n},{})},vs=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)},Gr=Yd?window:{},_s=Ad?document:{},ys=typeof Element!="undefined"?Element.prototype:{},QS=ys.matches||ys.msMatchesSelector||ys.webkitMatchesSelector,KS=Gr.requestAnimationFrame||Gr.webkitRequestAnimationFrame||Gr.mozRequestAnimationFrame||Gr.msRequestAnimationFrame||Gr.oRequestAnimationFrame||function(t){return setTimeout(t,16)},pr=function(e){return!!(e&&e.nodeType===Node.ELEMENT_NODE)},ek=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=_s.activeElement;return r&&!e.some(function(n){return n===r})?r:null},Xd=function(e){return pr(e)&&e===ek()},tk=function(e){if(!pr(e)||!e.parentNode||!ak(_s.body,e)||ik(e,"display")==="none")return!1;var r=ok(e);return!!(r&&r.height>0&&r.width>0)},rk=function(e,r){return(pr(r)?r:_s).querySelector(e)||null},nk=function(e,r){return pr(e)?QS.call(e,r):!1},ak=function(e,r){return e&&ds(e.contains)?e.contains(r):!1},ik=function(e,r){return r&&pr(e)&&e.style[r]||null},ok=function(e){return pr(e)?e.getBoundingClientRect():null},Qd=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{e.focus(r)}catch(n){}return Xd(e)},sk=function(e){try{e.blur()}catch(r){}return!Xd(e)},Kd="default",uk="first",lk=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=vs(e).filter(ps),e.some(function(a){return r[a]||n[a]})},ck=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=vs(e).filter(ps);for(var i,s=0;s<e.length&&!i;s++){var d=e[s];i=n[d]||a[d]}return ds(i)?i(r):i};const ef={methods:{hasNormalizedSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kd;return lk(e,this.$scopedSlots,this.$slots)},normalizeSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Kd,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=ck(e,r,this.$scopedSlots,this.$slots);return n&&vs(n)}}};var dk=function(e,r){if(e.length!==r.length)return!1;for(var n=!0,a=0;n&&a<e.length;a++)n=ut(e[a],r[a]);return n},ut=function t(e,r){if(e===r)return!0;var n=Hd(e),a=Hd(r);if(n||a)return n&&a?e.getTime()===r.getTime():!1;if(n=It(e),a=It(r),n||a)return n&&a?dk(e,r):!1;if(n=Na(e),a=Na(r),n||a){if(!n||!a)return!1;var i=mr(e).length,s=mr(r).length;if(i!==s)return!1;for(var d in e){var f=hs(e,d),u=hs(r,d);if(f&&!u||!f&&u||!t(e[d],r[d]))return!1}}return String(e)===String(r)};function tf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rf=function(e){return!e||mr(e).length===0},fk=function(e){return{handler:function(n,a){if(!ut(n,a)){if(rf(n)||rf(a)){this[e]=Ea(n);return}for(var i in a)hs(n,i)||this.$delete(this.$data[e],i);for(var s in n)this.$set(this.$data[e],s,n[s])}}}},hk=function(e,r){return{data:function(){return tf({},r,Ea(this[e]))},watch:tf({},e,fk(r))}};const mk=hk("$attrs","bvAttrs");var nf=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return String(e).replace(VS,"")},pk=function(e,r){return e?{innerHTML:e}:r?{textContent:r}:{}};const gs={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 vk='Setting prop "options" to an object is deprecated. Use the array format instead.',af=st({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 _k={props:af,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(fs(e)){var n=La(e,this.valueField),a=La(e,this.textField);return{value:cs(n)?r||a:n,text:nf(String(cs(a)?r:a)),html:La(e,this.htmlField),disabled:!!La(e,this.disabledField)}}return{value:r||e,text:nf(String(e)),disabled:!1}},normalizeOptions:function(e){var r=this;return It(e)?e.map(function(n){return r.normalizeOption(n)}):fs(e)?(GS(vk,this.$options.name),mr(e).map(function(n){return r.normalizeOption(e[n]||{},n)})):[]}}};var of=function(e,r){for(var n=0;n<e.length;n++)if(ut(e[n],r))return n;return-1};function sf(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 yk(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?sf(Object(r),!0).forEach(function(n){gk(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):sf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function gk(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var uf="input, textarea, select",Ha=yk({id:{type:String},name:{type:String}},st({disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},form:{type:String},autofocus:{type:Boolean,default:!1}},"formControls"));const bs={props:Ha,mounted:function(){this.handleAutofocus()},activated:function(){this.handleAutofocus()},methods:{handleAutofocus:function(){var e=this;this.$nextTick(function(){KS(function(){var r=e.$el;e.autofocus&&tk(r)&&(nk(r,uf)||(r=rk(uf,r)),Qd(r))})})}}};var ws=st({plain:{type:Boolean,default:!1}},"formControls");const lf={props:ws,computed:{custom:function(){return!this.plain}}};function cf(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 qa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?cf(Object(r),!0).forEach(function(n){vr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):cf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function vr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Ss=st(qa(qa({},ws),{},{value:{},checked:{},inline:{type:Boolean,default:!1},button:{type:Boolean,default:!1},buttonVariant:{type:String},ariaLabel:{type:String},ariaLabelledby:{type:String}}),"formRadioCheckControls");const df={mixins:[mk,lf,ef],inheritAttrs:!1,model:{prop:"checked",event:"input"},props:Ss,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={},vr(e,"btn-".concat(this.getSize),this.getSize),vr(e,"disabled",this.isDisabled),vr(e,"active",this.isChecked),vr(e,"focus",this.hasFocus),e)]},computedAttrs:function(){return qa(qa({},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){ut(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||Qd(this.$refs.input)},blur:function(){this.isDisabled||sk(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:vr({"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 Ua=st({size:{type:String}},"formControls");const ks={props:Ua,computed:{sizeFormClass:function(){return[this.size?"form-control-".concat(this.size):null]}}};var Wa=st({state:{type:Boolean,default:null}},"formState");const Os={props:Wa,computed:{computedState:function(){return NS(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 ff(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 Zr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ff(Object(r),!0).forEach(function(n){bk(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ff(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function bk(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var wk=b.extend({name:Vd,mixins:[df,gs,bs,ks,Os],inject:{bvGroup:{from:"bvCheckGroup",default:!1}},props:st(Zr(Zr(Zr(Zr(Zr({},Ha),Ss),Ua),Wa),{},{value:{default:!0},uncheckedValue:{default:!1},indeterminate:{type:Boolean,default:!1},switch:{type:Boolean,default:!1},checked:{default:null}}),Vd),computed:{isChecked:function(){var e=this.value,r=this.computedLocalChecked;return It(r)?of(r,e)>-1:ut(r,e)},isRadio:function(){return!1},isCheck:function(){return!0}},watch:{computedLocalChecked:function(e,r){if(!ut(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,d=this.uncheckedValue,f=this.computedLocalChecked;if(It(f)){var u=of(f,s);a&&u<0?f=f.concat(s):!a&&u>-1&&(f=f.slice(0,u).concat(f.slice(u+1)))}else f=a?s:d;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){It(this.computedLocalChecked)&&(e=!1);var r=this.$refs.input;r&&(r.indeterminate=e,this.$emit("update:indeterminate",e))}}});function hf(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 Jr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hf(Object(r),!0).forEach(function(n){Sk(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Sk(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var kk=b.extend({name:zd,mixins:[gs,df,bs,ks,Os],inject:{bvGroup:{from:"bvRadioGroup",default:!1}},props:st(Jr(Jr(Jr(Jr(Jr({},Ha),Ss),Ua),Wa),{},{checked:{default:null}}),zd),computed:{isChecked:function(){return ut(this.value,this.computedLocalChecked)},isRadio:function(){return!0},isCheck:function(){return!1}},watch:{computedLocalChecked:function(e,r){ut(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 mf(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 _r(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?mf(Object(r),!0).forEach(function(n){pf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):mf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function pf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var vf=st(_r(_r(_r(_r(_r(_r({},Ha),af),Ua),Wa),ws),{},{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 Ok={mixins:[gs,ef,bs,_k,ks,Os,lf],model:{prop:"checked",event:"input"},props:vf,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",pf({"btn-group":e,"btn-group-vertical":!e},"btn-group-".concat(r),!!r)]),a}},watch:{checked:function(e){ut(e,this.localChecked)||(this.localChecked=e)},localChecked:function(e,r){ut(e,r)||this.$emit("input",e)}},render:function(e){var r=this,n=this.isRadioGroup,a=n?kk:wk,i=this.formOptions.map(function(s,d){var f="BV_option_".concat(d);return e(a,{props:{id:r.safeId(f),value:s.value,disabled:s.disabled||!1},key:f},[e("span",{domProps:pk(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(uk),i,this.normalizeSlot()])}};var Ck=st(vf,Bd),_f=b.extend({name:Bd,mixins:[Ok],provide:function(){return{bvRadioGroup:this}},props:Ck,computed:{isRadioGroup:function(){return!0}}});const Mk=b.defineComponent({name:"PetForm",components:{SimpleCard:At,DefaultSelect:Pt,ZipcodeInput:Dd,SearchableSelect:Td,BFormRadioGroup:_f},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:d,getRaceLists:f,componentId:u,isReady:o}=Cd(t,e,Re);return{petState:z,petForm:r,genderError:n,validateBeforeSubmit:a,ageOptions:i,raceList:s,setBreedId:d,getRaceLists:f,petKinds:Md,petGenders:xd,errors:me,componentId:u,isReady:o}}});var yf=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"}}),e.genderError?r("p",{staticClass:"vd-form-error"},[e._v(" Geslacht is verplicht ")]):e._e()],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"}}),e.errors.has("breed-value:required")?r("div",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Selecteer een ras ")]):e._e(),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()},xk=[];yf._withStripped=!0;var gf=ue(Mk,yf,xk,!1,null,null,null,null);gf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/pet/components/forms/PetForm.vue";const Pk=gf.exports,Rk=b.defineComponent({name:"CarFormHorizontal",components:{SimpleCard:At,DefaultSelect:Pt,ZipcodeInput:Dd,SearchableSelect:Td,BFormRadioGroup:_f},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:d,getRaceLists:f,componentId:u,isReady:o}=Cd(t,e,Re);return{petState:z,petForm:r,genderError:n,validateBeforeSubmit:a,ageOptions:i,raceList:s,setBreedId:d,getRaceLists:f,petKinds:Md,petGenders:xd,errors:me,componentId:u,isReady:o}}});var bf=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"}},[e.errors.has("breed-value:required")?r("div",{staticClass:"vd-form-error"},[r("i",{staticClass:"fas fa-exclamation-circle"}),e._v(" Selecteer een ras ")]):e._e()]),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()},Dk=[];bf._withStripped=!0;var wf=ue(Rk,bf,Dk,!1,null,null,null,null);wf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/pet/components/forms/PetFormHorizontal.vue";const jk=wf.exports;function $k(t,e){let r=URL.canParse(t)?new URL(t):new URL(t,window.location.href);const n=Object.fromEntries(r.searchParams.entries()),a=gr(gr({},n),e),i=new URL(r);return Object.entries(a).forEach(([s,d])=>{i.searchParams.set(s,d)}),i.toString()}const Tk=b.defineComponent({name:"EmbeddedApp",components:{MotorForm:Q1,MotorFormHorizontal:tS,CreateLoanComparisonForm:yS,UpdateLoanComparisonForm:wS,CarForm:MS,CarFormHorizontal:RS,PetForm:Pk,PetFormHorizontal:jk},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:zr.Vertical,validator:md},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 d=$k(i,s);window.location.href=d};return F1(b.inject("ITC")),jv(b.inject("$validator")),{submitFormData:r,emitEventHub:n,redirectPage:a}}});var Sf=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}})},Yk=[];Sf._withStripped=!0;var kf=ue(Tk,Sf,Yk,!1,null,null,null,null);kf.options.__file="/Users/mac/Work/comparison-forms/src/core/Embedded.vue";const Ak=kf.exports;return{install(t){t.component("embedded-comparison-forms",Ak)}}});
|
|
19
|
+
`+new Error().stack),r=!1}return e.apply(this,arguments)},e)}var $c={};function Ac(t,e){M.deprecationHandler!=null&&M.deprecationHandler(t,e),$c[t]||(Tc(e),$c[t]=!0)}M.suppressDeprecationWarnings=!1,M.deprecationHandler=null;function ht(t){return typeof Function!="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function c0(t){var e,r;for(r in t)L(t,r)&&(e=t[r],ht(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 Ds(t,e){var r=Gt({},t),n;for(n in e)L(e,n)&&(sr(t[n])&&sr(e[n])?(r[n]={},Gt(r[n],t[n]),Gt(r[n],e[n])):e[n]!=null?r[n]=e[n]:delete r[n]);for(n in t)L(t,n)&&!L(e,n)&&sr(t[n])&&(r[n]=Gt({},r[n]));return r}function Rs(t){t!=null&&this.set(t)}var js;Object.keys?js=Object.keys:js=function(t){var e,r=[];for(e in t)L(t,e)&&r.push(e);return r};var d0={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function f0(t,e,r){var n=this._calendar[t]||this._calendar.sameElse;return ht(n)?n.call(e,r):n}function mt(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 Ts=/(\[[^\[]*\])|(\\)?([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,ei=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,$s={},Mr={};function R(t,e,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),t&&(Mr[t]=a),e&&(Mr[e[0]]=function(){return mt(a.apply(this,arguments),e[1],e[2])}),r&&(Mr[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),t)})}function h0(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function m0(t){var e=t.match(Ts),r,n;for(r=0,n=e.length;r<n;r++)Mr[e[r]]?e[r]=Mr[e[r]]:e[r]=h0(e[r]);return function(a){var i="",s;for(s=0;s<n;s++)i+=ht(e[s])?e[s].call(a,t):e[s];return i}}function ti(t,e){return t.isValid()?(e=Fc(e,t.localeData()),$s[e]=$s[e]||m0(e),$s[e](t)):t.localeData().invalidDate()}function Fc(t,e){var r=5;function n(a){return e.longDateFormat(a)||a}for(ei.lastIndex=0;r>=0&&ei.test(t);)t=t.replace(ei,n),ei.lastIndex=0,r-=1;return t}var p0={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 v0(t){var e=this._longDateFormat[t],r=this._longDateFormat[t.toUpperCase()];return e||!r?e:(this._longDateFormat[t]=r.match(Ts).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[t])}var _0="Invalid date";function y0(){return this._invalidDate}var g0="%d",b0=/\d{1,2}/;function w0(t){return this._ordinal.replace("%d",t)}var S0={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 O0(t,e,r,n){var a=this._relativeTime[r];return ht(a)?a(t,e,r,n):a.replace(/%d/i,t)}function k0(t,e){var r=this._relativeTime[t>0?"future":"past"];return ht(r)?r(e):r.replace(/%s/i,e)}var Ec={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 We(t){return typeof t=="string"?Ec[t]||Ec[t.toLowerCase()]:void 0}function As(t){var e={},r,n;for(n in t)L(t,n)&&(r=We(n),r&&(e[r]=t[n]));return e}var C0={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 M0(t){var e=[],r;for(r in t)L(t,r)&&e.push({unit:r,priority:C0[r]});return e.sort(function(n,a){return n.priority-a.priority}),e}var Yc=/\d/,Ye=/\d\d/,Ic=/\d{3}/,Fs=/\d{4}/,ri=/[+-]?\d{6}/,Q=/\d\d?/,Nc=/\d\d\d\d?/,Lc=/\d\d\d\d\d\d?/,ni=/\d{1,3}/,Es=/\d{1,4}/,ai=/[+-]?\d{1,6}/,Pr=/\d+/,ii=/[+-]?\d+/,P0=/Z|[+-]\d\d:?\d\d/gi,oi=/Z|[+-]\d\d(?::?\d\d)?/gi,x0=/[+-]?\d+(\.\d{1,3})?/,mn=/[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,xr=/^[1-9]\d?/,Ys=/^([1-9]\d|\d)/,si;si={};function x(t,e,r){si[t]=ht(e)?e:function(n,a){return n&&r?r:e}}function D0(t,e){return L(si,t)?si[t](e._strict,e._locale):new RegExp(R0(t))}function R0(t){return jt(t.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,r,n,a,i){return r||n||a||i}))}function jt(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ue(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=Ue(e)),r}var Is={};function W(t,e){var r,n=e,a;for(typeof t=="string"&&(t=[t]),Rt(e)&&(n=function(i,s){s[e]=F(i)}),a=t.length,r=0;r<a;r++)Is[t[r]]=n}function pn(t,e){W(t,function(r,n,a,i){a._w=a._w||{},e(r,a._w,a,i)})}function j0(t,e,r){e!=null&&L(Is,t)&&Is[t](e,r._a,r,t)}function ui(t){return t%4===0&&t%100!==0||t%400===0}var ke=0,Tt=1,pt=2,fe=3,tt=4,$t=5,ur=6,T0=7,$0=8;R("Y",0,0,function(){var t=this.year();return t<=9999?mt(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"),x("Y",ii),x("YY",Q,Ye),x("YYYY",Es,Fs),x("YYYYY",ai,ri),x("YYYYYY",ai,ri),W(["YYYYY","YYYYYY"],ke),W("YYYY",function(t,e){e[ke]=t.length===2?M.parseTwoDigitYear(t):F(t)}),W("YY",function(t,e){e[ke]=M.parseTwoDigitYear(t)}),W("Y",function(t,e){e[ke]=parseInt(t,10)});function vn(t){return ui(t)?366:365}M.parseTwoDigitYear=function(t){return F(t)+(F(t)>68?1900:2e3)};var Hc=Dr("FullYear",!0);function A0(){return ui(this.year())}function Dr(t,e){return function(r){return r!=null?(Bc(this,t,r),M.updateOffset(this,e),this):_n(this,t)}}function _n(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 Bc(t,e,r){var n,a,i,s,d;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(),d=t.date(),d=d===29&&s===1&&!ui(i)?28:d,a?n.setUTCFullYear(i,s,d):n.setFullYear(i,s,d)}}function F0(t){return t=We(t),ht(this[t])?this[t]():this}function E0(t,e){if(typeof t=="object"){t=As(t);var r=M0(t),n,a=r.length;for(n=0;n<a;n++)this[r[n].unit](t[r[n].unit])}else if(t=We(t),ht(this[t]))return this[t](e);return this}function Y0(t,e){return(t%e+e)%e}var oe;Array.prototype.indexOf?oe=Array.prototype.indexOf:oe=function(t){var e;for(e=0;e<this.length;++e)if(this[e]===t)return e;return-1};function Ns(t,e){if(isNaN(t)||isNaN(e))return NaN;var r=Y0(e,12);return t+=(e-r)/12,r===1?ui(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)}),x("M",Q,xr),x("MM",Q,Ye),x("MMM",function(t,e){return e.monthsShortRegex(t)}),x("MMMM",function(t,e){return e.monthsRegex(t)}),W(["M","MM"],function(t,e){e[Tt]=F(t)-1}),W(["MMM","MMMM"],function(t,e,r,n){var a=r._locale.monthsParse(t,n,r._strict);a!=null?e[Tt]=a:$(r).invalidMonth=t});var I0="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),Vc="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),Wc=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,N0=mn,L0=mn;function H0(t,e){return t?Ke(this._months)?this._months[t.month()]:this._months[(this._months.isFormat||Wc).test(e)?"format":"standalone"][t.month()]:Ke(this._months)?this._months:this._months.standalone}function B0(t,e){return t?Ke(this._monthsShort)?this._monthsShort[t.month()]:this._monthsShort[Wc.test(e)?"format":"standalone"][t.month()]:Ke(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function V0(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=ft([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(i,"").toLocaleLowerCase();return r?e==="MMM"?(a=oe.call(this._shortMonthsParse,s),a!==-1?a:null):(a=oe.call(this._longMonthsParse,s),a!==-1?a:null):e==="MMM"?(a=oe.call(this._shortMonthsParse,s),a!==-1?a:(a=oe.call(this._longMonthsParse,s),a!==-1?a:null)):(a=oe.call(this._longMonthsParse,s),a!==-1?a:(a=oe.call(this._shortMonthsParse,s),a!==-1?a:null))}function W0(t,e,r){var n,a,i;if(this._monthsParseExact)return V0.call(this,t,e,r);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),n=0;n<12;n++){if(a=ft([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 Uc(t,e){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}var r=e,n=t.date();return n=n<29?n:Math.min(n,Ns(t.year(),r)),t._isUTC?t._d.setUTCMonth(r,n):t._d.setMonth(r,n),t}function zc(t){return t!=null?(Uc(this,t),M.updateOffset(this,!0),this):_n(this,"Month")}function U0(){return Ns(this.year(),this.month())}function z0(t){return this._monthsParseExact?(L(this,"_monthsRegex")||qc.call(this),t?this._monthsShortStrictRegex:this._monthsShortRegex):(L(this,"_monthsShortRegex")||(this._monthsShortRegex=N0),this._monthsShortStrictRegex&&t?this._monthsShortStrictRegex:this._monthsShortRegex)}function q0(t){return this._monthsParseExact?(L(this,"_monthsRegex")||qc.call(this),t?this._monthsStrictRegex:this._monthsRegex):(L(this,"_monthsRegex")||(this._monthsRegex=L0),this._monthsStrictRegex&&t?this._monthsStrictRegex:this._monthsRegex)}function qc(){function t(f,u){return u.length-f.length}var e=[],r=[],n=[],a,i,s,d;for(a=0;a<12;a++)i=ft([2e3,a]),s=jt(this.monthsShort(i,"")),d=jt(this.months(i,"")),e.push(s),r.push(d),n.push(d),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 G0(t,e,r,n,a,i,s){var d;return t<100&&t>=0?(d=new Date(t+400,e,r,n,a,i,s),isFinite(d.getFullYear())&&d.setFullYear(t)):d=new Date(t,e,r,n,a,i,s),d}function yn(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 li(t,e,r){var n=7+e-r,a=(7+yn(t,0,n).getUTCDay()-e)%7;return-a+n-1}function Gc(t,e,r,n,a){var i=(7+r-n)%7,s=li(t,n,a),d=1+7*(e-1)+i+s,f,u;return d<=0?(f=t-1,u=vn(f)+d):d>vn(t)?(f=t+1,u=d-vn(t)):(f=t,u=d),{year:f,dayOfYear:u}}function gn(t,e,r){var n=li(t.year(),e,r),a=Math.floor((t.dayOfYear()-n-1)/7)+1,i,s;return a<1?(s=t.year()-1,i=a+At(s,e,r)):a>At(t.year(),e,r)?(i=a-At(t.year(),e,r),s=t.year()+1):(s=t.year(),i=a),{week:i,year:s}}function At(t,e,r){var n=li(t,e,r),a=li(t+1,e,r);return(vn(t)-n+a)/7}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),x("w",Q,xr),x("ww",Q,Ye),x("W",Q,xr),x("WW",Q,Ye),pn(["w","ww","W","WW"],function(t,e,r,n){e[n.substr(0,1)]=F(t)});function Z0(t){return gn(t,this._week.dow,this._week.doy).week}var X0={dow:0,doy:6};function J0(){return this._week.dow}function Q0(){return this._week.doy}function K0(t){var e=this.localeData().week(this);return t==null?e:this.add((t-e)*7,"d")}function ew(t){var e=gn(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"),x("d",Q),x("e",Q),x("E",Q),x("dd",function(t,e){return e.weekdaysMinRegex(t)}),x("ddd",function(t,e){return e.weekdaysShortRegex(t)}),x("dddd",function(t,e){return e.weekdaysRegex(t)}),pn(["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}),pn(["d","e","E"],function(t,e,r,n){e[n]=F(t)});function tw(t,e){return typeof t!="string"?t:isNaN(t)?(t=e.weekdaysParse(t),typeof t=="number"?t:null):parseInt(t,10)}function rw(t,e){return typeof t=="string"?e.weekdaysParse(t)%7||7:isNaN(t)?null:t}function Ls(t,e){return t.slice(e,7).concat(t.slice(0,e))}var nw="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Zc="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),aw="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),iw=mn,ow=mn,sw=mn;function uw(t,e){var r=Ke(this._weekdays)?this._weekdays:this._weekdays[t&&t!==!0&&this._weekdays.isFormat.test(e)?"format":"standalone"];return t===!0?Ls(r,this._week.dow):t?r[t.day()]:r}function lw(t){return t===!0?Ls(this._weekdaysShort,this._week.dow):t?this._weekdaysShort[t.day()]:this._weekdaysShort}function cw(t){return t===!0?Ls(this._weekdaysMin,this._week.dow):t?this._weekdaysMin[t.day()]:this._weekdaysMin}function dw(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=ft([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=oe.call(this._weekdaysParse,s),a!==-1?a:null):e==="ddd"?(a=oe.call(this._shortWeekdaysParse,s),a!==-1?a:null):(a=oe.call(this._minWeekdaysParse,s),a!==-1?a:null):e==="dddd"?(a=oe.call(this._weekdaysParse,s),a!==-1||(a=oe.call(this._shortWeekdaysParse,s),a!==-1)?a:(a=oe.call(this._minWeekdaysParse,s),a!==-1?a:null)):e==="ddd"?(a=oe.call(this._shortWeekdaysParse,s),a!==-1||(a=oe.call(this._weekdaysParse,s),a!==-1)?a:(a=oe.call(this._minWeekdaysParse,s),a!==-1?a:null)):(a=oe.call(this._minWeekdaysParse,s),a!==-1||(a=oe.call(this._weekdaysParse,s),a!==-1)?a:(a=oe.call(this._shortWeekdaysParse,s),a!==-1?a:null))}function fw(t,e,r){var n,a,i;if(this._weekdaysParseExact)return dw.call(this,t,e,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=ft([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 hw(t){if(!this.isValid())return t!=null?this:NaN;var e=_n(this,"Day");return t!=null?(t=tw(t,this.localeData()),this.add(t-e,"d")):e}function mw(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 pw(t){if(!this.isValid())return t!=null?this:NaN;if(t!=null){var e=rw(t,this.localeData());return this.day(this.day()%7?e:e-7)}else return this.day()||7}function vw(t){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Hs.call(this),t?this._weekdaysStrictRegex:this._weekdaysRegex):(L(this,"_weekdaysRegex")||(this._weekdaysRegex=iw),this._weekdaysStrictRegex&&t?this._weekdaysStrictRegex:this._weekdaysRegex)}function _w(t){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Hs.call(this),t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(L(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ow),this._weekdaysShortStrictRegex&&t?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function yw(t){return this._weekdaysParseExact?(L(this,"_weekdaysRegex")||Hs.call(this),t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(L(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=sw),this._weekdaysMinStrictRegex&&t?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Hs(){function t(o,c){return c.length-o.length}var e=[],r=[],n=[],a=[],i,s,d,f,u;for(i=0;i<7;i++)s=ft([2e3,1]).day(i),d=jt(this.weekdaysMin(s,"")),f=jt(this.weekdaysShort(s,"")),u=jt(this.weekdays(s,"")),e.push(d),r.push(f),n.push(u),a.push(d),a.push(f),a.push(u);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 Bs(){return this.hours()%12||12}function gw(){return this.hours()||24}R("H",["HH",2],0,"hour"),R("h",["hh",2],0,Bs),R("k",["kk",2],0,gw),R("hmm",0,0,function(){return""+Bs.apply(this)+mt(this.minutes(),2)}),R("hmmss",0,0,function(){return""+Bs.apply(this)+mt(this.minutes(),2)+mt(this.seconds(),2)}),R("Hmm",0,0,function(){return""+this.hours()+mt(this.minutes(),2)}),R("Hmmss",0,0,function(){return""+this.hours()+mt(this.minutes(),2)+mt(this.seconds(),2)});function Xc(t,e){R(t,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),e)})}Xc("a",!0),Xc("A",!1);function Jc(t,e){return e._meridiemParse}x("a",Jc),x("A",Jc),x("H",Q,Ys),x("h",Q,xr),x("k",Q,xr),x("HH",Q,Ye),x("hh",Q,Ye),x("kk",Q,Ye),x("hmm",Nc),x("hmmss",Lc),x("Hmm",Nc),x("Hmmss",Lc),W(["H","HH"],fe),W(["k","kk"],function(t,e,r){var n=F(t);e[fe]=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[fe]=F(t),$(r).bigHour=!0}),W("hmm",function(t,e,r){var n=t.length-2;e[fe]=F(t.substr(0,n)),e[tt]=F(t.substr(n)),$(r).bigHour=!0}),W("hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[fe]=F(t.substr(0,n)),e[tt]=F(t.substr(n,2)),e[$t]=F(t.substr(a)),$(r).bigHour=!0}),W("Hmm",function(t,e,r){var n=t.length-2;e[fe]=F(t.substr(0,n)),e[tt]=F(t.substr(n))}),W("Hmmss",function(t,e,r){var n=t.length-4,a=t.length-2;e[fe]=F(t.substr(0,n)),e[tt]=F(t.substr(n,2)),e[$t]=F(t.substr(a))});function bw(t){return(t+"").toLowerCase().charAt(0)==="p"}var ww=/[ap]\.?m?\.?/i,Sw=Dr("Hours",!0);function Ow(t,e,r){return t>11?r?"pm":"PM":r?"am":"AM"}var Qc={calendar:d0,longDateFormat:p0,invalidDate:_0,ordinal:g0,dayOfMonthOrdinalParse:b0,relativeTime:S0,months:I0,monthsShort:Vc,week:X0,weekdays:nw,weekdaysMin:aw,weekdaysShort:Zc,meridiemParse:ww},ne={},bn={},wn;function kw(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 Kc(t){return t&&t.toLowerCase().replace("_","-")}function Cw(t){for(var e=0,r,n,a,i;e<t.length;){for(i=Kc(t[e]).split("-"),r=i.length,n=Kc(t[e+1]),n=n?n.split("-"):null;r>0;){if(a=ci(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&kw(i,n)>=r-1)break;r--}e++}return wn}function Mw(t){return!!(t&&t.match("^[^/\\\\]*$"))}function ci(t){var e=null,r;if(ne[t]===void 0&&typeof module!="undefined"&&module&&module.exports&&Mw(t))try{e=wn._abbr,r=require,r("./locale/"+t),Zt(e)}catch(n){ne[t]=null}return ne[t]}function Zt(t,e){var r;return t&&(Te(e)?r=Ft(t):r=Vs(t,e),r?wn=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+t+" not found. Did you forget to load it?")),wn._abbr}function Vs(t,e){if(e!==null){var r,n=Qc;if(e.abbr=t,ne[t]!=null)Ac("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=ne[t]._config;else if(e.parentLocale!=null)if(ne[e.parentLocale]!=null)n=ne[e.parentLocale]._config;else if(r=ci(e.parentLocale),r!=null)n=r._config;else return bn[e.parentLocale]||(bn[e.parentLocale]=[]),bn[e.parentLocale].push({name:t,config:e}),null;return ne[t]=new Rs(Ds(n,e)),bn[t]&&bn[t].forEach(function(a){Vs(a.name,a.config)}),Zt(t),ne[t]}else return delete ne[t],null}function Pw(t,e){if(e!=null){var r,n,a=Qc;ne[t]!=null&&ne[t].parentLocale!=null?ne[t].set(Ds(ne[t]._config,e)):(n=ci(t),n!=null&&(a=n._config),e=Ds(a,e),n==null&&(e.abbr=t),r=new Rs(e),r.parentLocale=ne[t],ne[t]=r),Zt(t)}else ne[t]!=null&&(ne[t].parentLocale!=null?(ne[t]=ne[t].parentLocale,t===Zt()&&Zt(t)):ne[t]!=null&&delete ne[t]);return ne[t]}function Ft(t){var e;if(t&&t._locale&&t._locale._abbr&&(t=t._locale._abbr),!t)return wn;if(!Ke(t)){if(e=ci(t),e)return e;t=[t]}return Cw(t)}function xw(){return js(ne)}function Ws(t){var e,r=t._a;return r&&$(t).overflow===-2&&(e=r[Tt]<0||r[Tt]>11?Tt:r[pt]<1||r[pt]>Ns(r[ke],r[Tt])?pt:r[fe]<0||r[fe]>24||r[fe]===24&&(r[tt]!==0||r[$t]!==0||r[ur]!==0)?fe: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<ke||e>pt)&&(e=pt),$(t)._overflowWeeks&&e===-1&&(e=T0),$(t)._overflowWeekday&&e===-1&&(e=$0),$(t).overflow=e),t}var Dw=/^\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)?)?$/,Rw=/^\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)?)?$/,jw=/Z|[+-]\d\d(?::?\d\d)?/,di=[["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]],Us=[["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/]],Tw=/^\/?Date\((-?\d+)/i,$w=/^(?:(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}))$/,Aw={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 ed(t){var e,r,n=t._i,a=Dw.exec(n)||Rw.exec(n),i,s,d,f,u=di.length,o=Us.length;if(a){for($(t).iso=!0,e=0,r=u;e<r;e++)if(di[e][1].exec(a[1])){s=di[e][0],i=di[e][2]!==!1;break}if(s==null){t._isValid=!1;return}if(a[3]){for(e=0,r=o;e<r;e++)if(Us[e][1].exec(a[3])){d=(a[2]||" ")+Us[e][0];break}if(d==null){t._isValid=!1;return}}if(!i&&d!=null){t._isValid=!1;return}if(a[4])if(jw.exec(a[4]))f="Z";else{t._isValid=!1;return}t._f=s+(d||"")+(f||""),qs(t)}else t._isValid=!1}function Fw(t,e,r,n,a,i){var s=[Ew(t),Vc.indexOf(e),parseInt(r,10),parseInt(n,10),parseInt(a,10)];return i&&s.push(parseInt(i,10)),s}function Ew(t){var e=parseInt(t,10);return e<=49?2e3+e:e<=999?1900+e:e}function Yw(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Iw(t,e,r){if(t){var n=Zc.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 Nw(t,e,r){if(t)return Aw[t];if(e)return 0;var n=parseInt(r,10),a=n%100,i=(n-a)/100;return i*60+a}function td(t){var e=$w.exec(Yw(t._i)),r;if(e){if(r=Fw(e[4],e[3],e[2],e[5],e[6],e[7]),!Iw(e[1],r,t))return;t._a=r,t._tzm=Nw(e[8],e[9],e[10]),t._d=yn.apply(null,t._a),t._d.setUTCMinutes(t._d.getUTCMinutes()-t._tzm),$(t).rfc2822=!0}else t._isValid=!1}function Lw(t){var e=Tw.exec(t._i);if(e!==null){t._d=new Date(+e[1]);return}if(ed(t),t._isValid===!1)delete t._isValid;else return;if(td(t),t._isValid===!1)delete t._isValid;else return;t._strict?t._isValid=!1:M.createFromInputFallback(t)}M.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 Hw(t){var e=new Date(M.now());return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function zs(t){var e,r,n=[],a,i,s;if(!t._d){for(a=Hw(t),t._w&&t._a[pt]==null&&t._a[Tt]==null&&Bw(t),t._dayOfYear!=null&&(s=Rr(t._a[ke],a[ke]),(t._dayOfYear>vn(s)||t._dayOfYear===0)&&($(t)._overflowDayOfYear=!0),r=yn(s,0,t._dayOfYear),t._a[Tt]=r.getUTCMonth(),t._a[pt]=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[fe]===24&&t._a[tt]===0&&t._a[$t]===0&&t._a[ur]===0&&(t._nextDay=!0,t._a[fe]=0),t._d=(t._useUTC?yn:G0).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[fe]=24),t._w&&typeof t._w.d!="undefined"&&t._w.d!==i&&($(t).weekdayMismatch=!0)}}function Bw(t){var e,r,n,a,i,s,d,f,u;e=t._w,e.GG!=null||e.W!=null||e.E!=null?(i=1,s=4,r=Rr(e.GG,t._a[ke],gn(K(),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,u=gn(K(),i,s),r=Rr(e.gg,t._a[ke],u.year),n=Rr(e.w,u.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>At(r,i,s)?$(t)._overflowWeeks=!0:f!=null?$(t)._overflowWeekday=!0:(d=Gc(r,n,a,i,s),t._a[ke]=d.year,t._dayOfYear=d.dayOfYear)}M.ISO_8601=function(){},M.RFC_2822=function(){};function qs(t){if(t._f===M.ISO_8601){ed(t);return}if(t._f===M.RFC_2822){td(t);return}t._a=[],$(t).empty=!0;var e=""+t._i,r,n,a,i,s,d=e.length,f=0,u,o;for(a=Fc(t._f,t._locale).match(Ts)||[],o=a.length,r=0;r<o;r++)i=a[r],n=(e.match(D0(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),Mr[i]?(n?$(t).empty=!1:$(t).unusedTokens.push(i),j0(i,n,t)):t._strict&&!n&&$(t).unusedTokens.push(i);$(t).charsLeftOver=d-f,e.length>0&&$(t).unusedInput.push(e),t._a[fe]<=12&&$(t).bigHour===!0&&t._a[fe]>0&&($(t).bigHour=void 0),$(t).parsedDateParts=t._a.slice(0),$(t).meridiem=t._meridiem,t._a[fe]=Vw(t._locale,t._a[fe],t._meridiem),u=$(t).era,u!==null&&(t._a[ke]=t._locale.erasConvertYear(u,t._a[ke])),zs(t),Ws(t)}function Vw(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 Ww(t){var e,r,n,a,i,s,d=!1,f=t._f.length;if(f===0){$(t).invalidFormat=!0,t._d=new Date(NaN);return}for(a=0;a<f;a++)i=0,s=!1,e=xs({},t),t._useUTC!=null&&(e._useUTC=t._useUTC),e._f=t._f[a],qs(e),Ms(e)&&(s=!0),i+=$(e).charsLeftOver,i+=$(e).unusedTokens.length*10,$(e).score=i,d?i<n&&(n=i,r=e):(n==null||i<n||s)&&(n=i,r=e,s&&(d=!0));Gt(t,r||e)}function Uw(t){if(!t._d){var e=As(t._i),r=e.day===void 0?e.date:e.day;t._a=Rc([e.year,e.month,r,e.hour,e.minute,e.second,e.millisecond],function(n){return n&&parseInt(n,10)}),zs(t)}}function zw(t){var e=new hn(Ws(rd(t)));return e._nextDay&&(e.add(1,"d"),e._nextDay=void 0),e}function rd(t){var e=t._i,r=t._f;return t._locale=t._locale||Ft(t._l),e===null||r===void 0&&e===""?Ka({nullInput:!0}):(typeof e=="string"&&(t._i=e=t._locale.preparse(e)),et(e)?new hn(Ws(e)):(fn(e)?t._d=e:Ke(r)?Ww(t):r?qs(t):qw(t),Ms(t)||(t._d=null),t))}function qw(t){var e=t._i;Te(e)?t._d=new Date(M.now()):fn(e)?t._d=new Date(e.valueOf()):typeof e=="string"?Lw(t):Ke(e)?(t._a=Rc(e.slice(0),function(r){return parseInt(r,10)}),zs(t)):sr(e)?Uw(t):Rt(e)?t._d=new Date(e):M.createFromInputFallback(t)}function nd(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),(sr(t)&&ks(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,zw(i)}function K(t,e,r,n){return nd(t,e,r,n,!1)}var Gw=Ve("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=K.apply(null,arguments);return this.isValid()&&t.isValid()?t<this?this:t:Ka()}),Zw=Ve("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var t=K.apply(null,arguments);return this.isValid()&&t.isValid()?t>this?this:t:Ka()});function ad(t,e){var r,n;if(e.length===1&&Ke(e[0])&&(e=e[0]),!e.length)return K();for(r=e[0],n=1;n<e.length;++n)(!e[n].isValid()||e[n][t](r))&&(r=e[n]);return r}function Xw(){var t=[].slice.call(arguments,0);return ad("isBefore",t)}function Jw(){var t=[].slice.call(arguments,0);return ad("isAfter",t)}var Qw=function(){return Date.now?Date.now():+new Date},Sn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Kw(t){var e,r=!1,n,a=Sn.length;for(e in t)if(L(t,e)&&!(oe.call(Sn,e)!==-1&&(t[e]==null||!isNaN(t[e]))))return!1;for(n=0;n<a;++n)if(t[Sn[n]]){if(r)return!1;parseFloat(t[Sn[n]])!==F(t[Sn[n]])&&(r=!0)}return!0}function e1(){return this._isValid}function t1(){return rt(NaN)}function fi(t){var e=As(t),r=e.year||0,n=e.quarter||0,a=e.month||0,i=e.week||e.isoWeek||0,s=e.day||0,d=e.hour||0,f=e.minute||0,u=e.second||0,o=e.millisecond||0;this._isValid=Kw(e),this._milliseconds=+o+u*1e3+f*6e4+d*1e3*60*60,this._days=+s+i*7,this._months=+a+n*3+r*12,this._data={},this._locale=Ft(),this._bubble()}function hi(t){return t instanceof fi}function Gs(t){return t<0?Math.round(-1*t)*-1:Math.round(t)}function r1(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 id(t,e){R(t,0,0,function(){var r=this.utcOffset(),n="+";return r<0&&(r=-r,n="-"),n+mt(~~(r/60),2)+e+mt(~~r%60,2)})}id("Z",":"),id("ZZ",""),x("Z",oi),x("ZZ",oi),W(["Z","ZZ"],function(t,e,r){r._useUTC=!0,r._tzm=Zs(oi,t)});var n1=/([\+\-]|\d\d)/gi;function Zs(t,e){var r=(e||"").match(t),n,a,i;return r===null?null:(n=r[r.length-1]||[],a=(n+"").match(n1)||["-",0,0],i=+(a[1]*60)+F(a[2]),i===0?0:a[0]==="+"?i:-i)}function Xs(t,e){var r,n;return e._isUTC?(r=e.clone(),n=(et(t)||fn(t)?t.valueOf():K(t).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+n),M.updateOffset(r,!1),r):K(t).local()}function Js(t){return-Math.round(t._d.getTimezoneOffset())}M.updateOffset=function(){};function a1(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=Zs(oi,t),t===null)return this}else Math.abs(t)<16&&!r&&(t=t*60);return!this._isUTC&&e&&(a=Js(this)),this._offset=t,this._isUTC=!0,a!=null&&this.add(a,"m"),n!==t&&(!e||this._changeInProgress?ld(this,rt(t-n,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,M.updateOffset(this,!0),this._changeInProgress=null)),this}else return this._isUTC?n:Js(this)}function i1(t,e){return t!=null?(typeof t!="string"&&(t=-t),this.utcOffset(t,e),this):-this.utcOffset()}function o1(t){return this.utcOffset(0,t)}function s1(t){return this._isUTC&&(this.utcOffset(0,t),this._isUTC=!1,t&&this.subtract(Js(this),"m")),this}function u1(){if(this._tzm!=null)this.utcOffset(this._tzm,!1,!0);else if(typeof this._i=="string"){var t=Zs(P0,this._i);t!=null?this.utcOffset(t):this.utcOffset(0,!0)}return this}function l1(t){return this.isValid()?(t=t?K(t).utcOffset():0,(this.utcOffset()-t)%60===0):!1}function c1(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function d1(){if(!Te(this._isDSTShifted))return this._isDSTShifted;var t={},e;return xs(t,this),t=rd(t),t._a?(e=t._isUTC?ft(t._a):K(t._a),this._isDSTShifted=this.isValid()&&r1(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function f1(){return this.isValid()?!this._isUTC:!1}function h1(){return this.isValid()?this._isUTC:!1}function od(){return this.isValid()?this._isUTC&&this._offset===0:!1}var m1=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,p1=/^(-|\+)?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 hi(t)?r={ms:t._milliseconds,d:t._days,M:t._months}:Rt(t)||!isNaN(+t)?(r={},e?r[e]=+t:r.milliseconds=+t):(n=m1.exec(t))?(a=n[1]==="-"?-1:1,r={y:0,d:F(n[pt])*a,h:F(n[fe])*a,m:F(n[tt])*a,s:F(n[$t])*a,ms:F(Gs(n[ur]*1e3))*a}):(n=p1.exec(t))?(a=n[1]==="-"?-1:1,r={y:lr(n[2],a),M:lr(n[3],a),w:lr(n[4],a),d:lr(n[5],a),h:lr(n[6],a),m:lr(n[7],a),s:lr(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(s=v1(K(r.from),K(r.to)),r={},r.ms=s.milliseconds,r.M=s.months),i=new fi(r),hi(t)&&L(t,"_locale")&&(i._locale=t._locale),hi(t)&&L(t,"_isValid")&&(i._isValid=t._isValid),i}rt.fn=fi.prototype,rt.invalid=t1;function lr(t,e){var r=t&&parseFloat(t.replace(",","."));return(isNaN(r)?0:r)*e}function sd(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 v1(t,e){var r;return t.isValid()&&e.isValid()?(e=Xs(e,t),t.isBefore(e)?r=sd(t,e):(r=sd(e,t),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function ud(t,e){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(Ac(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),ld(this,a,t),this}}function ld(t,e,r,n){var a=e._milliseconds,i=Gs(e._days),s=Gs(e._months);t.isValid()&&(n=n==null?!0:n,s&&Uc(t,_n(t,"Month")+s*r),i&&Bc(t,"Date",_n(t,"Date")+i*r),a&&t._d.setTime(t._d.valueOf()+a*r),n&&M.updateOffset(t,i||s))}var _1=ud(1,"add"),y1=ud(-1,"subtract");function cd(t){return typeof t=="string"||t instanceof String}function g1(t){return et(t)||fn(t)||cd(t)||Rt(t)||w1(t)||b1(t)||t===null||t===void 0}function b1(t){var e=sr(t)&&!ks(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||L(t,i);return e&&r}function w1(t){var e=Ke(t),r=!1;return e&&(r=t.filter(function(n){return!Rt(n)&&cd(t)}).length===0),e&&r}function S1(t){var e=sr(t)&&!ks(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||L(t,i);return e&&r}function O1(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 k1(t,e){arguments.length===1&&(arguments[0]?g1(arguments[0])?(t=arguments[0],e=void 0):S1(arguments[0])&&(e=arguments[0],t=void 0):(t=void 0,e=void 0));var r=t||K(),n=Xs(r,this).startOf("day"),a=M.calendarFormat(this,n)||"sameElse",i=e&&(ht(e[a])?e[a].call(this,r):e[a]);return this.format(i||this.localeData().calendar(a,this,K(r)))}function C1(){return new hn(this)}function M1(t,e){var r=et(t)?t:K(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 P1(t,e){var r=et(t)?t:K(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 x1(t,e,r,n){var a=et(t)?t:K(t),i=et(e)?e:K(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 D1(t,e){var r=et(t)?t:K(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 R1(t,e){return this.isSame(t,e)||this.isAfter(t,e)}function j1(t,e){return this.isSame(t,e)||this.isBefore(t,e)}function T1(t,e,r){var n,a,i;if(!this.isValid())return NaN;if(n=Xs(t,this),!n.isValid())return NaN;switch(a=(n.utcOffset()-this.utcOffset())*6e4,e=We(e),e){case"year":i=mi(this,n)/12;break;case"month":i=mi(this,n);break;case"quarter":i=mi(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:Ue(i)}function mi(t,e){if(t.date()<e.date())return-mi(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}M.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",M.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";function $1(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function A1(t){if(!this.isValid())return null;var e=t!==!0,r=e?this.clone().utc():this;return r.year()<0||r.year()>9999?ti(r,e?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):ht(Date.prototype.toISOString)?e?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",ti(r,"Z")):ti(r,e?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function F1(){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 E1(t){t||(t=this.isUtc()?M.defaultFormatUtc:M.defaultFormat);var e=ti(this,t);return this.localeData().postformat(e)}function Y1(t,e){return this.isValid()&&(et(t)&&t.isValid()||K(t).isValid())?rt({to:this,from:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function I1(t){return this.from(K(),t)}function N1(t,e){return this.isValid()&&(et(t)&&t.isValid()||K(t).isValid())?rt({from:this,to:t}).locale(this.locale()).humanize(!e):this.localeData().invalidDate()}function L1(t){return this.to(K(),t)}function dd(t){var e;return t===void 0?this._locale._abbr:(e=Ft(t),e!=null&&(this._locale=e),this)}var fd=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 hd(){return this._locale}var pi=1e3,jr=60*pi,vi=60*jr,md=(365*400+97)*24*vi;function Tr(t,e){return(t%e+e)%e}function pd(t,e,r){return t<100&&t>=0?new Date(t+400,e,r)-md:new Date(t,e,r).valueOf()}function vd(t,e,r){return t<100&&t>=0?Date.UTC(t+400,e,r)-md:Date.UTC(t,e,r)}function H1(t){var e,r;if(t=We(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?vd:pd,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-=Tr(e+(this._isUTC?0:this.utcOffset()*jr),vi);break;case"minute":e=this._d.valueOf(),e-=Tr(e,jr);break;case"second":e=this._d.valueOf(),e-=Tr(e,pi);break}return this._d.setTime(e),M.updateOffset(this,!0),this}function B1(t){var e,r;if(t=We(t),t===void 0||t==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?vd:pd,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+=vi-Tr(e+(this._isUTC?0:this.utcOffset()*jr),vi)-1;break;case"minute":e=this._d.valueOf(),e+=jr-Tr(e,jr)-1;break;case"second":e=this._d.valueOf(),e+=pi-Tr(e,pi)-1;break}return this._d.setTime(e),M.updateOffset(this,!0),this}function V1(){return this._d.valueOf()-(this._offset||0)*6e4}function W1(){return Math.floor(this.valueOf()/1e3)}function U1(){return new Date(this.valueOf())}function z1(){var t=this;return[t.year(),t.month(),t.date(),t.hour(),t.minute(),t.second(),t.millisecond()]}function q1(){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 G1(){return this.isValid()?this.toISOString():null}function Z1(){return Ms(this)}function X1(){return Gt({},$(this))}function J1(){return $(this).overflow}function Q1(){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"),x("N",Qs),x("NN",Qs),x("NNN",Qs),x("NNNN",lS),x("NNNNN",cS),W(["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}),x("y",Pr),x("yy",Pr),x("yyy",Pr),x("yyyy",Pr),x("yo",dS),W(["y","yy","yyy","yyyy"],ke),W(["yo"],function(t,e,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=t.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?e[ke]=r._locale.eraYearOrdinalParse(t,a):e[ke]=parseInt(t,10)});function K1(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=M(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=M(i[r].until).startOf("day").valueOf(),i[r].until=a.valueOf();break}}return i}function eS(t,e,r){var n,a,i=this.eras(),s,d,f;for(t=t.toUpperCase(),n=0,a=i.length;n<a;++n)if(s=i[n].name.toUpperCase(),d=i[n].abbr.toUpperCase(),f=i[n].narrow.toUpperCase(),r)switch(e){case"N":case"NN":case"NNN":if(d===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,d,f].indexOf(t)>=0)return i[n]}function tS(t,e){var r=t.since<=t.until?1:-1;return e===void 0?M(t.since).year():M(t.since).year()+(e-t.offset)*r}function rS(){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 nS(){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 aS(){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 iS(){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()-M(a[t].since).year())*r+a[t].offset;return this.year()}function oS(t){return L(this,"_erasNameRegex")||Ks.call(this),t?this._erasNameRegex:this._erasRegex}function sS(t){return L(this,"_erasAbbrRegex")||Ks.call(this),t?this._erasAbbrRegex:this._erasRegex}function uS(t){return L(this,"_erasNarrowRegex")||Ks.call(this),t?this._erasNarrowRegex:this._erasRegex}function Qs(t,e){return e.erasAbbrRegex(t)}function lS(t,e){return e.erasNameRegex(t)}function cS(t,e){return e.erasNarrowRegex(t)}function dS(t,e){return e._eraYearOrdinalRegex||Pr}function Ks(){var t=[],e=[],r=[],n=[],a,i,s,d,f,u=this.eras();for(a=0,i=u.length;a<i;++a)s=jt(u[a].name),d=jt(u[a].abbr),f=jt(u[a].narrow),e.push(s),t.push(d),r.push(f),n.push(s),n.push(d),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")}R(0,["gg",2],0,function(){return this.weekYear()%100}),R(0,["GG",2],0,function(){return this.isoWeekYear()%100});function _i(t,e){R(0,[t,t.length],0,e)}_i("gggg","weekYear"),_i("ggggg","weekYear"),_i("GGGG","isoWeekYear"),_i("GGGGG","isoWeekYear"),x("G",ii),x("g",ii),x("GG",Q,Ye),x("gg",Q,Ye),x("GGGG",Es,Fs),x("gggg",Es,Fs),x("GGGGG",ai,ri),x("ggggg",ai,ri),pn(["gggg","ggggg","GGGG","GGGGG"],function(t,e,r,n){e[n.substr(0,2)]=F(t)}),pn(["gg","GG"],function(t,e,r,n){e[n]=M.parseTwoDigitYear(t)});function fS(t){return _d.call(this,t,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function hS(t){return _d.call(this,t,this.isoWeek(),this.isoWeekday(),1,4)}function mS(){return At(this.year(),1,4)}function pS(){return At(this.isoWeekYear(),1,4)}function vS(){var t=this.localeData()._week;return At(this.year(),t.dow,t.doy)}function _S(){var t=this.localeData()._week;return At(this.weekYear(),t.dow,t.doy)}function _d(t,e,r,n,a){var i;return t==null?gn(this,n,a).year:(i=At(t,n,a),e>i&&(e=i),yS.call(this,t,e,r,n,a))}function yS(t,e,r,n,a){var i=Gc(t,e,r,n,a),s=yn(i.year,0,i.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}R("Q",0,"Qo","quarter"),x("Q",Yc),W("Q",function(t,e){e[Tt]=(F(t)-1)*3});function gS(t){return t==null?Math.ceil((this.month()+1)/3):this.month((t-1)*3+this.month()%3)}R("D",["DD",2],"Do","date"),x("D",Q,xr),x("DD",Q,Ye),x("Do",function(t,e){return t?e._dayOfMonthOrdinalParse||e._ordinalParse:e._dayOfMonthOrdinalParseLenient}),W(["D","DD"],pt),W("Do",function(t,e){e[pt]=F(t.match(Q)[0])});var yd=Dr("Date",!0);R("DDD",["DDDD",3],"DDDo","dayOfYear"),x("DDD",ni),x("DDDD",Ic),W(["DDD","DDDD"],function(t,e,r){r._dayOfYear=F(t)});function bS(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"),x("m",Q,Ys),x("mm",Q,Ye),W(["m","mm"],tt);var wS=Dr("Minutes",!1);R("s",["ss",2],0,"second"),x("s",Q,Ys),x("ss",Q,Ye),W(["s","ss"],$t);var SS=Dr("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}),x("S",ni,Yc),x("SS",ni,Ye),x("SSS",ni,Ic);var Xt,gd;for(Xt="SSSS";Xt.length<=9;Xt+="S")x(Xt,Pr);function OS(t,e){e[ur]=F(("0."+t)*1e3)}for(Xt="S";Xt.length<=9;Xt+="S")W(Xt,OS);gd=Dr("Milliseconds",!1),R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");function kS(){return this._isUTC?"UTC":""}function CS(){return this._isUTC?"Coordinated Universal Time":""}var O=hn.prototype;O.add=_1,O.calendar=k1,O.clone=C1,O.diff=T1,O.endOf=B1,O.format=E1,O.from=Y1,O.fromNow=I1,O.to=N1,O.toNow=L1,O.get=F0,O.invalidAt=J1,O.isAfter=M1,O.isBefore=P1,O.isBetween=x1,O.isSame=D1,O.isSameOrAfter=R1,O.isSameOrBefore=j1,O.isValid=Z1,O.lang=fd,O.locale=dd,O.localeData=hd,O.max=Zw,O.min=Gw,O.parsingFlags=X1,O.set=E0,O.startOf=H1,O.subtract=y1,O.toArray=z1,O.toObject=q1,O.toDate=U1,O.toISOString=A1,O.inspect=F1,typeof Symbol!="undefined"&&Symbol.for!=null&&(O[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),O.toJSON=G1,O.toString=$1,O.unix=W1,O.valueOf=V1,O.creationData=Q1,O.eraName=rS,O.eraNarrow=nS,O.eraAbbr=aS,O.eraYear=iS,O.year=Hc,O.isLeapYear=A0,O.weekYear=fS,O.isoWeekYear=hS,O.quarter=O.quarters=gS,O.month=zc,O.daysInMonth=U0,O.week=O.weeks=K0,O.isoWeek=O.isoWeeks=ew,O.weeksInYear=vS,O.weeksInWeekYear=_S,O.isoWeeksInYear=mS,O.isoWeeksInISOWeekYear=pS,O.date=yd,O.day=O.days=hw,O.weekday=mw,O.isoWeekday=pw,O.dayOfYear=bS,O.hour=O.hours=Sw,O.minute=O.minutes=wS,O.second=O.seconds=SS,O.millisecond=O.milliseconds=gd,O.utcOffset=a1,O.utc=o1,O.local=s1,O.parseZone=u1,O.hasAlignedHourOffset=l1,O.isDST=c1,O.isLocal=f1,O.isUtcOffset=h1,O.isUtc=od,O.isUTC=od,O.zoneAbbr=kS,O.zoneName=CS,O.dates=Ve("dates accessor is deprecated. Use date instead.",yd),O.months=Ve("months accessor is deprecated. Use month instead",zc),O.years=Ve("years accessor is deprecated. Use year instead",Hc),O.zone=Ve("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",i1),O.isDSTShifted=Ve("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",d1);function MS(t){return K(t*1e3)}function PS(){return K.apply(null,arguments).parseZone()}function bd(t){return t}var H=Rs.prototype;H.calendar=f0,H.longDateFormat=v0,H.invalidDate=y0,H.ordinal=w0,H.preparse=bd,H.postformat=bd,H.relativeTime=O0,H.pastFuture=k0,H.set=c0,H.eras=K1,H.erasParse=eS,H.erasConvertYear=tS,H.erasAbbrRegex=sS,H.erasNameRegex=oS,H.erasNarrowRegex=uS,H.months=H0,H.monthsShort=B0,H.monthsParse=W0,H.monthsRegex=q0,H.monthsShortRegex=z0,H.week=Z0,H.firstDayOfYear=Q0,H.firstDayOfWeek=J0,H.weekdays=uw,H.weekdaysMin=cw,H.weekdaysShort=lw,H.weekdaysParse=fw,H.weekdaysRegex=vw,H.weekdaysShortRegex=_w,H.weekdaysMinRegex=yw,H.isPM=bw,H.meridiem=Ow;function yi(t,e,r,n){var a=Ft(),i=ft().set(n,e);return a[r](i,t)}function wd(t,e,r){if(Rt(t)&&(e=t,t=void 0),t=t||"",e!=null)return yi(t,e,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=yi(t,n,r,"month");return a}function eu(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=Ft(),i=t?a._week.dow:0,s,d=[];if(r!=null)return yi(e,(r+i)%7,n,"day");for(s=0;s<7;s++)d[s]=yi(e,(s+i)%7,n,"day");return d}function xS(t,e){return wd(t,e,"months")}function DS(t,e){return wd(t,e,"monthsShort")}function RS(t,e,r){return eu(t,e,r,"weekdays")}function jS(t,e,r){return eu(t,e,r,"weekdaysShort")}function TS(t,e,r){return eu(t,e,r,"weekdaysMin")}Zt("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}}),M.lang=Ve("moment.lang is deprecated. Use moment.locale instead.",Zt),M.langData=Ve("moment.langData is deprecated. Use moment.localeData instead.",Ft);var Et=Math.abs;function $S(){var t=this._data;return this._milliseconds=Et(this._milliseconds),this._days=Et(this._days),this._months=Et(this._months),t.milliseconds=Et(t.milliseconds),t.seconds=Et(t.seconds),t.minutes=Et(t.minutes),t.hours=Et(t.hours),t.months=Et(t.months),t.years=Et(t.years),this}function Sd(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 AS(t,e){return Sd(this,t,e,1)}function FS(t,e){return Sd(this,t,e,-1)}function Od(t){return t<0?Math.floor(t):Math.ceil(t)}function ES(){var t=this._milliseconds,e=this._days,r=this._months,n=this._data,a,i,s,d,f;return t>=0&&e>=0&&r>=0||t<=0&&e<=0&&r<=0||(t+=Od(tu(r)+e)*864e5,e=0,r=0),n.milliseconds=t%1e3,a=Ue(t/1e3),n.seconds=a%60,i=Ue(a/60),n.minutes=i%60,s=Ue(i/60),n.hours=s%24,e+=Ue(s/24),f=Ue(kd(e)),r+=f,e-=Od(tu(f)),d=Ue(r/12),r%=12,n.days=e,n.months=r,n.years=d,this}function kd(t){return t*4800/146097}function tu(t){return t*146097/4800}function YS(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+kd(e),t){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(e=this._days+Math.round(tu(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 Yt(t){return function(){return this.as(t)}}var Cd=Yt("ms"),IS=Yt("s"),NS=Yt("m"),LS=Yt("h"),HS=Yt("d"),BS=Yt("w"),VS=Yt("M"),WS=Yt("Q"),US=Yt("y"),zS=Cd;function qS(){return rt(this)}function GS(t){return t=We(t),this.isValid()?this[t+"s"]():NaN}function cr(t){return function(){return this.isValid()?this._data[t]:NaN}}var ZS=cr("milliseconds"),XS=cr("seconds"),JS=cr("minutes"),QS=cr("hours"),KS=cr("days"),eO=cr("months"),tO=cr("years");function rO(){return Ue(this.days()/7)}var It=Math.round,$r={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function nO(t,e,r,n,a){return a.relativeTime(e||1,!!r,t,n)}function aO(t,e,r,n){var a=rt(t).abs(),i=It(a.as("s")),s=It(a.as("m")),d=It(a.as("h")),f=It(a.as("d")),u=It(a.as("M")),o=It(a.as("w")),c=It(a.as("y")),h=i<=r.ss&&["s",i]||i<r.s&&["ss",i]||s<=1&&["m"]||s<r.m&&["mm",s]||d<=1&&["h"]||d<r.h&&["hh",d]||f<=1&&["d"]||f<r.d&&["dd",f];return r.w!=null&&(h=h||o<=1&&["w"]||o<r.w&&["ww",o]),h=h||u<=1&&["M"]||u<r.M&&["MM",u]||c<=1&&["y"]||["yy",c],h[2]=e,h[3]=+t>0,h[4]=n,nO.apply(null,h)}function iO(t){return t===void 0?It:typeof t=="function"?(It=t,!0):!1}function oO(t,e){return $r[t]===void 0?!1:e===void 0?$r[t]:($r[t]=e,t==="s"&&($r.ss=e-1),!0)}function sO(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=aO(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var ru=Math.abs;function Ar(t){return(t>0)-(t<0)||+t}function gi(){if(!this.isValid())return this.localeData().invalidDate();var t=ru(this._milliseconds)/1e3,e=ru(this._days),r=ru(this._months),n,a,i,s,d=this.asSeconds(),f,u,o,c;return d?(n=Ue(t/60),a=Ue(n/60),t%=60,n%=60,i=Ue(r/12),r%=12,s=t?t.toFixed(3).replace(/\.?0+$/,""):"",f=d<0?"-":"",u=Ar(this._months)!==Ar(d)?"-":"",o=Ar(this._days)!==Ar(d)?"-":"",c=Ar(this._milliseconds)!==Ar(d)?"-":"",f+"P"+(i?u+i+"Y":"")+(r?u+r+"M":"")+(e?o+e+"D":"")+(a||n||t?"T":"")+(a?c+a+"H":"")+(n?c+n+"M":"")+(t?c+s+"S":"")):"P0D"}var Y=fi.prototype;Y.isValid=e1,Y.abs=$S,Y.add=AS,Y.subtract=FS,Y.as=YS,Y.asMilliseconds=Cd,Y.asSeconds=IS,Y.asMinutes=NS,Y.asHours=LS,Y.asDays=HS,Y.asWeeks=BS,Y.asMonths=VS,Y.asQuarters=WS,Y.asYears=US,Y.valueOf=zS,Y._bubble=ES,Y.clone=qS,Y.get=GS,Y.milliseconds=ZS,Y.seconds=XS,Y.minutes=JS,Y.hours=QS,Y.days=KS,Y.weeks=rO,Y.months=eO,Y.years=tO,Y.humanize=sO,Y.toISOString=gi,Y.toString=gi,Y.toJSON=gi,Y.locale=dd,Y.localeData=hd,Y.toIsoString=Ve("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",gi),Y.lang=fd,R("X",0,0,"unix"),R("x",0,0,"valueOf"),x("x",ii),x("X",x0),W("X",function(t,e,r){r._d=new Date(parseFloat(t)*1e3)}),W("x",function(t,e,r){r._d=new Date(F(t))});//! moment.js
|
|
20
|
+
M.version="2.30.1",u0(K),M.fn=O,M.min=Xw,M.max=Jw,M.now=Qw,M.utc=ft,M.unix=MS,M.months=xS,M.isDate=fn,M.locale=Zt,M.invalid=Ka,M.duration=rt,M.isMoment=et,M.weekdays=RS,M.parseZone=PS,M.localeData=Ft,M.isDuration=hi,M.monthsShort=DS,M.weekdaysMin=TS,M.defineLocale=Vs,M.updateLocale=Pw,M.locales=xw,M.weekdaysShort=jS,M.normalizeUnits=We,M.relativeTimeRounding=iO,M.relativeTimeThreshold=oO,M.calendarFormat=O1,M.prototype=O,M.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 uO=ky(Object.freeze(Object.defineProperty({__proto__:null,default:M},Symbol.toStringTag,{value:"Module"})));var Md;function lO(){if(Md)return Qa;Md=1,Object.defineProperty(Qa,"__esModule",{value:!0});var t=uO,e=B(),r=function(){function n(a,i,s,d,f,u){this.unique_id=a,this.funnel=i,this.data=s,this.user=d,this.location=window.location,this.updated_at=f,this.created_at=u}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 Qa.default=r,Qa}var bi={},Pd;function cO(){if(Pd)return bi;Pd=1;var t=g&&g.__awaiter||function(s,d,f,u){function o(c){return c instanceof f?c:new f(function(h){h(c)})}return new(f||(f=Promise))(function(c,h){function l(_){try{v(u.next(_))}catch(m){h(m)}}function p(_){try{v(u.throw(_))}catch(m){h(m)}}function v(_){_.done?c(_.value):o(_.value).then(l,p)}v((u=u.apply(s,d||[])).next())})},e=g&&g.__generator||function(s,d){var f={label:0,sent:function(){if(c[0]&1)throw c[1];return c[1]},trys:[],ops:[]},u,o,c,h;return h={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function l(v){return function(_){return p([v,_])}}function p(v){if(u)throw new TypeError("Generator is already executing.");for(;h&&(h=0,v[0]&&(f=0)),f;)try{if(u=1,o&&(c=v[0]&2?o.return:v[0]?o.throw||((c=o.return)&&c.call(o),0):o.next)&&!(c=c.call(o,v[1])).done)return c;switch(o=0,c&&(v=[v[0]&2,c.value]),v[0]){case 0:case 1:c=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(c=f.trys,!(c=c.length>0&&c[c.length-1])&&(v[0]===6||v[0]===2)){f=0;continue}if(v[0]===3&&(!c||v[1]>c[0]&&v[1]<c[3])){f.label=v[1];break}if(v[0]===6&&f.label<c[1]){f.label=c[1],c=v;break}if(c&&f.label<c[2]){f.label=c[2],f.ops.push(v);break}c[2]&&f.ops.pop(),f.trys.pop();continue}v=d.call(s,f)}catch(_){v=[6,_],o=0}finally{u=c=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 d=typeof Symbol=="function"&&Symbol.iterator,f=d&&s[d],u=0;if(f)return f.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&u>=s.length&&(s=void 0),{value:s&&s[u++],done:!s}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(bi,"__esModule",{value:!0});var n=Dt(),a=Td(),i=function(){function s(d){d===void 0&&(d={}),this.data=d}return s.prototype.addItem=function(d,f){return this.data[d]=f,this},s.prototype.removeItem=function(d){return delete this.data[d],this},s.prototype.getItem=function(d){if(this.data.hasOwnProperty(d))return this.data[d];throw new Error("".concat(d," collection doesn't exist."))},s.prototype.all=function(){return this.data},s.prototype.calculate=function(d,f){return f===void 0&&(f=null),t(this,void 0,void 0,function(){var u,o,c,h,l,p,v,_,m;return e(this,function(y){switch(y.label){case 0:u=n.ApiServiceFactory.get(d),f===null?o=this.data[d].getData():o=[this.data[d].getItem(f)],y.label=1;case 1:y.trys.push([1,6,7,8]),c=r(o),h=c.next(),y.label=2;case 2:return h.done?[3,5]:(l=h.value,[4,u.getRates(l.getModel())]);case 3:p=y.sent(),l.setRates(p),y.label=4;case 4:return h=c.next(),[3,2];case 5:return[3,8];case 6:return v=y.sent(),_={error:v},[3,8];case 7:try{h&&!h.done&&(m=c.return)&&m.call(c)}finally{if(_)throw _.error}return[7];case 8:return[2,this]}})})},s.fromObject=function(d){for(var f=new this,u=Object.keys(d),o=0;o<u.length;o++){var c={};c.insuranceType=u[o],c.data=d[u[o]],f.addItem(u[o],a.ComparisonInsuranceData.fromObject(c))}return f},s.prototype.toObject=function(){for(var d={},f=Object.keys(this.data),u=0;u<f.length;u++){var o=f[u];d[o]=this.data[o].toObject()}return d},s}();return bi.default=i,bi}var wi={},Si={},xd;function Dd(){if(xd)return Si;xd=1,Object.defineProperty(Si,"__esModule",{value:!0});var t=B(),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 Si.default=e,Si}var Rd;function dO(){if(Rd)return wi;Rd=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(wi,"__esModule",{value:!0});var e=Dd(),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 d={};d.insurance=a.data[s],d.insuranceType=a.insuranceType,i.push(e.default.fromObject(d))}return new this(i)},n.prototype.toObject=function(){var a,i,s=[];try{for(var d=t(this.data),f=d.next();!f.done;f=d.next()){var u=f.value;s.push(u.toObject())}}catch(o){a={error:o}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(a)throw a.error}}return s},n}();return wi.default=r,wi}var jd;function Td(){return jd||(jd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComparisonInsurance=t.ComparisonInsuranceData=t.ComparisonDataCollection=t.Comparison=void 0;var e=lO();Object.defineProperty(t,"Comparison",{enumerable:!0,get:function(){return e.default}});var r=cO();Object.defineProperty(t,"ComparisonDataCollection",{enumerable:!0,get:function(){return r.default}});var n=dO();Object.defineProperty(t,"ComparisonInsuranceData",{enumerable:!0,get:function(){return n.default}});var a=Dd();Object.defineProperty(t,"ComparisonInsurance",{enumerable:!0,get:function(){return a.default}})}(Os)),Os}var $d;function B(){return $d||($d=1,function(t){var e=g&&g.__createBinding||(Object.create?function(_,m,y,w){w===void 0&&(w=y);var j=Object.getOwnPropertyDescriptor(m,y);(!j||("get"in j?!m.__esModule:j.writable||j.configurable))&&(j={enumerable:!0,get:function(){return m[y]}}),Object.defineProperty(_,w,j)}:function(_,m,y,w){w===void 0&&(w=y),_[w]=m[y]}),r=g&&g.__exportStar||function(_,m){for(var y in _)y!=="default"&&!Object.prototype.hasOwnProperty.call(m,y)&&e(m,_,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=Ro;Object.defineProperty(t,"DocumentsModel",{enumerable:!0,get:function(){return n.default}});var a=pc();Object.defineProperty(t,"Rate",{enumerable:!0,get:function(){return a.default}});var i=Xb();Object.defineProperty(t,"PackageRate",{enumerable:!0,get:function(){return i.default}});var s=Jb();Object.defineProperty(t,"LakaRate",{enumerable:!0,get:function(){return s.default}});var d=Qb();Object.defineProperty(t,"RiskRate",{enumerable:!0,get:function(){return d.default}});var f=Kb();Object.defineProperty(t,"RollsRate",{enumerable:!0,get:function(){return f.default}});var u=e0();Object.defineProperty(t,"EnraRate",{enumerable:!0,get:function(){return u.default}});var o=t0();Object.defineProperty(t,"MoneyviewRate",{enumerable:!0,get:function(){return o.default}});var c=r0();Object.defineProperty(t,"VergelijkdirectRate",{enumerable:!0,get:function(){return c.default}});var h=n0();Object.defineProperty(t,"DkmRate",{enumerable:!0,get:function(){return h.default}});var l=a0();Object.defineProperty(t,"UndefinedRate",{enumerable:!0,get:function(){return l.default}});var p=_c();Object.defineProperty(t,"RateCollection",{enumerable:!0,get:function(){return p.default}});var v=ws;Object.defineProperty(t,"User",{enumerable:!0,get:function(){return v.default}}),r(s0(),t),r(Td(),t)}(Do)),Do}var fO=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 d(o){try{u(n.next(o))}catch(c){s(c)}}function f(o){try{u(n.throw(o))}catch(c){s(c)}}function u(o){o.done?i(o.value):a(o.value).then(d,f)}u((n=n.apply(t,e||[])).next())})},hO=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:d(0),throw:d(1),return:d(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function d(u){return function(o){return f([u,o])}}function f(u){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,u[0]&&(r=0)),r;)try{if(n=1,a&&(i=u[0]&2?a.return:u[0]?a.throw||((i=a.return)&&i.call(a),0):a.next)&&!(i=i.call(a,u[1])).done)return i;switch(a=0,i&&(u=[u[0]&2,i.value]),u[0]){case 0:case 1:i=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,a=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!i||u[1]>i[0]&&u[1]<i[3])){r.label=u[1];break}if(u[0]===6&&r.label<i[1]){r.label=i[1],i=u;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(u);break}i[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(o){u=[6,o],a=0}finally{n=i=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}};Object.defineProperty(xo,"__esModule",{value:!0});var mO=B(),pO=Oe(),Ad=kr,vO=dn,_O=function(){function t(e){this.storageManager=e}return t.prototype.configure=function(e){return fO(this,void 0,void 0,function(){var r,n;return hO(this,function(a){switch(a.label){case 0:return r=Ad.Injector.instance,r.constant("environment",e),n=new pO.ConfigurationsService,[4,n.configure()];case 1:return a.sent(),r.constant("configuration-service",n),vO.supplierPlacementTracker.setParams(),[2,this]}})})},t.prototype.getConfigurations=function(){return Ad.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 mO.RateCollection(e,r)},t.prototype.remove=function(e){return this.storageManager.remove(e),this},t}();xo.default=_O,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.InsuranceTransmissionClient=void 0;var e=xo;Object.defineProperty(t,"InsuranceTransmissionClient",{enumerable:!0,get:function(){return e.default}})}(Pl);var Fd={},nu={};Object.defineProperty(nu,"__esModule",{value:!0});var yO=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}();nu.default=yO,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageAdapter=void 0;var e=nu;Object.defineProperty(t,"LocalStorageAdapter",{enumerable:!0,get:function(){return e.default}})}(Fd),function(t){var e=g&&g.__createBinding||(Object.create?function(n,a,i,s){s===void 0&&(s=i);var d=Object.getOwnPropertyDescriptor(a,i);(!d||("get"in d?!a.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(n,s,d)}: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(Cl,t),r(Pl,t),r(Fd,t),r(B(),t),r(Oe(),t)}(q);const Ed=Z({__proto__:null,default:Oy(q)},[q]),au={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"}},iu={url:au.api.url,login:au.api.login,password:au.api.password},Yd={api:{baseUrl:iu.url,auth:{username:iu.login,password:iu.password},version:"v2"}};class gO{constructor(){ae(this,"insurances",["PetService","MotorService","BikeService","MopedService","HousingService","HomeService","LiabilityService","HouseholdService","DocumentService","PackageService","CaravanService","DataValidationService","CarService","PartnerService","ComparisonService","UserService","V1Service","TravelService"]);ae(this,"activeInsurances");ae(this,"client");ae(this,"petService");ae(this,"motorService");ae(this,"bikeService");ae(this,"mopedService");ae(this,"housingService");ae(this,"homeService");ae(this,"liabilityService");ae(this,"householdService");ae(this,"documentService");ae(this,"packageService");ae(this,"caravanService");ae(this,"dataValidationService");ae(this,"carService");ae(this,"partnerService");ae(this,"validation");ae(this,"comparisonService");ae(this,"userService");ae(this,"v1Service");ae(this,"travelService");ae(this,"dataService")}initITC(){return he(this,null,function*(){if(typeof window=="undefined")return;const e=JSON.parse(JSON.stringify(Yd));e.api.baseUrl=Yd.api.baseUrl+"api";const r=new q.LocalStorageAdapter("insurances");return this.client=new q.InsuranceTransmissionClient(r),yield this.client.configure(e),this.createConfig(),this.createInsuranceClasses(),this})}createConfig(){this.validation=new q.DataValidationService,this.petService=new q.PetService,this.motorService=new q.MotorService,this.bikeService=new q.BikeService,this.mopedService=new q.MopedService,this.housingService=new q.HousingService,this.homeService=new q.HomeService,this.liabilityService=new q.LiabilityService,this.householdService=new q.HouseholdService,this.documentService=new q.DocumentService,this.packageService=new q.PackageService,this.caravanService=new q.CaravanService,this.dataValidationService=new q.DataValidationService,this.carService=new q.CarService,this.partnerService=new q.PartnerService,this.comparisonService=new q.ComparisonService,this.userService=new q.UserService,this.v1Service=new q.V1Service,this.travelService=new q.TravelService,this.dataService=new q.DataService}createInsuranceClasses(){this.insurances.map(e=>{if(Object.prototype.hasOwnProperty.call(Ed,e)){const r={};r[e]=new Ed[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 he(this,null,function*(){const n=e.toLocaleLowerCase(),a=this.dataService.findVehicle(r,n);return a||null})}}let ze=b.reactive({});const bO=(t=null)=>he(this,null,function*(){ze=t||(yield new gO().initITC())}),wO=b.defineComponent({name:"ErrorHandler",props:{name:{required:!1,type:String},errorsData:{required:!0,type:Array[{rule:String||Boolean,text:Boolean}]}},setup(){return{errors:Pe}}});function se(t,e,r,n,a,i,s,d){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 u;if(s?(u=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=u):a&&(u=d?function(){a.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:a),u)if(f.functional){f._injectStyles=u;var o=f.render;f.render=function(l,p){return u.call(p),o(l,p)}}else{var c=f.beforeCreate;f.beforeCreate=c?[].concat(c,u):[u]}return{exports:t,options:f}}var Id=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)},SO=[];Id._withStripped=!0;var Nd=se(wO,Id,SO,!1,null,"29b1158d",null,null);Nd.options.__file="/Users/mac/Work/comparison-forms/src/components/common/ErrorHandler.vue";const Nt=Nd.exports,OO=b.defineComponent({name:"LicensePlate",components:{ErrorHandler:Nt},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 d=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=p=>{e("focus");let v=p.srcElement.name;const _=z.fields.find({name:v});(_!==null||_!==void 0&&_)&&(_.reset(),z.errors.remove(_.name,_.scope))},u=p=>{e("blur");let v=p.srcElement.name;const _=z.fields.find({name:v});(_!==null||_!==void 0&&_)&&z.validate(_.name)},o=(p,v,_)=>{v==="input"&&(s.value=!1),p||(i.value=!1);let m=Po(p);if(m==="no-template-found"){r.value=p,e(v,p),e("on-error");return}e(v,m.toUpperCase()),r.value=m.toUpperCase(),m.length===8&&v==="input"&&(z.validate(t.name),_&&l(m.toUpperCase()))},c=p=>{let v=(p.clipboardData||window.clipboardData).getData("text");if(typeof v=="string"&&v){let _=Po(v);if(_==="no-template-found"){r.value=v,e("input",v),e("on-error"),p.preventDefault();return}e("input",_.toUpperCase()),r.value=_.toUpperCase(),e("license-correct"),_.length===8&&(z.validate(t.name),l(_.toUpperCase())),p.preventDefault()}},h=(p,v)=>he(this,null,function*(){const _=p.toLocaleLowerCase(),m=yield ze.dataService.findVehicle(v,_);return m||null}),l=p=>{a.value=!0,i.value=!1,s.value=!1,n.value={},h(t.vehicleType,p).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 p=!0;Po(r.value).length===8&&Object.keys(t.propVehicleInformation).length!==0&&(n.value=t.propVehicleInformation,z.validate(t.name),p=!1),o(r.value,"input",p)})}),{license:r,vehicleInformation:n,isLicenseUnknown:s,isRetrievingVehicleInformation:a,incorrectLicensePlate:i,resetFieldValidation:f,validateField:u,onPasteEvent:c,retrieveLicensePlateInformation:l,setValue:o,errors:Pe,userInformation:C,motorState:_e,errorsData:d}}});var Ld=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)},kO=[];Ld._withStripped=!0;var Hd=se(OO,Ld,kO,!1,null,null,null,null);Hd.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/LicensePlate.vue";const Fr=Hd.exports,CO=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},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=d=>{e("input",d)},a=d=>{e("change",d)},i=d=>{e("focus");let f=d.srcElement.name;const u=la.find({name:f+t.uId});(u!==null||u!==void 0&&u)&&(u.reset(),Pe.remove(u.name,u.scope))},s=d=>{if(e("blur"),t.disableValidationBlur&&t.value)return;let f=d.srcElement.name;const u=la.find({name:f+t.uId});(u!==null||u!==void 0&&u)&&z.validate(u.name)};return b.onMounted(()=>{if(t.value){const d=la.find({name:t.name+t.uId});(d!==null||d!==void 0&&d)&&z.validate(d.name)}}),{inputModeChecker:r,inputValue:n,changeValue:a,resetFieldValidation:i,validateField:s,errors:Pe}}});var Bd=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)},MO=[];Bd._withStripped=!0;var Vd=se(CO,Bd,MO,!1,null,null,null,null);Vd.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultInput.vue";const Lt=Vd.exports,PO=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:Pe}}});var Wd=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)},xO=[];Wd._withStripped=!0;var Ud=se(PO,Wd,xO,!1,null,null,null,null);Ud.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultSelect.vue";const vt=Ud.exports,DO=b.defineComponent({components:{DefaultInput:Lt,DefaultSelect:vt,ErrorHandler:Nt},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),d=b.ref(""),f=b.ref(""),u=b.ref(""),o=b.ref([]),c=b.ref({street:"",city:""}),h=b.ref(!1),l=[{rule:"required",text:"Vul je postcode in"},{rule:"regex",text:"Postcode is incorrect"}],p=[{rule:"required",text:"Huisnummer is verplicht"}],v=b.computed(()=>[{rule:Pe.has(t.houseNumberAdditionName),text:"Een toevoeging is verplicht"}]),_=b.computed(()=>[{rule:a.value,text:"Postcode en huisnummer combinatie onbekend."}]),m=b.computed(()=>r.value?"-":"Kies toevoeging"),y=b.computed(()=>`${s.value?"":"required"}|is_not:CHOOSE_OPTION`),w=(U,ee,Vt)=>he(this,null,function*(){try{if(!U||!ee){De(""),u.value="CHOOSE_OPTION",a.value=!1,c.value.street="",c.value.city="",o.value=[{title:"Kies een toevoeging",value:"CHOOSE_OPTION",disabled:!0,selected:!0}];return}o.value=[],Vt&&(u.value="CHOOSE_OPTION"),o.value.push({title:"Kies een toevoeging",value:"CHOOSE_OPTION",disabled:!0,selected:!0}),s.value=yield j(U,ee),s.value&&(o.value=[...o.value,{title:"Geen toevoeging",value:""}]),ze.homeService.getAddition({zipcode:U,houseNumber:ee}).then(it=>{const pr=it;if(i.value=!0,bt(t.houseNumberAdditionName),pr.length){r.value=!1;for(let Nn=0;Nn<pr.length;Nn++)o.value=[...o.value,{title:pr[Nn],value:pr[Nn]}];a.value=!1,Vt||b.nextTick(()=>{u.value=t.houseNumberAddition,Ce(U,ee,t.houseNumberAddition)})}else o.value[1]&&(o.value[1].title="Geen toevoeging"),r.value=!0,u.value="",De(""),Ce(U,ee)}).catch(it=>{a.value=!0,c.value.street="",c.value.city="",e("address-correct",!a.value),bt("housenumberaddition"),console.error("Error fetching additions:",it)})}catch(it){console.error("Error in getHouseNumberAdditions:",it)}}),j=(U,ee)=>he(this,null,function*(){return yield ze.dataValidationService.validateZipCode(U,ee).then(()=>!0).catch(()=>!1)}),G=U=>{h.value=!0,d.value=U.toUpperCase(),e("update-zipcode",U.toUpperCase()),b.nextTick(()=>{w(U.toUpperCase(),t.houseNumber,!0)})},pe=U=>{h.value=!0,e("update-house-number",U),b.nextTick(()=>{w(t.zipcode,U,!0)})},De=U=>{e("update-house-number-addition",U),Ce(t.zipcode,t.houseNumber,U)},Ce=(U,ee,Vt="")=>he(this,null,function*(){try{if(!U||!ee)return;n.value=!0,a.value=!1,c.value.street="",c.value.city="",e("address-correct",!a.value);const{Street:it,Place:pr}=yield ze.dataValidationService.validateZipCode(U,ee,Vt);h.value=!1,c.value.street=it,c.value.city=pr,e("update-house-information",c.value),n.value=!1}catch(it){a.value=!0,n.value=!1,e("address-correct",!a.value),bt("housenumberaddition"),console.error("Error getting house information:",it)}}),bt=U=>{var Vt;const ee=z.fields.find({name:U});(ee!==null||ee!==void 0&&ee)&&(ee==null||ee.reset(),(Vt=z==null?void 0:z.errors)==null||Vt.remove(ee==null?void 0:ee.name,ee==null?void 0:ee.scope))};return b.onMounted(()=>{b.nextTick(()=>{d.value=t.zipcode,f.value=t.houseNumber,w(t.zipcode,t.houseNumber,!1)})}),{additionLabel:m,additionValidationRules:y,disableAdditionField:r,isLoading:n,addressError:a,firstTimeCalled:i,canBeWithoutAddition:s,zipcodeModel:d,houseNumberModel:f,houseAdditionNumberModel:u,additions:o,houseInformation:c,isAddressEditing:h,getHouseNumberAdditions:w,getHouseInformationWithoutAddition:j,updateZipcode:G,updateHouseNumber:pe,updateHouseNumberAddition:De,getHouseInformation:Ce,resetFieldValidation:bt,props:t,errors:Pe,zipcodeErrorsData:l,houseNumberErrorsData:p,houseNumberAdditionErrorsData:v,addressErrorsData:_}}});var zd=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)}}})])])},RO=[];zd._withStripped=!0;var qd=se(DO,zd,RO,!1,null,null,null,null);qd.options.__file="/Users/mac/Work/comparison-forms/src/components/common/AddressHandler.vue";const Er=qd.exports,jO=b.defineComponent({name:"ClaimFreeYearsModalContent",props:{maxClaimFreeYearsOptions:{required:!0},vdFormVersion:{required:!1,type:String,default:"0"}},components:{DefaultSelect:vt},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 Gd=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()])},TO=[];Gd._withStripped=!0;var Zd=se(jO,Gd,TO,!1,null,"659d0a00",null,null);Zd.options.__file="/Users/mac/Work/comparison-forms/src/components/common/modals/ClaimFreeYearsModalContent.vue";const Xd=Zd.exports,$O=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 Jd=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)},AO=[];Jd._withStripped=!0;var Qd=se($O,Jd,AO,!1,null,null,null,null);Qd.options.__file="/Users/mac/Work/comparison-forms/src/components/common/SimpleCard.vue";const dr=Qd.exports;function FO(t){return t.valueOf().toString().substr(6,12)}function Oi(){function t(e){const r=FO(new Date);return`${e}-${r}`}return{inputId:t}}const EO=b.defineComponent({name:"BirthdateInput",components:{ErrorHandler:Nt,DefaultInput:Lt},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}=Oi(),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 Kd=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))},YO=[];Kd._withStripped=!0;var ef=se(EO,Kd,YO,!1,null,null,null,null);ef.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/BirthdateInput.vue";const Jt=ef.exports,IO=b.defineComponent({name:"MotorForm",components:{LicensePlate:Fr,AddressHandler:Er,DefaultInput:Lt,DefaultSelect:vt,ClaimFreeYearsModalContent:Xd,SimpleCard:dr,BirthdateInput:Jt,ErrorHandler:Nt},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:d,minAge:f,maxAge:u,claimFreeYearsErrorData:o,buttonStyles:c,maxClaimFreeYears:h,onLicenseError:l,onLicenseInput:p,validateBeforeSubmit:v,HouseInformation:_,vehicle:m,getClaimFreeYearsSelectOptions:y,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:G,setClaimFreeYears:pe,getHouseInformation:De,getLicenseInformation:Ce}=kl(t,e,ze);return{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:d,minAge:f,maxAge:u,claimFreeYearsErrorData:o,buttonStyles:c,maxClaimFreeYears:h,onLicenseError:l,onLicenseInput:p,validateBeforeSubmit:v,HouseInformation:_,licenseInformation:Me,vehicle:m,getClaimFreeYearsSelectOptions:y,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:G,setClaimFreeYears:pe,getHouseInformation:De,getLicenseInformation:Ce,errors:Pe,userInformation:C,motorState:_e}}});var tf=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)},NO=[];tf._withStripped=!0;var rf=se(IO,tf,NO,!1,null,null,null,null);rf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorForm.vue";const LO=rf.exports,HO=b.defineComponent({name:"MotorFormHorizontal",components:{LicensePlate:Fr,AddressHandler:Er,DefaultInput:Lt,DefaultSelect:vt,ClaimFreeYearsModalContent:Xd,SimpleCard:dr,BirthdateInput:Jt},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:d,minAge:f,maxAge:u,claimFreeYearsErrorData:o,buttonStyles:c,maxClaimFreeYears:h,onLicenseError:l,onLicenseInput:p,validateBeforeSubmit:v,HouseInformation:_,vehicle:m,getClaimFreeYearsSelectOptions:y,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:G,setClaimFreeYears:pe,getHouseInformation:De,getLicenseInformation:Ce}=kl(t,e,ze);return{licenseError:r,showLicenseInfo:n,houseError:a,showHouseInformation:i,currentYear:s,kilometrages:d,minAge:f,maxAge:u,claimFreeYearsErrorData:o,buttonStyles:c,maxClaimFreeYears:h,onLicenseError:l,onLicenseInput:p,validateBeforeSubmit:v,HouseInformation:_,licenseInformation:Me,vehicle:m,getClaimFreeYearsSelectOptions:y,isModalOpen:w,birthDateYear:j,openClaimFreeYearModal:G,setClaimFreeYears:pe,getHouseInformation:De,getLicenseInformation:Ce,errors:Pe,userInformation:C,motorState:_e}}});var nf=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)},BO=[];nf._withStripped=!0;var af=se(HO,nf,BO,!1,null,null,null,null);af.options.__file="/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorFormHorizontal.vue";const VO=af.exports;var On=(t=>(t.Horizontal="horizontal",t.Vertical="vertical",t))(On||{}),of=(t=>(t.Brommobiel="60",t))(of||{});const WO=b.defineComponent({name:"LoanAmount",components:{DefaultInput:Lt,DefaultSelect:vt,ErrorHandler:Nt},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Oi();return{inputId:n,attrs:e,listeners:r,errors:Pe,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 sf=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))},UO=[];sf._withStripped=!0;var uf=se(WO,sf,UO,!1,null,null,null,null);uf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/formFields/loanAmount.vue";const lf=uf.exports;var Ie=(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))(Ie||{});const zO=[{title:"Aankoop auto",value:Ie.PurchaseCar},{title:"Aankoop boot",value:Ie.PurchaseBoat},{title:"Aankoop caravan/camper",value:Ie.PurchaseCaravanCamper},{title:"Aankoop inboedel",value:Ie.PurchaseHousehold},{title:"Aankoop motor",value:Ie.PurchaseMotor},{title:"Aankoop recreatiewoning",value:Ie.PurchaseRecreationalHome},{title:"Oversluiten lopende leningen",value:Ie.RefinanceExistingLoans},{title:"Verbouwing woning",value:Ie.HomeRenovation},{title:"Energie besparende maatregelen",value:Ie.EnergySavingMeasures},{title:"Aflossen restschuld woning",value:Ie.PayOffMortgageDebt},{title:"Extra financiële ruimte",value:Ie.ExtraFinances},{title:"Anders",value:Ie.Other}],qO=b.defineComponent({name:"LoanPurpose",components:{DefaultSelect:vt,ErrorHandler:Nt},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Oi();return{inputId:n,attrs:e,listeners:r,loanPurposeOptions:zO,errors:Pe,loansErrorData:[{rule:"required",text:"Leendoel is verplicht"}]}}});var cf=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))},GO=[];cf._withStripped=!0;var df=se(qO,cf,GO,!1,null,null,null,null);df.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/formFields/loanPurpose.vue";const ff=df.exports,ZO=[{value:"A",title:"Alleenstaand zonder kinderen"},{value:"H",title:"Gezin zonder kinderen"},{value:"K",title:"Alleenstaand met kinderen"},{value:"I",title:"Gezin met kinderen"}],XO=b.defineComponent({name:"FamilyCompositionInput",components:{DefaultSelect:vt,ErrorHandler:Nt},props:{vdFormVersion:{required:!1,type:String,default:"0"}},setup(t,{attrs:e,listeners:r}){const{inputId:n}=Oi(),a=ZO,i=b.computed(()=>[{rule:Pe.has("familyComposition"),text:"Gezinssituatie is verplicht"}]);return{inputId:n,familyCompositionOptions:a,attrs:e,listeners:r,errorsData:i}}});var hf=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))},JO=[];hf._withStripped=!0;var mf=se(XO,hf,JO,!1,null,null,null,null);mf.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/FamilyCompositionInput.vue";const pf=mf.exports,vf=t=>Object.values(On).includes(t);class QO{static render(e){const{AlimonyType:r,AnotherMonthlyExpenses:n,BenefitType:a,CarMonthlyContributionExpenses:i,CarMonthlyTaxAdditionExpenses:s,CarOwnershipType:d,DesiredDuration:f,DesiredRepayment:u,HouseSituation:o,IncomeSituation:c,IncomeType:h,IndependentYears:l,LoanAmount:p,LoanPurpose:v,MonthlyAlimonyAllowance:_,MonthlyCarRentalExpenses:m,MonthlyChildcareAllowance:y,MonthlyChildcareExpenses:w,MonthlyCurrentLoansExpenses:j,MonthlyHouseExpenses:G,MonthlyNetIncome:pe,MonthlyStudentLoansExpenses:De,OwnedBuilding:Ce,PartnerIncomeType:bt,PartnerMonthlyNetIncome:U,Sorting:ee,TemporaryWorkPhase:Vt,WorkedLastThreeYears:it}=e.loanData,om=e,{loanData:pr,filters:Nn,aanvragen:BM}=om,YM=lm(om,["loanData","filters","aanvragen"]);return Zr({loanData:{AlimonyType:r,AnotherMonthlyExpenses:n,BenefitType:a,CarMonthlyContributionExpenses:i,CarMonthlyTaxAdditionExpenses:s,CarOwnershipType:d,DesiredDuration:f,DesiredRepayment:u,HouseSituation:o,IncomeSituation:c,IncomeType:h,IndependentYears:l,LoanAmount:p,LoanPurpose:v,MonthlyAlimonyAllowance:_,MonthlyCarRentalExpenses:m,MonthlyChildcareAllowance:y,MonthlyChildcareExpenses:w,MonthlyCurrentLoansExpenses:j,MonthlyHouseExpenses:G,MonthlyNetIncome:pe,MonthlyStudentLoansExpenses:De,OwnedBuilding:Ce,PartnerIncomeType:bt,PartnerMonthlyNetIncome:U,Sorting:ee,TemporaryWorkPhase:Vt,WorkedLastThreeYears:it}},YM)}}const KO="192";function ek(t){const e={CreationForm:"CreationForm",Aanvragen:"Aanvragen",Common:"Common"};let r=b.ref([]);const n={[e.CreationForm]:{title:"Oeps... er gaat iets mis!",refId:KO,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=(u="Common")=>{t("emit-event-hub",{event:"open-quotation-modal",data:f(u)})},i=u=>{const o=d(u);r.value.push(o)},s=()=>{r.value=[]},d=u=>({text:u}),f=u=>{const{title:o,refId:c,notes:h,description:l}=n[u];return{title:o,refId:c,notes:[...h||[],...r.value],description:l}};return{QuotationType:e,openQuotationModal:a,addNote:i,resetNotes:s,convertToNote:d,renderQuotationData:f}}let ou=b.ref(!1);const _f=(t,e)=>{const{QuotationType:r,openQuotationModal:n,addNote:a,resetNotes:i}=ek(e),s=b.computed(()=>QO.render(t.comparison.getUser().getDetail())),d=b.computed(()=>t.formOrientation===On.Horizontal),f=_=>`${t.baseUrl}#/${_}`,u=_=>he(this,null,function*(){i();try{const m=yield ze.comparisonService.create("loan",_);return yield ze.comparisonService.update(m),m}catch(m){console.error(m),a(`
|
|
21
|
+
Leendoel: ${ot.loanPurpose} |
|
|
22
|
+
Leenbedrag: ${ot.loanAmount} |
|
|
23
|
+
Geboortedatum: ${C.birthdate} |
|
|
24
|
+
Gezinssituatie: ${C.familyComposition}
|
|
25
|
+
`),n(r.CreationForm)}}),o=()=>{t.comparison.getUser().setBirthDate(C.birthdate),t.comparison.getUser().setFamilyComposition(C.familyComposition)},c=()=>{t.comparison.getUser().setDetail(null,Zr(Zr({},t.comparison.getUser().getDetail(null)),s.value))},h=()=>{ot.loanAmount=t.insuranceState.LoanAmount,ot.loanPurpose=t.insuranceState.LoanPurpose,C.birthdate=t.userInformation.birthdate,C.familyComposition=t.userInformation.familyComposition},l=()=>{const _=new q.User({});return _.setDetail(null,{}),_.setBirthDate(C.birthdate),_.setFamilyComposition(C.familyComposition),_.setDetail("loanData",{LoanPurpose:ot.loanPurpose,LoanAmount:ot.loanAmount}),_};return{inSubmissions:ou,loanState:ot,isHorizontalForm:d,setFormData:h,submitUpdateForm:()=>he(this,null,function*(){ou.value=!0;try{(yield un(["birthdate","familyComposition","loanAmount","loanPurpose"]))&&(yield c(),yield o(),yield ze.comparisonService.update(t.comparison),e("submit-form",{userInformation:C,loanState:ot}))}catch(_){console.error(_),e("emit-event-hub",{event:"open-quotation-modal"})}ou.value=!1}),submitCreateForm:()=>he(this,null,function*(){try{if(!(yield un(["birthdate","familyComposition","loanAmount","loanPurpose"])))return;const m=l(),y=yield u(m);y&&y.getId()?e("redirect-page",{link:f(y.getId())}):n(r.CreationForm)}catch(_){console.error(_),n(r.CreationForm)}})}},tk=b.defineComponent({name:"CreateLoanComparisonForm",components:{LoanPurposeInputField:ff,LoanAmountInputField:lf,BirthdateInput:Jt,FamilyCompositionInput:pf,SimpleCard:dr},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:On.Vertical,validator:vf},vdFormVersion:{required:!1,type:String,default:"0"},classes:{required:!1,type:String,default:""}},setup(t,{emit:e}){const{loanState:r,isHorizontalForm:n,submitCreateForm:a}=_f(t,e);return b.onMounted(()=>{Wt.removeSessionState(b.getCurrentInstance().proxy.$root.$data.pathKey,b.getCurrentInstance().proxy.$root.$data.storageKey)}),{loanState:r,isHorizontalForm:n,submitCreateForm:a,userInformation:C}}});var yf=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)])},rk=[];yf._withStripped=!0;var gf=se(tk,yf,rk,!1,null,null,null,null);gf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/forms/createLoanComparisonForm.vue";const nk=gf.exports,ak=b.defineComponent({name:"UpdateLoanComparisonForm",components:{LoanPurposeInputField:ff,LoanAmountInputField:lf,BirthdateInput:Jt,FamilyCompositionInput:pf,SimpleCard:dr},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}=_f(t,e);return b.onMounted(()=>{a()}),{inSubmissions:r,loanState:n,submitUpdateForm:i,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}},[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)])},ik=[];bf._withStripped=!0;var wf=se(ak,bf,ik,!1,null,null,null,null);wf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/loan/components/forms/updateLoanComparisonForm.vue";const ok=wf.exports;function sk(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 ki=b.ref(""),Sf=b.ref(!1),Of=b.ref(!1),su=b.ref(!1),Ci=b.ref([]),uk=b.ref(""),kf=(t,e,r,n)=>{function a(){return he(this,null,function*(){if((yield un(["license","zipcode","housenumber","housenumberaddition","birthdate"]))&&!Of.value&&ye.VehicleType==="Car"&&!su.value)if(t.isOnResultPage||t.isOnCoveragePage)e("submit-form",{userInformation:C,carState:ye});else{const c=yield i();c&&e("redirect-page",{link:`${t.link}#/${c.getId()}/dekkingen/`})}})}function i(){return he(this,null,function*(){try{const o=new q.User({});return o.setDetail(null,{}),o.setDetail("car",Object.assign(ye,{LicensePlate:ki.value,Brand:ye.Brand,Model:ye.Model,Type:ye.Type,VehicleType:ye.VehicleType,ManufacturingYear:ye.ManufacturingYear})),o.setDetail("comparison",{Coverage:null,Deductables:300,ClaimFreeYears:"0",Kilometrage:"12000"}),o.setZipCode(C.zipcode),o.setHouseNumber(Number(C.houseNumber)),o.setHouseNumberAddition(C.houseNumberAddition),o.setBirthDate(C.birthdate),yield r.comparisonService.create("car",o)}catch(o){return Ci.value.push({text:`Kenteken: ${ki.value} | Postcode: ${C.zipcode} | Huisnummer: ${C.houseNumber} | Huisnummer toevoeging: ${C.houseNumberAddition} | Geboortedatum: ${C.birthdate}`}),Ci.value=sk(Ci.value),s(),null}})}function s(){e("emit-event-hub",{event:"open-quotation-modal",data:{refId:uk.value,notes:Ci.value}})}function d(){su.value=!1}function f(){su.value=!0}const u=b.computed(()=>{const o=k.utc(k().subtract(100,"y").format("DD-MM-YYYY"),"DD-MM-YYYY"),c=k.utc(k().subtract(18,"y").format("DD-MM-YYYY"),"DD-MM-YYYY");return{min:o,max:c}});return b.onMounted(()=>{var o,c,h,l,p;(t.isOnResultPage||t.isOnCoveragePage)&&(Object.assign(ye,t.insuranceState),ki.value=(o=ye.LicensePlate)!=null?o:"",C.zipcode=(c=t.userInformation.zipCode)!=null?c:"",C.houseNumber=(h=String(t.userInformation.houseNumber))!=null?h:"",C.houseNumberAddition=(l=t.userInformation.houseNumberAddition)!=null?l:"",C.birthdate=(p=t.userInformation.birthdate)!=null?p:""),(!t.isOnResultPage||!t.isOnCoveragePage)&&Wt.removeSessionState("car-storage","car-path"),Sf.value=!0}),{isReady:Sf,licensePlate:ki,onLicenseInput:d,onLicenseError:f,houseError:Of,dateRange:u,validateBeforeSubmit:a}},lk=b.defineComponent({name:"CarForm",components:{LicensePlate:Fr,AddressHandler:Er,DefaultInput:Lt,SimpleCard:dr,BirthdateInput:Jt},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:d,validateBeforeSubmit:f}=kf(t,e,ze);return{userInformation:C,carState:ye,isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:d,validateBeforeSubmit:f,errors:Pe}}});var Cf=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()},ck=[];Cf._withStripped=!0;var Mf=se(lk,Cf,ck,!1,null,null,null,null);Mf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/car/components/forms/CarForm.vue";const dk=Mf.exports,fk=b.defineComponent({name:"CarFormHorizontal",components:{LicensePlate:Fr,AddressHandler:Er,DefaultInput:Lt,SimpleCard:dr,BirthdateInput:Jt},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:d,validateBeforeSubmit:f}=kf(t,e,ze);return{userInformation:C,carState:ye,isReady:r,licensePlate:n,onLicenseInput:a,onLicenseError:i,houseError:s,dateRange:d,validateBeforeSubmit:f,errors:Pe}}});var Pf=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()},hk=[];Pf._withStripped=!0;var xf=se(fk,Pf,hk,!1,null,null,null,null);xf.options.__file="/Users/mac/Work/comparison-forms/src/insurances/car/components/forms/CarFormHorizontal.vue";const mk=xf.exports;function uu(t){const e=decodeURIComponent(t);return e===t?t.replace(/\+/g," "):uu(e)}function pk(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]+=","+uu(a[1]):e[i]=uu(a[1]),i||delete e[i]}return e}function Yr(){const t=window.location.search.substr(1);return t!==null&&t!==""?pk(t):{}}function Df(t,e){let r=URL.canParse(t)?new URL(t):new URL(t,window.location.href);const n=Object.fromEntries(r.searchParams.entries()),a=Zr(Zr({},n),e),i=new URL(r);return Object.entries(a).forEach(([s,d])=>{i.searchParams.set(s,d)}),i.toString()}let vk=b.reactive({});const _k=b.reactive({});let Rf=b.ref(!1),yk=b.ref(!1),gk=b.ref(!1),bk=b.ref(!1),jf=b.ref(+k().format("YYYY")),Tf=b.ref(!1),kn=b.ref(!1),Ir=b.ref(!1);const $f=18,wk=99,Sk=[{rule:"required",text:"Schadevrije jaren zijn verplicht"}],Af=(t,e)=>{const r=b.computed(()=>C.birthdate.length===10),n=b.computed(()=>{const _=[];for(let m=0;m<a.value;m++)_.push({title:`${m} jaar`,value:m});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 m=jf.value-_-$f;return m>0?m: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===of.Brommobiel||t.insuranceState.Model==="Brommobiel"?19999:4999),d=b.computed(()=>{const _=["license","zipcode","housenumber","housenumberaddition","claimfreeyears","birthdate"];return kn.value&&_.push("catalogValueForm"),Ir.value&&_.push("purchaseValueForm"),_}),f=b.computed(()=>t.insuranceState.CatalogValueByLicense),u=()=>{(!C.birthdate||C.birthdate.length!==10)&&(me.claimFreeYears="0")},o=_=>{me.claimFreeYears=String(_)},c=_=>{const m=_.split("-").join("")!==me.oldLicense;_.length>=6&&m&&(kn.value=!1,Ir.value=!1,me.purchaseValue="")},h=()=>{Rf.value=!0},l=_=>{e("emit-event-hub",{event:"open-quotation-modal",data:{refId:_}})},p=()=>{Tf.value=!0},v=()=>he(this,null,function*(){if(yield un(d.value))if(t.isOnResultPage)e("submit-form",{userInformation:C,mopedState:me,licenseInformation:Me.moped,showCatalogValueField:kn.value});else{const m={license:me.license,zipcode:C.zipcode,housenumber:C.houseNumber,housenumberaddition:C.houseNumberAddition,birthdate:C.birthdate,claimfreeyears:me.claimFreeYears};m.housenumberaddition||delete m.housenumberaddition;const y=Df(t.link,m);window.location.href=y}});return b.watch(f,_=>{Number(_)>5e3?Ir.value=!0:(Ir.value=!1,me.purchaseValue="")}),b.onMounted(()=>{if(t.isOnResultPage){me.license=me.oldLicense=t.insuranceState.LicensePlate||Yr().license||"",me.claimFreeYears=t.insuranceState.ClaimFreeYears||Yr().claimfreeyears||"0",C.birthdate=t.userInformation.birthdate||Yr().birthdate||"",C.zipcode=t.userInformation.zipCode||Yr().zipcode||"",C.houseNumber=t.userInformation.houseNumber||Yr().housenumber||"",C.houseNumberAddition=t.userInformation.houseNumberAddition||Yr().housenumberaddition||"",t.insuranceState.CatalogValueByLicense&&(me.catalogValue=t.insuranceState.CatalogValueByLicense,kn.value=!0);const _=t.insuranceState.PurchaseValueByLicense;_&&(me.purchaseValue=_,Ir.value=!0)}t.isOnResultPage||Wt.removeSessionState("moped-path","moped-storage")}),{HouseInformation:vk,vehicle:_k,licenseError:Rf,showLicenseInfo:yk,houseError:gk,showHouseInformation:bk,currentYear:jf,isModalOpen:Tf,minAge:$f,maxAge:wk,birthDateYear:r,maxClaimFreeYearsOptions:n,maxClaimFreeYears:a,buttonStyles:i,showCatalogValueField:kn,showPurchaseValueField:Ir,maxPurchaseValue:s,checkClaimFreeYears:u,setClaimFreeYears:o,onLicenseInput:c,onLicenseError:h,openQuotationModal:l,openClaimFreeYearModal:p,validateBeforeSubmit:v,userInformation:C,mopedState:me,claimFreeYearsErrorData:Sk}};var Ff=function(){return(Ff=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)},lu={kebab:/-(\w)/g,styleProp:/:(.*)/,styleList:/;(?![^(]*\))/g};function Ok(t,e){return e?e.toUpperCase():""}function kk(t){for(var e,r={},n=0,a=t.split(lu.styleList);n<a.length;n++){var i=a[n].split(lu.styleProp),s=i[0],d=i[1];(s=s.trim())&&(typeof d=="string"&&(d=d.trim()),r[e=s,e.replace(lu.kebab,Ok)]=d)}return r}function Mi(){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 d=0;d<s.length;d++){var f=s[d];typeof f=="string"&&(s[d]=kk(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 u=0,o=Object.keys(arguments[n][t]||{});u<o.length;u++)e=o[u],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]=Ff({},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 Ck="$bvConfig",Nr=typeof window!="undefined",Ef=typeof document!="undefined",Mk=typeof navigator!="undefined",Pk=typeof MutationObserver!="undefined"||typeof WebKitMutationObserver!="undefined"||typeof MozMutationObserver!="undefined",$e=Nr&&Ef&&Mk,xk=$e?window.navigator.userAgent.toLowerCase():"";xk.indexOf("jsdom")>0;var Dk=function(){var t=!1;if($e)try{var e={get passive(){t=!0}};window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(r){t=!1}return t}(),Yf=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},Rk=function(){return Yf("BOOTSTRAP_VUE_NO_WARN")||Yf("NODE_ENV")==="production"};function Pi(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pi=function(r){return typeof r}:Pi=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Pi(t)}function If(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nf(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&&Cn(t,e)}function Lf(t){var e=Hf();return function(){var n=Mn(t),a;if(e){var i=Mn(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return jk(this,a)}}function jk(t,e){return e&&(Pi(e)==="object"||typeof e=="function")?e:Tk(t)}function Tk(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cu(t){var e=typeof Map=="function"?new Map:void 0;return cu=function(n){if(n===null||!$k(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 xi(n,arguments,Mn(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Cn(a,n)},cu(t)}function xi(t,e,r){return Hf()?xi=Reflect.construct:xi=function(a,i,s){var d=[null];d.push.apply(d,i);var f=Function.bind.apply(a,d),u=new f;return s&&Cn(u,s.prototype),u},xi.apply(null,arguments)}function Hf(){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 $k(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Cn(t,e){return Cn=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Cn(t,e)}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Mn(t)}var Bf=Nr?window:{},Ak=Nr?Bf.Element:function(t){Nf(r,t);var e=Lf(r);function r(){return If(this,r),e.apply(this,arguments)}return r}(cu(Object)),Vf=Nr?Bf.HTMLElement:function(t){Nf(r,t);var e=Lf(r);function r(){return If(this,r),e.apply(this,arguments)}return r}(Ak);function Pn(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Pn=function(r){return typeof r}:Pn=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Pn(t)}var du=function(e){return Pn(e)},Di=function(e){return e===void 0},fr=function(e){return e===null},Wf=function(e){return Di(e)||fr(e)},_t=function(e){return du(e)==="function"},Uf=function(e){return du(e)==="boolean"},hr=function(e){return du(e)==="string"},Lr=function(e){return Array.isArray(e)},Ri=function(e){return e!==null&&Pn(e)==="object"},xn=function(e){return Object.prototype.toString.call(e)==="[object Object]"},zf=function(e){return e instanceof Date},fu=function(e){return e instanceof Event};function qf(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 Gf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?qf(Object(r),!0).forEach(function(n){Zf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):qf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Zf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Fk=function(){return Object.assign.apply(Object,arguments)},Xf=function(e,r){return Object.defineProperties(e,r)},Ek=function(e,r,n){return Object.defineProperty(e,r,n)},yt=function(e){return Object.keys(e)},hu=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},Yk=function(e,r){return yt(e).filter(function(n){return r.indexOf(n)===-1}).reduce(function(n,a){return Gf(Gf({},n),{},Zf({},a,e[a]))},{})},Qt=function(){return{enumerable:!0,configurable:!1,writable:!1}};function Jf(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 Qf(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Jf(Object(r),!0).forEach(function(n){Kf(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Jf(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function Kf(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Ik(t){return Bk(t)||Hk(t)||Lk(t)||Nk()}function Nk(){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 Lk(t,e){if(t){if(typeof t=="string")return mu(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 mu(t,e)}}function Hk(t){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(t))return Array.from(t)}function Bk(t){if(Array.isArray(t))return mu(t)}function mu(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 ji=function t(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e;return Lr(e)?e.reduce(function(n,a){return[].concat(Ik(n),[t(a,a)])},[]):xn(e)?yt(e).reduce(function(n,a){return Qf(Qf({},n),{},Kf({},a,t(e[a],e[a])))},{}):r},Vk=/%2C/g,Wk=/[!'()*]/g,Uk=function(e){return e};const Dn=Uk;var zk=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;Rk()||console.warn("[BootstrapVue warn]: ".concat(r?"".concat(r," - "):"").concat(e))},qk=function(e){return Pk?!1:(zk("".concat(e,": Requires MutationObserver support.")),!0)},eh="BButton",th="BButtonClose",rh="BCollapse",Gk="BVCollapse",nh="BLink",ah="BModal",Zk="BVTransition",Xk="BTransporterSingle",Jk="BTransporterTargetSingle";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 oh(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){Qk(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 Qk(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Kk=b.prototype,sh=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,n=Kk[Ck];return n?n.getConfigValue(e,r):ji(r)},eC=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?sh("".concat(e,".").concat(r),n):sh(e,{})},Rn=function(e,r){return yt(e).reduce(function(n,a){var i=e[a],s=i.default;return n[a]=oh(oh({},ji(i)),{},{default:function(){return eC(r,a,_t(s)?s():s)}}),n},{})},tC=function(){return Array.from.apply(Array,arguments)},pu=function(e,r){return e.indexOf(r)!==-1},Ht=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)},rC=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseInt(e,10);return isNaN(n)?r:n},Ti=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN,n=parseFloat(e);return isNaN(n)?r:n},jn=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;return Wf(e)?"":Lr(e)||xn(e)&&e.toString===Object.prototype.toString?JSON.stringify(e,null,r):String(e)},nC=["button","[href]:not(.disabled)","input","select","textarea","[tabindex]","[contenteditable]"].map(function(t){return"".concat(t,":not(:disabled):not([disabled])")}).join(", "),Bt=Nr?window:{},$i=Ef?document:{},Ai=typeof Element!="undefined"?Element.prototype:{},aC=Ai.matches||Ai.msMatchesSelector||Ai.webkitMatchesSelector,iC=Ai.closest||function(t){var e=this;do{if(fh(e,t))return e;e=e.parentElement||e.parentNode}while(!fr(e)&&e.nodeType===Node.ELEMENT_NODE);return null},Hr=Bt.requestAnimationFrame||Bt.webkitRequestAnimationFrame||Bt.mozRequestAnimationFrame||Bt.msRequestAnimationFrame||Bt.oRequestAnimationFrame||function(t){return setTimeout(t,16)},oC=Bt.MutationObserver||Bt.WebKitMutationObserver||Bt.MozMutationObserver||null,sC=function(e){return e&&e.parentNode&&e.parentNode.removeChild(e)},le=function(e){return!!(e&&e.nodeType===Node.ELEMENT_NODE)},uh=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],r=$i.activeElement;return r&&!e.some(function(n){return n===r})?r:null},Fi=function(e,r){return jn(e).toLowerCase()===jn(r).toLowerCase()},lh=function(e){return le(e)&&e===uh()},uC=function(e){if(!le(e)||!e.parentNode||!Tn($i.body,e)||An(e,"display")==="none")return!1;var r=Yi(e);return!!(r&&r.height>0&&r.width>0)},ch=function(e){return le(e)&&e.offsetHeight},Ei=function(e,r){return tC((le(r)?r:$i).querySelectorAll(e))},dh=function(e,r){return(le(r)?r:$i).querySelector(e)||null},fh=function(e,r){return le(e)?aC.call(e,r):!1},hh=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(!le(r))return null;var a=iC.call(r,e);return n?a:a===r?null:a},Tn=function(e,r){return e&&_t(e.contains)?e.contains(r):!1},Br=function(e,r){r&&le(e)&&e.classList&&e.classList.add(r)},vu=function(e,r){r&&le(e)&&e.classList&&e.classList.remove(r)},lC=function(e,r){return r&&le(e)&&e.classList?e.classList.contains(r):!1},$n=function(e,r,n){r&&le(e)&&e.setAttribute(r,n)},_u=function(e,r){r&&le(e)&&e.removeAttribute(r)},yu=function(e,r){return r&&le(e)?e.getAttribute(r):null},gu=function(e,r){return r&&le(e)?e.hasAttribute(r):null},Ae=function(e,r,n){r&&le(e)&&(e.style[r]=n)},mh=function(e,r){r&&le(e)&&(e.style[r]="")},An=function(e,r){return r&&le(e)&&e.style[r]||null},Yi=function(e){return le(e)?e.getBoundingClientRect():null},Kt=function(e){return Nr&&le(e)?Bt.getComputedStyle(e):{}},cC=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return Ei(nC,e).filter(uC).filter(function(r){return r.tabIndex>-1&&!r.disabled})},Vr=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{e.focus(r)}catch(n){}return lh(e)},dC=function(e){try{e.blur()}catch(r){}return!lh(e)};function ph(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 Wr(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?ph(Object(r),!0).forEach(function(n){fC(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ph(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function fC(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var vh={name:"",enterClass:"",enterActiveClass:"",enterToClass:"show",leaveClass:"show",leaveActiveClass:"",leaveToClass:""},hC=Wr(Wr({},vh),{},{enterActiveClass:"fade",leaveActiveClass:"fade"}),mC=b.extend({name:Zk,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 xn(s)||(s=i.noFade?vh:hC,i.appear&&(s=Wr(Wr({},s),{},{appear:!0,appearClass:s.enterClass,appearActiveClass:s.enterActiveClass,appearToClass:s.enterToClass}))),s=Wr(Wr({mode:i.mode},s),{},{css:!0}),e("transition",Mi(a,{props:s}),n)}});const pC=mC;var Ur="default",_h=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=Ht(e).filter(Dn),e.some(function(a){return r[a]||n[a]})},yh=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=Ht(e).filter(Dn);for(var i,s=0;s<e.length&&!i;s++){var d=e[s];i=n[d]||a[d]}return _t(i)?i(r):i};const Ii={methods:{hasNormalizedSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ur;return _h(e,this.$scopedSlots,this.$slots)},normalizeSlot:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ur,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=yh(e,r,this.$scopedSlots,this.$slots);return n&&Ht(n)}}};var gh=function(e){return Dk?Ri(e)?e:{capture:!!e||!1}:!!(Ri(e)?e.capture:e)},Ni=function(e,r,n,a){e&&e.addEventListener&&e.addEventListener(r,n,gh(a))},zr=function(e,r,n,a){e&&e.removeEventListener&&e.removeEventListener(r,n,gh(a))},bh=function(e){for(var r=e?Ni:zr,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)},Fn=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,d=r.immediatePropagation,f=d===void 0?!1:d;a&&e.preventDefault(),s&&e.stopPropagation(),f&&e.stopImmediatePropagation()};function vC(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var _C=Rn({content:{type:String,default:"×"},disabled:{type:Boolean,default:!1},ariaLabel:{type:String,default:"Close"},textVariant:{type:String}},th),yC=b.extend({name:th,functional:!0,props:_C,render:function(e,r){var n=r.props,a=r.data,i=r.slots,s=r.scopedSlots,d=i(),f=s||{},u={staticClass:"close",class:vC({},"text-".concat(n.textVariant),n.textVariant),attrs:{type:"button",disabled:n.disabled,"aria-label":n.ariaLabel?String(n.ariaLabel):null},on:{click:function(c){n.disabled&&fu(c)&&Fn(c)}}};return _h(Ur,f,d)||(u.domProps={innerHTML:n.content}),e("button",Mi(a,u),yh(Ur,{},f,d))}}),wh=function(e,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Dn;return(Lr(e)?e.slice():yt(e)).reduce(function(a,i){return a[n(i)]=r[i],a},{})},Sh="a",gC=function(e){return"%"+e.charCodeAt(0).toString(16)},qr=function(e){return encodeURIComponent(jn(e)).replace(Wk,gC).replace(Vk,",")},bC=function(e){if(!xn(e))return"";var r=yt(e).map(function(n){var a=e[n];return Di(a)?"":fr(a)?qr(n):Lr(a)?a.reduce(function(i,s){return fr(s)?i.push(qr(n)):Di(s)||i.push(qr(n)+"="+qr(s)),i},[]).join("&"):qr(n)+"="+qr(a)}).filter(function(n){return n.length>0}).join("&");return r?"?".concat(r):""},wC=function(e){return!!(e.href||e.to)},Oh=function(e){return!!(e&&!Fi(e,"a"))},SC=function(e,r){var n=e.to,a=e.disabled,i=e.routerComponentName,s=!!r.$router;return!s||s&&(a||!n)?Sh:i||(r.$nuxt?"nuxt-link":"router-link")},OC=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=e.target,n=e.rel;return r==="_blank"&&fr(n)?"noopener":n||null},kC=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]:Sh,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(Oh(a))return null;if(hr(n))return n||s;if(xn(n)&&(n.path||n.query||n.hash)){var d=jn(n.path),f=bC(n.query),u=jn(n.hash);return u=!u||u.charAt(0)==="#"?u:"#".concat(u),"".concat(d).concat(f).concat(u)||s}return i},CC=13,MC=27,PC=32,xC=function(e,r){if(e.length!==r.length)return!1;for(var n=!0,a=0;n&&a<e.length;a++)n=kh(e[a],r[a]);return n},kh=function t(e,r){if(e===r)return!0;var n=zf(e),a=zf(r);if(n||a)return n&&a?e.getTime()===r.getTime():!1;if(n=Lr(e),a=Lr(r),n||a)return n&&a?xC(e,r):!1;if(n=Ri(e),a=Ri(r),n||a){if(!n||!a)return!1;var i=yt(e).length,s=yt(r).length;if(i!==s)return!1;for(var d in e){var f=hu(e,d),u=hu(r,d);if(f&&!u||!f&&u||!t(e[d],r[d]))return!1}}return String(e)===String(r)};function Ch(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Mh=function(e){return!e||yt(e).length===0},DC=function(e){return{handler:function(n,a){if(!kh(n,a)){if(Mh(n)||Mh(a)){this[e]=ji(n);return}for(var i in a)hu(n,i)||this.$delete(this.$data[e],i);for(var s in n)this.$set(this.$data[e],s,n[s])}}}},Ph=function(e,r){return{data:function(){return Ch({},r,ji(this[e]))},watch:Ch({},e,DC(r))}};const xh=Ph("$attrs","bvAttrs"),RC=Ph("$listeners","bvListeners");function jC(t){return FC(t)||AC(t)||$C(t)||TC()}function TC(){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 $C(t,e){if(t){if(typeof t=="string")return bu(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 bu(t,e)}}function AC(t){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(t))return Array.from(t)}function FC(t){if(Array.isArray(t))return bu(t)}function bu(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 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 Ne(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){Rh(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 Rh(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"}},Th={prefetch:{type:Boolean,default:null},noPrefetch:{type:Boolean,default:!1}},$h=Rn(Ne(Ne(Ne({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),Th),{},{routerComponentName:{type:String}}),nh),EC=b.extend({name:nh,mixins:[xh,RC,Ii],inheritAttrs:!1,props:$h,computed:{computedTag:function(){var e=this.to,r=this.disabled,n=this.routerComponentName;return SC({to:e,disabled:r,routerComponentName:n},this)},isRouterLink:function(){return Oh(this.computedTag)},computedRel:function(){var e=this.target,r=this.rel;return OC({target:e,rel:r})},computedHref:function(){var e=this.to,r=this.href;return kC({to:e,href:r},this.computedTag)},computedProps:function(){var e=this.prefetch;return this.isRouterLink?Ne(Ne({},wh(Ne(Ne({},jh),Th),this)),{},{prefetch:Uf(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,d=this.isRouterLink;return Ne(Ne(Ne(Ne({},e),r?{href:r}:{}),d&&!Fi(s,"a")?{}:{rel:n,target:i}),{},{tabindex:a?"-1":Di(e.tabindex)?null:e.tabindex,"aria-disabled":a?"true":null})},computedListeners:function(){return Ne(Ne({},this.bvListeners),{},{click:this.onClick})}},methods:{onClick:function(e){var r=arguments,n=fu(e),a=this.isRouterLink,i=this.bvListeners.click;n&&this.disabled?Fn(e,{immediatePropagation:!0}):(a&&e.currentTarget.__vue__&&e.currentTarget.__vue__.$emit("click",e),Ht(i).filter(function(s){return _t(s)}).forEach(function(s){s.apply(void 0,jC(r))}),this.$root.$emit("clicked::link",e)),n&&!a&&this.computedHref==="#"&&Fn(e,{propagation:!1})},focus:function(){Vr(this.$el)},blur:function(){dC(this.$el)}},render:function(e){var r=this.active,n=this.disabled;return e(this.computedTag,Rh({class:{active:r,disabled:n},attrs:this.computedAttrs,props:this.computedProps},this.isRouterLink?"nativeOn":"on",this.computedListeners),this.normalizeSlot())}});function Ah(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 YC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Ah(Object(r),!0).forEach(function(n){mr(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ah(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function mr(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var Li=Yk($h,["event","routerTag"]);delete Li.href.default,delete Li.to.default;var IC=Rn(YC({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}},Li),eh),Fh=function(e){e.type==="focusin"?Br(e.target,"focus"):e.type==="focusout"&&vu(e.target,"focus")},En=function(e){return wC(e)||Fi(e.tag,"a")},Eh=function(e){return Uf(e.pressed)},Yh=function(e){return!(En(e)||e.tag&&!Fi(e.tag,"button"))},Ih=function(e){return!En(e)&&!Yh(e)},NC=function(e){var r;return["btn-".concat(e.variant||"secondary"),(r={},mr(r,"btn-".concat(e.size),e.size),mr(r,"btn-block",e.block),mr(r,"rounded-pill",e.pill),mr(r,"rounded-0",e.squared&&!e.pill),mr(r,"disabled",e.disabled),mr(r,"active",e.pressed),r)]},LC=function(e){return En(e)?wh(Li,e):{}},HC=function(e,r){var n=Yh(e),a=En(e),i=Eh(e),s=Ih(e),d=a&&e.href==="#",f=r.attrs&&r.attrs.role?r.attrs.role:null,u=r.attrs?r.attrs.tabindex:null;return(s||d)&&(u="0"),{type:n&&!a?e.type:null,disabled:n?e.disabled:null,role:s||d?"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":u}},Nh=b.extend({name:eh,functional:!0,props:IC,render:function(e,r){var n=r.props,a=r.data,i=r.listeners,s=r.children,d=Eh(n),f=En(n),u=Ih(n),o=f&&n.href==="#",c={keydown:function(p){if(!(n.disabled||!(u||o))){var v=p.keyCode;if(v===PC||v===CC&&u){var _=p.currentTarget||p.target;Fn(p,{propagation:!1}),_.click()}}},click:function(p){n.disabled&&fu(p)?Fn(p):d&&i&&i["update:pressed"]&&Ht(i["update:pressed"]).forEach(function(v){_t(v)&&v(!n.pressed)})}};d&&(c.focusin=Fh,c.focusout=Fh);var h={staticClass:"btn",class:NC(n),props:LC(n),attrs:HC(n,a),on:c};return e(f?EC:n.tag,Mi(a,h),s)}}),wu=function(e,r){return e?{innerHTML:e}:r?{textContent:r}:{}};const Lh={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 gt={passive:!0,capture:!1};function Hh(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 BC(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Hh(Object(r),!0).forEach(function(n){VC(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Hh(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}function VC(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var WC=function(e,r,n){if(e=e?e.$el||e:null,!le(e)||qk("observeDom"))return null;var a=new oC(function(i){for(var s=!1,d=0;d<i.length&&!s;d++){var f=i[d],u=f.type,o=f.target;(u==="characterData"&&o.nodeType===Node.TEXT_NODE||u==="attributes"||u==="childList"&&(f.addedNodes.length>0||f.removedNodes.length>0))&&(s=!0)}s&&r()});return a.observe(e,BC({childList:!0,subtree:!0},n)),a},UC=function(e){Ae(e,"height",0),Hr(function(){ch(e),Ae(e,"height","".concat(e.scrollHeight,"px"))})},zC=function(e){mh(e,"height")},qC=function(e){Ae(e,"height","auto"),Ae(e,"display","block"),Ae(e,"height","".concat(Yi(e).height,"px")),ch(e),Ae(e,"height",0)},GC=function(e){mh(e,"height")},ZC={css:!0,enterClass:"",enterActiveClass:"collapsing",enterToClass:"collapse show",leaveClass:"collapse show",leaveActiveClass:"collapsing",leaveToClass:"collapse"},XC={enter:UC,afterEnter:zC,leave:qC,afterLeave:GC},JC=b.extend({name:Gk,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",Mi(a,{props:ZC,on:XC},{props:n}),i)}});const Bh={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 QC="bv::toggle::collapse",KC="bv::collapse::state",eM="bv::collapse::sync::state",tM="bv::request::collapse::state",Vh="bv::collapse::accordion",rM=b.extend({name:rh,mixins:[Lh,Bh,Ii],model:{prop:"visible",event:"input"},props:Rn({isNav:{type:Boolean,default:!1},accordion:{type:String},visible:{type:Boolean,default:!1},tag:{type:String,default:"div"},appear:{type:Boolean,default:!1}},rh),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(QC,this.handleToggleEvt),this.listenOnRoot(Vh,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&&$e&&this.setWindowEvents(!1)},methods:{setWindowEvents:function(e){bh(e,window,"resize",this.handleResize,gt),bh(e,window,"orientationchange",this.handleResize,gt)},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(KC,this.safeId(),this.show),this.accordion&&this.show&&this.emitOnRoot(Vh,this.safeId(),this.accordion)},emitSync:function(){this.emitOnRoot(eM,this.safeId(),this.show)},checkDisplayBlock:function(){var e=lC(this.$el,"show");vu(this.$el,"show");var r=Kt(this.$el).display==="block";return e&&Br(this.$el,"show"),r},clickHandler:function(e){var r=e.target;!this.isNav||!r||Kt(this.$el).display!=="block"||(fh(r,".nav-link,.dropdown-item")||hh(".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=Kt(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(Ur,n)]);return e(JC,{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 Wh(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&&Wh(t.prototype,e),r&&Wh(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."));Fk(this,t.Defaults,this.constructor.Defaults,r,{type:e}),Xf(this,{type:Qt(),cancelable:Qt(),nativeEvent:Qt(),target:Qt(),relatedTarget:Qt(),vueTarget:Qt(),componentId:Qt()});var n=!1;this.preventDefault=function(){this.cancelable&&(n=!0)},Ek(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=b.extend({abstract:!0,name:Jk,props:{nodes:{type:[Array,Function]}},data:function(e){return{updatedNodes:e.nodes}},destroyed:function(){sC(this.$el)},render:function(e){var r=_t(this.updatedNodes)?this.updatedNodes({}):this.updatedNodes;return r=Ht(r).filter(Boolean),r&&r.length>0&&!r[0].text?r[0]:e()}}),sM=b.extend({name:Xk,mixins:[Ii],props:{disabled:{type:Boolean,default:!1},container:{type:[String,Vf],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($e){var e=this.container;return hr(e)?dh(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 oM({el:r,parent:this,propsData:{nodes:Ht(this.normalizeSlot())}})}}},updateTarget:function(){if($e&&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=Ht(this.normalizeSlot()).filter(Dn);if(r.length>0&&!r[0].text)return r[0]}return e()}}),nt="$_bv_documentHandlers_";const uM={created:function(){var e=this;$e&&(this[nt]={},this.$once("hook:beforeDestroy",function(){var r=e[nt]||{};delete e[nt],yt(r).forEach(function(n){var a=r[n]||[];a.forEach(function(i){return zr(document,n,i,gt)})})}))},methods:{listenDocument:function(e,r,n){e?this.listenOnDocument(r,n):this.listenOffDocument(r,n)},listenOnDocument:function(e,r){this[nt]&&hr(e)&&_t(r)&&(this[nt][e]=this[nt][e]||[],pu(this[nt][e],r)||(this[nt][e].push(r),Ni(document,e,r,gt)))},listenOffDocument:function(e,r){this[nt]&&hr(e)&&_t(r)&&(zr(document,e,r,gt),this[nt][e]=(this[nt][e]||[]).filter(function(n){return n!==r}))}}};var at="$_bv_windowHandlers_";const lM={beforeCreate:function(){this[at]={}},beforeDestroy:function(){if($e){var e=this[at];delete this[at],yt(e).forEach(function(r){var n=e[r]||[];n.forEach(function(a){return zr(window,r,a,gt)})})}},methods:{listenWindow:function(e,r,n){e?this.listenOnWindow(r,n):this.listenOffWindow(r,n)},listenOnWindow:function(e,r){$e&&this[at]&&hr(e)&&_t(r)&&(this[at][e]=this[at][e]||[],pu(this[at][e],r)||(this[at][e].push(r),Ni(window,e,r,gt)))},listenOffWindow:function(e,r){$e&&this[at]&&hr(e)&&_t(r)&&(zr(window,e,r,gt),this[at][e]=(this[at][e]||[]).filter(function(n){return n!==r}))}}};var cM=function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return e&&e.$options._scopeId||r};function dM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}const fM={computed:{scopedStyleAttrs:function(){var e=cM(this.$parent);return e?dM({},e,""):{}}}};var Uh=1040,Su={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"},hM=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){$e&&(this.getScrollbarWidth(),e>0&&r===0?(this.checkScrollbar(),this.setScrollbar(),Br(document.body,"modal-open")):e===0&&r>0&&(this.resetScrollbar(),vu(document.body,"modal-open")),$n(document.body,"data-modal-open-count",String(e)))},modals:function(e){var r=this;this.checkScrollbar(),Hr(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(fr(this.baseZIndex)&&$e){var e=document.createElement("div");Br(e,"modal-backdrop"),Br(e,"d-none"),Ae(e,"display","none"),document.body.appendChild(e),this.baseZIndex=rC(Kt(e).zIndex,Uh),document.body.removeChild(e)}return this.baseZIndex||Uh},getScrollbarWidth:function(){if(fr(this.scrollbarWidth)&&$e){var e=document.createElement("div");Br(e,"modal-scrollbar-measure"),document.body.appendChild(e),this.scrollbarWidth=Yi(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=Yi(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;Ei(Su.FIXED_CONTENT).forEach(function(a){var i=An(a,"paddingRight")||"";$n(a,"data-padding-right",i),Ae(a,"paddingRight","".concat(Ti(Kt(a).paddingRight,0)+r,"px")),e._paddingChangedForModal.push(a)}),Ei(Su.STICKY_CONTENT).forEach(function(a){var i=An(a,"marginRight")||"";$n(a,"data-margin-right",i),Ae(a,"marginRight","".concat(Ti(Kt(a).marginRight,0)-r,"px")),e._marginChangedForModal.push(a)}),Ei(Su.NAVBAR_TOGGLER).forEach(function(a){var i=An(a,"marginRight")||"";$n(a,"data-margin-right",i),Ae(a,"marginRight","".concat(Ti(Kt(a).marginRight,0)+r,"px")),e._marginChangedForModal.push(a)});var n=An(e,"paddingRight")||"";$n(e,"data-padding-right",n),Ae(e,"paddingRight","".concat(Ti(Kt(e).paddingRight,0)+r,"px"))}},resetScrollbar:function(){var e=document.body;e._paddingChangedForModal&&e._paddingChangedForModal.forEach(function(r){gu(r,"data-padding-right")&&(Ae(r,"paddingRight",yu(r,"data-padding-right")||""),_u(r,"data-padding-right"))}),e._marginChangedForModal&&e._marginChangedForModal.forEach(function(r){gu(r,"data-margin-right")&&(Ae(r,"marginRight",yu(r,"data-margin-right")||""),_u(r,"data-margin-right"))}),e._paddingChangedForModal=null,e._marginChangedForModal=null,gu(e,"data-padding-right")&&(Ae(e,"paddingRight",yu(e,"data-padding-right")||""),_u(e,"data-padding-right"))}}}),Yn=new hM;function Hi(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Hi=function(r){return typeof r}:Hi=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},Hi(t)}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 qh(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){mM(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 mM(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pM(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gh(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 vM(t,e,r){return e&&Gh(t.prototype,e),r&&Gh(t,r),t}function Bi(t,e,r){return typeof Reflect!="undefined"&&Reflect.get?Bi=Reflect.get:Bi=function(a,i,s){var d=_M(a,i);if(d){var f=Object.getOwnPropertyDescriptor(d,i);return f.get?f.get.call(s):f.value}},Bi(t,e,r||t)}function _M(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Gr(t),t!==null););return t}function yM(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&&Ou(t,e)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},Ou(t,e)}function gM(t){var e=wM();return function(){var n=Gr(t),a;if(e){var i=Gr(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return bM(this,a)}}function bM(t,e){return e&&(Hi(e)==="object"||typeof e=="function")?e:Zh(t)}function Zh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wM(){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 Gr(t){return Gr=Object.setPrototypeOf?Object.getPrototypeOf:function(r){return r.__proto__||Object.getPrototypeOf(r)},Gr(t)}var SM=function(t){yM(r,t);var e=gM(r);function r(n){var a,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return pM(this,r),a=e.call(this,n,i),Xf(Zh(a),{trigger:Qt()}),a}return vM(r,null,[{key:"Defaults",get:function(){return qh(qh({},Bi(Gr(r),"Defaults",this)),{},{trigger:null})}}]),r}(iM);function Xh(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 In(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Xh(Object(r),!0).forEach(function(n){qe(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Xh(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 OM={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["style","class"]},kM=Rn({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:[Vf,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 Wf(e)||pu(["ok","cancel","close"],e)}}},ah),CM=b.extend({name:ah,mixins:[xh,Lh,uM,Bh,lM,Ii,fM],inheritAttrs:!1,model:{prop:"visible",event:"change"},props:kM,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:Yn.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 Ht(this.ignoreEnforceFocusSelector).filter(Dn).join(",").trim()},computedAttrs:function(){var e=this.static?{}:this.scopedStyleAttrs;return In(In(In({},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=Yn.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=WC(this.$refs.content,this.checkModalOverflow.bind(this),OM))},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 SM(e,In(In({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=uh($e?[document.body]:[]);return e&&e.focus?e:null},doShow:function(){var e=this;if(Yn.modalsAreOpen&&this.noStacking){this.listenOnRootOnce("bv::modal::hidden",this.doShow);return}Yn.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,Hr(function(){Hr(function(){e.isShow=!0})})},onAfterEnter:function(){var e=this;this.checkModalOverflow(),this.isTransitioning=!1,Hr(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,Yn.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){zr(r,"mouseup",a,gt),i.target===r&&(e.ignoreBackdropClick=!0)};Ni(r,"mouseup",n,gt)},onClickOut:function(e){if(this.ignoreBackdropClick){this.ignoreBackdropClick=!1;return}!this.isVisible||this.noCloseOnBackdrop||!Tn(document.body,e.target)||Tn(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===MC&&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||Tn(r,n)||this.computeIgnoreEnforceFocusSelector&&hh(this.computeIgnoreEnforceFocusSelector,n,!0))){var a=cC(this.$refs.content),i=this.$refs,s=i.bottomTrap,d=i.topTrap;if(s&&n===s){if(Vr(a[0]))return}else if(d&&n===d&&Vr(a[a.length-1]))return;Vr(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;$e&&Hr(function(){var r=e.$refs.modal,n=e.$refs.content,a=e.getActiveElement();if(r&&n&&!(a&&Tn(n,a))){var i=e.$refs["ok-button"],s=e.$refs["cancel-button"],d=e.$refs["close-button"],f=e.autoFocusButton,u=f==="ok"&&i?i.$el||i:f==="cancel"&&s?s.$el||s:f==="close"&&d?d.$el||d:n;Vr(u),u===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=hr(e)?dh(e):e,e&&(e=e.$el||e,Vr(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(yC,{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")?{}:wu(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(Ur,this.slotScope)),s=e();if(!this.hideFooter){var d=this.normalizeSlot("modal-footer",this.slotScope);if(!d){var f=e();this.okOnly||(f=e(Nh,{props:{variant:this.cancelVariant,size:this.buttonSize,disabled:this.cancelDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-cancel")?{}:wu(this.cancelTitleHtml,this.cancelTitle),on:{click:this.onCancel},ref:"cancel-button"},this.normalizeSlot("modal-cancel")));var u=e(Nh,{props:{variant:this.okVariant,size:this.buttonSize,disabled:this.okDisabled||this.busy||this.isTransitioning},domProps:this.hasNormalizedSlot("modal-ok")?{}:wu(this.okTitleHtml,this.okTitle),on:{click:this.onOk},ref:"ok-button"},this.normalizeSlot("modal-ok"));d=[f,u]}s=e("footer",{staticClass:"modal-footer",class:this.footerClasses,attrs:{id:this.modalFooterId},ref:"footer"},[d])}var o=e("div",{staticClass:"modal-content",class:this.contentClass,attrs:{id:this.modalContentId,tabindex:"-1"},ref:"content"},[r,i,s]),c=e(),h=e();this.isVisible&&!this.noEnforceFocus&&(c=e("span",{ref:"topTrap",attrs:{tabindex:"0"}}),h=e("span",{ref:"bottomTrap",attrs:{tabindex:"0"}}));var l=e("div",{staticClass:"modal-dialog",class:this.dialogClasses,on:{mousedown:this.onDialogMousedown},ref:"dialog"},[c,o,h]),p=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"},[l]);p=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}},[p]);var v=e();return!this.hideBackdrop&&this.isVisible&&(v=e("div",{staticClass:"modal-backdrop",attrs:{id:this.modalBackdropId}},this.normalizeSlot("modal-backdrop"))),v=e(pC,{props:{noFade:this.noFade}},[v]),e("div",{style:this.modalOuterStyle,attrs:this.computedAttrs,key:"modal-outer-".concat(this._uid)},[p,v])}},render:function(e){return this.static?this.lazy&&this.isHidden?e():this.makeModal(e):this.isHidden?e():e(sM,[this.makeModal(e)])}});const MM=b.defineComponent({name:"ClaimFreeYearsModalContent",components:{BModal:CM,BCollapse:rM,DefaultSelect:vt},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),d=b.computed(()=>a.value==="2"?"Je hebt schadevrije jaren, maar..":"Bereken je schadevrije jaren!");b.watch(s,l=>{i.value=l});const f=()=>{e("set-claim-free-years",i.value)},u=()=>{i.value="0",f(),o()},o=()=>{r.value=!1,b.nextTick(()=>{a.value="1"})},c=()=>{r.value=!0},h=l=>{a.value=l};return b.onBeforeUnmount(()=>{e("open-claim-free-year-modal",c)}),b.onMounted(()=>{e("open-claim-free-year-modal",c)}),{collapseOpen:n,currentStep:a,isModalOpen:r,claimFreeYears:i,setClaimFreeYears:f,openModal:c,closeModal:o,setStep:h,resetClaimFreeYears:u,title:d}}});var Jh=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)},PM=[];Jh._withStripped=!0;var Qh=se(MM,Jh,PM,!1,null,null,null,null);Qh.options.__file="/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/modals/calculateClaimFreeYears.vue";const Kh=Qh.exports,xM=b.defineComponent({name:"MopedForm",components:{LicensePlate:Fr,AddressHandler:Er,DefaultInput:Lt,DefaultSelect:vt,CalculateClaimFreeYears:Kh,SimpleCard:dr,BirthdateInput:Jt,ErrorHandler:Nt},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:d,currentYear:f,isModalOpen:u,minAge:o,maxAge:c,claimFreeYearsErrorData:h,birthDateYear:l,maxClaimFreeYearsOptions:p,maxClaimFreeYears:v,buttonStyles:_,showCatalogValueField:m,showPurchaseValueField:y,maxPurchaseValue:w,checkClaimFreeYears:j,setClaimFreeYears:G,onLicenseInput:pe,onLicenseError:De,openQuotationModal:Ce,openClaimFreeYearModal:bt,validateBeforeSubmit:U}=Af(t,e);return{HouseInformation:r,licenseInformation:Me,vehicle:n,licenseError:a,showLicenseInfo:i,houseError:s,showHouseInformation:d,currentYear:f,isModalOpen:u,minAge:o,maxAge:c,claimFreeYearsErrorData:h,birthDateYear:l,maxClaimFreeYearsOptions:p,maxClaimFreeYears:v,buttonStyles:_,showCatalogValueField:m,showPurchaseValueField:y,maxPurchaseValue:w,checkClaimFreeYears:j,setClaimFreeYears:G,onLicenseInput:pe,onLicenseError:De,openQuotationModal:Ce,openClaimFreeYearModal:bt,validateBeforeSubmit:U,userInformation:C,mopedState:me}}});var em=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[e.errors.has("purchaseValueForm:required")?r("div",{staticClass:"d-form-error vd-form-error--block mt-2"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Aankoopbedrag is verplicht ")]):e._e(),e.errors.has("purchaseValueForm:min_value")?r("div",{staticClass:"d-form-error vd-form-error--block mt-2"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Aankoopbedrag moet minimaal €500 zijn ")]):e._e(),e.errors.has("purchaseValueForm:max_value")?r("div",{staticClass:"d-form-error vd-form-error--block mt-2"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Aankoopbedrag mag maximaal €"+e._s(e.maxPurchaseValue)+" zijn ")]):e._e()]},proxy:!0}],null,!1,1910516702),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[e.errors.has("catalogValueForm:required")?r("div",{staticClass:"d-form-error vd-form-error--block mt-2"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Cataloguswaarde is verplicht ")]):e._e(),e.errors.has("catalogValueForm:min_value")?r("div",{staticClass:"d-form-error vd-form-error--block mt-2"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Cataloguswaarde moet minimaal €500 zijn ")]):e._e(),e.errors.has("catalogValueForm:max_value")?r("div",{staticClass:"d-form-error vd-form-error--block mt-2"},[r("i",{staticClass:"vd-error-icon fas fa-exclamation-circle mr-1"}),e._v("Cataloguswaarde mag maximaal €19.999 zijn ")]):e._e()]},proxy:!0}],null,!1,237797299),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},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.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.mopedState.claimFreeYears,callback:function(n){e.$set(e.mopedState,"claimFreeYears",n)},expression:"mopedState.claimFreeYears"}})],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)},DM=[];em._withStripped=!0;var tm=se(xM,em,DM,!1,null,null,null,null);tm.options.__file="/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/MopedForm.vue";const RM=tm.exports,jM=b.defineComponent({name:"MopedFormHorizontal",components:{LicensePlate:Fr,AddressHandler:Er,DefaultInput:Lt,DefaultSelect:vt,CalculateClaimFreeYears:Kh,BirthdateInput:Jt,ErrorHandler:Nt},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:d,currentYear:f,isModalOpen:u,minAge:o,maxAge:c,claimFreeYearsErrorData:h,birthDateYear:l,maxClaimFreeYearsOptions:p,maxClaimFreeYears:v,buttonStyles:_,showCatalogValueField:m,showPurchaseValueField:y,maxPurchaseValue:w,checkClaimFreeYears:j,setClaimFreeYears:G,onLicenseInput:pe,onLicenseError:De,openQuotationModal:Ce,openClaimFreeYearModal:bt,validateBeforeSubmit:U}=Af(t,e);return{HouseInformation:r,licenseInformation:Me,vehicle:n,licenseError:a,showLicenseInfo:i,houseError:s,showHouseInformation:d,currentYear:f,isModalOpen:u,minAge:o,maxAge:c,claimFreeYearsErrorData:h,birthDateYear:l,maxClaimFreeYearsOptions:p,maxClaimFreeYears:v,buttonStyles:_,showCatalogValueField:m,showPurchaseValueField:y,maxPurchaseValue:w,checkClaimFreeYears:j,setClaimFreeYears:G,onLicenseInput:pe,onLicenseError:De,openQuotationModal:Ce,openClaimFreeYearModal:bt,validateBeforeSubmit:U,userInformation:C,mopedState:me}}});var rm=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},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.claimFreeYearsErrorData}})]},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)},TM=[];rm._withStripped=!0;var nm=se(jM,rm,TM,!1,null,null,null,null);nm.options.__file="/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/MopedFormHorizontal.vue";const $M=nm.exports,AM=b.defineComponent({name:"EmbeddedApp",components:{MotorForm:LO,MotorFormHorizontal:VO,CreateLoanComparisonForm:nk,UpdateLoanComparisonForm:ok,CarForm:dk,CarFormHorizontal:mk,MopedForm:RM,MopedFormHorizontal:$M},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:On.Vertical,validator:vf},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 d=Df(i,s);window.location.href=d};return bO(b.inject("ITC")),hy(b.inject("$validator")),{submitFormData:r,emitEventHub:n,redirectPage:a}}});var am=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}})},FM=[];am._withStripped=!0;var im=se(AM,am,FM,!1,null,null,null,null);im.options.__file="/Users/mac/Work/comparison-forms/src/core/Embedded.vue";const EM=im.exports;return{install(t){t.component("embedded-comparison-forms",EM)}}});
|