@vergelijkdirect/comparison-forms 1.3.39 → 1.3.40-VER-9126.0

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.
@@ -1141,9 +1141,11 @@ var gw = Ct, yw = (
1141
1141
  url: "/data/kvk/search?" + (r.companyName ? "handelsnaam=".concat(r.companyName) : "kvkNummer=".concat(r.kvkNumber)) + "&pagina=".concat(n, "&aantal=").concat(a)
1142
1142
  });
1143
1143
  }, e.prototype.searchBusinessInfoV2 = function(r, n, a) {
1144
- return n === void 0 && (n = 1), a === void 0 && (a = 30), this.http({
1144
+ n === void 0 && (n = 1), a === void 0 && (a = 30);
1145
+ var i = new URLSearchParams();
1146
+ return r.companyName && i.set("naam", r.companyName), r.kvkNumber && i.set("kvkNummer", String(r.kvkNumber)), i.set("pagina", String(n)), i.set("resultatenPerPagina", String(a)), this.http({
1145
1147
  method: "get",
1146
- url: "/data/kvk/v2/search?" + (r.companyName ? "naam=".concat(r.companyName) : "kvkNummer=".concat(r.kvkNumber)) + "&pagina=".concat(n, "&resultatenPerPagina=").concat(a)
1148
+ url: "/data/kvk/v2/search?".concat(i.toString())
1147
1149
  });
1148
1150
  }, e.prototype.getProfileInfo = function(r) {
1149
1151
  return this.http({
@@ -1718,6 +1720,11 @@ var qw = Ct, Vw = (
1718
1720
  url: "/save",
1719
1721
  data: r
1720
1722
  });
1723
+ }, e.prototype.getPackageStatus = function(r) {
1724
+ return this.http({
1725
+ method: "get",
1726
+ url: "/status/".concat(r)
1727
+ });
1721
1728
  }, e;
1722
1729
  }(qw.default)
1723
1730
  );
@@ -5021,6 +5028,8 @@ function tS() {
5021
5028
  return this.client.addAdditionalUserInfo(d);
5022
5029
  }, s.prototype.annualDiscount = function(d) {
5023
5030
  return this.client.annualDiscount(d);
5031
+ }, s.prototype.getPackageStatus = function(d) {
5032
+ return this.client.getPackageStatus(d);
5024
5033
  }, s.prototype.getRequest = function(d) {
5025
5034
  for (var p = {}, f = 0; f < d.length; f++) {
5026
5035
  var h = (0, a.mapRiskInsurances)(d[f].Category);
@@ -1,5 +1,5 @@
1
1
  (function(b,U){typeof exports=="object"&&typeof module!="undefined"?module.exports=U(require("vue")):typeof define=="function"&&define.amd?define(["vue"],U):(b=typeof globalThis!="undefined"?globalThis:b||self,b.ComparisonForm=U(b.Vue))})(this,function(b){"use strict";var xH=Object.defineProperty,PH=Object.defineProperties;var DH=Object.getOwnPropertyDescriptors;var vb=Object.getOwnPropertySymbols;var AH=Object.prototype.hasOwnProperty,RH=Object.prototype.propertyIsEnumerable;var ii=(b,U)=>(U=Symbol[b])?U:Symbol.for("Symbol."+b),TH=b=>{throw TypeError(b)};var id=(b,U,_)=>U in b?xH(b,U,{enumerable:!0,configurable:!0,writable:!0,value:_}):b[U]=_,Ge=(b,U)=>{for(var _ in U||(U={}))AH.call(U,_)&&id(b,_,U[_]);if(vb)for(var _ of vb(U))RH.call(U,_)&&id(b,_,U[_]);return b},gb=(b,U)=>PH(b,DH(U));var he=(b,U,_)=>id(b,typeof U!="symbol"?U+"":U,_);var L=(b,U,_)=>new Promise((Ie,je)=>{var q=Se=>{try{qe(_.next(Se))}catch(tt){je(tt)}},Fe=Se=>{try{qe(_.throw(Se))}catch(tt){je(tt)}},qe=Se=>Se.done?Ie(Se.value):Promise.resolve(Se.value).then(q,Fe);qe((_=_.apply(b,U)).next())}),dn=function(b,U){this[0]=b,this[1]=U},ad=(b,U,_)=>{var Ie=(Fe,qe,Se,tt)=>{try{var fn=_[Fe](qe),pn=(qe=fn.value)instanceof dn,Ls=fn.done;Promise.resolve(pn?qe[0]:qe).then(mt=>pn?Ie(Fe==="return"?Fe:"next",qe[1]?{done:mt.done,value:mt.value}:mt,Se,tt):Se({value:mt,done:Ls})).catch(mt=>Ie("throw",mt,Se,tt))}catch(mt){tt(mt)}},je=Fe=>q[Fe]=qe=>new Promise((Se,tt)=>Ie(Fe,qe,Se,tt)),q={};return _=_.apply(b,U),q[ii("asyncIterator")]=()=>q,je("next"),je("throw"),je("return"),q},od=b=>{var U=b[ii("asyncIterator")],_=!1,Ie,je={};return U==null?(U=b[ii("iterator")](),Ie=q=>je[q]=Fe=>U[q](Fe)):(U=U.call(b),Ie=q=>je[q]=Fe=>{if(_){if(_=!1,q==="throw")throw Fe;return Fe}return _=!0,{done:!1,value:new dn(new Promise(qe=>{var Se=U[q](Fe);Se instanceof Object||TH("Object expected"),qe(Se)}),1)}}),je[ii("iterator")]=()=>je,Ie("next"),"throw"in U?Ie("throw"):je.throw=q=>{throw q},"return"in U&&Ie("return"),je},yb=(b,U,_)=>(U=b[ii("asyncIterator")])?U.call(b):(b=b[ii("iterator")](),U={},_=(Ie,je)=>(je=b[Ie])&&(U[Ie]=q=>new Promise((Fe,qe,Se)=>(q=je.call(b,q),Se=q.done,Promise.resolve(q.value).then(tt=>Fe({value:tt,done:Se}),qe)))),_("next"),_("return"),U);function U(t,e){for(var r=0;r<e.length;r++){const n=e[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in t)){const a=Object.getOwnPropertyDescriptor(n,i);a&&Object.defineProperty(t,i,a.get?a:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var _=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ie(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function je(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 i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var q={},Fe={},qe={};Object.defineProperty(qe,"__esModule",{value:!0}),function(t){var e=_&&_.__createBinding||(Object.create?function(n,i,a,s){s===void 0&&(s=a);var u=Object.getOwnPropertyDescriptor(i,a);(!u||("get"in u?!i.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return i[a]}}),Object.defineProperty(n,s,u)}:function(n,i,a,s){s===void 0&&(s=a),n[s]=i[a]}),r=_&&_.__exportStar||function(n,i){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(i,a)&&e(i,n,a)};Object.defineProperty(t,"__esModule",{value:!0}),r(qe,t)}(Fe);var Se={},tt={},fn={},pn={};Object.defineProperty(pn,"__esModule",{value:!0});var Ls=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}();pn.default=Ls;var mt={},Bs={},$s={},Ce={},qs={},He={},Ot={},hn={},Hs={},sd=_&&_.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(u){s={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return a},ud=_&&_.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))};Object.defineProperty(Hs,"__esModule",{value:!0});var bb=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(i){return r.apply(void 0,ud([],sd(n.map(function(a){return i.get(a)})),!1))}},t.prototype.service=function(e,r,n){n===void 0&&(n=[]),this.values[e]=function(i){return new(r.bind.apply(r,ud([void 0],sd(n.map(function(a){return i.get(a)})),!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}();Hs.default=bb;var Us={},zs={};(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 i=function(){return i[e.call].apply(i,arguments)},a=Object.getPrototypeOf(n)===Object.prototype,s=n.constructor,u=Object.prototype.hasOwnProperty.call(n,"name");return Object.defineProperty(i,"name",{configurable:!0,enumerable:u,writable:u,value:a?n[e.call].name:s.name}),Object.defineProperties(i,Object.getOwnPropertyDescriptors(n)),a||Object.setPrototypeOf(i,Object.getPrototypeOf(n)),i}e.create=r}(t.Invokable||(t.Invokable={}))})(zs);var We=typeof globalThis!="undefined"&&globalThis||typeof self!="undefined"&&self||typeof global!="undefined"&&global||{},rt={searchParams:"URLSearchParams"in We,iterable:"Symbol"in We&&"iterator"in Symbol,blob:"FileReader"in We&&"Blob"in We&&function(){try{return new Blob,!0}catch(t){return!1}}(),formData:"FormData"in We,arrayBuffer:"ArrayBuffer"in We};function wb(t){return t&&DataView.prototype.isPrototypeOf(t)}if(rt.arrayBuffer)var Sb=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Cb=ArrayBuffer.isView||function(t){return t&&Sb.indexOf(Object.prototype.toString.call(t))>-1};function mn(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 Vs(t){return typeof t!="string"&&(t=String(t)),t}function Ys(t){var e={next:function(){var r=t.shift();return{done:r===void 0,value:r}}};return rt.iterable&&(e[Symbol.iterator]=function(){return e}),e}function Le(t){this.map={},t instanceof Le?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)}Le.prototype.append=function(t,e){t=mn(t),e=Vs(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},Le.prototype.delete=function(t){delete this.map[mn(t)]},Le.prototype.get=function(t){return t=mn(t),this.has(t)?this.map[t]:null},Le.prototype.has=function(t){return this.map.hasOwnProperty(mn(t))},Le.prototype.set=function(t,e){this.map[mn(t)]=Vs(e)},Le.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},Le.prototype.keys=function(){var t=[];return this.forEach(function(e,r){t.push(r)}),Ys(t)},Le.prototype.values=function(){var t=[];return this.forEach(function(e){t.push(e)}),Ys(t)},Le.prototype.entries=function(){var t=[];return this.forEach(function(e,r){t.push([r,e])}),Ys(t)},rt.iterable&&(Le.prototype[Symbol.iterator]=Le.prototype.entries);function Ws(t){if(!t._noBody){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}}function ld(t){return new Promise(function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}})}function Ob(t){var e=new FileReader,r=ld(e);return e.readAsArrayBuffer(t),r}function kb(t){var e=new FileReader,r=ld(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),i=n?n[1]:"utf-8";return e.readAsText(t,i),r}function xb(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 cd(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function dd(){return this.bodyUsed=!1,this._initBody=function(t){this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?typeof t=="string"?this._bodyText=t:rt.blob&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:rt.formData&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:rt.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():rt.arrayBuffer&&rt.blob&&wb(t)?(this._bodyArrayBuffer=cd(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):rt.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(t)||Cb(t))?this._bodyArrayBuffer=cd(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):rt.searchParams&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},rt.blob&&(this.blob=function(){var t=Ws(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=Ws(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(rt.blob)return this.blob().then(Ob);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var t=Ws(this);if(t)return t;if(this._bodyBlob)return kb(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(xb(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},rt.formData&&(this.formData=function(){return this.text().then(Ab)}),this.json=function(){return this.text().then(JSON.parse)},this}var Pb=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Db(t){var e=t.toUpperCase();return Pb.indexOf(e)>-1?e:t}function Fr(t,e){if(!(this instanceof Fr))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 Fr){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new Le(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 Le(e.headers)),this.method=Db(e.method||this.method||"GET"),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in We){var a=new AbortController;return a.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 i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Fr.prototype.clone=function(){return new Fr(this,{body:this._bodyInit})};function Ab(t){var e=new FormData;return t.trim().split("&").forEach(function(r){if(r){var n=r.split("="),i=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");e.append(decodeURIComponent(i),decodeURIComponent(a))}}),e}function Rb(t){var e=new Le,r=t.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
2
- `)===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),a=i.shift().trim();if(a){var s=i.join(":").trim();try{e.append(a,s)}catch(u){console.warn("Response "+u.message)}}}),e}dd.call(Fr.prototype);function Ut(t,e){if(!(this instanceof Ut))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 Le(e.headers),this.url=e.url||"",this._initBody(t)}dd.call(Ut.prototype),Ut.prototype.clone=function(){return new Ut(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Le(this.headers),url:this.url})},Ut.error=function(){var t=new Ut(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var Tb=[301,302,303,307,308];Ut.redirect=function(t,e){if(Tb.indexOf(e)===-1)throw new RangeError("Invalid status code");return new Ut(null,{status:e,headers:{location:t}})};var Lr=We.DOMException;try{new Lr}catch(t){Lr=function(e,r){this.message=e,this.name=r;var n=Error(e);this.stack=n.stack},Lr.prototype=Object.create(Error.prototype),Lr.prototype.constructor=Lr}function fd(t,e){return new Promise(function(r,n){var i=new Fr(t,e);if(i.signal&&i.signal.aborted)return n(new Lr("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var l={statusText:a.statusText,headers:Rb(a.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(a.status<200||a.status>599)?l.status=200:l.status=a.status,l.url="responseURL"in a?a.responseURL:l.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;setTimeout(function(){r(new Ut(o,l))},0)},a.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){n(new Lr("Aborted","AbortError"))},0)};function u(l){try{return l===""&&We.location.href?We.location.href:l}catch(o){return l}}if(a.open(i.method,u(i.url),!0),i.credentials==="include"?a.withCredentials=!0:i.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(rt.blob?a.responseType="blob":rt.arrayBuffer&&(a.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof Le||We.Headers&&e.headers instanceof We.Headers)){var c=[];Object.getOwnPropertyNames(e.headers).forEach(function(l){c.push(mn(l)),a.setRequestHeader(l,Vs(e.headers[l]))}),i.headers.forEach(function(l,o){c.indexOf(o)===-1&&a.setRequestHeader(o,l)})}else i.headers.forEach(function(l,o){a.setRequestHeader(o,l)});i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){a.readyState===4&&i.signal.removeEventListener("abort",s)}),a.send(typeof i._bodyInit=="undefined"?null:i._bodyInit)})}fd.polyfill=!0,We.fetch||(We.fetch=fd,We.Headers=Le,We.Request=Fr,We.Response=Ut),self.fetch.bind(self);var Gi=_&&_.__assign||function(){return Gi=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Gi.apply(this,arguments)},Eb=_&&_.__awaiter||function(t,e,r,n){function i(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function u(o){try{l(n.next(o))}catch(d){s(d)}}function c(o){try{l(n.throw(o))}catch(d){s(d)}}function l(o){o.done?a(o.value):i(o.value).then(u,c)}l((n=n.apply(t,e||[])).next())})},Mb=_&&_.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(l){return function(o){return c([l,o])}}function c(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(o){l=[6,o],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(Us,"__esModule",{value:!0});var Nb=zs,Ib=function(){function t(e,r){this.interceptors={request:new pd,response:new pd},this.cache="default",this.credentials="omit",this.keepalive=!1,this.mode="cors",this.redirect="follow",this.referrerPolicy="no-referrer-when-downgrade",this.baseUrl=e,this.environment=r,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.getDefaultHeaders(),keepalive:this.keepalive,mode:this.mode,redirect:this.redirect,referrerPolicy:this.referrerPolicy}},t.prototype.getDefaultHeaders=function(){var e,r,n={"Content-Type":"application/json",ITC:"true"},i=(e=this.environment)===null||e===void 0?void 0:e.api.credentials;if(!i)return n;var a=(r=i.authType)!==null&&r!==void 0?r:"headers";return(a==="headers"||a==="both")&&(n["X-Partner-Access-Key"]=i.accessKey,n["X-Partner-Secret"]=i.secret),(a==="basic"||a==="both")&&(n.Authorization="Basic ".concat(btoa("".concat(i.accessKey,":").concat(i.secret)))),n},t.prototype.getRequest=function(e){var r=this.getDefaultConfigurations(),n=this.transformer(e);return Gi(Gi({},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(i){return Eb(r,void 0,void 0,function(){return Mb(this,function(a){return i.ok?[2,i.json()]:[2,Promise.reject(i.json())]})})})},t.prototype[Nb.Invokable.call]=function(e){return this.fetchRequest(e)},t}(),pd=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}();Us.default=Ib,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClient=t.Injector=void 0;var e=Hs;Object.defineProperty(t,"Injector",{enumerable:!0,get:function(){return e.default}});var r=Us;Object.defineProperty(t,"HttpClient",{enumerable:!0,get:function(){return r.default}})}(hn),Object.defineProperty(Ot,"__esModule",{value:!0});var hd=hn,jb=zs,Fb=function(){function t(){var e=hd.Injector.instance.get("environment");this.http=jb.Invokable.create(new hd.HttpClient(this.getBaseUrl(e),e))}return t}();Ot.default=Fb;var Br={},Gs={},Ki={};Object.defineProperty(Ki,"__esModule",{value:!0});var Lb=function(){function t(e){this.response=e}return t.prototype.next=function(){return this.response},t}();Ki.default=Lb;var Bb=_&&_.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(u){s={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return a},$b=_&&_.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))};Object.defineProperty(Gs,"__esModule",{value:!0});var qb=Ki,Hb=function(){function t(e){e===void 0&&(e=new qb.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,$b([],Bb(n),!1)):e.push(n)}catch(i){r.push(i)}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}();Gs.default=Hb;var Ks={};Object.defineProperty(Ks,"__esModule",{value:!0});var Ub=function(){function t(e){this.error=e}return t.prototype.next=function(){throw this.error},t}();Ks.default=Ub,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseHandler=t.ErrorHandler=t.RateHandler=void 0;var e=Gs;Object.defineProperty(t,"RateHandler",{enumerable:!0,get:function(){return e.default}});var r=Ks;Object.defineProperty(t,"ErrorHandler",{enumerable:!0,get:function(){return r.default}});var n=Ki;Object.defineProperty(t,"ResponseHandler",{enumerable:!0,get:function(){return n.default}})}(Br);var zb=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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)}}(),Zi=_&&_.__assign||function(){return Zi=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Zi.apply(this,arguments)},md=_&&_.__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(He,"__esModule",{value:!0});var Vb=Ot,vd=hn,Ji=Br,Yb=function(t){zb(e,t);function e(){var r=t.call(this)||this;return r.http.interceptors.request.use(function(n){return n.headers=Zi(Zi({},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=vd.Injector.instance.get("configuration-service");return r.isConfigured()?r.getConfigurations().getServices(this.getCategory(),this.getFunnel()):this.getAvailableServices()},e.prototype.getFunnel=function(){try{return vd.Injector.instance.get("X-Comparison-Funnel")}catch(r){return this.getCategory()}},e.prototype.getRates=function(r){var n,i,a=[];try{for(var s=md(this.getConfiguredServices()),u=s.next();!u.done;u=s.next()){var c=u.value;a.push(this.http({method:"post",url:"/".concat(c,"/rates"),data:r}).then(function(l){return new Ji.ResponseHandler(l)}).catch(function(l){return new Ji.ErrorHandler(l)}))}}catch(l){n={error:l}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return Promise.all(a)},e.prototype.getCoverageRateComparison=function(r,n){var i,a;n===void 0&&(n="");var s=[];try{for(var u=md(this.getConfiguredServices()),c=u.next();!c.done;c=u.next()){var l=c.value;s.push(this.http({method:"post",url:"/".concat(l,"/coverage_rate_comparison/").concat(n),data:r}).then(function(o){return new Ji.ResponseHandler(o)}).catch(function(o){return new Ji.ErrorHandler(o)}))}}catch(o){i={error:o}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return Promise.all(s)},e}(Vb.default);He.default=Yb;var Wb=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(qs,"__esModule",{value:!0});var Gb=He,Kb=function(t){Wb(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.prototype.getBreedsList=function(r){return this.http({method:"get",url:"/vergelijkdirect/breeds?Kind=".concat(r)})},e.prototype.getFiltersList=function(r){return this.http({method:"get",url:"/vergelijkdirect/filters?Kind=".concat(r)})},e}(Gb.default);qs.default=Kb;var Zs={},Zb=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Zs,"__esModule",{value:!0});var Jb=He,Xb=function(t){Zb(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}(Jb.default);Zs.default=Xb;var Js={},Qb=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Js,"__esModule",{value:!0});var ew=Ot,tw=function(t){Qb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2")},e.prototype.findVehicle=function(r,n){var i={Comparison:n,LicensePlate:r};if(["car","motor","moped","caravan"].includes(n))return this.http({method:"get",url:"/data/vehicle/find?"+new URLSearchParams(i)});throw new Error('There is no vehicle data resource for "'.concat(n,'" comparison.'))},e.prototype.checkLicensePlate=function(r,n,i){var a=i.charAt(0).toUpperCase()+i.slice(1)+"SignCode",s={LicensePlate:r,Comparison:i};return s[a]=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.prototype.uploadLoanDocument=function(r,n){return this.http({method:"post",url:"/data/file/loan",data:{comparison_id:r,files:n}})},e.prototype.removeLoanDocument=function(r){return this.http({method:"delete",url:"/data/file/loan/".concat(r)})},e.prototype.searchBusinessInfo=function(r,n,i){return n===void 0&&(n=1),i===void 0&&(i=30),this.http({method:"get",url:"/data/kvk/search?"+(r.companyName?"handelsnaam=".concat(r.companyName):"kvkNummer=".concat(r.kvkNumber))+"&pagina=".concat(n,"&aantal=").concat(i)})},e.prototype.searchBusinessInfoV2=function(r,n,i){return n===void 0&&(n=1),i===void 0&&(i=30),this.http({method:"get",url:"/data/kvk/v2/search?"+(r.companyName?"naam=".concat(r.companyName):"kvkNummer=".concat(r.kvkNumber))+"&pagina=".concat(n,"&resultatenPerPagina=").concat(i)})},e.prototype.getProfileInfo=function(r){return this.http({method:"get",url:"/data/kvk/profile/".concat(r)})},e.prototype.getSBIInfo=function(r){var n=r.MainSBI,i=r.OtherSBI,a=i===void 0?[]:i,s=new URLSearchParams;return s.append("MainSBI",n),a.forEach(function(u){return s.append("OtherSBI[]",u)}),this.http({method:"get",url:"/data/kvk/sbi/info?".concat(s.toString())})},e.prototype.sentKickbiteTracking=function(r){return this.http({method:"post",url:"/data/kickbite-tracking",data:r})},e.prototype.getProfessions=function(r){return r===void 0&&(r=""),this.http({method:"get",url:"/data/professions?sbiCode=".concat(r)})},e}(ew.default);Js.default=tw;var Xs={},rw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Xs,"__esModule",{value:!0});var nw=He,iw=function(t){rw(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}(nw.default);Xs.default=iw;var Qs={},aw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Qs,"__esModule",{value:!0});var ow=He,sw=function(t){aw(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","unigarant"]},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.prototype.getUnigarantAdditionalCoverages=function(r){return this.http({method:"post",url:"/unigarant/additional_coverages",data:r})},e}(ow.default);Qs.default=sw;var eu={},uw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(eu,"__esModule",{value:!0});var lw=He,cw=function(t){uw(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","voogd"]},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.prototype.getVoogdAdditionalCoverages=function(r){return this.http({method:"post",url:"/voogd/additional_coverages",data:r})},e}(lw.default);eu.default=cw;var tu={},dw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(tu,"__esModule",{value:!0});var fw=He,pw=function(t){dw(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"car-business"},e.prototype.getAvailableServices=function(){return["risk","rolls","voogd"]},e.prototype.getRollsBusinessInfo=function(){return this.http({method:"get",url:"/rolls/info"})},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getRollsAdditionalCoverages=function(r){return this.http({method:"post",url:"/rolls/additional_coverages",data:r})},e.prototype.getVoogdAdditionalCoverages=function(r){return this.http({method:"post",url:"/voogd/additional_coverages",data:r})},e}(fw.default);tu.default=pw;var ru={},hw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(ru,"__esModule",{value:!0});var mw=He,vw=function(t){hw(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","ominimo","voogd"]},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.prototype.getOminimoAdditionalCoverages=function(r){return this.http({method:"post",url:"/ominimo/additional_coverages",data:r})},e.prototype.getVoogdAdditionalCoverages=function(r){return this.http({method:"post",url:"/voogd/additional_coverages",data:r})},e}(mw.default);ru.default=vw;var nu={},gw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(nu,"__esModule",{value:!0});var yw=He,_w=function(t){gw(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.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data: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}(yw.default);nu.default=_w;var iu={},bw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(iu,"__esModule",{value:!0});var gd=Br,ww=He,Sw=function(t){bw(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","fietszeker"]},e.prototype.getEnraRates=function(r){return this.http({method:"post",url:"/enra/rates",data:r}).then(function(n){return new gd.ResponseHandler(n)}).catch(function(n){return new gd.ErrorHandler(n)})},e}(ww.default);iu.default=Sw;var au={},Cw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(au,"__esModule",{value:!0});var Ow=Ot,kw=function(t){Cw(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}(Ow.default);au.default=kw;var ou={},xw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(ou,"__esModule",{value:!0});var Pw=He,Dw=function(t){xw(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}(Pw.default);ou.default=Dw;var su={},Aw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(su,"__esModule",{value:!0});var yd=Br,Rw=He,Tw=function(t){Aw(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 yd.ResponseHandler(n)}).catch(function(n){return new yd.ErrorHandler(n)})},e}(Rw.default);su.default=Tw;var uu={},Ew=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(uu,"__esModule",{value:!0});var Mw=He,Nw=function(t){Ew(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"business-liability"},e.prototype.getAvailableServices=function(){return["vergelijkdirect"]},e}(Mw.default);uu.default=Nw;var lu={},Iw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(lu,"__esModule",{value:!0});var jw=He,Fw=function(t){Iw(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","nn"]},e}(jw.default);lu.default=Fw;var cu={},Lw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(cu,"__esModule",{value:!0});var Bw=He,$w=function(t){Lw(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}(Bw.default);cu.default=$w;var du={},qw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(du,"__esModule",{value:!0});var Hw=Ot,Uw=function(t){qw(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}(Hw.default);du.default=Uw;var fu={},zw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(fu,"__esModule",{value:!0});var Vw=Ot,Yw=function(t){zw(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}(Vw.default);fu.default=Yw;var pu={},Ww=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(pu,"__esModule",{value:!0});var Gw=Ot,Kw=function(t){Ww(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}(Gw.default);pu.default=Kw;var hu={},Zw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(hu,"__esModule",{value:!0});var Jw=Ot,Xw=function(t){Zw(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}(Jw.default);hu.default=Xw;var mu={},Qw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(mu,"__esModule",{value:!0});var e0=Ot,t0=function(t){Qw(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.validatePhone=function(r){return this.http({method:"post",url:"/phone/validate",data:{phone:r}})},e.prototype.validateIBAN=function(r){return this.http({method:"post",url:"/iban/validate",data:{iban:r}})},e.prototype.validateZipCode=function(r,n,i){return i===void 0&&(i=""),this.http({method:"post",url:"/zipcode/validate",data:{ZipCode:r,HouseNumber:n,HouseNumberAddition:i}})},e}(e0.default);mu.default=t0;var Xi={},r0=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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 n0=Ot,i0=function(t){r0(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.getReviews=function(){return this.http({method:"get",url:"/google/reviews"})},e}(n0.default);Xi.default=i0,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleResource=t.DataValidationResource=t.ComparisonResource=t.DocumentResource=t.ComparisonModuleResource=t.PartnerResource=t.LegalAssistanceResource=t.LiabilityResource=t.BusinessLiabilityResource=t.HousingResource=t.HouseholdResource=t.PackageResource=t.BikeResource=t.CaravanResource=t.CarResource=t.BusinessCarResource=t.MotorResource=t.MopedResource=t.HomeResource=t.DataResource=t.LoanResource=t.PetResource=void 0;var e=qs;Object.defineProperty(t,"PetResource",{enumerable:!0,get:function(){return e.default}});var r=Zs;Object.defineProperty(t,"LoanResource",{enumerable:!0,get:function(){return r.default}});var n=Js;Object.defineProperty(t,"DataResource",{enumerable:!0,get:function(){return n.default}});var i=Xs;Object.defineProperty(t,"HomeResource",{enumerable:!0,get:function(){return i.default}});var a=Qs;Object.defineProperty(t,"MopedResource",{enumerable:!0,get:function(){return a.default}});var s=eu;Object.defineProperty(t,"MotorResource",{enumerable:!0,get:function(){return s.default}});var u=tu;Object.defineProperty(t,"BusinessCarResource",{enumerable:!0,get:function(){return u.default}});var c=ru;Object.defineProperty(t,"CarResource",{enumerable:!0,get:function(){return c.default}});var l=nu;Object.defineProperty(t,"CaravanResource",{enumerable:!0,get:function(){return l.default}});var o=iu;Object.defineProperty(t,"BikeResource",{enumerable:!0,get:function(){return o.default}});var d=au;Object.defineProperty(t,"PackageResource",{enumerable:!0,get:function(){return d.default}});var p=ou;Object.defineProperty(t,"HouseholdResource",{enumerable:!0,get:function(){return p.default}});var f=su;Object.defineProperty(t,"HousingResource",{enumerable:!0,get:function(){return f.default}});var h=uu;Object.defineProperty(t,"BusinessLiabilityResource",{enumerable:!0,get:function(){return h.default}});var v=lu;Object.defineProperty(t,"LiabilityResource",{enumerable:!0,get:function(){return v.default}});var g=cu;Object.defineProperty(t,"LegalAssistanceResource",{enumerable:!0,get:function(){return g.default}});var m=du;Object.defineProperty(t,"PartnerResource",{enumerable:!0,get:function(){return m.default}});var y=fu;Object.defineProperty(t,"ComparisonModuleResource",{enumerable:!0,get:function(){return y.default}});var w=pu;Object.defineProperty(t,"DocumentResource",{enumerable:!0,get:function(){return w.default}});var O=hu;Object.defineProperty(t,"ComparisonResource",{enumerable:!0,get:function(){return O.default}});var C=mu;Object.defineProperty(t,"DataValidationResource",{enumerable:!0,get:function(){return C.default}});var D=Xi;Object.defineProperty(t,"GoogleResource",{enumerable:!0,get:function(){return D.default}})}(Ce);var vn=_&&_.__awaiter||function(t,e,r,n){function i(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function u(o){try{l(n.next(o))}catch(d){s(d)}}function c(o){try{l(n.throw(o))}catch(d){s(d)}}function l(o){o.done?a(o.value):i(o.value).then(u,c)}l((n=n.apply(t,e||[])).next())})},gn=_&&_.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(l){return function(o){return c([l,o])}}function c(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(o){l=[6,o],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty($s,"__esModule",{value:!0});var a0=Ce,o0=function(){function t(){this.client=new a0.DataResource}return t.prototype.calculateMaximumLoanAmount=function(e){return vn(this,void 0,void 0,function(){return gn(this,function(r){return[2,this.client.calculateMaximumLoanAmount(e)]})})},t.prototype.uploadLoanDocument=function(e,r){return vn(this,void 0,void 0,function(){return gn(this,function(n){return[2,this.client.uploadLoanDocument(e,r)]})})},t.prototype.removeLoanDocument=function(e){return vn(this,void 0,void 0,function(){return gn(this,function(r){return[2,this.client.removeLoanDocument(e)]})})},t.prototype.findVehicle=function(e,r){return vn(this,void 0,void 0,function(){return gn(this,function(n){return[2,this.client.findVehicle(e,r)]})})},t.prototype.checkLicensePlate=function(e,r,n){return vn(this,void 0,void 0,function(){return gn(this,function(i){return[2,this.client.checkLicensePlate(e,r,n)]})})},t.prototype.validateIBAN=function(e){return vn(this,void 0,void 0,function(){return gn(this,function(r){return[2,this.client.validateIBAN(e)]})})},t.prototype.searchBusinessInfo=function(e,r,n){return r===void 0&&(r=1),n===void 0&&(n=30),this.client.searchBusinessInfo(e,r,n)},t.prototype.searchBusinessInfoV2=function(e,r,n){return r===void 0&&(r=1),n===void 0&&(n=30),this.client.searchBusinessInfoV2(e,r,n)},t.prototype.getProfileInfo=function(e){return this.client.getProfileInfo(e)},t.prototype.getSBIInfo=function(e){return this.client.getSBIInfo(e)},t.prototype.sentKickbiteTracking=function(e){return this.client.sentKickbiteTracking(e)},t.prototype.getProfessions=function(e){return e===void 0&&(e=""),this.client.getProfessions(e)},t}();$s.default=o0;var ai={},s0=_&&_.__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(ai,"__esModule",{value:!0});var _d=Br,u0=function(){function t(){}return t.prototype.handleRates=function(e){var r,n,i=[new _d.RateHandler],a=0;try{for(var s=s0(e),u=s.next();!u.done;u=s.next()){var c=u.value;c!==void 0&&(i.push(i[a].setNext(new _d.RateHandler(c))),a++)}}catch(l){r={error:l}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return i[0].handle()},t}();ai.default=u0;var Qi={},Ke={},ea={};Object.defineProperty(ea,"__esModule",{value:!0});var l0={price:function(t,e){return t.Price-e.Price},coverage:function(t,e){return t.Price-e.Price}};ea.default=l0;var vu={},gu={};Object.defineProperty(gu,"__esModule",{value:!0}),gu.default=function(t,e,r){return Array.from({length:~~((e-t)/r)+1},function(n,i){return t+i*r})};var bd=_&&_.__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(vu,"__esModule",{value:!0});var wd=ea,c0=gu;vu.default=function(t){for(var e,r,n,i,a=[],s=1,u=0;u<t.length;u++){var c=parseInt(Object.keys(t[u]).sort().pop());c>s&&(s=c)}try{for(var l=bd((0,c0.default)(1,s,1)),o=l.next();!o.done;o=l.next()){var d=o.value,p=[];try{for(var f=(n=void 0,bd(t)),h=f.next();!h.done;h=f.next()){var v=h.value;v.hasOwnProperty(d)&&p.push(v[d])}}catch(g){n={error:g}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}p.length>=1&&(p.sort(wd.default.price),a.push(p.shift())),p=[]}}catch(g){e={error:g}}finally{try{o&&!o.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}return a.length>=2&&a.sort(wd.default.coverage),a},function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.compareRateByCoverage=t.sortBy=void 0;var e=ea;Object.defineProperty(t,"sortBy",{enumerable:!0,get:function(){return e.default}});var r=vu;Object.defineProperty(t,"compareRateByCoverage",{enumerable:!0,get:function(){return r.default}})}(Ke);var Sd;function d0(){if(Sd)return Qi;Sd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Qi,"__esModule",{value:!0});var n=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.PetResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("pet",p.sort(a.sortBy.price))]}})})},l.prototype.getPetsecureAdditionalCoverages=function(o){return this.client.getPetsecurAdditionalCoverages(o)},l.prototype.getBreedsList=function(o){return this.client.getBreedsList(o)},l.prototype.getFiltersList=function(o){return this.client.getFiltersList(o)},l}(s.RateService);return Qi.default=u,Qi}var ta={},Cd;function f0(){if(Cd)return ta;Cd=1;var t=_&&_.__extends||function(){var u=function(c,l){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(o[p]=d[p])},u(c,l)};return function(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");u(c,l);function o(){this.constructor=c}c.prototype=l===null?Object.create(l):(o.prototype=l.prototype,new o)}}(),e=_&&_.__awaiter||function(u,c,l,o){function d(p){return p instanceof l?p:new l(function(f){f(p)})}return new(l||(l=Promise))(function(p,f){function h(m){try{g(o.next(m))}catch(y){f(y)}}function v(m){try{g(o.throw(m))}catch(y){f(y)}}function g(m){m.done?p(m.value):d(m.value).then(h,v)}g((o=o.apply(u,c||[])).next())})},r=_&&_.__generator||function(u,c){var l={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},o,d,p,f;return f={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function h(g){return function(m){return v([g,m])}}function v(g){if(o)throw new TypeError("Generator is already executing.");for(;f&&(f=0,g[0]&&(l=0)),l;)try{if(o=1,d&&(p=g[0]&2?d.return:g[0]?d.throw||((p=d.return)&&p.call(d),0):d.next)&&!(p=p.call(d,g[1])).done)return p;switch(d=0,p&&(g=[g[0]&2,p.value]),g[0]){case 0:case 1:p=g;break;case 4:return l.label++,{value:g[1],done:!1};case 5:l.label++,d=g[1],g=[0];continue;case 7:g=l.ops.pop(),l.trys.pop();continue;default:if(p=l.trys,!(p=p.length>0&&p[p.length-1])&&(g[0]===6||g[0]===2)){l=0;continue}if(g[0]===3&&(!p||g[1]>p[0]&&g[1]<p[3])){l.label=g[1];break}if(g[0]===6&&l.label<p[1]){l.label=p[1],p=g;break}if(p&&l.label<p[2]){l.label=p[2],l.ops.push(g);break}p[2]&&l.ops.pop(),l.trys.pop();continue}g=c.call(u,l)}catch(m){g=[6,m],d=0}finally{o=p=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}};Object.defineProperty(ta,"__esModule",{value:!0});var n=G(),i=Ue(),a=Ce,s=function(u){t(c,u);function c(){var l=u.call(this)||this;return l.client=new a.LoanResource,l}return c.prototype.getRates=function(l){return e(this,void 0,void 0,function(){var o,d;return r(this,function(p){switch(p.label){case 0:return[4,this.client.getRates(l)];case 1:return o=p.sent(),d=this.handleRates(o),[2,new n.RateCollection("loan",d)]}})})},c.prototype.getFieldValues=function(l){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.getFieldValues(l)]})})},c.prototype.loanRequest=function(l){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.loanRequest(l)]})})},c}(i.RateService);return ta.default=s,ta}var ra={},Od;function p0(){if(Od)return ra;Od=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(ra,"__esModule",{value:!0});var n=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.HomeResource,o}return l.prototype.findHome=function(o){return this.client.findHome(o)},l.prototype.getAddition=function(o){return this.client.getAddition(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("home",p.sort(a.sortBy.price))]}})})},l.prototype.getAmount=function(o){return this.client.getAmount(o)},l}(s.RateService);return ra.default=u,ra}var na={},kd;function h0(){if(kd)return na;kd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.MopedResource,o}return l.prototype.findMoped=function(o){return this.client.findMoped(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("moped",p.sort(a.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("moped",(0,a.compareRateByCoverage)(p))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},l.prototype.getEnraAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getEnraAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l.prototype.getUnigarantAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getUnigarantAdditionalCoverages(o)]})})},l}(s.RateService);return na.default=u,na}var ia={},xd;function m0(){if(xd)return ia;xd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(ia,"__esModule",{value:!0});var n=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.MotorResource,o}return l.prototype.findMotor=function(o){return this.client.findMotor(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("motor",p.sort(a.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("motor",(0,a.compareRateByCoverage)(p))]}})})},l.prototype.getCoverageRateComparisonForCoverage=function(o,d){return e(this,void 0,void 0,function(){var p,f;return r(this,function(h){switch(h.label){case 0:return[4,this.client.getCoverageRateComparison(d,o)];case 1:return p=h.sent(),f=this.handleRates(p),[2,new i.RateCollection("motor",(0,a.compareRateByCoverage)(f))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},l.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},l.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRollsAdditionalCoverages(o)]})})},l.prototype.getVoogdAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVoogdAdditionalCoverages(o)]})})},l}(s.RateService);return ia.default=u,ia}var aa={},Pd;function v0(){if(Pd)return aa;Pd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(aa,"__esModule",{value:!0});var n=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.CaravanResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("caravan",p.sort(a.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("caravan",(0,a.compareRateByCoverage)(p))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getCaravanBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanBrands(o)]})})},l.prototype.getCaravanVDBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanVDBrands(o)]})})},l.prototype.getCaravanModels=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanModels(o)]})})},l.prototype.getCaravanTypes=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanTypes(o)]})})},l.prototype.getCaravanCatalogPrice=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanCatalogPrice(o)]})})},l}(s.RateService);return aa.default=u,aa}var oa={},Dd;function g0(){if(Dd)return oa;Dd=1;var t=_&&_.__extends||function(){var l=function(o,d){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,f){p.__proto__=f}||function(p,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(p[h]=f[h])},l(o,d)};return function(o,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");l(o,d);function p(){this.constructor=o}o.prototype=d===null?Object.create(d):(p.prototype=d.prototype,new p)}}(),e=_&&_.__awaiter||function(l,o,d,p){function f(h){return h instanceof d?h:new d(function(v){v(h)})}return new(d||(d=Promise))(function(h,v){function g(w){try{y(p.next(w))}catch(O){v(O)}}function m(w){try{y(p.throw(w))}catch(O){v(O)}}function y(w){w.done?h(w.value):f(w.value).then(g,m)}y((p=p.apply(l,o||[])).next())})},r=_&&_.__generator||function(l,o){var d={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},p,f,h,v;return v={next:g(0),throw:g(1),return:g(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function g(y){return function(w){return m([y,w])}}function m(y){if(p)throw new TypeError("Generator is already executing.");for(;v&&(v=0,y[0]&&(d=0)),d;)try{if(p=1,f&&(h=y[0]&2?f.return:y[0]?f.throw||((h=f.return)&&h.call(f),0):f.next)&&!(h=h.call(f,y[1])).done)return h;switch(f=0,h&&(y=[y[0]&2,h.value]),y[0]){case 0:case 1:h=y;break;case 4:return d.label++,{value:y[1],done:!1};case 5:d.label++,f=y[1],y=[0];continue;case 7:y=d.ops.pop(),d.trys.pop();continue;default:if(h=d.trys,!(h=h.length>0&&h[h.length-1])&&(y[0]===6||y[0]===2)){d=0;continue}if(y[0]===3&&(!h||y[1]>h[0]&&y[1]<h[3])){d.label=y[1];break}if(y[0]===6&&d.label<h[1]){d.label=h[1],h=y;break}if(h&&d.label<h[2]){d.label=h[2],d.ops.push(y);break}h[2]&&d.ops.pop(),d.trys.pop();continue}y=o.call(l,d)}catch(w){y=[6,w],f=0}finally{p=h=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}};Object.defineProperty(oa,"__esModule",{value:!0});var n=Ce,i=G(),a=Br,s=Ke,u=ai,c=function(l){t(o,l);function o(){var d=l.call(this)||this;return d.client=new n.BikeResource,d}return o.prototype.getRates=function(d){return e(this,void 0,void 0,function(){var p,f;return r(this,function(h){switch(h.label){case 0:return[4,this.client.getRates(d)];case 1:return p=h.sent(),f=this.handleRates(p),[2,new i.RateCollection("bike",f.sort(s.sortBy.price))]}})})},o.prototype.getEnraRates=function(d){return e(this,void 0,void 0,function(){var p,f,h;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getEnraRates(d)];case 1:return p=v.sent(),f=new a.RateHandler(p),h=f.handle(),[2,new i.RateCollection("bike",h.sort(s.sortBy.price))]}})})},o}(u.default);return oa.default=c,oa}var sa={},Ad;function y0(){if(Ad)return sa;Ad=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.HouseholdResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("household",p.sort(a.sortBy.price))]}})})},l.prototype.getAmount=function(o){return this.client.getAmount(o)},l}(s.RateService);return sa.default=u,sa}var yu={},_u={},_0=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(_u,"__esModule",{value:!0});var b0=He,w0=function(t){_0(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,i){return this.http({method:"get",url:"/health/package/".concat(r,"/").concat(n,"?")+new URLSearchParams(i)})},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}(b0.default);_u.default=w0,Object.defineProperty(yu,"__esModule",{value:!0});var S0=_u,C0=function(){function t(){this.client=new S0.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}();yu.default=C0;var ua={},Rd;function O0(){if(Rd)return ua;Rd=1;var t=_&&_.__extends||function(){var l=function(o,d){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,f){p.__proto__=f}||function(p,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(p[h]=f[h])},l(o,d)};return function(o,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");l(o,d);function p(){this.constructor=o}o.prototype=d===null?Object.create(d):(p.prototype=d.prototype,new p)}}(),e=_&&_.__awaiter||function(l,o,d,p){function f(h){return h instanceof d?h:new d(function(v){v(h)})}return new(d||(d=Promise))(function(h,v){function g(w){try{y(p.next(w))}catch(O){v(O)}}function m(w){try{y(p.throw(w))}catch(O){v(O)}}function y(w){w.done?h(w.value):f(w.value).then(g,m)}y((p=p.apply(l,o||[])).next())})},r=_&&_.__generator||function(l,o){var d={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},p,f,h,v;return v={next:g(0),throw:g(1),return:g(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function g(y){return function(w){return m([y,w])}}function m(y){if(p)throw new TypeError("Generator is already executing.");for(;v&&(v=0,y[0]&&(d=0)),d;)try{if(p=1,f&&(h=y[0]&2?f.return:y[0]?f.throw||((h=f.return)&&h.call(f),0):f.next)&&!(h=h.call(f,y[1])).done)return h;switch(f=0,h&&(y=[y[0]&2,h.value]),y[0]){case 0:case 1:h=y;break;case 4:return d.label++,{value:y[1],done:!1};case 5:d.label++,f=y[1],y=[0];continue;case 7:y=d.ops.pop(),d.trys.pop();continue;default:if(h=d.trys,!(h=h.length>0&&h[h.length-1])&&(y[0]===6||y[0]===2)){d=0;continue}if(y[0]===3&&(!h||y[1]>h[0]&&y[1]<h[3])){d.label=y[1];break}if(y[0]===6&&d.label<h[1]){d.label=h[1],h=y;break}if(h&&d.label<h[2]){d.label=h[2],d.ops.push(y);break}h[2]&&d.ops.pop(),d.trys.pop();continue}y=o.call(l,d)}catch(w){y=[6,w],f=0}finally{p=h=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}};Object.defineProperty(ua,"__esModule",{value:!0});var n=Ce,i=G(),a=Br,s=Ke,u=Ue(),c=function(l){t(o,l);function o(){var d=l.call(this)||this;return d.client=new n.HousingResource,d}return o.prototype.getRates=function(d){return e(this,void 0,void 0,function(){var p,f;return r(this,function(h){switch(h.label){case 0:return[4,this.client.getRates(d)];case 1:return p=h.sent(),f=this.handleRates(p),[2,new i.RateCollection("housing",f.sort(s.sortBy.price))]}})})},o.prototype.getMoneyviewRates=function(d){return e(this,void 0,void 0,function(){var p,f,h;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getMoneyviewRates(d)];case 1:return p=v.sent(),f=new a.RateHandler(p),h=f.handle(),[2,new i.RateCollection("housing",h.sort(s.sortBy.price))]}})})},o}(u.RateService);return ua.default=c,ua}var la={},Td;function k0(){if(Td)return la;Td=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.BusinessLiabilityResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("business-liability",p.sort(a.sortBy.price))]}})})},l}(s.RateService);return la.default=u,la}var ca={},Ed;function x0(){if(Ed)return ca;Ed=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(ca,"__esModule",{value:!0});var n=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.LiabilityResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("liability",p.sort(a.sortBy.price))]}})})},l}(s.RateService);return ca.default=u,ca}var da={},Md;function P0(){if(Md)return da;Md=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.LegalAssistanceResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("legal-assistance",p.sort(a.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},l.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return this.client.getVergelijkdirectAdditionalCoverages(o)},l}(s.RateService);return da.default=u,da}var bu={};Object.defineProperty(bu,"__esModule",{value:!0});var D0=Ce,A0=function(){function t(){this.client=new D0.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}();bu.default=A0;var wu={};Object.defineProperty(wu,"__esModule",{value:!0});var R0=Ce,T0=function(){function t(){this.client=new R0.ComparisonModuleResource}return t.prototype.getInitializationData=function(){return this.client.getInitializationData()},t.prototype.getScriptSource=function(){return this.client.getScriptSource()},t}();wu.default=T0;var fa={},Su={},Cu={};Object.defineProperty(Cu,"__esModule",{value:!0});var E0=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}();Cu.default=E0;var pa={},Nd;function M0(){if(Nd)return pa;Nd=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(pa,"__esModule",{value:!0});var e=jd(),r=function(n){t(i,n);function i(){var a={id:0,afm_license_number:null,insuranceLogos:{},comparisonLinks:[],configurations:{},partner_pixels:[]};return n.call(this,a)||this}return i}(e.ConfigurationModel);return pa.default=r,pa}var Id;function jd(){return Id||(Id=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultConfigurationModel=t.ConfigurationModel=void 0;var e=Cu;Object.defineProperty(t,"ConfigurationModel",{enumerable:!0,get:function(){return e.default}});var r=M0();Object.defineProperty(t,"DefaultConfigurationModel",{enumerable:!0,get:function(){return r.default}})}(Su)),Su}var Fd;function N0(){if(Fd)return fa;Fd=1;var t=_&&_.__awaiter||function(a,s,u,c){function l(o){return o instanceof u?o:new u(function(d){d(o)})}return new(u||(u=Promise))(function(o,d){function p(v){try{h(c.next(v))}catch(g){d(g)}}function f(v){try{h(c.throw(v))}catch(g){d(g)}}function h(v){v.done?o(v.value):l(v.value).then(p,f)}h((c=c.apply(a,s||[])).next())})},e=_&&_.__generator||function(a,s){var u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},c,l,o,d;return d={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function p(h){return function(v){return f([h,v])}}function f(h){if(c)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(u=0)),u;)try{if(c=1,l&&(o=h[0]&2?l.return:h[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,h[1])).done)return o;switch(l=0,o&&(h=[h[0]&2,o.value]),h[0]){case 0:case 1:o=h;break;case 4:return u.label++,{value:h[1],done:!1};case 5:u.label++,l=h[1],h=[0];continue;case 7:h=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(h[0]===6||h[0]===2)){u=0;continue}if(h[0]===3&&(!o||h[1]>o[0]&&h[1]<o[3])){u.label=h[1];break}if(h[0]===6&&u.label<o[1]){u.label=o[1],o=h;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(h);break}o[2]&&u.ops.pop(),u.trys.pop();continue}h=s.call(a,u)}catch(v){h=[6,v],l=0}finally{c=o=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}};Object.defineProperty(fa,"__esModule",{value:!0});var r=Ue(),n=jd(),i=function(){function a(){this.configured=!1,this.configuration=new n.DefaultConfigurationModel,this.configurationService=new r.ComparisonModuleService}return a.prototype.configure=function(){return t(this,void 0,void 0,function(){var s,u,c;return e(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,this.configurationService.getInitializationData()];case 1:return s=l.sent(),u=new n.ConfigurationModel(s),this.setConfigurations(u),[3,3];case 2:return c=l.sent(),console.error(c),[3,3];case 3:return[2]}})})},a.prototype.isConfigured=function(){return this.configured},a.prototype.setConfigurations=function(s){this.configuration=s,this.configured=!0},a.prototype.getConfigurations=function(){return this.configuration},a}();return fa.default=i,fa}var ha={},ma={},Ou={};Object.defineProperty(Ou,"__esModule",{value:!0});function I0(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,i){return n[r[i]]=i,n},{})),r[t]}Ou.default=I0;var ku={};Object.defineProperty(ku,"__esModule",{value:!0}),ku.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=Ou;Object.defineProperty(t,"mapRiskInsurances",{enumerable:!0,get:function(){return e.default}});var r=ku;Object.defineProperty(t,"insuranceKeyConfig",{enumerable:!0,get:function(){return r.default}})}(ma);var yn={},j0=_&&_.__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.")},F0=_&&_.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(u){s={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return a};Object.defineProperty(yn,"__esModule",{value:!0}),yn.supplierPlacementTracker=void 0,yn.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")},getSubId:function(){var t=new URLSearchParams(window.location.search),e=t.get("subid")||this.getCookie("ivanhoe_id");return e&&e.includes("ivan")?e:""},getCookie:function(t){var e,r,n=document.cookie.split(";");try{for(var i=j0(n),a=i.next();!a.done;a=i.next()){var s=a.value,u=F0(s.trim().split("=")),c=u[0],l=u.slice(1);if(c===t)return decodeURIComponent(l.join("="))}}catch(o){e={error:o}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return""}};var Ld;function L0(){if(Ld)return ha;Ld=1;var t=_&&_.__awaiter||function(o,d,p,f){function h(v){return v instanceof p?v:new p(function(g){g(v)})}return new(p||(p=Promise))(function(v,g){function m(O){try{w(f.next(O))}catch(C){g(C)}}function y(O){try{w(f.throw(O))}catch(C){g(C)}}function w(O){O.done?v(O.value):h(O.value).then(m,y)}w((f=f.apply(o,d||[])).next())})},e=_&&_.__generator||function(o,d){var p={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]},f,h,v,g;return g={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function m(w){return function(O){return y([w,O])}}function y(w){if(f)throw new TypeError("Generator is already executing.");for(;g&&(g=0,w[0]&&(p=0)),p;)try{if(f=1,h&&(v=w[0]&2?h.return:w[0]?h.throw||((v=h.return)&&v.call(h),0):h.next)&&!(v=v.call(h,w[1])).done)return v;switch(h=0,v&&(w=[w[0]&2,v.value]),w[0]){case 0:case 1:v=w;break;case 4:return p.label++,{value:w[1],done:!1};case 5:p.label++,h=w[1],w=[0];continue;case 7:w=p.ops.pop(),p.trys.pop();continue;default:if(v=p.trys,!(v=v.length>0&&v[v.length-1])&&(w[0]===6||w[0]===2)){p=0;continue}if(w[0]===3&&(!v||w[1]>v[0]&&w[1]<v[3])){p.label=w[1];break}if(w[0]===6&&p.label<v[1]){p.label=v[1],v=w;break}if(v&&p.label<v[2]){p.label=v[2],p.ops.push(w);break}v[2]&&p.ops.pop(),p.trys.pop();continue}w=d.call(o,p)}catch(O){w=[6,O],h=0}finally{f=v=0}if(w[0]&5)throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}},r=_&&_.__values||function(o){var d=typeof Symbol=="function"&&Symbol.iterator,p=d&&o[d],f=0;if(p)return p.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&f>=o.length&&(o=void 0),{value:o&&o[f++],done:!o}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ha,"__esModule",{value:!0});var n=Ce,i=ma,a=G(),s=Ke,u=yn,c=hn,l=function(){function o(){this.client=new n.PackageResource}return o.prototype.calculatePackage=function(d){return this.client.calculatePackage(d)},o.prototype.calculateAdditionalCoverages=function(d){return this.client.calculateAdditionalCoverages(d)},o.prototype.calculatePackages=function(d){return t(this,void 0,void 0,function(){var p,f,h,v,g,m,y,w,O;return e(this,function(C){switch(C.label){case 0:p=new a.RateCollection,f=[],C.label=1;case 1:return C.trys.push([1,3,,4]),[4,this.client.calculatePackages(d)];case 2:return f=C.sent(),f.length===0?[2,p]:[3,4];case 3:return C.sent(),[2,p];case 4:if(h=c.Injector.instance.get(d),v=[],h.funnel!="package")return[2,new a.RateCollection("package",f.filter(Boolean).sort(s.sortBy.price))];try{for(g=r(f),m=g.next();!m.done;m=g.next())y=m.value,v.push(this.client.calculatePackageDiscount(y.CompanyName,y).catch(function(D){return null}))}catch(D){w={error:D}}finally{try{m&&!m.done&&(O=g.return)&&O.call(g)}finally{if(w)throw w.error}}return[2,Promise.all(v).then(function(D){return new a.RateCollection("package",D.filter(Boolean).sort(s.sortBy.price))})]}})})},o.prototype.calculateCompanyDiscount=function(d,p){return this.client.calculatePackageDiscount(d,p)},o.prototype.requestPackage=function(d){return t(this,void 0,void 0,function(){var p;return e(this,function(f){switch(f.label){case 0:return localStorage.getItem("supplierID")&&localStorage.getItem("placementID")&&(d.SupplierID=localStorage.getItem("supplierID"),d.PlacementID=localStorage.getItem("placementID")),u.supplierPlacementTracker.getSubId()&&(d.SubID=u.supplierPlacementTracker.getSubId()),[4,this.client.requestPackage(d)];case 1:return p=f.sent(),u.supplierPlacementTracker.removeParams(),[2,p]}})})},o.prototype.savePackage=function(d){return this.client.savePackage(d)},o.prototype.addAdditionalUserInfo=function(d){return this.client.addAdditionalUserInfo(d)},o.prototype.annualDiscount=function(d){return this.client.annualDiscount(d)},o.prototype.getRequest=function(d){for(var p={},f=0;f<d.length;f++){var h=(0,i.mapRiskInsurances)(d[f].Category);p.hasOwnProperty(h)||(p[h]=[]),p[h].push(d[f])}return p},o}();return ha.default=l,ha}var va={},Bd;function B0(){if(Bd)return va;Bd=1;var t=_&&_.__awaiter||function(a,s,u,c){function l(o){return o instanceof u?o:new u(function(d){d(o)})}return new(u||(u=Promise))(function(o,d){function p(v){try{h(c.next(v))}catch(g){d(g)}}function f(v){try{h(c.throw(v))}catch(g){d(g)}}function h(v){v.done?o(v.value):l(v.value).then(p,f)}h((c=c.apply(a,s||[])).next())})},e=_&&_.__generator||function(a,s){var u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},c,l,o,d;return d={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function p(h){return function(v){return f([h,v])}}function f(h){if(c)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(u=0)),u;)try{if(c=1,l&&(o=h[0]&2?l.return:h[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,h[1])).done)return o;switch(l=0,o&&(h=[h[0]&2,o.value]),h[0]){case 0:case 1:o=h;break;case 4:return u.label++,{value:h[1],done:!1};case 5:u.label++,l=h[1],h=[0];continue;case 7:h=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(h[0]===6||h[0]===2)){u=0;continue}if(h[0]===3&&(!o||h[1]>o[0]&&h[1]<o[3])){u.label=h[1];break}if(h[0]===6&&u.label<o[1]){u.label=o[1],o=h;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(h);break}o[2]&&u.ops.pop(),u.trys.pop();continue}h=s.call(a,u)}catch(v){h=[6,v],l=0}finally{c=o=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}};Object.defineProperty(va,"__esModule",{value:!0});var r=Ce,n=G(),i=function(){function a(){this.client=new r.DocumentResource}return a.prototype.getMoneyviewDocumentList=function(s){return this.client.getMoneyviewDocumentList(s)},a.prototype.getDocuments=function(s){return t(this,void 0,void 0,function(){var u=this;return e(this,function(c){return[2,function(){var l=!1,o=new n.DocumentsModel({ConditionUrls:[],InsuranceCards:[]});return function(){return t(u,void 0,void 0,function(){var d,p;return e(this,function(f){switch(f.label){case 0:if(l)return[3,4];l=!0,f.label=1;case 1:return f.trys.push([1,3,,4]),[4,this.client.getMoneyviewDocumentList(s)];case 2:return d=f.sent(),[2,new n.DocumentsModel(d)];case 3:return p=f.sent(),console.error(p),[3,4];case 4:return[2,o]}})})}}()]})})},a}();return va.default=i,va}var ga={},xu={},ya={},$d;function $0(){if($d)return ya;$d=1;var t=_&&_.__values||function(i){var a=typeof Symbol=="function"&&Symbol.iterator,s=a&&i[a],u=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ya,"__esModule",{value:!0});var e=G(),r=ma,n=function(){function i(){}return i.get=function(a,s){return a==="pet"?new e.PetsecurRate(a,s):a==="package"?i.createPackageRate(a,s):i.createRate(a,s)},i.createPackageRate=function(a,s){var u,c;try{for(var l=t(r.insuranceKeyConfig),o=l.next();!o.done;o=l.next()){var d=o.value,p=(0,r.mapRiskInsurances)(d,!0);if(s.hasOwnProperty(d)){var f=s[d];if(!(Array.isArray(f)&&f.length)){delete s[d];continue}for(var h=new e.RateCollection(p,[]),v=0;v<s[d].length;v++)h.push(i.createRate(p,f[v]));s[d]=h}}}catch(g){u={error:g}}finally{try{o&&!o.done&&(c=l.return)&&c.call(l)}finally{if(u)throw u.error}}return new e.PackageRate(a,s)},i.createRate=function(a,s){return s.Service==="Vergelijkdirect"?new e.VergelijkdirectRate(a,s):s.Service==="Moneyview"?new e.MoneyviewRate(a,s):s.Service==="RISK"?new e.RiskRate(a,s):s.Service==="Enra"?new e.EnraRate(a,s):s.Service==="Laka"?new e.LakaRate(a,s):s.Service==="Rolls"?new e.RollsRate(a,s):s.Service==="Petsecur"?new e.PetsecurRate(a,s):s.Service==="DKM"?new e.DkmRate(a,s):s.Service==="Unigarant"?new e.UnigarantRate(a,s):s.Service==="FietsZeker"?new e.FietsZekerRate(a,s):s.Service==="Ominimo"?new e.OminimoRate(a,s):s.Service==="NN"?new e.NNRate(a,s):s.Service==="Voogd"?new e.VoogdRate(a,s):new e.UndefinedRate},i}();return ya.default=n,ya}var _a={},qd;function q0(){if(qd)return _a;qd=1,Object.defineProperty(_a,"__esModule",{value:!0});var t=Ue(),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==="business-liability")return new t.BusinessLiabilityService;if(n==="liability")return new t.LiabilityService;if(n==="legal-assistance")return new t.LegalAssistanceService;if(n==="car-business")return new t.BusinessCarService;if(n==="car")return new t.CarService;if(n==="travel")return new t.TravelService;if(n==="package")return new t.PackageService;if(n==="housing")return new t.HousingService;if(n==="loan")return new t.LoanService;throw new Error("Undefined api service")},r}();return _a.default=e,_a}var ba={},Hd;function H0(){if(Hd)return ba;Hd=1,Object.defineProperty(ba,"__esModule",{value:!0});var t=G(),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 ba.default=e,ba}var Ud;function kt(){return Ud||(Ud=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComparisonFactory=t.ApiServiceFactory=t.RateFactory=void 0;var e=$0();Object.defineProperty(t,"RateFactory",{enumerable:!0,get:function(){return e.default}});var r=q0();Object.defineProperty(t,"ApiServiceFactory",{enumerable:!0,get:function(){return r.default}});var n=H0();Object.defineProperty(t,"ComparisonFactory",{enumerable:!0,get:function(){return n.default}})}(xu)),xu}var zd;function U0(){if(zd)return ga;zd=1;var t=_&&_.__awaiter||function(u,c,l,o){function d(p){return p instanceof l?p:new l(function(f){f(p)})}return new(l||(l=Promise))(function(p,f){function h(m){try{g(o.next(m))}catch(y){f(y)}}function v(m){try{g(o.throw(m))}catch(y){f(y)}}function g(m){m.done?p(m.value):d(m.value).then(h,v)}g((o=o.apply(u,c||[])).next())})},e=_&&_.__generator||function(u,c){var l={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},o,d,p,f;return f={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function h(g){return function(m){return v([g,m])}}function v(g){if(o)throw new TypeError("Generator is already executing.");for(;f&&(f=0,g[0]&&(l=0)),l;)try{if(o=1,d&&(p=g[0]&2?d.return:g[0]?d.throw||((p=d.return)&&p.call(d),0):d.next)&&!(p=p.call(d,g[1])).done)return p;switch(d=0,p&&(g=[g[0]&2,p.value]),g[0]){case 0:case 1:p=g;break;case 4:return l.label++,{value:g[1],done:!1};case 5:l.label++,d=g[1],g=[0];continue;case 7:g=l.ops.pop(),l.trys.pop();continue;default:if(p=l.trys,!(p=p.length>0&&p[p.length-1])&&(g[0]===6||g[0]===2)){l=0;continue}if(g[0]===3&&(!p||g[1]>p[0]&&g[1]<p[3])){l.label=g[1];break}if(g[0]===6&&l.label<p[1]){l.label=p[1],p=g;break}if(p&&l.label<p[2]){l.label=p[2],l.ops.push(g);break}p[2]&&l.ops.pop(),l.trys.pop();continue}g=c.call(u,l)}catch(m){g=[6,m],d=0}finally{o=p=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}};Object.defineProperty(ga,"__esModule",{value:!0});var r=Ce,n=kt(),i=hn,a=yn,s=function(){function u(){this.client=new r.ComparisonResource}return u.prototype.create=function(c,l){return l===void 0&&(l=null),t(this,void 0,void 0,function(){var o,d;return e(this,function(p){switch(p.label){case 0:return o={funnel:c},l!==null&&(o.user=l),a.supplierPlacementTracker.getSubId()&&(o.sub_id=a.supplierPlacementTracker.getSubId()),[4,this.client.create(o)];case 1:return d=p.sent(),[2,n.ComparisonFactory.createFromResponse(d)]}})})},u.prototype.update=function(c){return t(this,void 0,void 0,function(){var l,o;return e(this,function(d){switch(d.label){case 0:return l=c.toObject(),a.supplierPlacementTracker.getSubId()&&(l.sub_id=a.supplierPlacementTracker.getSubId()),[4,this.client.update(l,c.getId())];case 1:return o=d.sent(),[2,n.ComparisonFactory.createFromResponse(o)]}})})},u.prototype.get=function(c){return t(this,void 0,void 0,function(){var l,o;return e(this,function(d){switch(d.label){case 0:return[4,this.client.get(c)];case 1:return l=d.sent(),o=n.ComparisonFactory.createFromResponse(l),i.Injector.instance.constant(o.getId(),{funnel:o.getFunnel()}),i.Injector.instance.constant("X-Comparison-Funnel",o.getFunnel()),[2,o]}})})},u}();return ga.default=s,ga}var Pu={};Object.defineProperty(Pu,"__esModule",{value:!0});var z0=Ce,V0=function(){function t(){this.client=new z0.DataValidationResource}return t.prototype.validateEmail=function(e){return this.client.validateEmail(e)},t.prototype.validatePhone=function(e){return this.client.validatePhone(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}();Pu.default=V0;var wa={},Vd;function Y0(){if(Vd)return wa;Vd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.BusinessCarResource,o}return l.prototype.getRollsBusinessInfo=function(){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.getRollsBusinessInfo()]})})},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("car-business",p.sort(a.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRollsAdditionalCoverages(o)]})})},l.prototype.getVoogdAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVoogdAdditionalCoverages(o)]})})},l}(s.RateService);return wa.default=u,wa}var Sa={},Yd;function W0(){if(Yd)return Sa;Yd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.CarResource,o}return l.prototype.findCar=function(o){return this.client.findCar(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("car",p.sort(a.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRollsAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l.prototype.getOminimoAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getOminimoAdditionalCoverages(o)]})})},l.prototype.getVoogdAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVoogdAdditionalCoverages(o)]})})},l}(s.RateService);return Sa.default=u,Sa}var Ca={},Du={},G0=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Du,"__esModule",{value:!0});var K0=He,Z0=function(t){G0(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}(K0.default);Du.default=Z0;var Wd;function J0(){if(Wd)return Ca;Wd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Ca,"__esModule",{value:!0});var n=G(),i=Ke,a=ai,s=Du,u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new s.default,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new n.RateCollection("travel",p.sort(i.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},l}(a.default);return Ca.default=u,Ca}var Au={},Ru={},X0=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Ru,"__esModule",{value:!0});var Q0=Ot,eS=function(t){X0(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}(Q0.default);Ru.default=eS,Object.defineProperty(Au,"__esModule",{value:!0});var tS=Ru,rS=function(){function t(){this.client=new tS.default}return t.prototype.create=function(e){return this.client.create(e)},t}();Au.default=rS;var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0});var nS=Xi,iS=function(){function t(){this.client=new nS.default}return t.prototype.getReviews=function(){return this.client.getReviews()},t}();Tu.default=iS;var Gd;function Ue(){return Gd||(Gd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleService=t.UserService=t.TravelService=t.CarService=t.BusinessCarService=t.DataValidationService=t.ComparisonService=t.DocumentService=t.PackageService=t.ConfigurationsService=t.ComparisonModuleService=t.PartnerService=t.LegalAssistanceService=t.LiabilityService=t.BusinessLiabilityService=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=$s;Object.defineProperty(t,"DataService",{enumerable:!0,get:function(){return e.default}});var r=ai;Object.defineProperty(t,"RateService",{enumerable:!0,get:function(){return r.default}});var n=d0();Object.defineProperty(t,"PetService",{enumerable:!0,get:function(){return n.default}});var i=f0();Object.defineProperty(t,"LoanService",{enumerable:!0,get:function(){return i.default}});var a=p0();Object.defineProperty(t,"HomeService",{enumerable:!0,get:function(){return a.default}});var s=h0();Object.defineProperty(t,"MopedService",{enumerable:!0,get:function(){return s.default}});var u=m0();Object.defineProperty(t,"MotorService",{enumerable:!0,get:function(){return u.default}});var c=v0();Object.defineProperty(t,"CaravanService",{enumerable:!0,get:function(){return c.default}});var l=g0();Object.defineProperty(t,"BikeService",{enumerable:!0,get:function(){return l.default}});var o=y0();Object.defineProperty(t,"HouseholdService",{enumerable:!0,get:function(){return o.default}});var d=yu;Object.defineProperty(t,"V1Service",{enumerable:!0,get:function(){return d.default}});var p=O0();Object.defineProperty(t,"HousingService",{enumerable:!0,get:function(){return p.default}});var f=k0();Object.defineProperty(t,"BusinessLiabilityService",{enumerable:!0,get:function(){return f.default}});var h=x0();Object.defineProperty(t,"LiabilityService",{enumerable:!0,get:function(){return h.default}});var v=P0();Object.defineProperty(t,"LegalAssistanceService",{enumerable:!0,get:function(){return v.default}});var g=bu;Object.defineProperty(t,"PartnerService",{enumerable:!0,get:function(){return g.default}});var m=wu;Object.defineProperty(t,"ComparisonModuleService",{enumerable:!0,get:function(){return m.default}});var y=N0();Object.defineProperty(t,"ConfigurationsService",{enumerable:!0,get:function(){return y.default}});var w=L0();Object.defineProperty(t,"PackageService",{enumerable:!0,get:function(){return w.default}});var O=B0();Object.defineProperty(t,"DocumentService",{enumerable:!0,get:function(){return O.default}});var C=U0();Object.defineProperty(t,"ComparisonService",{enumerable:!0,get:function(){return C.default}});var D=Pu;Object.defineProperty(t,"DataValidationService",{enumerable:!0,get:function(){return D.default}});var F=Y0();Object.defineProperty(t,"BusinessCarService",{enumerable:!0,get:function(){return F.default}});var H=W0();Object.defineProperty(t,"CarService",{enumerable:!0,get:function(){return H.default}});var E=J0();Object.defineProperty(t,"TravelService",{enumerable:!0,get:function(){return E.default}});var z=Au;Object.defineProperty(t,"UserService",{enumerable:!0,get:function(){return z.default}});var I=Tu;Object.defineProperty(t,"GoogleService",{enumerable:!0,get:function(){return I.default}})}(Bs)),Bs}var Kd;function Zd(){if(Kd)return mt;Kd=1;var t=_&&_.__awaiter||function(a,s,u,c){function l(o){return o instanceof u?o:new u(function(d){d(o)})}return new(u||(u=Promise))(function(o,d){function p(v){try{h(c.next(v))}catch(g){d(g)}}function f(v){try{h(c.throw(v))}catch(g){d(g)}}function h(v){v.done?o(v.value):l(v.value).then(p,f)}h((c=c.apply(a,s||[])).next())})},e=_&&_.__generator||function(a,s){var u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},c,l,o,d;return d={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function p(h){return function(v){return f([h,v])}}function f(h){if(c)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(u=0)),u;)try{if(c=1,l&&(o=h[0]&2?l.return:h[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,h[1])).done)return o;switch(l=0,o&&(h=[h[0]&2,o.value]),h[0]){case 0:case 1:o=h;break;case 4:return u.label++,{value:h[1],done:!1};case 5:u.label++,l=h[1],h=[0];continue;case 7:h=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(h[0]===6||h[0]===2)){u=0;continue}if(h[0]===3&&(!o||h[1]>o[0]&&h[1]<o[3])){u.label=h[1];break}if(h[0]===6&&u.label<o[1]){u.label=o[1],o=h;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(h);break}o[2]&&u.ops.pop(),u.trys.pop();continue}h=s.call(a,u)}catch(v){h=[6,v],l=0}finally{c=o=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}};Object.defineProperty(mt,"__esModule",{value:!0});var r=Ue(),n=G(),i=function(){function a(s,u){this.data=u,this.insuranceCategory=s,this.set("Category",s),this.documentService=new r.DocumentService,this.documents=this.fetchDocuments()}return a.prototype.getData=function(){return Object.assign({},this.data)},a.prototype.get=function(s,u){u===void 0&&(u=null);try{return s.split(".").reduce(function(c,l){return c[l]},this.getData())}catch(c){return u}},a.prototype.set=function(s,u){return this.data[s]=u,this},a.prototype.getPrice=function(){return this.get("Price",0)},a.prototype.getCoverage=function(){return this.get("Coverage",1)},a.prototype.getRates=function(){return new n.RateCollection},a.prototype.getCompanyName=function(){return this.data.CompanyName},a.prototype.getInsuranceCategory=function(){return this.insuranceCategory},a.prototype.fetchDocuments=function(){return t(this,void 0,void 0,function(){var s=this;return e(this,function(u){return[2,function(){return t(s,void 0,void 0,function(){return e(this,function(c){return[2,new n.DocumentsModel({ConditionUrls:this.get("ConditionUrls",[]),InsuranceCards:this.get("InsuranceCards",[])})]})})}]})})},a.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()()]}})})},a}();return mt.default=i,mt}var Oa={},ka={},Jd;function Xd(){if(Jd)return ka;Jd=1;var t=_&&_.__values||function(i){var a=typeof Symbol=="function"&&Symbol.iterator,s=a&&i[a],u=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ka,"__esModule",{value:!0});var e=G(),r=kt(),n=function(){function i(a,s){if(a===void 0&&(a=null),s===void 0&&(s=[]),this.rates=[],this.pointer=0,a!==null)for(var u=0;u<s.length;u++)this.rates.push(r.RateFactory.get(a,s[u]))}return i.prototype.all=function(){return this.rates},i.prototype.count=function(){return this.rates.length},i.prototype.first=function(){return this.rates.length===0?new e.UndefinedRate:this.rates[0]},i.prototype.last=function(){return this.rates.length===0?new e.UndefinedRate:this.rates[this.rates.length-1]},i.prototype.merge=function(a){return this.rates=this.rates.concat(a.all()),this},i.prototype.push=function(a){return this.rates.push(a),this},i.prototype.next=function(){return this.pointer<this.count()?{done:!1,value:this.rates[this.pointer++]}:{done:!0,value:null}},i.prototype[Symbol.iterator]=function(){return this},i.prototype.toObject=function(){var a,s,u=[];try{for(var c=t(this.rates),l=c.next();!l.done;l=c.next()){var o=l.value;u.push(o.getData())}}catch(d){a={error:d}}finally{try{l&&!l.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}return u},i}();return ka.default=n,ka}var Qd;function aS(){if(Qd)return Oa;Qd=1;var t=_&&_.__extends||function(){var u=function(c,l){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(o[p]=d[p])},u(c,l)};return function(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");u(c,l);function o(){this.constructor=c}c.prototype=l===null?Object.create(l):(o.prototype=l.prototype,new o)}}(),e=_&&_.__values||function(u){var c=typeof Symbol=="function"&&Symbol.iterator,l=c&&u[c],o=0;if(l)return l.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&o>=u.length&&(u=void 0),{value:u&&u[o++],done:!u}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Oa,"__esModule",{value:!0});var r=G(),n=kt(),i=ma,a=Xd(),s=function(u){t(c,u);function c(){return u!==null&&u.apply(this,arguments)||this}return c.prototype.getAdditionalCoverages=function(){return n.ApiServiceFactory.get(this.insuranceCategory).calculateAdditionalCoverages(this.getData())},c.prototype.request=function(){return n.ApiServiceFactory.get(this.insuranceCategory).requestPackage(this.getData())},c.prototype.calculate=function(){return n.ApiServiceFactory.get(this.insuranceCategory).calculatePackageDiscount(this.getCompanyName(),this.getData())},c.prototype.getRates=function(l){var o,d;l===void 0&&(l=null);var p=u.prototype.getData.call(this);if(l!==null)return p[(0,i.mapRiskInsurances)(l)];var f=new a.default;try{for(var h=e(i.insuranceKeyConfig),v=h.next();!v.done;v=h.next()){var g=v.value;p.hasOwnProperty(g)&&(f=f.merge(p[g]))}}catch(m){o={error:m}}finally{try{v&&!v.done&&(d=h.return)&&d.call(h)}finally{if(o)throw o.error}}return f},c.prototype.getData=function(){var l,o,d,p,f=u.prototype.getData.call(this);try{for(var h=e(i.insuranceKeyConfig),v=h.next();!v.done;v=h.next()){var g=v.value;if(f.hasOwnProperty(g)){var m=[];try{for(var y=(d=void 0,e(f[g].all())),w=y.next();!w.done;w=y.next()){var O=w.value;m.push(O.getData())}}catch(C){d={error:C}}finally{try{w&&!w.done&&(p=y.return)&&p.call(y)}finally{if(d)throw d.error}}f[g]=m}}}catch(C){l={error:C}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(l)throw l.error}}return f},c}(r.Rate);return Oa.default=s,Oa}var xa={},ef;function oS(){if(ef)return xa;ef=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(xa,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n!==null&&n.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(a){return Promise.resolve([])},i}(e.Rate);return xa.default=r,xa}var Pa={},tf;function sS(){if(tf)return Pa;tf=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Pa,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getRiskAdditionalCoverages(s)},a}(e.Rate);return Pa.default=n,Pa}var Da={},rf;function uS(){if(rf)return Da;rf=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Da,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getRollsAdditionalCoverages(s)},a}(e.Rate);return Da.default=n,Da}var Aa={},nf;function lS(){if(nf)return Aa;nf=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Aa,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getEnraAdditionalCoverages(s)},a}(e.Rate);return Aa.default=n,Aa}var Ra={},af;function cS(){if(af)return Ra;af=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Ra,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getMoneyviewAdditionalCoverages(s)},a}(e.Rate);return Ra.default=n,Ra}var Ta={},of;function dS(){if(of)return Ta;of=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Ta,"__esModule",{value:!0});var e=Zd(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getVergelijkdirectAdditionalCoverages(s)},a}(e.default);return Ta.default=n,Ta}var Ea={},sf;function fS(){if(sf)return Ea;sf=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(Ea,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n!==null&&n.apply(this,arguments)||this}return i}(e.Rate);return Ea.default=r,Ea}var Ma={},uf;function pS(){if(uf)return Ma;uf=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Ma,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getUnigarantAdditionalCoverages(s)},a}(e.Rate);return Ma.default=n,Ma}var Na={},lf;function hS(){if(lf)return Na;lf=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(Na,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n!==null&&n.apply(this,arguments)||this}return i}(e.Rate);return Na.default=r,Na}var Ia={},cf;function mS(){if(cf)return Ia;cf=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Ia,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getOminimoAdditionalCoverages(s)},a}(e.Rate);return Ia.default=n,Ia}var ja={},df;function vS(){if(df)return ja;df=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(ja,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n!==null&&n.apply(this,arguments)||this}return i}(e.Rate);return ja.default=r,ja}var Fa={},ff;function gS(){if(ff)return Fa;ff=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Fa,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getVoogdAdditionalCoverages(s)},a}(e.Rate);return Fa.default=n,Fa}var La={},pf;function yS(){if(pf)return La;pf=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(La,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n.call(this,"undefined",{})||this}return i.prototype.getAdditionalCoverages=function(a){return Promise.resolve([])},i}(e.Rate);return La.default=r,La}var Eu={};Object.defineProperty(Eu,"__esModule",{value:!0});var _S=function(){function t(e){var r,n,i,a,s,u,c,l,o,d;this.publicId=(r=e.public_id)!==null&&r!==void 0?r:null,this.email=(n=e.email)!==null&&n!==void 0?n:null,this.name=(i=e.name)!==null&&i!==void 0?i:null,this.last_name=(a=e.last_name)!==null&&a!==void 0?a:null,this.zip_code=(s=e.zip_code)!==null&&s!==void 0?s:null,this.house_number=(u=e.house_number)!==null&&u!==void 0?u:null,this.house_number_addition=(c=e.house_number_addition)!==null&&c!==void 0?c:null,this.family_composition=(l=e.family_composition)!==null&&l!==void 0?l:null,this.birth_date=(o=e.birth_date)!==null&&o!==void 0?o:null,this.detail=(d=e.detail)!==null&&d!==void 0?d:null}return t.prototype.getName=function(){return this.name},t.prototype.getLastName=function(){return this.last_name},t.prototype.getPublicId=function(){return this.publicId},t.prototype.getEmail=function(){return this.email},t.prototype.getZipCode=function(){return this.zip_code},t.prototype.getBirthDate=function(){return this.birth_date},t.prototype.getHouseNumber=function(){return this.house_number},t.prototype.getHouseNumberAddition=function(){return this.house_number_addition},t.prototype.getFamilyComposition=function(){return this.family_composition},t.prototype.getDetail=function(e){return e===void 0&&(e=null),e===null?this.detail:this.detail.hasOwnProperty(e)?this.detail[e]:null},t.prototype.setDetail=function(e,r){return e===void 0&&(e=null),e===null?this.detail=r:this.detail[e]=r,this},t.prototype.setFamilyComposition=function(e){return this.family_composition=e,this},t.prototype.setHouseNumberAddition=function(e){return this.house_number_addition=e,this},t.prototype.setHouseNumber=function(e){return this.house_number=e,this},t.prototype.setBirthDate=function(e){return this.birth_date=e,this},t.prototype.setZipCode=function(e){return this.zip_code=e,this},t.prototype.setEmail=function(e){return this.email=e,this},t.prototype.setName=function(e){return this.name=e,this},t.prototype.setLastName=function(e){return this.last_name=e,this},t.fromObject=function(e){return new this(e)},t.prototype.toObject=function(){return{public_id:this.publicId,email:this.email,name:this.name,last_name:this.last_name,zip_code:this.zip_code,birth_date:this.birth_date,house_number:this.house_number,house_number_addition:this.house_number_addition,family_composition:this.family_composition,detail:this.detail}},t}();Eu.default=_S;var Mu={},Ba={},hf;function bS(){if(hf)return Ba;hf=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(Ba,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n!==null&&n.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(a){return Promise.resolve(this.get("AdditionalCoverages"))},i}(e.Rate);return Ba.default=r,Ba}var mf;function wS(){return mf||(mf=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.PetsecurRate=void 0;var e=bS();Object.defineProperty(t,"PetsecurRate",{enumerable:!0,get:function(){return e.default}})}(Mu)),Mu}var Nu={},$a={};//! moment.js
2
+ `)===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),a=i.shift().trim();if(a){var s=i.join(":").trim();try{e.append(a,s)}catch(u){console.warn("Response "+u.message)}}}),e}dd.call(Fr.prototype);function Ut(t,e){if(!(this instanceof Ut))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 Le(e.headers),this.url=e.url||"",this._initBody(t)}dd.call(Ut.prototype),Ut.prototype.clone=function(){return new Ut(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Le(this.headers),url:this.url})},Ut.error=function(){var t=new Ut(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var Tb=[301,302,303,307,308];Ut.redirect=function(t,e){if(Tb.indexOf(e)===-1)throw new RangeError("Invalid status code");return new Ut(null,{status:e,headers:{location:t}})};var Lr=We.DOMException;try{new Lr}catch(t){Lr=function(e,r){this.message=e,this.name=r;var n=Error(e);this.stack=n.stack},Lr.prototype=Object.create(Error.prototype),Lr.prototype.constructor=Lr}function fd(t,e){return new Promise(function(r,n){var i=new Fr(t,e);if(i.signal&&i.signal.aborted)return n(new Lr("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var l={statusText:a.statusText,headers:Rb(a.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(a.status<200||a.status>599)?l.status=200:l.status=a.status,l.url="responseURL"in a?a.responseURL:l.headers.get("X-Request-URL");var o="response"in a?a.response:a.responseText;setTimeout(function(){r(new Ut(o,l))},0)},a.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){n(new Lr("Aborted","AbortError"))},0)};function u(l){try{return l===""&&We.location.href?We.location.href:l}catch(o){return l}}if(a.open(i.method,u(i.url),!0),i.credentials==="include"?a.withCredentials=!0:i.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(rt.blob?a.responseType="blob":rt.arrayBuffer&&(a.responseType="arraybuffer")),e&&typeof e.headers=="object"&&!(e.headers instanceof Le||We.Headers&&e.headers instanceof We.Headers)){var c=[];Object.getOwnPropertyNames(e.headers).forEach(function(l){c.push(mn(l)),a.setRequestHeader(l,Vs(e.headers[l]))}),i.headers.forEach(function(l,o){c.indexOf(o)===-1&&a.setRequestHeader(o,l)})}else i.headers.forEach(function(l,o){a.setRequestHeader(o,l)});i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){a.readyState===4&&i.signal.removeEventListener("abort",s)}),a.send(typeof i._bodyInit=="undefined"?null:i._bodyInit)})}fd.polyfill=!0,We.fetch||(We.fetch=fd,We.Headers=Le,We.Request=Fr,We.Response=Ut),self.fetch.bind(self);var Gi=_&&_.__assign||function(){return Gi=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Gi.apply(this,arguments)},Eb=_&&_.__awaiter||function(t,e,r,n){function i(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function u(o){try{l(n.next(o))}catch(d){s(d)}}function c(o){try{l(n.throw(o))}catch(d){s(d)}}function l(o){o.done?a(o.value):i(o.value).then(u,c)}l((n=n.apply(t,e||[])).next())})},Mb=_&&_.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(l){return function(o){return c([l,o])}}function c(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(o){l=[6,o],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty(Us,"__esModule",{value:!0});var Nb=zs,Ib=function(){function t(e,r){this.interceptors={request:new pd,response:new pd},this.cache="default",this.credentials="omit",this.keepalive=!1,this.mode="cors",this.redirect="follow",this.referrerPolicy="no-referrer-when-downgrade",this.baseUrl=e,this.environment=r,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.getDefaultHeaders(),keepalive:this.keepalive,mode:this.mode,redirect:this.redirect,referrerPolicy:this.referrerPolicy}},t.prototype.getDefaultHeaders=function(){var e,r,n={"Content-Type":"application/json",ITC:"true"},i=(e=this.environment)===null||e===void 0?void 0:e.api.credentials;if(!i)return n;var a=(r=i.authType)!==null&&r!==void 0?r:"headers";return(a==="headers"||a==="both")&&(n["X-Partner-Access-Key"]=i.accessKey,n["X-Partner-Secret"]=i.secret),(a==="basic"||a==="both")&&(n.Authorization="Basic ".concat(btoa("".concat(i.accessKey,":").concat(i.secret)))),n},t.prototype.getRequest=function(e){var r=this.getDefaultConfigurations(),n=this.transformer(e);return Gi(Gi({},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(i){return Eb(r,void 0,void 0,function(){return Mb(this,function(a){return i.ok?[2,i.json()]:[2,Promise.reject(i.json())]})})})},t.prototype[Nb.Invokable.call]=function(e){return this.fetchRequest(e)},t}(),pd=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}();Us.default=Ib,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.HttpClient=t.Injector=void 0;var e=Hs;Object.defineProperty(t,"Injector",{enumerable:!0,get:function(){return e.default}});var r=Us;Object.defineProperty(t,"HttpClient",{enumerable:!0,get:function(){return r.default}})}(hn),Object.defineProperty(Ot,"__esModule",{value:!0});var hd=hn,jb=zs,Fb=function(){function t(){var e=hd.Injector.instance.get("environment");this.http=jb.Invokable.create(new hd.HttpClient(this.getBaseUrl(e),e))}return t}();Ot.default=Fb;var Br={},Gs={},Ki={};Object.defineProperty(Ki,"__esModule",{value:!0});var Lb=function(){function t(e){this.response=e}return t.prototype.next=function(){return this.response},t}();Ki.default=Lb;var Bb=_&&_.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(u){s={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return a},$b=_&&_.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++)(a||!(n in e))&&(a||(a=Array.prototype.slice.call(e,0,n)),a[n]=e[n]);return t.concat(a||Array.prototype.slice.call(e))};Object.defineProperty(Gs,"__esModule",{value:!0});var qb=Ki,Hb=function(){function t(e){e===void 0&&(e=new qb.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,$b([],Bb(n),!1)):e.push(n)}catch(i){r.push(i)}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}();Gs.default=Hb;var Ks={};Object.defineProperty(Ks,"__esModule",{value:!0});var Ub=function(){function t(e){this.error=e}return t.prototype.next=function(){throw this.error},t}();Ks.default=Ub,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ResponseHandler=t.ErrorHandler=t.RateHandler=void 0;var e=Gs;Object.defineProperty(t,"RateHandler",{enumerable:!0,get:function(){return e.default}});var r=Ks;Object.defineProperty(t,"ErrorHandler",{enumerable:!0,get:function(){return r.default}});var n=Ki;Object.defineProperty(t,"ResponseHandler",{enumerable:!0,get:function(){return n.default}})}(Br);var zb=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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)}}(),Zi=_&&_.__assign||function(){return Zi=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++){e=arguments[r];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t},Zi.apply(this,arguments)},md=_&&_.__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(He,"__esModule",{value:!0});var Vb=Ot,vd=hn,Ji=Br,Yb=function(t){zb(e,t);function e(){var r=t.call(this)||this;return r.http.interceptors.request.use(function(n){return n.headers=Zi(Zi({},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=vd.Injector.instance.get("configuration-service");return r.isConfigured()?r.getConfigurations().getServices(this.getCategory(),this.getFunnel()):this.getAvailableServices()},e.prototype.getFunnel=function(){try{return vd.Injector.instance.get("X-Comparison-Funnel")}catch(r){return this.getCategory()}},e.prototype.getRates=function(r){var n,i,a=[];try{for(var s=md(this.getConfiguredServices()),u=s.next();!u.done;u=s.next()){var c=u.value;a.push(this.http({method:"post",url:"/".concat(c,"/rates"),data:r}).then(function(l){return new Ji.ResponseHandler(l)}).catch(function(l){return new Ji.ErrorHandler(l)}))}}catch(l){n={error:l}}finally{try{u&&!u.done&&(i=s.return)&&i.call(s)}finally{if(n)throw n.error}}return Promise.all(a)},e.prototype.getCoverageRateComparison=function(r,n){var i,a;n===void 0&&(n="");var s=[];try{for(var u=md(this.getConfiguredServices()),c=u.next();!c.done;c=u.next()){var l=c.value;s.push(this.http({method:"post",url:"/".concat(l,"/coverage_rate_comparison/").concat(n),data:r}).then(function(o){return new Ji.ResponseHandler(o)}).catch(function(o){return new Ji.ErrorHandler(o)}))}}catch(o){i={error:o}}finally{try{c&&!c.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}return Promise.all(s)},e}(Vb.default);He.default=Yb;var Wb=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(qs,"__esModule",{value:!0});var Gb=He,Kb=function(t){Wb(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.prototype.getBreedsList=function(r){return this.http({method:"get",url:"/vergelijkdirect/breeds?Kind=".concat(r)})},e.prototype.getFiltersList=function(r){return this.http({method:"get",url:"/vergelijkdirect/filters?Kind=".concat(r)})},e}(Gb.default);qs.default=Kb;var Zs={},Zb=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Zs,"__esModule",{value:!0});var Jb=He,Xb=function(t){Zb(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}(Jb.default);Zs.default=Xb;var Js={},Qb=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Js,"__esModule",{value:!0});var ew=Ot,tw=function(t){Qb(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getBaseUrl=function(r){return"".concat(r.api.baseUrl,"/v2")},e.prototype.findVehicle=function(r,n){var i={Comparison:n,LicensePlate:r};if(["car","motor","moped","caravan"].includes(n))return this.http({method:"get",url:"/data/vehicle/find?"+new URLSearchParams(i)});throw new Error('There is no vehicle data resource for "'.concat(n,'" comparison.'))},e.prototype.checkLicensePlate=function(r,n,i){var a=i.charAt(0).toUpperCase()+i.slice(1)+"SignCode",s={LicensePlate:r,Comparison:i};return s[a]=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.prototype.uploadLoanDocument=function(r,n){return this.http({method:"post",url:"/data/file/loan",data:{comparison_id:r,files:n}})},e.prototype.removeLoanDocument=function(r){return this.http({method:"delete",url:"/data/file/loan/".concat(r)})},e.prototype.searchBusinessInfo=function(r,n,i){return n===void 0&&(n=1),i===void 0&&(i=30),this.http({method:"get",url:"/data/kvk/search?"+(r.companyName?"handelsnaam=".concat(r.companyName):"kvkNummer=".concat(r.kvkNumber))+"&pagina=".concat(n,"&aantal=").concat(i)})},e.prototype.searchBusinessInfoV2=function(r,n,i){n===void 0&&(n=1),i===void 0&&(i=30);var a=new URLSearchParams;return r.companyName&&a.set("naam",r.companyName),r.kvkNumber&&a.set("kvkNummer",String(r.kvkNumber)),a.set("pagina",String(n)),a.set("resultatenPerPagina",String(i)),this.http({method:"get",url:"/data/kvk/v2/search?".concat(a.toString())})},e.prototype.getProfileInfo=function(r){return this.http({method:"get",url:"/data/kvk/profile/".concat(r)})},e.prototype.getSBIInfo=function(r){var n=r.MainSBI,i=r.OtherSBI,a=i===void 0?[]:i,s=new URLSearchParams;return s.append("MainSBI",n),a.forEach(function(u){return s.append("OtherSBI[]",u)}),this.http({method:"get",url:"/data/kvk/sbi/info?".concat(s.toString())})},e.prototype.sentKickbiteTracking=function(r){return this.http({method:"post",url:"/data/kickbite-tracking",data:r})},e.prototype.getProfessions=function(r){return r===void 0&&(r=""),this.http({method:"get",url:"/data/professions?sbiCode=".concat(r)})},e}(ew.default);Js.default=tw;var Xs={},rw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Xs,"__esModule",{value:!0});var nw=He,iw=function(t){rw(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}(nw.default);Xs.default=iw;var Qs={},aw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Qs,"__esModule",{value:!0});var ow=He,sw=function(t){aw(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","unigarant"]},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.prototype.getUnigarantAdditionalCoverages=function(r){return this.http({method:"post",url:"/unigarant/additional_coverages",data:r})},e}(ow.default);Qs.default=sw;var eu={},uw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(eu,"__esModule",{value:!0});var lw=He,cw=function(t){uw(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","voogd"]},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.prototype.getVoogdAdditionalCoverages=function(r){return this.http({method:"post",url:"/voogd/additional_coverages",data:r})},e}(lw.default);eu.default=cw;var tu={},dw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(tu,"__esModule",{value:!0});var fw=He,pw=function(t){dw(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"car-business"},e.prototype.getAvailableServices=function(){return["risk","rolls","voogd"]},e.prototype.getRollsBusinessInfo=function(){return this.http({method:"get",url:"/rolls/info"})},e.prototype.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data:r})},e.prototype.getRollsAdditionalCoverages=function(r){return this.http({method:"post",url:"/rolls/additional_coverages",data:r})},e.prototype.getVoogdAdditionalCoverages=function(r){return this.http({method:"post",url:"/voogd/additional_coverages",data:r})},e}(fw.default);tu.default=pw;var ru={},hw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(ru,"__esModule",{value:!0});var mw=He,vw=function(t){hw(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","ominimo","voogd"]},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.prototype.getOminimoAdditionalCoverages=function(r){return this.http({method:"post",url:"/ominimo/additional_coverages",data:r})},e.prototype.getVoogdAdditionalCoverages=function(r){return this.http({method:"post",url:"/voogd/additional_coverages",data:r})},e}(mw.default);ru.default=vw;var nu={},gw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(nu,"__esModule",{value:!0});var yw=He,_w=function(t){gw(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.getRiskAdditionalCoverages=function(r){return this.http({method:"post",url:"/risk/additional_coverages",data: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}(yw.default);nu.default=_w;var iu={},bw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(iu,"__esModule",{value:!0});var gd=Br,ww=He,Sw=function(t){bw(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","fietszeker"]},e.prototype.getEnraRates=function(r){return this.http({method:"post",url:"/enra/rates",data:r}).then(function(n){return new gd.ResponseHandler(n)}).catch(function(n){return new gd.ErrorHandler(n)})},e}(ww.default);iu.default=Sw;var au={},Cw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(au,"__esModule",{value:!0});var Ow=Ot,kw=function(t){Cw(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.prototype.getPackageStatus=function(r){return this.http({method:"get",url:"/status/".concat(r)})},e}(Ow.default);au.default=kw;var ou={},xw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(ou,"__esModule",{value:!0});var Pw=He,Dw=function(t){xw(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}(Pw.default);ou.default=Dw;var su={},Aw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(su,"__esModule",{value:!0});var yd=Br,Rw=He,Tw=function(t){Aw(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 yd.ResponseHandler(n)}).catch(function(n){return new yd.ErrorHandler(n)})},e}(Rw.default);su.default=Tw;var uu={},Ew=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(uu,"__esModule",{value:!0});var Mw=He,Nw=function(t){Ew(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.getCategory=function(){return"business-liability"},e.prototype.getAvailableServices=function(){return["vergelijkdirect"]},e}(Mw.default);uu.default=Nw;var lu={},Iw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(lu,"__esModule",{value:!0});var jw=He,Fw=function(t){Iw(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","nn"]},e}(jw.default);lu.default=Fw;var cu={},Lw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(cu,"__esModule",{value:!0});var Bw=He,$w=function(t){Lw(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}(Bw.default);cu.default=$w;var du={},qw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(du,"__esModule",{value:!0});var Hw=Ot,Uw=function(t){qw(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}(Hw.default);du.default=Uw;var fu={},zw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(fu,"__esModule",{value:!0});var Vw=Ot,Yw=function(t){zw(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}(Vw.default);fu.default=Yw;var pu={},Ww=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(pu,"__esModule",{value:!0});var Gw=Ot,Kw=function(t){Ww(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}(Gw.default);pu.default=Kw;var hu={},Zw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(hu,"__esModule",{value:!0});var Jw=Ot,Xw=function(t){Zw(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}(Jw.default);hu.default=Xw;var mu={},Qw=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(mu,"__esModule",{value:!0});var e0=Ot,t0=function(t){Qw(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.validatePhone=function(r){return this.http({method:"post",url:"/phone/validate",data:{phone:r}})},e.prototype.validateIBAN=function(r){return this.http({method:"post",url:"/iban/validate",data:{iban:r}})},e.prototype.validateZipCode=function(r,n,i){return i===void 0&&(i=""),this.http({method:"post",url:"/zipcode/validate",data:{ZipCode:r,HouseNumber:n,HouseNumberAddition:i}})},e}(e0.default);mu.default=t0;var Xi={},r0=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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 n0=Ot,i0=function(t){r0(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.getReviews=function(){return this.http({method:"get",url:"/google/reviews"})},e}(n0.default);Xi.default=i0,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleResource=t.DataValidationResource=t.ComparisonResource=t.DocumentResource=t.ComparisonModuleResource=t.PartnerResource=t.LegalAssistanceResource=t.LiabilityResource=t.BusinessLiabilityResource=t.HousingResource=t.HouseholdResource=t.PackageResource=t.BikeResource=t.CaravanResource=t.CarResource=t.BusinessCarResource=t.MotorResource=t.MopedResource=t.HomeResource=t.DataResource=t.LoanResource=t.PetResource=void 0;var e=qs;Object.defineProperty(t,"PetResource",{enumerable:!0,get:function(){return e.default}});var r=Zs;Object.defineProperty(t,"LoanResource",{enumerable:!0,get:function(){return r.default}});var n=Js;Object.defineProperty(t,"DataResource",{enumerable:!0,get:function(){return n.default}});var i=Xs;Object.defineProperty(t,"HomeResource",{enumerable:!0,get:function(){return i.default}});var a=Qs;Object.defineProperty(t,"MopedResource",{enumerable:!0,get:function(){return a.default}});var s=eu;Object.defineProperty(t,"MotorResource",{enumerable:!0,get:function(){return s.default}});var u=tu;Object.defineProperty(t,"BusinessCarResource",{enumerable:!0,get:function(){return u.default}});var c=ru;Object.defineProperty(t,"CarResource",{enumerable:!0,get:function(){return c.default}});var l=nu;Object.defineProperty(t,"CaravanResource",{enumerable:!0,get:function(){return l.default}});var o=iu;Object.defineProperty(t,"BikeResource",{enumerable:!0,get:function(){return o.default}});var d=au;Object.defineProperty(t,"PackageResource",{enumerable:!0,get:function(){return d.default}});var p=ou;Object.defineProperty(t,"HouseholdResource",{enumerable:!0,get:function(){return p.default}});var f=su;Object.defineProperty(t,"HousingResource",{enumerable:!0,get:function(){return f.default}});var h=uu;Object.defineProperty(t,"BusinessLiabilityResource",{enumerable:!0,get:function(){return h.default}});var v=lu;Object.defineProperty(t,"LiabilityResource",{enumerable:!0,get:function(){return v.default}});var g=cu;Object.defineProperty(t,"LegalAssistanceResource",{enumerable:!0,get:function(){return g.default}});var m=du;Object.defineProperty(t,"PartnerResource",{enumerable:!0,get:function(){return m.default}});var y=fu;Object.defineProperty(t,"ComparisonModuleResource",{enumerable:!0,get:function(){return y.default}});var w=pu;Object.defineProperty(t,"DocumentResource",{enumerable:!0,get:function(){return w.default}});var O=hu;Object.defineProperty(t,"ComparisonResource",{enumerable:!0,get:function(){return O.default}});var C=mu;Object.defineProperty(t,"DataValidationResource",{enumerable:!0,get:function(){return C.default}});var D=Xi;Object.defineProperty(t,"GoogleResource",{enumerable:!0,get:function(){return D.default}})}(Ce);var vn=_&&_.__awaiter||function(t,e,r,n){function i(a){return a instanceof r?a:new r(function(s){s(a)})}return new(r||(r=Promise))(function(a,s){function u(o){try{l(n.next(o))}catch(d){s(d)}}function c(o){try{l(n.throw(o))}catch(d){s(d)}}function l(o){o.done?a(o.value):i(o.value).then(u,c)}l((n=n.apply(t,e||[])).next())})},gn=_&&_.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function u(l){return function(o){return c([l,o])}}function c(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(a=l[0]&2?i.return:l[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,l[1])).done)return a;switch(i=0,a&&(l=[l[0]&2,a.value]),l[0]){case 0:case 1:a=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]<a[3])){r.label=l[1];break}if(l[0]===6&&r.label<a[1]){r.label=a[1],a=l;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(l);break}a[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(o){l=[6,o],i=0}finally{n=a=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}};Object.defineProperty($s,"__esModule",{value:!0});var a0=Ce,o0=function(){function t(){this.client=new a0.DataResource}return t.prototype.calculateMaximumLoanAmount=function(e){return vn(this,void 0,void 0,function(){return gn(this,function(r){return[2,this.client.calculateMaximumLoanAmount(e)]})})},t.prototype.uploadLoanDocument=function(e,r){return vn(this,void 0,void 0,function(){return gn(this,function(n){return[2,this.client.uploadLoanDocument(e,r)]})})},t.prototype.removeLoanDocument=function(e){return vn(this,void 0,void 0,function(){return gn(this,function(r){return[2,this.client.removeLoanDocument(e)]})})},t.prototype.findVehicle=function(e,r){return vn(this,void 0,void 0,function(){return gn(this,function(n){return[2,this.client.findVehicle(e,r)]})})},t.prototype.checkLicensePlate=function(e,r,n){return vn(this,void 0,void 0,function(){return gn(this,function(i){return[2,this.client.checkLicensePlate(e,r,n)]})})},t.prototype.validateIBAN=function(e){return vn(this,void 0,void 0,function(){return gn(this,function(r){return[2,this.client.validateIBAN(e)]})})},t.prototype.searchBusinessInfo=function(e,r,n){return r===void 0&&(r=1),n===void 0&&(n=30),this.client.searchBusinessInfo(e,r,n)},t.prototype.searchBusinessInfoV2=function(e,r,n){return r===void 0&&(r=1),n===void 0&&(n=30),this.client.searchBusinessInfoV2(e,r,n)},t.prototype.getProfileInfo=function(e){return this.client.getProfileInfo(e)},t.prototype.getSBIInfo=function(e){return this.client.getSBIInfo(e)},t.prototype.sentKickbiteTracking=function(e){return this.client.sentKickbiteTracking(e)},t.prototype.getProfessions=function(e){return e===void 0&&(e=""),this.client.getProfessions(e)},t}();$s.default=o0;var ai={},s0=_&&_.__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(ai,"__esModule",{value:!0});var _d=Br,u0=function(){function t(){}return t.prototype.handleRates=function(e){var r,n,i=[new _d.RateHandler],a=0;try{for(var s=s0(e),u=s.next();!u.done;u=s.next()){var c=u.value;c!==void 0&&(i.push(i[a].setNext(new _d.RateHandler(c))),a++)}}catch(l){r={error:l}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return i[0].handle()},t}();ai.default=u0;var Qi={},Ke={},ea={};Object.defineProperty(ea,"__esModule",{value:!0});var l0={price:function(t,e){return t.Price-e.Price},coverage:function(t,e){return t.Price-e.Price}};ea.default=l0;var vu={},gu={};Object.defineProperty(gu,"__esModule",{value:!0}),gu.default=function(t,e,r){return Array.from({length:~~((e-t)/r)+1},function(n,i){return t+i*r})};var bd=_&&_.__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(vu,"__esModule",{value:!0});var wd=ea,c0=gu;vu.default=function(t){for(var e,r,n,i,a=[],s=1,u=0;u<t.length;u++){var c=parseInt(Object.keys(t[u]).sort().pop());c>s&&(s=c)}try{for(var l=bd((0,c0.default)(1,s,1)),o=l.next();!o.done;o=l.next()){var d=o.value,p=[];try{for(var f=(n=void 0,bd(t)),h=f.next();!h.done;h=f.next()){var v=h.value;v.hasOwnProperty(d)&&p.push(v[d])}}catch(g){n={error:g}}finally{try{h&&!h.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}p.length>=1&&(p.sort(wd.default.price),a.push(p.shift())),p=[]}}catch(g){e={error:g}}finally{try{o&&!o.done&&(r=l.return)&&r.call(l)}finally{if(e)throw e.error}}return a.length>=2&&a.sort(wd.default.coverage),a},function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.compareRateByCoverage=t.sortBy=void 0;var e=ea;Object.defineProperty(t,"sortBy",{enumerable:!0,get:function(){return e.default}});var r=vu;Object.defineProperty(t,"compareRateByCoverage",{enumerable:!0,get:function(){return r.default}})}(Ke);var Sd;function d0(){if(Sd)return Qi;Sd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Qi,"__esModule",{value:!0});var n=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.PetResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("pet",p.sort(a.sortBy.price))]}})})},l.prototype.getPetsecureAdditionalCoverages=function(o){return this.client.getPetsecurAdditionalCoverages(o)},l.prototype.getBreedsList=function(o){return this.client.getBreedsList(o)},l.prototype.getFiltersList=function(o){return this.client.getFiltersList(o)},l}(s.RateService);return Qi.default=u,Qi}var ta={},Cd;function f0(){if(Cd)return ta;Cd=1;var t=_&&_.__extends||function(){var u=function(c,l){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(o[p]=d[p])},u(c,l)};return function(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");u(c,l);function o(){this.constructor=c}c.prototype=l===null?Object.create(l):(o.prototype=l.prototype,new o)}}(),e=_&&_.__awaiter||function(u,c,l,o){function d(p){return p instanceof l?p:new l(function(f){f(p)})}return new(l||(l=Promise))(function(p,f){function h(m){try{g(o.next(m))}catch(y){f(y)}}function v(m){try{g(o.throw(m))}catch(y){f(y)}}function g(m){m.done?p(m.value):d(m.value).then(h,v)}g((o=o.apply(u,c||[])).next())})},r=_&&_.__generator||function(u,c){var l={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},o,d,p,f;return f={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function h(g){return function(m){return v([g,m])}}function v(g){if(o)throw new TypeError("Generator is already executing.");for(;f&&(f=0,g[0]&&(l=0)),l;)try{if(o=1,d&&(p=g[0]&2?d.return:g[0]?d.throw||((p=d.return)&&p.call(d),0):d.next)&&!(p=p.call(d,g[1])).done)return p;switch(d=0,p&&(g=[g[0]&2,p.value]),g[0]){case 0:case 1:p=g;break;case 4:return l.label++,{value:g[1],done:!1};case 5:l.label++,d=g[1],g=[0];continue;case 7:g=l.ops.pop(),l.trys.pop();continue;default:if(p=l.trys,!(p=p.length>0&&p[p.length-1])&&(g[0]===6||g[0]===2)){l=0;continue}if(g[0]===3&&(!p||g[1]>p[0]&&g[1]<p[3])){l.label=g[1];break}if(g[0]===6&&l.label<p[1]){l.label=p[1],p=g;break}if(p&&l.label<p[2]){l.label=p[2],l.ops.push(g);break}p[2]&&l.ops.pop(),l.trys.pop();continue}g=c.call(u,l)}catch(m){g=[6,m],d=0}finally{o=p=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}};Object.defineProperty(ta,"__esModule",{value:!0});var n=G(),i=Ue(),a=Ce,s=function(u){t(c,u);function c(){var l=u.call(this)||this;return l.client=new a.LoanResource,l}return c.prototype.getRates=function(l){return e(this,void 0,void 0,function(){var o,d;return r(this,function(p){switch(p.label){case 0:return[4,this.client.getRates(l)];case 1:return o=p.sent(),d=this.handleRates(o),[2,new n.RateCollection("loan",d)]}})})},c.prototype.getFieldValues=function(l){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.getFieldValues(l)]})})},c.prototype.loanRequest=function(l){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.loanRequest(l)]})})},c}(i.RateService);return ta.default=s,ta}var ra={},Od;function p0(){if(Od)return ra;Od=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(ra,"__esModule",{value:!0});var n=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.HomeResource,o}return l.prototype.findHome=function(o){return this.client.findHome(o)},l.prototype.getAddition=function(o){return this.client.getAddition(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("home",p.sort(a.sortBy.price))]}})})},l.prototype.getAmount=function(o){return this.client.getAmount(o)},l}(s.RateService);return ra.default=u,ra}var na={},kd;function h0(){if(kd)return na;kd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.MopedResource,o}return l.prototype.findMoped=function(o){return this.client.findMoped(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("moped",p.sort(a.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("moped",(0,a.compareRateByCoverage)(p))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},l.prototype.getEnraAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getEnraAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l.prototype.getUnigarantAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getUnigarantAdditionalCoverages(o)]})})},l}(s.RateService);return na.default=u,na}var ia={},xd;function m0(){if(xd)return ia;xd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(ia,"__esModule",{value:!0});var n=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.MotorResource,o}return l.prototype.findMotor=function(o){return this.client.findMotor(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("motor",p.sort(a.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("motor",(0,a.compareRateByCoverage)(p))]}})})},l.prototype.getCoverageRateComparisonForCoverage=function(o,d){return e(this,void 0,void 0,function(){var p,f;return r(this,function(h){switch(h.label){case 0:return[4,this.client.getCoverageRateComparison(d,o)];case 1:return p=h.sent(),f=this.handleRates(p),[2,new i.RateCollection("motor",(0,a.compareRateByCoverage)(f))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},l.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},l.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRollsAdditionalCoverages(o)]})})},l.prototype.getVoogdAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVoogdAdditionalCoverages(o)]})})},l}(s.RateService);return ia.default=u,ia}var aa={},Pd;function v0(){if(Pd)return aa;Pd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(aa,"__esModule",{value:!0});var n=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.CaravanResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("caravan",p.sort(a.sortBy.price))]}})})},l.prototype.getCoverageRateComparison=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getCoverageRateComparison(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("caravan",(0,a.compareRateByCoverage)(p))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getCaravanBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanBrands(o)]})})},l.prototype.getCaravanVDBrands=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanVDBrands(o)]})})},l.prototype.getCaravanModels=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanModels(o)]})})},l.prototype.getCaravanTypes=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanTypes(o)]})})},l.prototype.getCaravanCatalogPrice=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getCaravanCatalogPrice(o)]})})},l}(s.RateService);return aa.default=u,aa}var oa={},Dd;function g0(){if(Dd)return oa;Dd=1;var t=_&&_.__extends||function(){var l=function(o,d){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,f){p.__proto__=f}||function(p,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(p[h]=f[h])},l(o,d)};return function(o,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");l(o,d);function p(){this.constructor=o}o.prototype=d===null?Object.create(d):(p.prototype=d.prototype,new p)}}(),e=_&&_.__awaiter||function(l,o,d,p){function f(h){return h instanceof d?h:new d(function(v){v(h)})}return new(d||(d=Promise))(function(h,v){function g(w){try{y(p.next(w))}catch(O){v(O)}}function m(w){try{y(p.throw(w))}catch(O){v(O)}}function y(w){w.done?h(w.value):f(w.value).then(g,m)}y((p=p.apply(l,o||[])).next())})},r=_&&_.__generator||function(l,o){var d={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},p,f,h,v;return v={next:g(0),throw:g(1),return:g(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function g(y){return function(w){return m([y,w])}}function m(y){if(p)throw new TypeError("Generator is already executing.");for(;v&&(v=0,y[0]&&(d=0)),d;)try{if(p=1,f&&(h=y[0]&2?f.return:y[0]?f.throw||((h=f.return)&&h.call(f),0):f.next)&&!(h=h.call(f,y[1])).done)return h;switch(f=0,h&&(y=[y[0]&2,h.value]),y[0]){case 0:case 1:h=y;break;case 4:return d.label++,{value:y[1],done:!1};case 5:d.label++,f=y[1],y=[0];continue;case 7:y=d.ops.pop(),d.trys.pop();continue;default:if(h=d.trys,!(h=h.length>0&&h[h.length-1])&&(y[0]===6||y[0]===2)){d=0;continue}if(y[0]===3&&(!h||y[1]>h[0]&&y[1]<h[3])){d.label=y[1];break}if(y[0]===6&&d.label<h[1]){d.label=h[1],h=y;break}if(h&&d.label<h[2]){d.label=h[2],d.ops.push(y);break}h[2]&&d.ops.pop(),d.trys.pop();continue}y=o.call(l,d)}catch(w){y=[6,w],f=0}finally{p=h=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}};Object.defineProperty(oa,"__esModule",{value:!0});var n=Ce,i=G(),a=Br,s=Ke,u=ai,c=function(l){t(o,l);function o(){var d=l.call(this)||this;return d.client=new n.BikeResource,d}return o.prototype.getRates=function(d){return e(this,void 0,void 0,function(){var p,f;return r(this,function(h){switch(h.label){case 0:return[4,this.client.getRates(d)];case 1:return p=h.sent(),f=this.handleRates(p),[2,new i.RateCollection("bike",f.sort(s.sortBy.price))]}})})},o.prototype.getEnraRates=function(d){return e(this,void 0,void 0,function(){var p,f,h;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getEnraRates(d)];case 1:return p=v.sent(),f=new a.RateHandler(p),h=f.handle(),[2,new i.RateCollection("bike",h.sort(s.sortBy.price))]}})})},o}(u.default);return oa.default=c,oa}var sa={},Ad;function y0(){if(Ad)return sa;Ad=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.HouseholdResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("household",p.sort(a.sortBy.price))]}})})},l.prototype.getAmount=function(o){return this.client.getAmount(o)},l}(s.RateService);return sa.default=u,sa}var yu={},_u={},_0=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(_u,"__esModule",{value:!0});var b0=He,w0=function(t){_0(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,i){return this.http({method:"get",url:"/health/package/".concat(r,"/").concat(n,"?")+new URLSearchParams(i)})},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}(b0.default);_u.default=w0,Object.defineProperty(yu,"__esModule",{value:!0});var S0=_u,C0=function(){function t(){this.client=new S0.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}();yu.default=C0;var ua={},Rd;function O0(){if(Rd)return ua;Rd=1;var t=_&&_.__extends||function(){var l=function(o,d){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,f){p.__proto__=f}||function(p,f){for(var h in f)Object.prototype.hasOwnProperty.call(f,h)&&(p[h]=f[h])},l(o,d)};return function(o,d){if(typeof d!="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");l(o,d);function p(){this.constructor=o}o.prototype=d===null?Object.create(d):(p.prototype=d.prototype,new p)}}(),e=_&&_.__awaiter||function(l,o,d,p){function f(h){return h instanceof d?h:new d(function(v){v(h)})}return new(d||(d=Promise))(function(h,v){function g(w){try{y(p.next(w))}catch(O){v(O)}}function m(w){try{y(p.throw(w))}catch(O){v(O)}}function y(w){w.done?h(w.value):f(w.value).then(g,m)}y((p=p.apply(l,o||[])).next())})},r=_&&_.__generator||function(l,o){var d={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]},p,f,h,v;return v={next:g(0),throw:g(1),return:g(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function g(y){return function(w){return m([y,w])}}function m(y){if(p)throw new TypeError("Generator is already executing.");for(;v&&(v=0,y[0]&&(d=0)),d;)try{if(p=1,f&&(h=y[0]&2?f.return:y[0]?f.throw||((h=f.return)&&h.call(f),0):f.next)&&!(h=h.call(f,y[1])).done)return h;switch(f=0,h&&(y=[y[0]&2,h.value]),y[0]){case 0:case 1:h=y;break;case 4:return d.label++,{value:y[1],done:!1};case 5:d.label++,f=y[1],y=[0];continue;case 7:y=d.ops.pop(),d.trys.pop();continue;default:if(h=d.trys,!(h=h.length>0&&h[h.length-1])&&(y[0]===6||y[0]===2)){d=0;continue}if(y[0]===3&&(!h||y[1]>h[0]&&y[1]<h[3])){d.label=y[1];break}if(y[0]===6&&d.label<h[1]){d.label=h[1],h=y;break}if(h&&d.label<h[2]){d.label=h[2],d.ops.push(y);break}h[2]&&d.ops.pop(),d.trys.pop();continue}y=o.call(l,d)}catch(w){y=[6,w],f=0}finally{p=h=0}if(y[0]&5)throw y[1];return{value:y[0]?y[1]:void 0,done:!0}}};Object.defineProperty(ua,"__esModule",{value:!0});var n=Ce,i=G(),a=Br,s=Ke,u=Ue(),c=function(l){t(o,l);function o(){var d=l.call(this)||this;return d.client=new n.HousingResource,d}return o.prototype.getRates=function(d){return e(this,void 0,void 0,function(){var p,f;return r(this,function(h){switch(h.label){case 0:return[4,this.client.getRates(d)];case 1:return p=h.sent(),f=this.handleRates(p),[2,new i.RateCollection("housing",f.sort(s.sortBy.price))]}})})},o.prototype.getMoneyviewRates=function(d){return e(this,void 0,void 0,function(){var p,f,h;return r(this,function(v){switch(v.label){case 0:return[4,this.client.getMoneyviewRates(d)];case 1:return p=v.sent(),f=new a.RateHandler(p),h=f.handle(),[2,new i.RateCollection("housing",h.sort(s.sortBy.price))]}})})},o}(u.RateService);return ua.default=c,ua}var la={},Td;function k0(){if(Td)return la;Td=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.BusinessLiabilityResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("business-liability",p.sort(a.sortBy.price))]}})})},l}(s.RateService);return la.default=u,la}var ca={},Ed;function x0(){if(Ed)return ca;Ed=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(ca,"__esModule",{value:!0});var n=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.LiabilityResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("liability",p.sort(a.sortBy.price))]}})})},l}(s.RateService);return ca.default=u,ca}var da={},Md;function P0(){if(Md)return da;Md=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.LegalAssistanceResource,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("legal-assistance",p.sort(a.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return this.client.getRiskAdditionalCoverages(o)},l.prototype.getMoneyviewAdditionalCoverages=function(o){return this.client.getMoneyviewAdditionalCoverages(o)},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return this.client.getVergelijkdirectAdditionalCoverages(o)},l}(s.RateService);return da.default=u,da}var bu={};Object.defineProperty(bu,"__esModule",{value:!0});var D0=Ce,A0=function(){function t(){this.client=new D0.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}();bu.default=A0;var wu={};Object.defineProperty(wu,"__esModule",{value:!0});var R0=Ce,T0=function(){function t(){this.client=new R0.ComparisonModuleResource}return t.prototype.getInitializationData=function(){return this.client.getInitializationData()},t.prototype.getScriptSource=function(){return this.client.getScriptSource()},t}();wu.default=T0;var fa={},Su={},Cu={};Object.defineProperty(Cu,"__esModule",{value:!0});var E0=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}();Cu.default=E0;var pa={},Nd;function M0(){if(Nd)return pa;Nd=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(pa,"__esModule",{value:!0});var e=jd(),r=function(n){t(i,n);function i(){var a={id:0,afm_license_number:null,insuranceLogos:{},comparisonLinks:[],configurations:{},partner_pixels:[]};return n.call(this,a)||this}return i}(e.ConfigurationModel);return pa.default=r,pa}var Id;function jd(){return Id||(Id=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.DefaultConfigurationModel=t.ConfigurationModel=void 0;var e=Cu;Object.defineProperty(t,"ConfigurationModel",{enumerable:!0,get:function(){return e.default}});var r=M0();Object.defineProperty(t,"DefaultConfigurationModel",{enumerable:!0,get:function(){return r.default}})}(Su)),Su}var Fd;function N0(){if(Fd)return fa;Fd=1;var t=_&&_.__awaiter||function(a,s,u,c){function l(o){return o instanceof u?o:new u(function(d){d(o)})}return new(u||(u=Promise))(function(o,d){function p(v){try{h(c.next(v))}catch(g){d(g)}}function f(v){try{h(c.throw(v))}catch(g){d(g)}}function h(v){v.done?o(v.value):l(v.value).then(p,f)}h((c=c.apply(a,s||[])).next())})},e=_&&_.__generator||function(a,s){var u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},c,l,o,d;return d={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function p(h){return function(v){return f([h,v])}}function f(h){if(c)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(u=0)),u;)try{if(c=1,l&&(o=h[0]&2?l.return:h[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,h[1])).done)return o;switch(l=0,o&&(h=[h[0]&2,o.value]),h[0]){case 0:case 1:o=h;break;case 4:return u.label++,{value:h[1],done:!1};case 5:u.label++,l=h[1],h=[0];continue;case 7:h=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(h[0]===6||h[0]===2)){u=0;continue}if(h[0]===3&&(!o||h[1]>o[0]&&h[1]<o[3])){u.label=h[1];break}if(h[0]===6&&u.label<o[1]){u.label=o[1],o=h;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(h);break}o[2]&&u.ops.pop(),u.trys.pop();continue}h=s.call(a,u)}catch(v){h=[6,v],l=0}finally{c=o=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}};Object.defineProperty(fa,"__esModule",{value:!0});var r=Ue(),n=jd(),i=function(){function a(){this.configured=!1,this.configuration=new n.DefaultConfigurationModel,this.configurationService=new r.ComparisonModuleService}return a.prototype.configure=function(){return t(this,void 0,void 0,function(){var s,u,c;return e(this,function(l){switch(l.label){case 0:return l.trys.push([0,2,,3]),[4,this.configurationService.getInitializationData()];case 1:return s=l.sent(),u=new n.ConfigurationModel(s),this.setConfigurations(u),[3,3];case 2:return c=l.sent(),console.error(c),[3,3];case 3:return[2]}})})},a.prototype.isConfigured=function(){return this.configured},a.prototype.setConfigurations=function(s){this.configuration=s,this.configured=!0},a.prototype.getConfigurations=function(){return this.configuration},a}();return fa.default=i,fa}var ha={},ma={},Ou={};Object.defineProperty(Ou,"__esModule",{value:!0});function I0(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,i){return n[r[i]]=i,n},{})),r[t]}Ou.default=I0;var ku={};Object.defineProperty(ku,"__esModule",{value:!0}),ku.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=Ou;Object.defineProperty(t,"mapRiskInsurances",{enumerable:!0,get:function(){return e.default}});var r=ku;Object.defineProperty(t,"insuranceKeyConfig",{enumerable:!0,get:function(){return r.default}})}(ma);var yn={},j0=_&&_.__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.")},F0=_&&_.__read||function(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,a=[],s;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(u){s={error:u}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return a};Object.defineProperty(yn,"__esModule",{value:!0}),yn.supplierPlacementTracker=void 0,yn.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")},getSubId:function(){var t=new URLSearchParams(window.location.search),e=t.get("subid")||this.getCookie("ivanhoe_id");return e&&e.includes("ivan")?e:""},getCookie:function(t){var e,r,n=document.cookie.split(";");try{for(var i=j0(n),a=i.next();!a.done;a=i.next()){var s=a.value,u=F0(s.trim().split("=")),c=u[0],l=u.slice(1);if(c===t)return decodeURIComponent(l.join("="))}}catch(o){e={error:o}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return""}};var Ld;function L0(){if(Ld)return ha;Ld=1;var t=_&&_.__awaiter||function(o,d,p,f){function h(v){return v instanceof p?v:new p(function(g){g(v)})}return new(p||(p=Promise))(function(v,g){function m(O){try{w(f.next(O))}catch(C){g(C)}}function y(O){try{w(f.throw(O))}catch(C){g(C)}}function w(O){O.done?v(O.value):h(O.value).then(m,y)}w((f=f.apply(o,d||[])).next())})},e=_&&_.__generator||function(o,d){var p={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]},f,h,v,g;return g={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function m(w){return function(O){return y([w,O])}}function y(w){if(f)throw new TypeError("Generator is already executing.");for(;g&&(g=0,w[0]&&(p=0)),p;)try{if(f=1,h&&(v=w[0]&2?h.return:w[0]?h.throw||((v=h.return)&&v.call(h),0):h.next)&&!(v=v.call(h,w[1])).done)return v;switch(h=0,v&&(w=[w[0]&2,v.value]),w[0]){case 0:case 1:v=w;break;case 4:return p.label++,{value:w[1],done:!1};case 5:p.label++,h=w[1],w=[0];continue;case 7:w=p.ops.pop(),p.trys.pop();continue;default:if(v=p.trys,!(v=v.length>0&&v[v.length-1])&&(w[0]===6||w[0]===2)){p=0;continue}if(w[0]===3&&(!v||w[1]>v[0]&&w[1]<v[3])){p.label=w[1];break}if(w[0]===6&&p.label<v[1]){p.label=v[1],v=w;break}if(v&&p.label<v[2]){p.label=v[2],p.ops.push(w);break}v[2]&&p.ops.pop(),p.trys.pop();continue}w=d.call(o,p)}catch(O){w=[6,O],h=0}finally{f=v=0}if(w[0]&5)throw w[1];return{value:w[0]?w[1]:void 0,done:!0}}},r=_&&_.__values||function(o){var d=typeof Symbol=="function"&&Symbol.iterator,p=d&&o[d],f=0;if(p)return p.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&f>=o.length&&(o=void 0),{value:o&&o[f++],done:!o}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ha,"__esModule",{value:!0});var n=Ce,i=ma,a=G(),s=Ke,u=yn,c=hn,l=function(){function o(){this.client=new n.PackageResource}return o.prototype.calculatePackage=function(d){return this.client.calculatePackage(d)},o.prototype.calculateAdditionalCoverages=function(d){return this.client.calculateAdditionalCoverages(d)},o.prototype.calculatePackages=function(d){return t(this,void 0,void 0,function(){var p,f,h,v,g,m,y,w,O;return e(this,function(C){switch(C.label){case 0:p=new a.RateCollection,f=[],C.label=1;case 1:return C.trys.push([1,3,,4]),[4,this.client.calculatePackages(d)];case 2:return f=C.sent(),f.length===0?[2,p]:[3,4];case 3:return C.sent(),[2,p];case 4:if(h=c.Injector.instance.get(d),v=[],h.funnel!="package")return[2,new a.RateCollection("package",f.filter(Boolean).sort(s.sortBy.price))];try{for(g=r(f),m=g.next();!m.done;m=g.next())y=m.value,v.push(this.client.calculatePackageDiscount(y.CompanyName,y).catch(function(D){return null}))}catch(D){w={error:D}}finally{try{m&&!m.done&&(O=g.return)&&O.call(g)}finally{if(w)throw w.error}}return[2,Promise.all(v).then(function(D){return new a.RateCollection("package",D.filter(Boolean).sort(s.sortBy.price))})]}})})},o.prototype.calculateCompanyDiscount=function(d,p){return this.client.calculatePackageDiscount(d,p)},o.prototype.requestPackage=function(d){return t(this,void 0,void 0,function(){var p;return e(this,function(f){switch(f.label){case 0:return localStorage.getItem("supplierID")&&localStorage.getItem("placementID")&&(d.SupplierID=localStorage.getItem("supplierID"),d.PlacementID=localStorage.getItem("placementID")),u.supplierPlacementTracker.getSubId()&&(d.SubID=u.supplierPlacementTracker.getSubId()),[4,this.client.requestPackage(d)];case 1:return p=f.sent(),u.supplierPlacementTracker.removeParams(),[2,p]}})})},o.prototype.savePackage=function(d){return this.client.savePackage(d)},o.prototype.addAdditionalUserInfo=function(d){return this.client.addAdditionalUserInfo(d)},o.prototype.annualDiscount=function(d){return this.client.annualDiscount(d)},o.prototype.getPackageStatus=function(d){return this.client.getPackageStatus(d)},o.prototype.getRequest=function(d){for(var p={},f=0;f<d.length;f++){var h=(0,i.mapRiskInsurances)(d[f].Category);p.hasOwnProperty(h)||(p[h]=[]),p[h].push(d[f])}return p},o}();return ha.default=l,ha}var va={},Bd;function B0(){if(Bd)return va;Bd=1;var t=_&&_.__awaiter||function(a,s,u,c){function l(o){return o instanceof u?o:new u(function(d){d(o)})}return new(u||(u=Promise))(function(o,d){function p(v){try{h(c.next(v))}catch(g){d(g)}}function f(v){try{h(c.throw(v))}catch(g){d(g)}}function h(v){v.done?o(v.value):l(v.value).then(p,f)}h((c=c.apply(a,s||[])).next())})},e=_&&_.__generator||function(a,s){var u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},c,l,o,d;return d={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function p(h){return function(v){return f([h,v])}}function f(h){if(c)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(u=0)),u;)try{if(c=1,l&&(o=h[0]&2?l.return:h[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,h[1])).done)return o;switch(l=0,o&&(h=[h[0]&2,o.value]),h[0]){case 0:case 1:o=h;break;case 4:return u.label++,{value:h[1],done:!1};case 5:u.label++,l=h[1],h=[0];continue;case 7:h=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(h[0]===6||h[0]===2)){u=0;continue}if(h[0]===3&&(!o||h[1]>o[0]&&h[1]<o[3])){u.label=h[1];break}if(h[0]===6&&u.label<o[1]){u.label=o[1],o=h;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(h);break}o[2]&&u.ops.pop(),u.trys.pop();continue}h=s.call(a,u)}catch(v){h=[6,v],l=0}finally{c=o=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}};Object.defineProperty(va,"__esModule",{value:!0});var r=Ce,n=G(),i=function(){function a(){this.client=new r.DocumentResource}return a.prototype.getMoneyviewDocumentList=function(s){return this.client.getMoneyviewDocumentList(s)},a.prototype.getDocuments=function(s){return t(this,void 0,void 0,function(){var u=this;return e(this,function(c){return[2,function(){var l=!1,o=new n.DocumentsModel({ConditionUrls:[],InsuranceCards:[]});return function(){return t(u,void 0,void 0,function(){var d,p;return e(this,function(f){switch(f.label){case 0:if(l)return[3,4];l=!0,f.label=1;case 1:return f.trys.push([1,3,,4]),[4,this.client.getMoneyviewDocumentList(s)];case 2:return d=f.sent(),[2,new n.DocumentsModel(d)];case 3:return p=f.sent(),console.error(p),[3,4];case 4:return[2,o]}})})}}()]})})},a}();return va.default=i,va}var ga={},xu={},ya={},$d;function $0(){if($d)return ya;$d=1;var t=_&&_.__values||function(i){var a=typeof Symbol=="function"&&Symbol.iterator,s=a&&i[a],u=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ya,"__esModule",{value:!0});var e=G(),r=ma,n=function(){function i(){}return i.get=function(a,s){return a==="pet"?new e.PetsecurRate(a,s):a==="package"?i.createPackageRate(a,s):i.createRate(a,s)},i.createPackageRate=function(a,s){var u,c;try{for(var l=t(r.insuranceKeyConfig),o=l.next();!o.done;o=l.next()){var d=o.value,p=(0,r.mapRiskInsurances)(d,!0);if(s.hasOwnProperty(d)){var f=s[d];if(!(Array.isArray(f)&&f.length)){delete s[d];continue}for(var h=new e.RateCollection(p,[]),v=0;v<s[d].length;v++)h.push(i.createRate(p,f[v]));s[d]=h}}}catch(g){u={error:g}}finally{try{o&&!o.done&&(c=l.return)&&c.call(l)}finally{if(u)throw u.error}}return new e.PackageRate(a,s)},i.createRate=function(a,s){return s.Service==="Vergelijkdirect"?new e.VergelijkdirectRate(a,s):s.Service==="Moneyview"?new e.MoneyviewRate(a,s):s.Service==="RISK"?new e.RiskRate(a,s):s.Service==="Enra"?new e.EnraRate(a,s):s.Service==="Laka"?new e.LakaRate(a,s):s.Service==="Rolls"?new e.RollsRate(a,s):s.Service==="Petsecur"?new e.PetsecurRate(a,s):s.Service==="DKM"?new e.DkmRate(a,s):s.Service==="Unigarant"?new e.UnigarantRate(a,s):s.Service==="FietsZeker"?new e.FietsZekerRate(a,s):s.Service==="Ominimo"?new e.OminimoRate(a,s):s.Service==="NN"?new e.NNRate(a,s):s.Service==="Voogd"?new e.VoogdRate(a,s):new e.UndefinedRate},i}();return ya.default=n,ya}var _a={},qd;function q0(){if(qd)return _a;qd=1,Object.defineProperty(_a,"__esModule",{value:!0});var t=Ue(),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==="business-liability")return new t.BusinessLiabilityService;if(n==="liability")return new t.LiabilityService;if(n==="legal-assistance")return new t.LegalAssistanceService;if(n==="car-business")return new t.BusinessCarService;if(n==="car")return new t.CarService;if(n==="travel")return new t.TravelService;if(n==="package")return new t.PackageService;if(n==="housing")return new t.HousingService;if(n==="loan")return new t.LoanService;throw new Error("Undefined api service")},r}();return _a.default=e,_a}var ba={},Hd;function H0(){if(Hd)return ba;Hd=1,Object.defineProperty(ba,"__esModule",{value:!0});var t=G(),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 ba.default=e,ba}var Ud;function kt(){return Ud||(Ud=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.ComparisonFactory=t.ApiServiceFactory=t.RateFactory=void 0;var e=$0();Object.defineProperty(t,"RateFactory",{enumerable:!0,get:function(){return e.default}});var r=q0();Object.defineProperty(t,"ApiServiceFactory",{enumerable:!0,get:function(){return r.default}});var n=H0();Object.defineProperty(t,"ComparisonFactory",{enumerable:!0,get:function(){return n.default}})}(xu)),xu}var zd;function U0(){if(zd)return ga;zd=1;var t=_&&_.__awaiter||function(u,c,l,o){function d(p){return p instanceof l?p:new l(function(f){f(p)})}return new(l||(l=Promise))(function(p,f){function h(m){try{g(o.next(m))}catch(y){f(y)}}function v(m){try{g(o.throw(m))}catch(y){f(y)}}function g(m){m.done?p(m.value):d(m.value).then(h,v)}g((o=o.apply(u,c||[])).next())})},e=_&&_.__generator||function(u,c){var l={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]},o,d,p,f;return f={next:h(0),throw:h(1),return:h(2)},typeof Symbol=="function"&&(f[Symbol.iterator]=function(){return this}),f;function h(g){return function(m){return v([g,m])}}function v(g){if(o)throw new TypeError("Generator is already executing.");for(;f&&(f=0,g[0]&&(l=0)),l;)try{if(o=1,d&&(p=g[0]&2?d.return:g[0]?d.throw||((p=d.return)&&p.call(d),0):d.next)&&!(p=p.call(d,g[1])).done)return p;switch(d=0,p&&(g=[g[0]&2,p.value]),g[0]){case 0:case 1:p=g;break;case 4:return l.label++,{value:g[1],done:!1};case 5:l.label++,d=g[1],g=[0];continue;case 7:g=l.ops.pop(),l.trys.pop();continue;default:if(p=l.trys,!(p=p.length>0&&p[p.length-1])&&(g[0]===6||g[0]===2)){l=0;continue}if(g[0]===3&&(!p||g[1]>p[0]&&g[1]<p[3])){l.label=g[1];break}if(g[0]===6&&l.label<p[1]){l.label=p[1],p=g;break}if(p&&l.label<p[2]){l.label=p[2],l.ops.push(g);break}p[2]&&l.ops.pop(),l.trys.pop();continue}g=c.call(u,l)}catch(m){g=[6,m],d=0}finally{o=p=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}};Object.defineProperty(ga,"__esModule",{value:!0});var r=Ce,n=kt(),i=hn,a=yn,s=function(){function u(){this.client=new r.ComparisonResource}return u.prototype.create=function(c,l){return l===void 0&&(l=null),t(this,void 0,void 0,function(){var o,d;return e(this,function(p){switch(p.label){case 0:return o={funnel:c},l!==null&&(o.user=l),a.supplierPlacementTracker.getSubId()&&(o.sub_id=a.supplierPlacementTracker.getSubId()),[4,this.client.create(o)];case 1:return d=p.sent(),[2,n.ComparisonFactory.createFromResponse(d)]}})})},u.prototype.update=function(c){return t(this,void 0,void 0,function(){var l,o;return e(this,function(d){switch(d.label){case 0:return l=c.toObject(),a.supplierPlacementTracker.getSubId()&&(l.sub_id=a.supplierPlacementTracker.getSubId()),[4,this.client.update(l,c.getId())];case 1:return o=d.sent(),[2,n.ComparisonFactory.createFromResponse(o)]}})})},u.prototype.get=function(c){return t(this,void 0,void 0,function(){var l,o;return e(this,function(d){switch(d.label){case 0:return[4,this.client.get(c)];case 1:return l=d.sent(),o=n.ComparisonFactory.createFromResponse(l),i.Injector.instance.constant(o.getId(),{funnel:o.getFunnel()}),i.Injector.instance.constant("X-Comparison-Funnel",o.getFunnel()),[2,o]}})})},u}();return ga.default=s,ga}var Pu={};Object.defineProperty(Pu,"__esModule",{value:!0});var z0=Ce,V0=function(){function t(){this.client=new z0.DataValidationResource}return t.prototype.validateEmail=function(e){return this.client.validateEmail(e)},t.prototype.validatePhone=function(e){return this.client.validatePhone(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}();Pu.default=V0;var wa={},Vd;function Y0(){if(Vd)return wa;Vd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.BusinessCarResource,o}return l.prototype.getRollsBusinessInfo=function(){return e(this,void 0,void 0,function(){return r(this,function(o){return[2,this.client.getRollsBusinessInfo()]})})},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("car-business",p.sort(a.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRollsAdditionalCoverages(o)]})})},l.prototype.getVoogdAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVoogdAdditionalCoverages(o)]})})},l}(s.RateService);return wa.default=u,wa}var Sa={},Yd;function W0(){if(Yd)return Sa;Yd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=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=Ce,i=G(),a=Ke,s=Ue(),u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new n.CarResource,o}return l.prototype.findCar=function(o){return this.client.findCar(o)},l.prototype.checkValidity=function(o){return this.client.checkValidity(o)},l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new i.RateCollection("car",p.sort(a.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getRollsAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRollsAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l.prototype.getOminimoAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getOminimoAdditionalCoverages(o)]})})},l.prototype.getVoogdAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVoogdAdditionalCoverages(o)]})})},l}(s.RateService);return Sa.default=u,Sa}var Ca={},Du={},G0=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Du,"__esModule",{value:!0});var K0=He,Z0=function(t){G0(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}(K0.default);Du.default=Z0;var Wd;function J0(){if(Wd)return Ca;Wd=1;var t=_&&_.__extends||function(){var c=function(l,o){return c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,p){d.__proto__=p}||function(d,p){for(var f in p)Object.prototype.hasOwnProperty.call(p,f)&&(d[f]=p[f])},c(l,o)};return function(l,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");c(l,o);function d(){this.constructor=l}l.prototype=o===null?Object.create(o):(d.prototype=o.prototype,new d)}}(),e=_&&_.__awaiter||function(c,l,o,d){function p(f){return f instanceof o?f:new o(function(h){h(f)})}return new(o||(o=Promise))(function(f,h){function v(y){try{m(d.next(y))}catch(w){h(w)}}function g(y){try{m(d.throw(y))}catch(w){h(w)}}function m(y){y.done?f(y.value):p(y.value).then(v,g)}m((d=d.apply(c,l||[])).next())})},r=_&&_.__generator||function(c,l){var o={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},d,p,f,h;return h={next:v(0),throw:v(1),return:v(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function v(m){return function(y){return g([m,y])}}function g(m){if(d)throw new TypeError("Generator is already executing.");for(;h&&(h=0,m[0]&&(o=0)),o;)try{if(d=1,p&&(f=m[0]&2?p.return:m[0]?p.throw||((f=p.return)&&f.call(p),0):p.next)&&!(f=f.call(p,m[1])).done)return f;switch(p=0,f&&(m=[m[0]&2,f.value]),m[0]){case 0:case 1:f=m;break;case 4:return o.label++,{value:m[1],done:!1};case 5:o.label++,p=m[1],m=[0];continue;case 7:m=o.ops.pop(),o.trys.pop();continue;default:if(f=o.trys,!(f=f.length>0&&f[f.length-1])&&(m[0]===6||m[0]===2)){o=0;continue}if(m[0]===3&&(!f||m[1]>f[0]&&m[1]<f[3])){o.label=m[1];break}if(m[0]===6&&o.label<f[1]){o.label=f[1],f=m;break}if(f&&o.label<f[2]){o.label=f[2],o.ops.push(m);break}f[2]&&o.ops.pop(),o.trys.pop();continue}m=l.call(c,o)}catch(y){m=[6,y],p=0}finally{d=f=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:!0}}};Object.defineProperty(Ca,"__esModule",{value:!0});var n=G(),i=Ke,a=ai,s=Du,u=function(c){t(l,c);function l(){var o=c.call(this)||this;return o.client=new s.default,o}return l.prototype.getRates=function(o){return e(this,void 0,void 0,function(){var d,p;return r(this,function(f){switch(f.label){case 0:return[4,this.client.getRates(o)];case 1:return d=f.sent(),p=this.handleRates(d),[2,new n.RateCollection("travel",p.sort(i.sortBy.price))]}})})},l.prototype.getRiskAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getRiskAdditionalCoverages(o)]})})},l.prototype.getMoneyviewAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getMoneyviewAdditionalCoverages(o)]})})},l.prototype.getVergelijkdirectAdditionalCoverages=function(o){return e(this,void 0,void 0,function(){return r(this,function(d){return[2,this.client.getVergelijkdirectAdditionalCoverages(o)]})})},l}(a.default);return Ca.default=u,Ca}var Au={},Ru={},X0=_&&_.__extends||function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,i){n.__proto__=i}||function(n,i){for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(n[a]=i[a])},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(Ru,"__esModule",{value:!0});var Q0=Ot,eS=function(t){X0(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}(Q0.default);Ru.default=eS,Object.defineProperty(Au,"__esModule",{value:!0});var tS=Ru,rS=function(){function t(){this.client=new tS.default}return t.prototype.create=function(e){return this.client.create(e)},t}();Au.default=rS;var Tu={};Object.defineProperty(Tu,"__esModule",{value:!0});var nS=Xi,iS=function(){function t(){this.client=new nS.default}return t.prototype.getReviews=function(){return this.client.getReviews()},t}();Tu.default=iS;var Gd;function Ue(){return Gd||(Gd=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleService=t.UserService=t.TravelService=t.CarService=t.BusinessCarService=t.DataValidationService=t.ComparisonService=t.DocumentService=t.PackageService=t.ConfigurationsService=t.ComparisonModuleService=t.PartnerService=t.LegalAssistanceService=t.LiabilityService=t.BusinessLiabilityService=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=$s;Object.defineProperty(t,"DataService",{enumerable:!0,get:function(){return e.default}});var r=ai;Object.defineProperty(t,"RateService",{enumerable:!0,get:function(){return r.default}});var n=d0();Object.defineProperty(t,"PetService",{enumerable:!0,get:function(){return n.default}});var i=f0();Object.defineProperty(t,"LoanService",{enumerable:!0,get:function(){return i.default}});var a=p0();Object.defineProperty(t,"HomeService",{enumerable:!0,get:function(){return a.default}});var s=h0();Object.defineProperty(t,"MopedService",{enumerable:!0,get:function(){return s.default}});var u=m0();Object.defineProperty(t,"MotorService",{enumerable:!0,get:function(){return u.default}});var c=v0();Object.defineProperty(t,"CaravanService",{enumerable:!0,get:function(){return c.default}});var l=g0();Object.defineProperty(t,"BikeService",{enumerable:!0,get:function(){return l.default}});var o=y0();Object.defineProperty(t,"HouseholdService",{enumerable:!0,get:function(){return o.default}});var d=yu;Object.defineProperty(t,"V1Service",{enumerable:!0,get:function(){return d.default}});var p=O0();Object.defineProperty(t,"HousingService",{enumerable:!0,get:function(){return p.default}});var f=k0();Object.defineProperty(t,"BusinessLiabilityService",{enumerable:!0,get:function(){return f.default}});var h=x0();Object.defineProperty(t,"LiabilityService",{enumerable:!0,get:function(){return h.default}});var v=P0();Object.defineProperty(t,"LegalAssistanceService",{enumerable:!0,get:function(){return v.default}});var g=bu;Object.defineProperty(t,"PartnerService",{enumerable:!0,get:function(){return g.default}});var m=wu;Object.defineProperty(t,"ComparisonModuleService",{enumerable:!0,get:function(){return m.default}});var y=N0();Object.defineProperty(t,"ConfigurationsService",{enumerable:!0,get:function(){return y.default}});var w=L0();Object.defineProperty(t,"PackageService",{enumerable:!0,get:function(){return w.default}});var O=B0();Object.defineProperty(t,"DocumentService",{enumerable:!0,get:function(){return O.default}});var C=U0();Object.defineProperty(t,"ComparisonService",{enumerable:!0,get:function(){return C.default}});var D=Pu;Object.defineProperty(t,"DataValidationService",{enumerable:!0,get:function(){return D.default}});var F=Y0();Object.defineProperty(t,"BusinessCarService",{enumerable:!0,get:function(){return F.default}});var H=W0();Object.defineProperty(t,"CarService",{enumerable:!0,get:function(){return H.default}});var E=J0();Object.defineProperty(t,"TravelService",{enumerable:!0,get:function(){return E.default}});var z=Au;Object.defineProperty(t,"UserService",{enumerable:!0,get:function(){return z.default}});var I=Tu;Object.defineProperty(t,"GoogleService",{enumerable:!0,get:function(){return I.default}})}(Bs)),Bs}var Kd;function Zd(){if(Kd)return mt;Kd=1;var t=_&&_.__awaiter||function(a,s,u,c){function l(o){return o instanceof u?o:new u(function(d){d(o)})}return new(u||(u=Promise))(function(o,d){function p(v){try{h(c.next(v))}catch(g){d(g)}}function f(v){try{h(c.throw(v))}catch(g){d(g)}}function h(v){v.done?o(v.value):l(v.value).then(p,f)}h((c=c.apply(a,s||[])).next())})},e=_&&_.__generator||function(a,s){var u={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},c,l,o,d;return d={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(d[Symbol.iterator]=function(){return this}),d;function p(h){return function(v){return f([h,v])}}function f(h){if(c)throw new TypeError("Generator is already executing.");for(;d&&(d=0,h[0]&&(u=0)),u;)try{if(c=1,l&&(o=h[0]&2?l.return:h[0]?l.throw||((o=l.return)&&o.call(l),0):l.next)&&!(o=o.call(l,h[1])).done)return o;switch(l=0,o&&(h=[h[0]&2,o.value]),h[0]){case 0:case 1:o=h;break;case 4:return u.label++,{value:h[1],done:!1};case 5:u.label++,l=h[1],h=[0];continue;case 7:h=u.ops.pop(),u.trys.pop();continue;default:if(o=u.trys,!(o=o.length>0&&o[o.length-1])&&(h[0]===6||h[0]===2)){u=0;continue}if(h[0]===3&&(!o||h[1]>o[0]&&h[1]<o[3])){u.label=h[1];break}if(h[0]===6&&u.label<o[1]){u.label=o[1],o=h;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(h);break}o[2]&&u.ops.pop(),u.trys.pop();continue}h=s.call(a,u)}catch(v){h=[6,v],l=0}finally{c=o=0}if(h[0]&5)throw h[1];return{value:h[0]?h[1]:void 0,done:!0}}};Object.defineProperty(mt,"__esModule",{value:!0});var r=Ue(),n=G(),i=function(){function a(s,u){this.data=u,this.insuranceCategory=s,this.set("Category",s),this.documentService=new r.DocumentService,this.documents=this.fetchDocuments()}return a.prototype.getData=function(){return Object.assign({},this.data)},a.prototype.get=function(s,u){u===void 0&&(u=null);try{return s.split(".").reduce(function(c,l){return c[l]},this.getData())}catch(c){return u}},a.prototype.set=function(s,u){return this.data[s]=u,this},a.prototype.getPrice=function(){return this.get("Price",0)},a.prototype.getCoverage=function(){return this.get("Coverage",1)},a.prototype.getRates=function(){return new n.RateCollection},a.prototype.getCompanyName=function(){return this.data.CompanyName},a.prototype.getInsuranceCategory=function(){return this.insuranceCategory},a.prototype.fetchDocuments=function(){return t(this,void 0,void 0,function(){var s=this;return e(this,function(u){return[2,function(){return t(s,void 0,void 0,function(){return e(this,function(c){return[2,new n.DocumentsModel({ConditionUrls:this.get("ConditionUrls",[]),InsuranceCards:this.get("InsuranceCards",[])})]})})}]})})},a.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()()]}})})},a}();return mt.default=i,mt}var Oa={},ka={},Jd;function Xd(){if(Jd)return ka;Jd=1;var t=_&&_.__values||function(i){var a=typeof Symbol=="function"&&Symbol.iterator,s=a&&i[a],u=0;if(s)return s.call(i);if(i&&typeof i.length=="number")return{next:function(){return i&&u>=i.length&&(i=void 0),{value:i&&i[u++],done:!i}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(ka,"__esModule",{value:!0});var e=G(),r=kt(),n=function(){function i(a,s){if(a===void 0&&(a=null),s===void 0&&(s=[]),this.rates=[],this.pointer=0,a!==null)for(var u=0;u<s.length;u++)this.rates.push(r.RateFactory.get(a,s[u]))}return i.prototype.all=function(){return this.rates},i.prototype.count=function(){return this.rates.length},i.prototype.first=function(){return this.rates.length===0?new e.UndefinedRate:this.rates[0]},i.prototype.last=function(){return this.rates.length===0?new e.UndefinedRate:this.rates[this.rates.length-1]},i.prototype.merge=function(a){return this.rates=this.rates.concat(a.all()),this},i.prototype.push=function(a){return this.rates.push(a),this},i.prototype.next=function(){return this.pointer<this.count()?{done:!1,value:this.rates[this.pointer++]}:{done:!0,value:null}},i.prototype[Symbol.iterator]=function(){return this},i.prototype.toObject=function(){var a,s,u=[];try{for(var c=t(this.rates),l=c.next();!l.done;l=c.next()){var o=l.value;u.push(o.getData())}}catch(d){a={error:d}}finally{try{l&&!l.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}return u},i}();return ka.default=n,ka}var Qd;function aS(){if(Qd)return Oa;Qd=1;var t=_&&_.__extends||function(){var u=function(c,l){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var p in d)Object.prototype.hasOwnProperty.call(d,p)&&(o[p]=d[p])},u(c,l)};return function(c,l){if(typeof l!="function"&&l!==null)throw new TypeError("Class extends value "+String(l)+" is not a constructor or null");u(c,l);function o(){this.constructor=c}c.prototype=l===null?Object.create(l):(o.prototype=l.prototype,new o)}}(),e=_&&_.__values||function(u){var c=typeof Symbol=="function"&&Symbol.iterator,l=c&&u[c],o=0;if(l)return l.call(u);if(u&&typeof u.length=="number")return{next:function(){return u&&o>=u.length&&(u=void 0),{value:u&&u[o++],done:!u}}};throw new TypeError(c?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(Oa,"__esModule",{value:!0});var r=G(),n=kt(),i=ma,a=Xd(),s=function(u){t(c,u);function c(){return u!==null&&u.apply(this,arguments)||this}return c.prototype.getAdditionalCoverages=function(){return n.ApiServiceFactory.get(this.insuranceCategory).calculateAdditionalCoverages(this.getData())},c.prototype.request=function(){return n.ApiServiceFactory.get(this.insuranceCategory).requestPackage(this.getData())},c.prototype.calculate=function(){return n.ApiServiceFactory.get(this.insuranceCategory).calculatePackageDiscount(this.getCompanyName(),this.getData())},c.prototype.getRates=function(l){var o,d;l===void 0&&(l=null);var p=u.prototype.getData.call(this);if(l!==null)return p[(0,i.mapRiskInsurances)(l)];var f=new a.default;try{for(var h=e(i.insuranceKeyConfig),v=h.next();!v.done;v=h.next()){var g=v.value;p.hasOwnProperty(g)&&(f=f.merge(p[g]))}}catch(m){o={error:m}}finally{try{v&&!v.done&&(d=h.return)&&d.call(h)}finally{if(o)throw o.error}}return f},c.prototype.getData=function(){var l,o,d,p,f=u.prototype.getData.call(this);try{for(var h=e(i.insuranceKeyConfig),v=h.next();!v.done;v=h.next()){var g=v.value;if(f.hasOwnProperty(g)){var m=[];try{for(var y=(d=void 0,e(f[g].all())),w=y.next();!w.done;w=y.next()){var O=w.value;m.push(O.getData())}}catch(C){d={error:C}}finally{try{w&&!w.done&&(p=y.return)&&p.call(y)}finally{if(d)throw d.error}}f[g]=m}}}catch(C){l={error:C}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(l)throw l.error}}return f},c}(r.Rate);return Oa.default=s,Oa}var xa={},ef;function oS(){if(ef)return xa;ef=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(xa,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n!==null&&n.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(a){return Promise.resolve([])},i}(e.Rate);return xa.default=r,xa}var Pa={},tf;function sS(){if(tf)return Pa;tf=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Pa,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getRiskAdditionalCoverages(s)},a}(e.Rate);return Pa.default=n,Pa}var Da={},rf;function uS(){if(rf)return Da;rf=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Da,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getRollsAdditionalCoverages(s)},a}(e.Rate);return Da.default=n,Da}var Aa={},nf;function lS(){if(nf)return Aa;nf=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Aa,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getEnraAdditionalCoverages(s)},a}(e.Rate);return Aa.default=n,Aa}var Ra={},af;function cS(){if(af)return Ra;af=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Ra,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getMoneyviewAdditionalCoverages(s)},a}(e.Rate);return Ra.default=n,Ra}var Ta={},of;function dS(){if(of)return Ta;of=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Ta,"__esModule",{value:!0});var e=Zd(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getVergelijkdirectAdditionalCoverages(s)},a}(e.default);return Ta.default=n,Ta}var Ea={},sf;function fS(){if(sf)return Ea;sf=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(Ea,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n!==null&&n.apply(this,arguments)||this}return i}(e.Rate);return Ea.default=r,Ea}var Ma={},uf;function pS(){if(uf)return Ma;uf=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Ma,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getUnigarantAdditionalCoverages(s)},a}(e.Rate);return Ma.default=n,Ma}var Na={},lf;function hS(){if(lf)return Na;lf=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(Na,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n!==null&&n.apply(this,arguments)||this}return i}(e.Rate);return Na.default=r,Na}var Ia={},cf;function mS(){if(cf)return Ia;cf=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Ia,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getOminimoAdditionalCoverages(s)},a}(e.Rate);return Ia.default=n,Ia}var ja={},df;function vS(){if(df)return ja;df=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(ja,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n!==null&&n.apply(this,arguments)||this}return i}(e.Rate);return ja.default=r,ja}var Fa={},ff;function gS(){if(ff)return Fa;ff=1;var t=_&&_.__extends||function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,c){u.__proto__=c}||function(u,c){for(var l in c)Object.prototype.hasOwnProperty.call(c,l)&&(u[l]=c[l])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}();Object.defineProperty(Fa,"__esModule",{value:!0});var e=G(),r=kt(),n=function(i){t(a,i);function a(){return i!==null&&i.apply(this,arguments)||this}return a.prototype.getAdditionalCoverages=function(s){return r.ApiServiceFactory.get(this.insuranceCategory).getVoogdAdditionalCoverages(s)},a}(e.Rate);return Fa.default=n,Fa}var La={},pf;function yS(){if(pf)return La;pf=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(La,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n.call(this,"undefined",{})||this}return i.prototype.getAdditionalCoverages=function(a){return Promise.resolve([])},i}(e.Rate);return La.default=r,La}var Eu={};Object.defineProperty(Eu,"__esModule",{value:!0});var _S=function(){function t(e){var r,n,i,a,s,u,c,l,o,d;this.publicId=(r=e.public_id)!==null&&r!==void 0?r:null,this.email=(n=e.email)!==null&&n!==void 0?n:null,this.name=(i=e.name)!==null&&i!==void 0?i:null,this.last_name=(a=e.last_name)!==null&&a!==void 0?a:null,this.zip_code=(s=e.zip_code)!==null&&s!==void 0?s:null,this.house_number=(u=e.house_number)!==null&&u!==void 0?u:null,this.house_number_addition=(c=e.house_number_addition)!==null&&c!==void 0?c:null,this.family_composition=(l=e.family_composition)!==null&&l!==void 0?l:null,this.birth_date=(o=e.birth_date)!==null&&o!==void 0?o:null,this.detail=(d=e.detail)!==null&&d!==void 0?d:null}return t.prototype.getName=function(){return this.name},t.prototype.getLastName=function(){return this.last_name},t.prototype.getPublicId=function(){return this.publicId},t.prototype.getEmail=function(){return this.email},t.prototype.getZipCode=function(){return this.zip_code},t.prototype.getBirthDate=function(){return this.birth_date},t.prototype.getHouseNumber=function(){return this.house_number},t.prototype.getHouseNumberAddition=function(){return this.house_number_addition},t.prototype.getFamilyComposition=function(){return this.family_composition},t.prototype.getDetail=function(e){return e===void 0&&(e=null),e===null?this.detail:this.detail.hasOwnProperty(e)?this.detail[e]:null},t.prototype.setDetail=function(e,r){return e===void 0&&(e=null),e===null?this.detail=r:this.detail[e]=r,this},t.prototype.setFamilyComposition=function(e){return this.family_composition=e,this},t.prototype.setHouseNumberAddition=function(e){return this.house_number_addition=e,this},t.prototype.setHouseNumber=function(e){return this.house_number=e,this},t.prototype.setBirthDate=function(e){return this.birth_date=e,this},t.prototype.setZipCode=function(e){return this.zip_code=e,this},t.prototype.setEmail=function(e){return this.email=e,this},t.prototype.setName=function(e){return this.name=e,this},t.prototype.setLastName=function(e){return this.last_name=e,this},t.fromObject=function(e){return new this(e)},t.prototype.toObject=function(){return{public_id:this.publicId,email:this.email,name:this.name,last_name:this.last_name,zip_code:this.zip_code,birth_date:this.birth_date,house_number:this.house_number,house_number_addition:this.house_number_addition,family_composition:this.family_composition,detail:this.detail}},t}();Eu.default=_S;var Mu={},Ba={},hf;function bS(){if(hf)return Ba;hf=1;var t=_&&_.__extends||function(){var n=function(i,a){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,u){s.__proto__=u}||function(s,u){for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(s[c]=u[c])},n(i,a)};return function(i,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");n(i,a);function s(){this.constructor=i}i.prototype=a===null?Object.create(a):(s.prototype=a.prototype,new s)}}();Object.defineProperty(Ba,"__esModule",{value:!0});var e=G(),r=function(n){t(i,n);function i(){return n!==null&&n.apply(this,arguments)||this}return i.prototype.getAdditionalCoverages=function(a){return Promise.resolve(this.get("AdditionalCoverages"))},i}(e.Rate);return Ba.default=r,Ba}var mf;function wS(){return mf||(mf=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),t.PetsecurRate=void 0;var e=bS();Object.defineProperty(t,"PetsecurRate",{enumerable:!0,get:function(){return e.default}})}(Mu)),Mu}var Nu={},$a={};//! moment.js
3
3
  //! version : 2.30.1
4
4
  //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
5
5
  //! license : MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vergelijkdirect/comparison-forms",
3
- "version": "1.3.39",
3
+ "version": "1.3.40-VER-9126.0",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "watch": "node server",
@@ -23,7 +23,7 @@
23
23
  "vite-plugin-compression2": "^0.10.6"
24
24
  },
25
25
  "dependencies": {
26
- "@vergelijkdirect/insurance-transmission-client": "1.3.65",
26
+ "@vergelijkdirect/insurance-transmission-client": "1.3.67-VER-9126.0",
27
27
  "@vergelijkdirect/styles": "1.1.32",
28
28
  "axios": "^1.6.8",
29
29
  "bootstrap": "^4.5.3",