(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{11:function(n){var t=function(){return this}();try{t=t||new Function("return this")()}catch(n){"object"==typeof window&&(t=window)}n.exports=t},1459:function(n,t,i){i(66);i(34);n.exports=i(1460)},1460:function(n,t,i){"use strict";i.r(t);var r=i(0),u=i.n(r),f=i(8),e=i(367),o=Window.initReviewsCarousel.reviews;Object(f.render)(u.a.createElement(e.a,{reviews:o}),document.getElementById("ReviewsCarousel"))},27:function(n,t){"use strict";function it(n,t){var u=n.length,i,r;n.push(t);n:for(;;){if(i=u-1>>>1,r=n[i],!(void 0!==r&&0<b(r,t)))break n;n[i]=t;n[u]=r;u=i}}function u(n){return void 0===(n=n[0])?null:n}function w(n){var o=n[0],i,t,s;if(void 0!==o){if(i=n.pop(),i!==o){n[0]=i;n:for(t=0,s=n.length;t<s;){var f=2*(t+1)-1,e=n[f],u=f+1,r=n[u];if(void 0!==e&&0>b(e,i))void 0!==r&&0>b(r,e)?(n[t]=r,n[u]=i,t=u):(n[t]=e,n[f]=i,t=f);else{if(!(void 0!==r&&0>b(r,i)))break n;n[t]=r;n[u]=i;t=u}}}return o}return null}function b(n,t){var i=n.sortIndex-t.sortIndex;return 0!==i?i:n.id-t.id}function rt(n){for(var t=u(e);null!==t;){if(null===t.callback)w(e);else{if(!(t.startTime<=n))break;w(e);t.sortIndex=t.expirationTime;it(f,t)}t=u(e)}}function ut(n){if(l=!1,rt(n),!o)if(null!==u(f))o=!0,s(ft);else{var t=u(e);null!==t&&h(ut,t.startTime-n)}}function ft(n,s){var b,c,v,y,p;o=!1;l&&(l=!1,a());k=!0;b=i;try{for(rt(s),r=u(f);null!==r&&(!(r.expirationTime>s)||n&&!t.unstable_shouldYield());)c=r.callback,"function"==typeof c?(r.callback=null,i=r.priorityLevel,v=c(r.expirationTime<=s),s=t.unstable_now(),"function"==typeof v?r.callback=v:r===u(f)&&w(f),rt(s)):w(f),r=u(f);return null!==r?y=!0:(p=u(e),null!==p&&h(ut,p.startTime-s),y=!1),y}finally{r=null;i=b;k=!1}}var s,h,a,d,et,g,ot,ct,lt,at,tt,p,pt;if("object"==typeof performance&&"function"==typeof performance.now?(et=performance,t.unstable_now=function(){return et.now()}):(g=Date,ot=g.now(),t.unstable_now=function(){return g.now()-ot}),"undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,st=null,ht=function(){if(null!==c)try{var n=t.unstable_now();c(!0,n);c=null}catch(n){throw setTimeout(ht,0),n;}};s=function(n){null!==c?setTimeout(s,0,n):(c=n,setTimeout(ht,0))};h=function(n,t){st=setTimeout(n,t)};a=function(){clearTimeout(st)};t.unstable_shouldYield=function(){return!1};d=t.unstable_forceFrameRate=function(){}}else{ct=window.setTimeout;lt=window.clearTimeout;"undefined"!=typeof console&&(at=window.cancelAnimationFrame,"function"!=typeof requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof at&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"));var v=!1,y=null,nt=-1,vt=5,yt=0;t.unstable_shouldYield=function(){return t.unstable_now()>=yt};d=function(){};t.unstable_forceFrameRate=function(n){0>n||125<n?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):vt=0<n?Math.floor(1e3/n):5};tt=new MessageChannel;p=tt.port2;tt.port1.onmessage=function(){if(null!==y){var n=t.unstable_now();yt=n+vt;try{y(!0,n)?p.postMessage(null):(v=!1,y=null)}catch(n){throw p.postMessage(null),n;}}else v=!1};s=function(n){y=n;v||(v=!0,p.postMessage(null))};h=function(n,i){nt=ct(function(){n(t.unstable_now())},i)};a=function(){lt(nt);nt=-1}}var f=[],e=[],wt=1,r=null,i=3,k=!1,o=!1,l=!1;pt=d;t.unstable_IdlePriority=5;t.unstable_ImmediatePriority=1;t.unstable_LowPriority=4;t.unstable_NormalPriority=3;t.unstable_Profiling=null;t.unstable_UserBlockingPriority=2;t.unstable_cancelCallback=function(n){n.callback=null};t.unstable_continueExecution=function(){o||k||(o=!0,s(ft))};t.unstable_getCurrentPriorityLevel=function(){return i};t.unstable_getFirstCallbackNode=function(){return u(f)};t.unstable_next=function(n){var t,r;switch(i){case 1:case 2:case 3:t=3;break;default:t=i}r=i;i=t;try{return n()}finally{i=r}};t.unstable_pauseExecution=function(){};t.unstable_requestPaint=pt;t.unstable_runWithPriority=function(n,t){switch(n){case 1:case 2:case 3:case 4:case 5:break;default:n=3}var r=i;i=n;try{return t()}finally{i=r}};t.unstable_scheduleCallback=function(n,i,r){var v=t.unstable_now(),c;switch(r="object"==typeof r&&null!==r&&"number"==typeof(r=r.delay)&&0<r?v+r:v,n){case 1:c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return n={id:wt++,callback:i,priorityLevel:n,startTime:r,expirationTime:c=r+c,sortIndex:-1},r>v?(n.sortIndex=r,it(e,n),null===u(f)&&n===u(e)&&(l?a():l=!0,h(ut,r-v))):(n.sortIndex=c,it(f,n),o||k||(o=!0,s(ft))),n};t.unstable_wrapCallback=function(n){var t=i;return function(){var r=i;i=t;try{return n.apply(this,arguments)}finally{i=r}}}},34:function(n,t,i){"use strict";i.r(t),function(n){function s(n){if("string"!=typeof n&&(n=String(n)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(n)||""===n)throw new TypeError('Invalid character in header field name: "'+n+'"');return n.toLowerCase()}function l(n){return"string"!=typeof n&&(n=String(n)),n}function a(n){var t={next:function(){var t=n.shift();return{done:void 0===t,value:t}}};return w&&(t[Symbol.iterator]=function(){return t}),t}function r(n){this.map={};n instanceof r?n.forEach(function(n,t){this.append(t,n)},this):Array.isArray(n)?n.forEach(function(n){if(2!=n.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+n.length);this.append(n[0],n[1])},this):n&&Object.getOwnPropertyNames(n).forEach(function(t){this.append(t,n[t])},this)}function v(n){if(!n._noBody)return n.bodyUsed?Promise.reject(new TypeError("Already read")):void(n.bodyUsed=!0)}function g(n){return new Promise(function(t,i){n.onload=function(){t(n.result)};n.onerror=function(){i(n.error)}})}function ut(n){var t=new FileReader,i=g(t);return t.readAsArrayBuffer(n),i}function nt(n){if(n.slice)return n.slice(0);var t=new Uint8Array(n.byteLength);return t.set(new Uint8Array(n)),t.buffer}function tt(){return this.bodyUsed=!1,this._initBody=function(n){var t;this.bodyUsed=this.bodyUsed;this._bodyInit=n;n?"string"==typeof n?this._bodyText=n:h&&Blob.prototype.isPrototypeOf(n)?this._bodyBlob=n:b&&FormData.prototype.isPrototypeOf(n)?this._bodyFormData=n:p&&URLSearchParams.prototype.isPrototypeOf(n)?this._bodyText=n.toString():c&&h&&(t=n)&&DataView.prototype.isPrototypeOf(t)?(this._bodyArrayBuffer=nt(n.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):c&&(ArrayBuffer.prototype.isPrototypeOf(n)||d(n))?this._bodyArrayBuffer=nt(n):this._bodyText=n=Object.prototype.toString.call(n):(this._noBody=!0,this._bodyText="");this.headers.get("content-type")||("string"==typeof n?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):p&&URLSearchParams.prototype.isPrototypeOf(n)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},h&&(this.blob=function(){var n=v(this);if(n)return n;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)return v(this)||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer));if(h)return this.blob().then(ut);throw new Error("could not read as ArrayBuffer");},this.text=function(){var n,t,i,r,u,f=v(this);if(f)return f;if(this._bodyBlob)return n=this._bodyBlob,i=g(t=new FileReader),u=(r=/charset=([A-Za-z0-9_-]+)/.exec(n.type))?r[1]:"utf-8",t.readAsText(n,u),i;if(this._bodyArrayBuffer)return Promise.resolve(function(n){for(var i=new Uint8Array(n),r=new Array(i.length),t=0;t<i.length;t++)r[t]=String.fromCharCode(i[t]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},b&&(this.formData=function(){return this.text().then(ft)}),this.json=function(){return this.text().then(JSON.parse)},this}function e(n,t){var s,f,i,o;if(!(this instanceof e))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(i=(t=t||{}).body,n instanceof e){if(n.bodyUsed)throw new TypeError("Already read");this.url=n.url;this.credentials=n.credentials;t.headers||(this.headers=new r(n.headers));this.method=n.method;this.mode=n.mode;this.signal=n.signal;i||null==n._bodyInit||(i=n._bodyInit,n.bodyUsed=!0)}else this.url=String(n);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new r(t.headers)),this.method=(f=(s=t.method||this.method||"GET").toUpperCase(),it.indexOf(f)>-1?f:s),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in u)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");(this._initBody(i),"GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)||(o=/([?&])_=[^&]*/,o.test(this.url)?this.url=this.url.replace(o,"$1_="+(new Date).getTime()):this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime())}function ft(n){var t=new FormData;return n.trim().split("&").forEach(function(n){if(n){var i=n.split("="),r=i.shift().replace(/\+/g," "),u=i.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(u))}}),t}function f(n,t){if(!(this instanceof f))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.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=void 0===t.statusText?"":""+t.statusText;this.headers=new r(t.headers);this.url=t.url||"";this._initBody(n)}function y(n,t){return new Promise(function(i,a){function w(){v.abort()}var y=new e(n,t),v,p;if(y.signal&&y.signal.aborted)return a(new o("Aborted","AbortError"));v=new XMLHttpRequest;(v.onload=function(){var u,t,n={statusText:v.statusText,headers:(u=v.getAllResponseHeaders()||"",t=new r,u.replace(/\r?\n[\t ]+/g," ").split("\r").map(function(n){return 0===n.indexOf("\n")?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),r=i.shift().trim(),u;if(r){u=i.join(":").trim();try{t.append(r,u)}catch(n){console.warn("Response "+n.message)}}}),t)},e;n.status=0===y.url.indexOf("file://")&&(v.status<200||v.status>599)?200:v.status;n.url="responseURL"in v?v.responseURL:n.headers.get("X-Request-URL");e="response"in v?v.response:v.responseText;setTimeout(function(){i(new f(e,n))},0)},v.onerror=function(){setTimeout(function(){a(new TypeError("Network request failed"))},0)},v.ontimeout=function(){setTimeout(function(){a(new TypeError("Network request timed out"))},0)},v.onabort=function(){setTimeout(function(){a(new o("Aborted","AbortError"))},0)},v.open(y.method,function(n){try{return""===n&&u.location.href?u.location.href:n}catch(t){return n}}(y.url),!0),"include"===y.credentials?v.withCredentials=!0:"omit"===y.credentials&&(v.withCredentials=!1),"responseType"in v&&(h?v.responseType="blob":c&&(v.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof r||u.Headers&&t.headers instanceof u.Headers)?y.headers.forEach(function(n,t){v.setRequestHeader(t,n)}):(p=[],Object.getOwnPropertyNames(t.headers).forEach(function(n){p.push(s(n));v.setRequestHeader(n,l(t.headers[n]))}),y.headers.forEach(function(n,t){-1===p.indexOf(t)&&v.setRequestHeader(t,n)}));y.signal&&(y.signal.addEventListener("abort",w),v.onreadystatechange=function(){4===v.readyState&&y.signal.removeEventListener("abort",w)});v.send(void 0===y._bodyInit?null:y._bodyInit)})}var k,d,it,rt,o;i.d(t,"Headers",function(){return r});i.d(t,"Request",function(){return e});i.d(t,"Response",function(){return f});i.d(t,"DOMException",function(){return o});i.d(t,"fetch",function(){return y});var u="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==n&&n||{},p="URLSearchParams"in u,w="Symbol"in u&&"iterator"in Symbol,h="FileReader"in u&&"Blob"in u&&function(){try{return new Blob,!0}catch(n){return!1}}(),b="FormData"in u,c="ArrayBuffer"in u;c&&(k=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],d=ArrayBuffer.isView||function(n){return n&&k.indexOf(Object.prototype.toString.call(n))>-1});r.prototype.append=function(n,t){n=s(n);t=l(t);var i=this.map[n];this.map[n]=i?i+", "+t:t};r.prototype.delete=function(n){delete this.map[s(n)]};r.prototype.get=function(n){return n=s(n),this.has(n)?this.map[n]:null};r.prototype.has=function(n){return this.map.hasOwnProperty(s(n))};r.prototype.set=function(n,t){this.map[s(n)]=l(t)};r.prototype.forEach=function(n,t){for(var i in this.map)this.map.hasOwnProperty(i)&&n.call(t,this.map[i],i,this)};r.prototype.keys=function(){var n=[];return this.forEach(function(t,i){n.push(i)}),a(n)};r.prototype.values=function(){var n=[];return this.forEach(function(t){n.push(t)}),a(n)};r.prototype.entries=function(){var n=[];return this.forEach(function(t,i){n.push([i,t])}),a(n)};w&&(r.prototype[Symbol.iterator]=r.prototype.entries);it=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];e.prototype.clone=function(){return new e(this,{body:this._bodyInit})};tt.call(e.prototype);tt.call(f.prototype);f.prototype.clone=function(){return new f(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new r(this.headers),url:this.url})};f.error=function(){var n=new f(null,{status:200,statusText:""});return n.ok=!1,n.status=0,n.type="error",n};rt=[301,302,303,307,308];f.redirect=function(n,t){if(-1===rt.indexOf(t))throw new RangeError("Invalid status code");return new f(null,{status:t,headers:{location:n}})};o=u.DOMException;try{new o}catch(n){(o=function(n,t){this.message=n;this.name=t;var i=Error(n);this.stack=i.stack}).prototype=Object.create(Error.prototype);o.prototype.constructor=o}y.polyfill=!0;u.fetch||(u.fetch=y,u.Headers=r,u.Request=e,u.Response=f)}.call(this,i(11))},367:function(n,t,i){"use strict";var u=i(0),r=i.n(u),f=i(51);t.a=function(n){const t=Object(u.useRef)(null),i=Object(f.a)(t),e=n.reviews;return Object(u.useEffect)(function(){for(var u,i=t.current.getElementsByClassName("review--light"),r=0,n=0;n<i.length;n++)u=i[n].offsetHeight,u>r&&(r=u);for(n=0;n<i.length;n++)i[n].style.height=r+"px";return function(){}}),r.a.createElement("div",{ref:t},r.a.createElement("div",{id:"Carousel",className:"castle-carousel"},r.a.createElement("div",{className:"castle-carousel-wrapper"},e.map(function(n,t){return r.a.createElement("div",{className:"castle-carousel__item--card",key:t},r.a.createElement("div",{className:"review--light"},r.a.createElement("div",{className:"review__identity"},n.identity),r.a.createElement("div",{className:"review__body"},n.response)))})),r.a.createElement("button",{"data-action":"previous",className:"castle-carousel__prev-button--card",onClick:function(n){return i.handleCarouselClick(n)}},"Prev"),r.a.createElement("button",{"data-action":"next",className:"castle-carousel__next-button--card",onClick:function(n){return i.handleCarouselClick(n)}},"Next")))}},46:function(n){"use strict";function u(n){if(null==n)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}var t=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;n.exports=function(){var i,t,n,r;try{if(!Object.assign||(i=new String("abc"),i[5]="de","5"===Object.getOwnPropertyNames(i)[0]))return!1;for(t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;return"0123456789"!==Object.getOwnPropertyNames(t).map(function(n){return t[n]}).join("")?!1:(r={},"abcdefghijklmnopqrst".split("").forEach(function(n){r[n]=n}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join(""))}catch(i){return!1}}()?Object.assign:function(n){for(var f,o,c,e,s=u(n),h=1;h<arguments.length;h++){for(c in f=Object(arguments[h]))i.call(f,c)&&(s[c]=f[c]);if(t)for(o=t(f),e=0;e<o.length;e++)r.call(f,o[e])&&(s[o[e]]=f[o[e]])}return s}},51:function(n,t,i){"use strict";function f(n){const t=Object(u.a)();Object(r.useEffect)(function(){const r=n.current;t.initialise(r);window.addEventListener("resize",function(){t.handleResize(r)});const u=r.getElementsByClassName("castle-carousel-wrapper")[0];return u.addEventListener("scroll",i),function(){u.removeEventListener("scroll",i)}});const i=function(n){t.handleCarouselScroll(n)};return{handleCarouselScroll:i,handleCarouselClick:function(n){t.handleCarouselClick(n)}}}i.d(t,"a",function(){return f});var r=i(0),u=i(56)},56:function(n,t,i){"use strict";function r(){return{initialise:function(n){const t=n.querySelectorAll('[class^="castle-carousel__item"]'),i=t.length,r=n.getElementsByClassName("castle-carousel-wrapper")[0],u=r.getBoundingClientRect().width,f=r.scrollWidth;i>0&&(f>u||(n.querySelectorAll('[class^="castle-carousel__next-button"]')[0].style.display="none"),n.getElementsByClassName("castle-carousel__counter-current")[0]&&(n.getElementsByClassName("castle-carousel__counter-current")[0].innerText="1"),n.getElementsByClassName("castle-carousel__counter-total")[0]&&(n.getElementsByClassName("castle-carousel__counter-total")[0].innerText=i),n.querySelectorAll('[class^="castle-carousel__prev-button"]')[0].style.display="none",n.getElementsByClassName("castle-carousel__caption")[0]&&(t[0].getElementsByClassName("castle-carousel__img")[0].dataset.caption?n.getElementsByClassName("castle-carousel__caption")[0].innerText=t[0].getElementsByClassName("castle-carousel__img")[0].dataset.caption:n.getElementsByClassName("castle-carousel__caption")[0].style.display="none"))},handleCarouselScroll:function(n){const t=n.target,f=t.getBoundingClientRect(),e=t.scrollWidth,i=t.querySelectorAll('[class^="castle-carousel__item"]'),o=i[0].offsetWidth,r=t.scrollLeft,s=f.width,h=Math.round(r+s),u=Math.round(r/o)+1;if(t.parentNode.getElementsByClassName("castle-carousel__counter-current")[0]&&(t.parentNode.getElementsByClassName("castle-carousel__counter-current")[0].innerText=u),t.parentNode.getElementsByClassName("castle-carousel__caption")[0]){const n=i[u-1].firstChild.dataset.caption;n?(t.parentNode.getElementsByClassName("castle-carousel__caption")[0].style.display="block",t.parentNode.getElementsByClassName("castle-carousel__caption")[0].innerText=n):t.parentNode.getElementsByClassName("castle-carousel__caption")[0].style.display="none"}t.parentNode.querySelectorAll('[class^="castle-carousel__prev-button"]')[0].style.display=0==r?"none":"block";t.parentNode.querySelectorAll('[class^="castle-carousel__next-button"]')[0].style.display=h==e?"none":"block",function(n,t){var i=t+2;if(i<n.length){const t=n[i].getElementsByClassName("castle-carousel__img")[0];t&&!t.src&&(t.src=t.dataset.src)}}(i,u)},handleCarouselClick:function(n){if("BUTTON"==n.target.tagName){n.preventDefault();var t=n.target.closest("div");const r=n.target.getAttribute("data-action"),i=t.childNodes[0],u=function(n,t){if(n>=t)return n;for(var i=0;i+n<t;)i+=n;return i}(t.querySelectorAll('[class^="castle-carousel__item"]')[0].offsetWidth,i.offsetWidth),f=i.scrollLeft;"next"==r?i.scrollTo({top:0,left:f+u,behavior:"smooth"}):"previous"==r&&i.scrollTo({top:0,left:f-u,behavior:"smooth"})}},handleResize:function(){}}}i.d(t,"a",function(){return r})},58:function(n,t,i){"use strict";n.exports=i(27)}},[[1459,0,1,2]]])