1(globalThis.webpackChunkpricing_mfe_host=globalThis.webpackChunkpricing_mfe_host||[]).push([[636],{837:(e,t,n)=>{"use strict";n.d(t,{O:()=>s,e:()=>o});var r=n(65490),i=n(36551),a=n(35092);function o(e){return(0,r.N)(e.animate)||a._.some(t=>(0,i.w)(e[t]))}function s(e){return!!(o(e)||e.variants)}},849:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},920:(e,t,n)=>{"use strict";var r=n(70453),i=n(38075),a=n(58859),o=n(69675),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=i("WeakMap.prototype.get",!0),u=i("WeakMap.prototype.set",!0),d=i("WeakMap.prototype.has",!0),p=i("Map.prototype.get",!0),h=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n},g=function(e,t){var n=m(e,t);return n&&n.value},y=function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new o("Side channel does not contain "+a(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(l){if(t)return p(t,r)}else if(n)return g(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(l){if(t)return f(t,r)}else if(n)return!!m(n,r);return!1},set:function(r,i){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),u(e,r,i)):l?(t||(t=new l),h(t,r,i)):(n||(n={key:{},next:null}),y(n,r,i))}};return r}},1712:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});let r=e=>Array.isArray(e)},1891:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return i},useServerInsertedHTML:function(){return a}});let r=n(40544)._(n(73884)),i=r.default.createContext(null);function a(e){let t=(0,r.useContext)(i);t&&t(e)}},2050:(e,t,n)=>{"use strict";n.d(t,{$9:()=>m,AS:()=>l,Ay:()=>i,K4:()=>p,Qm:()=>a,Xy:()=>c,_6:()=>h,bF:()=>d,eg:()=>s,iQ:()=>f,lQ:()=>g,q8:()=>
1o,vC:()=>u,vG:()=>r});let r=(e="")=>{switch(e){case"Black":case"Primary / Grey":case"Shade / Lilac":case"Shade / Lime":case"Shade / Grey":case"Light / Grey":case"Dark / Red":case"Dark / Purple":case"Dark / Pine":case"Dark / Grey":case"Deep / Burgundy":case"Deep / Midnight":case"Deep / Forest":case"Deep / Grey":return"text-white";case"White":case"Pale Grey":case"Primary / Coral":case"Primary / Lilac":case"Primary / Lime":case"Shade / Coral":case"Pastel / Coral":case"Pastel / Lilac":case"Pastel / Lime":case"Pastel / Grey":case"Light / Coral":case"Light / Lilac":case"Light / Lime":default:return"text-black";case"Lime":return"text-lime-deep"}},i=(e="")=>{switch(e){case"Black":return"bg-black text-white";case"White":return"bg-white text-black";case"Pale Grey":return"bg-paleGrey text-black";case"Primary / Coral":return"bg-coral-primary text-black";case"Primary / Lilac":return"bg-lilac-primary text-black";case"Primary / Lime":return"bg-lime-primary text-black";case"Primary / Grey":return"bg-grey-primary text-white";case"Shade / Coral":return"bg-coral-shade text-black";case"Shade / Coral (White text)":return"bg-coral-shade text-white";case"Shade / Lilac":return"bg-lilac-shade text-white";case"Shade / Lime":return"bg-lime-shade text-white";case"Shade / Grey":return"bg-grey-shade text-white";case"Pastel / Coral":return"bg-coral-pastel text-black";case"Pastel / Lilac":return"bg-lilac-pastel text-black";case"Pastel / Lime":return"bg-lime-pastel text-black";case"Pastel / Grey":return"bg-grey-pastel text-black";case"Light / Coral":return"bg-coral-light text-black";case"Light / Lilac":return"bg-lilac-light text-black";case"Light / Lime":return"bg-lime-light text-black";case"Light / Grey":return"bg-grey-light text-white";case"Dark / Red":return"bg-coral-dark text-white";case"Dark / Purple":return"bg-lilac-dark text-white";case"Dark / Green":return"bg-lime-dark text-lime-primary";case"Dark / Pine":return"bg-lime-dark text-white";case"Dark / Grey":return"bg-grey-dark text-white";case"Deep / Burgundy":return"bg-coral-deep text-white";case"Deep / Midnight":return"bg-lilac-deep text-white";case"Deep / Forest":return"bg-lime-deep text-white";case"Deep / Grey":return"bg-grey-deep text-white";case"Lime":return"bg-lime-primary text-lime-deep";default:return`bg-${e}`}},a=(e="")=>{switch(e){case"Black":return"bg-black text-black";case"White":return"bg-white text-white";case"Pale Grey":return"bg-paleGrey text-paleGrey";case"Primary / Coral":return"bg-coral-primary text-coral-primary";case"Primary / Lilac":return"bg-lilac text-lilac";case"Primary / Lime":case"Lime":return"bg-lime-primary text-lime-primary";case"Primary / Grey":return"bg-grey-primary text-grey-primary";case"Shade / Coral":return"bg-coral-shade text-coral-shade";case"Shade / Lilac":return"bg-lilac-shade text-lilac-shade";case"Shade / Lime":return"bg-lime-shade text-lime-shade";case"Shade / Grey":return"bg-grey-shade text-grey-shade";case"Pastel / Coral":return"bg-coral-pastel text-coral-pastel";case"Pastel / Lilac":return"bg-lilac-pastel text-lilac-pastel";case"Pastel / Lime":return"bg-lime-pastel text-lime-pastel";case"Pastel / Grey":return"bg-grey-pastel text-grey-pastel";case"Light / Coral":return"bg-coral-light text-coral-light";case"Light / Lilac":return"bg-lilac-light text-lilac-light";case"Light / Lime":return"bg-lime-light text-lime-light";case"Light / Grey":return"bg-grey-light text-grey-light";case"Dark / Red":return"bg-coral-dark text-coral-dark";case"Dark / Purple":return"bg-lilac-dark text-lilac-dark";case"Dark / Pine":return"bg-lime-dark text-lime-dark";case"Dark / Grey":return"bg-grey-dark text-grey-dark";case"Deep / Burgundy":return"bg-coral-deep text-coral-deep";case"Deep / Midnight":return"bg-lilac-deep text-lilac-deep";case"Deep / Forest":return"bg-lime-deep text-lime-deep";case"Deep / Grey":return"bg-grey-deep text-grey-deep";default:return`bg-${e} text-${e}`}},o=(e="")=>{switch(e){case"Shade / Coral (White text)":case"Deep / Burgundy":return"bg-coral-dark";case"Dark / Purple":return"bg-lilac-deep";case"Deep / Midnight":return"bg-lilac-dark";case"Deep / Forest":return"bg-lime-dark";default:return`bg-${e}`}},s=(e="")=>{switch(e){case"Deep / Burgundy":return"Dark / Red";case"Deep / Midnight":return"Dark / Purple";case"Deep / Forest":case"Lime":return"Dark / Pine";default:return"White"}},l=(e="")=>{switch(e){case"Coral":case"Dark / Red":case"Deep / Burgundy":return"border-coral-primary after:border-coral-primary";case"Lilac":case"Dark / Purple":return"border-lilac-primary after:border-lilac-primary";case"Lime":case"Dark / Pine":return"border-lime-primary after:border-lime-primary";case"Grey":return"border-grey-primary after:border-grey-primary";case"Dark / Grey":return"border-paleGrey after:border-paleGrey";case"Deep / Midnight":return"border-lilac-dark";case"Deep / Forest":return"border-lime-dark";default:return`bg-${e}`}},c=(e="")=>{switch(e){case"Coral":case"Dark / Red":case"Deep / Burgundy":return"text-coral-primary";case"Lilac":case"Dark / Purple":return"text-lilac-primary";case"Lime":case"Dark / Pine":return"text-lime-primary";case"Grey":return"text-grey-primary";case"Dark / Grey":return"text-paleGrey";case"Deep / Midnight":return"text-lilac-dark";case"Deep / Forest":return"text-lime-dark";default:return`text-${e}`}},u=(e="")=>{switch(e){case"page":case"post":return"text-coral-dark";case"guide":return"text-lime-dark";case"postTypeNews":case"ebooksReports":case"eventsWebinars":return"text-lilac-dark";case"partnerStory":case"surveyTemplate":return"text-lilac-shade";case"productUpdate":case"integration":return"text-coral-shade";case"customer":case"listingPage":return"";default:return"White"}},d=(e="")=>["White","Pale Grey","Primary / Coral","Primary / Lilac","Primary / Lime","Shade / Coral","Pastel / Coral","Pastel / Lilac","Pastel / Lime","Pastel / Grey","Light / Coral","Light / Lilac","Light / Lime"].includes(e)?{border:"border-black/[.1]",background:"bg-black/5"}:["Black","Primary / Grey","Shade / Lilac","Shade / Lime","Shade / Grey","Light / Grey","Dark / Red","Dark / Purple","Dark / Pine","Dark / Grey","Deep / Burgundy","Deep / Midnight","Deep / Forest","Deep / Grey"].includes(e)?{border:"border-white/[.45]",background:"bg-white/10"}:{border:"",background:`bg-${e}`},p=(e="")=>{switch(e){case"Deep / Burgundy":default:return"text-coral-primary";case"Deep / Forest":return"text-lime-primary"}},h=(e="")=>{switch(e){case"Black":return"#0D0D0D";case"White":return"#fff";case"Pale Grey":return"#F7F8F6";case"Primary / Coral":return"#FF5C5C";
1case"Primary / Lilac":return"#7171FF";case"Primary / Lime":case"Lime":return"#A6EF7B";case"Primary / Grey":return"#606973";case"Shade / Coral":return"#CD3246";case"Shade / Lilac":return"#5252DB";case"Shade / Lime":return"#00844E";case"Shade / Grey":return"#464C51";case"Pastel / Coral":return"#FFE3E3";case"Pastel / Lilac":return"#E6E6FF";case"Pastel / Lime":return"#F2FFE6";case"Pastel / Grey":return"#D7E1E1";case"Light / Coral":return"#FFBDBD";case"Light / Lilac":return"#B6B6FF";case"Light / Lime":return"#D3FFB6";case"Light / Grey":return"#8D97A0";case"Dark / Red":return"#7C0033";case"Dark / Purple":return"#2C2C8C";case"Dark / Pine":return"#004C3D";case"Dark / Grey":return"#2F3335";case"Deep / Burgundy":return"#440220";case"Deep / Midnight":return"#020249";case"Deep / Forest":return"#002827";case"Deep / Grey":return"#1A1C1E";default:return`bg-${e}`}},f=(e="")=>{switch(e){case"Black":case"Light / Grey":case"Dark / Grey":case"Deep / Grey":return"White / 45";case"White":case"Pale Grey":case"Pastel / Grey":return"Black / 10";case"Pastel / Coral":case"Light / Coral":return"Dark / Red";case"Pastel / Lilac":case"Light / Lilac":return"Dark / Purple";case"Pastel / Lime":case"Light / Lime":return"Dark / Pine";case"Dark / Red":return"Primary / Coral";case"Dark / Purple":return"Primary / Lilac";case"Dark / Pine":return"Primary / Lime";case"Deep / Burgundy":return"Light / Coral";case"Deep / Midnight":return"Light / Lilac";case"Deep / Forest":return"Light / Lime";case"Lime":return"Lime";default:return`bg-${e}`}},m=(e="")=>{switch(e){case"Black":case"Light / Grey":case"Dark / Grey":case"Deep / Grey":return"border-white/[.45] after:border-white/[.45]";case"White":case"Pale Grey":case"Pastel / Grey":return"border-black/[.1] after:border-black/[.1]";case"Pastel / Coral":case"Light / Coral":case"Dark / Red":return"border-coral-primary after:border-coral-primary";case"Pastel / Lilac":case"Light / Lilac":case"Dark / Purple":return"border-lilac-primary after:border-lilac-primary";case"Pastel / Lime":case"Light / Lime":case"Dark / Pine":case"Lime":return"border-lime-primary after:border-lime-primary";case"Deep / Burgundy":return"border-coral-light/[.4] after:border-coral-light/[.4]";case"Deep / Midnight":return"border-lilac-light/[.4] after:border-lilac-light/[.4]";case"Deep / Forest":return"border-lime-light/[.4] after:border-lime-light/[.4]";default:return`bg-${e}`}},g=(e="")=>{switch(e){case"Pastel / Coral":default:return{backgroundColor:"bg-coral-pastel",textColor:"text-coral-primary"};case"Pastel / Lilac":return{backgroundColor:"bg-lilac-pastel",textColor:"text-lilac-primary"}}}},2743:(e,t,n)=>{"use strict";n.d(t,{U:()=>a});var r=n(98288),i=n(8452);
1function a(){if(i.r.current=!0,r.B){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>i.O.current=e.matches;e.addListener(t),t()}else i.O.current=!1}}},2833:e=>{e.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),l=0;l<a.length;l++){var c=a[l];if(!s(c))return!1;var u=e[c],d=t[c];if(!1===(i=n?n.call(r,u,d,c):void 0)||void 0===i&&u!==d)return!1}return!0}},2928:e=>{!function(){var t={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return(n+r)*3/4-r},t.toByteArray=function(e){var t,n,a=l(e),o=a[0],s=a[1],c=new i((o+s)*3/4-s),u=0,d=s>0?o-4:o;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t),1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,a=[],o=0,s=r-i;o<s;o+=16383)a.push(function(e,t,r){for(var i,a=[],o=t;o<r;o+=3)a.push(n[(i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]))>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}(e,o,o+16383>s?s:o+16383));return 1===i?a.push(n[(t=e[r-1])>>2]+n[t<<4&63]+"=="):2===i&&a.push(n[(t=(e[r-2]<<8)+e[r-1])>>10]+n[t>>4&63]+n[t<<2&63]+"="),a.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,s=a.length;o<s;++o)n[o]=a[o],r[a.charCodeAt(o)]=o;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");-1===n&&(n=t);var r=n===t?0:4-n%4;return[n,r]}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},72:function(e,t,n){"use strict";var r=n(675),i=n(783),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return l(e,t,n)}function l(e,t,n){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!s.isEncoding(t))throw TypeError("Unknown encoding: "+t);var n=0|h(e,t),r=o(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}(e,t);if(ArrayBuffer.isView(e))return d(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(_(e,ArrayBuffer)||e&&_(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(_(e,SharedArrayBuffer)||e&&_(e.buffer,SharedArrayBuffer)))return function(e,t,n){var r;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(n||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(r=void 0===t&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,t):new Uint8Array(e,t,n),s.prototype),r}(e,t,n);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var r=e.valueOf&&e.valueOf();if(null!=r&&r!==e)return s.from(r,t,n);var i=function(e){if(s.isBuffer(e)){var t,n=0|p(e.length),r=o(n);return 0===r.length||e.copy(r,0,0,n),r}return void 0!==e.length?"number"!=typeof e.length||(t=e.length)!=t?o(0):d(e):"Buffer"===e.type&&Array.isArray(e.data)?d(e.data):void 0}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return s.from(e[Symbol.toPrimitive]("string"),t,n);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
1if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),o(e<0?0:0|p(e))}function d(e){for(var t=e.length<0?0:0|p(e.length),n=o(t),r=0;r<t;r+=1)n[r]=255&e[r];return n}function p(e){if(e>=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function h(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||_(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return A(e).length;default:if(i)return r?-1:k(e).length;t=(""+t).toLowerCase(),i=!0}}function f(e,t,n){var i,a,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i="",a=t;a<n;++a)i+=L[e[a]];return i}(this,t,n);case"utf8":case"utf-8":return v(this,t,n);case"ascii":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}(this,t,n);case"latin1":case"binary":return function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}(this,t,n);case"base64":return i=t,a=n,0===i&&a===this.length?r.fromByteArray(this):r.fromByteArray(this.slice(i,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,n){for(var r=e.slice(t,n),i="",a=0;a<r.length;a+=2)i+=String.fromCharCode(r[a]+256*r[a+1]);return i}(this,t,n);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,i){var a;if(0===e.length)return -1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),(a=n=+n)!=a&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return -1;n=e.length-1}else if(n<0){if(!i)return -1;n=0}if("string"==typeof t&&(t=s.from(t,r)),s.isBuffer(t))return 0===t.length?-1:y(e,t,n,r,i);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):y(e,[t],n,r,i);throw TypeError("val must be string, number or Buffer")}function y(e,t,n,r,i){var a,o=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return -1;o=2,s/=2,l/=2,n/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(a=n;a<s;a++)if(c(e,a)===c(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===l)return u*o}else -1!==u&&(a-=a-u),u=-1}else for(n+l>s&&(n=s-l),a=n;a>=0;a--){for(var d=!0,p=0;p<l;p++)if(c(e,a+p)!==c(t,p)){d=!1;break}if(d)return a}return -1}function v(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var a,o,s,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:(192&(a=e[i+1]))==128&&(l=(31&c)<<6|63&a)>127&&(u=l);break;case 3:a=e[i+1],o=e[i+2],(192&a)==128&&(192&o)==128&&(l=(15&c)<<12|(63&a)<<6|63&o)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:a=e[i+1],o=e[i+2],s=e[i+3],(192&a)==128&&(192&o)==128&&(192&s)==128&&(l=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);for(var n="",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=4096));return n}(r)}function b(e,t,n){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>n)throw RangeError("Trying to access beyond buffer length")}function x(e,t,n,r,i,a){if(!s.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(n+r>e.length)throw RangeError("Index out of range")}function w(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function j(e,t,n,r,a){return t=+t,n>>>=0,a||w(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function C(e,t,n,r,a){return t=+t,n>>>=0,a||w(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.Buffer=s,t.SlowBuffer=function(e){return+e!=e&&(e=0),s.alloc(+e)}
vendor: 11,796 bytes, line 1
1,t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,s.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),s.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(e,t,n){return(c(e),e<=0)?o(e):void 0!==t?"string"==typeof n?o(e).fill(t,n):o(e).fill(t):o(e)},s.allocUnsafe=function(e){return u(e)},s.allocUnsafeSlow=function(e){return u(e)},s.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==s.prototype},s.compare=function(e,t){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),_(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},s.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return s.alloc(0);if(void 0===t)for(n=0,t=0;n<e.length;++n)t+=e[n].length;var n,r=s.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(_(a,Uint8Array)&&(a=s.from(a)),!s.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},s.byteLength=h,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},s.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},s.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},s.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):f.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===s.compare(this,e)},s.prototype.inspect=function(){var e="",n=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,n).replace(/(.{2})/g,"$1 ").trim(),this.length>n&&(e+=" ... "),"<Buffer "+e+">"},a&&(s.prototype[a]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(_(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError("out of range index");if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,o=n-t,l=Math.min(a,o),c=this.slice(r,i),u=e.slice(t,n),d=0;d<l;++d)if(c[d]!==u[d]){a=c[d],o=u[d];break}return a<o?-1:o<a?1:0},s.prototype.includes=function(e,t,n){return -1!==this.indexOf(e,t,n)},s.prototype.indexOf=function(e,t,n){return g(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return g(this,e,t,n,!1)},s.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,o,s,l,c,u,d,p,h,f,m,g=this.length-t;if((void 0===n||n>g)&&(n=g),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var y=!1;;)switch(r){case"hex":return function(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var a=t.length;r>a/2&&(r=a/2);for(var o=0;o<r;++o){var s=parseInt(t.substr(2*o,2),16);if(s!=s)break;e[n+o]=s}return o}(this,e,t,n);case"utf8":case"utf-8":return l=t,c=n,T(k(e,this.length-l),this,l,c);case"ascii":return u=t,d=n,T(S(e),this,u,d);case"latin1":case"binary":return i=this,a=e,o=t,s=n,T(S(a),i,o,s);case"base64":return p=t,h=n,T(A(e),this,p,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f=t,m=n,T(function(e,t){for(var n,r,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,i.push(n%256),i.push(r);return i}(e,this.length-f),this,f,m);default:if(y)throw TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),y=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r=this.subarray(e,t);return Object.setPrototypeOf(r,s.prototype),r},s.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r},s.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=this[e],i=1,a=0;++a<t&&(i*=256);)r+=this[e+a]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||b(e,t,this.length);for(var r=t,i=1,a=this[e+--r];r>0&&(i*=256);)a+=this[e+--r]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},s.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;x(this,e,t,n,i,0)}var a=1,o=0;for(this[t]=255&e;++o<n&&(a*=256);)this[t+o]=e/a&255;return t+n},s.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){var i=Math.pow(2,8*n)-1;x(this,e,t,n,i,0)}var a=n-1,o=1;for(this[t+a]=255&e;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+n},s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);x(this,e,t,n,i-1,-i)}var a=0,o=1,s=0;for(this[t]=255&e;++a<n&&(o*=256);)e<0&&0===s&&0!==this[t+a-1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);x(this,e,t,n,i-1,-i)}var a=n-1,o=1,s=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===s&&0!==this[t+a+1]&&(s=1),this[t+a]=(e/o>>0)-s&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||x(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},s.prototype.writeFloatLE=function(e,t,n){return j(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return j(this,e,t,!1,n)},s.prototype.writeDoubleLE=function(e,t,n){return C(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError("argument should be a Buffer");if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw RangeError("Index out of range");if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i=r-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,r);else if(this===e&&n<t&&t<r)for(var a=i-1;a>=0;--a)e[a+t]=this[a+n];else Uint8Array.prototype.set.call(e,this.subarray(n,r),t);return i},s.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),void 0!==r&&"string"!=typeof r)throw TypeError("encoding must be a string");if("string"==typeof r&&!s.isEncoding(r))throw TypeError("Unknown encoding: "+r);if(1===e.length){var i,a=e.charCodeAt(0);("utf8"===r&&a<128||"latin1"===r)&&(e=a)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError("Out of range index");if(n<=t)return this;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var o=s.isBuffer(e)?e:s.from(e,r),l=o.length;
1if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<n-t;++i)this[i+t]=o[i%l]}return this};var E=/[^+/0-9A-Za-z-_]/g;function k(e,t){t=t||1/0;for(var n,r=e.length,i=null,a=[],o=0;o<r;++o){if((n=e.charCodeAt(o))>55295&&n<57344){if(!i){if(n>56319||o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error("Invalid code point")}return a}function S(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function A(e){return r.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(E,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function T(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function _(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var L=function(){for(var e="0123456789abcdef",t=Array(256),n=0;n<16;++n)for(var r=16*n,i=0;i<16;++i)t[r+i]=e[n]+e[i];return t}()},783:function(e,t){t.read=function(e,t,n,r,i){var a,o,s=8*i-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?i-1:0,p=n?-1:1,h=e[t+d];for(d+=p,a=h&(1<<-u)-1,h>>=-u,u+=s;u>0;a=256*a+e[t+d],d+=p,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=256*o+e[t+d],d+=p,u-=8);if(0===a)a=1-c;else{if(a===l)return o?NaN:1/0*(h?-1:1);o+=Math.pow(2,r),a-=c}return(h?-1:1)*o*Math.pow(2,a-r)},t.write=function(e,t,n,r,i,a){var o,s,l,c=8*a-i-1,u=(1<<c)-1,d=u>>1,p=23===i?5960464477539062e-23:0,h=r?0:a-1,f=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+d>=1?t+=p/l:t+=p*Math.pow(2,1-d),t*l>=2&&(o++,l/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*l-1)*Math.pow(2,i),o+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),o=0));i>=8;e[n+h]=255&s,h+=f,s/=256,i-=8);for(o=o<<i|s,c+=i;c>0;e[n+h]=255&o,h+=f,o/=256,c-=8);e[n+h-f]|=128*m}}},n={};function r(e){var i=n[e];if(void 0!==i)return i.exports;var a=n[e]={exports:{}},o=!0;try{t[e](a,a.exports,r),o=!1}finally{o&&delete n[e]}return a.exports}r.ab="//";var i=r(72);e.exports=i}()},3044:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});class r{constructor(e){this.isMounted=!1,this.node=e}update(){}}},4043:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(41533);let i=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function a(e,t,n,a){if(e===t&&n===a)return r.l;let o=t=>(function(e,t,n,r,a){let o,s;let l=0;do(o=i(s=t+(n-t)/2,r,a)-e)>0?n=s:t=s;while(Math.abs(o)>1e-7&&++l<12);return s})(t,0,1,e,n);return e=>0===e||1===e?e:i(o(e),t,a)}},4146:(e,t,n)=>{"use strict";var r=n(44363),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?o:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var i=h(n);i&&i!==f&&e(t,i,r)}var o=u(n);d&&(o=o.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<o.length;++g){var y=o[g];if(!a[y]&&!(r&&r[y])&&!(m&&m[y])&&!(s&&s[y])){var v=p(n,y);try{c(t,y,v)}catch(e){}}}}return t}},4240:(e,t,n)=>{"use strict";var r,i,a,o,s,l=n(73884),c=function(){return(c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{},d={},p={};Object.defineProperty(p,"__esModule",{value:!0}),p.BLOCKS=void 0,function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"}(r||(p.BLOCKS=r={}));var h={};Object.defineProperty(h,"__esModule",{value:!0}),h.INLINES=void 0,function(e){e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink"}(i||(h.INLINES=i={}));var f={};
1Object.defineProperty(f,"__esModule",{value:!0}),f.MARKS=void 0,function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough"}(a||(f.MARKS=a={}));var m={};!function(e){var t,n=u&&u.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};Object.defineProperty(e,"__esModule",{value:!0}),e.V1_MARKS=e.V1_NODE_TYPES=e.TEXT_CONTAINERS=e.HEADINGS=e.CONTAINERS=e.VOID_BLOCKS=e.TABLE_BLOCKS=e.LIST_ITEM_BLOCKS=e.TOP_LEVEL_BLOCKS=void 0,e.TOP_LEVEL_BLOCKS=[p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE,p.BLOCKS.TABLE],e.LIST_ITEM_BLOCKS=[p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE],e.TABLE_BLOCKS=[p.BLOCKS.TABLE,p.BLOCKS.TABLE_ROW,p.BLOCKS.TABLE_CELL,p.BLOCKS.TABLE_HEADER_CELL],e.VOID_BLOCKS=[p.BLOCKS.HR,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,p.BLOCKS.EMBEDDED_RESOURCE],e.CONTAINERS=((t={})[p.BLOCKS.OL_LIST]=[p.BLOCKS.LIST_ITEM],t[p.BLOCKS.UL_LIST]=[p.BLOCKS.LIST_ITEM],t[p.BLOCKS.LIST_ITEM]=e.LIST_ITEM_BLOCKS,t[p.BLOCKS.QUOTE]=[p.BLOCKS.PARAGRAPH],t[p.BLOCKS.TABLE]=[p.BLOCKS.TABLE_ROW],t[p.BLOCKS.TABLE_ROW]=[p.BLOCKS.TABLE_CELL,p.BLOCKS.TABLE_HEADER_CELL],t[p.BLOCKS.TABLE_CELL]=[p.BLOCKS.PARAGRAPH,p.BLOCKS.UL_LIST,p.BLOCKS.OL_LIST],t[p.BLOCKS.TABLE_HEADER_CELL]=[p.BLOCKS.PARAGRAPH],t),e.HEADINGS=[p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6],e.TEXT_CONTAINERS=n([p.BLOCKS.PARAGRAPH],e.HEADINGS,!0),e.V1_NODE_TYPES=[p.BLOCKS.DOCUMENT,p.BLOCKS.PARAGRAPH,p.BLOCKS.HEADING_1,p.BLOCKS.HEADING_2,p.BLOCKS.HEADING_3,p.BLOCKS.HEADING_4,p.BLOCKS.HEADING_5,p.BLOCKS.HEADING_6,p.BLOCKS.OL_LIST,p.BLOCKS.UL_LIST,p.BLOCKS.LIST_ITEM,p.BLOCKS.HR,p.BLOCKS.QUOTE,p.BLOCKS.EMBEDDED_ENTRY,p.BLOCKS.EMBEDDED_ASSET,h.INLINES.HYPERLINK,h.INLINES.ENTRY_HYPERLINK,h.INLINES.ASSET_HYPERLINK,h.INLINES.EMBEDDED_ENTRY,"text"],e.V1_MARKS=[f.MARKS.BOLD,f.MARKS.CODE,f.MARKS.ITALIC,f.MARKS.UNDERLINE]}(m);var g={};Object.defineProperty(g,"__esModule",{value:!0});var y={};Object.defineProperty(y,"__esModule",{value:!0});var v={};Object.defineProperty(v,"__esModule",{value:!0}),v.EMPTY_DOCUMENT=void 0,v.EMPTY_DOCUMENT={nodeType:p.BLOCKS.DOCUMENT,data:{},content:[{nodeType:p.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};var b={};function x(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++)if(t===e[r[n]])return!0;return!1}Object.defineProperty(b,"__esModule",{value:!0}),b.isInline=function(e){return x(h.INLINES,e.nodeType)},b.isBlock=function(e){return x(p.BLOCKS,e.nodeType)},b.isText=function(e){return"text"===e.nodeType};var w={};Object.defineProperty(w,"__esModule",{value:!0}),w.getSchemaWithNodeType=function(e){try{return function(e){throw Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}("./generated/".concat(e,".json"))}catch(t){throw Error('Schema for nodeType "'.concat(e,'" was not found.'))}},function(e){var t=u&&u.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),n=u&&u.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),r=u&&u.__exportStar||function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||t(n,e,r)}
1,i=u&&u.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,"__esModule",{value:!0}),e.getSchemaWithNodeType=e.helpers=e.EMPTY_DOCUMENT=e.MARKS=e.INLINES=e.BLOCKS=void 0,Object.defineProperty(e,"BLOCKS",{enumerable:!0,get:function(){return p.BLOCKS}}),Object.defineProperty(e,"INLINES",{enumerable:!0,get:function(){return h.INLINES}}),Object.defineProperty(e,"MARKS",{enumerable:!0,get:function(){return f.MARKS}}),r(m,e),r(g,e),r(y,e),Object.defineProperty(e,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return v.EMPTY_DOCUMENT}});var a=i(b);e.helpers=a,Object.defineProperty(e,"getSchemaWithNodeType",{enumerable:!0,get:function(){return w.getSchemaWithNodeType}})}(d);var j=((o={})[d.BLOCKS.DOCUMENT]=function(e,t){return t},o[d.BLOCKS.PARAGRAPH]=function(e,t){return l.createElement("p",null,t)},o[d.BLOCKS.HEADING_1]=function(e,t){return l.createElement("h1",null,t)},o[d.BLOCKS.HEADING_2]=function(e,t){return l.createElement("h2",null,t)},o[d.BLOCKS.HEADING_3]=function(e,t){return l.createElement("h3",null,t)},o[d.BLOCKS.HEADING_4]=function(e,t){return l.createElement("h4",null,t)},o[d.BLOCKS.HEADING_5]=function(e,t){return l.createElement("h5",null,t)},o[d.BLOCKS.HEADING_6]=function(e,t){return l.createElement("h6",null,t)},o[d.BLOCKS.EMBEDDED_ENTRY]=function(e,t){return l.createElement("div",null,t)},o[d.BLOCKS.EMBEDDED_RESOURCE]=function(e,t){return l.createElement("div",null,t)},o[d.BLOCKS.UL_LIST]=function(e,t){return l.createElement("ul",null,t)},o[d.BLOCKS.OL_LIST]=function(e,t){return l.createElement("ol",null,t)},o[d.BLOCKS.LIST_ITEM]=function(e,t){return l.createElement("li",null,t)},o[d.BLOCKS.QUOTE]=function(e,t){return l.createElement("blockquote",null,t)},o[d.BLOCKS.HR]=function(){return l.createElement("hr",null)},o[d.BLOCKS.TABLE]=function(e,t){return l.createElement("table",null,l.createElement("tbody",null,t))},o[d.BLOCKS.TABLE_ROW]=function(e,t){return l.createElement("tr",null,t)},o[d.BLOCKS.TABLE_HEADER_CELL]=function(e,t){return l.createElement("th",
1null,t)},o[d.BLOCKS.TABLE_CELL]=function(e,t){return l.createElement("td",null,t)},o[d.INLINES.ASSET_HYPERLINK]=function(e){return E(d.INLINES.ASSET_HYPERLINK,e)},o[d.INLINES.ENTRY_HYPERLINK]=function(e){return E(d.INLINES.ENTRY_HYPERLINK,e)},o[d.INLINES.RESOURCE_HYPERLINK]=function(e){return k(d.INLINES.RESOURCE_HYPERLINK,e)},o[d.INLINES.EMBEDDED_ENTRY]=function(e){return E(d.INLINES.EMBEDDED_ENTRY,e)},o[d.INLINES.EMBEDDED_RESOURCE]=function(e,t){return k(d.INLINES.EMBEDDED_RESOURCE,e)},o[d.INLINES.HYPERLINK]=function(e,t){return l.createElement("a",{href:e.data.uri},t)},o),C=((s={})[d.MARKS.BOLD]=function(e){return l.createElement("b",null,e)},s[d.MARKS.ITALIC]=function(e){return l.createElement("i",null,e)},s[d.MARKS.UNDERLINE]=function(e){return l.createElement("u",null,e)},s[d.MARKS.CODE]=function(e){return l.createElement("code",null,e)},s[d.MARKS.SUPERSCRIPT]=function(e){return l.createElement("sup",null,e)},s[d.MARKS.SUBSCRIPT]=function(e){return l.createElement("sub",null,e)},s[d.MARKS.STRIKETHROUGH]=function(e){return l.createElement("s",null,e)},s);function E(e,t){return l.createElement("span",{key:t.data.target.sys.id},"type: ",t.nodeType," id: ",t.data.target.sys.id)}function k(e,t){return l.createElement("span",{key:t.data.target.sys.urn},"type: ",t.nodeType," urn: ",t.data.target.sys.urn)}t.i=function(e,t){return(void 0===t&&(t={}),e)?function e(t,n){var r=n.renderNode,i=n.renderMark,a=n.renderText,o=n.preserveWhitespace;if(d.helpers.isText(t)){var s=a?a(t.value):t.value;if(o&&!a){var c=(s=s.replace(/ {2,}/g,function(e){return"\xa0".repeat(e.length)})).split("\n"),u=[];c.forEach(function(e,t){u.push(e),t!==c.length-1&&u.push(l.createElement("br",null))}),s=u}return t.marks.reduce(function(e,t){return i[t.type]?i[t.type](e):e},s)}var p=t.content.map(function(t,r){var i;return i=e(t,n),l.isValidElement(i)&&null===i.key?l.cloneElement(i,{key:r}):i});return t.nodeType&&r[t.nodeType]?r[t.nodeType](t,p):l.createElement(l.Fragment,null,p)}(e,{renderNode:c(c({},j),t.renderNode),renderMark:c(c({},C),t.renderMark),renderText:t.renderText,preserveWhitespace:t.preserveWhitespace}):null}},4494:(e,t,n)=>{"use strict";n.d(t,{x:()=>a});var r=n(67549),i=n(69896);function a(e,t,n){var a;let{style:o}=e,s={};for(let l in o)((0,i.S)(o[l])||t.style&&(0,i.S)(t.style[l])||(0,r.z)(l,e)||(null===(a=null==n?void 0:n.getValue(l))||void 0===a?void 0:a.liveStyle)!==void 0)&&(s[l]=o[l]);return s}},4853:(e,t,n)=>{"use strict";n.d(t,{Q2:()=>k,bV:()=>m});var r=n(73884),i=n.n(r),a=n(70810),o=n.n(a);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var c=["keyOverride"],u=["crossOrigin"],d={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},p=function(e,t,n){void 0===t&&(t=[]);var r=void 0===n?{}:n,a=r.defaultWidth,o=r.defaultHeight;return t.reduce(function(t,n,r){return t.push(i().createElement("meta",{key:"og:"+e+":0"+r,property:"og:"+e,content:n.url})),n.alt&&t.push(i().createElement("meta",{key:"og:"+e+":alt0"+r,property:"og:"+e+":alt",content:n.alt})),n.secureUrl&&t.push(i().createElement("meta",{key:"og:"+e+":secure_url0"+r,property:"og:"+e+":secure_url",content:n.secureUrl.toString()})),n.type&&t.push(i().createElement("meta",{key:"og:"+e+":type0"+r,property:"og:"+e+":type",content:n.type.toString()})),n.width?t.push(i().createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:n.width.toString()})):a&&t.push(i().createElement("meta",{key:"og:"+e+":width0"+r,property:"og:"+e+":width",content:a.toString()})),n.height?t.push(i().createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:n.height.toString()})):o&&t.push(i().createElement("meta",{key:"og:"+e+":height"+r,property:"og:"+e+":height",content:o.toString()})),t},[])},h=function(e){var t,n,r,a,o,h=[];e.titleTemplate&&(d.templateTitle=e.titleTemplate);var f="";e.title?(f=e.title,d.templateTitle&&(f=d.templateTitle.replace(/%s/g,function(){return f}))):e.defaultTitle&&(f=e.defaultTitle),f&&h.push(i().createElement("title",{key:"title"},f));var m=void 0===e.noindex?d.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,g=void 0===e.nofollow?d.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,y=e.norobots||d.norobots,v="";if(e.robotsProps){var b=e.robotsProps,x=b.nosnippet,w=b.maxSnippet,j=b.maxImagePreview,C=b.maxVideoPreview,E=b.noarchive,k=b.noimageindex,S=b.notranslate,A=b.unavailableAfter;
1v=(x?",nosnippet":"")+(w?",max-snippet:"+w:"")+(j?",max-image-preview:"+j:"")+(E?",noarchive":"")+(A?",unavailable_after:"+A:"")+(k?",noimageindex":"")+(C?",max-video-preview:"+C:"")+(S?",notranslate":"")}if(e.norobots&&(d.norobots=!0),m||g?(e.dangerouslySetAllPagesToNoIndex&&(d.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(d.nofollow=!0),h.push(i().createElement("meta",{key:"robots",name:"robots",content:(m?"noindex":"index")+","+(g?"nofollow":"follow")+v}))):(!y||v)&&h.push(i().createElement("meta",{key:"robots",name:"robots",content:"index,follow"+v})),e.description&&h.push(i().createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&h.push(i().createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&h.push(i().createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){h.push(i().createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&h.push(i().createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&h.push(i().createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&h.push(i().createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&h.push(i().createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||f)&&h.push(i().createElement("meta",{key:"og:title",property:"og:title",content:(null==(a=e.openGraph)?void 0:a.title)||f})),(null!=(n=e.openGraph)&&n.description||e.description)&&h.push(i().createElement("meta",{key:"og:description",property:"og:description",content:(null==(o=e.openGraph)?void 0:o.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&h.push(i().createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var T=e.openGraph.type.toLowerCase();h.push(i().createElement("meta",{key:"og:type",property:"og:type",content:T})),"profile"===T&&e.openGraph.profile?(e.openGraph.profile.firstName&&h.push(i().createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&h.push(i().createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&h.push(i().createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&h.push(i().createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===T&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEach(function(e,t){h.push(i().createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&h.push(i().createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&h.push(i().createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEac
1h(function(e,t){h.push(i().createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===T&&e.openGraph.article?(e.openGraph.article.publishedTime&&h.push(i().createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&h.push(i().createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&h.push(i().createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){h.push(i().createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&h.push(i().createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){h.push(i().createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===T||"video.episode"===T||"video.tv_show"===T||"video.other"===T)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&h.push(i().createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&h.push(i().createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){h.push(i().createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){h.push(i().createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&h.push(i().createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&h.push(i().createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEac
1h(function(e,t){h.push(i().createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&h.push(i().createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(d.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(d.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&h.push.apply(h,p("image",e.openGraph.images,{defaultWidth:d.defaultOpenGraphImageWidth,defaultHeight:d.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(d.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(d.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&h.push.apply(h,p("video",e.openGraph.videos,{defaultWidth:d.defaultOpenGraphVideoWidth,defaultHeight:d.defaultOpenGraphVideoHeight})),e.openGraph.audio&&h.push.apply(h,p("audio",e.openGraph.audio)),e.openGraph.locale&&h.push(i().createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&h.push(i().createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&h.push(i().createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,n,r=e.keyOverride,a=l(e,c);h.push(i().createElement("meta",s({key:"meta:"+(null!=(t=null!=(n=null!=r?r:a.name)?n:a.property)?t:a.httpEquiv)},a)))}),null!=(r=e.additionalLinkTags)&&r.length&&e.additionalLinkTags.forEach(function(e){var t,n=e.crossOrigin,r=l(e,u);h.push(i().createElement("link",s({key:"link"+(null!=(t=r.keyOverride)?t:r.href)+r.rel},r,{crossOrigin:"anonymous"===n||"use-credentials"===n||""===n?n:void 0})))}),h},f=function(e){return i().createElement(o(),null,h(e))},m=function(e){var t=e.title,n=e.themeColor,r=e.noindex,a=e.nofollow,o=e.robotsProps,s=e.description,l=e.canonical,c=e.openGraph,u=e.facebook,d=e.twitter,p=e.additionalMetaTags,h=e.titleTemplate,m=e.defaultTitle,g=e.mobileAlternate,y=e.languageAlternates,v=e.additionalLinkTags;return i().createElement(i().Fragment,null,i().createElement(f,{title:t,themeColor:n,noindex:r,nofollow:a,robotsProps:o,description:s,canonical:l,facebook:u,openGraph:c,additionalMetaTags:p,twitter:d,titleTemplate:h,defaultTitle:m,mobileAlternate:g,languageAlternates:y,additionalLinkTags:v}))},g=function(e,t){var n=t;return Array.isArray(n)&&1===n.length&&(n=s({},t[0])),{__html:JSON.stringify(Array.isArray(n)?n.map(function(t){return y(e,t)}):y(e,n),w)}},y=function(e,t){var n=t.id,r=s({},(void 0===n?void 0:n)?{"@id":t.id}:{},t);return delete r.id,s({"@context":"https://schema.org","@type":e},r)},v=Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"}),b=RegExp("["+Object.keys(v).join("")+"]","g"),x=function(e){return v[e]},w=function(e,t){switch(typeof t){case"object":if(null===t)return;return t;case"number":case"boolean":case"bigint":return t;case"string":return t.replace(b,x);default:return}},j=["type","keyOverride","scriptKey","scriptId","dataArray","useAppDir"];function C(e){var t=e.type,n=void 0===t?"Thing":t,r=e.keyOverride,a=e.scriptKey,c=e.scriptId,u=void 0===c?void 0:c,d=e.dataArray,p=e.useAppDir,h=l(e,j),f=function(){return i().createElement("script",{type:"application/ld+json",id:u,"data-testid":u,dangerouslySetInnerHTML:g(n,void 0===d?s({},h):d),key:"jsonld-"+a+(r?"-"+r:"")})};return void 0!==p&&p?i().createElement(f,null):i().createElement(o(),null,f())}var E=["type","keyOverride","mainEntity"];function k(e){var t=e.type,n=e.keyOverride,r=e.mainEntity,a=l(e,E),o=s({},a,{mainEntity:function(e){if(e&&e.length)return e.map(function(e){return{"@type":"Question",name:e.questionName,acceptedA
1nswer:{"@type":"Answer",text:e.acceptedAnswerText}}})}(r)});return i().createElement(C,s({type:void 0===t?"FAQPage":t,keyOverride:n},o,{scriptKey:"faq-page"}))}},5252:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});var r=n(33735);let i={test:(0,n(18521).$)("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:r.B.transform}},5293:(e,t,n)=>{"use strict";n.d(t,{qq:()=>B,Ay:()=>O});var r=n(58775),i=n(2050),a=n(69220),o=n(49604),s=n(6135),l=n(93633),c=n(97619),u=n(9483),d=n(57155),p=n(82638),h=n.n(p),f=n(73884),m=n(8338),g=n(34164),y=n(83150);let v=h()(()=>n.e(956).then(n.bind(n,60956)),{loadableGenerated:{webpack:()=>[60956]},loading:()=>(0,r.jsx)("div",{className:"h-full w-full animate-pulse rounded-xl bg-grey-light","aria-hidden":!0}),ssr:!1});function b({wistiaVideoId:e,onClose:t,mobileFile:n,...i}){let{videoButtonColor:a="White",className:o="",hasBorder:s=!1}=i,[l,p]=(0,f.useState)(!1),[h,b]=(0,f.useState)(!1),{t:x}=(0,y.useTranslation)(),w=(0,d.A)("(max-width: 1024px)");return w&&n?(0,r.jsx)(B,{file:n,type:"Image",className:"w-full"}):e?(0,r.jsxs)("div",{className:(0,g.A)("not-prose relative block overflow-hidden",s&&"rounded-xl",o),children:[(0,r.jsx)("a",{href:`#${e}`,"aria-label":x("Open Video"),className:"group absolute inset-0 z-10",children:(0,r.jsx)("div",{className:"absolute inset-0 flex h-full w-full items-center justify-center rounded-xl transition-colors duration-300 hover:bg-black/10",children:(0,r.jsx)("div",{className:"rounded-full transition-transform duration-500 group-hover:scale-110",children:(0,r.jsx)("div",{className:(0,g.A)("flex aspect-[1/1] w-9 items-center justify-center rounded-full sm:w-[4.25rem]",{White:"bg-white text-black","Shade / Coral":"bg-coral-shade text-white","Blurred White":"bg-white/65 text-coral-shade border-black/5 border-[.5px] border shadow-[-6px_-6px_12px_0px_rgba(255,255,255,0.25)_inset] backdrop-blur"}[a]),children:(0,r.jsx)(u.ud,{className:"ml-0.5 w-3.5 sm:w-6"})})})})}),(0,r.jsx)(B,{...i,className:"w-full"}),(0,r.jsx)(c.A,{modalId:e,updateModalState:e=>{b(e)},onClose:t,contentClassName:(0,g.A)("transition-all duration-300",l?"!w-[100%]":w?"!w-[100%]":"!w-[75%]"),isAspectRatioRemoved:!0,children:(0,r.jsxs)("div",{className:"relative flex flex-col lg:flex-row",children:[(0,r.jsx)(m.P.div,{className:"relative md:h-full",initial:{opacity:0}
1,animate:{width:l&&!w?"66.66%":"100%",opacity:1,transition:{duration:.3,opacity:{delay:.3}}},children:h?(0,r.jsx)(v,{wistiaVideoId:e,isModalOpen:h,isInModal:!0,isTranscriptOpen:l,onTranscriptToggle:()=>{p(!l)}}):null}),(0,r.jsx)(m.P.div,{className:`inset-0 left-auto z-[100] w-full flex-auto overflow-hidden bg-white lg:absolute lg:h-full lg:w-[33.33%] ${l&&w?"h-[20vh]":w?"hidden":""}`,initial:{x:w?"0%":"100%",opacity:0},animate:{x:l?"0%":w?"0%":"100%",opacity:l?1:0,transition:{duration:.3,opacity:{delay:w?0:.5},ease:"easeInOut"}},children:(0,r.jsx)("div",{"data-transcript-id":e,className:"h-full p-4 lg:p-6"})})]})})]}):null}var x=n(16957),w=n(93627),j=n(82037),C=n(58638),E=n(5793),k=n(7411),S=n(13073);let A=(0,f.memo)(function({riveFile:e,hasButtonRight:t=!1,riveArtboardName:n="New Artboard"}){let[i,a]=(0,f.useState)(null),[o,s]=(0,f.useState)(0),l=(0,f.useRef)(null),c=(0,j.W)(l,{once:!0,amount:.4}),d=(0,C.I)(),[p,h]=(0,f.useState)(!1);(0,f.useEffect)(()=>{h(d)},[d]);let{t:m}=(0,w.Bd)();return(0,f.useEffect)(()=>{let t=async()=>{try{let t=e?.url;if(!t)return;let n=await fetch(t),r=await n.arrayBuffer();a(r),s(e=>e+1)}catch(e){console.error("Error fetching Rive data:",e)}};c&&t()},[e?.url,c]),(0,r.jsx)(E.F,{features:k.l,children:(0,r.jsxs)(S.m.div,{ref:l,className:"absolute inset-0 h-full w-full",children:[i?(0,r.jsx)(S.m.div,{initial:{opacity:0}
1,animate:{opacity:i?1:0},transition:{duration:.3,delay:.1},className:"relative h-full w-full will-change-transform",children:(0,r.jsx)(T,{riveData:i,isInView:c,className:"h-full w-full max-lg:pointer-events-none",isPaused:p,riveArtboardName:n},o)}):null,(0,r.jsx)("div",{onClick:()=>h(!p),onKeyDown:e=>{(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),h(!p))},tabIndex:0,role:"button","aria-label":m(p?"Play Animation":"Pause Animation"),"aria-pressed":!!p,className:(0,g.A)("rive-button group absolute bottom-5 z-20 h-8 w-8 overflow-hidden rounded-full border border-grey-pastel bg-white p-2 transition-colors duration-300 hover:border-coral-shade",t?"right-5":"left-5"),children:(0,r.jsxs)("div",{className:"relative h-full w-full text-black",children:[(0,r.jsx)("div",{className:(0,g.A)("absolute inset-0 transition-transform duration-200",p?"-translate-y-8":"translate-y-0"),children:(0,r.jsx)(u.fw,{})}),(0,r.jsx)("div",{className:(0,g.A)("absolute inset-0 transition-transform duration-200",p?"translate-0":"translate-y-8"),children:(0,r.jsx)(u.ud,{})})]})})]})})});function T({className:e="",riveData:t,isInView:n,isPaused:i,riveArtboardName:a}){let o=t?{buffer:t,autoplay:!i,artBoard:a,stateMachines:"State Machine 1",layout:new x.Layout({fit:x.Fit.Cover})}:{},{rive:s,RiveComponent:l}=(0,x.useRive)(o),c=(0,x.useStateMachineInput)(s,"State Machine 1","STATIC");return(0,f.useEffect)(()=>{c&&void 0!==i&&(c.value=i)},[c,i]),(0,f.useEffect)(()=>{s&&n&&(i?s.pause():s.play())},[s,n,i]),l?(0,r.jsx)(l,{className:e}):null}var _=n(58902);let L=(0,f.memo)(function({riveFile:e,hasButtonRight:t=!1,riveArtboardName:n="New Artboard"}){let[i,a]=(0,f.useState)(null),[o,s]=(0,f.useState)(0),l=(0,f.useRef)(null),c=(0,j.W)(l,{once:!0,amount:.4}),d=(0,C.I)(),[p,h]=(0,f.useState)(!1);(0,f.useEffect)(()=>{h(d)},[d]);let{t:m}=(0,w.Bd)();return(0,f.useEffect)(()=>{let t=async()=>{try{let t=e?.url;if(!t)return;let n=await fetch(t),r=await n.arrayBuffer();a(r),s(e=>e+1)}catch(e){console.error("Error fetching Rive data:",e)}};c&&t()},[e?.url,c]),(0,r.jsx)(E.F,{features:k.l,children:(0,r.jsxs)(S.m.div,{ref:l,className:"absolute inset-0 h-full w-full",children:[i?(0,r.jsx)(S.m.div,{initial:{opacity:0}
1,animate:{opacity:i?1:0},transition:{duration:.3,delay:.1},className:"relative h-full w-full will-change-transform",children:(0,r.jsx)(N,{riveFile:e,riveData:i,isInView:c,className:"h-full w-full max-lg:pointer-events-none",isPaused:p,riveArtboardName:n},o)}):null,(0,r.jsx)("div",{onClick:()=>h(!p),onKeyDown:e=>{(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),h(!p))},tabIndex:0,role:"button","aria-label":m(p?"Play Animation":"Pause Animation"),"aria-pressed":!!p,className:(0,g.A)("rive-button group absolute bottom-5 z-20 h-8 w-8 overflow-hidden rounded-full border border-grey-pastel bg-white p-2 transition-colors duration-300 hover:border-coral-shade",t?"right-5":"left-5"),children:(0,r.jsxs)("div",{className:"relative h-full w-full text-black",children:[(0,r.jsx)("div",{className:(0,g.A)("absolute inset-0 transition-transform duration-200",p?"-translate-y-8":"translate-y-0"),children:(0,r.jsx)(u.fw,{})}),(0,r.jsx)("div",{className:(0,g.A)("absolute inset-0 transition-transform duration-200",p?"translate-0":"translate-y-8"),children:(0,r.jsx)(u.ud,{})})]})})]})})});function N({className:e="",riveFile:t,riveData:n,isInView:i,isPaused:a,riveArtboardName:o}){let{rive:s,RiveComponent:l}=(0,_.useRive)({src:t.url,autoplay:!a,artboard:o,stateMachines:"State Machine 1",autoBind:!0}),c=(0,_.useViewModel)(s,{name:"MainVM"});return(0,_.useViewModelInstance)(c),(0,_.useStateMachineInput)(s,"State Machine 1","STATIC"),(0,f.useEffect)(()=>{s&&i&&(a?s.pause():s.play())},[s,i,a]),l?(0,r.jsx)(l,{className:e}):null}var P=n(74614),I=n(56234),M=n.n(I);function O(e){let{hasBorder:t=!1,hasSimpleBorder:n=!1,isPriority:o,priority:s,...l}=e,c={...l,hasBorder:t,hasSimpleBorder:n,isPriority:o??s??!1},u=(0,P.R1)(),d=(0,i.$9)(u?.backgroundColor?.name||"Pale Grey"),p=(0,i.iQ)(u?.backgroundColor?.name||"Pale Grey");return n?(0,r.jsxs)("div",{className:"relative p-3 md:p-4",children:[(0,r.jsx)("div",{className:(0,g.A)("absolute inset-0 z-[5] rounded-xl border lg:rounded-[1.5rem]",d)}),(0,r.jsx)(R,{...c,className:"relative z-10 rounded-lg"})]}):t?(0,r.jsx)(a.Ay,{className:"relative rounded-[1.5rem] border p-3 lg:p-6",borderColor:p,hasHorizontalArrows:!0,hasVerticalArrows:!0,sectionBackgroundColor:u?.backgroundColor?.name||"White",children:(0,r.jsx)(R,{...c})}):(0,r.jsx)(R,{...c})}function R(e){let{type:t="Image",maxWidth:n,margin:i,file:a,mobileFile:s,isPriority:l,className:c,aspectRatio:u,mobileAspectRatio:d="",horizontallyAlign:p="Left",isFill:h=!1,hasButtonRight:f=!1,caption:m="",inlineVideoOptions:y,riveArtboardName:v="New Artboard"}=e,x="Wistia Video Embed"===t&&a?.fields?.file?.url,w="Inline Video"===t,j="Wistia Video Embed â Inline"===t,{width:C}=(0,o.A)(),E=C<640,k=()=>E&&d?d:u;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,g.A)("w-full","Image"===t&&h&&"relative h-full w-full",("Rive Animation"===t||"Rive Animation (Interactive)"===t||w||j)&&"relative h-full overflow-hidden rounded-lg lg:rounded-xl",{Left:"mr-auto",Center:"mx-auto",Right:"ml-auto"}[p],c),style:{maxWidth:n,margin:i,...("Rive Animation"===t||"Rive Animation (Interactive)"===t||w||j)&&k()?{aspectRatio:k()}:{}},children:["Iframe Embed"===t?(0,r.jsx)(D,{...e}):null,"Image"===t?(0,r.jsx)(B,{...e,isMobile:E}):null,"Rive Animation"===t?(0,r.jsx)(V,{mobileFile:s,file:a,hasButtonRight:y?.playPauseButtonAlignment==="Right"||f,riveArtboardName:v}):null,"Rive Animation (Interactive)"===t?(0,r.jsx)($,{mobileFile:s,file:a,hasButtonRight:y?.playPauseButtonAlignment==="Right"||f,riveArtboardName:v}):null,w?(0,r.jsx)(F,{...e,isMobile:E}):null,j?(0,r.jsx)(H,{...e,isMobile:E}):null,x?(0,r.jsx)(b,{...e}):null]}),m&&(0,r.jsx)("div",{className:"text-14 mt-4 opacity-80",dangerouslySetInnerHTML:{__html:m}})]})}function D({iframeEmbedUrl:e,aspectRatio:t,mobileAspectRatio:n,file:i,mobileFile:a}){let{width:s}=(0,o.A)(),l=s<768;return l&&a?(0,r.jsx)(B,{type:"Image",file:a,className:"w-full"}):(0,r.jsx)("iframe",{src:e,title:"Iframe Embed",className:(0,g.A)("relative h-full w-full overflow-hidden rounded-lg lg:rounded-xl"),style:{aspectRatio:l&&n?n:t,transform:"translateZ(0)"}})}function B({file:e,mobileFile:t,className:n="",isPriority:i=!1,isFill:a=!1,isMobile:o=!1,width:l,height:c,sizes:u,maxWidth:d}){let p=o&&t?t:e,h=p?.fields?.file?.url,f=p?.fields?.file?.fileName,m=p?.fields?.file?.details?.image;if(!h||"string"!=typeof h)return null;let y=d?Number.parseInt(d,10):void 0,v=(0,s.$o)(l||y,m?.width),b=m?.width&&m?.height?Math.round(v/m.width*m.height):v,x=c||b,w=u||`(max-width: ${v}
1px) 100vw, ${v}px`,j=(0,s.a1)(v);return("string"==typeof f?f:"").toLowerCase().endsWith(".gif")||h.toLowerCase().includes(".gif")?(0,r.jsx)("img",{src:h,alt:p.fields.title||"",width:v,height:x,className:(0,g.A)(n,"w-full",a&&"h-full object-cover"),loading:i?"eager":"lazy",draggable:!1}):(0,r.jsx)(M(),{loader:j,src:h,alt:p.fields.title||"",width:v,height:x,sizes:w,priority:i,quality:85,className:(0,g.A)(n,"w-full",a&&"h-full object-cover"),draggable:!1})}function F({file:e,mobileFile:t,videoThumbnail:n,inlineVideoOptions:i,isMobile:a,isLegacy:s=!1}){var l;let{width:c}=(0,o.A)(),d=(a??c<640)&&t?t:e,{t:p}=(0,y.useTranslation)(),h=(0,C.I)(),m=!!s||(i?.autoplay??!0),v=!!s||(i?.loop??!0),b=!!s||(i?.mutedByDefault??!0),x=!s&&(i?.showControls??!1),w=s?p("Animation"):i?.videoTitle||p("Inline Video"),j=!s,E=i?.playPauseButtonAlignment==="Left"?"left-5":"right-5",[k,S]=(0,f.useState)(s?h:!m||h),[A,T]=(0,f.useState)(b),[_,L]=(0,f.useState)(!1),N=(0,f.useRef)(null);(0,f.useEffect)(()=>{h&&S(!0)},[h]),(0,f.useEffect)(()=>{if(N.current){if(k)N.current.pause();else{let e=N.current.play();e&&!s&&e.catch(()=>{S(!0)})}}},[k,s]);let P=()=>{j&&!_&&(T(!1),L(!0))},I=n?.fields?.file?.url||d?.fields?.file?.url,M=d?.fields?.file?.url,O=M&&!I;if((0,f.useEffect)(()=>{N.current&&I&&(N.current.src=I,N.current.load())},[I]),!I)return null;let R=t?.fields?.file?.url;return a&&U(R)?(0,r.jsx)(B,{file:t,type:"Image",className:"w-full"}):a&&"string"==typeof(l=R)&&l.includes(".riv")?(0,r.jsx)(V,{mobileFile:t,file:e,hasButtonRight:i?.playPauseButtonAlignment==="Right"}):(0,r.jsxs)("div",{className:s?"overflow-hidden rounded-xl max-md:rounded-b-none md:rounded-tr-none":"relative overflow-hidden rounded-xl max-h-full",children:[!x&&(0,r.jsx)("div",{onClick:()=>{j&&P(),S(!k)},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),j&&P(),S(!k))},"aria-label":p(k?`Play ${w}`:`Pause ${w}`),className:`absolute bottom-5 ${E} z-10 h-8 w-8 overflow-hidden rounded-full border border-grey-pastel bg-white p-2 transition-colors duration-300 hover:border-coral-shade`,children:(0,r.jsxs)("div",{className:"relative h-full w-full text-black",children:[(0,r.jsx)("div",{className:(0,g.A)("absolute inset-0 transition-transform duration-200",k?"-translate-y-8":"translate-y-0"),children:(0,r.jsx)(u.fw,{})}),(0,r.jsx)("div",{className:(0,g.A)("absolute inset-0 transition-transform duration-200",k?"translate-y-0":"translate-y-8"),children:(0,r.jsx)(u.ud,{})})]})}),(0,r.jsxs)("video",{ref:N,loop:v,muted:A,autoPlay:m&&!h,playsInline:!0,poster:O?M:void 0,controls:x,className:"h-full w-full object-cover object-center","aria-label":w,onClick:j?P:void 0,onPlay:j?P:void 0,children:[(0,r.jsx)("source",{src:I,type:"video/mp4"}),(0,r.jsx)("track",{kind:"captions",srcLang:"en",label:"English"}),p("Your browser does not support the video tag.")]})]})}function H({wistiaVideoId:e,inlineVideoOptions:t,aspectRatio:n,file:i,mobileFile:a,isMobile:o,isPriority:s}){let{t:c}=(0,y.useTranslation)(),d=(0,C.I)(),p=(0,f.useRef)(null),[h,m]=(0,f.useState)(!1),[g,v]=(0,f.useState)(!1),b=o&&a?a:i,x=t?.autoplay??!1,w=t?.loop??!1,j=t?.mutedByDefault??x,E=t?.showControls??!0,k=t?.videoTitle||c("Video"),S=x&&!d,A=e?function(e,t={}){let{autoplay:n=!1,loop:r=!1,mutedByDefault:i=n,showControls:a=!0}=t,o=`https://fast.wistia.net/embed/iframe/${e}`,s=new URLSearchParams;return n&&s.append("autoPlay","true"),r&&s.append("endVideoBehavior","loop"),i&&s.append("muted","true"),a||s.append("playbar","false"),s.append("videoFoam","true"),s.append("fullscreenButton",a?"true":"false"),s.append("playButton",a?"true":"false"),`${o}?${s.toString()}`}(e,{autoplay:x,loop:w,mutedByDefault:j,showControls:E}):null;if((0,f.useEffect)(()=>{if(!S||h||g||!p.current)return()=>{};let e=p.current,t=new IntersectionObserver(([e])=>{e.isIntersecting&&((0,l.zG)(),m(!0),t.disconnect())},{rootMargin:"200px"});return t.observe(e),()=>{t.disconnect()}},[S,h,g]),!A)return b?(0,r.jsx)(B,{file:b,type:"Image",className:"w-full",isPriority:s}):null;if(o&&a)return(0,r.jsx)(B,{file:a,type:"Image",className:"w-full",isPriority:s});let T=n||"16/9";return h?(0,r.jsxs)("div",{className:"relative flex h-full flex-col overflow-hidden rounded-xl",style:{aspectRatio:T},children:[b?(0,r.jsx)(B,{file:b,type:"Image",className:"absolute inset-0 h-full w-full object-cover",isFill:!0,isPriority:s}):null,(0,r.jsx)("iframe",{src:A,title:k,className:"relative z-10 mx-auto h-full max-h-full w-full max-w-full flex-auto bg-transparent object-contain object-center",frameBorder:"0",scrolling:"no",allowFullScreen:!0,allow:"autoplay; fullscreen; encrypted-media",onError:()=>{v(!0),m(!1)}})]}):(0,r.jsxs)("div",{ref:p,className:"relative flex h-full flex-col overflow-hidden rounded-xl",style:{aspectRatio:T},children:[b?(0,r.jsx)(B,{file:b,type:"Image",className:"h-full w-full object-cover",isFill:!0,isPriority:s}):null,(0,r.jsx)("button",{type:"button",onClick:()=>{(0,l.zG)(),m(!0)},onMouseEnter:l.zG,onFocus:l.zG,"aria-label":c(`Play ${k}`),className:"absolute inset-0 z-10 flex items-center justify-center transition-colors duration-300 hover:bg-black/10",children:(0,r.jsx)("span",{className:"aspect-square flex w-9 items-center justify-center rounded-full bg-white text-black sm:w-[4.25rem]",children:(0,r.jsx)(u.ud,{className:"ml-0.5 w-3.5 sm:w-6"})})})]})}function V({file:e,mobileFile:t,hasButtonRight:n,riveArtboardName:i="New Artboard"}){let{width:a}=(0,o.A)(),s=a<640,l=s&&t?t:e,c=U(t?.fields?.file?.url.toLowerCase());return s&&c&&t?(0,r.jsx)(B,{file:t,type:"Image",className:"w-full"}):(0,r.jsx)(A,{riveFile:l?.fields?.file,hasButtonRight:n,riveArtboardName:i})}function $({file:e,mobileFile:t,hasButtonRight:n,riveArtboardName:i="New Artboard"}){let{width:a}=(0,o.A)(),s=a<640,l=s&&t?t:e,c=U(t?.fields?.file?.url.toLowerCase());return s&&c&&t?(0,r.jsx)(B,{file:t,type:"Image",className:"w-full"}):(0,r.jsx)(L,{riveFile:l?.fields?.file,hasButtonRight:n,riveArtboardName:i})}function U(e){return"string"==typeof e&&(e.includes(".png")||e.includes(".jpg")||e.includes(".jpeg")||e.includes(".gif")||e.includes(".bmp")||e.includes(".svg")||e.includes(".webp")||e.includes(".ico")||e.includes(".tiff"))}}
1,5389:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(82777);let i={}.hasOwnProperty;function a(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let a;let o=(i.call(e,n)?e[n]:void 0)||(e[n]={}),s=t[n];if(s)for(a in s){i.call(o,a)||(o[a]=[]);let e=s[a];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);(0,r.m)(e,0,0,i)}(o[a],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},5501:(e,t,n)=>{"use strict";n.d(t,{A:()=>i,Q:()=>a});var r=n(58775);n(73884);let i=function({date:e,classes:t=""}){let n=e instanceof Date?e:new Date(e),i=new Intl.DateTimeFormat("en-US",{day:"2-digit",month:"long",year:"numeric",timeZone:"Europe/Paris"}).format(n);return(0,r.jsx)("span",{className:t,children:i})};function a({date:e,classes:t=""}){let n=e instanceof Date?e:new Date(e),i=new Intl.DateTimeFormat("en-US",{month:"short",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!0,timeZone:"Europe/Paris"}).format(n);return(0,r.jsx)("span",{className:t,children:i})}},5621:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(86896),i=n(39713);function a(e){let t=[0];return!function(e,t){let n=e[e.length-1];for(let a=1;a<=t;a++){let o=(0,r.q)(0,t,a);e.push((0,i.k)(n,1,o))}}(t,e.length-1),t}},5673:(e,t,n)=>{"use strict";n.d(t,{OU:()=>c,Ql:()=>u,Ww:()=>p,hq:()=>a,o4:()=>l});var r=n(39713),i=n(41630);function a(e,t,n){return n+t*(e-n)}function o(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function s(e,t=0,n=1,r,i){e.min=o(e.min,t,n,r,i),e.max=o(e.max,t,n,r,i)}function l(e,{x:t,y:n}){s(e.x,t.translate,t.scale,t.originPoint),s(e.y,n.translate,n.scale,n.originPoint)}function c(e,t,n,r=!1){let a,o;let s=n.length;if(s){t.x=t.y=1;for(let c=0;c<s;c++){o=(a=n[c]).projectionDelta;let{visualElement:s}=a.options;(!s||!s.props.style||"contents"!==s.props.style.display)&&(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&p(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,l(e,o)),r&&(0,i.HD)(a.latestValues)&&p(e,a.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}function u(e,t){e.min=e.min+t,e.max=e.max+t}function d(e,t,n,i,a=.5){let o=(0,r.k)(e.min,e.max,a);s(e,t,n,o,i)}function p(e,t){d(e.x,t.x,t.scaleX,t.scale,t.originX),d(e.y,t.y,t.scaleY,t.scale,t.originY)}}
1,5793:(e,t,n)=>{"use strict";n.d(t,{F:()=>s});var r=n(58775),i=n(73884),a=n(66048),o=n(52194);function s({children:e,features:t,strict:n=!1}){let[,s]=(0,i.useState)(!l(t)),c=(0,i.useRef)(void 0);if(!l(t)){let{renderer:e,...n}=t;c.current=e,(0,o.Y)(n)}return(0,i.useEffect)(()=>{l(t)&&t().then(({renderer:e,...t})=>{(0,o.Y)(t),c.current=e,s(!0)})},[]),(0,r.jsx)(a.Y.Provider,{value:{renderer:c.current,strict:n},children:e})}function l(e){return"function"==typeof e}},6135:(e,t,n)=>{"use strict";n.d(t,{$o:()=>s,a1:()=>o}),n(58775),n(56234);let r=1280,i=(e,t=r)=>e&&Number.isFinite(e)?Math.min(Math.round(e),t):t,a=({src:e,width:t,quality:n})=>{let r=new URLSearchParams({w:i(t).toString(),q:(n||90).toString(),fit:"scale"});return e.toLowerCase().endsWith(".svg")||r.set("fm","avif"),`${e}${e.includes("?")?"&":"?"}${r.toString()}`},o=(e=r)=>({src:t,width:n,quality:r})=>a({src:t,width:i(n,e),quality:r}),s=(e,t,n=r)=>{let a=e||t||n;return i(t?Math.min(a,t):a,n)}},7272:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/ResourceHyperlink","definitions":{"ResourceHyperlink":{"type":"object","properties":{"nodeType":{"type":"string","enum":["resource-hyperlink"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/ResourceLink"}},"additionalProperties":false,"required":["target"]},"content":{"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ResourceLink":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["ResourceLink"]},"linkType":{"type":"string","enum":["Contentful:Entry"]},"urn":{"type":"string"}},"additionalProperties":false,"required":["linkType","type","urn"]}},"additionalProperties":false,"required":["sys"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},7306:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(58775),i=n(74614),a=n(61699),o=n(69220),s=n(2050),l=n(90777),c=n(34164),u=n(73884);function d({ctaColour:e={name:"Dark / Red"},heading:t="",content:n="",buttons:u}){let d="string"==typeof e?e:e?.name,p=(0,i.R1)(),h=(0,s.$9)(e?.name),f=(0,s.iQ)(e?.name);return(0,r.jsxs)("div",{className:(0,c.A)("relative -mx-5 w-[calc(100%+2.5rem)] overflow-hidden px-5 py-10 sm:mx-0 sm:w-full sm:rounded-bl-xl sm:rounded-tr-xl sm:p-5 md:p-6",h,(0,s.Ay)(d)),children:[(0,r.jsxs)("div",{className:(0,c.A)("relative rounded-3xl border px-6 py-10 sm:border-0 sm:p-0",h,(0,s.Ay)(d)),children:[(0,r.jsxs)("div",{className:"relative flex max-sm:hidden",children:[(0,r.jsxs)("div",{className:(0,c.A)("relative z-10 sm:border-b",h,(0,s.Ay)(d)),children:[(0,r.jsx)("div",{className:"aspect-[88/52] h-[3.25rem]"}),(0,r.jsx)("div",{className:(0,c.A)("bordered-corner bottom-left",h,(0,s.Ay)(d))}),(0,r.jsx)("div",{className:(0,c.A)("bordered-corner bottom-right",h,(0,s.Ay)(d))})]}),(0,r.jsx)("div",{className:(0,c.A)("flex-1 rounded-tl-3xl rounded-tr-3xl border-l border-r border-t",h,(0,s.Ay)(d))}),(0,r.jsx)(o.k7,{className:(0,c.A)("absolute -top-1.5 left-1/2 -translate-x-1/2 rotate-180",o.hp[f]?.text,h,(0,s.Ay)(d))})]}),(0,r.jsx)("div",{className:(0,c.A)("w-full sm:border-x sm:px-20 sm:pb-8 sm:pt-6",h),children:(0,r.jsxs)("div",{className:"mx-auto flex w-full max-w-[47.75rem] flex-col items-center text-center",children:[t&&(0,r.jsx)("h2",{className:"text-h2",dangerouslySetInnerHTML:{__html:t}}),n&&(0,r.jsx)("p",{className:"text-20 mt-3 w-full max-w-xl opacity-80",dangerouslySetInnerHTML:{__html:n}}),(0,r.jsx)("div",{className:"mt-6",children:(0,r.jsx)(a.A,{buttons:u})})]})}),(0,r.jsxs)("div",{className:"relative flex max-sm:hidden",children:[(0,r.jsx)("div",{className:(0,
1c.A)("flex-1 rounded-bl-3xl rounded-br-3xl border-b border-l border-r",h,(0,s.Ay)(d))}),(0,r.jsxs)("div",{className:(0,c.A)("relative z-10 sm:border-t",h,(0,s.Ay)(d)),children:[(0,r.jsx)("div",{className:"aspect-[96/44] w-24"}),(0,r.jsx)("div",{className:(0,c.A)("bordered-corner top-left",h,(0,s.Ay)(d))}),(0,r.jsx)("div",{className:(0,c.A)("bordered-corner top-right",h,(0,s.Ay)(d))})]}),(0,r.jsx)(o.k7,{className:(0,c.A)("absolute -bottom-1.5 left-1/2 -translate-x-1/2",o.hp[f]?.text,h,(0,s.Ay)(d))})]}),(0,r.jsx)(o.dt,{className:(0,c.A)("absolute -left-1 top-1/2 -translate-y-1/2 sm:hidden",o.hp[f]?.text,h,(0,s.Ay)(d))}),(0,r.jsx)(o.dt,{className:(0,c.A)("absolute -right-1 top-1/2 -translate-y-1/2 rotate-180 sm:hidden",o.hp[f]?.text,h,(0,s.Ay)(d))})]}),(0,r.jsx)(l.A,{colour:p?.backgroundColor?.name||"White",position:"topLeft",radius:12,hideOnMobile:!0,children:(0,r.jsx)("div",{className:"aspect-[86/52] h-[3.25rem]"})}),(0,r.jsx)(l.A,{colour:p?.backgroundColor?.name||"White",position:"bottomRight",radius:12,hideOnMobile:!0,children:(0,r.jsx)("div",{className:"aspect-[90/40] h-10"})})]})}let p=function({ctaColour:e="Dark / Red",heading:t,content:n,buttons:i}){let o="my-6 md:my-8 lg:my-10",u=e?.name||e,d=(0,s.vG)(u),p="text-white"===d,h="Dark / Red"===u&&i?.every(e=>e?.fields?.type===i[0]?.fields?.type),f=i?.length>1?["Button Outline â White","Button Solid â White"]:["Button Solid â White"],m=i?.map((e,t)=>{let n=e?.fields?.externalUrl?.length>0?e?.fields?.externalUrl:e?.fields?.pageLink?.fields?.slug;return{contentType:e?.sys?.contentType?.sys?.id,locale:e?.sys?.locale,type:h?f[t]:e?.fields?.type,title:e?.fields?.title,externalUrl:e?.fields?.externalUrl,isExternal:e?.fields?.externalUrl?.length>0,slug:n}});return n?.length>0?(0,r.jsx)("div",{className:(0,c.A)("not-prose lg:py-4",o),children:(0,r.jsxs)("div",{className:`relative rounded-xl ${(0,s.Ay)(e?.name||e)} px-6 py-7 sm:p-8 lg:px-[3.25rem] lg:py-12`,children:[(0,r.jsx)("h2",{className:`text-h5 ${d}`,dangerouslySetInnerHTML:{__html:t}}),(0,r.jsx)("p",{className:`text-16 mb-4 mt-2 w-full max-w-[25.9375rem] ${p?"text-white/80":"text-black/80"} md:mb-6`,dangerouslySetInnerHTML:{__html:n}}),(0,r.jsx)(a.A,{buttons:m,isSmall:!1}),(0,r.jsx)(l.A,{colour:"White",position:"bottomRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[80/44] h-7 md:h-12"})})]})}):(0,r.jsx)("div",{className:(0,c.A)("not-prose lg:py-4",o),children:(0,r.jsx)("div",{className:`rounded-lg ${(0,s.Ay)(e?.name||e)} p-3 sm:px-6 sm:py-6 lg:px-8`,children:(0,r.jsxs)("div",{className:`flex flex-col items-start justify-between gap-5 rounded-xl border ${p?"border-white/30":"border-black/30"} px-6 py-6 sm:flex-row sm:items-center sm:gap-8 lg:px-8`,children:[(0,r.jsx)("h2",{className:`text-h4 w-full flex-1 ${d} sm:max-w-[25.625rem]`,dangerouslySetInnerHTML:{__html:t}}),(0,r.jsx)(a.A,{buttons:m,isSmall:!0})]})})})},h=function({ctaColour:e="Dark / Red",heading:t,content:n,buttons:i,sectionBg:o=""}){return(0,r.jsxs)("div",{className:"relative flex h-full flex-col rounded-lg bg-lilac-dark p-6 text-white",children:[(0,r.jsx)(l.A,{colour:o||"White",position:"topRight",width:25,radius:12}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-h5 mb-2 w-3/5",dangerouslySetInnerHTML:{__html:t}}),n?.length>0&&(0,r.jsx)("p",{className:"text-16 opacity-65",dangerouslySetInnerHTML:{__html:n}})]}),(0,r.jsx)(a.A,{buttons:i,isSmall:!0})]})},f=function({ctaColour:e="Dark / Red",heading:t,content:n,buttons:i,sectionBg:o=""}){return(0,r.jsxs)("div",{className:`relative flex h-full flex-col rounded-lg p-6 ${(0,s.Ay)(e?.name||e)}`,children:[(0,r.jsx)(l.A,{colour:o||"White",position:"bottomRight",width:12,height:28,radius:12}),(0,r.jsxs)("div",{className:"space-y-4 lg:space-y-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-h7 mb-2 w-full xl:max-w-[80%]",dangerouslySetInnerHTML:{__html:t}}),n?.length>0&&(0,r.jsx)("p",{className:"text-16 opacity-65",dangerouslySetInnerHTML:{__html:n}})]}),(0,r.jsx)(a.A,{buttons:i,isSmall:!0})]})]})};var m=n(5293);function g({ctaColour:e={name:"Dark / Red"},subheading:t="",heading:n="",content:i,buttons:o,asset:u,isVerticallyCentered:d=!1}
1){return(0,r.jsxs)("div",{className:(0,c.A)("grid gap-8 rounded-lg p-6 md:grid-cols-12 md:gap-6 lg:gap-1 lg:p-8",(0,s.Ay)(e?.name||"Dark / Red"),d?"items-center":"items-start"),children:[(0,r.jsxs)("div",{className:(0,c.A)("flex flex-col items-center text-center md:col-span-5 md:items-stretch md:pb-2 md:text-left lg:pb-7 lg:pl-5 lg:pt-5",d&&"mx-auto max-w-[25.75rem]",i&&"lg:pr-11"),children:[t&&(0,r.jsx)("span",{className:"text-16 mb-3 font-medium !leading-[1.2]",dangerouslySetInnerHTML:{__html:t}}),(0,r.jsx)("h2",{className:i?"text-h4":"text-h2",dangerouslySetInnerHTML:{__html:n}}),i&&(0,r.jsx)("p",{className:(0,c.A)("mt-3 opacity-80",d?"text-18":"text-16"),dangerouslySetInnerHTML:{__html:i}}),(0,r.jsx)("div",{className:"mt-4 leading-none lg:mt-6",children:(0,r.jsx)(a.A,{buttons:o,isSmall:!1})})]}),u&&(0,r.jsxs)("div",{className:`relative overflow-hidden rounded-br-xl rounded-tl-xl max-md:order-first md:col-span-7 ${i?"":"w-full md:ml-auto lg:max-w-[38.125rem]"}`,children:[(0,r.jsx)(m.Ay,{...u,hasButtonRight:!0}),(0,r.jsx)(l.A,{colour:e?.name||"Dark / Red",position:"topRight",radius:12,children:(0,r.jsx)("div",{className:d?"aspect-[140/32] h-5 md:h-8":"aspect-[90/44] h-6 md:h-11"})}),(0,r.jsx)(l.A,{colour:e?.name||"Dark / Red",position:"bottomLeft",radius:12,children:(0,r.jsx)("div",{className:"aspect-[64/36] h-6 md:h-9"})})]})]})}function y({ctaColour:e={name:"Dark / Red"},subheading:t="",heading:n="",content:o,buttons:d,asset:p}){let h=(0,i.R1)(),[f,g]=(0,u.useState)(!1);return(0,r.jsxs)("div",{className:(0,c.A)("relative col-span-full grid gap-10 overflow-hidden rounded-br-xl rounded-tl-xl px-6 pt-10 max-sm:rounded-tr-xl sm:grid-cols-2 sm:gap-8 sm:px-8 sm:pt-0 md:px-12 lg:gap-12 xl:px-24",(0,s.Ay)(e?.name)),children:[(0,r.jsxs)("div",{className:"my-auto flex flex-col items-center text-center sm:items-start sm:py-12 sm:text-left lg:py-16",children:[(0,r.jsx)("h3",{className:"text-h3",dangerouslySetInnerHTML:{__html:n}}),o&&(0,r.jsx)("p",{className:"text-18 mt-2 opacity-80 lg:mt-4",dangerouslySetInnerHTML:{__html:o}}),(0,r.jsx)("div",{className:"mt-5 lg:mt-8",onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),children:(0,r.jsx)(a.A,{buttons:d,isSmall:!1})})]}),(0,r.jsx)("div",{className:"mb-auto mt-auto sm:pb-10 sm:pt-10 md:mb-0 md:pb-0 md:pt-14",children:(0,r.jsx)("div",{className:(0,c.A)("mx-auto -mb-6 w-full max-w-[15.625rem] overflow-hidden rounded-lg transition-transform duration-300 sm:mb-0 sm:max-w-[18.625rem] md:-mb-6"),children:(0,r.jsx)(m.Ay,{...p})})}),(0,r.jsx)(l.A,{colour:h?.backgroundColor?.name,position:"topRight",radius:12,hideOnMobile:!0,children:(0,r.jsx)("div",{className:`ease-in-out" h-7 transition-all duration-500 lg:h-11 ${f?"aspect-[150/44]":"aspect-[90/44]"}`})}),(0,r.jsx)(l.A,{colour:h?.backgroundColor?.name,position:"bottomLeft",radius:12,children:(0,r.jsx)("div",{className:`h-12 transition-all delay-200 duration-500 ease-in-out sm:h-7 lg:h-11 ${f?"aspect-[100/44]":"aspect-[28/48] sm:aspect-[70/44]"}`})})]})}let v=function({ctaColour:e={name:"Dark / Red"},subheading:t="",heading:n="",content:i="",buttons:o=[],asset:u}){return(0,r.jsxs)("div",{className:(0,c.A)("flex flex-col justify-between gap-8 rounded-lg bg-lime-deep p-6 sm:flex-row sm:items-center md:gap-x-10",(0,s.Ay)(e?.name)),children:[(0,r.jsxs)("div",{className:"w-full max-w-[24rem] shrink-0 space-y-5 sm:w-2/5 sm:py-2 md:space-y-8 lg:pb-5 lg:pl-5 lg:pt-6",children:[(0,r.jsxs)("div",{children:[t&&(0,r.jsx)("div",{className:"text-14-pill mb-5 inline-block rounded bg-lime-light px-2.5 py-1.5 !leading-none text-black lg:py-2",dangerouslySetInnerHTML:{__html:t}}),n&&(0,r.jsx)("div",{className:"text-h3 text-white",dangerouslySetInnerHTML:{__html:n}}),i&&(0,r.jsx)("p",{className:"text-18 mt-2 text-white md:mt-3",dangerouslySetInnerHTML:{__html:i}})]}),(0,r.jsx)(a.A,{buttons:o,isSmall:!0})]}),(0,r.jsxs)("div",{className:"relative max-w-[38.625rem] flex-1 overflow-hidden rounded-xl max-sm:aspect-[618/350] sm:min-h-72 lg:min-h-[21.875rem]",children:[(0,r.jsx)(m.Ay,{...u,isFill:!0}),(0,r.jsx)(l.A,{colour:"Deep / Forest",position:"bottomLeft",radius:12,width:74.5,height:32,hideOnMobile:!0}),(0,r.jsx)(l.A,{colour:"Deep / Forest",position:"bottomLeft",radiu
1s:12,offsetY:32,width:43.5,height:64,hideOnMobile:!0}),(0,r.jsx)(l.A,{colour:"Deep / Forest",position:"bottomLeft",radius:12,offsetY:96,width:13,height:96,hideOnMobile:!0})]})]})};function b({ctaColour:e={name:"Dark / Red"},subheading:t="",heading:n="",content:l="",buttons:d,isAnnouncement:p=!1}){let h="string"==typeof e?e:e?.name,[f,m]=(0,u.useState)(!1);(0,i.R1)();let g=(0,s.$9)(e?.name),y=(0,s.iQ)(e?.name);return(0,r.jsx)("div",{className:(0,c.A)("-mx-5 w-[calc(100%+2.5rem)] overflow-hidden px-5 py-10 sm:mx-0 sm:w-full sm:rounded-lg sm:p-5",g,(0,s.Ay)(h)),children:(0,r.jsxs)("div",{className:(0,c.A)("relative rounded-3xl border px-6 py-10 sm:border-0 sm:p-0",g,(0,s.Ay)(h)),children:[(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsxs)("div",{className:(0,c.A)("relative z-10 w-full text-center sm:w-3/4 sm:border-b sm:pb-5 sm:pl-1 sm:pr-5 sm:pt-1 sm:text-left lg:pb-7 lg:pl-3 lg:pr-6",g,(0,s.Ay)(h),p?"sm:max-w-[32.75rem]":"sm:max-w-[29.5rem]"),children:[t&&(0,r.jsx)("p",{className:"text-18 mb-2 opacity-80",dangerouslySetInnerHTML:{__html:t}}),n&&(0,r.jsx)("h2",{className:(0,c.A)(p?"text-h4":"text-h2"),dangerouslySetInnerHTML:{__html:n}}),l&&(0,r.jsx)("p",{className:"text-18 mt-2 opacity-80",dangerouslySetInnerHTML:{__html:l}}),(0,r.jsx)("div",{className:(0,c.A)("bordered-corner bottom-left max-sm:hidden",g,(0,s.Ay)(h))}),(0,r.jsx)("div",{className:(0,c.A)("bordered-corner bottom-right max-sm:hidden",g,(0,s.Ay)(h))})]}),(0,r.jsxs)("div",{className:(0,c.A)("relative flex-1 rounded-tl-3xl rounded-tr-3xl border-l border-r border-t max-sm:hidden",g,(0,s.Ay)(h)),children:[(0,r.jsx)("div",{className:`absolute -top-[0.438rem] left-10 transition-transform duration-200 ease-in-out md:left-16 ${f?"translate-x-10":"translate-x-0"}`,children:(0,r.jsx)(o.k7,{className:(0,c.A)("rotate-180",o.hp[y]?.text,g,(0,s.Ay)(h))})}),(0,r.jsx)("div",{className:`absolute -right-[0.438rem] bottom-0 transition-transform duration-200 ease-in-out ${f?"translate-y-0":"-translate-y-10"}`,children:(0,r.jsx)(o.dt,{className:(0,c.A)("",o.hp[y]?.text,g,(0,s.Ay)(h))})})]})]}),(0,r.jsx)("div",{className:(0,c.A)("h-14 border-l border-r max-sm:hidden",p?"md:h-24 lg:h-44":"lg:h-10",g,(0,s.Ay)(h))}),(0,r.jsxs)("div",{className:"mt-6 flex sm:mt-0",children:[(0,r.jsxs)("div",{className:(0,c.A)("relative flex-1 rounded-bl-3xl rounded-br-3xl border-b border-l border-r max-sm:hidden",g,(0,s.Ay)(h)),children:[(0,r.jsx)("div",{className:`absolute -bottom-[0.438rem] right-20 transition-transform duration-200 ease-in-out md:right-60 ${f?"-translate-x-10":"translate-x-0"}`,children:(0,r.jsx)(o.k7,{className:(0,c.A)("",o.hp[y]?.text,g,(0,s.Ay)(h))})}),(0,r.jsx)("div",{className:`absolute -left-[0.438rem] bottom-8 transition-transform duration-200 ease-in-out ${f?"-translate-y-10":"translate-y-0"}`,children:(0,r.jsx)(o.dt,{className:(0,c.A)("rotate-180",o.hp[y]?.text,g,(0,s.Ay)(h))})})]}),(0,r.jsxs)("div",{className:(0,c.A)("relative w-full sm:w-auto sm:border-t sm:pl-6 sm:pt-5 lg:pb-3 lg:pl-8 lg:pt-8",g,(0,s.Ay)(h)),children:[(0,r.jsx)(a.A,{onMouseEnter:()=>m(!0),onMouseLeave:()=>m(!1),buttons:d,isSmall:!1,buttonWrapperClasses:"max-sm:justify-center"}),(0,r.jsx)("div",{className:(0,c.A)("bordered-corner top-left max-sm:hidden",g,(0,s.Ay)(h))}),(0,r.jsx)("div",{className:(0,c.A)("bordered-corner top-right max-sm:hidden",g,(0,s.Ay)(h))})]})]}),(0,r.jsx)(o.dt,{className:(0,c.A)("absolute -left-1 top-1/2 -translate-y-1/2 sm:hidden",o.hp[y]?.text,g,(0,s.Ay)(h))}),(0,r.jsx)(o.dt,{className:(0,c.A)("absolute -right-1 top-1/2 -translate-y-1/2 rotate-180 sm:hidden",o.hp[y]?.text,g,(0,s.Ay)(h))})]})})}function x({ctaColour:e={name:"Pale Grey"},heading:t,content:n,buttons:i,asset:o}){return(0,r.jsxs)("div",{className:(0,c.A)("grid items-center gap-10 rounded-lg p-6 md:grid-cols-12 md:gap-6",(0,s.Ay)(e?.name)),children:[(0,r.jsxs)("div",{className:"flex flex-col items-center pt-4 text-center md:col-span-5 md:items-stretch md:py-4 md:text-left lg:py-6 lg:pl-10 lg:pr-6",children:[(0,r.jsx)("h2",{className:"text-h4",dangerouslySetInnerHTML:{__html:t}}),(0,r.jsx)("p",{className:"text-18 mt-3",dangerouslySetInnerHTML:{__html:n}}),(0,r.jsx)("div",{className:"mt-4 leading-none lg:mt-7",children:(0,r.jsx)(a.A,{buttons:i,isSmall:!1})})]}),(0,r.jsx)("div",{className:"md:col-span-7",children:(0,r.jsx)(m.Ay,{...o})})]})}let w=function({ctaColour:e="Dark / Red",heading:t,asset:n,buttons:i,sectionBg:o=""}){return(0,r.jsxs)("div",{className:"relative flex h-full w-full items-center space-x-[16px] rounded-lg bg-[#004C3D] p-[8px] pr-[20px] text-white",children:[n?(0,r.jsx)("div",{className:"aspect-[1/1] w-full max-w-[48px]",children:(0,r.jsx)(m.Ay,{...n})}):null,(0,r.jsx)("div",{className:"flex-auto",children:(0,r.jsx)("h3",{className:"select-none text-[16px]",dangerouslySetInnerHTML:{__html:t}})}),(0,r.jsx)(a.A,{buttons:i,isSmall:!0})]})};function j(e){let{layout:t="EmbeddedCTA"}=e,n={Default:d,EmbeddedCTA:p,ResourceGridCTA:h,ResourceSidebarCTA:f,Destructured:b,"Two Column â Content Vertically Top":g,"Two Column â Content Vertically Centered":g,"Two Column â Featured Asset":y,"Single Resource":v,Announcement:b,"Integrations â Two Column Small":x,"Inline Small":w}[t];return n?(0,r.jsx)(n,{...e,isAnnouncement:"Announcement"===t,isVerticallyCentered:"Two Column â Content Vertically Centered"===t}):null}},7411:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var r=n(64662),i=n(26464);let a={renderer:n(28481).J,...r.W,...i.n}},7820:(e,t,n)=>{"use strict";var r=n(65606),i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,l={};((e,t)=>
1{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(l,{getEnv:()=>c}),e.exports=((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))s.call(e,l)||l===n||i(e,l,{get:()=>t[l],enumerable:!(r=a(t,l))||r.enumerable});return e})(i({},"__esModule",{value:!0}),l);let c=(e=r.env)=>({VERCEL:u(e,"VERCEL"),CI:u(e,"CI"),VERCEL_ENV:u(e,"VERCEL_ENV"),VERCEL_URL:u(e,"VERCEL_URL"),VERCEL_BRANCH_URL:u(e,"VERCEL_BRANCH_URL"),VERCEL_PROJECT_PRODUCTION_URL:u(e,"VERCEL_PROJECT_PRODUCTION_URL"),VERCEL_REGION:u(e,"VERCEL_REGION"),VERCEL_DEPLOYMENT_ID:u(e,"VERCEL_DEPLOYMENT_ID"),VERCEL_SKEW_PROTECTION_ENABLED:u(e,"VERCEL_SKEW_PROTECTION_ENABLED"),VERCEL_AUTOMATION_BYPASS_SECRET:u(e,"VERCEL_AUTOMATION_BYPASS_SECRET"),VERCEL_GIT_PROVIDER:u(e,"VERCEL_GIT_PROVIDER"),VERCEL_GIT_REPO_SLUG:u(e,"VERCEL_GIT_REPO_SLUG"),VERCEL_GIT_REPO_OWNER:u(e,"VERCEL_GIT_REPO_OWNER"),VERCEL_GIT_REPO_ID:u(e,"VERCEL_GIT_REPO_ID"),VERCEL_GIT_COMMIT_REF:u(e,"VERCEL_GIT_COMMIT_REF"),VERCEL_GIT_COMMIT_SHA:u(e,"VERCEL_GIT_COMMIT_SHA"),VERCEL_GIT_COMMIT_MESSAGE:u(e,"VERCEL_GIT_COMMIT_MESSAGE"),VERCEL_GIT_COMMIT_AUTHOR_LOGIN:u(e,"VERCEL_GIT_COMMIT_AUTHOR_LOGIN"),VERCEL_GIT_COMMIT_AUTHOR_NAME:u(e,"VERCEL_GIT_COMMIT_AUTHOR_NAME"),VERCEL_GIT_PREVIOUS_SHA:u(e,"VERCEL_GIT_PREVIOUS_SHA"),VERCEL_GIT_PULL_REQUEST_ID:u(e,"VERCEL_GIT_PULL_REQUEST_ID")}),u=(e,t)=>{let n=e[t];return""===n?void 0:n}},8104:(e,t,n)=>{"use strict";n.d(t,{$:()=>i,V:()=>a});var r=n(41533);let i=r.l,a=r.l},8338:(e,t,n)=>{"use strict";n.d(t,{P:()=>d});var r=n(19520),i=n(64662),a=n(71830),o=n(26464),s=n(61820),l=n(9100),c=n(28481);let u=(0,l.C)({...i.W,...o.n,...a.$,...s.Z},c.J),d=(0,r.I)(u)},8452:(e,t,n)=>{"use strict";n.d(t,{O:()=>r,r:()=>i});let r={current:null},i={current:!1}},9100:(e,t,n)=>{"use strict";n.d(t,{C:()=>G});var r=n(58775),i=n(73884),a=n(29473),o=n(66048),s=n(35446);let l=(0,i.createContext)({});var c=n(36551),u=n(837);function d(e){return Array.isArray(e)?e.join(" "):e}var p=n(98288),h=n(13996),f=n(52194);let m=Symbol.for("motionComponentSymbol");var g=n(83953),y=n(86719),v=n(25128),b=n(82392),x=n(49268),w=n(23717),j=n(19110),C=n(10104),E=n(65490),k=n(13141),S=n(28601),A=n(14322);let T=e=>(t,n)=>{let r=(0,i.useContext)(l),a=(0,i.useContext)(y.t),o=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,i,a){let o={latestValues:function(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=(0,A.u)(a[e]);let{initial:o,animate:s}=e,l=(0,u.e)(e),c=(0,u.O)(e);t&&c&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===s&&(s=t.animate));let d=!!n&&!1===n.initial,p=(d=d||!1===o)?s:o;if(p&&"boolean"!=typeof p&&!(0,E.N)(p)){let t=Array.isArray(p)?p:[p];for(let n=0;n<t.length;n++){let r=(0,k.a)(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}(r,i,a,e),renderState:t()};return n&&(o.onMount=e=>n({props:r,current:e,...o}),o.onUpdate=e=>n(e)),o})(e,t,r,a);return n?o():(0,S.M)(o)};var _=n(72443),L=n(20164);let N=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),P=()=>({...N(),attrs:{}});var I=n(16793),M=n(97415),O=n(32777);let R=["x","y","width","height","cx","cy","r"],D={useVisualState:T({scrapeMotionValuesFromProps:O.x,createRenderState:P,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:i})=>{if(!n)return;let a=!!e.drag;if(!a){for(let e in i)if(_.f.has(e)){a=!0;break}}if(!a)return;let o=!t;if(t)for(let n=0;n<R.length;n++){let r=R[n];e[r]!==t[r]&&(o=!0)}o&&(C.Gt.read(()=>(function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(e){t.dimensions={x:0,y:0,width:0,height:0}}})(n,r)),C.Gt.render(()=>{(0,L.B)(r,i,(0,I.n)(n.tagName),e.transformTemplate),(0,M.d)(n,r)}))}})},B={useVisualState:T({scrapeMotionValuesFromProps:n(4494).x,createRenderState:N})};var F=n(67549),H=n(69896),V=n(75756);function $(e,t,n){for(let r in t)(0,H.S)(t[r])||(0,F.z)(r,n)||(e[r]=t[r])}let U=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function z(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||U.has(e)}let W=e=>!z(e);try{!function(e){e&&(W=t=>t.startsWith("on")?!z(t):e(t))}(require("@emotion/is-prop-valid").default)}catch(e){}function G(e,t){return function(n,{forwardMotionProps:C}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:j,Component:C}){var E,k;function S(e,f){var m;let E;let k={...(0,i.useContext)(s.Q),...e,layoutId:function({layoutId:e}){let t=(0,i.useContext)(a.L).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:S}=k,A=function(e){let{initial:t,animate:n}=function(e,t){if((0,u.e)(e)){let{initial:t,animate:n}=e;return{initial:!1===t||(0,c.w)(t)?t:void 0,animate:(0,c.w)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,i.useContext)(l));return(0,i.useMemo)(()=>({initial:t,animate:n}),[d(t),d(n)])}(e),T=j(e,S);if(!S&&p.B){(0,i.useContext)(o.Y).strict;let e=function(e){let{drag:t,layout:n}=h.B;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(k);E=e.MeasureLayout,A.visualElement=function(e,t,n,r,a){var c,u;let{visualElement:d}=(0,i.useContext)(l),p=(0,i.useContext)(o.Y),h=(0,i.useContext)(y.t),f=(0,i.useContext)(s.Q).reducedMotion,m=(0,i.useRef)(null);r=r||p.renderer,!m.current&&r&&(m.current=r(e,{visualState:t,parent:d,props:n,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:f}));let j=m.current,C=(0,i.useContext)(w.N);j&&!j.projection&&a&&("html"===j.type||"svg"===j.type)&&function(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&(0,g.X)(s),visualElement:e,animationType:"string"==typeof a?a:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}(m.current,n,a,C);let E=(0,i.useRef)(!1);(0,i.useInsertionEffect)(()=>{j&&E.current&&j.update(n,h)});let k=n[b.n],S=(0,i.useRef)(!!k&&!(null===(c=window.MotionHandoffIsComplete)||void 0===c?void 0:c.call(window,k))&&(null===(u=window.MotionHasOptimisedAnimation)||void 0===u?void 0:u.call(window,k)));return(0,v.E)(()=>{j&&(E.current=!0,window.MotionIsMounted=!0,j.updateFeatures(),x.k.render(j.render),S.current&&j.animationState&&j.animationState.animateChanges())}),(0,i.useEffect)(()=>{j&&(!S.current&&j.animationState&&j.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,k)}),S.current=!1))}),j}(C,T,k,t,e.ProjectionNode)}return(0,r.jsxs)(l.Provider,{value:A,children:[E&&A.visualElement?(0,r.jsx)(E,{visualElement:A.visualElement,...k}):null,n(C,e,(m=A.visualElement,(0,i.useCallback)(e=>{e&&T.onMount&&T.onMount(e),m&&(e?m.mount(e):m.unmount()),f&&("function"==typeof f?f(e):(0,g.X)(f)&&(f.current=e))},[m])),T,S,A.visualElement)]})}e&&(0,f.Y)(e),S.displayName=`motion.${"string"==typeof C?C:`create(${null!==(k=null!==(E=C.displayName)&&void 0!==E?E:C.name)&&void 0!==k?k:""})`}`;let A=(0,i.forwardRef)(S);return A[m]=C,A}({...(0,j.Q)(n)?D:B,preloadedFeatures:e,useRender:function(e=!1){return(t,n,r,{latestValues:a},o)=>{let s=((0,j.Q)(t)?function(e,t,n,r){let a=(0,i.useMemo)(()=>{let n=P();return(0,L.B)(n,t,(0,I.n)(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};$(t,e.style,e),a.style={...t,...a.style}}return a}:function(e,t){let n={},r=function(e,t){let n=e.style||{},r={};return $(r,n,e),Object.assign(r,function({transformTemplate:e},t){return(0,i.useMemo)(()=>{let n=N();return(0,V.O)(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n})(n,a,o,t),l=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(W(i)||!0===n&&z(i)||!t&&!z(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),c=t!==i.Fragment?{...l,...s,ref:r}:{},{children:u}=n,d=(0,i.useMemo)(()=>(0,H.S)(u)?u.get():u,[u]);return(0,i.createElement)(t,{...c,children:d})}}(C),createVisualElement:t,Component:n})}}},9283:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(40433),i=n(40574);let a={tokenize:function(e,t,n){return function(t){return(0,i.On)(t)?(0,r.N)(e,a,"linePrefix")(t):a(t)};function a(e){return null===e||(0,i.HP)(e)?t(e):n(e)}},partial:!0}},9483:(e,t,n)=>{"use strict";n.d(t,{$7:()=>k,Ay:()=>a,B:()=>u,Dc:()=>S,Fx:()=>o,Gg:()=>C,Hb:()=>y,II:()=>T,M$:()=>c,MI:()=>v,Sw:()=>j,US:()=>g,WI:()=>h,Xu:()=>A,_z:()=>w,c1:()=>L,c_:()=>l,er:()=>d,fw:()=>x,lB:()=>m,mo:()=>_,uC:()=>b,uK:()=>f,ud:()=>E,vF:()=>p,yQ:()=>s});var r=n(58775),i=n(93627);function a({className:e=""}){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 11 11",fill:"none",className:e,children:[(0,r.jsx)("title",{children:"Arrow"}),(0,r.jsx)("path",{d:"M6.36482 0.293945L10.9998 4.92895V5.40895L6.33482 10.0889L5.46482 8.70895L8.10482 6.02395H0.694824V4.32895H8.11982L5.47982 1.64395L6.36482 0.293945Z",fill:"currentColor"})]})}function o(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 16 16",fill:"none",children:(0,r.jsx)("path",{d:"M10.7817 7.33131H2.66732V8.66465H10.7817L7.20572 12.2406L8.14852 13.1834L13.334 7.99798L8.14852 2.8125L7.20572 3.75531L10.7817 7.33131Z",fill:"currentColor"})})}function s(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 8 6",fill:"none",children:[(0,r.jsx)("title",{children:"Chevron"}),(0,r.jsx)("path",{d:"M3.99997 3.66681L7.11111 0.555664L8 1.44456L3.99997 5.44457L-3.88548e-08 1.44456L0.888883 0.555664L3.99997 3.66681Z",fill:"currentColor"})]})}function l(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 16 16",fill:"none",children:(0,r.jsx)("g",{children:(0,r.jsx)("path",{d:"M8.7813 8.00047L5.48145 4.70062L6.42426 3.75781L10.6669 8.00047L6.42426 12.2431L5.48145 11.3003L8.7813 8.00047Z",fill:"currentColor"})})})}function c(){return(0,r.jsxs)("svg",{width:"29",height:"22",viewBox:"0 0 29 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M17.3656 5.36931L24.3952 16.0795C25.9229 18.407 24.2532 21.5 21.4692 21.5H7.41001C4.62594 21.5 2.95631 18.407 4.48396 16.0795L11.5135 5.36931C12.8958 3.2633 15.9834 3.2633 17.3656 5.36931Z",fill:"white",stroke:"#D7E1E1"}),(0,r.jsx)("rect",{x:"3",y:"16",width:"23",height:"6",fill:"white"})]})}function u(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 11 11",fill:"none",children:(0,r.jsx)("path",{d:"M1.5 1.16992C1.5 0.893779 1.27614 0.669922 1 0.669922C0.723858 0.669922 0.5 0.893779 0.5 1.16992H1.5ZM11 7.99023L6 5.10348V10.877L11 7.99
1023ZM0.5 1.16992V4.99023H1.5V1.16992H0.5ZM4 8.49023H6.5V7.49023H4V8.49023ZM0.5 4.99023C0.5 6.92323 2.067 8.49023 4 8.49023V7.49023C2.61929 7.49023 1.5 6.37095 1.5 4.99023H0.5Z",fill:"currentColor"})})}function d(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 17 12",fill:"none",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_6342_25553)",children:(0,r.jsx)("path",{d:"M11.0053 -7.62939e-05L9.73359 1.2716L12.3321 3.87008C12.7832 4.32118 12.4638 5.09235 11.8258 5.09235H0.216797V6.89103H11.8409C12.4789 6.89103 12.7982 7.66219 12.3471 8.1133L9.73216 10.7282L11.0038 11.9999L17.0049 5.99885L11.0053 -7.62939e-05Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_6342_25553",children:(0,r.jsx)("rect",{width:"16.7874",height:"12",fill:"white",transform:"translate(0.212891)"})})})]})}function p(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 17 12",fill:"none",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_6342_46121)",children:(0,r.jsx)("path",{d:"M5.99473 12.0001L7.26641 10.7284L4.66792 8.12992C4.21682 7.67881 4.53617 6.90765 5.17416 6.90765L16.7832 6.90765L16.7832 5.10897L5.15912 5.10897C4.52113 5.10897 4.20178 4.3378 4.65289 3.8867L7.26784 1.27175L5.99616 7.53509e-05L-0.0049109 6.00115L5.99473 12.0001Z",fill:"black"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_6342_46121",children:(0,r.jsx)("rect",{width:"16.7874",height:"12",fill:"white",transform:"translate(16.7871 12) rotate(-180)"})})})]})}function h(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 15 16",fill:"none",children:(0,r.jsx)("path",{d:"M14.476 14.3598L10.9555 10.8399C11.9759 9.61487 12.4847 8.04358 12.3761 6.45293C12.2675 4.86228 11.5498 3.37474 10.3724 2.29974C9.19496 1.22474 7.64842 0.645064 6.05448 0.681289C4.46054 0.717513 2.94192 1.36685 1.81454 2.49423C0.687167 3.62161 0.0378259 5.14022 0.00160103 6.73416C-0.0346239 8.3281 0.545056 9.87465 1.62005 11.0521C2.69505 12.2295 4.1826 12.9472 5.77325 13.0558C7.36389 13.1644 8.93518 12.6555 10.1602 11.6352L13.6801 15.1557C13.7323 15.208 13.7944 15.2494 13.8627 15.2777C13.9309 15.306 14.0041 15.3205 14.078 15.3205C14.152 15.3205 14.2251 15.306 14.2934 15.2777C14.3617 15.2494 14.4237 15.208 14.476 15.1557C14.5283 15.1034 14.5697 15.0414 14.598 14.9731C14.6263 14.9048 14.6409 14.8316 14.6409 14.7577C14.6409 14.6838 14.6263 14.6106 14.598 14.5423C14.5697 14.4741 14.5283 14.412 14.476 14.3598ZM1.14054 6.88273C1.14054 5.88146 1.43745 4.90268 1.99373 4.07015C2.55 3.23763 3.34066 2.58876 4.26571 2.20559C5.19076 1.82242 6.20866 1.72217 7.19069
11.9175C8.17271 2.11284 9.07477 2.595 9.78277 3.303C10.4908 4.011 10.9729 4.91306 11.1683 5.89508C11.3636 6.87711 11.2634 7.89501 10.8802 8.82006C10.497 9.74511 9.84814 10.5358 9.01562 11.092C8.18309 11.6483 7.20431 11.9452 6.20304 11.9452C4.86084 11.9437 3.57404 11.4099 2.62496 10.4608C1.67588 9.51173 1.14203 8.22493 1.14054 6.88273Z",fill:"currentColor"})})}function f({backgroundClasses:e}){return(0,r.jsx)("div",{className:e,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"6",height:"7",viewBox:"0 0 6 7",fill:"none",children:(0,r.jsx)("path",{d:"M-1.5299e-07 3.5L5.25 0.468911L5.25 6.53109L-1.5299e-07 3.5Z",fill:"currentColor"})})})}function m(){return(0,r.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 654 556",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M650.995 475.713L648.109 470.713L653.882 470.713L650.995 475.713ZM2.50049 317.831L2.50004 12.9994L3.50004 12.9994L3.50049 317.831L2.50049 317.831ZM15 0.499346L638.995 0.499368L638.995 1.49937L15 1.49935L15 0.499346ZM651.495 12.9994L651.495 471.213L650.495 471.213L650.495 12.9994L651.495 12.9994ZM638.995 0.499368C645.899 0.499368 651.495 6.09581 651.495 12.9994L650.495 12.9994C650.495 6.64809 645.347 1.49937 638.995 1.49937L638.995 0.499368ZM2.50004 12.9994C2.50003 6.09583 8.09648 0.499346 15 0.499346L15 1.49935C8.64877 1.49935 3.50003 6.64811 3.50004 12.9994L2.50004 12.9994Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M3 333.643L0.113263 338.643L5.88677 338.643L3 333.643ZM640 555L640 555.5L640 555ZM2.50001 338.143L2.50045 492.501L3.50045 492.501L3.50001 338.143L2.50001 338.143ZM652.5 543L652.5 491.772L651.5 491.772L651.5 543L652.5 543ZM122.681 555.5L640 555.5L640 554.5L122.681 554.5L122.681 555.5ZM15.0005 505L82.6805 505L82.6805 504L15.0004 504L15.0005 505ZM98.1805 520.5L98.1805 531L99.1805 531L99.1805 520.5L98.1805 520.5ZM82.6805 505C91.2409 505 98.1805 511.94 98.1805 520.5L99.1805 520.5C99.1805 511.388 91.7932 504 82.6805 504L82.6805 505ZM122.681 554.5C109.702 554.5 99.1805 543.979 99.1805 531L98.1805 531C98.1805 544.531 109.15 555.5 122.681 555.5L122.681 554.5ZM651.5 543C651.5 549.352 646.351 554.5 640 554.5L640 555.5C646.903 555.5 652.5 549.904 652.5 543L651.5 543ZM2.50045 492.501C2.50047 499.404 8.0969 505 15.0005 505L15.0004 504C8.64919 504 3.50047 498.852 3.50045 492.501L2.50045 492.501Z",fill:"currentColor"})]})}function g(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{d:"M9.99959 8.82208L14.1244 4.69727L15.3029 5.87577L11.1781 10.0006L15.3029 14.1253L14.1244 15.3038L9.99959 11.1791L5.87481 15.3038L4.69629 14.1253L8.82109 10.0006L4.69629 5.87577L5.87481 4.69727L9.99959 8.82208Z",fill:"currentColor"})})}function y(){return(0,r.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 211 366",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_4487_4992",fill:"white",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 3.95555C0 1.84647 1.70974 0.136719 3.81883 0.136719H180.329C182.438 0.136719 184.148 1.84647 184.148 3.95555V165.044C184.148 167.154 185.858 168.863 187.967 168.863H207.031C209.14 168.863 210.85 170.573 210.85 172.682V202.438C210.85 204.547 209.14 206.256 207.031 206.256H187.967C185.858 206.256 184.148 207.966 184.148 210.075V362.16C184.148 364.269 182.438 365.979 180.329 365.979H3.81883C1.7097
15 365.979 0 364.269 0 362.16V3.95555Z"})}),(0,r.jsx)("path",{d:"M180.329 -0.863281H3.81883V1.13672H180.329V-0.863281ZM185.148 165.044V3.95555H183.148V165.044H185.148ZM187.967 169.863H207.031V167.863H187.967V169.863ZM209.85 172.682V202.438H211.85V172.682H209.85ZM207.031 205.256H187.967V207.256H207.031V205.256ZM185.148 362.16V210.075H183.148V362.16H185.148ZM3.81883 366.979H180.329V364.979H3.81883V366.979ZM-1 3.95555V362.16H1V3.95555H-1ZM3.81883 364.979C2.26203 364.979 1 363.717 1 362.16H-1C-1 364.821 1.15747 366.979 3.81883 366.979V364.979ZM183.148 362.16C183.148 363.717 181.886 364.979 180.329 364.979V366.979C182.99 366.979 185.148 364.821 185.148 362.16H183.148ZM187.967 205.256C185.305 205.256 183.148 207.414 183.148 210.075H185.148C185.148 208.518 186.41 207.256 187.967 207.256V205.256ZM209.85 202.438C209.85 203.994 208.588 205.256 207.031 205.256V207.256C209.692 207.256 211.85 205.099 211.85 202.438H209.85ZM207.031 169.863C208.588 169.863 209.85 171.125 209.85 172.682H211.85C211.85 170.021 209.692 167.863 207.031 167.863V169.863ZM183.148 165.044C183.148 167.706 185.305 169.863 187.967 169.863V167.863C186.41 167.863 185.148 166.601 185.148 165.044H183.148ZM3.81883 -0.863281C1.15746 -0.863281 -1 1.29419 -1 3.95555H1C1 2.39875 2.26203 1.13672 3.81883 1.13672V-0.863281ZM180.329 1.13672C181.886 1.13672 183.148 2.39875 183.148 3.95555H185.148C185.148 1.29418 182.99 -0.863281 180.329 -0.863281V1.13672Z",fill:"currentColor",mask:"url(#path-1-inside-1_4487_4992)"})]})}function v(){return(0,r.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 221 224",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("mask",{id:"path-1-inside-1_4487_4988",fill:"white",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M162.776 0C194.412 0 220.058 25.6462 220.058 57.2825V166.345C220.058 197.981 194.412 223.627 162.776 223.627H93.1928C61.5565 223.627 35.9103 197.981 35.9103 166.345V132.243H0V94.8496H35.9103V57.2825C35.9103 25.6462 61.5565 0 93.1927 0H162.776Z"})}),(0,r.jsx)("path",{d:"M35.9103 132.243H36.9103V131.243H35.9103V132.243ZM0 132.243H-1V133.243H0V132.243ZM0 94.8496V93.8496H-1V94.8496H0ZM35.9103 94.8496V95.8496H36.9103V94.8496H35.9103ZM221.058 57.2825C221.058 25.0939 194.964 -1 162.776 -1V1C193.86 1 219.058 26.1985 219.058 57.2825H221.058ZM221.058 166.345V57.2825H219.058V166.345H221.058ZM162.776 224.627C194.964 224.627 221.058 198.533 221.058 166.345H219.058C219.058 197.429 193.86 222.627 162.776 222.627V224.627ZM93.1928 224.627H162.776V222.627H93.1928V224.627ZM34.9103 166.345C34.9103 198.533 61.0043 224.627 93.1928 224.627V222.627C62.1088 222.627 36.9103 197.429 36.9103 166.345H34.9103ZM34.9103 132.243V166.345H36.9103V132.243H34.9103ZM0 133.243H35.9103V131.243H0V133.243ZM-1 94.8496V132.243H1V94.8496H-1ZM35.9103 93.8496H0V95.8496H35.9103V93.8496ZM34.9103 57.2825V94.8496H36.9103V57.2825H34.9103ZM93.1927 -1C61.0042 -1 34.9103 25.0939 34.9103 57.2825H36.9103C36.9103 26.1985 62.1088 1 93.1927 1V-1ZM162.776 -1H93.1927V1H162.776V-1Z",fill:"currentColor",mask:"url(#path-1-inside-1_4487_4988)"})]})}function b(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{d:"M19.996 1.75705L18.239 3.05176e-05L11.39 6.84906C10.6173 7.62172 9.36483 7.62172 8.59218 6.84906L1.76689 0.0247634L0.00986765 1.78179L6.83416 8.60608C7.60682 9.37874 7.60682 10.6312 6.83416 11.4039L0.00195312 18.2371L1.75898 19.9941L8.59119 13.1619C9.36384 12.3892 10.6163 12.3892 11.389 13.1619L18.2271 20L19.9841 18.243L13.146 11.4049C12.3733 10.6322 12.3733 9.37973 13.146 8.60707L19.996 1.75705Z",fill:"currentColor"})})}function x(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 14 14",fill:"none",children:(0,r.jsx)("path",{d:"M11.8129 2.62455V11.3749C11.8129 11.607 11.7207 11.8295 11.5566 11.9936C11.3925 12.1577 11.1699 12.2499 10.9378 12.2499H8.75026C8.51819 12.2499 8.29562 12.1577 8.13152 11.9936C7.96742 11.8295 7.87523 11.607 7.87523 11.3749V2.62455C7.87523 2.39247 7.96742 2.1699 8.13152 2.0058C8.29562 1.8417 8.51819 1.74951 8.75026 1.74951H10.9378C11.1699 1.74951 11.3925 1.8417 11.5566 2.0058C11.7207 2.1699 11.8129 2.39247 11.8129 2.62455ZM5.25012 1.74951H3.06253C2.83046 1.74951 2.60789 1.8417 2.44379 2.0058C2.27969 2.1699 2.1875 2.39247 2.1875 2.62455V11.3749C2.1875 11.607 2.27969 11.8295 2.44379 11.9936C2.60789 12.1577 2.83046 12.2499 3.06253 12.2499H5.25012C5.4822 12.2499 5.70476 12.1577 5.86887 11.9936C6.03297 11.8295 6.12516 11.607 6.12516 11.3749V2.62455C6.12516 2.39247 6.03297 2.1699 5.86887 2.0058C5.70476 1.8417 5.4822 1.74951 5.25012 1.74951Z",fill:"currentColor"})})}function w(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 15 14",fill:"none",children:[(0,r.jsx)("title",{children:"Linkedin icon"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.32537 14V4.55374H0.185605V14H3.32537ZM1.75547 3.26401C2.85037 3.26401 3.53185 2.53864 3.53185 1.63214C3.51145 0.705241 2.85037 4.89563e-07 1.77624 4.89563e-07C0.702224 4.89563e-07 0 0.705241 0 1.63214C0 2.53864 0.681338 3.26401 1.73501 3.26401H1.75547Z",fill:"currentColor"}),(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.06323 14H8.20296V8.72481C8.20296 8.44249 8.22337 8.16045 8.30628 7.95863C8.53325 7.39455 9.04987 6.81034 9.91724 6.81034C11.0534 6.81034 11.5078 7.67659 11.5078 8.94647V14H14.6473V8.58365C14.6473 5.68218 13.0983 4.33208 11.0326 4.33208C9.33882 4.33208 8.59522 5.27883 8.18208 5.92369H8.20305V4.55374H5.06332C5.10452 5.44011 5.06323 14 5.06323 14Z",fill:"currentColor"})]})}function j(){return(0,r.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_4240_4255)",children:(0,r.jsx)("path",{d:"M0 0V100H100C44.8 100 0 55.2 0 0Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_4240_4255",children:(0,r.jsx)("rect",{width:"100",height:"100",fill:"currentColor"})})})]})}function C({className:e=""}){let{t}=(0,i.Bd)();return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"13",viewBox:"0 0 12 13",fill:"none",className:e,"aria-label":t("Stars"),children:[(0,r.jsx)("g",{clipPath:"url(#clip0_6830_16690)",children:(0,r.jsx)("path",{d:"M11.5726 4.76983L8.03207 4.25533L6.45057 1.04933C6.40459 0.971261 6.33903 0.906545 6.26037 0.861582C6.18171 0.816619 6.09267 0.792969
16.00207 0.792969C5.91147 0.792969 5.82243 0.816619 5.74377 0.861582C5.66511 0.906545 5.59955 0.971261 5.55357 1.04933L3.96907 4.25533L0.428569 4.76983C0.33624 4.78316 0.249479 4.82205 0.178097 4.88211C0.106715 4.94217 0.0535587 5.021 0.0246369 5.10969C-0.00428491 5.19838 -0.00781831 5.29339 0.0144362 5.38398C0.0366907 5.47458 0.0838455 5.55714 0.150569 5.62233L2.71307 8.11933L2.10857 11.6458C2.09281 11.7378 2.1031 11.8323 2.13826 11.9187C2.17342 12.0051 2.23205 12.08 2.30753 12.1348C2.38301 12.1896 2.47233 12.2223 2.56537 12.229C2.65842 12.2357 2.7515 12.2162 2.83407 12.1728L6.00057 10.5083L9.16707 12.1728C9.24964 12.2162 9.34272 12.2357 9.43576 12.229C9.52881 12.2223 9.61812 12.1896 9.6936 12.1348C9.76908 12.08 9.82772 12.0051 9.86288 11.9187C9.89804 11.8323 9.90832 11.7378 9.89257 11.6458L9.28807 8.11933L11.8506 5.62233C11.9173 5.5572 11.9644 5.47472 11.9867 5.3842C12.0091 5.29368 12.0056 5.19873 11.9768 5.11007C11.948 5.0214 11.895 4.94256 11.8237 4.88244C11.7525 4.82232 11.6658 4.78331 11.5736 4.76983H11.5726Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_6830_16690",children:(0,r.jsx)("rect",{width:"12",height:"12",fill:"white",transform:"translate(0 0.5)"})})})]})}function E({className:e=""}){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 24 24",fill:"none",className:e,children:(0,r.jsx)("path",{d:"M20.7775 11.5841L5.7775 1.58407C5.7022 1.53384 5.61467 1.50498 5.52426 1.50059C5.43384 1.4962 5.34393 1.51643 5.26412 1.55914C5.1843 1.60184 5.11758 1.66541 5.07106 1.74307C5.02455 1.82073 4.99999 1.90955 5 2.00007V22.0001C4.99999 22.0906 5.02455 22.1794 5.07106 22.2571C5.11758 22.3347 5.1843 22.3983 5.26412 22.441C5.34393 22.4837 5.43384 22.504 5.52426 22.4996C5.61467 22.4952 5.7022 22.4663 5.7775 22.4161L20.7775 12.4161C20.846 12.3704 20.9021 12.3086 20.941 12.236C20.9798 12.1634 21.0001 12.0824 21.0001 12.0001C21.0001 11.9178 20.9798 11.8367 20.941 11.7642C20.9021 11.6916 20.846 11.6297 20.7775 11.5841Z",fill:"currentColor"})})}function k(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_7129_11180)",children:[(0,r.jsx)("path",{d:"M9.86473 10.4742C10.3942 11.3682 10.9177 12.2507 11.4413 13.1333C9.12468 14.8581 5.52085 15.0668 2.85194 13.0797C-0.218496 10.7919 -0.722362 6.88848 0.921108 4.07815C2.81257 0.846641 6.34948 0.13257 8.62868 0.655201C8.56767 0.785381 7.20172 3.53829 7.20172 3.53829C7.20172 3.53829 7.09347 3.54594 7.03245 3.54594C6.35932 3.57275 5.85742 3.7259 5.3201 3.99583C4.12341 4.60269 3.3125 5.74942 3.15898 7.05504C3.08025 7.70593 3.17276 8.36832 3.42863 8.97518C3.64513 9.48824 3.95218 9.94387 4.36157 10.3306C4.9914 10.9221 5.7413 11.2878 6.60928 11.4084C7.432 11.5232 8.22323 11.4103 8.96525 11.0466C9.24277 10.9106 9.47896 10.7613 9.75648 10.5546C9.79191 10.5335 9.8234 10.5067 9.86473 10.4742Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M9.87032 2.63549C9.73648 2.50722 9.61052 2.38853 9.48652 2.26792C9.41173 2.19709 9.34087 2.12243 9.26608 2.05351C9.23852 2.02862 9.20703 1.99416 9.20703 1.99416C9.20703 1.99416 9.23262 1.94056 9.24443 1.9195C9.39008 1.63617 9.61642 1.42941 9.88607 1.26478C10.1833 1.08099 10.5316 0.987188 10.884 0.99676C11.3347 1.00633 11.7539 1.11545 12.1082 1.40836C12.37 1.62468 12.5038 1.90227 12.5274 2.22963C12.5668 2.78481 12.3306 3.20981 11.8622 3.50654C11.5866 3.68075 11.2894 3.81667 10.9922 3.97556C10.8289 4.06363 10.6871 4.14212 10.5257 4.30101C10.384 4.46182 10.3781 4.61306 10.3781 4.61306L12.5137 4.61115V5.5358H9.21687C9.21687 5.5358 9.21687 5.47262 9.21687 5.44582C9.20506 4.99211 9.25821 4.56329 9.47274 4.15169C9.66956 3.77264 9.97464 3.49505 10.3427 3.28255C10.6261 3.11791 10.9233 2.97816 11.2068 2.81544C11.3819 2.71398 11.5059 2.56657 11.504 2.35215C11.504 2.16837 11.3662 2.00373 11.1694 1.95396C10.7049 1.83144 10.2325 2.02671 9.98645 2.44022C9.95299 2.49765 9.91559 2.55891 9.87032 2.63549Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M14.0003 9.48967L12.2014 6.46875H8.64085L6.83008 9.52222H10.4162L12.1856 12.5297L14.0003 9.48967Z",fill:"currentColor"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_7129_11180",children:(0,r.jsx)("rect",{width:"14",height:"14",fill:"
1currentColor",transform:"translate(0 0.5)"})})})]})}function S(){return(0,r.jsx)("svg",{width:"100%",height:"100%",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M18.172 18.26C16.553 19.126 14.934 19.628 12.784 19.573C8.848 19.461 6 17.002 6 12.844C6 8.684 8.876 6.05999 12.812 6.00399C14.794 5.94799 16.582 6.47899 17.977 7.70699L16.302 9.40999C15.436 8.65599 14.18 8.23699 12.645 8.29299C10.188 8.40499 8.68 10.22 8.652 12.704C8.624 15.384 10.272 17.227 12.84 17.311C14.04 17.339 14.906 17.171 15.66 16.836V14.1H12.98L13.147 11.839H18.173V18.26H18.172Z",fill:"currentColor"})})}function A({className:e=""}){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 26 15",fill:"none",className:e,children:(0,r.jsx)("path",{d:"M0.970149 15C0.323383 15 0 14.6753 0 14.026V5.30844C0 3.62013 0.468906 2.32143 1.40672 1.41234C2.37687 0.47078 3.75124 0 5.52985 0H10.9142C11.5609 0 11.8843 0.324676 11.8843 0.974028V3.99351C11.8843 4.64286 11.5609 4.96753 10.9142 4.96753H6.79105C6.59702 4.96753 6.43532 5.03247 6.30597 5.16234C6.17662 5.25974 6.11194 5.40584 6.11194 5.60065V5.84416C6.11194 6.07143 6.17662 6.25 6.30597 6.37987C6.43532 6.47727 6.59702 6.52597 6.79105 6.52597H10.9142C11.5609 6.52597 11.8843 6.85065 11.8843 7.5V14.026C11.8843 14.6753 11.5609 15 10.9142 15H0.970149ZM25.0299 0C25.6766 0 26 0.324676 26 0.974028V3.99351C26 4.64286 25.6766 4.96753 25.0299 4.96753H19.9851C19.4677 4.96753 19.209 5.17857 19.209 5.60065V5.84416C19.209 6.2987 19.4677 6.52597 19.9851 6.52597H25.0299C25.6766 6.52597 26 6.85065 26 7.5V14.026C26 14.6753 25.6766 15 25.0299 15H14.0672C13.4204 15 13.097 14.6753 13.097 14.026V5.30844C13.097 3.62013 13.5659 2.32143 14.5037 1.41234C15.4739 0.47078 16.8483 0 18.6269 0H25.0299Z",fill:"currentColor"})})}function T({className:e=""}){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",className:e,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_6986_64436)",children:(0,r.jsx)("path",{d:"M7.71626 13.7237C7.71626 13.369 8.00453 13.081 8.35967 13.081H9.64725C10.0024 13.081 10.2907 13.369 10.2907 13.7237V18.875H18V7.97273L9.00384 0.875L0 7.97273V18.8758H7.71626V13.7245V13.7237ZM5.78527 12.304V15.7945C5.78527 16.4303 5.2687 16.9462 4.63222 16.9462H3.16092C2.48138 16.9462 1.93099 16.3965 1.93099 15.7177V9.33484C1.93099 9.04691 2.05936 8.77433 2.28152 8.59159L8.38888 3.88409C8.74556 3.58924 9.26213 3.58924 9.61881 3.88409L15.7185 8.59159C15.9406 8.7751 16.069 9.04768 16.069 9.33484V15.7945C16.069 16.4303 15.5524 16.9462 14.916 16.9462H13.3747C12.7382 16.9462 12.2216 16.4303 12.2216 15.7945V12.304C12.2216 11.6682 11.7051 11.1523 11.0686 11.1523H6.93756C6.30108 11.1523 5.78451 11.6682 5.78451 12.304H5.78527Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_6986_64436",children:(0,r.jsx)("rect",{width:"18",height:"18",fill:"white",transform:"translate(0 0.875)"})})})]})}function _({className:e=""}){return(0,r.jsx)("svg",{width:"18",height:"19",viewBox:"0 0 18 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,r.jsx)("path",{d:"M9 2.1875C7.55373 2.1875 6.13993 2.61637 4.9374 3.41988C3.73486 4.22339 2.7976 5.36544 2.24413 6.70163C1.69067 8.03781 1.54586 9.50811 1.82801 10.9266C2.11017 12.3451 2.80661 13.648 3.82928 14.6707C4.85196 15.6934 6.15492 16.3898 7.57341 16.672C8.99189 16.9541 10.4622 16.8093 11.7984 16.2559C13.1346 15.7024 14.2766 14.7651 15.0801 13.5626C15.8836 12.3601 16.3125 10.9463 16.3125 9.5C16.3105 7.56123 15.5394 5.70246 14.1685 4.33154C12.7975 2.96063 10.9388 2.18955 9 2.1875ZM9 15.6875C7.77623 15.6875 6.57994 15.3246 5.56241 14.6447C4.54488 13.9648 3.75182 12.9985 3.2835 11.8679C2.81518 10.7372 2.69265 9.49314 2.93139 8.29288C3.17014 7.09262 3.75944 5.99011 4.62478 5.12478C5.49012 4.25944 6.59262 3.67014 7.79288 3.43139C8.99314 3.19264 10.2372 3.31518 11.3679 3.7835C12.4985 4.25181 13.4648 5.04488 14.1447 6.06241C14.8246 7.07994 15.1875 8.27623 15.1875 9.5C15.1856 11.1405 14.5331 12.7132 13.3732 13.8732C12.2132 15.0331 10.6405 15.6856 9 15.6875ZM10.125 12.875C10.125 13.0242 10.0657 13.1673 9.96025 13.2727C9.85476 13.3782 9.71169 13.4375 9.5625 13.4375C9.26413 13.4375 8.97799 13.319 8.76701 13.108C8.55603 12.897 8.4375 12.6109 8.4375 12.3125V9.5C8.28832 9.5 8.14525 9.44074 8.03976 9.33525C7.93427 9.22976 7.875 9.08668 7.875 8.9375C7.875 8.78832 7.93427 8.64524 8.03976 8.53975C8.14525 8.43426 8.28832 8.375 8.4375 8.375C8.73587 8.375 9.02202 8.49353 9.233 8.7045C9.44398 8.91548 9.5625 9.20163 9.5625 9.5V12.3125C9.71169 12.3125 9.85476 12.3718 9.96025 12.4773C10.0657 12.5827 10.125 12.7258 10.125 12.875ZM7.875 6.40625C7.875 6.23937 7.92449 6.07624 8.0172 5.93749C8.10991 5.79873 8.24169 5.69059 8.39586 5.62673C8.55004 5.56287 8.71969 5.54616 8.88336 5.57871C9.04703 5.61127 9.19737 5.69163 9.31537 5.80963C9.43337 5.92763 9.51373 6.07797 9.54629 6.24164C9.57885 6.40531 9.56214 6.57496 9.49828 6.72914C9.43441 6.88331 9.32627 7.01509 9.18752 7.1078C9.04876 7.20052 8.88563 7.25 8.71875 7.25C8.49498 7.25 8.28037 7.16111 8.12213 7.00287C7.9639 6.84464 7.875 6.63003 7.875 6.40625Z",fill:"currentColor",fillOpacity:"0.65"})})}function L({className:e=""}){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_450_1770)",children:[(0,r.jsx)("path",{d:"M9.99994 3.125L9.99994 16.875",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"square",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M16.8749 10L3.12494 10",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"square",strokeLinejoin:"round"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_450_1770",children:(0,r.jsx)("rect",{width:"20",height:"20",fill:"white"})})})]})}}
1,9638:(e,t,n)=>{"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{B:()=>r})},9827:function(e){var t;t=()=>(()=>{"use strict";var e,t,n,r,i,a,o,s,l,c,u,d,p,h,f,m,g,y,v,b,x,w,j,C,E,k,S,A,T,_,L,N,P,I,M,O,R,D,B,F,H,V,$,U,z,W,G,q,K,Y,X,Z,J,Q,ee,et,en,er,ei,ea,eo,es,el,ec,eu=[,(e,t,n)=>{var r;n.r(t),n.d(t,{default:()=>i});let i=(r="undefined"!=typeof document?document.currentScript?.src:void 0,function(e={}){var t,n,i,a=new Promise((e,t)=>{n=e,i=t}),o="object"==typeof window,s="function"==typeof importScripts;function l(){function e(e){let a=r;n=t=0,r=new Map,a.forEach(t=>{try{t(e)}catch(e){console.error(e)}}),this.mb(),i&&i.Mb()}let t=0,n=0,r=new Map,i=null,a=null;this.requestAnimationFrame=function(i){t||=requestAnimationFrame(e.bind(this));let a=++n;return r.set(a,i),a},this.cancelAnimationFrame=function(e){r.delete(e),t&&0==r.size&&(cancelAnimationFrame(t),t=0)},this.Kb=function(e){a&&(document.body.remove(a),a=null),e||((a=document.createElement("div")).style.backgroundColor="black",a.style.position="fixed",a.style.right=0,a.style.top=0,a.style.color="white",a.style.padding="4px",a.innerHTML="RIVE FPS",e=function(e){a.innerHTML="RIVE FPS "+e.toFixed(1)},document.body.appendChild(a)),i=new function(){let t=0,n=0;this.Mb=function(){var r=performance.now();n?(++t,1e3<(r-=n)&&(e(1e3*t/r),t=n=0)):(n=r,t=0)}}},this.mb=function(){}}function c(){console.assert(!0);let e=new Map,t=-1/0;this.push=function(n){return n=n+255>>8,e.has(n)&&clearTimeout(e.get(n)),e.set(n,setTimeout(function(){e.delete(n),0==e.length?t=-1/0:n==t&&console.assert((t=Math.max(...e.keys()))<n)},1e3)),(t=Math.max(n,t))<<8}}let u=e.onRuntimeInitialized;e.onRuntimeInitialized=function(){u&&u();let t=e.decodeAudio;
1e.decodeAudio=function(e,n){n(e=t(e))};let n=e.decodeFont;e.decodeFont=function(e,t){t(e=n(e))};let r=e.FileAssetLoader;e.ptrToAsset=t=>{let n=e.ptrToFileAsset(t);return n.isImage?e.ptrToImageAsset(t):n.isFont?e.ptrToFontAsset(t):n.isAudio?e.ptrToAudioAsset(t):n},e.CustomFileAssetLoader=r.extend("CustomFileAssetLoader",{__construct:function({loadContents:e}){this.__parent.__construct.call(this),this.Bb=e},loadContents:function(t,n){return t=e.ptrToAsset(t),this.Bb(t,n)}}),e.CDNFileAssetLoader=r.extend("CDNFileAssetLoader",{__construct:function(){this.__parent.__construct.call(this)},loadContents:function(t){var n,r,i;let a=e.ptrToAsset(t);return""!==(t=a.cdnUuid)&&(n=a.cdnBaseUrl+"/"+t,r=e=>{a.decode(new Uint8Array(e.response))},(i=new XMLHttpRequest).responseType="arraybuffer",i.onreadystatechange=function(){4==i.readyState&&200==i.status&&r(i)},i.open("GET",n,!0),i.send(null),!0)}}),e.FallbackFileAssetLoader=r.extend("FallbackFileAssetLoader",{__construct:function(){this.__parent.__construct.call(this),this.ib=[]},addLoader:function(e){this.ib.push(e)},loadContents:function(e,t){for(let n of this.ib)if(n.loadContents(e,t))return!0;return!1}});let i=e.computeAlignment;e.computeAlignment=function(e,t,n,r,a=1){return i.call(this,e,t,n,r,a)}};let d=e.onRuntimeInitialized;e.onRuntimeInitialized=function(){function t(e){this.G=e,this.Ab=e.getContext("2d"),this.Db=i,this.S=[],this.ka=0,this.clear=function(){console.assert(0==this.ka),this.S=[],a.delete(this)},this.save=function(){++this.ka,this.S.push(i.save.bind(i))},this.restore=function(){0<this.ka&&(this.S.push(i.restore.bind(i)),--this.ka)},this.transform=function(e){this.S.push(i.transform.bind(i,e))},this.align=function(e,t,n,r,a=1){this.S.push(i.align.bind(i,e,t,n,r,a))},this.flush=function(){console.assert(0==this.ka),a.add(this),i.Ya||r()},this.delete=function(){}}function n(e,t=!1){var n={alpha:!0,depth:t,stencil:t,antialias:t,premultipliedAlpha:!0,preserveDrawingBuffer:0,powerPreference:"high-performance",failIfMajorPerformanceCaveat:0,enableExtensionsByDefault:!1,explicitSwapControl:0,renderViaOffscreenBackBuffer:0};if(!(t=e.getContext("webgl2",n)))return null;nw(n=nx(t,n));let r=o(e.width,e.height);r.La=n,r.G=e,r.Ma=e.width,r.Za=e.height,r.T=t;var i=r.delete;return r.delete=function(){i.call(this);var e=this.La;tB===nf[e]&&(tB=null),"object"==typeof JSEvents&&JSEvents.Kc(nf[e].C.canvas),nf[e]&&nf[e].C.canvas&&(nf[e].C.canvas.zb=void 0),this.La=this.G=this.Ma=this.T=nf[e]=null},r}function r(){if(i){var t=i.Cb,n=0,r=0,o=0,s=Array(a.size),l=0;for(var c of a)c.fa=Math.min(c.G.width,t),c.ea=Math.min(c.G.height,t),c.Ja=c.ea*c.fa,n=Math.max(n,c.fa),r=Math.max(r,c.ea),o+=c.Ja,s[l++]=c;if(a.clear(),!(0>=o)){for(n=1<<(0>=n?0:32-Math.clz32(n-1)),r=1<<(0>=r?0:32-Math.clz32(r-1));r*n<o;)n<=r?n*=2:r*=2;for(n=Math.min(n,t),n=Math.min(r,t),s.sort((e,t)=>t.Ja-e.Ja),o=new e.DynamicRectanizer(t),c=0;c<s.length;){for(o.reset(n,r),l=c;l<s.length;++l){var u=s[l],d=o.addRect(u.fa,u.ea);if(0>d){console.assert(l>c);break}u.qa=65535&d,u.ra=d>>16}for(u=p.push(o.drawWidth()),d=h.push(o.drawHeight()),console.assert(u>=o.drawWidth()),console.assert(d>=o.drawHeight()),console.assert(u<=t),console.assert(d<=t),i.G.width!=u&&(i.G.width=u),i.G.height!=d&&(i.G.height=d),i.clear(),u=c;u<l;++u){d=s[u],i.saveClipRect(d.qa,d.ra,d.qa+d.fa,d.ra+d.ea);let t=new e.Mat2D;for(let e of(t.xx=d.fa/d.G.width,t.yy=d.ea/d.G.height,t.xy=t.yx=0,t.tx=d.qa,t.ty=d.ra,i.transform(t),d.S))e();i.restoreClipRect(),d.S=[]}for(i.flush();c<l;++c)(d=(u=s[c]).Ab).globalCompositeOperation="copy",d.drawImage(i.G,u.qa,u.ra,u.fa,u.ea,0,0,u.G.width,u.G.height);c=l}}}}d&&d();let i=null,a=new Set,o=e.makeRenderer;e.makeRenderer=function(e,r){if(!i){function a(e){var t=document.createElement("canvas");return t.width=1,t.height=1,(i=n(t,e)).Ya=!!i.T.getExtension("WEBGL_shader_pixel_local_storage"),i.Cb=Math.min(i.T.getParameter(i.T.MAX_RENDERBUFFER_SIZE),i.T.getParameter(i.T.MAX_TEXTURE_SIZE)),i.Ka=!i.Ya,(e=i.T.getExtension("WEBGL_debug_renderer_info"))&&(t=i.T.getParameter(e.UNMASKED_RENDERER_WEBGL),i.T.getParameter(e.UNMASKED_VENDOR_WEBGL).includes("Google")&&t.includes("ANGLE Metal Ren
1derer")&&(i.Ka=!1)),i}(i=a(!0)).Ka||(i=a(!1))}return r?new t(e):n(e,i.Ka)};let s=e.Artboard.prototype.delete;e.Artboard.prototype.delete=function(){this.Eb=!0,s.call(this)};let u=e.Artboard.prototype.draw;e.Artboard.prototype.draw=function(e){e.S?e.S.push(()=>{this.Eb||u.call(this,e.Db)}):u.call(this,e)};let p=new c,h=new c,f=new l;e.requestAnimationFrame=f.requestAnimationFrame.bind(f),e.cancelAnimationFrame=f.cancelAnimationFrame.bind(f),e.enableFPSCounter=f.Kb.bind(f),f.mb=r,e.resolveAnimationFrame=r;let m=e.load;e.load=function(t,n,r=!0){let i=new e.FallbackFileAssetLoader;return void 0!==n&&i.addLoader(n),r&&(n=new e.CDNFileAssetLoader,i.addLoader(n)),Promise.resolve(m(t,i))};let g=e.WebGL2Renderer.prototype.clear;e.WebGL2Renderer.prototype.clear=function(){nw(this.La);let e=this.G;(this.Ma!=e.width||this.Za!=e.height)&&(this.resize(e.width,e.height),this.Ma=e.width,this.Za=e.height),g.call(this)},e.decodeImage=function(t,n){n(t=e.decodeWebGL2Image(t))};let y=e.Renderer.prototype.align;e.Renderer.prototype.align=function(e,t,n,r,i=1){y.call(this,e,t,n,r,i)}};var p,h,f=Object.assign({},e),m="./this.program",g="";(o||s)&&(s?g=self.location.href:"undefined"!=typeof document&&document.currentScript&&(g=document.currentScript.src),r&&(g=r),g=g.startsWith("blob:")?"":g.substr(0,g.replace(/[?#].*/,"").lastIndexOf("/")+1),s&&(h=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),p=(e,t,n)=>{if(H(e)){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=()=>{200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)}else fetch(e,{credentials:"same-origin"}).then(e=>e.ok?e.arrayBuffer():Promise.reject(Error(e.status+" : "+e.url))).then(t,n)});var y=e.print||console.log.bind(console),v=e.printErr||console.error.bind(console);Object.assign(e,f),f=null,e.thisProgram&&(m=e.thisProgram),e.wasmBinary&&(b=e.wasmBinary);var b,x,w,j,C,E,k,S,A,T,_=!1;function L(){var t=x.buffer;e.HEAP8=w=new Int8Array(t),e.HEAP16=C=new Int16Array(t),e.HEAPU8=j=new Uint8Array(t),e.HEAPU16=E=new Uint16Array(t),e.HEAP32=k=new Int32Array(t),e.HEAPU32=S=new Uint32Array(t),e.HEAPF32=A=new Float32Array(t),e.HEAPF64=T=new Float64Array(t)}var N=[],P=[],I=[],M=0,O=null,R=null;function D(t){throw e.onAbort?.(t),v(t="Aborted("+t+")"),_=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),i(t),t}var B,F=e=>e.startsWith("data:application/octet-stream;base64,"),H=e=>e.startsWith("file://");function V(e){if(e==B&&b)return new Uint8Array(b);if(h)return h(e);throw"both async and sync fetching of the wasm failed"}function $(e,t,n){return(b?Promise.resolve().then(()=>V(e)):new Promise((t,n)=>{p(e,e=>t(new Uint8Array(e)),()=>{try{t(V(e))}catch(e){n(e)}})})).then(e=>WebAssembly.instantiate(e,t)).then(n,e=>{v(`failed to asynchronously prepare wasm: ${e}`),D(e)})}var U,z,W={573105:(e,t,n,r,i)=>{if("undefined"==typeof window||void 0===(window.AudioContext||window.webkitAudioContext))return 0;if(void 0===window.h){window.h={Ea:0},window.h.I={},window.h.I.Ca=e,window.h.I.capture=t,window.h.I.Pa=n,window.h.ia={},window.h.ia.stopped=r,window.h.ia.ub=i;let a=window.h;a.D=[],a.lc=function(e){for(var t=0;t<a.D.length;++t)if(null==a.D[t])return a.D[t]=e,t;return a.D.push(e),a.D.length-1},a.yb=function(e){for(a.D[e]=null;0<a.D.length;)if(null==a.D[a.D.length-1])a.D.pop();else break},a.Mc=function(e){for(var t=0;t<a.D.length;++t)if(a.D[t]==e)return a.yb(t)},a.ta=function(e){return a.D[e]},a.Xa=["touchend","click"],a.unlock=function(){for(var e=0;e<a.D.length;++e){var t=a.D[e];null!=t&&null!=t.K&&t.state===a.ia.ub&&t.K.resume().then(()=>{nK(t.nb)},e=>{console.error("Failed to resume audiocontext",e)})}a.Xa.map(function(e){document.removeEventListener(e,a.unlock,!0)})},a.Xa.map(function(e){document.addEventListener(e,a.unlock,!0)})}return window.h.Ea+=1,1},575283:()=>{void 0!==window.h&&(window.h.Xa.map(function(e){document.removeEventListener(e,window.h.unlock,!0)}),--window.h.Ea,0===window.h.Ea&&delete window.h)},575587:()=>void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia,575691:()=>{try{var e=new(window.AudioContext||window.webkitAudioContext),t=e.sampleRate;return e.close(),t}catch(e){return 0}},575862:(e,t,n,r,i,a)=>
1{if(void 0===window.h)return -1;var o={},s={};return e==window.h.I.Ca&&0!=n&&(s.sampleRate=n),o.K=new(window.AudioContext||window.webkitAudioContext)(s),o.K.suspend(),o.state=window.h.ia.stopped,n=0,e!=window.h.I.Ca&&(n=t),o.Y=o.K.createScriptProcessor(r,n,t),o.Y.onaudioprocess=function(n){if((null==o.ua||0==o.ua.length)&&(o.ua=new Float32Array(A.buffer,i,r*t)),e==window.h.I.capture||e==window.h.I.Pa){for(var s=0;s<t;s+=1)for(var l=n.inputBuffer.getChannelData(s),c=o.ua,u=0;u<r;u+=1)c[u*t+s]=l[u];nY(a,r,i)}if(e==window.h.I.Ca||e==window.h.I.Pa)for(nX(a,r,i),s=0;s<n.outputBuffer.numberOfChannels;++s)for(l=n.outputBuffer.getChannelData(s),c=o.ua,u=0;u<r;u+=1)l[u]=c[u*t+s];else for(s=0;s<n.outputBuffer.numberOfChannels;++s)n.outputBuffer.getChannelData(s).fill(0)},e!=window.h.I.capture&&e!=window.h.I.Pa||navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(function(e){o.Fa=o.K.createMediaStreamSource(e),o.Fa.connect(o.Y),o.Y.connect(o.K.destination)}).catch(function(e){console.log("Failed to get user media: "+e)}),e==window.h.I.Ca&&o.Y.connect(o.K.destination),o.nb=a,window.h.lc(o)},578739:e=>window.h.ta(e).K.sampleRate,578812:e=>{void 0!==(e=window.h.ta(e)).Y&&(e.Y.onaudioprocess=function(){},e.Y.disconnect(),e.Y=void 0),void 0!==e.Fa&&(e.Fa.disconnect(),e.Fa=void 0),e.K.close(),e.K=void 0,e.nb=void 0},579212:e=>{window.h.yb(e)},579262:e=>{(e=window.h.ta(e)).K.resume(),e.state=window.h.ia.ub},579401:e=>{(e=window.h.ta(e)).K.suspend(),e.state=window.h.ia.stopped}},G=t=>{for(;0<t.length;)t.shift()(e)};function q(){var e=k[+eZ>>2];return eZ+=4,e}var K=(e,t)=>{for(var n=0,r=e.length-1;0<=r;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n;n--)e.unshift("..");return e},Y=e=>{var t="/"===e.charAt(0),n="/"===e.substr(-1);return(e=K(e.split("/").filter(e=>!!e),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e},X=e=>{var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1);return(e=t[0],t=t[1],e||t)?e+(t&&=t.substr(0,t.length-1)):"."},Z=e=>{if("/"===e)return"/";var t=(e=(e=Y(e)).replace(/\/$/,"")).lastIndexOf("/");return -1===t?e:e.substr(t+1)},J=()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);D("initRandomDevice")},Q=e=>(Q=J())(e),ee=(...e)=>{for(var t="",n=!1,r=e.length-1;-1<=r&&!n;r--){if("string"!=typeof(n=0<=r?e[r]:"/"))throw TypeError("Arguments to path.resolve must be strings");if(!n)return"";t=n+"/"+t,n="/"===n.charAt(0)}return t=K(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."},et="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,en=(e,t,n)=>{var r=t+n;for(n=t;e[n]&&!(n>=r);)++n;if(16<n-t&&e.buffer&&et)return et.decode(e.subarray(t,n));for(r="";t<n;){var i=e[t++];if(128&i){var a=63&e[t++];if(192==(224&i))r+=String.fromCharCode((31&i)<<6|a);else{var o=63&e[t++];65536>(i=224==(240&i)?(15&i)<<12|a<<6|o:(7&i)<<18|a<<12|o<<6|63&e[t++])?r+=String.fromCharCode(i):(i-=65536,r+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else r+=String.fromCharCode(i)}return r},er=[],ei=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);127>=r?t++:2047>=r?t+=2:55296<=r&&57343>=r?(t+=4,++n):t+=3}return t},ea=(e,t,n,r)=>{if(!(0<r))return 0;var i=n;r=n+r-1;for(var a=0;a<e.length;++a){var o=e.charCodeAt(a);if(55296<=o&&57343>=o&&(o=65536+((1023&o)<<10)|1023&e.charCodeAt(++a)),127>=o){if(n>=r)break;t[n++]=o}else{if(2047>=o){if(n+1>=r)break;t[n++]=192|o>>6}else{if(65535>=o){if(n+2>=r)break;t[n++]=224|o>>12}else{if(n+3>=r)break;t[n++]=240|o>>18,t[n++]=128|o>>12&63}t[n++]=128|o>>6&63}t[n++]=128|63&o}}return t[n]=0,n-i};function eo(e,t){var n=Array(ei(e)+1);return e=ea(e,n,0,n.length),t&&(n.length=e),n}var es=[];function el(e,t){es[e]={input:[],H:[],V:t},ef[e]={m:ec}}var ec={open(e){var t=es[e.node.Da];if(!t)throw new eb(43);e.s=t,e.seekable=!1},close(e){e.s.V.sa(e.s)},sa(e){e.s.V.sa(e.s)},read(e,t,n,r){if(!e.s||!e.s.V.hb)throw new eb(60);for(var i=0,a=0;a<r;a++){try{var o=e.s.V.hb(e.s)}catch(e){throw new eb(29)}if(void 0===o&&0===i)throw new eb(6);if(null==o)break;i++,t[n+a]=o}return i&&(e.node.timestamp=Date.now()),i},write(e,t,n,r){if(!e.s||!e.s.V.Sa)throw new eb(60);try{for(var i=0;i<r;i++)e.s.V.Sa(e.s,t[n+i])}catch(e){throw new eb(29)}return r&&(e.node.timestamp=Date.now()),i}};function eu(e,t){var n=e.l?e.l.length:0;n>=t||(t=Math.max(t,n*(1048576>n?2:1.125)>>>0),0!=n&&(t=Math.max(t,256)),n=e.l,e.l=new Uint8Array(t),0<e.v&&e.l.set(n.subarray(0,e.v),0))}var ed={N:null,U:()=>ed.createNode(null,"/",16895,0),createNode(e,t,n,r){if(24576==(61440&n)||4096==(61440&n))throw new eb(63);return ed.N||(ed.N={dir:{node:{X:ed.j.X,P:ed.j.P,la:ed.j.la,Aa:ed.j.Aa,sb:ed.j.sb,xb:ed.j.xb,tb:ed.j.tb,rb:ed.j.rb,Ga:ed.j.Ga},stream:{aa:ed.m.aa}},file:{node:{X:ed.j.X,P:ed.j.P},stream:{aa:ed.m.aa,read:ed.m.read,write:ed.m.write,$a:ed.m.$a,jb:ed.m.jb,lb:ed.m.lb}},link:{node:{X:ed.j.X,P:ed.j.P,ma:ed.j.ma},stream:{}},ab:{node:{X:ed.j.X,P:ed.j.P},stream:eI}}),16384==(61440&(n=eA(e,t,n,r)).mode)?(n.j=ed.N.dir.node,n.m=ed.N.dir.stream,n.l={}):32768==(61440&n.mode)?(n.j=ed.N.file.node,n.m=ed.N.file.stream,n.v=0,n.l=null):40960==(61440&n.mode)?(n.j=ed.N.link.node,n.m=ed.N.link.stream):8192==(61440&n.mode)&&(n.j=ed.N.ab.node,n.m=ed.N.ab.stream),n.timestamp=Date.now(),e&&(e.l[t]=n,e.timestamp=n.timestamp),n},Ac:e=>e.l?e.l.subarray?e.l.subarray(0,e.v):new Uint8Array(e.l):new Uint8Array(0),j:{X(e){var t={};return t.xc=8192==(61440&e.mode)?e.id:1,t.Cc=e.id,t.mode=e.mode,t.Hc=1,t.uid=0,t.Bc=0,t.Da=e.Da,16384==(61440&e.mode)?t.size=4096:32768==(61440&e.mode)?t.size=e.v:40960==(61440&e.mode)?t.size=e.link.length:t.size=0,t.oc=new Date(e.timestamp),t.Gc=new Date(e.timestamp),t.vc=new Date(e.timestamp),t.Fb=4096,t.pc=Math.ceil(t.size/t.Fb),t},P(e,t){if(void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&(t=t.size,e.v!=t)){if(0==t)e.l=null,e.v=0;else{var n=e.l;e.l=new Uint8Array(t),n&&e.l.set(n.subarray(0,Math.min(t,e.v))),e.v=t}}},la(){throw ex[44]},Aa:(e,t,n,r)=>ed.createNode(e,t,n,r),sb(e,t,n){if(16384==(61440&e.mode)){try{var r=eS(t,n)}catch(e){}if(r)for(var i in r.l)throw new eb(55)}delete e.parent.l[e.name],e.parent.timestamp=Date.now(),e.name=n,t.l[n]=e,t.timestamp=e.parent.timestamp},xb(e,t){delete e.l[t],e.timestamp=Date.now()},tb(e,t){var n,r=eS(e,t);for(n in r.l)throw new eb(55);delete e.l[t],e.timestamp=Date.now()},rb(e){var t,n=[".",".."];
1for(t of Object.keys(e.l))n.push(t);return n},Ga:(e,t,n)=>((e=ed.createNode(e,t,41471,0)).link=n,e),ma(e){if(40960!=(61440&e.mode))throw new eb(28);return e.link}},m:{read(e,t,n,r,i){var a=e.node.l;if(i>=e.node.v)return 0;if(8<(e=Math.min(e.node.v-i,r))&&a.subarray)t.set(a.subarray(i,i+e),n);else for(r=0;r<e;r++)t[n+r]=a[i+r];return e},write(e,t,n,r,i,a){if(t.buffer===w.buffer&&(a=!1),!r)return 0;if((e=e.node).timestamp=Date.now(),t.subarray&&(!e.l||e.l.subarray)){if(a)return e.l=t.subarray(n,n+r),e.v=r;if(0===e.v&&0===i)return e.l=t.slice(n,n+r),e.v=r;if(i+r<=e.v)return e.l.set(t.subarray(n,n+r),i),r}if(eu(e,i+r),e.l.subarray&&t.subarray)e.l.set(t.subarray(n,n+r),i);else for(a=0;a<r;a++)e.l[i+a]=t[n+a];return e.v=Math.max(e.v,i+r),r},aa(e,t,n){if(1===n?t+=e.position:2===n&&32768==(61440&e.node.mode)&&(t+=e.node.v),0>t)throw new eb(28);return t},$a(e,t,n){eu(e.node,t+n),e.node.v=Math.max(e.node.v,t+n)},jb(e,t,n,r,i){if(32768!=(61440&e.node.mode))throw new eb(43);if(e=e.node.l,2&i||e.buffer!==w.buffer)throw(0<n||n+t<e.length)&&(e=e.subarray?e.subarray(n,n+t):Array.prototype.slice.call(e,n,n+t)),n=!0,D(),t=void 0,new eb(48);return n=!1,{o:t=e.byteOffset,nc:n}},lb:(e,t,n,r)=>(ed.m.write(e,t,0,r,n,!1),0)}},ep=(e,t)=>{var n=0;return e&&(n|=365),t&&(n|=146),n},eh=null,ef={},em=[],eg=1,ey=null,ev=!0,eb=class{constructor(e){this.name="ErrnoError",this.$=e}},ex={},ew=class{constructor(){this.h={},this.node=null}get flags(){return this.h.flags}set flags(e){this.h.flags=e}get position(){return this.h.position}set position(e){this.h.position=e}},ej=class{constructor(e,t,n,r){e||=this,this.parent=e,this.U=e.U,this.Ba=null,this.id=eg++,this.name=t,this.mode=n,this.j={},this.m={},this.Da=r}get read(){return 365==(365&this.mode)}set read(e){e?this.mode|=365:this.mode&=-366}get write(){return 146==(146&this.mode)}set write(e){e?this.mode|=146:this.mode&=-147}};function eC(e,t={}){if(!(e=ee(e)))return{path:"",node:null};if(8<(t=Object.assign({gb:!0,Ua:0},t)).Ua)throw new eb(32);e=e.split("/").filter(e=>!!e);for(var n=eh,r="/",i=0;i<e.length;i++){var a=i===e.length-1;if(a&&t.parent)break;if(n=eS(n,e[i]),r=Y(r+"/"+e[i]),n.Ba&&(!a||a&&t.gb)&&(n=n.Ba.root),!a||t.fb){for(a=0;40960==(61440&n.mode);)if(n=function(e){if(!(e=eC(e).node))throw new eb(44);if(!e.j.ma)throw new eb(28);return ee(eE(e.parent),e.j.ma(e))}(r),n=eC(r=ee(X(r),n),{Ua:t.Ua+1}).node,40<a++)throw new eb(32)}}return{path:r,node:n}}function eE(e){for(var t;;){if(e===e.parent)return e=e.U.kb,t?"/"!==e[e.length-1]?`${e}/${t}`:e+t:e;t=t?`${e.name}/${t}`:e.name,e=e.parent}}function ek(e,t){for(var n=0,r=0;r<t.length;r++)n=(n<<5)-n+t.charCodeAt(r)|0;return(e+n>>>0)%ey.length}function eS(e,t){var n=16384==(61440&e.mode)?(n=e_(e,"x"))?n:e.j.la?0:2:54;if(n)throw new eb(n);for(n=ey[ek(e.id,t)];n;n=n.$b){var r=n.name;if(n.parent.id===e.id&&r===t)return n}return e.j.la(e,t)}function eA(e,t,n,r){return t=ek((e=new ej(e,t,n,r)).parent.id,e.name),e.$b=ey[t],ey[t]=e}function eT(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t}function e_(e,t){return ev?0:t.includes("r")&&!(292&e.mode)?2:t.includes("w")&&!(146&e.mode)||t.includes("x")&&!(73&e.mode)?2:0}function eL(e,t){try{return eS(e,t),20}catch(e){}return e_(e,"wx")}function eN(e){if(!(e=em[e]))throw new eb(8);return e}function eP(e,t=-1){if(e=Object.assign(new ew,e),-1==t)e:{for(t=0;4096>=t;t++)if(!em[t])break e;throw new eb(33)}return e.W=t,em[t]=e}var eI={open(e){e.m=ef[e.node.Da].m,e.m.open?.(e)},aa(){throw new eb(70)}};function eM(e,t){var n="/"===t;if(n&&eh)throw new eb(10);if(!n&&t){var r=eC(t,{gb:!1});if(t=r.path,(r=r.node).Ba)throw new eb(10);if(16384!=(61440&r.mode))throw new eb(54)}t={type:e,Jc:{},kb:t,Yb:[]},(e=e.U(t)).U=t,t.root=e,n?eh=e:r&&(r.Ba=t,r.U&&r.U.Yb.push(t))}function eO(e,t,n){var r=eC(e,{parent:!0}).node;if(!(e=Z(e))||"."===e||".."===e)throw new eb(28);var i=eL(r,e);if(i)throw new eb(i);if(!r.j.Aa)throw new eb(63);return r.j.Aa(r,e,t,n)}function eR(e){return eO(e,16895,0)}function eD(e,t,n){void 0===n&&(n=t,t=438),eO(e,8192|t,n)}function eB(e,t){if(!ee(e))throw new eb(44);var n=eC(t,{parent:!0}).node;if(!n)throw new eb(44);var r=eL(n,t=Z(t));if(r)throw new eb(r);if(!n.j.Ga)throw new eb(63);n.j.Ga(n,t,e)}function eF(t,n,r){if(""===t)throw new eb(44);if("string"==typeof n){var i={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[n];if(void 0===i)throw Error(`Unknown file open mode: ${n}`);n=i}if(r=64&n?(void 0===r?438:r)&4095|32768:0,"object"==typeof t)var a=t;else{t=Y(t);try{a=eC(t,{fb:!(131072&n)}).node}catch(e){}}if(i=!1,64&n){if(a){if(128&n)throw new eb(20)}else a=eO(t,r,0),i=!0}if(!a)throw new eb(44);if(8192==(61440&a.mode)&&(n&=-513),65536&n&&16384!=(61440&a.mode))throw new eb(54);if(!i&&(r=a?40960==(61440&a.mode)?32:16384==(61440&a.mode)&&("r"!==eT(n)||512&n)?31:e_(a,eT(n)):44))throw new eb(r);if(512&n&&!i){if(!(r="string"==typeof(r=a)?eC(r,{fb:!0}).node:r).j.P)throw new eb(63);if(16384==(61440&r.mode))throw new eb(31);if(32768!=(61440&r.mode))throw new eb(28);if(i=e_(r,"w"))throw new eb(i);r.j.P(r,{size:0,timestamp:Date.now()})}return n&=-131713,(a=eP({node:a,path:eE(a),flags:n,seekable:!0,position:0,m:a.m,mc:[],error:!1})).m.open&&a.m.open(a),!e.logReadFiles||1&n||t in(ez||={})||(ez[t]=1),a}function eH(e,t,n){if(null===e.W)throw new eb(8);
1if(!e.seekable||!e.m.aa)throw new eb(70);if(0!=n&&1!=n&&2!=n)throw new eb(28);e.position=e.m.aa(e,t,n),e.mc=[]}function eV(e,t,n){e=Y("/dev/"+e);var r,i=ep(!!t,!!n);eU||=64;var a=eU++<<8|0;r={open(e){e.seekable=!1},close(){n?.buffer?.length&&n(10)},read(e,n,r,i){for(var a=0,o=0;o<i;o++){try{var s=t()}catch(e){throw new eb(29)}if(void 0===s&&0===a)throw new eb(6);if(null==s)break;a++,n[r+o]=s}return a&&(e.node.timestamp=Date.now()),a},write(e,t,r,i){for(var a=0;a<i;a++)try{n(t[r+a])}catch(e){throw new eb(29)}return i&&(e.node.timestamp=Date.now()),a}},ef[a]={m:r},eD(e,i,a)}var e$,eU,ez,eW,eG,eq,eK,eY,eX={},eZ=void 0,eJ=(e,t)=>Object.defineProperty(t,"name",{value:e}),eQ=[],e0=[],e1=e=>{if(!e)throw new eW("Cannot use deleted val. handle = "+e);return e0[e]},e2=e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:let t=eQ.pop()||e0.length;return e0[t]=e,e0[t+1]=1,t}},e3=e=>{var t=Error,n=eJ(e,function(t){this.name=e,this.message=t,void 0!==(t=Error(t).stack)&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))});return n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},n},e5=e=>{for(var t="";j[e];)t+=eq[j[e++]];return t},e4=[],e6=()=>{for(;e4.length;){var e=e4.pop();e.g.ha=!1,e.delete()}},e8={},e7=(e,t)=>{if(void 0===t)throw new eW("ptr should not be undefined");for(;e.B;)t=e.oa(t),e=e.B;return t},e9={},te=e=>{var t=e5(e=nq(e));return nW(e),t},tt=(e,t)=>{var n=e9[e];if(void 0===n)throw e=`${t} has unknown type ${te(e)}`,new eW(e);return n},tn=()=>{},tr=!1,ti=(e,t,n)=>t===n?e:void 0===n.B?null:null===(e=ti(e,t,n.B))?null:n.Ib(e),ta={},to=(e,t)=>e8[t=e7(e,t)],ts=(e,t)=>{if(!t.u||!t.o)throw new eY("makeClassHandle requires ptr and ptrType");if(!!t.J!=!!t.F)throw new eY("Both smartPtrType and smartPtr must be specified");return t.count={value:1},tl(Object.create(e,{g:{value:t,writable:!0}}))},tl=e=>"undefined"==typeof FinalizationRegistry?(tl=e=>e,e):(tr=new FinalizationRegistry(e=>{e=e.g,--e.count.value,0===e.count.value&&(e.F?e.J.O(e.F):e.u.i.O(e.o))}),tl=e=>{var t=e.g;return t.F&&tr.register(e,{g:t},e),e},tn=e=>{tr.unregister(e)},tl(e)),tc={},tu=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function td(e){return this.fromWireType(S[e>>2])}var tp={},th={},tf=(e,t,n)=>{function r(t){if((t=n(t)).length!==e.length)throw new eY("Mismatched type converter count");for(var r=0;r<e.length;++r)tm(e[r],t[r])}e.forEach(function(e){th[e]=t});var i=Array(t.length),a=[],o=0;t.forEach((e,t)=>{e9.hasOwnProperty(e)?i[t]=e9[e]:(a.push(e),tp.hasOwnProperty(e)||(tp[e]=[]),tp[e].push(()=>{i[t]=e9[e],++o===a.length&&r(i)}))}),0===a.length&&r(i)};function tm(e,t,n={}){if(!("argPackAdvance"in t))throw TypeError("registerType registeredInstance requires argPackAdvance");return function(e,t,n={}){var r=t.name;if(!e)throw new eW(`type "${r}" must have a positive integer typeid pointer`);if(e9.hasOwnProperty(e)){if(n.Sb)return;throw new eW(`Cannot register type '${r}' twice`)}e9[e]=t,delete th[e],tp.hasOwnProperty(e)&&(t=tp[e],delete tp[e],t.forEach(e=>e()))}(e,t,n)}var tg=e=>{throw new eW(e.g.u.i.name+" instance already deleted")};function ty(){}var tv=(e,t,n)=>{if(void 0===e[t].A){var r=e[t];e[t]=function(...r){if(!e[t].A.hasOwnProperty(r.length))throw new eW(`Function '${n}' called with an invalid number of arguments (${r.length}) - expects one of (${e[t].A})!`);return e[t].A[r.length].apply(this,r)},e[t].A=[],e[t].A[r.ga]=r}},tb=(t,n,r)=>{if(e.hasOwnProperty(t)){if(void 0===r||void 0!==e[t].A&&void 0!==e[t].A[r])throw new eW(`Cannot register public name '${t}' twice`);if(tv(e,t,t),e.hasOwnProperty(r))throw new eW(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`);e[t].A[r]=n}else e[t]=n,void 0!==r&&(e[t].Ic=r)},tx=e=>{if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=t&&57>=t?`_${e}`:e};function tw(e,t,n,r,i,a,o,s){this.name=e,this.constructor=t,this.M=n,this.O=r,this.B=i,this.Nb=a,this.oa=o,this.Ib=s,this.ob=[]}var tj=(e,t,n)=>{for(;t!==n;){if(!t.oa)throw new eW(`Expected null or instance of ${n.name}, got an instance of ${t.name}`);e=t.oa(e),t=t.B}return e};function tC(e,t){if(null===t){if(this.Ra)throw new eW(`null is not a valid ${this.name}`);return 0}if(!t.g)throw new eW(`Cannot pass "${tG(t)}" as a ${this.name}`);if(!t.g.o)throw new eW(`Cannot pass deleted object as a pointer of type ${this.name}`);return tj(t.g.o,t.g.u.i,this.i)}function tE(e,t){if(null===t){if(this.Ra)throw new eW(`null is not a valid ${this.name}`);if(this.wa){var n=this.Ta();return null!==e&&e.push(this.O,n),n}return 0}if(!t||!t.g)throw new eW(`Cannot pass "${tG(t)}" as a ${this.name}`);if(!t.g.o)throw new eW(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.va&&t.g.u.va)throw new eW(`Cannot convert argument of type ${t.g.J?t.g.J.name:t.g.u.name} to parameter type ${this.name}`);if(n=tj(t.g.o,t.g.u.i,this.i),this.wa){if(void 0===t.g.F)throw new eW("Passing raw pointer to smart pointer is illegal");
1switch(this.fc){case 0:if(t.g.J===this)n=t.g.F;else throw new eW(`Cannot convert argument of type ${t.g.J?t.g.J.name:t.g.u.name} to parameter type ${this.name}`);break;case 1:n=t.g.F;break;case 2:if(t.g.J===this)n=t.g.F;else{var r=t.clone();n=this.bc(n,e2(()=>r.delete())),null!==e&&e.push(this.O,n)}break;default:throw new eW("Unsupporting sharing policy")}}return n}function tk(e,t){if(null===t){if(this.Ra)throw new eW(`null is not a valid ${this.name}`);return 0}if(!t.g)throw new eW(`Cannot pass "${tG(t)}" as a ${this.name}`);if(!t.g.o)throw new eW(`Cannot pass deleted object as a pointer of type ${this.name}`);if(t.g.u.va)throw new eW(`Cannot convert argument of type ${t.g.u.name} to parameter type ${this.name}`);return tj(t.g.o,t.g.u.i,this.i)}function tS(e,t,n,r,i,a,o,s,l,c,u){this.name=e,this.i=t,this.Ra=n,this.va=r,this.wa=i,this.ac=a,this.fc=o,this.qb=s,this.Ta=l,this.bc=c,this.O=u,i||void 0!==t.B?this.toWireType=tE:(this.toWireType=r?tC:tk,this.L=null)}var tA,tT,t_=(t,n,r)=>{if(!e.hasOwnProperty(t))throw new eY("Replacing nonexistent public symbol");void 0!==e[t].A&&void 0!==r?e[t].A[r]=n:(e[t]=n,e[t].ga=r)},tL=[],tN=e=>{var t=tL[e];return t||(e>=tL.length&&(tL.length=e+1),tL[e]=t=tA.get(e)),t},tP=(t,n,r=[])=>n=t.includes("j")?(0,e["dynCall_"+(t=t.replace(/p/g,"i"))])(n,...r):tN(n)(...r),tI=(e,t)=>(...n)=>tP(e,t,n),tM=(e,t)=>{var n=(e=e5(e)).includes("j")?tI(e,t):tN(t);if("function"!=typeof n)throw new eW(`unknown function pointer with signature ${e}: ${t}`);return n},tO=(e,t)=>{var n=[],r={};throw t.forEach(function e(t){r[t]||e9[t]||(th[t]?th[t].forEach(e):(n.push(t),r[t]=!0))}),new tT(`${e}: `+n.map(te).join([", "]))};function tR(e,t,n,r,i){var a=t.length;if(2>a)throw new eW("argTypes array size mismatch! Must at least get return value and 'this' types!");var o=null!==t[1]&&null!==n,s=function(e){for(var t=1;t<e.length;++t)if(null!==e[t]&&void 0===e[t].L)return!0;return!1}(t),l="void"!==t[0].name,c=a-2,u=Array(c),d=[],p=[];return eJ(e,function(...n){if(n.length!==c)throw new eW(`function ${e} called with ${n.length} arguments, expected ${c}`);if(p.length=0,d.length=o?2:1,d[0]=i,o){var a=t[1].toWireType(p,this);d[1]=a}for(var h=0;h<c;++h)u[h]=t[h+2].toWireType(p,n[h]),d.push(u[h]);if(n=r(...d),s)tu(p);else for(h=o?1:2;h<t.length;h++){var f=1===h?a:u[h-2];null!==t[h].L&&t[h].L(f)}return l?t[0].fromWireType(n):void 0})}var tD,tB,tF,tH=(e,t)=>{for(var n=[],r=0;r<e;r++)n.push(S[t+4*r>>2]);return n},tV=e=>{let t=(e=e.trim()).indexOf("(");return -1!==t?e.substr(0,t):e},t$=(e,t,n)=>{if(!(e instanceof Object))throw new eW(`${n} with invalid "this": ${e}`);if(!(e instanceof t.i.constructor))throw new eW(`${n} incompatible with "this" of type ${e.constructor.name}`);if(!e.g.o)throw new eW(`cannot call emscripten binding method ${n} on deleted object`);return tj(e.g.o,e.g.u.i,t.i)},tU=e=>{9<e&&0==--e0[e+1]&&(e0[e]=void 0,eQ.push(e))},tz={name:"emscripten::val",fromWireType:e=>{var t=e1(e);return tU(e),t},toWireType:(e,t)=>e2(t),argPackAdvance:8,readValueFromPointer:td,L:null},tW=(e,t,n)=>{switch(t){case 1:return n?function(e){return this.fromWireType(w[e])}:function(e){return this.fromWireType(j[e])};case 2:return n?function(e){return this.fromWireType(C[e>>1])}:function(e){return this.fromWireType(E[e>>1])};case 4:return n?function(e){return this.fromWireType(k[e>>2])}:function(e){return this.fromWireType(S[e>>2])};default:throw TypeError(`invalid integer width (${t}): ${e}`)}},tG=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e},tq=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType(A[e>>2])};case 8:return function(e){return this.fromWireType(T[e>>3])};default:throw TypeError(`invalid float width (${t}): ${e}`)}},tK=(e,t,n)=>{switch(t){case 1:return n?e=>w[e]:e=>j[e];case 2:return n?e=>C[e>>1]:e=>E[e>>1];case 4:return n?e=>k[e>>2]:e=>S[e>>2];default:throw TypeError(`invalid integer width (${t}): ${e}`)}},tY="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,tX=(e,t)=>{for(var n=e>>1,r=n+t/2;!(n>=r)&&E[n];)++n;if(32<(n<<=1)-e&&tY)return tY.decode(j.subarray(e,n));for(r=0,n="";!(r>=t/2);++r){var i=C[e+2*r>>1];if(0==i)break;n+=String.fromCharCode(i)}return n},tZ=(e,t,n)=>{if(2>(n??=2147483647))return 0;n-=2;var r=t;n=n<2*e.length?n/2:e.length;for(var i=0;i<n;++i)C[t>>1]=e.charCodeAt(i),t+=2;return C[t>>1]=0,t-r},tJ=e=>2*e.length,tQ=(e,t)=>{for(var n=0,r="";!(n>=t/4);){var i=k[e+4*n>>2];if(0==i)break;++n,65536<=i?(i-=65536,r+=String.fromCharCode(55296|i>>10,56320|1023&i)):r+=String.fromCharCode(i)}return r},t0=(e,t,n)=>{if(4>(n??=2147483647))return 0;var r=t;n=r+n-4;for(var i=0;i<e.length;++i){var a=e.charCodeAt(i);if(55296<=a&&57343>=a&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i)),k[t>>2]=a,(t+=4)+4>n)break}return k[t>>2]=0,t-r},t1=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);55296<=r&&57343>=r&&++n,t+=4}return t},t2=(e,t,n)=>{var r=[];return e=e.toWireType(r,n),r.length&&(S[t>>2]=e2(r)),e},t3={},t5=e=>{var t=t3[e];return void 0===t?e5(e):t},t4=[],t6=e=>{var t=t4.length;
1return t4.push(e),t},t8=(e,t)=>{for(var n=Array(e),r=0;r<e;++r)n[r]=tt(S[t+4*r>>2],"parameter "+r);return n},t7=Reflect.construct,t9=e=>0==e%4&&(0!=e%100||0==e%400),ne=[0,31,60,91,121,152,182,213,244,274,305,335],nt=[0,31,59,90,120,151,181,212,243,273,304,334],nn=[],nr=e=>{e.yc=e.getExtension("WEBGL_draw_instanced_base_vertex_base_instance")},ni=e=>{e.Fc=e.getExtension("WEBGL_multi_draw_instanced_base_vertex_base_instance")},na=e=>{var t="EXT_color_buffer_float EXT_conservative_depth EXT_disjoint_timer_query_webgl2 EXT_texture_norm16 NV_shader_noperspective_interpolation WEBGL_clip_cull_distance EXT_color_buffer_half_float EXT_depth_clamp EXT_float_blend EXT_texture_compression_bptc EXT_texture_compression_rgtc EXT_texture_filter_anisotropic KHR_parallel_shader_compile OES_texture_float_linear WEBGL_blend_func_extended WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context WEBGL_multi_draw".split(" ");return(e.getSupportedExtensions()||[]).filter(e=>t.includes(e))},no=1,ns=[],nl=[],nc=[],nu=[],nd=[],np=[],nh=[],nf=[],nm={},ng=4,ny=0,nv=e=>{for(var t=no++,n=e.length;n<t;n++)e[n]=null;return t},nb=(e,t,n,r)=>{for(var i=0;i<e;i++){var a=nV[n](),o=a&&nv(r);a?(a.name=o,r[o]=a):tD||=1282,k[t+4*i>>2]=o}},nx=(e,t)=>{var n=nv(nf),r={handle:n,attributes:t,version:t.Ec,C:e};return e.canvas&&(e.canvas.zb=r),nf[n]=r,(void 0===t.Jb||t.Jb)&&nj(r),n},nw=t=>(tB=nf[t],e.wc=nV=tB?.C,!(t&&!nV)),nj=e=>{if(!(e||=tB).Tb){e.Tb=!0;var t=e.C;nr(t),ni(t),2<=e.version&&(t.cb=t.getExtension("EXT_disjoint_timer_query_webgl2")),(2>e.version||!t.cb)&&(t.cb=t.getExtension("EXT_disjoint_timer_query")),t.Zb=t.getExtension("WEBGL_multi_draw"),na(t).forEach(e=>{e.includes("lose_context")||e.includes("debug")||t.getExtension(e)})}},nC={},nE=()=>{if(!tF){var e,t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:m||"./this.program"};for(e in nC)void 0===nC[e]?delete t[e]:t[e]=nC[e];var n=[];for(e in t)n.push(`${e}=${t[e]}`);tF=n}return tF},nk=[];function nS(){var e=na(nV);return e.concat(e.map(e=>"GL_"+e))}var nA=(e,t)=>{if(t){var n=void 0;switch(e){case 36346:n=1;break;case 36344:return;case 34814:case 36345:n=0;break;case 34466:var r=nV.getParameter(34467);n=r?r.length:0;break;case 33309:if(2>tB.version){tD||=1282;return}n=nS().length;break;case 33307:case 33308:if(2>tB.version){tD||=1280;return}n=33307==e?3:0}if(void 0===n)switch(typeof(r=nV.getParameter(e))){case"number":n=r;break;case"boolean":n=r?1:0;break;case"string":tD||=1280;return;case"object":if(null===r)switch(e){case 34964:case 35725:case 34965:case 36006:case 36007:case 32873:case 34229:case 36662:case 36663:case 35053:case 35055:case 36010:case 35097:case 35869:case 32874:case 36389:case 35983:case 35368:case 34068:n=0;break;default:tD||=1280;return}else{if(r instanceof Float32Array||r instanceof Uint32Array||r instanceof Int32Array||r instanceof Array){for(e=0;e<r.length;++e)k[t+4*e>>2]=r[e];return}try{n=0|r.name}catch(t){tD||=1280,v(`GL_INVALID_ENUM in glGet0v: Unknown object returned from WebGL getParameter(${e})! (error: ${t})`);return}}break;default:tD||=1280,v(`GL_INVALID_ENUM in glGet0v: Native code calling glGet0v(${e}) and it returns ${r} of type ${typeof r}!`);return}k[t>>2]=n}else tD||=1281},nT=e=>{var t=ei(e)+1,n=nG(t);return n&&ea(e,j,n,t),n},n_=e=>"]"==e.slice(-1)&&e.lastIndexOf("["),nL=e=>0==(e-=5120)?w:1==e?j:2==e?C:4==e?k:6==e?A:5==e||28922==e||28520==e||30779==e||30782==e?S:E,nN=[31,29,31,30,31,30,31,31,30,31,30,31],nP=[31,28,31,30,31,30,31,31,30,31,30,31],nI=(e,t,n,r)=>{function i(e,t,n){for(e="number"==typeof e?e.toString():e||"";e.length<t;)e=n[0]+e;return e}function a(e,t){return i(e,t,"0")}function o(e,t){var n;function r(e){return 0>e?-1:0<e?1:0}return 0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))&&(n=r(e.getDate()-t.getDate())),n}function s(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function l(e){var t=e.ca;for(e=new Date(new Date(e.da+1900,0,1).getTime());0<t;){var n=e.getMonth(),r=(t9(e.getFullYear())?nN:nP)[n];if(t>r-e.getDate())t-=r-e.getDate()+1,e.setDate(1),11>n?e.setMonth(n+1):(e.setMonth(0),e.setFullYear(e.getFullYear()+1));else{e.setDate(e.getDate()+t);break}}return n=new Date(e.getFullYear()+1,0,4),t=s(new Date(e.getFullYear(),0,4)),n=s(n),0>=o(t,e)?0>=o(n,e)?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var c=S[r+40>>2];for(var u in r={jc:k[r>>2],ic:k[r+4>>2],Ha:k[r+8>>2],Va:k[r+12>>2],Ia:k[r+16>>2],da:k[r+20>>2],R:k[r+24>>2],ca:k[r+28>>2],Lc:k[r+32>>2],hc:k[r+36>>2],kc:c&&c?en(j,c):""},n=n?en(j,n):"",c={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})n=n.replace(RegExp(u,"g"),c[u]);var d="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),p="January February March April May June July August September October November December".split(" ");for(u in c={"%a":e=>d[e.R].substring(0,3),"%A":e=>d[e.R],"%b":e=>p[e.Ia].substring(0,3),"%B":e=>p[e.Ia],"%C":e=>a((e.da+1900)/100|0,2),"%d":e=>a(e.Va,2),"%e":e=>i(e.Va,2," "),"%g":e=>l(e).toString().substring(2),"%G":l,"%H":e=>a(e.Ha,2),"%I":e=>(0==(e=e.Ha)?e=12:12<e&&(e-=12),a(e,2)),"%j":e=>{for(var t=0,n=0;n<=e.Ia-1;t+=(t9(e.da+1900)?nN:nP)[n++]);return a(e.Va+t,3)},"%m":e=>a(e.Ia+1,2),"%M":e=>a(e.ic,2),"%n":()=>"\n","%p":e=>0<=e.Ha&&12>e.Ha?"AM":"PM","%S":e=>a(e.jc,2),"%t":()=>" ","%u":e=>e.R||7,"%U":e=>a(Math.floor((e.ca+7-e.R)/7),2),"%V":e=>{var t=Math.floor((e.ca+7-(e.R+6)%7)/7);if(2>=(e.R+371-e.ca-2)%7&&t++,t)53==t&&(4==(n=(e.R+371-e.ca)%7)||3==n&&t9(e.da)||(t=1));else{t=52;var n=(e.R+7-e.ca-1)%7;(4==n||5==n&&t9(e.da%400-1))&&t++}return a(t,2)},"%w":e=>e.R,"%W":e=>a(Math.floor((e.ca+7-(e.R+6)%7)/7),2),"%y":e=>(e.da+1900).toString().substring(2),"%Y":e=>e.da+1900,"%z":e=>{var t=0<=(e=e.hc);return(t?"+":"-")+String("0000"+((e=Math.abs(e)/60)/60*100+e%60)).slice(-4)},"%Z":e=>e.kc,"%%":()=>"%"},n=n.replace(/%%/g,"\0\0"),c)n.includes(u)&&(n=n.replace(RegExp(u,"g"),c[u](r)));return(u=eo(n=n.replace(/\0\0/g,"%"),!1)).length>t?0:(w.set(u,e),u.length-1)};
1[44].forEach(e=>{ex[e]=new eb(e),ex[e].stack="<generic error, no stack>"}),ey=Array(4096),eM(ed,"/"),eR("/tmp"),eR("/home"),eR("/home/web_user"),eR("/dev"),nR={read:()=>0,write:(e,t,n,r)=>r},ef[259]={m:nR},eD("/dev/null",259),el(1280,{hb(){e:{if(!er.length){var e=null;if("undefined"!=typeof window&&"function"==typeof window.prompt&&null!==(e=window.prompt("Input: "))&&(e+="\n"),!e){e=null;break e}er=eo(e,!0)}e=er.shift()}return e},Sa(e,t){null===t||10===t?(y(en(e.H,0)),e.H=[]):0!=t&&e.H.push(t)},sa(e){e.H&&0<e.H.length&&(y(en(e.H,0)),e.H=[])},Vb:()=>({sc:25856,uc:5,rc:191,tc:35387,qc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),Wb:()=>0,Xb:()=>[24,80]}),el(1536,{Sa(e,t){null===t||10===t?(v(en(e.H,0)),e.H=[]):0!=t&&e.H.push(t)},sa(e){e.H&&0<e.H.length&&(v(en(e.H,0)),e.H=[])}}),eD("/dev/tty",1280),eD("/dev/tty1",1536),nD=new Uint8Array(1024),nB=0,eV("random",nF=()=>(0===nB&&(nB=Q(nD).byteLength),nD[--nB])),eV("urandom",nF),eR("/dev/shm"),eR("/dev/shm/tmp"),eR("/proc"),nH=eR("/proc/self"),eR("/proc/self/fd"),eM({U(){var e=eA(nH,"fd",16895,73);return e.j={la(e,t){var n=eN(+t);return(e={parent:null,U:{kb:"fake"},j:{ma:()=>n.path}}).parent=e}},e}},"/proc/self/fd"),eW=e.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},e0.push(0,1,void 0,1,null,1,!0,1,!1,1),e.count_emval_handles=()=>
1e0.length/2-5-eQ.length,eG=e.PureVirtualError=e3("PureVirtualError");for(var nM=Array(256),nO=0;256>nO;++nO)nM[nO]=String.fromCharCode(nO);eq=nM,e.getInheritedInstanceCount=()=>Object.keys(e8).length,e.getLiveInheritedInstances=()=>{var e,t=[];for(e in e8)e8.hasOwnProperty(e)&&t.push(e8[e]);return t},e.flushPendingDeletes=e6,e.setDelayFunction=e=>{eK=e,e4.length&&eK&&eK(e6)},eY=e.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},Object.assign(ty.prototype,{isAliasOf:function(e){if(!(this instanceof ty&&e instanceof ty))return!1;var t=this.g.u.i,n=this.g.o;e.g=e.g;var r=e.g.u.i;for(e=e.g.o;t.B;)n=t.oa(n),t=t.B;for(;r.B;)e=r.oa(e),r=r.B;return t===r&&n===e},clone:function(){if(this.g.o||tg(this),this.g.ja)return this.g.count.value+=1,this;var e=tl,t=Object,n=t.create,r=Object.getPrototypeOf(this),i=this.g;return e=e(n.call(t,r,{g:{value:{count:i.count,ha:i.ha,ja:i.ja,o:i.o,u:i.u,F:i.F,J:i.J}}})),e.g.count.value+=1,e.g.ha=!1,e},delete(){if(this.g.o||tg(this),this.g.ha&&!this.g.ja)throw new eW("Object already scheduled for deletion");tn(this);var e=this.g;--e.count.value,0===e.count.value&&(e.F?e.J.O(e.F):e.u.i.O(e.o)),this.g.ja||(this.g.F=void 0,this.g.o=void 0)},isDeleted:function(){return!this.g.o},deleteLater:function(){if(this.g.o||tg(this),this.g.ha&&!this.g.ja)throw new eW("Object already scheduled for deletion");return e4.push(this),1===e4.length&&eK&&eK(e6),this.g.ha=!0,this}}),Object.assign(tS.prototype,{Ob(e){return this.qb&&(e=this.qb(e)),e},bb(e){this.O?.(e)},argPackAdvance:8,readValueFromPointer:td,fromWireType:function(e){function t(){return this.wa?ts(this.i.M,{u:this.ac,o:n,J:this,F:e}):ts(this.i.M,{u:this,o:e})}var n=this.Ob(e);if(!n)return this.bb(e),null;var r=to(this.i,n);if(void 0!==r)return 0===r.g.count.value?(r.g.o=n,r.g.F=e,r.clone()):(r=r.clone(),this.bb(e),r);if(!(r=ta[r=this.i.Nb(n)]))return t.call(this);r=this.va?r.Gb:r.pointerType;var i=ti(n,this.i,r.i);return null===i?t.call(this):this.wa?ts(r.i.M,{u:r,o:i,J:this,F:e}):ts(r.i.M,{u:r,o:i})}}),tT=e.UnboundTypeError=e3("UnboundTypeError");for(var nR,nD,nB,nF,nH,nV,n$=0;32>n$;++n$)nk.push(Array(n$));var nU={__syscall_fcntl64:function(e,t,n){eZ=n;try{var r=eN(e);switch(t){case 0:var i=q();if(0>i)break;for(;em[i];)i++;return function(e,t=-1){return e=eP(e,t),e.m?.zc?.(e),e}(r,i).W;case 1:case 2:case 13:case 14:return 0;case 3:return r.flags;case 4:return i=q(),r.flags|=i,0;case 12:return C[(i=q())+0>>1]=2,0}return -28}catch(e){if(void 0===eX||"ErrnoError"!==e.name)throw e;return-e.$}},__syscall_ioctl:function(e,t,n){eZ=n;try{var r=eN(e);switch(t){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return r.s?0:-59;case 21505:if(!r.s)return -59;if(r.s.V.Vb){e=[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var i=q();k[i>>2]=25856,k[i+4>>2]=5,k[i+8>>2]=191,k[i+12>>2]=35387;for(var a=0;32>a;a++)w[i+a+17]=e[a]||0}return 0;case 21506:case 21507:case 21508:if(!r.s)return -59;if(r.s.V.Wb)for(i=q(),e=[],a=0;32>a;a++)e.push(w[i+a+17]);return 0;case 21519:if(!r.s)return -59;return k[(i=q())>>2]=0;case 21520:return r.s?-28:-59;case 21531:if(i=q(),!r.m.Ub)throw new eb(59);return r.m.Ub(r,t,i);case 21523:if(!r.s)return -59;return r.s.V.Xb&&(a=[24,80],C[(i=q())>>1]=a[0],C[i+2>>1]=a[1]),0;default:return -28}}catch(e){if(void 0===eX||"ErrnoError"!==e.name)throw e;return-e.$}}
1,__syscall_openat:function(e,t,n,r){eZ=r;try{var i=t=t?en(j,t):"";if("/"===i.charAt(0))t=i;else{var a=-100===e?"/":eN(e).path;if(0==i.length)throw new eb(44);t=Y(a+"/"+i)}var o=r?q():0;return eF(t,n,o).W}catch(e){if(void 0===eX||"ErrnoError"!==e.name)throw e;return-e.$}},_abort_js:()=>{D("")},_embind_create_inheriting_constructor:(e,t,n)=>{e=e5(e),t=tt(t,"wrapper"),n=e1(n);var r=t.i,i=r.M,a=r.B.M,o=r.B.constructor;return e=eJ(e,function(...e){r.B.ob.forEach((function(e){if(this[e]===a[e])throw new eG(`Pure virtual function ${e} must be implemented in JavaScript`)}).bind(this)),Object.defineProperty(this,"__parent",{value:i}),this.__construct(...e)}),i.__construct=function(...e){if(this===i)throw new eW("Pass correct 'this' to __construct");e=o.implement(this,...e),tn(e);var t=e.g;if(e.notifyOnDestruction(),t.ja=!0,Object.defineProperties(this,{g:{value:t}}),tl(this),e=e7(r,e=t.o),e8.hasOwnProperty(e))throw new eW(`Tried to register registered instance: ${e}`);e8[e]=this},i.__destruct=function(){if(this===i)throw new eW("Pass correct 'this' to __destruct");tn(this);var e=this.g.o;if(e=e7(r,e),e8.hasOwnProperty(e))delete e8[e];else throw new eW(`Tried to unregister unregistered instance: ${e}`)},e.prototype=Object.create(i),Object.assign(e.prototype,n),e2(e)},_embind_finalize_value_object:e=>{var t=tc[e];delete tc[e];var n=t.Ta,r=t.O,i=t.eb;tf([e],i.map(e=>e.Rb).concat(i.map(e=>e.dc)),e=>{var a={};return i.forEach((t,n)=>{var r=e[n],o=t.Pb,s=t.Qb,l=e[n+i.length],c=t.cc,u=t.ec;a[t.Lb]={read:e=>r.fromWireType(o(s,e)),write:(e,t)=>{var n=[];c(u,e,l.toWireType(n,t)),tu(n)}}}),[{name:t.name,fromWireType:e=>{var t,n={};for(t in a)n[t]=a[t].read(e);return r(e),n},toWireType:(e,t)=>{for(var i in a)if(!(i in t))throw TypeError(`Missing field: "${i}"`);var o=n();for(i in a)a[i].write(o,t[i]);return null!==e&&e.push(r,o),o},argPackAdvance:8,readValueFromPointer:td,L:r}]})},_embind_register_bigint:()=>{},_embind_register_bool:(e,t,n,r)=>{tm(e,{name:t=e5(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:r},argPackAdvance:8,readValueFromPointer:function(e){return this.fromWireType(j[e])},L:null})},_embind_register_class:(e,t,n,r,i,a,o,s,l,c,u,d,p)=>{u=e5(u),a=tM(i,a),s&&=tM(o,s),c&&=tM(l,c),p=tM(d,p);var h=tx(u);tb(h,function(){tO(`Cannot construct ${u} due to unbound types`,[r])}),tf([e,t,n],r?[r]:[],t=>{if(t=t[0],r)var n,i=t.i,o=i.M;else o=ty.prototype;var l=Object.create(o,{constructor:{value:t=eJ(u,function(...e){if(Object.getPrototypeOf(this)!==l)throw new eW("Use 'new' to construct "+u);if(void 0===d.Z)throw new eW(u+" has no accessible constructor");var t=d.Z[e.length];if(void 0===t)throw new eW(`Tried to invoke ctor of ${u} with invalid number of parameters (${e.length}) - expected (${Object.keys(d.Z).toString()}) parameters instead!`);return t.apply(this,e)})}});t.prototype=l;var d=new tw(u,t,l,p,i,a,s,c);return d.B&&((n=d.B).pa??(n.pa=[]),d.B.pa.push(d)),i=new tS(u,d,!0,!1,!1),n=new tS(u+"*",d,!1,!1,!1),o=new tS(u+" const*",d,!1,!0,!1),ta[e]={pointerType:n,Gb:o},t_(h,t),[i,n,o]})},_embind_register_class_class_function:(e,t,n,r,i,a,o)=>{var s=tH(n,r);t=tV(t=e5(t)),a=tM(i,a),tf([],[e],e=>{function r(){tO(`Cannot call ${i} due to unbound types`,s)}e=e[0];var i=`${e.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var l=e.i.constructor;return void 0===l[t]?(r.ga=n-1,l[t]=r):(tv(l,t,i),l[t].A[n-1]=r),tf([],s,r=>{if(r=tR(i,[r[0],null].concat(r.slice(1)),null,a,o),void 0===l[t].A?(r.ga=n-1,l[t]=r):l[t].A[n-1]=r,e.i.pa)for(let n of e.i.pa)n.constructor.hasOwnProperty(t)||(n.constructor[t]=r);return[]}),[]})},_embind_register_class_class_property:(e,t,n,r,i,a,o,s)=>{t=e5(t),a=tM(i,a),tf([],[e],e=>{e=e[0];var i=`${e.name}.${t}`,l={get(){tO(`Cannot access ${i} due to unbound types`,[n])},enumerable:!0,configurable:!0};return l.set=s?()=>{tO(`Cannot access ${i} due to unbound types`,[n])}:()=>{throw new eW(`${i} is a read-only property`)},Object.defineProperty(e.i.constructor,t,l),tf([],[n],n=>{n=n[0];var i={get:()=>n.fromWireType(a(r)),enumerable:!0};return s&&(s=tM(o,s),i.set=e=>{var t=[];s(r,n.toWireType(t,e)),tu(t)}),Object.defineProperty(e.i.constructor,t,i),[]}),[]})},_embind_register_class_constructor:(e,t,n,r,i,a)=>{var o=tH(t,n);i=tM(r,i),tf([],[e],e=>{e=e[0];var n=`constructor ${e.name}`;if(void 0===e.i.Z&&(e.i.Z=[]),void 0!==e.i.Z[t-1])throw new eW(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.i.Z[t-1]=()=>{tO(`Cannot construct ${e.name} due to unbound types`,o)},tf([],o,r=>(r.splice(1,0,null),e.i.Z[t-1]=tR(n,r,null,i,a),[])),[]})},_embind_register_class_function:(e,t,n,r,i,a,o,s)=>{var l=tH(n,r);t=tV(t=e5(t)),a=tM(i,a),tf([],[e],e=>{function r(){tO(`Cannot call ${i} due to unbound types`,l)}e=e[0];var i=`${e.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.i.ob.push(t);var c=e.i.M,u=c[t];return void 0===u||void 0===u.A&&u.className!==e.name&&u.ga===n-2?(r.ga=n-2,r.className=e.n
1ame,c[t]=r):(tv(c,t,i),c[t].A[n-2]=r),tf([],l,r=>(r=tR(i,r,e,a,o),void 0===c[t].A?(r.ga=n-2,c[t]=r):c[t].A[n-2]=r,[])),[]})},_embind_register_class_property:(e,t,n,r,i,a,o,s,l,c)=>{t=e5(t),i=tM(r,i),tf([],[e],e=>{e=e[0];var r=`${e.name}.${t}`,u={get(){tO(`Cannot access ${r} due to unbound types`,[n,o])},enumerable:!0,configurable:!0};return u.set=l?()=>tO(`Cannot access ${r} due to unbound types`,[n,o]):()=>{throw new eW(r+" is a read-only property")},Object.defineProperty(e.i.M,t,u),tf([],l?[n,o]:[n],n=>{var o=n[0],u={get(){var t=t$(this,e,r+" getter");return o.fromWireType(i(a,t))},enumerable:!0};if(l){l=tM(s,l);var d=n[1];u.set=function(t){var n=t$(this,e,r+" setter"),i=[];l(c,n,d.toWireType(i,t)),tu(i)}}return Object.defineProperty(e.i.M,t,u),[]}),[]})},_embind_register_emval:e=>tm(e,tz),_embind_register_enum:(e,t,n,r)=>{function i(){}t=e5(t),i.values={},tm(e,{name:t,constructor:i,fromWireType:function(e){return this.constructor.values[e]},toWireType:(e,t)=>t.value,argPackAdvance:8,readValueFromPointer:tW(t,n,r),L:null}),tb(t,i)},_embind_register_enum_value:(e,t,n)=>{var r=tt(e,"enum");t=e5(t),e=r.constructor,r=Object.create(r.constructor.prototype,{value:{value:n},constructor:{value:eJ(`${r.name}_${t}`,function(){})}}),e.values[n]=r,e[t]=r},_embind_register_float:(e,t,n)=>{tm(e,{name:t=e5(t),fromWireType:e=>e,toWireType:(e,t)=>t,argPackAdvance:8,readValueFromPointer:tq(t,n),L:null})},_embind_register_function:(e,t,n,r,i,a)=>{var o=tH(t,n);e=tV(e=e5(e)),i=tM(r,i),tb(e,function(){tO(`Cannot call ${e} due to unbound types`,o)},t-1),tf([],o,n=>(t_(e,tR(e,[n[0],null].concat(n.slice(1)),null,i,a),t-1),[]))},_embind_register_integer:(e,t,n,r,i)=>{if(t=e5(t),-1===i&&(i=4294967295),i=e=>e,0===r){var a=32-8*n;i=e=>e<<a>>>a}var o=t.includes("unsigned")?function(e,t){return t>>>0}:function(e,t){return t};tm(e,{name:t,fromWireType:i,toWireType:o,argPackAdvance:8,readValueFromPointer:tK(t,n,0!==r),L:null})},_embind_register_memory_view:(e,t,n)=>{function r(e){return new i(w.buffer,S[e+4>>2],S[e>>2])}var i=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];tm(e,{name:n=e5(n),fromWireType:r,argPackAdvance:8,readValueFromPointer:r},{Sb:!0})},_embind_register_std_string:(e,t)=>{var n="std::string"===(t=e5(t));tm(e,{name:t,fromWireType:function(e){var t=S[e>>2],r=e+4;if(n)for(var i=r,a=0;a<=t;++a){var o=r+a;if(a==t||0==j[o]){if(i=i?en(j,i,o-i):"",void 0===s)var s=i;else s+="\0"+i;i=o+1}}else{for(a=0,s=Array(t);a<t;++a)s[a]=String.fromCharCode(j[r+a]);s=s.join("")}return nW(e),s},toWireType:function(e,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var r="string"==typeof t;if(!(r||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array))throw new eW("Cannot pass non-string to std::string");var i=n&&r?ei(t):t.length,a=nG(4+i+1),o=a+4;if(S[a>>2]=i,n&&r)ea(t,j,o,i+1);else if(r)for(r=0;r<i;++r){var s=t.charCodeAt(r);if(255<s)throw nW(o),new eW("String has UTF-16 code units that do not fit in 8 bits");j[o+r]=s}else for(r=0;r<i;++r)j[o+r]=t[r];return null!==e&&e.push(nW,a),a},argPackAdvance:8,readValueFromPointer:td,L(e){nW(e)}})},_embind_register_std_wstring:(e,t,n)=>{if(n=e5(n),2===t)var r=tX,i=tZ,a=tJ,o=e=>E[e>>1];else 4===t&&(r=tQ,i=t0,a=t1,o=e=>S[e>>2]);tm(e,{name:n,fromWireType:e=>{for(var n,i=S[e>>2],a=e+4,s=0;s<=i;++s){var l=e+4+s*t;(s==i||0==o(l))&&(a=r(a,l-a),void 0===n?n=a:n+="\0"+a,a=l+t)}return nW(e),n},toWireType:(e,r)=>{if("string"!=typeof r)throw new eW(`Cannot pass non-string to C++ string type ${n}`);var o=a(r),s=nG(4+o+t);return S[s>>2]=o/t,i(r,s+4,o+t),null!==e&&e.push(nW,s),s},argPackAdvance:8,readValueFromPointer:td,L(e){nW(e)}})},_embind_register_value_object:(e,t,n,r,i,a)=>{tc[e]={name:e5(t),Ta:tM(n,r),O:tM(i,a),eb:[]}},_embind_register_value_object_field:(e,t,n,r,i,a,o,s,l,c)=>{tc[e].eb.push({Lb:e5(t),Rb:n,Pb:tM(r,i),Qb:a,dc:o,cc:tM(s,l),ec:c})},_embind_register_void:(e,t)=>{tm(e,{Dc:!0,name:t=e5(t),argPackAdvance:0,fromWireType:()=>{},toWireType:()=>{}})},_emscripten_get_now_is_monotonic:()=>1,_emscripten_memcpy_js:(e,t,n)=>j.copyWithin(e,t,t+n),_emscripten_throw_longjmp:()=>{throw 1/0},_emval_as:(e,t,n)=>(e=e1(e),t2(t=tt(t,"emval::as"),n,e)),_emval_call_method:(e,t,n,r,i)=>(e=t4[e])(t=e1(t),t[n=t5(n)],r,i),_emval_decref:tU,_emval_get_method_caller:(e,t,n)=>{var r=t8(e,t),i=r.shift(),a=Array(--e);return t6(eJ(t=`methodCaller<(${r.map(e=>e.name).join(", ")}) => ${i.name}>`,(t,o,s,l)=>{for(var c=0,u=0;u<e;++u)a[u]=r[u].readValueFromPointer(l+c),c+=r[u].argPackAdvance;return t2(i,s,t=1===n?t7(o,a):o.apply(t,a))}))},_emval_get_property:(e,t)=>e2((e=e1(e))[t=e1(t)]),_emval_incref:e=>{9<e&&(e0[e+1]+=1)},_emval_new_array:()=>e2([]),_emval_new_cstring:e=>e2(t5(e)),_emval_new_object:()=>e2({}),_emval_run_destructors:e=>{tu(e1(e)),tU(e)},_emval_set_property:(e,t,n)=>{e=e1(e),t=e1(t),n=e1(n),e[t]=n},_emval_take_value:(e,t)=>
1e2(e=(e=tt(e,"_emval_take_value")).readValueFromPointer(t)),_gmtime_js:function(e,t,n){e=new Date(1e3*(t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN)),k[n>>2]=e.getUTCSeconds(),k[n+4>>2]=e.getUTCMinutes(),k[n+8>>2]=e.getUTCHours(),k[n+12>>2]=e.getUTCDate(),k[n+16>>2]=e.getUTCMonth(),k[n+20>>2]=e.getUTCFullYear()-1900,k[n+24>>2]=e.getUTCDay(),k[n+28>>2]=(e.getTime()-Date.UTC(e.getUTCFullYear(),0,1,0,0,0,0))/864e5|0},_localtime_js:function(e,t,n){e=new Date(1e3*(t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN)),k[n>>2]=e.getSeconds(),k[n+4>>2]=e.getMinutes(),k[n+8>>2]=e.getHours(),k[n+12>>2]=e.getDate(),k[n+16>>2]=e.getMonth(),k[n+20>>2]=e.getFullYear()-1900,k[n+24>>2]=e.getDay(),k[n+28>>2]=(t9(e.getFullYear())?ne:nt)[e.getMonth()]+e.getDate()-1|0,k[n+36>>2]=-(60*e.getTimezoneOffset()),t=new Date(e.getFullYear(),6,1).getTimezoneOffset();var r=new Date(e.getFullYear(),0,1).getTimezoneOffset();k[n+32>>2]=0|(t!=r&&e.getTimezoneOffset()==Math.min(r,t))},_tzset_js:(e,t,n,r)=>{var i=new Date().getFullYear(),a=new Date(i,0,1),o=new Date(i,6,1);i=a.getTimezoneOffset();var s=o.getTimezoneOffset();S[e>>2]=60*Math.max(i,s),k[t>>2]=Number(i!=s),a=(e=e=>e.toLocaleTimeString(void 0,{hour12:!1,timeZoneName:"short"}).split(" ")[1])(a),o=e(o),s<i?(ea(a,j,n,17),ea(o,j,r,17)):(ea(a,j,r,17),ea(o,j,n,17))},beginPixelLocalStorageWEBGL:function(t,n,r){(t=nf[t].C.ba)&&t.beginPixelLocalStorageWEBGL(e.HEAPU32.subarray(r,r+n))},decode_image:function(t,n,r){var i=e.images;i||(i=new Map,e.images=i);var a=new Image;i.set(t,a),n=e.HEAP8.subarray(n,n+r),(r=new Uint8Array(r)).set(n),a.src=URL.createObjectURL(new Blob([r],{type:"image/png"})),a.onload=function(){e._setWebImage(t,a.width,a.height)}},delete_image:function(t){var n=e.images;n&&n.get(t)&&n.delete(t)},emscripten_asm_const_int:(e,t,n)=>{nn.length=0;for(var r;r=j[t++];){var i=105!=r;i&=112!=r,n+=i&&n%8?4:0,nn.push(112==r?S[n>>2]:105==r?k[n>>2]:T[n>>3]),n+=i?8:4}return W[e](...nn)},emscripten_date_now:()=>Date.now(),emscripten_get_now:()=>performance.now(),emscripten_resize_heap:e=>{var t=j.length;if(2147483648<(e>>>=0))return!1;for(var n=1;4>=n;n*=2){var r=t*(1+.2/n);r=Math.min(r,e+100663296);var i=Math;r=Math.max(e,r);e:{i=(i.min.call(i,2147483648,r+(65536-r%65536)%65536)-x.buffer.byteLength+65535)/65536;try{x.grow(i),L();var a=1;break e}catch(e){}a=void 0}if(a)return!0}return!1},emscripten_webgl_enable_extension:(e,t)=>(e=nf[e],(t=t?en(j,t):"").startsWith("GL_")&&(t=t.substr(3)),"WEBGL_draw_instanced_base_vertex_base_instance"==t&&nr(nV),"WEBGL_multi_draw_instanced_base_vertex_base_instance"==t&&ni(nV),"WEBGL_multi_draw"==t&&(nV.Zb=nV.getExtension("WEBGL_multi_draw")),!!e.C.getExtension(t)),emscripten_webgl_get_current_context:()=>tB?tB.handle:0,emscripten_webgl_make_context_current:e=>nw(e)?0:-5,enable_WEBGL_provoking_vertex:function(e){return(e=nf[e].C).pb=e.getExtension("WEBGL_provoking_vertex"),!!e.pb},enable_WEBGL_shader_pixel_local_storage_coherent:function(e){return(e=nf[e].C).ba=e.getExtension("WEBGL_shader_pixel_local_storage"),!(!e.ba||!e.ba.isCoherent())},endPixelLocalStorageWEBGL:function(t,n,r){(t=nf[t].C.ba)&&t.endPixelLocalStorageWEBGL(e.HEAPU32.subarray(r,r+n))},environ_get:(e,t)=>{var n=0;return nE().forEach((r,i)=>{var a=t+n;for(i=S[e+4*i>>2]=a,a=0;a<r.length;++a)w[i++]=r.charCodeAt(a);w[i]=0,n+=r.length+1}),0},environ_sizes_get:(e,t)=>{var n=nE();S[e>>2]=n.length;var r=0;return n.forEach(e=>r+=e.length+1),S[t>>2]=r,0},fd_close:function(e){try{var t=eN(e);if(null===t.W)throw new eb(8);t.Qa&&(t.Qa=null);try{t.m.close&&t.m.close(t)}catch(e){throw e}finally{em[t.W]=null}return t.W=null,0}catch(e){if(void 0===eX||"ErrnoError"!==e.name)throw e;return e.$}},fd_read:function(e,t,n,r){try{e:{var i=eN(e);e=t;for(var a,o=t=0;o<n;o++){var s=S[e>>2],l=S[e+4>>2];e+=8;var c=a,u=w;if(0>l||0>c)throw new eb(28);if(null===i.W||1==(2097155&i.flags))throw new eb(8);if(16384==(61440&i.node.mode))throw new eb(31);if(!i.m.read)throw new eb(28);var d=void 0!==c;if(d){if(!i.seekable)throw new eb(70)}else c=i.position;var p=i.m.read(i,u,s,l,c);if(d||(i.position+=p),0>p){var h=-1;break e}if(t+=p,p<l)break;void 0!==a&&(a+=p)}h=t}return S[r>>2]=h,0}catch(e){if(void 0===eX||"ErrnoError"!==e.name)throw e;return e.$}},fd_seek:function(e,t,n,r,i){t=n+2097152>>>0<4194305-!!t?(t>>>0)+4294967296*n:NaN;try{if(isNaN(t))return 61;var a=eN(e);return eH(a,t,r),z=[a.position>>>0,(U=a.position,1<=+Math.abs(U)?0<U?+Math.floor(U/4294967296)>>>0:~~+Math.ceil((U-+(~~U>>>0))/4294967296)>>>0:0)],k[i>>2]=z[0],k[i+4>>2]=z[1],a.Qa&&0===t&&0===r&&(a.Qa=null),0}catch(e){if(void 0===eX||"ErrnoError"!==e.name)throw e;return e.$}},fd_write:function(e,t,n,r){try{e:{var i=eN(e);e=t;for(var a,o=t=0;o<n;o++){var s=S[e>>2],l=S[e+4>>2];e+=8;var c=a,u=w;if(0>l||0>c)throw new eb(28);if(null===i.W||0==(2097155&i.flags))throw new eb(8);
1if(16384==(61440&i.node.mode))throw new eb(31);if(!i.m.write)throw new eb(28);i.seekable&&1024&i.flags&&eH(i,0,2);var d=void 0!==c;if(d){if(!i.seekable)throw new eb(70)}else c=i.position;var p=i.m.write(i,u,s,l,c,void 0);if(d||(i.position+=p),0>p){var h=-1;break e}t+=p,void 0!==a&&(a+=p)}h=t}return S[r>>2]=h,0}catch(e){if(void 0===eX||"ErrnoError"!==e.name)throw e;return e.$}},framebufferPixelLocalClearValuefvWEBGL:function(e,t,n,r,i,a){(e=nf[e].C.ba)&&e.framebufferPixelLocalClearValuefvWEBGL(t,[n,r,i,a])},framebufferTexturePixelLocalStorageWEBGL:function(e,t,n,r,i){(e=nf[e].C.ba)&&e.framebufferTexturePixelLocalStorageWEBGL(t,nd[n],r,i)},getFramebufferPixelLocalStorageParameterivWEBGL:function(e,t,n){return(e=nf[e].C.ba)?e.getFramebufferPixelLocalStorageParameterWEBGL(t,n):0},glActiveTexture:e=>nV.activeTexture(e),glAttachShader:(e,t)=>{nV.attachShader(nl[e],np[t])},glBindBuffer:(e,t)=>{35051==e?nV.Na=t:35052==e&&(nV.Oa=t),nV.bindBuffer(e,ns[t])},glBindBufferRange:(e,t,n,r,i)=>{nV.bindBufferRange(e,t,ns[n],r,i)},glBindFramebuffer:(e,t)=>{nV.bindFramebuffer(e,nc[t])},glBindRenderbuffer:(e,t)=>{nV.bindRenderbuffer(e,nu[t])},glBindTexture:(e,t)=>{nV.bindTexture(e,nd[t])},glBindVertexArray:e=>{nV.bindVertexArray(nh[e])},glBlendEquation:e=>nV.blendEquation(e),glBlendFunc:(e,t)=>nV.blendFunc(e,t),glBlitFramebuffer:(e,t,n,r,i,a,o,s,l,c)=>nV.blitFramebuffer(e,t,n,r,i,a,o,s,l,c),glBufferData:(e,t,n,r)=>{n&&t?nV.bufferData(e,j,r,n,t):nV.bufferData(e,t,r)},glBufferSubData:(e,t,n,r)=>{n&&nV.bufferSubData(e,t,j,r,n)},glClear:e=>nV.clear(e),glClearBufferfv:(e,t,n)=>{nV.clearBufferfv(e,t,A,n>>2)},glClearBufferuiv:(e,t,n)=>{nV.clearBufferuiv(e,t,S,n>>2)},glClearColor:(e,t,n,r)=>nV.clearColor(e,t,n,r),glClearDepthf:e=>nV.clearDepth(e),glClearStencil:e=>nV.clearStencil(e),glColorMask:(e,t,n,r)=>{nV.colorMask(!!e,!!t,!!n,!!r)},glCompileShader:e=>{nV.compileShader(np[e])},glCreateProgram:()=>{var e=nv(nl),t=nV.createProgram();return t.name=e,t.za=t.xa=t.ya=0,t.Wa=1,nl[e]=t,e},glCreateShader:e=>{var t=nv(np);return np[t]=nV.createShader(e),t},glCullFace:e=>nV.cullFace(e),glDeleteBuffers:(e,t)=>{for(var n=0;n<e;n++){var r=k[t+4*n>>2],i=ns[r];i&&(nV.deleteBuffer(i),i.name=0,ns[r]=null,r==nV.Na&&(nV.Na=0),r==nV.Oa&&(nV.Oa=0))}},glDeleteFramebuffers:(e,t)=>{for(var n=0;n<e;++n){var r=k[t+4*n>>2],i=nc[r];i&&(nV.deleteFramebuffer(i),i.name=0,nc[r]=null)}},glDeleteProgram:e=>{if(e){var t=nl[e];t?(nV.deleteProgram(t),t.name=0,nl[e]=null):tD||=1281}},glDeleteRenderbuffers:(e,t)=>{for(var n=0;n<e;n++){var r=k[t+4*n>>2],i=nu[r];i&&(nV.deleteRenderbuffer(i),i.name=0,nu[r]=null)}},glDeleteShader:e=>{if(e){var t=np[e];t?(nV.deleteShader(t),np[e]=null):tD||=1281}},glDeleteTextures:(e,t)=>{for(var n=0;n<e;n++){var r=k[t+4*n>>2],i=nd[r];i&&(nV.deleteTexture(i),i.name=0,nd[r]=null)}},glDeleteVertexArrays:(e,t)=>{for(var n=0;n<e;n++){var r=k[t+4*n>>2];nV.deleteVertexArray(nh[r]),nh[r]=null}},glDepthFunc:e=>nV.depthFunc(e),glDepthMask:e=>{nV.depthMask(!!e)},glDepthRangef:(e,t)=>nV.depthRange(e,t),glDisable:e=>nV.disable(e),glDrawArrays:(e,t,n)=>{nV.drawArrays(e,t,n)},glDrawArraysInstanced:(e,t,n,r)=>{nV.drawArraysInstanced(e,t,n,r)},glDrawBuffers:(e,t)=>{for(var n=nk[e],r=0;r<e;r++)n[r]=k[t+4*r>>2];nV.drawBuffers(n)},glDrawElements:(e,t,n,r)=>{nV.drawElements(e,t,n,r)},glDrawElementsInstanced:(e,t,n,r,i)=>{nV.drawElementsInstanced(e,t,n,r,i)},glEnable:e=>nV.enable(e),glEnableVertexAttribArray:e=>{nV.enableVertexAttribArray(e)},glFlush:()=>nV.flush(),glFramebufferRenderbuffer:(e,t,n,r)=>{nV.framebufferRenderbuffer(e,t,n,nu[r])},glFramebufferTexture2D:(e,t,n,r,i)=>{nV.framebufferTexture2D(e,t,n,nd[r],i)},glFrontFace:e=>nV.frontFace(e),glGenBuffers:(e,t)=>{nb(e,t,"createBuffer",ns)},glGenFramebuffers:(e,t)=>{nb(e,t,"createFramebuffer",nc)},glGenRenderbuffers:(e,t)=>{nb(e,t,"createRenderbuffer",nu)},glGenTextures:(e,t)=>{nb(e,t,"createTexture",nd)},glGenVertexArrays:(e,t)=>{nb(e,t,"createVertexArray",nh)},glGenerateMipmap:e=>nV.generateMipmap(e),glGetError:()=>{var e=nV.getError()||tD;return tD=0,e},glGetIntegerv:(e,t)=>nA(e,t),glGetProgramiv:(e,t,n)=>{if(n){if(e>=no)tD||=1281;else if(e=nl[e],35716==t)null===(e=nV.getProgramInfoLog(e))&&(e="(unknown error)"),k[n>>2]=e.length+1;else if(35719==t){if(!e.za)for(t=0;
1t<nV.getProgramParameter(e,35718);++t)e.za=Math.max(e.za,nV.getActiveUniform(e,t).name.length+1);k[n>>2]=e.za}else if(35722==t){if(!e.xa)for(t=0;t<nV.getProgramParameter(e,35721);++t)e.xa=Math.max(e.xa,nV.getActiveAttrib(e,t).name.length+1);k[n>>2]=e.xa}else if(35381==t){if(!e.ya)for(t=0;t<nV.getProgramParameter(e,35382);++t)e.ya=Math.max(e.ya,nV.getActiveUniformBlockName(e,t).length+1);k[n>>2]=e.ya}else k[n>>2]=nV.getProgramParameter(e,t)}else tD||=1281},glGetString:e=>{var t=nm[e];if(!t){switch(e){case 7939:t=nT(nS().join(" "));break;case 7936:case 7937:case 37445:case 37446:(t=nV.getParameter(e))||(tD||=1280),t=t?nT(t):0;break;case 7938:t=nT(`OpenGL ES 3.0 (${nV.getParameter(7938)})`);break;case 35724:var n=(t=nV.getParameter(35724)).match(/^WebGL GLSL ES ([0-9]\.[0-9][0-9]?)(?:$| .*)/);null!==n&&(3==n[1].length&&(n[1]+="0"),t=`OpenGL ES GLSL ES ${n[1]} (${t})`),t=nT(t);break;default:tD||=1280}nm[e]=t}return t},glGetUniformBlockIndex:(e,t)=>nV.getUniformBlockIndex(nl[e],t?en(j,t):""),glGetUniformLocation:(e,t)=>{if(t=t?en(j,t):"",e=nl[e]){var n,r=e,i=r.na,a=r.wb;if(!i)for(r.na=i={},r.vb={},n=0;n<nV.getProgramParameter(r,35718);++n){var o=nV.getActiveUniform(r,n),s=o.name;o=o.size;var l=n_(s);l=0<l?s.slice(0,l):s;var c=r.Wa;for(r.Wa+=o,a[l]=[o,c],s=0;s<o;++s)i[c]=s,r.vb[c++]=l}if(r=e.na,i=0,a=t,0<(n=n_(t))&&(i=parseInt(t.slice(n+1))>>>0,a=t.slice(0,n)),(a=e.wb[a])&&i<a[0]&&(r[i+=a[1]]=r[i]||nV.getUniformLocation(e,t)))return i}else tD||=1281;return -1},glInvalidateFramebuffer:(e,t,n)=>{for(var r=nk[t],i=0;i<t;i++)r[i]=k[n+4*i>>2];nV.invalidateFramebuffer(e,r)},glLinkProgram:e=>{e=nl[e],nV.linkProgram(e),e.na=0,e.wb={}},glPixelStorei:(e,t)=>{3317==e?ng=t:3314==e&&(ny=t),nV.pixelStorei(e,t)},glReadPixels:(e,t,n,r,i,a,o)=>{if(nV.Na)nV.readPixels(e,t,n,r,i,a,o);else{var s=nL(a);o>>>=31-Math.clz32(s.BYTES_PER_ELEMENT),nV.readPixels(e,t,n,r,i,a,s,o)}},glRenderbufferStorageMultisample:(e,t,n,r,i)=>nV.renderbufferStorageMultisample(e,t,n,r,i),glScissor:(e,t,n,r)=>nV.scissor(e,t,n,r),glShaderSource:(e,t,n,r)=>{for(var i="",a=0;a<t;++a){var o=(o=S[n+4*a>>2])?en(j,o,r?S[r+4*a>>2]:void 0):"";i+=o}nV.shaderSource(np[e],i)},glStencilFunc:(e,t,n)=>nV.stencilFunc(e,t,n),glStencilFuncSeparate:(e,t,n,r)=>nV.stencilFuncSeparate(e,t,n,r),glStencilMask:e=>nV.stencilMask(e),glStencilOp:(e,t,n)=>nV.stencilOp(e,t,n),glStencilOpSeparate:(e,t,n,r)=>nV.stencilOpSeparate(e,t,n,r),glTexParameteri:(e,t,n)=>nV.texParameteri(e,t,n),glTexStorage2D:(e,t,n,r,i)=>nV.texStorage2D(e,t,n,r,i),glTexStorage3D:(e,t,n,r,i,a)=>nV.texStorage3D(e,t,n,r,i,a),glTexSubImage2D:(e,t,n,r,i,a,o,s,l)=>{if(nV.Oa)nV.texSubImage2D(e,t,n,r,i,a,o,s,l);else if(l){var c=nL(s);nV.texSubImage2D(e,t,n,r,i,a,o,s,c,l>>>31-Math.clz32(c.BYTES_PER_ELEMENT))}else{if(l){c=nL(s);var u=a*((ny||i)*(({5:3,6:4,8:2,29502:3,29504:4,26917:2,26918:2,29846:3,29847:4})[o-6402]||1)*c.BYTES_PER_ELEMENT+ng-1&-ng);l=c.subarray(l>>>31-Math.clz32(c.BYTES_PER_ELEMENT),l+u>>>31-Math.clz32(c.BYTES_PER_ELEMENT))}else l=null;nV.texSubImage2D(e,t,n,r,i,a,o,s,l)}},glUniform1i:(e,t)=>{var n=nV,r=n.uniform1i,i=nV.Hb;if(i){var a=i.na[e];"number"==typeof a&&(i.na[e]=a=nV.getUniformLocation(i,i.vb[e]+(0<a?`[${a}]`:""))),e=a}else tD||=1282,e=void 0;r.call(n,e,t)},glUniformBlockBinding:(e,t,n)=>{e=nl[e],nV.uniformBlockBinding(e,t,n)},glUseProgram:e=>{e=nl[e],nV.useProgram(e),nV.Hb=e},glVertexAttribDivisor:(e,t)=>{nV.vertexAttribDivisor(e,t)},glVertexAttribIPointer:(e,t,n,r,i)=>{nV.vertexAttribIPointer(e,t,n,r,i)},glVertexAttribPointer:(e,t,n,r,i,a)=>{nV.vertexAttribPointer(e,t,n,!!r,i,a)},glViewport:(e,t,n,r)=>nV.viewport(e,t,n,r),invoke_vii:function(e,t,n){var r=nQ();try{tN(e)(t,n)}catch(e){if(nJ(r),e!==e+0)throw e;nZ(1,0)}},isWindowsBrowser:function(){return -1<navigator.platform.indexOf("Win")},provokingVertexWEBGL:function(e,t){(e=nf[e].C.pb)&&e.provokingVertexWEBGL(t)},strftime:nI,strftime_l:(e,t,n,r)=>nI(e,t,n,r),upload_image:function(t,n){var r=e.images;r&&(n=r.get(n))&&((t=nf[t].C).pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,n),t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!1))}},nz=function(){function t(t){return x=(nz=t.exports).memory,L(),tA=nz.__indirect_function_table,P.unshift(nz.__wasm_call_ctors),M--,e.monitorRunDependencies?.(M),0==M&&(null!==O&&(clearInterval(O),O=null),R&&(t=R,R=null,t())),nz}var n,r={env:nU,wasi_snapshot_preview1:nU};if(M++,e.monitorRunDependencies?.(M),e.instantiateWasm)try{return e.instantiateWasm(r,t)}catch(e){v(`Module.instantiateWasm callback failed with error: ${e}`),i(e)}return B||=F("webgl2_advanced.wasm")?"webgl2_advanced.wasm":e.locateFile?e.locateFile("webgl2_advanced.wasm",g):g+"webgl2_advanced.wasm",(n=function(e){t(e.instance)},b||"function"!=typeof WebAssembly.instantiateStreaming||F(B)||H(B)||"function"!=typeof fetch?$(B,r,n):fetch(B,{credentials:"same-origin"}).then(e=>WebAssembly.instantiateStreaming(e,r).then(n,function(e){return v(`wasm streaming compile failed: ${e}`),v("falling back to ArrayBuffer instantiation"),$(B,r,n)}))).catch(i),{}}(),nW=e=>(nW=nz.free)(e),nG=e=>(nG=nz.malloc)(e);e._setWebImage=(t,n,r)=>(e._setWebImage=nz.setWebImage)(t,n,r);var nq=e=>(nq=nz.__getTypeName)(e),nK=e._ma_device__on_notification_unlocked=t=>(nK=e._ma_device__on_notification_unlocked=nz.ma_device__on_notification_unlocked)(t);e._ma_malloc_emscripten=(t,n)=>(e._ma_malloc_emscripten=nz.ma_malloc_emscripten)(t,n),e._ma_free_emscripten=(t,n)=>(e._ma_free_emscripten=nz.ma_free_emscripten)(t,n);var nY=e._ma_device_process_pcm_frames_capture__webaudio=(t,n,r)=>(nY=e._ma_device_process_pcm_frames_capture__webaudio=nz.ma_device_process_pcm_frames_capture__webaudio)(t,n,r),nX=e._ma_device_process_pcm_frames_playback__webaudio=(t,n,r)=>(nX=e._ma_device_process_pcm_frames_playback__webaudio=nz.ma_device_process_pcm_frames_playback__webaudio)(t,n,r),nZ=(e,t)=>(nZ=nz.setThrew)(e,t),nJ=e=>(nJ=nz._emscripten_stack_restore)(e),nQ=()=>(nQ=nz.emscripten_stack_get_current)();function n0(){function r(){if(!t&&(t=!0,e.calledRun=!0,!_)){if(e.noFSInit||e$||(e$=!0,e.stdin=e.stdin,e.stdout=e.stdout,e.stderr=e.stderr,e.stdin?eV("stdin",e.stdin):eB("/dev/tty","/dev/stdin"),e.stdout?eV("stdout",null,e.stdout):eB("/dev/tty","/dev/stdout"),e.stderr?eV("stderr",null,e.stderr):eB("/dev/tty1","/dev/stderr"),eF("/dev/stdin",0),eF("/dev/stdout",1),eF("/dev/stderr",1)),ev=!1,G(P),n(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;){var r=e.postRun.shift();I.unshift(r)}G(I)}}if(!(0<M)){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)!function(){var t=e.preRun.shift();
1N.unshift(t)}();G(N),0<M||(e.setStatus?(e.setStatus("Running..."),setTimeout(function(){setTimeout(function(){e.setStatus("")},1),r()},1)):r())}}if(e.dynCall_iiiji=(t,n,r,i,a,o)=>(e.dynCall_iiiji=nz.dynCall_iiiji)(t,n,r,i,a,o),e.dynCall_iij=(t,n,r,i)=>(e.dynCall_iij=nz.dynCall_iij)(t,n,r,i),e.dynCall_iiji=(t,n,r,i,a)=>(e.dynCall_iiji=nz.dynCall_iiji)(t,n,r,i,a),e.dynCall_jii=(t,n,r)=>(e.dynCall_jii=nz.dynCall_jii)(t,n,r),e.dynCall_vijj=(t,n,r,i,a,o)=>(e.dynCall_vijj=nz.dynCall_vijj)(t,n,r,i,a,o),e.dynCall_jiji=(t,n,r,i,a)=>(e.dynCall_jiji=nz.dynCall_jiji)(t,n,r,i,a),e.dynCall_viijii=(t,n,r,i,a,o,s)=>(e.dynCall_viijii=nz.dynCall_viijii)(t,n,r,i,a,o,s),e.dynCall_iiiiij=(t,n,r,i,a,o,s)=>(e.dynCall_iiiiij=nz.dynCall_iiiiij)(t,n,r,i,a,o,s),e.dynCall_iiiiijj=(t,n,r,i,a,o,s,l,c)=>(e.dynCall_iiiiijj=nz.dynCall_iiiiijj)(t,n,r,i,a,o,s,l,c),e.dynCall_iiiiiijj=(t,n,r,i,a,o,s,l,c,u)=>(e.dynCall_iiiiiijj=nz.dynCall_iiiiiijj)(t,n,r,i,a,o,s,l,c,u),R=function e(){t||n0(),t||(R=e)},e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);0<e.preInit.length;)e.preInit.pop()();return n0(),a})},e=>{e.exports=JSON.parse('{"name":"@rive-app/webgl2","version":"2.35.0","description":"Rive\'s webgl2 based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <[email protected]> (https://rive.app)","Maxwell Talbot <[email protected]> (https://rive.app)","Arthur Vivian <[email protected]> (https://rive.app)","Umberto Sonnino <[email protected]> (https://rive.app)","Matthew Sullivan <[email protected]> (mailto:[email protected])","Chris Dalton <[email protected]> (https://rive.app)"],"license":"MIT","files":["rive.js","rive.wasm","rive.js.map","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}')},(e,t,n)=>{n.r(t),n.d(t,{Animation:()=>r.Animation});var r=n(4)},(e,t,n)=>{n.r(t),n.d(t,{Animation:()=>r});var r=function(){function e(e,t,n,r){this.animation=e,this.artboard=t,this.playing=r,this.loopCount=0,this.scrubTo=null,this.instance=new n.LinearAnimationInstance(e,t)}return Object.defineProperty(e.prototype,"name",{get:function(){return this.animation.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this.instance.time},set:function(e){this.instance.time=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"loopValue",{get:function(){return this.animation.loopValue},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"needsScrub",{get:function(){return null!==this.scrubTo},enumerable:!1,configurable:!0}),e.prototype.advance=function(e){null===this.scrubTo?this.instance.advance(e):(this.instance.time=0,this.instance.advance(this.scrubTo),this.scrubTo=null)},e.prototype.apply=function(e){this.instance.apply(e)},e.prototype.cleanup=function(){this.instance.delete()},e}()},(e,t,n)=>{n.r(t),n.d(t,{AudioAssetWrapper:()=>a.AudioAssetWrapper,AudioWrapper:()=>a.AudioWrapper,BLANK_URL:()=>i.BLANK_URL,CustomFileAssetLoaderWrapper:()=>a.CustomFileAssetLoaderWrapper,FileAssetWrapper:()=>a.FileAssetWrapper,FileFinalizer:()=>a.FileFinalizer,FontAssetWrapper:()=>a.FontAssetWrapper,FontWrapper:()=>a.FontWrapper,ImageAssetWrapper:()=>a.ImageAssetWrapper,ImageWrapper:()=>a.ImageWrapper,createFinalization:()=>a.createFinalization,finalizationRegistry:()=>a.finalizationRegistry,registerTouchInteractions:()=>r.registerTouchInteractions,sanitizeUrl:()=>i.sanitizeUrl});var r=n(6),i=n(7),a=n(8)},(e,t,n)=>{n.r(t),n.d(t,{registerTouchInteractions:()=>a});var r=void 0,i=function(e,t,n){var r,i,a=[];if(["touchstart","touchmove"].indexOf(e.type)>-1&&(null===(r=e.changedTouches)||void 0===r?void 0:r.length)){t||e.preventDefault();for(var o=0,s=n?e.changedTouches.length:1;o<s;){var l=e.changedTouches[o];a.push({clientX:l.clientX,clientY:l.clientY,identifier:l.identifier}),o++}}else if("touchend"===e.type&&(null===(i=e.changedTouches)||void 0===i?void 0:i.length))for(var o=0,s=n?e.changedTouches.length:1;o<s;){var l=e.changedTouches[o];a.push({clientX:l.clientX,clientY:l.clientY,identifier:l.identifier}),o++}else a.push({clientX:e.clientX,clientY:e.clientY,identifier:0});return a},a=function(e){var t=e.canvas,n=e.artboard,a=e.stateMachines,o=void 0===a?[]:a,s=e.renderer,l=e.rive,c=e.fit,u=e.alignment,d=e.isTouchScrollEnabled,p=void 0!==d&&d,h=e.dispatchPointerExit,f=void 0===h||h,m=e.enableMultiTouch,g=void 0!==m&&m,y=e.layoutScaleFactor,v=void 0===y?1:y;if(!t||!o.length||!s||!l||!n||"undefined"==typeof window)return null;var b=null,x=!1,w=(function(e){if(x&&e instanceof MouseEvent){"mouseup"==e.type&&(x=!1);return}x=p&&"touchend"===e.type&&"touchstart"===b,b=e.type;var t=e.currentTarget.getBoundingClientRect(),r=i(e,p,g),a=l.computeAlignment(c,u,{minX:0,minY:0,maxX:t.width,maxY:t.height},n.bounds,v),s=new l.Mat2D;switch(a.invert(s),r.forEach(function(e){var n=e.clientX,r=e.clientY;if(n||r){var i=n-t.left,a=r-t.top,o=new l.Vec2D(i,a),c=l.mapXY(s,o),u=c.x(),d=c.y();e.transformedX=u,e.transformedY=d,c.delete(),o.delete()}}),s.delete(),a.delete(),e.type){case"mouseout":for(var d=function(e){f?r.forEach(function(t){e.pointerExit(t.transformedX,t.transformedY,t.identifier)}):r.forEach(function(t){e.pointerMove(t.transformedX,t.transformedY,t.identifier)})},h=0;h<o.length;h++){var m=o[h];d(m)}break;case"touchmove":case"mouseover":case"mousemove":for(var y=function(e){r.forEach(function(t){e.pointerMove(t.transformedX,t.transformedY,t.identifier)})},w=0;w<o.length;w++){var m=o[w];y(m)}break;case"touchstart":case"mousedown":for(var j=function(e){r.forEach(function(t){e.pointerDown(t.transformedX,t.transformedY,t.identifier)})},C=0;C<o.length;C++){var m=o[C];j(m)}break;case"touchend":for(var E=function(e){r.forEach(function(t){e.pointerUp(t.transformedX,t.transformedY,t.identifier),e.pointerExit(t.transformedX,t.transformedY,t.identifier)})},k=0;k<o.length;k++){var m=o[k];E(m)}break;case"mouseup":for(var S=function(e){r.forEach(function(t){e.pointerUp(t.transformedX,t.transformedY,t.identifier)})},A=0;A<o.length;A++){var m=o[A];S(m)}}}).bind(r);return t.addEventListener("mouseover",w),t.addEventListener("mouseout",w),t.addEventListener("mousemove",w),t.addEventListener("mousedown",w),t.addEventListener("mouseup",w),t.addEventListener("touchmove",w,{passive:p}),t.addEventListener("touchstart",w,{passive:p}),t.addEventListener("touchend",w),function(){t.removeEventListener("mouseover",w),t.removeEventListener("mouseout",w),t.removeEventListener("mousemove",w),t.removeEventListener("mousedown",w),t.removeEventListener("mouseup",w),t.removeEventListener("touchmove",w),t.removeEventListener("touchstart",w),t.removeEventListener("touchend",w)}}},(e,t,n)=>{n.r(t),n.d(t,{BLANK_URL:()=>c,sanitizeUrl:()=>u});var r=/^([^\w]*)(javascript|data|vbscript)/im,i=/&#(\w+)(^\w|;)?/g,a=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,s=/^.+(:|:)/gim,l=[".","/"],c="about:blank";function u(e){if(!e)return c;var t=e.replace(o,"").replace(i,function(e,t){return String.fromCharCode(t)}).replace(a,"").replace(o,"").trim();if(!t)return c;if(l.indexOf(t[0])>-1)return t;var n=t.match(s);if(!n)return t;var u=n[0];return r.test(u)?c:t}},(e,t,n)=>{n.r(t),n.d(t,{AudioAssetWrapper:()=>f,AudioWrapper:()=>c,CustomFileAssetLoaderWrapper:()=>d,FileAssetWrapper:()=>p,FileFinalizer:()=>a,FontAssetWrapper:()=>m,FontWrapper:()=>u,ImageAssetWrapper:()=>h,ImageWrapper:()=>l,createFinalization:()=>v,finalizationRegistry:()=>y});var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){function e(e){this.selfUnref=!1,this._file=e}return e.prototype.unref=function(){this._file&&this._file.unref()},e}(),o=function(){function e(e){this._finalizableObject=e}return e.prototype.unref=function(){this._finalizableObject.unref()},e}(),s=function(){function e(){this.selfUnref=!1}return e.prototype.unref=function(){},e}(),l=function(e){function t(t){var n=e.call(this)||this;return n._nativeImage=t,n}return i(t,e),Object.defineProperty(t.prototype,"nativeImage",{get:function(){return this._nativeImage},enumerable:!1,configurable:!0}),t.prototype.unref=function(){this.selfUnref&&this._nativeImage.unref()},t}(s),c=function(e){function t(t){var n=e.call(this)||this;return n._nativeAudio=t,n}return i(t,e),Object.defineProperty(t.prototype,"nativeAudio",{get:function(){return this._nativeAudio},enumerable:!1,configurable:!0}),t.prototype.unref=function(){this.selfUnref&&this._nativeAudio.unref()},t}(s),u=function(e){function t(t){var n=e.call(this)||this;return n._nativeFont=t,n}return i(t,e),Object.defineProperty(t.prototype,"nativeFont",{get:function(){return this._nativeFont},enumerable:!1,configurable:!0}),t.prototype.unref=function(){this.selfUnref&&this._nativeFont.unref()},t}(s),d=function(){function e(e,t){this._assetLoaderCallback=t,this.assetLoader=new e.CustomFileAssetLoader({loadContents:this.loadContents.bind(this)})}return e.prototype.loadContents=function(e,t){var n;return e.isImage?n=new h(e):e.isAudio?n=new f(e):e.isFont&&(n=new m(e)),this._assetLoaderCallback(n,t)},e}(),p=function(){function e(e){this._nativeFileAsset=e}return e.prototype.decode=function(e){this._nativeFileAsset.decode(e)},Object.defineProperty(e.prototype,"name",{get:function(){return this._nativeFileAsset.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fileExtension",{get:function(){return this._nativeFileAsset.fileExtension},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"uniqueFilename",{get:function(){return this._nativeFileAsset.uniqueFilename},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAudio",{get:function(){return this._nativeFileAsset.isAudio},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isImage",{get:function(){return this._nativeFileAsset.isImage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isFont",{get:function(){return this._nativeFileAsset.isFont},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cdnUuid",{get:function(){return this._nativeFileAsset.cdnUuid},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nativeFileAsset",{get:function(){return this._nativeFileAsset},enumerable:!1,configurable:!0}),e}(),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setRenderImage=function(e){this._nativeFileAsset.setRenderImage(e.nativeImage)},t}(p),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setAudioSource=function(e){this._nativeFileAsset.setAudioSource(e.nativeAudio)},t}(p),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setFont=function(e){this._nativeFileAsset.setFont(e.nativeFont)},t}(p),g=function(){function e(e){}return e.prototype.register=function(e){e.selfUnref=!0},e.prototype.unregister=function(e){},e}(),y=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:g)(function(e){null==e||e.unref()}),v=function(e,t){var n=new o(t);y.register(e,n)}}],ed={};function ep(e){var t=ed[e];if(void 0!==t)return t.exports;var n=ed[e]={exports:{}};return eu[e](n,n.exports,ep),n.exports}ep.d=(e,t)=>{for(var n in t)ep.o(t,n)&&!ep.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},ep.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),ep.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
1),Object.defineProperty(e,"__esModule",{value:!0})};var eh={};return ep.r(eh),ep.d(eh,{Alignment:()=>t,DataEnum:()=>W,DrawOptimizationOptions:()=>n,EventType:()=>a,Fit:()=>e,Layout:()=>C,LoopType:()=>o,Rive:()=>U,RiveEventType:()=>i,RiveFile:()=>$,RuntimeLoader:()=>E,StateMachineInput:()=>S,StateMachineInputType:()=>r,Testing:()=>eo,ViewModel:()=>z,ViewModelInstance:()=>q,ViewModelInstanceArtboard:()=>er,ViewModelInstanceAssetImage:()=>en,ViewModelInstanceBoolean:()=>Z,ViewModelInstanceColor:()=>et,ViewModelInstanceEnum:()=>Q,ViewModelInstanceList:()=>ee,ViewModelInstanceNumber:()=>X,ViewModelInstanceString:()=>Y,ViewModelInstanceTrigger:()=>J,ViewModelInstanceValue:()=>K,decodeAudio:()=>es,decodeFont:()=>ec,decodeImage:()=>el}),c=ep(1),u=ep(2),d=ep(3),p=ep(5),h=function(e,t){return(h=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},f=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},m=function(){return(m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},g=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},y=function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},v=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isHandledError=!0,t}return f(t,e),t}(Error),(x=e||(e={})).Cover="cover",x.Contain="contain",x.Fill="fill",x.FitWidth="fitWidth",x.FitHeight="fitHeight",x.None="none",x.ScaleDown="scaleDown",x.Layout="layout",(w=t||(t={})).Center="center",w.TopLeft="topLeft",w.TopCenter="topCenter",w.TopRight="topRight",w.CenterLeft="centerLeft",w.CenterRight="centerRight",w.BottomLeft="bottomLeft",w.BottomCenter="bottomCenter",w.BottomRight="bottomRight",(j=n||(n={})).AlwaysDraw="alwaysDraw",j.DrawOnChanged="drawOnChanged",C=function(){function n(n){var r,i,a,o,s,l,c;this.fit=null!==(r=null==n?void 0:n.fit)&&void 0!==r?r:e.Contain,this.alignment=null!==(i=null==n?void 0:n.alignment)&&void 0!==i?i:t.Center,this.layoutScaleFactor=null!==(a=null==n?void 0:n.layoutScaleFactor)&&void 0!==a?a:1,this.minX=null!==(o=null==n?void 0:n.minX)&&void 0!==o?o:0,this.minY=null!==(s=null==n?void 0:n.minY)&&void 0!==s?s:0,this.maxX=null!==(l=null==n?void 0:n.maxX)&&void 0!==l?l:0,this.maxY=null!==(c=null==n?void 0:n.maxY)&&void 0!==c?c:0}return n.new=function(e){var t=e.fit,r=e.alignment,i=e.minX,a=e.minY,o=e.maxX,s=e.maxY;return console.warn("This function is deprecated: please use `new Layout({})` instead"),new n({fit:t,alignment:r,minX:i,minY:a,maxX:o,maxY:s})},n.prototype.copyWith=function(e){var t=e.fit,r=e.alignment,i=e.layoutScaleFactor,a=e.minX,o=e.minY,s=e.maxX,l=e.maxY;return new n({fit:null!=t?t:this.fit,alignment:null!=r?r:this.alignment,layoutScaleFactor:null!=i?i:this.layoutScaleFactor,minX:null!=a?a:this.minX,minY:null!=o?o:this.minY,maxX:null!=s?s:this.maxX,maxY:null!=l?l:this.maxY})},n.prototype.runtimeFit=function(t){var n;return this.cachedRuntimeFit?this.cachedRuntimeFit:(n=this.fit===e.Cover?t.Fit.cover:this.fit===e.Contain?t.Fit.contain:this.fit===e.Fill?t.Fit.fill:this.fit===e.FitWidth?t.Fit.fitWidth:this.fit===e.FitHeight?t.Fit.fitHeight:this.fit===e.ScaleDown?t.Fit.scaleDown:this.fit===e.Layout?t.Fit.layout:t.Fit.none,this.cachedRuntimeFit=n,n)},n.prototype.runtimeAlignment=function(e){var n;return this.cachedRuntimeAlignment?this.cachedRuntimeAlignment:(n=this.alignment===t.TopLeft?e.Alignment.topLeft:this.alignment===t.TopCenter?e.Alignment.topCenter:this.alignment===t.TopRight?e.Alignment.topRight:this.alignment===t.CenterLeft?e.Alignment.centerLeft:this.alignment===t.CenterRight?e.Alignment.centerRight:this.alignment===t.BottomLeft?e.Alignment.bottomLeft:this.alignment===t.BottomCenter?e.Alignment.bottomCenter:this.alignment===t.BottomRight?e.Alignment.bottomRight:e.Alignment.center,this.cachedRuntimeAlignment=n,n)},n}(),E=function(){function e(){}return e.loadRuntime=function(){c.default({locateFile:function(){return e.wasmURL}
1}).then(function(t){var n;for(e.runtime=t;e.callBackQueue.length>0;)null===(n=e.callBackQueue.shift())||void 0===n||n(e.runtime)}).catch(function(t){var n={message:(null==t?void 0:t.message)||"Unknown error",type:(null==t?void 0:t.name)||"Error",wasmError:t instanceof WebAssembly.CompileError||t instanceof WebAssembly.RuntimeError,originalError:t};console.debug("Rive WASM load error details:",n);var r="https://cdn.jsdelivr.net/npm/".concat(u.name,"@").concat(u.version,"/rive_fallback.wasm");e.wasmURL.toLowerCase()!==r?(console.warn("Failed to load WASM from ".concat(e.wasmURL," (").concat(n.message,"), trying jsdelivr as a backup")),e.setWasmUrl(r),e.loadRuntime()):console.error(["Could not load Rive WASM file from ".concat(e.wasmURL," or ").concat(r,"."),"Possible reasons:","- Network connection is down","- WebAssembly is not supported in this environment","- The WASM file is corrupted or incompatible","\nError details:","- Type: ".concat(n.type),"- Message: ".concat(n.message),"- WebAssembly-specific error: ".concat(n.wasmError),"\nTo resolve, you may need to:","1. Check your network connection","2. Set a new WASM source via RuntimeLoader.setWasmUrl()","3. Call RuntimeLoader.loadRuntime() again"].join("\n"))})},e.getInstance=function(t){e.isLoading||(e.isLoading=!0,e.loadRuntime()),e.runtime?t(e.runtime):e.callBackQueue.push(t)},e.awaitInstance=function(){return new Promise(function(t){return e.getInstance(function(e){return t(e)})})},e.setWasmUrl=function(t){e.wasmURL=t},e.getWasmUrl=function(){return e.wasmURL},e.isLoading=!1,e.callBackQueue=[],e.wasmURL="https://unpkg.com/".concat(u.name,"@").concat(u.version,"/rive.wasm"),e}(),(k=r||(r={}))[k.Number=56]="Number",k[k.Trigger=58]="Trigger",k[k.Boolean=59]="Boolean",S=function(){function e(e,t){this.type=e,this.runtimeInput=t}return Object.defineProperty(e.prototype,"name",{get:function(){return this.runtimeInput.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.runtimeInput.value},set:function(e){this.runtimeInput.value=e},enumerable:!1,configurable:!0}),e.prototype.fire=function(){this.type===r.Trigger&&this.runtimeInput.fire()},e.prototype.delete=function(){this.runtimeInput=null},e}(),(A=i||(i={}))[A.General=128]="General",A[A.OpenUrl=131]="OpenUrl",_=function(e){function t(t,n){var r=e.call(this,!1)||this;return r.nativeArtboard=t,r.file=n,r}return f(t,e),t}(T=function(e){this.isBindableArtboard=!1,this.isBindableArtboard=e}),L=function(e){function t(t){var n=e.call(this,!0)||this;return n.selfUnref=!1,n.nativeArtboard=t,n}return f(t,e),Object.defineProperty(t.prototype,"viewModel",{set:function(e){this.nativeViewModel=e.nativeInstance},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){var e;this.selfUnref&&(this.nativeArtboard.unref(),null===(e=this.nativeViewModel)||void 0===e||e.unref())},t}(T),N=function(){function e(e,t,n,r){this.stateMachine=e,this.playing=n,this.artboard=r,this.inputs=[],this.instance=new t.StateMachineInstance(e,r),this.initInputs(t)}return Object.defineProperty(e.prototype,"name",{get:function(){return this.stateMachine.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"statesChanged",{get:function(){for(var e=[],t=0;t<this.instance.stateChangedCount();t++)e.push(this.instance.stateChangedNameByIndex(t));return e},enumerable:!1,configurable:!0}),e.prototype.advance=function(e){this.instance.advance(e)},e.prototype.advanceAndApply=function(e){this.instance.advanceAndApply(e)},e.prototype.reportedEventCount=function(){return this.instance.reportedEventCount()},e.prototype.reportedEventAt=function(e){return this.instance.reportedEventAt(e)},e.prototype.initInputs=function(e){for(var t=0;t<this.instance.inputCount();t++){var n=this.instance.input(t);this.inputs.push(this.mapRuntimeInput(n,e))}},e.prototype.mapRuntimeInput=function(e,t){return e.type===t.SMIInput.bool?new S(r.Boolean,e.asBool()):e.type===t.SMIInput.number?new S(r.Number,e.asNumber()):e.type===t.SMIInput.trigger?new S(r.Trigger,e.asTrigger()):void 0}
1,e.prototype.cleanup=function(){this.inputs.forEach(function(e){e.delete()}),this.inputs.length=0,this.instance.delete()},e.prototype.bindViewModelInstance=function(e){null!=e.runtimeInstance&&this.instance.bindViewModelInstance(e.runtimeInstance)},e}(),P=function(){function e(e,t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i=[]),this.runtime=e,this.artboard=t,this.eventManager=n,this.animations=r,this.stateMachines=i}return e.prototype.add=function(e,t,n){if(void 0===n&&(n=!0),0===(e=ea(e)).length)this.animations.forEach(function(e){return e.playing=t}),this.stateMachines.forEach(function(e){return e.playing=t});else for(var r=this.animations.map(function(e){return e.name}),i=this.stateMachines.map(function(e){return e.name}),o=0;o<e.length;o++){var s=r.indexOf(e[o]),l=i.indexOf(e[o]);if(s>=0||l>=0)s>=0?this.animations[s].playing=t:this.stateMachines[l].playing=t;else{var c=this.artboard.animationByName(e[o]);if(c){var u=new d.Animation(c,this.artboard,this.runtime,t);u.advance(0),u.apply(1),this.animations.push(u)}else{var p=this.artboard.stateMachineByName(e[o]);if(p){var h=new N(p,this.runtime,t,this.artboard);this.stateMachines.push(h)}}}}return n&&(t?this.eventManager.fire({type:a.Play,data:this.playing}):this.eventManager.fire({type:a.Pause,data:this.paused})),t?this.playing:this.paused},e.prototype.initLinearAnimations=function(e,t){for(var n=this.animations.map(function(e){return e.name}),r=0;r<e.length;r++){var i=n.indexOf(e[r]);if(i>=0)this.animations[i].playing=t;else{var a=this.artboard.animationByName(e[r]);if(a){var o=new d.Animation(a,this.artboard,this.runtime,t);o.advance(0),o.apply(1),this.animations.push(o)}else console.error("Animation with name ".concat(e[r]," not found."))}}},e.prototype.initStateMachines=function(e,t){for(var n=this.stateMachines.map(function(e){return e.name}),r=0;r<e.length;r++){var i=n.indexOf(e[r]);if(i>=0)this.stateMachines[i].playing=t;else{var a=this.artboard.stateMachineByName(e[r]);if(a){var o=new N(a,this.runtime,t,this.artboard);this.stateMachines.push(o)}else console.warn("State Machine with name ".concat(e[r]," not found.")),this.initLinearAnimations([e[r]],t)}}},e.prototype.play=function(e){return this.add(e,!0)},e.prototype.advanceIfPaused=function(){this.stateMachines.forEach(function(e){e.playing||e.advanceAndApply(0)})},e.prototype.pause=function(e){return this.add(e,!1)},e.prototype.scrub=function(e,t){var n=this.animations.filter(function(t){return e.includes(t.name)});return n.forEach(function(e){return e.scrubTo=t}),n.map(function(e){return e.name})},Object.defineProperty(e.prototype,"playing",{get:function(){return this.animations.filter(function(e){return e.playing}).map(function(e){return e.name}).concat(this.stateMachines.filter(function(e){return e.playing}).map(function(e){return e.name}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return this.animations.filter(function(e){return!e.playing}).map(function(e){return e.name}).concat(this.stateMachines.filter(function(e){return!e.playing}).map(function(e){return e.name}))},enumerable:!1,configurable:!0}),e.prototype.stop=function(e){var t=this;e=ea(e);var n=[];if(0===e.length)n=this.animations.map(function(e){return e.name}).concat(this.stateMachines.map(function(e){return e.name})),this.animations.forEach(function(e){return e.cleanup()}),this.stateMachines.forEach(function(e){return e.cleanup()}),this.animations.splice(0,this.animations.length),this.stateMachines.splice(0,this.stateMachines.length);else{var r=this.animations.filter(function(t){return e.includes(t.name)});r.forEach(function(e){e.cleanup(),t.animations.splice(t.animations.indexOf(e),1)});var i=this.stateMachines.filter(function(t){return e.includes(t.name)});i.forEach(function(e){e.cleanup(),t.stateMachines.splice(t.stateMachines.indexOf(e),1)}),n=r.map(function(e){return e.name}).concat(i.map(function(e){return e.name}))}return this.eventManager.fire({type:a.Stop,data:n}),n},Object.defineProperty(e.prototype,"isPlaying",{get:function(){return this.animations.reduce(function(e,t){return e||t.playing},!1)||this.stateMachines.reduce(function(e,t){return e||t.playing},!1)}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPaused",{get:function(){return!this.isPlaying&&(this.animations.length>0||this.stateMachines.length>0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isStopped",{get:function(){return 0===this.animations.length&&0===this.stateMachines.length},enumerable:!1,configurable:!0}),e.prototype.atLeastOne=function(e,t){var n;return void 0===t&&(t=!0),0===this.animations.length&&0===this.stateMachines.length&&(this.artboard.animationCount()>0?this.add([n=this.artboard.animationByIndex(0).name],e,t):this.artboard.stateMachineCount()>0&&this.add([n=this.artboard.stateMachineByIndex(0).name],e,t)),n},e.prototype.handleLooping=function(){for(var e=0,t=this.animations.filter(function(e){return e.playing});e<t.length;e++){var n=t[e];0===n.loopValue&&n.loopCount?(n.loopCount=0,this.stop(n.name)):1===n.loopValue&&n.loopCount?(this.eventManager.fire({type:a.Loop,data:{animation:n.name,type:o.Loop}}),n.loopCount=0):2===n.loopValue&&n.loopCount>1&&(this.eventManager.fire({type:a.Loop,data:{animation:n.name,type:o.PingPong}}),n.loopCount=0)}},e.prototype.handleStateChanges=function(){for(var e=[],t=0,n=this.stateMachines.filter(function(e){return e.playing});t<n.length;t++){var r=n[t];e.push.apply(e,r.statesChanged)}e.length>0&&this.eventManager.fire({type:a.StateChange,data:e})},e.prototype.handleAdvancing=function(e){this.eventManager.fire({type:a.Advance,data:e})},e}(),(I=a||(a={})).Load="load",I.LoadError="loaderror",I.Play="play",I.Pause="pause",I.Stop="stop",I.Loop="loop",I.Draw="draw",I.Advance="advance",I.StateChange="statechange",I.RiveEvent="riveevent",I.AudioStatusChange="audiostatuschange",(M=o||(o={})).OneShot="oneshot",M.Loop="loop",M.PingPong="pingpong",O=function(){function e(e){void 0===e&&(e=[]),this.listeners=e}return e.prototype.getListeners=function(e){return this.listeners.filter(function(t){return t.type===e})},e.prototype.add=function(e){this.listeners.includes(e)||this.listeners.push(e)},e.prototype.remove=function(e){for(var t=0;t<this.listeners.length;t++){var n=this.listeners[t];if(n.type===e.type&&n.callback===e.callback){this.listeners.splice(t,1);break}}},e.prototype.removeAll=function(e){var t=this;e?this.listeners.filter(function(t){return t.type===e}).forEach(function(e){return t.remove(e)}):this.listeners.splice(0,this.listeners.length)},e.prototype.fire=function(e){this.getListeners(e.type).forEach(function(t){return t.callback(e)})},e}(),R=function(){function e(e){this.eventManager=e,this.queue=[]}return e.prototype.add=function(e){this.queue.push(e)},e.prototype.process=function(){for(;this.queue.length>0;){var e=this.queue.shift();(null==e?void 0:e.action)&&e.action(),(null==e?void 0:e.event)&&this.eventManager.fire(e.event)}},e}(),(D=s||(s={}))[D.AVAILABLE=0]="AVAILABLE",D[D.UNAVAILABLE=1]="UNAVAILABLE",B=new(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._started=!1,t._enabled=!1,t._status=s.UNAVAILABLE,t}return f(t,e),t.prototype.delay=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){return[2,new Promise(function(t){return setTimeout(t,e)})]})})},t.prototype.timeout=function(){return g(this,void 0,void 0,function(){return y(this,function(e){return[2,new Promise(function(e,t){return setTimeout(t,50)})]})})},t.prototype.reportToListeners=function(){this.fire({type:a.AudioStatusChange}),this.removeAll()},t.prototype.enableAudio=function(){return g(this,void 0,void 0,function(){return y(this,function(e){return this._enabled||(this._enabled=!0,this._status=s.AVAILABLE,this.reportToListeners()),[2]})})},t.prototype.testAudio=function(){return g(this,void 0,void 0,function(){return y(this,function(e){switch(e.label){case 0:if(!(this._status===s.UNAVAILABLE&&null!==this._audioContext))return[3,4];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,Promise.race([this._audioContext.resume(),this.timeout()])];case 2:return e.sent(),this.enableAudio(),[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}})})},t.prototype._establishAudio=function(){return g(this,void 0,void 0,function(){return y(this,function(e){switch(e.label){case 0:if(this._started)return[3,5];if(this._started=!0,"undefined"!=typeof window)return[3,1];return this.enableAudio(),[3,5];case 1:this._audioContext=new AudioContext,this.listenForUserAction(),e.label=2;case 2:if(this._status!==s.UNAVAILABLE)return[3,5];return[4,this.testAudio()];case 3:return e.sent(),[4,this.delay(1e3)];case 4:return e.sent(),[3,2];case 5:return[2]}})})},t.prototype.listenForUserAction=function(){var e=this;document.addEventListener("pointerdown",function(){return g(e,void 0,void 0,function(){return y(this,function(e){return this.enableAudio(),[2]})})},{once:!0})},t.prototype.establishAudio=function(){return g(this,void 0,void 0,function(){return y(this,function(e){return this._establishAudio(),[2]})})},Object.defineProperty(t.prototype,"systemVolume",{get:function(){return this._status===s.UNAVAILABLE?(this.testAudio(),0):1}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},enumerable:!1,configurable:!0}),t}(O)),F=function(){function e(){}return e.prototype.observe=function(){},e.prototype.unobserve=function(){},e.prototype.disconnect=function(){},e}(),H=globalThis.ResizeObserver||F,V=new(function(){function e(){var e=this;this._elementsMap=new Map,this._onObservedEntry=function(t){var n=e._elementsMap.get(t.target);null!==n?n.onResize(0==t.target.clientWidth||0==t.target.clientHeight):e._resizeObserver.unobserve(t.target)},this._onObserved=function(t){t.forEach(e._onObservedEntry)},this._resizeObserver=new H(this._onObserved)}return e.prototype.add=function(e,t){var n={onResize:t,element:e};return this._elementsMap.set(e,n),this._resizeObserver.observe(e),n},e.prototype.remove=function(e){this._resizeObserver.unobserve(e.element),this._elementsMap.delete(e.element)},e}()),$=function(){function e(e){this.enableRiveAssetCDN=!0,this.referenceCount=0,this.destroyed=!1,this.selfUnref=!1,this.bindableArtboards=[],this.src=e.src,this.buffer=e.buffer,e.assetLoader&&(this.assetLoader=e.assetLoader),this.enableRiveAssetCDN="boolean"!=typeof e.enableRiveAssetCDN||e.enableRiveAssetCDN,this.eventManager=new O,e.onLoad&&this.on(a.Load,e.onLoad),e.onLoadError&&this.on(a.LoadError,e.onLoadError)}return e.prototype.releaseFile=function(){var e;this.selfUnref&&(null===(e=this.file)||void 0===e||e.unref()),this.file=null},e.prototype.releaseBindableArtboards=function(){this.bindableArtboards.forEach(function(e){return e.destroy()})},e.prototype.initData=function(){return g(this,void 0,void 0,function(){var t,n,r,i;return y(this,function(o){switch(o.label){case 0:if(!this.src)return[3,2];return t=this,[4,ei(this.src)];case 1:t.buffer=o.sent(),o.label=2;case 2:if(this.destroyed)return[2];return this.assetLoader&&(n=new p.CustomFileAssetLoaderWrapper(this.runtime,this.assetLoader).assetLoader),r=this,[4,this.runtime.load(new Uint8Array(this.buffer),n,this.enableRiveAssetCDN)];case 3:if(r.file=o.sent(),i=new p.FileFinalizer(this.file),p.finalizationRegistry.register(this,i),this.destroyed)return this.releaseFile(),[2];return null!==this.file?this.eventManager.fire({type:a.Load,data:this}):this.fireLoadError(e.fileLoadErrorMessage),[2]}})})},e.prototype.init=function(){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:if(!this.src&&!this.buffer)return this.fireLoadError(e.missingErrorMessage),[2];r.label=1;case 1:return r.trys.push([1,4,,5]),t=this,[4,E.awaitInstance()];case 2:if(t.runtime=r.sent(),this.destroyed)return[2];return[4,this.initData()];case 3:return r.sent(),[3,5];case 4:return n=r.sent(),this.fireLoadError(n instanceof Error?n.message:e.fileLoadErrorMessage),[3,5];case 5:return[2]}})})},e.prototype.fireLoadError=function(e){throw this.eventManager.fire({type:a.LoadError,data:e}),Error(e)},e.prototype.on=function(e,t){this.eventManager.add({type:e,callback:t})},e.prototype.off=function(e,t){this.eventManager.remove({type:e,callback:t})},e.prototype.cleanup=function(){this.referenceCount-=1,this.referenceCount<=0&&(this.removeAllRiveEventListeners(),this.releaseFile(),this.releaseBindableArtboards(),this.destroyed=!0)},e.prototype.removeAllRiveEventListeners=function(e){this.eventManager.removeAll(e)},e.prototype.getInstance=function(){if(null!==this.file)return this.referenceCount+=1,this.file},e.prototype.destroyIfUnused=function(){this.referenceCount<=0&&this.cleanup()},e.prototype.createBindableArtboard=function(e){if(null!=e){var t=new L(e);return(0,p.createFinalization)(t,t.nativeArtboard),this.bindableArtboards.push(t),t}return null},e.prototype.getArtboard=function(e){var t=this.file.artboardByName(e);if(null!=t)return new _(t,this)},e.prototype.getBindableArtboard=function(e){var t=this.file.bindableArtboardByName(e);return this.createBindableArtboard(t)},e.prototype.getDefaultBindableArtboard=function(){var e=this.file.bindableArtboardDefault();return this.createBindableArtboard(e)},e.prototype.internalBindableArtboardFromArtboard=function(e){var t=this.file.internalBindableArtboardFromArtboard(e);return this.createBindableArtboard(t)},e.prototype.viewModelByName=function(e){var t=this.file.viewModelByName(e);return null!==t?new z(t):null},e.missingErrorMessage="Rive source file or data buffer required",e.fileLoadErrorMessage="The file failed to load",e}(),U=function(){function t(e){var t,r,i=this;this.loaded=!1,this.destroyed=!1,this._observed=null,this.readyForPlaying=!1,this.artboard=null,this.eventCleanup=null,this.shouldDisableRiveListeners=!1,this.automaticallyHandleEvents=!1,this.dispatchPointerExit=!0,this.enableMultiTouch=!1,this.enableRiveAssetCDN=!0,this._volume=1,this._artboardWidth=void 0,this._artboardHeight=void 0,this._devicePixelRatioUsed=1,this._hasZeroSize=!1,this._needsRedraw=!1,this._currentCanvasWidth=0,this._currentCanvasHeight=0,this._audioEventListener=null,this._boundDraw=null,this._viewModelInstance=null,this._dataEnums=null,this.drawOptimization=n.DrawOnChanged,this.durations=[],this.frameTimes=[],this.frameCount=0,this.isTouchScrollEnabled=!1,this.onCanvasResize=function(e){var t=i._hasZeroSize!==e;i._hasZeroSize=e,e?i._layout.maxX&&i._layout.maxY||i.resizeToCanvas():t&&i.resizeDrawingSurfaceToCanvas()},this.renderSecondTimer=0,this._boundDraw=this.draw.bind(this),this.canvas=e.canvas,e.canvas.constructor===HTMLCanvasElement&&(this._observed=V.add(this.canvas,this.onCanvasResize)),this._currentCanvasWidth=this.canvas.width,this._currentCanvasHeight=this.canvas.height,this.src=e.src,this.buffer=e.buffer,this.riveFile=e.riveFile,this.layout=null!==(t=e.layout)&&void 0!==t?t:new C,this.shouldDisableRiveListeners=!!e.shouldDisableRiveListeners,this.isTouchScrollEnabled=!!e.isTouchScrollEnabled,this.automaticallyHandleEvents=!!e.automaticallyHandleEvents,this.dispatchPointerExit=!1===e.dispatchPointerExit?e.dispatchPointerExit:this.dispatchPointerExit,this.enableMultiTouch=!!e.enableMultiTouch,this.drawOptimization=null!==(r=e.drawingOptions)&&void 0!==r?r:this.drawOptimization,this.enableRiveAssetCDN=void 0===e.enableRiveAssetCDN||e.enableRiveAssetCDN,this.eventManager=new O,e.onLoad&&this.on(a.Lo
1ad,e.onLoad),e.onLoadError&&this.on(a.LoadError,e.onLoadError),e.onPlay&&this.on(a.Play,e.onPlay),e.onPause&&this.on(a.Pause,e.onPause),e.onStop&&this.on(a.Stop,e.onStop),e.onLoop&&this.on(a.Loop,e.onLoop),e.onStateChange&&this.on(a.StateChange,e.onStateChange),e.onAdvance&&this.on(a.Advance,e.onAdvance),e.onload&&!e.onLoad&&this.on(a.Load,e.onload),e.onloaderror&&!e.onLoadError&&this.on(a.LoadError,e.onloaderror),e.onplay&&!e.onPlay&&this.on(a.Play,e.onplay),e.onpause&&!e.onPause&&this.on(a.Pause,e.onpause),e.onstop&&!e.onStop&&this.on(a.Stop,e.onstop),e.onloop&&!e.onLoop&&this.on(a.Loop,e.onloop),e.onstatechange&&!e.onStateChange&&this.on(a.StateChange,e.onstatechange),e.assetLoader&&(this.assetLoader=e.assetLoader),this.taskQueue=new R(this.eventManager),this.init({src:this.src,buffer:this.buffer,riveFile:this.riveFile,autoplay:e.autoplay,autoBind:e.autoBind,animations:e.animations,stateMachines:e.stateMachines,artboard:e.artboard,useOffscreenRenderer:e.useOffscreenRenderer})}return Object.defineProperty(t.prototype,"viewModelCount",{get:function(){return this.file.viewModelCount()},enumerable:!1,configurable:!0}),t.new=function(e){return console.warn("This function is deprecated: please use `new Rive({})` instead"),new t(e)},t.prototype.onSystemAudioChanged=function(){this.volume=this._volume},t.prototype.init=function(e){var n=this,r=e.src,i=e.buffer,a=e.riveFile,o=e.animations,s=e.stateMachines,l=e.artboard,c=e.autoplay,u=void 0!==c&&c,d=e.useOffscreenRenderer,p=void 0!==d&&d,h=e.autoBind,f=void 0!==h&&h;if(!this.destroyed){if(this.src=r,this.buffer=i,this.riveFile=a,!this.src&&!this.buffer&&!this.riveFile)throw new b(t.missingErrorMessage);var m=ea(o),g=ea(s);this.loaded=!1,this.readyForPlaying=!1,E.awaitInstance().then(function(e){n.destroyed||(n.runtime=e,n.removeRiveListeners(),n.deleteRiveRenderer(),n.renderer=n.runtime.makeRenderer(n.canvas,p),n.canvas.width||n.canvas.height||n.resizeDrawingSurfaceToCanvas(),n.initData(l,m,g,u,f).then(function(e){if(e)return n.setupRiveListeners()}).catch(function(e){console.error(e)}))}).catch(function(e){console.error(e)})}},t.prototype.setupRiveListeners=function(e){var t=this;if(this.eventCleanup&&this.eventCleanup(),!this.shouldDisableRiveListeners){var n=(this.animator.stateMachines||[]).filter(function(e){return e.playing&&t.runtime.hasListeners(e.instance)}).map(function(e){return e.instance}),r=this.isTouchScrollEnabled,i=this.dispatchPointerExit,a=this.enableMultiTouch;e&&"isTouchScrollEnabled"in e&&(r=e.isTouchScrollEnabled),this.eventCleanup=(0,p.registerTouchInteractions)({canvas:this.canvas,artboard:this.artboard,stateMachines:n,renderer:this.renderer,rive:this.runtime,fit:this._layout.runtimeFit(this.runtime),alignment:this._layout.runtimeAlignment(this.runtime),isTouchScrollEnabled:r,dispatchPointerExit:i,enableMultiTouch:a,layoutScaleFactor:this._layout.layoutScaleFactor})}},t.prototype.removeRiveListeners=function(){this.eventCleanup&&(this.eventCleanup(),this.eventCleanup=null)},t.prototype.initializeAudio=function(){var e,t=this;B.status==s.UNAVAILABLE&&(this.file.hasAudio||(null===(e=this.artboard)||void 0===e?void 0:e.hasAudio)&&null===this._audioEventListener)&&(this._audioEventListener={type:a.AudioStatusChange,callback:function(){return t.onSystemAudioChanged()}},B.add(this._audioEventListener),B.establishAudio())},t.prototype.initArtboardSize=function(){this.artboard&&(this._artboardWidth=this.artboard.width=this._artboardWidth||this.artboard.width,this._artboardHeight=this.artboard.height=this._artboardHeight||this.artboard.height)},t.prototype.initData=function(e,t,n,r,i){return g(this,void 0,void 0,function(){var o,s,l;return y(this,function(c){switch(c.label){case 0:if(c.trys.push([0,3,,4]),null!=this.riveFile)return[3,2];return o=new $({src:this.src,buffer:this.buffer,enableRiveAssetCDN:this.enableRiveAssetCDN,assetLoader:this.assetLoader}),this.riveFile=o,[4,o.init()];case 1:if(c.sent(),this.destroyed)return o.destroyIfUnused(),[2,!1];c.label=2;case 2:return this.file=this.riveFile.getInstance(),this.initArtboard(e,t,n,r,i),this.initArtboardSize(),this.initializeAudio(),this.loaded=!0,this.eventManager.fire({type:a.Load,data:null!==(l=this.src)&&void 0!==l?l:"buffer"}),this.animator.advanceIfPaused(),this.readyForPlaying=!0,this.taskQueue.process(),this.drawFrame(),[2,!0];case 3:var u;return console.warn(s=(u=c.sent())&&u.isHandledError?u.message:"Problem loading file; may be corrupt!"),this.eventManager.fire({type:a.LoadError,data:s}),[2,Promise.reject(s)];case 4:return[2]}})})},t.prototype.initArtboard=function(e,t,n,r,i){if(this.file){var o,s=e?this.file.artboardByName(e):this.file.defaultArtboard();if(!s){var l="Invalid artboard name or no default artboard";console.warn(l),this.eventManager.fire({type:a.LoadError,data:l});return}if(this.artboard=s,s.volume=this._volume*B.systemVolume,this.animator=new P(this.runtime,this.artboard,this.eventManager),t.length>0||n.length>0?(o=t.concat(n),this.animator.initLinearAnimations(t,r),this.animator.initStateMachines(n,r)):o=[this.animator.atLeastOne(r,!1)],this.taskQueue.add({event:{type:r?a.Play:a.Pause,data:o}}),i){var c=this.file.defaultArtboardViewModel(s);if(null!==c){var u=c.defaultInstance();if(null!==u){var d=new q(u,null);
1(0,p.createFinalization)(d,d.runtimeInstance),this.bindViewModelInstance(d)}}}}},t.prototype.drawFrame=function(){var e,t;(null===(e=null==document?void 0:document.timeline)||void 0===e?void 0:e.currentTime)?this.loaded&&this.artboard&&!this.frameRequestId&&(this._boundDraw(document.timeline.currentTime),null===(t=this.runtime)||void 0===t||t.resolveAnimationFrame()):this.scheduleRendering()},t.prototype._canvasSizeChanged=function(){var e=!1;return this.canvas&&(this.canvas.width!==this._currentCanvasWidth&&(this._currentCanvasWidth=this.canvas.width,e=!0),this.canvas.height!==this._currentCanvasHeight&&(this._currentCanvasHeight=this.canvas.height,e=!0)),e},t.prototype.draw=function(e,t){this.frameRequestId=null;var r,o=performance.now();this.lastRenderTime||(this.lastRenderTime=e),this.renderSecondTimer+=e-this.lastRenderTime,this.renderSecondTimer>5e3&&(this.renderSecondTimer=0,null==t||t());var s=(e-this.lastRenderTime)/1e3;this.lastRenderTime=e;for(var l=this.animator.animations.filter(function(e){return e.playing||e.needsScrub}).sort(function(e){return e.needsScrub?-1:1}),c=0;c<l.length;c++){var u=l[c];u.advance(s),u.instance.didLoop&&(u.loopCount+=1),u.apply(1)}for(var d=this.animator.stateMachines.filter(function(e){return e.playing}),h=0;h<d.length;h++){var f=d[h],m=f.reportedEventCount();if(m)for(var g=0;g<m;g++){var y=f.reportedEventAt(g);if(y){if(y.type===i.OpenUrl){if(this.eventManager.fire({type:a.RiveEvent,data:y}),this.automaticallyHandleEvents){var v=document.createElement("a"),b=y.url,x=y.target,w=(0,p.sanitizeUrl)(b);b&&v.setAttribute("href",w),x&&v.setAttribute("target",x),w&&w!==p.BLANK_URL&&v.click()}}else this.eventManager.fire({type:a.RiveEvent,data:y})}}f.advanceAndApply(s)}0==this.animator.stateMachines.length&&this.artboard.advance(s);var j=this.renderer;!this._hasZeroSize&&(this.drawOptimization==n.AlwaysDraw||this.artboard.didChange()||this._needsRedraw||this._canvasSizeChanged())&&(j.clear(),j.save(),this.alignRenderer(),this.artboard.draw(j),j.restore(),j.flush(),this._needsRedraw=!1),this.animator.handleLooping(),this.animator.handleStateChanges(),this.animator.handleAdvancing(s),this.frameCount++;var C=performance.now();for(this.frameTimes.push(C),this.durations.push(C-o);this.frameTimes[0]<=C-1e3;)this.frameTimes.shift(),this.durations.shift();null===(r=this._viewModelInstance)||void 0===r||r.handleCallbacks(),this.animator.isPlaying?this.scheduleRendering():this.animator.isPaused?this.lastRenderTime=0:this.animator.isStopped&&(this.lastRenderTime=0)},t.prototype.alignRenderer=function(){var e=this.renderer,t=this.runtime,n=this._layout,r=this.artboard;e.align(n.runtimeFit(t),n.runtimeAlignment(t),{minX:n.minX,minY:n.minY,maxX:n.maxX,maxY:n.maxY},r.bounds,this._devicePixelRatioUsed*n.layoutScaleFactor)},Object.defineProperty(t.prototype,"fps",{get:function(){return this.durations.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"frameTime",{get:function(){return 0===this.durations.length?0:(this.durations.reduce(function(e,t){return e+t},0)/this.durations.length).toFixed(4)},enumerable:!1,configurable:!0}),t.prototype.cleanup=function(){var e,t;this.destroyed=!0,this.stopRendering(),this.cleanupInstances(),null!==this._observed&&V.remove(this._observed),this.removeRiveListeners(),this.file&&(null===(e=this.riveFile)||void 0===e||e.cleanup(),this.file=null),this.riveFile=null,this.deleteRiveRenderer(),null!==this._audioEventListener&&(B.remove(this._audioEventListener),this._audioEventListener=null),null===(t=this._viewModelInstance)||void 0===t||t.cleanup(),this._viewModelInstance=null,this._dataEnums=null},t.prototype.deleteRiveRenderer=function(){var e;null===(e=this.renderer)||void 0===e||e.delete(),this.renderer=null},t.prototype.cleanupInstances=function(){null!==this.eventCleanup&&this.eventCleanup(),this.stop(),this.artboard&&(this.artboard.delete(),this.artboard=null)},t.prototype.retrieveTextRun=function(e){if(!e){console.warn("No text run name provided");return}if(!this.artboard){console.warn("Tried to access text run, but the Artboard is null");return}var t,n=this.artboard.textRun(e);if(!n){console.warn("Could not access a text run with name '".concat(e,"' in the '").concat(null===(t=this.artboard)||void 0===t?void 0:t.name,"' Artboard. Note that you must rename a text run node in the Rive editor to make it queryable at runtime."));return}return n},t.prototype.getTextRunValue=function(e){var t=this.retrieveTextRun(e);return t?t.text:void 0},t.prototype.setTextRunValue=function(e,t){var n=this.retrieveTextRun(e);n&&(n.text=t)},t.prototype.play=function(e,t){var n=this;if(e=ea(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return n.play(e,t)}});return}this.animator.play(e),this.eventCleanup&&this.eventCleanup(),this.setupRiveListeners(),this.startRendering()},t.prototype.pause=function(e){var t=this;if(e=ea(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return t.pause(e)}});return}this.eventCleanup&&this.eventCleanup(),this.animator.pause(e)},t.prototype.scrub=function(e,t){var n=this;if(e=ea(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return n.scrub(e,t)}});return}this.animator.scrub(e,t||0),this.drawFrame()},t.prototype.stop=function(e){var t=this;if(e=ea(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return t.stop(e)}});return}this.animator&&this.animator.stop(e),this.eventCleanup&&this.eventCleanup()},t.prototype.reset=function(e){var t,n,r=null==e?void 0:e.artboard,i=ea(null==e?void 0:e.animations),a=ea(null==e?void 0:e.stateMachines),o=null!==(t=null==e?void 0:e.autoplay)&&void 0!==t&&t,s=null!==(n=null==e?void 0:e.autoBind)&&void 0!==n&&n;this.cleanupInstances(),this.initArtboard(r,i,a,o,s),this.taskQueue.process()},t.prototype.load=function(e){this.file=null,this.stop(),this.init(e)},Object.defineProperty(t.prototype,"layout",{get:function(){return this._layout},set:function(e){this._layout=e,e.maxX&&e.maxY||this.resizeToCanvas(),this.loaded&&!this.animator.isPlaying&&this.drawFrame()}
1,enumerable:!1,configurable:!0}),t.prototype.resizeToCanvas=function(){this._layout=this.layout.copyWith({minX:0,minY:0,maxX:this.canvas.width,maxY:this.canvas.height})},t.prototype.resizeDrawingSurfaceToCanvas=function(t){if(this.canvas instanceof HTMLCanvasElement&&window){var n=this.canvas.getBoundingClientRect(),r=n.width,i=n.height,a=t||window.devicePixelRatio||1;if(this.devicePixelRatioUsed=a,this.canvas.width=a*r,this.canvas.height=a*i,this._needsRedraw=!0,this.resizeToCanvas(),this.drawFrame(),this.layout.fit===e.Layout){var o=this._layout.layoutScaleFactor;this.artboard.width=r/o,this.artboard.height=i/o}}},Object.defineProperty(t.prototype,"source",{get:function(){return this.src},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeArtboard",{get:function(){return this.artboard?this.artboard.name:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"animationNames",{get:function(){if(!this.loaded||!this.artboard)return[];for(var e=[],t=0;t<this.artboard.animationCount();t++)e.push(this.artboard.animationByIndex(t).name);return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stateMachineNames",{get:function(){if(!this.loaded||!this.artboard)return[];for(var e=[],t=0;t<this.artboard.stateMachineCount();t++)e.push(this.artboard.stateMachineByIndex(t).name);return e},enumerable:!1,configurable:!0}),t.prototype.stateMachineInputs=function(e){if(this.loaded){var t=this.animator.stateMachines.find(function(t){return t.name===e});return null==t?void 0:t.inputs}},t.prototype.retrieveInputAtPath=function(e,t){if(!e){console.warn("No input name provided for path '".concat(t,"'"));return}if(!this.artboard){console.warn("Tried to access input: '".concat(e,"', at path: '").concat(t,"', but the Artboard is null"));return}var n=this.artboard.inputByPath(e,t);if(!n){console.warn("Could not access an input with name: '".concat(e,"', at path:'").concat(t,"'"));return}return n},t.prototype.setBooleanStateAtPath=function(e,t,n){var i=this.retrieveInputAtPath(e,n);i&&(i.type===r.Boolean?i.asBool().value=t:console.warn("Input with name: '".concat(e,"', at path:'").concat(n,"' is not a boolean")))},t.prototype.setNumberStateAtPath=function(e,t,n){var i=this.retrieveInputAtPath(e,n);i&&(i.type===r.Number?i.asNumber().value=t:console.warn("Input with name: '".concat(e,"', at path:'").concat(n,"' is not a number")))},t.prototype.fireStateAtPath=function(e,t){var n=this.retrieveInputAtPath(e,t);n&&(n.type===r.Trigger?n.asTrigger().fire():console.warn("Input with name: '".concat(e,"', at path:'").concat(t,"' is not a trigger")))},t.prototype.retrieveTextAtPath=function(e,t){if(!e){console.warn("No text name provided for path '".concat(t,"'"));return}if(!t){console.warn("No path provided for text '".concat(e,"'"));return}if(!this.artboard){console.warn("Tried to access text: '".concat(e,"', at path: '").concat(t,"', but the Artboard is null"));return}var n=this.artboard.textByPath(e,t);if(!n){console.warn("Could not access text with name: '".concat(e,"', at path:'").concat(t,"'"));return}return n},t.prototype.getTextRunValueAtPath=function(e,t){var n=this.retrieveTextAtPath(e,t);if(!n){console.warn("Could not get text with name: '".concat(e,"', at path:'").concat(t,"'"));return}return n.text},t.prototype.setTextRunValueAtPath=function(e,t,n){var r=this.retrieveTextAtPath(e,n);if(!r){console.warn("Could not set text with name: '".concat(e,"', at path:'").concat(n,"'"));return}r.text=t},Object.defineProperty(t.prototype,"playingStateMachineNames",{get:function(){return this.loaded?this.animator.stateMachines.filter(function(e){return e.playing}).map(function(e){return e.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playingAnimationNames",{get:function(){return this.loaded?this.animator.animations.filter(function(e){return e.playing}).map(function(e){return e.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pausedAnimationNames",{get:function(){return this.loaded?this.animator.animations.filter(function(e){return!e.playing}).map(function(e){return e.name}):[]}
1,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pausedStateMachineNames",{get:function(){return this.loaded?this.animator.stateMachines.filter(function(e){return!e.playing}).map(function(e){return e.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPlaying",{get:function(){return this.animator.isPlaying},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPaused",{get:function(){return this.animator.isPaused},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStopped",{get:function(){var e,t;return null===(t=null===(e=this.animator)||void 0===e?void 0:e.isStopped)||void 0===t||t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bounds",{get:function(){return this.artboard?this.artboard.bounds:void 0},enumerable:!1,configurable:!0}),t.prototype.on=function(e,t){this.eventManager.add({type:e,callback:t})},t.prototype.off=function(e,t){this.eventManager.remove({type:e,callback:t})},t.prototype.unsubscribe=function(e,t){console.warn("This function is deprecated: please use `off()` instead."),this.off(e,t)},t.prototype.removeAllRiveEventListeners=function(e){this.eventManager.removeAll(e)},t.prototype.unsubscribeAll=function(e){console.warn("This function is deprecated: please use `removeAllRiveEventListeners()` instead."),this.removeAllRiveEventListeners(e)},t.prototype.stopRendering=function(){this.loaded&&this.frameRequestId&&(this.runtime.cancelAnimationFrame?this.runtime.cancelAnimationFrame(this.frameRequestId):cancelAnimationFrame(this.frameRequestId),this.frameRequestId=null)},t.prototype.startRendering=function(){this.drawFrame()},t.prototype.scheduleRendering=function(){this.loaded&&this.artboard&&!this.frameRequestId&&(this.runtime.requestAnimationFrame?this.frameRequestId=this.runtime.requestAnimationFrame(this._boundDraw):this.frameRequestId=requestAnimationFrame(this._boundDraw))},t.prototype.enableFPSCounter=function(e){this.runtime.enableFPSCounter(e)},t.prototype.disableFPSCounter=function(){this.runtime.disableFPSCounter()},Object.defineProperty(t.prototype,"contents",{get:function(){if(this.loaded){for(var e={artboards:[]},t=0;t<this.file.artboardCount();t++){for(var n=this.file.artboardByIndex(t),r={name:n.name,animations:[],stateMachines:[]},i=0;i<n.animationCount();i++){var a=n.animationByIndex(i);r.animations.push(a.name)}for(var o=0;o<n.stateMachineCount();o++){for(var s=n.stateMachineByIndex(o),l=s.name,c=new this.runtime.StateMachineInstance(s,n),u=[],d=0;d<c.inputCount();d++){var p=c.input(d);u.push({name:p.name,type:p.type})}r.stateMachines.push({name:l,inputs:u})}e.artboards.push(r)}return e}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){return this.artboard&&this.artboard.volume!==this._volume&&(this._volume=this.artboard.volume),this._volume},set:function(e){this._volume=e,this.artboard&&(this.artboard.volume=e*B.systemVolume)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"artboardWidth",{get:function(){var e;return this.artboard?this.artboard.width:null!==(e=this._artboardWidth)&&void 0!==e?e:0},set:function(e){this._artboardWidth=e,this.artboard&&(this.artboard.width=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"artboardHeight",{get:function(){var e;return this.artboard?this.artboard.height:null!==(e=this._artboardHeight)&&void 0!==e?e:0},set:function(e){this._artboardHeight=e,this.artboard&&(this.artboard.height=e)},enumerable:!1,configurable:!0}),t.prototype.resetArtboardSize=function(){this.artboard?(this.artboard.resetArtboardSize(),this._artboardWidth=this.artboard.width,this._artboardHeight=this.artboard.height):(this._artboardWidth=void 0,this._artboardHeight=void 0)},Object.defineProperty(t.prototype,"devicePixelRatioUsed",{get:function(){return this._devicePixelRatioUsed},set:function(e){this._devicePixelRatioUsed=e},enumerable:!1,configurable:!0}),t.prototype.bindViewModelInstance=function(e){var t;this.artboard&&!this.destroyed&&e&&e.runtimeInstance&&(e.internalIncrementReferenceCount(),null===(t=this._viewModelInstance)||void 0===t||t.cleanup(),this._viewModelInstance=e,this.animator.stateMachines.length>
10?this.animator.stateMachines.forEach(function(t){return t.bindViewModelInstance(e)}):this.artboard.bindViewModelInstance(e.runtimeInstance))},Object.defineProperty(t.prototype,"viewModelInstance",{get:function(){return this._viewModelInstance},enumerable:!1,configurable:!0}),t.prototype.viewModelByIndex=function(e){var t=this.file.viewModelByIndex(e);return null!==t?new z(t):null},t.prototype.viewModelByName=function(e){var t;return null===(t=this.riveFile)||void 0===t?void 0:t.viewModelByName(e)},t.prototype.enums=function(){if(null===this._dataEnums){var e=this.file.enums();this._dataEnums=e.map(function(e){return new W(e)})}return this._dataEnums},t.prototype.defaultViewModel=function(){if(this.artboard){var e=this.file.defaultArtboardViewModel(this.artboard);if(e)return new z(e)}return null},t.prototype.getArtboard=function(e){var t,n;return null!==(n=null===(t=this.riveFile)||void 0===t?void 0:t.getArtboard(e))&&void 0!==n?n:null},t.prototype.getBindableArtboard=function(e){var t,n;return null!==(n=null===(t=this.riveFile)||void 0===t?void 0:t.getBindableArtboard(e))&&void 0!==n?n:null},t.prototype.getDefaultBindableArtboard=function(){var e,t;return null!==(t=null===(e=this.riveFile)||void 0===e?void 0:e.getDefaultBindableArtboard())&&void 0!==t?t:null},t.missingErrorMessage="Rive source file or data buffer required",t.cleanupErrorMessage="Attempt to use file after calling cleanup.",t}(),z=function(){function e(e){this._viewModel=e}return Object.defineProperty(e.prototype,"instanceCount",{get:function(){return this._viewModel.instanceCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._viewModel.name},enumerable:!1,configurable:!0}),e.prototype.instanceByIndex=function(e){var t=this._viewModel.instanceByIndex(e);if(null!==t){var n=new q(t,null);return(0,p.createFinalization)(n,t),n}return null},e.prototype.instanceByName=function(e){var t=this._viewModel.instanceByName(e);if(null!==t){var n=new q(t,null);return(0,p.createFinalization)(n,t),n}return null},e.prototype.defaultInstance=function(){var e=this._viewModel.defaultInstance();if(null!==e){var t=new q(e,null);return(0,p.createFinalization)(t,e),t}return null},e.prototype.instance=function(){var e=this._viewModel.instance();if(null!==e){var t=new q(e,null);return(0,p.createFinalization)(t,e),t}return null},Object.defineProperty(e.prototype,"properties",{get:function(){return this._viewModel.getProperties()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"instanceNames",{get:function(){return this._viewModel.getInstanceNames()},enumerable:!1,configurable:!0}),e}(),W=function(){function e(e){this._dataEnum=e}return Object.defineProperty(e.prototype,"name",{get:function(){return this._dataEnum.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"values",{get:function(){return this._dataEnum.values},enumerable:!1,configurable:!0}),e}(),(G=l||(l={})).Number="number",G.String="string",G.Boolean="boolean",G.Color="color",G.Trigger="trigger",G.Enum="enum",G.List="list",G.Image="image",G.Artboard="artboard",q=function(){function e(e,t){this._parents=[],this._children=[],this._viewModelInstances=new Map,this._propertiesWithCallbacks=[],this._referenceCount=0,this.selfUnref=!1,this._runtimeInstance=e,null!==t&&this._parents.push(t)}return Object.defineProperty(e.prototype,"runtimeInstance",{get:function(){return this._runtimeInstance},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nativeInstance",{get:function(){return this._runtimeInstance},enumerable:!1,configurable:!0}),e.prototype.handleCallbacks=function(){0!==this._propertiesWithCallbacks.length&&(this._propertiesWithCallbacks.forEach(function(e){e.handleCallbacks()}),this._propertiesWithCallbacks.forEach(function(e){e.clearChanges()})),this._children.forEach(function(e){return e.handleCallbacks()})},e.prototype.addParent=function(e){!this._parents.includes(e)&&(this._parents.push(e),(this._propertiesWithCallbacks.length>0||this._children.length>0)&&e.addToViewModelCallbacks(this))},e.prototype.removeParent=function(e){var t=this._parents.indexOf(e);
1-1!==t&&(this._parents[t].removeFromViewModelCallbacks(this),this._parents.splice(t,1))},e.prototype.addToPropertyCallbacks=function(e){var t=this;!this._propertiesWithCallbacks.includes(e)&&(this._propertiesWithCallbacks.push(e),this._propertiesWithCallbacks.length>0&&this._parents.forEach(function(e){e.addToViewModelCallbacks(t)}))},e.prototype.removeFromPropertyCallbacks=function(e){var t=this;this._propertiesWithCallbacks.includes(e)&&(this._propertiesWithCallbacks=this._propertiesWithCallbacks.filter(function(t){return t!==e}),0===this._children.length&&0===this._propertiesWithCallbacks.length&&this._parents.forEach(function(e){e.removeFromViewModelCallbacks(t)}))},e.prototype.addToViewModelCallbacks=function(e){var t=this;this._children.includes(e)||(this._children.push(e),this._parents.forEach(function(e){e.addToViewModelCallbacks(t)}))},e.prototype.removeFromViewModelCallbacks=function(e){var t=this;this._children.includes(e)&&(this._children=this._children.filter(function(t){return t!==e}),0===this._children.length&&0===this._propertiesWithCallbacks.length&&this._parents.forEach(function(e){e.removeFromViewModelCallbacks(t)}))},e.prototype.clearCallbacks=function(){this._propertiesWithCallbacks.forEach(function(e){e.clearCallbacks()})},e.prototype.propertyFromPath=function(e,t){var n=e.split("/");return this.propertyFromPathSegments(n,0,t)},e.prototype.viewModelFromPathSegments=function(e,t){var n=this.internalViewModelInstance(e[t]);return null!==n?t==e.length-1?n:n.viewModelFromPathSegments(e,t++):null},e.prototype.propertyFromPathSegments=function(e,t,n){if(t<e.length-1){var r,i,a,o,s,c,u,d,p,h,f,m,g,y,v,b,x,w,j=this.internalViewModelInstance(e[t]);return null!==j?j.propertyFromPathSegments(e,t+1,n):null}var C=null;switch(n){case l.Number:if(null!==(C=null!==(i=null===(r=this._runtimeInstance)||void 0===r?void 0:r.number(e[t]))&&void 0!==i?i:null))return new X(C,this);break;case l.String:if(null!==(C=null!==(o=null===(a=this._runtimeInstance)||void 0===a?void 0:a.string(e[t]))&&void 0!==o?o:null))return new Y(C,this);break;case l.Boolean:if(null!==(C=null!==(c=null===(s=this._runtimeInstance)||void 0===s?void 0:s.boolean(e[t]))&&void 0!==c?c:null))return new Z(C,this);break;case l.Color:if(null!==(C=null!==(d=null===(u=this._runtimeInstance)||void 0===u?void 0:u.color(e[t]))&&void 0!==d?d:null))return new et(C,this);break;case l.Trigger:if(null!==(C=null!==(h=null===(p=this._runtimeInstance)||void 0===p?void 0:p.trigger(e[t]))&&void 0!==h?h:null))return new J(C,this);break;case l.Enum:if(null!==(C=null!==(m=null===(f=this._runtimeInstance)||void 0===f?void 0:f.enum(e[t]))&&void 0!==m?m:null))return new Q(C,this);break;case l.List:if(null!==(C=null!==(y=null===(g=this._runtimeInstance)||void 0===g?void 0:g.list(e[t]))&&void 0!==y?y:null))return new ee(C,this);break;case l.Image:if(null!==(C=null!==(b=null===(v=this._runtimeInstance)||void 0===v?void 0:v.image(e[t]))&&void 0!==b?b:null))return new en(C,this);break;case l.Artboard:if(null!==(C=null!==(w=null===(x=this._runtimeInstance)||void 0===x?void 0:x.artboard(e[t]))&&void 0!==w?w:null))return new er(C,this)}return null},e.prototype.internalViewModelInstance=function(t){if(this._viewModelInstances.has(t))return this._viewModelInstances.get(t);var n,r=null===(n=this._runtimeInstance)||void 0===n?void 0:n.viewModel(t);if(null!==r){var i=new e(r,this);return(0,p.createFinalization)(i,r),i.internalIncrementReferenceCount(),this._viewModelInstances.set(t,i),i}return null},e.prototype.number=function(e){return this.propertyFromPath(e,l.Number)},e.prototype.string=function(e){return this.propertyFromPath(e,l.String)},e.prototype.boolean=function(e){return this.propertyFromPath(e,l.Boolean)},e.prototype.color=function(e){return this.propertyFromPath(e,l.Color)},e.prototype.trigger=function(e){return this.propertyFromPath(e,l.Trigger)},e.prototype.enum=function(e){return this.propertyFromPath(e,l.Enum)},e.prototype.list=function(e){return this.propertyFromPath(e,l.List)},e.prototype.image=function(e){return this.propertyFromPath(e,l.Image)},e.prototype.artboard=function(e){return this.propertyFromPath(e,l.Artboard)},e.prototype.viewModel=function(e){var t=e.split("/"),n=t.length>1?this.viewModelFromPathSegments(t.slice(0,t.length-1),0):this;return null!=n?n.internalViewModelInstance(t[t.length-1]):null},e.prototype.internalReplaceViewModel=function(e,t){var n;if(null!==t.runtimeInstance){var r=(null===(n=this._runtimeInstance)||void 0===n?void 0:n.replaceViewModel(e,t.runtimeInstance))||!1;if(r){t.internalIncrementReferenceCount();var i=this.internalViewModelInstance(e);null!==i&&(i.removeParent(this),this._children.includes(i)&&(this._children=this._children.filter(function(e){return e!==i})),i.cleanup()),this._viewModelInstances.set(e,t),t.addParent(this)}return r}return!1},e.prototype.replaceViewModel=function(e,t){var n,r=e.split("/"),i=r.length>1?this.viewModelFromPathSegments(r.slice(0,r.length-1),0):this;return null!==(n=null==i?void 0:i.internalReplaceViewModel(r[r.length-1],t))&&void 0!==n&&n},e.prototype.incrementReferenceCount=function(){var e;this._referenceCount++,null===(e=this._runtimeInstance)||void 0===e||e.incrementReferenceCount()},e.prototype.decrementReferenceCount=function(){var e;this._referenceCount--,null===(e=this._runtimeInstance)||void 0===e||e.decrementReferenceCount()},Object.defineProperty(e.prototype,"properties",{get:function(){var e;return(null===(e=this._runtimeInstance)||void 0===e?void 0:e.getProperties().map(function(e){return m({},e)}))||[]}
1,enumerable:!1,configurable:!0}),e.prototype.internalIncrementReferenceCount=function(){this._referenceCount++},e.prototype.cleanup=function(){var e,t=this;if(this._referenceCount--,this._referenceCount<=0){this.selfUnref&&(null===(e=this._runtimeInstance)||void 0===e||e.unref()),this._runtimeInstance=null,this.clearCallbacks(),this._propertiesWithCallbacks=[],this._viewModelInstances.forEach(function(e){e.cleanup()}),this._viewModelInstances.clear();var n=v([],this._children,!0);this._children.length=0;var r=v([],this._parents,!0);this._parents.length=0,n.forEach(function(e){e.removeParent(t)}),r.forEach(function(e){e.removeFromViewModelCallbacks(t)})}},e}(),Y=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(e){this._viewModelInstanceValue.value=e},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e(this.value)},t}(K=function(){function e(e,t){this.callbacks=[],this._viewModelInstanceValue=e,this._parentViewModel=t}return e.prototype.on=function(e){0===this.callbacks.length&&this._viewModelInstanceValue.clearChanges(),this.callbacks.includes(e)||(this.callbacks.push(e),this._parentViewModel.addToPropertyCallbacks(this))},e.prototype.off=function(e){e?this.callbacks=this.callbacks.filter(function(t){return t!==e}):this.callbacks.length=0,0===this.callbacks.length&&this._parentViewModel.removeFromPropertyCallbacks(this)},e.prototype.internalHandleCallback=function(e){},e.prototype.handleCallbacks=function(){var e=this;this._viewModelInstanceValue.hasChanged&&this.callbacks.forEach(function(t){e.internalHandleCallback(t)})},e.prototype.clearChanges=function(){this._viewModelInstanceValue.clearChanges()},e.prototype.clearCallbacks=function(){this.callbacks.length=0},Object.defineProperty(e.prototype,"name",{get:function(){return this._viewModelInstanceValue.name},enumerable:!1,configurable:!0}),e}()),X=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(e){this._viewModelInstanceValue.value=e},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e(this.value)},t}(K),Z=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(e){this._viewModelInstanceValue.value=e},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e(this.value)},t}(K),J=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),t.prototype.trigger=function(){return this._viewModelInstanceValue.trigger()},t.prototype.internalHandleCallback=function(e){e()},t}(K),Q=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(e){this._viewModelInstanceValue.value=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueIndex",{get:function(){return this._viewModelInstanceValue.valueIndex},set:function(e){this._viewModelInstanceValue.valueIndex=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"values",{get:function(){return this._viewModelInstanceValue.values},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e(this.value)},t}(K),ee=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"length",{get:function(){return this._viewModelInstanceValue.size},enumerable:!1,configurable:!0}),t.prototype.addInstance=function(e){null!=e.runtimeInstance&&(this._viewModelInstanceValue.addInstance(e.runtimeInstance),e.addParent(this._parentViewModel))},t.prototype.addInstanceAt=function(e,t){return!!(null!=e.runtimeInstance&&this._viewModelInstanceValue.addInstanceAt(e.runtimeInstance,t))&&(e.addParent(this._parentViewModel),!0)},t.prototype.removeInstance=function(e){null!=e.runtimeInstance&&(this._viewModelInstanceValue.removeInstance(e.runtimeInstance),e.removeParent(this._parentViewModel))},t.prototype.removeInstanceAt=function(e){this._viewModelInstanceValue.removeInstanceAt(e)},t.prototype.instanceAt=function(e){var t=this._viewModelInstanceValue.instanceAt(e);if(null!=t){var n=new q(t,this._parentViewModel);return(0,p.createFinalization)(n,t),n}return null},t.prototype.swap=function(e,t){this._viewModelInstanceValue.swap(e,t)},t.prototype.internalHandleCallback=function(e){e()},t}(K),et=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(e){this._viewModelInstanceValue.value=e}
1,enumerable:!1,configurable:!0}),t.prototype.rgb=function(e,t,n){this._viewModelInstanceValue.rgb(e,t,n)},t.prototype.rgba=function(e,t,n,r){this._viewModelInstanceValue.argb(r,e,t,n)},t.prototype.argb=function(e,t,n,r){this._viewModelInstanceValue.argb(e,t,n,r)},t.prototype.alpha=function(e){this._viewModelInstanceValue.alpha(e)},t.prototype.opacity=function(e){this._viewModelInstanceValue.alpha(Math.round(255*Math.max(0,Math.min(1,e))))},t.prototype.internalHandleCallback=function(e){e(this.value)},t}(K),en=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{set:function(e){var t;this._viewModelInstanceValue.value(null!==(t=null==e?void 0:e.nativeImage)&&void 0!==t?t:null)},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e()},t}(K),er=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{set:function(e){var t,n,r;r=e.isBindableArtboard?e:e.file.internalBindableArtboardFromArtboard(e.nativeArtboard),this._viewModelInstanceValue.value(null!==(t=null==r?void 0:r.nativeArtboard)&&void 0!==t?t:null),(null==r?void 0:r.nativeViewModel)&&this._viewModelInstanceValue.viewModelInstance(null!==(n=null==r?void 0:r.nativeViewModel)&&void 0!==n?n:null)},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e()},t}(K),ei=function(e){return g(void 0,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return[4,fetch(new Request(e))];case 1:return[4,t.sent().arrayBuffer()];case 2:return[2,t.sent()]}})})},ea=function(e){return"string"==typeof e?[e]:e instanceof Array?e:[]},eo={EventManager:O,TaskQueueManager:R},es=function(e){return g(void 0,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return[4,new Promise(function(t){return E.getInstance(function(n){n.decodeAudio(e,t)})})];case 1:return t=r.sent(),n=new p.AudioWrapper(t),p.finalizationRegistry.register(n,t),[2,n]}})})},el=function(e){return g(void 0,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return[4,new Promise(function(t){return E.getInstance(function(n){n.decodeImage(e,t)})})];case 1:return t=r.sent(),n=new p.ImageWrapper(t),p.finalizationRegistry.register(n,t),[2,n]}})})},ec=function(e){return g(void 0,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return[4,new Promise(function(t){return E.getInstance(function(n){n.decodeFont(e,t)})})];case 1:return t=r.sent(),n=new p.FontWrapper(t),p.finalizationRegistry.register(n,t),[2,n]}})})},eh})(),e.exports=t()},9957:(e,t,n)=>{"use strict";var r=Function.prototype.call,i=Object.prototype.hasOwnProperty,a=n(66743);e.exports=a.call(r,i)},10104:(e,t,n)=>{"use strict";n.d(t,{Gt:()=>i,PP:()=>s,WG:()=>a,uv:()=>o});var r=n(41533);let{schedule:i,cancel:a,state:o,steps:s}=(0,n(75489).I)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},10309:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});var r=n(44768);let i=e=>(e*=2)<1?.5*(0,r.dg)(e):.5*(2-Math.pow(2,-10*(e-1)))},10487:(e,t,n)=>{"use strict";var r=n(66743),i=n(70453),a=n(96897),o=n(69675),s=i("%Function.prototype.apply%"),l=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||r.call(l,s),u=n(30655),d=i("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new o("a function is required");var t=c(r,l,arguments);return a(t,1+d(0,e.length-(arguments.length-1)),!0)};var p=function(){return c(r,s,arguments)};u?u(e.exports,"apply",{value:p}):e.exports.apply=p},10691:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(40574);function i(e){return null===e||(0,r.Ee)(e)||(0,r.Ny)(e)?1:(0,r.es)(e)?2:void 0}},10938:(e,t)=>
1{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return a}});let n=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available");class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}}let i=globalThis.AsyncLocalStorage;function a(){return i?new i:new r}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},12375:(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(n=>{void 0===e[n]?e[n]=t[n]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])})}n.d(t,{a:()=>l,g:()=>o});let a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function o(){let e="undefined"!=typeof document?document:{};return i(e,a),e}let s={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){let e="undefined"!=typeof window?window:{};return i(e,s),e}},12495:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","Ä":"A","Ä":"a","Ä":"A","Ä":"a","Ä":"A","Ä
":"a","Ä":"C","Ä":"c","Ä":"C","Ä":"c","Ä":"D","Ä":"d","Ä":"DJ","Ä":"dj","Ä":"E","Ä":"e","Ä":"E","Ä":"e","Ä":"e","Ä":"e","Ä":"E","Ä":"e","Ä":"G","Ä":"g","Ä¢":"G","Ä£":"g","Ĩ":"I","Ä©":"i","Ī":"i","Ä«":"i","Ä®":"I","į":"i","İ":"I","ı":"i","Ķ":"k","Ä·":"k","Ä»":"L","ļ":"l","Ľ":"L","ľ":"l","Å":"L","Å":"l","Å":"N","Å":"n","Å
":"N","Å":"n","Å":"N","Å":"n","Å":"O","Å":"o","Å":"O","Å":"o","Å":"OE","Å":"oe","Å":"R","Å":"r","Å":"R","Å":"r","Å":"S","Å":"s","Å":"S","Å":"s","Å ":"S","Å¡":"s","Å¢":"T","Å£":"t","Ť":"T","Å¥":"t","Ũ":"U","Å©":"u","Ū":"u","Å«":"u","Å®":"U","ů":"u","Ű":"U","ű":"u","Ų":"U","ų":"u","Å´":"W","ŵ":"w","Ŷ":"Y","Å·":"y","Ÿ":"Y","Ź":"Z","ź":"z","Å»":"Z","ż":"z","Ž":"Z","ž":"z","Æ":"E","Æ":"f","Æ ":"O","Æ¡":"o","Ư":"U","ư":"u","Ç":"LJ","Ç":"lj","Ç":"NJ","Ç":"nj","È":"S","È":"s","È":"T","È":"t","É":"e","Ë":"o","Î":"A","Î":"E","Î":"H","Î":"I","Î":"O","Î":"Y","Î":"W","Î":"i","Î":"A","Î":"B","Î":"G","Î":"D","Î":"E","Î":"Z","Î":"H","Î":"8","Î":"I","Î":"K","Î":"L","Î":"M","Î":"N","Î":"3","Î":"O","Î ":"P","Ρ":"R","Σ":"S","Τ":"T","Î¥":"Y","Φ":"F","Χ":"X","Ψ":"PS","Ω":"W","Ϊ":"I","Ϋ":"Y","ά":"a","Î":"e","ή":"h","ί":"i","ΰ":"y","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"h","θ":"8","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"3","ο":"o","Ï":"p","Ï":"r","Ï":"s","Ï":"s","Ï":"t","Ï
":"y","Ï":"f","Ï":"x","Ï":"ps","Ï":"w","Ï":"i","Ï":"y","Ï":"o","Ï":"y","Ï":"w","Ð":"Yo","Ð":"DJ","Ð":"Ye","Ð":"I","Ð":"Yi","Ð":"J","Ð":"LJ","Ð":"NJ","Ð":"C","Ð":"DZ","Ð":"A","Ð":"B","Ð":"V","Ð":"G","Ð":"D","Ð":"E","Ð":"Zh","Ð":"Z","Ð":"I","Ð":"J","Ð":"K","Ð":"L","Ð":"M","Ð":"N","Ð":"O","Ð":"P","Ð ":"R","С":"S","Т":"T","У":"U","Ф":"F","Ð¥":"H","Ц":"C","Ч":"Ch","Ш":"Sh","Щ":"Sh","Ъ":"U","Ы":"Y","Ь":"","Ð":"E","Ю":"Yu","Я":"Ya","а":"a","б":"b","в":"v","г":"g","д":"d","е":"e","ж":"zh","з":"z","и":"i","й":"j","к":"k","л":"l","м":"m","н":"n","о":"o","п":"p","Ñ":"r","Ñ":"s","Ñ":"t","Ñ":"u","Ñ":"f","Ñ
":"h","Ñ":"c","Ñ":"ch","Ñ":"sh","Ñ":"sh","Ñ":"u","Ñ":"y","Ñ":"","Ñ":"e","Ñ":"yu","Ñ":"ya","Ñ":"yo","Ñ":"dj","Ñ":"ye","Ñ":"i","Ñ":"yi","Ñ":"j","Ñ":"lj","Ñ":"nj","Ñ":"c","Ñ":"u","Ñ":"dz","Ò":"G","Ò":"g","Ò":"GH","Ò":"gh","Ò":"KH","Ò":"kh","Ò¢":"NG","Ò£":"ng","Ò®":"UE","Ò¯":"ue","Ò°":"U","Ò±":"u","Òº":"H","Ò»":"h","Ó":"AE","Ó":"ae","Ó¨"
1:"OE","Ó©":"oe","Ô±":"A","Ô²":"B","Ô³":"G","Ô´":"D","Ôµ":"E","Ô¶":"Z","Ô·":"E\'","Ô¸":"Y\'","Ô¹":"T\'","Ôº":"JH","Ô»":"I","Ô¼":"L","Ô½":"X","Ô¾":"C\'","Ô¿":"K","Õ":"H","Õ":"D\'","Õ":"GH","Õ":"TW","Õ":"M","Õ
":"Y","Õ":"N","Õ":"SH","Õ":"CH","Õ":"P","Õ":"J","Õ":"R\'","Õ":"S","Õ":"V","Õ":"T","Õ":"R","Õ":"C","Õ":"P\'","Õ":"Q\'","Õ":"O\'\'","Õ":"F","Ö":"EV","Ø¡":"a","Ø¢":"aa","Ø£":"a","ؤ":"u","Ø¥":"i","ئ":"e","ا":"a","ب":"b","Ø©":"h","ت":"t","Ø«":"th","ج":"j","Ø":"h","Ø®":"kh","د":"d","ذ":"th","ر":"r","ز":"z","س":"s","Ø´":"sh","ص":"s","ض":"dh","Ø·":"t","ظ":"z","ع":"a","غ":"gh","Ù":"f","Ù":"q","Ù":"k","Ù":"l","Ù
":"m","Ù":"n","Ù":"h","Ù":"w","Ù":"a","Ù":"y","Ù":"an","Ù":"on","Ù":"en","Ù":"a","Ù":"u","Ù":"e","Ù":"","Ù ":"0","Ù¡":"1","Ù¢":"2","Ù£":"3","Ù¤":"4","Ù¥":"5","Ù¦":"6","Ù§":"7","Ù¨":"8","Ù©":"9","Ù¾":"p","Ú":"ch","Ú":"zh","Ú©":"k","Ú¯":"g","Û":"y","Û°":"0","Û±":"1","Û²":"2","Û³":"3","Û´":"4","Ûµ":"5","Û¶":"6","Û·":"7","Û¸":"8","Û¹":"9","฿":"baht","á":"a","á":"b","á":"g","á":"d","á":"e","á":"v","á":"z","á":"t","á":"i","á":"k","á":"l","á":"m","á":"n","á":"o","á":"p","á":"zh","á ":"r","á¡":"s","á¢":"t","á£":"u","á¤":"f","á¥":"k","á¦":"gh","á§":"q","á¨":"sh","á©":"ch","áª":"ts","á«":"dz","á¬":"ts","á":"ch","á®":"kh","á¯":"j","á°":"h","á¹¢":"S","á¹£":"s","áº":"W","áº":"w","áº":"W","áº":"w","áº":"W","áº
":"w","áº":"SS","Ạ":"A","ạ":"a","Ả":"A","ả":"a","Ấ":"A","ấ":"a","Ầ":"A","ầ":"a","Ẩ":"A","ẩ":"a","Ẫ":"A","ẫ":"a","Ậ":"A","áº":"a","Ắ":"A","ắ":"a","Ằ":"A","ằ":"a","Ẳ":"A","ẳ":"a","Ẵ":"A","ẵ":"a","Ặ":"A","ặ":"a","Ẹ":"E","ẹ":"e","Ẻ":"E","ẻ":"e","Ẽ":"E","ẽ":"e","Ế":"E","ế":"e","á»":"E","á»":"e","á»":"E","á»":"e","á»":"E","á»
":"e","á»":"E","á»":"e","á»":"I","á»":"i","á»":"I","á»":"i","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á»":"O","á»":"o","á» ":"O","ỡ":"o","Ợ":"O","ợ":"o","Ụ":"U","ụ":"u","Ủ":"U","á»§":"u","Ứ":"U","ứ":"u","Ừ":"U","ừ":"u","Ử":"U","á»":"u","á»®":"U","ữ":"u","á»°":"U","á»±":"u","Ỳ":"Y","ỳ":"y","á»´":"Y","ỵ":"y","á»¶":"Y","á»·":"y","Ỹ":"Y","ỹ":"y","â":"-","â":"\'","â":"\'","â":"\\"","â":"\\"","â":"\\"","â ":"+","â¢":"*","â¦":"...","â ":"ecu","â¢":"cruzeiro","â£":"french franc","â¤":"lira","â¥":"mill","â¦":"naira","â§":"peseta","â¨":"rupee","â©":"won","âª":"new shequel","â«":"dong","â¬":"euro","â":"kip","â®":"tugrik","â¯":"drachma","â°":"penny","â±":"peso","â²":"guarani","â³":"austral","â´":"hryvnia","âµ":"cedi","â¸":"kazakhstani tenge","â¹":"indian rupee","âº":"turkish lira","â½":"russian ruble","â¿":"bitcoin","â ":"sm","â¢":"tm","â":"d","â":"delta","â":"sum","â":"infinity","â¥":"love","å
":"yuan","å":"yen","ï·¼":"rial","ﻵ":"laa","ï»·":"laa","ﻹ":"lai","ï»»":"la"}'),t=JSON.parse('{"bg":{"Ð":"Y","Ц":"Ts","Щ":"Sht","Ъ":"A","Ь":"Y","й":"y","Ñ":"ts","Ñ":"sht","Ñ":"a","Ñ":"y"},"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","\xdf":"ss","%":"prozent","&":"und","|":"oder","â":"summe","â":"unendlich","â¥":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","â£":"francos","â":"suma","â":"infinito","â¥":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","â£":"franc","â":"somme","â":"infini","â¥":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","â":"soma","\xa3":"libra","â":"infinito","â¥":"amor"},"uk":{"Ð":"Y","и":"y","Ð":"Y","й":"y","Ц":"Ts","Ñ":"ts","Ð¥":"Kh","Ñ
":"kh","Щ":"Shch","Ñ":"shch","Ð":"H","г":"h"},"vi":{"Ä":"D","Ä":"d"},"da":{"\xd8":"OE","\xf8":"oe","\xc5":"AA","\xe5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xf8rre end"},"nb":{"&":"og","\xc5":"AA","\xc6":"AE","\xd8":"OE","\xe5":"aa","\xe6":"ae","\xf8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xc5":"AA","\xc4":"AE","\xd6":"OE","\xe5":"aa","\xe4":"ae","\xf6":"oe"}}');function n(n,r){if("string"!=typeof n)throw Error("slugify: string argument expected");var i=t[(r="string"==typeof r?{replacement:r}:r||{}).locale]||{},a=void 0===r.replacement?"-":r.replacement,o=void 0===r.trim||r.trim,s=n.normalize().split("").reduce(function(t,n){var o=i[n];return void 0===o&&(o=e[n]),void 0===o&&(o=n),o===a&&(o=" "),t+o.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")},"");return r.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),o&&(s=s.trim()),s=s.replace(/\s+/g,a),r.lower&&(s=s.toLowerCase()),s}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},12594:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}
1,i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;let a=i(n(99699)),o=n(35909);t.YouTubeEmbed=e=>{var t=r(e,[]);return(0,o.formatData)(a.default,t)}},13073:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var r=n(19520);let i=(0,n(9100).C)(),a=(0,r.I)(i)},13112:(e,t,n)=>{"use strict";let r;n.d(t,{$6:()=>m,$G:()=>g,X4:()=>v,xn:()=>b});var i=n(88322),a=n(65606);function o(){if(void 0!==r)return r;try{return r=(0,i.getCache)({namespace:"cf-entry-cache"})}catch(e){return console.warn("[resolvedLinkCache] Failed to initialise Runtime Cache:",e?.message||e),r=null,null}}let s=new Map,l=new Map;function c(e){return!0===e||"true"===a.env.CONTENTFUL_PREVIEW}function u(e){return e?"preview":"prod"}function d(e,t){return`cf:resolvedLink:v2:${e.entryId}:${e.locale}:${u(t)}:${e.mode}`}function p(e,t){return`entry:${u(t)}:${e}`}function h(e){let t=new WeakSet;return JSON.stringify(e,(e,n)=>{if(null!==n&&"object"==typeof n){if(t.has(n))return{_circularRef:!0,sys:n.sys};t.add(n)}return n})}function f(e){return"string"==typeof e?JSON.parse(e):e}async function m(e){let t=c(e.preview),n=d(e,t);if(s.has(n))return s.get(n);let r=o();if(r)try{let e=await r.get(n);if(null!=e){let t=f(e);return s.set(n,t),t}}catch(e){console.warn("[resolvedLinkCache] Runtime Cache GET failed, falling back to in-memory:",e?.message||e)}}async function g(e,t){if(null==t)return;let n=c(e.preview),r=d(e,n);s.set(r,t);let i=(function(e){let t=new Set,n=new WeakSet,r=e=>{null===e||"object"!=typeof e||n.has(e)||(n.add(e),e.sys?.type==="Entry"&&"string"==typeof e.sys.id&&t.add(e.sys.id),(Array.isArray(e)?e:Object.values(e)).forEach(r))};return r(e),Array.from(t)})(t).filter(t=>t!==e.entryId);i.forEach(e=>{let t=l.get(e)??new Set;t.add(r),l.set(e,t)});let a=o();if(!a)return;let u=i.slice(0,127);u.length<i.length&&console.warn(`[resolvedLinkCache] entry ${e.entryId} embeds ${i.length} entries; dependency tags truncated to ${u.length}`);try{let i=h(t);await a.set(r,i,{ttl:n?3600:86400,tags:[e.entryId,...u].map(e=>p(e,n))})}catch(e){console.warn("[resolvedLinkCache] Runtime Cache SET failed:",e?.message||e)}}function y(e,t){return`cf:named:v1:${u(t)}:${e}`}async function v(e,t={}){let n=y(e,c(t.preview));if(s.has(n))return s.get(n);let r=o();if(r)try{let e=await r.get(n);if(null!=e){let t=f(e);return s.set(n,t),t}}catch(e){console.warn("[resolvedLinkCache] named Runtime Cache GET failed, falling back to in-memory:",e?.message||e)}}async function b(e,t,n={}){if(null==t)return;let r=c(n.preview),i=y(e,r),a=n.ttlSeconds??900,u=r?Math.min(a,3600):a;if(s.set(i,t),n.entryId){let e=l.get(n.entryId)??new Set;e.add(i),l.set(n.entryId,e)}let d=o();if(d)try{await d.set(i,h(t),{ttl:u,tags:n.entryId?[p(n.entryId,r)]:void 0})}catch(e){console.warn("[resolvedLinkCache] named Runtime Cache SET failed:",e?.message||e)}}},13141:(e,t,n)=>{"use strict";function r(e){let t=[{},{}];return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function i(e,t,n,i){if("function"==typeof t){let[a,o]=r(i);t=t(void 0!==n?n:e.custom,a,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[a,o]=r(i);t=t(void 0!==n?n:e.custom,a,o)}return t}n.d(t,{a:()=>i})},13867:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/OrderedList","definitions":{"OrderedList":{"type":"object","properties":{"nodeType":{"type":"string","enum":["ordered-list"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/ListItem"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItem":{"type":"object","properties":{"nodeType":{"type":"string","enum":["list-item"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/ListItemBlock"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlock":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/ListItemBlockEnum"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlockEnum":{"enum":["blockquote","embedded-asset-block","embedded-entry-block","embedded-resource-block","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","hr","ordered-list","paragraph","unordered-list"],"type":"string"},"Block":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/BLOCKS"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"BLOCKS":{"description":"Map of all Contentful block types. Blocks contain inline or block nodes.","type":"string","enum":["document","paragraph","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","ordered-list","unordered-list","list-item","hr","blockquote","embedded-entry-block","embedded-asset-block","embedded-resource-block","table","table-row","table-cell","table-header-cell"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')}
1,13914:(e,t,n)=>{"use strict";n.d(t,{Ij:()=>s,xI:()=>o,ZD:()=>p,_R:()=>d,Vx:()=>a});var r=n(12375),i=n(17044);function a(e){let{swiper:t,extendParams:n,on:r,emit:a}=e;function o(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e)||t.hostEl.querySelector(e))?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n)?e:n}function s(e,n){let r=t.params.navigation;(e=(0,i.m)(e)).forEach(e=>{e&&(e.classList[n?"add":"remove"](...r.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](r.lockClass))})}function l(){let{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop){s(n,!1),s(e,!1);return}s(n,t.isBeginning&&!t.params.rewind),s(e,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),a("navigationPrev"))}function u(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),a("navigationNext"))}function d(){var e,n,r;let a=t.params.navigation;if(t.params.navigation=(e=t.originalParams.navigation,n=t.params.navigation,r={nextEl:"swiper-button-next",prevEl:"swiper-button-prev"},t.params.createElements&&Object.keys(r).forEach(a=>{if(!n[a]&&!0===n.auto){let o=(0,i.e)(t.el,`.${r[a]}`)[0];o||((o=(0,i.c)("div",r[a])).className=r[a],t.el.append(o)),n[a]=o,e[a]=o}}),n),!(a.nextEl||a.prevEl))return;let s=o(a.nextEl),l=o(a.prevEl);Object.assign(t.navigation,{nextEl:s,prevEl:l}),s=(0,i.m)(s),l=(0,i.m)(l);let d=(e,n)=>{e&&e.addEventListener("click","next"===n?u:c),!t.enabled&&e&&e.classList.add(...a.lockClass.split(" "))};s.forEach(e=>d(e,"next")),l.forEach(e=>d(e,"prev"))}function p(){let{nextEl:e,prevEl:n}=t.navigation;e=(0,i.m)(e),n=(0,i.m)(n);let r=(e,n)=>{e.removeEventListener("click","next"===n?u:c),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>
1r(e,"next")),n.forEach(e=>r(e,"prev"))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},r("init",()=>{!1===t.params.navigation.enabled?h():(d(),l())}),r("toEdge fromEdge lock unlock",()=>{l()}),r("destroy",()=>{p()}),r("enable disable",()=>{let{nextEl:e,prevEl:n}=t.navigation;if(e=(0,i.m)(e),n=(0,i.m)(n),t.enabled){l();return}[...e,...n].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),r("click",(e,n)=>{let{nextEl:r,prevEl:o}=t.navigation;r=(0,i.m)(r),o=(0,i.m)(o);let s=n.target,l=o.includes(s)||r.includes(s);if(t.isElement&&!l){let e=n.path||n.composedPath&&n.composedPath();e&&(l=e.find(e=>r.includes(e)||o.includes(e)))}if(t.params.navigation.hideOnClick&&!l){let e;if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===s||t.pagination.el.contains(s)))return;r.length?e=r[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(e=o[0].classList.contains(t.params.navigation.hiddenClass)),!0===e?a("navigationShow"):a("navigationHide"),[...r,...o].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});let h=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),l()},disable:h,update:l,init:d,destroy:p})}function o(e){let{swiper:t,extendParams:n,on:r}=e;function a(e,t){let n,r,i,a,o;let s=(e,t)=>{for(a=-1,i=e.length;i-a>1;)e[o=i+a>>1]<=t?a=o:i=o;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(n=(r=s(this.x,e))-1,(e-this.x[n])*(this.y[r]-this.y[n])/(this.x[r]-this.x[n])+this.y[n]):0},this}function o(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}n({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},r("beforeInit",()=>{if("undefined"!=typeof window&&("string"==typeof t.params.controller.control||t.params.controller.control instanceof HTMLElement)){("string"==typeof t.params.controller.control?[...document.querySelectorAll(t.params.controller.control)]:[t.params.controller.control]).forEach(e=>{if(t.controller.control||(t.controller.control=[]),e&&e.swiper)t.controller.control.push(e.swiper);else if(e){let n=`${t.params.eventsPrefix}init`,r=i=>{t.controller.control.push(i.detail[0]),t.update(),e.removeEventListener(n,r)};e.addEventListener(n,r)}});return}t.controller.control=t.params.controller.control}),r("update",()=>{o()}),r("resize",()=>{o()}),r("observerUpdate",()=>{o()}),r("setTranslate",(e,n,r)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTranslate(n,r)}),r("setTransition",(e,n,r)=>{t.controller.control&&!t.controller.control.destroyed&&t.controller.setTransition(n,r)}),Object.assign(t.controller,{setTranslate:function(e,n){let r,i;let o=t.controller.control,s=t.constructor;function l(e){if(e.destroyed)return;let n=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(t.controller.spline=t.params.loop?new a(t.slidesGrid,e.slidesGrid):new a(t.snapGrid,e.snapGrid),i=-t.controller.spline.interpolate(-n)),i&&"container"!==t.params.controller.by||((Number.isNaN(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()))||!Number.isFinite(r))&&(r=1),i=(n-t.minTranslate())*r+e.minTranslate()),t.params.controller.inverse&&(i=e.maxTranslate()-i),e.updateProgress(i),e.setTranslate(i,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(o))for(let e=0;e<o.length;e+=1)o[e]!==n&&o[e]instanceof s&&l(o[e]);else o instanceof s&&n!==o&&l(o)},setTransition:function(e,n){let r;let a=t.constructor,o=t.controller.control;function s(n){n.destroyed||(n.setTransition(e,t),0!==e&&(n.transitionStart(),n.params.autoHeight&&(0,i.n)(()=>{n.updateAutoHeight()}),(0,i.k)(n.wrapperEl,()=>{o&&n.transitionEnd()})))}if(Array.isArray(o))for(r=0;r<o.length;r+=1)o[r]!==n&&o[r]instanceof a&&s(o[r]);else o instanceof a&&n!==o&&s(o)}})}function s(e){let t,n,i,a,o,s,l,c,u,d,{swiper:p,extendParams:h,on:f,emit:m,params:g}=e;p.autoplay={running:!1,paused:!1,timeLeft:0},h({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let y=g&&g.autoplay?g.autoplay.delay:3e3,v=g&&g.autoplay?g.autoplay.delay:3e3,b=new Date().getTime();function x(e){p&&!p.destroyed&&p.wrapperEl&&e.target===p.wrapperEl&&(p.wrapperEl.removeEventListener("transitionend",x),!d&&(!e.detail||!e.detail.bySwiperTouchMove)&&A())}let w=()=>
1{if(p.destroyed||!p.autoplay.running)return;p.autoplay.paused?a=!0:a&&(v=i,a=!1);let e=p.autoplay.paused?i:b+v-new Date().getTime();p.autoplay.timeLeft=e,m("autoplayTimeLeft",e,e/y),n=requestAnimationFrame(()=>{w()})},j=()=>{let e;if(e=p.virtual&&p.params.virtual.enabled?p.slides.filter(e=>e.classList.contains("swiper-slide-active"))[0]:p.slides[p.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),10)},C=e=>{if(p.destroyed||!p.autoplay.running)return;cancelAnimationFrame(n),w();let r=void 0===e?p.params.autoplay.delay:e;y=p.params.autoplay.delay,v=p.params.autoplay.delay;let a=j();!Number.isNaN(a)&&a>0&&void 0===e&&(r=a,y=a,v=a),i=r;let o=p.params.speed,s=()=>{p&&!p.destroyed&&(p.params.autoplay.reverseDirection?!p.isBeginning||p.params.loop||p.params.rewind?(p.slidePrev(o,!0,!0),m("autoplay")):p.params.autoplay.stopOnLastSlide||(p.slideTo(p.slides.length-1,o,!0,!0),m("autoplay")):!p.isEnd||p.params.loop||p.params.rewind?(p.slideNext(o,!0,!0),m("autoplay")):p.params.autoplay.stopOnLastSlide||(p.slideTo(0,o,!0,!0),m("autoplay")),p.params.cssMode&&(b=new Date().getTime(),requestAnimationFrame(()=>{C()})))};return r>0?(clearTimeout(t),t=setTimeout(()=>{s()},r)):requestAnimationFrame(()=>{s()}),r},E=()=>{b=new Date().getTime(),p.autoplay.running=!0,C(),m("autoplayStart")},k=()=>{p.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),m("autoplayStop")},S=(e,n)=>{if(p.destroyed||!p.autoplay.running)return;clearTimeout(t),e||(u=!0);let r=()=>{m("autoplayPause"),p.params.autoplay.waitForTransition?p.wrapperEl.addEventListener("transitionend",x):A()};if(p.autoplay.paused=!0,n){c&&(i=p.params.autoplay.delay),c=!1,r();return}i=(i||p.params.autoplay.delay)-(new Date().getTime()-b),p.isEnd&&i<0&&!p.params.loop||(i<0&&(i=0),r())},A=()=>{p.isEnd&&i<0&&!p.params.loop||p.destroyed||!p.autoplay.running||(b=ne
1w Date().getTime(),u?(u=!1,C(i)):C(),p.autoplay.paused=!1,m("autoplayResume"))},T=()=>{if(p.destroyed||!p.autoplay.running)return;let e=(0,r.g)();"hidden"===e.visibilityState&&(u=!0,S(!0)),"visible"===e.visibilityState&&A()},_=e=>{"mouse"===e.pointerType&&(u=!0,d=!0,p.animating||p.autoplay.paused||S(!0))},L=e=>{"mouse"===e.pointerType&&(d=!1,p.autoplay.paused&&A())},N=()=>{p.params.autoplay.pauseOnMouseEnter&&(p.el.addEventListener("pointerenter",_),p.el.addEventListener("pointerleave",L))},P=()=>{p.el&&"string"!=typeof p.el&&(p.el.removeEventListener("pointerenter",_),p.el.removeEventListener("pointerleave",L))},I=()=>{(0,r.g)().addEventListener("visibilitychange",T)},M=()=>{(0,r.g)().removeEventListener("visibilitychange",T)};f("init",()=>{p.params.autoplay.enabled&&(N(),I(),E())}),f("destroy",()=>{P(),M(),p.autoplay.running&&k()}),f("_freeModeStaticRelease",()=>{(s||u)&&A()}),f("_freeModeNoMomentumRelease",()=>{p.params.autoplay.disableOnInteraction?k():S(!0,!0)}),f("beforeTransitionStart",(e,t,n)=>{!p.destroyed&&p.autoplay.running&&(n||!p.params.autoplay.disableOnInteraction?S(!0,!0):k())}),f("sliderFirstMove",()=>{if(!p.destroyed&&p.autoplay.running){if(p.params.autoplay.disableOnInteraction){k();return}o=!0,s=!1,u=!1,l=setTimeout(()=>{u=!0,s=!0,S(!0)},200)}}),f("touchEnd",()=>{if(!p.destroyed&&p.autoplay.running&&o){if(clearTimeout(l),clearTimeout(t),p.params.autoplay.disableOnInteraction){s=!1,o=!1;return}s&&p.params.cssMode&&A(),s=!1,o=!1}}),f("slideChange",()=>{!p.destroyed&&p.autoplay.running&&(c=!0)}),Object.assign(p.autoplay,{start:E,stop:k,pause:S,resume:A})}function l(e){let t;let{effect:n,swiper:r,on:i,setTranslate:a,setTransition:o,overwriteParams:s,perspective:l,recreateShadows:c,getEffectParams:u}=e;i("beforeInit",()=>{if(r.params.effect!==n)return;r.classNames.push(`${r.params.containerModifierClass}${n}`),l&&l()&&r.classNames.push(`${r.params.containerModifierClass}3d`);let e=s?s():{};Object.assign(r.params,e),Object.assign(r.originalParams,e)}),i("setTranslate",()=>{r.params.effect===n&&a()}),i("setTransition",(e,t)=>{r.params.effect===n&&o(t)}),i("transitionEnd",()=>{r.params.effect===n&&c&&u&&u().slideShadows&&(r.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),c())}),i("virtualUpdate",()=>{r.params.effect===n&&(r.slides.length||(t=!0),requestAnimationFrame(()=>{t&&r.slides&&r.slides.length&&(a(),t=!1)}))})}function c(e,t){let n=(0,i.g)(t);return n!==t&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function u(e){let{swiper:t,duration:n,transformElements:r,allSlides:a}=e,{activeIndex:o}=t,s=e=>e.parentElement?e.parentElement:t.slides.filter(t=>t.shadowRoot&&t.shadowRoot===e.parentNode)[0];if(t.params.virtualTranslate&&0!==n){let e=!1;(a?r:r.filter(e=>{let n=e.classList.contains("swiper-slide-transform")?s(e):e;return t.getSlideIndex(n)===o})).forEach(n=>{(0,i.k)(n,()=>{if(e||!t||t.destroyed)return;e=!0,t.animating=!1;let n=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});t.wrapperEl.dispatchEvent(n)})})}}function d(e){let{swiper:t,extendParams:n,on:r}=e;n({fadeEffect:{crossFade:!1}}),l({effect:"fade",swiper:t,on:r,setTranslate:()=>{let{slides:e}=t,n=t.params.fadeEffect;for(let r=0;r<e.length;r+=1){let e=t.slides[r],i=-e.swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let a=0;t.isHorizontal()||(a=i,i=0);let o=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),s=c(n,e);s.style.opacity=o,s.style.transform=`translate3d(${i}px, ${a}px, 0px)`}},setTransition:e=>{let n=t.slides.map(e=>(0,i.g)(e));n.forEach(t=>{t.style.transitionDuration=`${e}ms`}),u({swiper:t,duration:e,transformElements:n,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function p(e){let{swiper:t,extendParams:n,on:r}=e;n({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),l({effect:"cards",swiper:t,on:r,setTranslate:()=>{let{slides:e,activeIndex:n,rtlTranslate:r}=t,a=t.params.cardsEffect,{startTranslate:o,isTouched:s}=t.touchEventsData,l=r?-t.translate:t.translate;
1for(let u=0;u<e.length;u+=1){let d=e[u],p=d.progress,h=Math.min(Math.max(p,-4),4),f=d.swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&(t.wrapperEl.style.transform=`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(f-=e[0].swiperSlideOffset);let m=t.params.cssMode?-f-t.translate:-f,g=0,y=-100*Math.abs(h),v=1,b=-a.perSlideRotate*h,x=a.perSlideOffset-.75*Math.abs(h),w=t.virtual&&t.params.virtual.enabled?t.virtual.from+u:u,j=(w===n||w===n-1)&&h>0&&h<1&&(s||t.params.cssMode)&&l<o,C=(w===n||w===n+1)&&h<0&&h>-1&&(s||t.params.cssMode)&&l>o;if(j||C){let e=(1-Math.abs((Math.abs(h)-.5)/.5))**.5;b+=-28*h*e,v+=-.5*e,x+=96*e,g=`${-25*e*Math.abs(h)}%`}if(m=h<0?`calc(${m}px ${r?"-":"+"} (${x*Math.abs(h)}%))`:h>0?`calc(${m}px ${r?"-":"+"} (-${x*Math.abs(h)}%))`:`${m}px`,!t.isHorizontal()){let e=g;g=m,m=e}let E=h<0?`${1+(1-v)*h}`:`${1-(1-v)*h}`,k=` 2 translate3d(${m}, ${g}, ${y}px) 3 rotateZ(${a.rotate?r?-b:b:0}deg) 4 scale(${E}) 5 `;if(a.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=function(e,t,n){let r=`swiper-slide-shadow${e?` swiper-slide-shadow-${e}`:""}`,a=(0,i.g)(t),o=a.querySelector(`.${r.split(" ").join(".")}`);return o||(o=(0,i.c)("div",r.split(" ")),a.append(o)),o}("cards",d)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(h)-.5)/.5,0),1))}d.style.zIndex=-Math.abs(Math.round(p))+e.length,c(a,d).style.transform=k}},setTransition:e=>{let n=t.slides.map(e=>(0,i.g)(e));n.forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow").forEach(t=>{t.style.transitionDuration=`${e}ms`})}),u({swiper:t,duration:e,transformElements:n})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}},13996:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});let r={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},i={};for(let e in r)i[e]={isEnabled:t=>r[e].some(e=>!!t[e])}},14289:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(86188);function i({defaultPattern:e,overrides:t={}}){let n={};for(let i of r.YZ)n[i]=t[i]||e;return n}function a(e,t={}){let n={};for(let i of r.YZ)n[i]=t[i]||e;return n}let o=[{contentType:"post",patterns:i({defaultPattern:{list:"/blog/",single:"/blog/:slug/",paginated:"/blog/page/:page/",taxonomies:{Topic:"/blog/topic/:term/"},paginatedTaxonomies:{Topic:"/blog/topic/:term/page/:page/"}}}),listingType:"post",taxonomies:["Topic"],rootContentTypeSlug:a("blog")},{contentType:"interactiveAssetHub",patterns:i({defaultPattern:{list:"/tours/",single:"/tours/:slug/",paginated:"/tours/page/:page/",taxonomies:{"Interactive Hub":"/tours/type/:term/"},paginatedTaxonomies:{"Interactive Hub":"/tours/type/:term/page/:page/"}}}),listingType:"interactiveAssetHub",taxonomies:["Goal","Product Area","Demo Type"],rootContentTypeSlug:a("tours")},{contentType:"postTypePress",patterns:i({defaultPattern:{list:"/press/",single:"/press/:slug/",paginated:"/press/page/:page/",taxonomies:{"Press & Media":"/press/category/:term/"}}}),listingType:"postTypePress",taxonomies:["Press & Media"],rootContentTypeSlug:a("press")},{contentType:"guide",patterns:i({defaultPattern:{list:"/guides/",single:"/guides/*slug",paginated:"/guides/page/:page/",taxonomies:{Topic:"/guides/topic/:term/"},paginatedTaxonomies:{Topic:"/guides/topic/:term/page/:page/"}},overrides:{"es-es":{list:"/guias/",single:"/guias/*slug",paginated:"/guias/page/:page/",taxonomies:{Topic:"/guias/topic/:term/"},paginatedTaxonomies:{Topic:"/guias/topic/:term/page/:page/"}},"it-it":{list:"/guide/",single:"/guide/*slug",paginated:"/guide/page/:page/",taxonomies:{Topic:"/guide/topic/:term/"}}}}),listingType:"guide",taxonomies:["Topic"],rootContentTypeSlug:a("guides",{"it-it":"guide","es-es":"guias"})},{contentType:"eventsWebinars",patterns:i({defaultPattern:{list:"/events/",single:"/events/:slug/",paginated:"/events/page/:page/",taxonomies:{"
5Event Location":"/events/location/:term/"},paginatedTaxonomies:{"Event Location":"/events/location/:term/page/:page/"}}}),listingType:"eventsWebinars",taxonomies:["Event Location"],rootContentTypeSlug:a("events")},{contentType:"ebooksReports",patterns:i({defaultPattern:{list:"/ebooks-reports/",single:"/ebooks-reports/:slug/",paginated:"/ebooks-reports/page/:page/",taxonomies:{eBook:"/ebooks-reports/type/:term/"},paginatedTaxonomies:{eBook:"/ebooks-reports/type/:term/page/:page/"}}}),listingType:"ebooksReports",taxonomies:["eBook"],rootContentTypeSlug:a("ebooks-reports")},{contentType:"postTypeNews",patterns:i({defaultPattern:{list:"/news/",single:"/news/:slug/",paginated:"/news/page/:page/",taxonomies:{news:"/news/type/:term/"},paginatedTaxonomies:{news:"/news/type/:term/page/:page/"}}}),listingType:"postTypeNews",taxonomies:["postTypeNews"],rootContentTypeSlug:a("news")},{contentType:"partnerStory",patterns:i({defaultPattern:{list:"/partner-stories/",single:"/partner-stories/:slug/",paginated:"/partner-stories/page/:page/",taxonomies:{"Partner Type":"/partner-stories/type/:term/"},paginatedTaxonomies:{"Partner Type":"/partner-stories/type/:term/page/:page/"}}}
5),listingType:"partnerStory",taxonomies:["Partner Type"],rootContentTypeSlug:a("partner-stories")},{contentType:"productUpdate",patterns:i({defaultPattern:{list:"/updates/",single:"/updates/:slug/",paginated:"/updates/page/:page/",taxonomies:{"Product Update Product":"/updates/type/:term/"},paginatedTaxonomies:{"Product Update Product":"/updates/type/:term/page/:page/"}}}),listingType:"productUpdate",taxonomies:["Product Update Product"],rootContentTypeSlug:a("updates")},{contentType:"surveyTemplate",patterns:i({defaultPattern:{list:"/survey-templates/",single:"/survey-templates/:slug/",paginated:"/survey-templates/page/:page/",taxonomies:{"Survey Template Type":"/survey-templates/type/:term/"},paginatedTaxonomies:{"Survey Template Type":"/survey-templates/type/:term/page/:page/"}}}),listingType:"surveyTemplate",taxonomies:["Survey Template Type"],rootContentTypeSlug:a("survey-templates")},{contentType:"customer",patterns:i({defaultPattern:{list:"/customers/",single:"/customers/:slug/",paginated:"/customers/page/:page/",taxonomies:{"Customer Company Size":"/customers/size/:term/",Product:"/customers/product/:term/","Customer Industry":"/customers/industry/:term/",Team:"/customers/team/:term/","Use Case":"/customers/use-case/:term/"},paginatedTaxonomies:{"Customer Company Size":"/customers/size/:term/page/:page/",Product:"/customers/product/:term/page/:page/","Customer Industry":"/customers/industry/:term/page/:page/",Team:"/customers/team/:term/page/:page/",Region:"/customers/region/:term/page/:page/","Use Case":"/customers/use-case/:term/page/:page/"}}}),listingType:"customer",taxonomies:["Product","Customer Industry","Team","Region","Use Case"],rootContentTypeSlug:a("customers")}]},14322:(e,t,n)=>{"use strict";n.d(t,{u:()=>a});var r=n(47365),i=n(69896);function a(e){let t=(0,i.S)(e)?e.get():e;return(0,r.B)(t)?t.toValue():t}},14428:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaWithNodeType=function(e){try{return n(85152)("./".concat(e,".json"))}catch(t){throw Error('Schema for nodeType "'.concat(e,'" was not found.'))}}},15190:e=>{"use strict";class t extends Error{constructor(){super("Throttled function aborted"),this.name="AbortError"}}e.exports=({limit:e,interval:n,strict:r})=>{if(!Number.isFinite(e))throw TypeError("Expected `limit` to be a finite number");if(!Number.isFinite(n))throw TypeError("Expected `interval` to be a finite number");let i=new Map,a=0,o=0,s=[],l=r?function(){let t=Date.now();if(s.length<e)return s.push(t),0;let r=s.shift()+n;return t>=r?(s.push(t),0):(s.push(r),r-t)}:function(){let t=Date.now();return t-a>n?(o=1,a=t,0):(o<e?o++:(a+=n,o=1),a-t)};return e=>{let n=function(...t){let r;return n.isEnabled?new Promise((n,a)=>{r=setTimeout(()=>{n(e.apply(this,t)),i.delete(r)},l()),i.set(r,a)}):(async()=>e.apply(this,t))()};return n.abort=()=>{for(let e of i.keys())clearTimeout(e),i.get(e)(new t);i.clear(),s.splice(0,s.length)},n.isEnabled=!0,n}},e.exports.AbortError=t},15972:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});let r=new Set(["width","height","top","left","right","bottom",...n(72443).U])},16199:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),function(e){e[e.SeeOther=303]="SeeOther",e[e.TemporaryRedirect=307]="TemporaryRedirect",e[e.PermanentRedirect=308]="PermanentRedirect"}(n||(n={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},16763:(e,t,n)=>{"use strict";n.d(t,{W:()=>l});var r=n(82944),i=n(55269);let a={borderWidth:i.px,borderTopWidth:i.px,borderRightWidth:i.px,borderBottomWidth:i.px,borderLeftWidth:i.px,borderRadius:i.px,radius:i.px,borderTopLeftRadius:i.px,borderTopRightRadius:i.px,borderBottomRightRadius:i.px,borderBottomLeftRadius:i.px,width:i.px,maxWidth:i.px,height:i.px,maxHeight:i.px,top:i.px,right:i.px,bottom:i.px,left:i.px,padding:i.px,paddingTop:i.px,paddingRight:i.px,paddingBottom:i.px,paddingLeft:i.px,margin:i.px,marginTop:i.px,marginRight:i.px,marginBottom:i.px,marginLeft:i.px,backgroundPositionX:i.px,backgroundPositionY:i.px},o={rotate:i.uj,rotateX:i.uj,rotateY:i.uj,rotateZ:i.uj,scale:r.hs,scaleX:r.hs,scaleY:r.hs,scaleZ:r.hs,skew:i.uj,skewX:i.uj,skewY:i.uj,distance:i.px,translateX:i.px,translateY:i.px,translateZ:i.px,x:i.px,y:i.px,z:i.px,perspective:i.px,transformPerspective:i.px,opacity:r.X4,originX:i.gQ,originY:i.gQ,originZ:i.px},s={...r.ai,transform:Math.round},l={...a,...o,zIndex:s,size:i.px,fillOpacity:r.X4,strokeOpacity:r.X4,numOctaves:s}}
5,16793:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});let r=e=>"string"==typeof e&&"svg"===e.toLowerCase()},16957:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n(73884),i=n(64052),a=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(r),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function l(e){var t=e||c(),n=r.useState(t),i=n[0],a=n[1];return r.useEffect(function(){if("undefined"!=typeof window&&"matchMedia"in window){var t=function(){a(e||c())},n=window.matchMedia("screen and (resolution: ".concat(i,"dppx)"));return n.hasOwnProperty("addEventListener")?n.addEventListener("change",t):n.addListener(t),function(){n.hasOwnProperty("removeEventListener")?n.removeEventListener("change",t):n.removeListener(t)}}},[i,e]),i}function c(){return Math.min(Math.max(1,"undefined"!=typeof window&&"number"==typeof window.devicePixelRatio?window.devicePixelRatio:1),3)}var u=function(){function e(){}return e.prototype.observe=function(){},e.prototype.unobserve=function(){},e.prototype.disconnect=function(){},e}(),d=globalThis.ResizeObserver||u,p=void 0!==globalThis.ResizeObserver,h=!p,f={useDevicePixelRatio:!0,fitCanvasToArtboardHeight:!1,useOffscreenRenderer:!0,shouldResizeCanvasToContainer:!0};function m(e){return Object.assign({},f,e)}function g(e){var t,n,i,a,o,s,c,u=e.riveLoaded,f=void 0!==u&&u,g=e.canvasElem,y=e.containerRef,v=e.options,b=e.onCanvasHasResized,x=e.artboardBounds,w=m(void 0===v?{}:v),j=r.useState({height:0,width:0}),C=j[0],E=C.height,k=C.width,S=j[1],A=r.useState({height:0,width:0}),T=A[0],_=T.height,L=T.width,N=A[1],P=r.useState(!0),I=P[0],M=P[1],O=w.fitCanvasToArtboardHeight,R=w.shouldResizeCanvasToContainer,D=w.useDevicePixelRatio,B=w.customDevicePixelRatio,F=(void 0===(t=R)&&(t=!0),i=(n=r.useState({width:0,height:0}))[0],a=n[1],r.useEffect(function(){if("undefined"!=typeof window&&t){var e=function(){a({width:window.innerWidth,height:window.innerHeight})};return h&&(e(),window.addEventListener("resize",e)),function(){return window.removeEventListener("resize",e)}}},[]),c=r.useRef(new d((o=function(e){p&&a({width:e[e.length-1].contentRect.width,height:e[e.length-1].contentRect.height})},s=0,function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];clearTimeout(s),s=window.setTimeout(function(){return o.apply(e,t)},0)}))),r.useEffect(function(){var e=c.current;if(t){var n=y.current;return y.current&&p&&e.observe(y.current),function(){e.disconnect(),n&&p&&e.unobserve(n)}}e.disconnect()},[y,c]),i),H=l(B),V=null!=x?x:{},$=V.maxX,U=V.maxY,z=r.useCallback(function(){var e,t,n,r,i=null!==(t=null===(e=y.current)||void 0===e?void 0:e.clientWidth)&&void 0!==t?t:0,a=null!==(r=null===(n=y.current)||void 0===n?void 0:n.clientHeight)&&void 0!==r?r:0;return O&&x?{width:i,height:x.maxY/x.maxX*i}:{width:i,height:a}},[y,O,$,U]);r.useEffect(function(){if(R&&y.current&&f){var e=z(),t=e.width,n=e.height,r=!1;if(g){var i=t!==k||n!==E;if(w.fitCanvasToArtboardHeight&&i&&(y.current.style.height=n+"px",r=!0),w.useDevicePixelRatio){if(i||t*H!==L||n*H!==_){var a=H*t,o=H*n;g.width=a,g.height=o,g.style.width=t+"px",g.style.height=n+"px",N({width:a,height:o}),r=!0}}else i&&(g.width=t,g.height=n,N({width:t,height:n}),r=!0);S({width:t,height:n})}b&&(I||r)&&b&&b(),I&&M(!1)}},[g,y,F,H,z,I,M,_,L,E,k,b,R,O,D,f]),r.useEffect(function(){N({width:0,height:0})},[g])}var y,v=function(){function e(){}return e.prototype.observe=function(){},e.prototype.unobserve=function(){},e.prototype.disconnect=function(){},e}(),b=globalThis.IntersectionObserver||v,x=function(){function e(){var e=this;this.elementsMap=new Map,this.onObserved=function(t){t.forEach(function(t){var n=e.elementsMap.get(t.target);n&&n(t)})},this.observer=new b(this.onObserved)}return e.prototype.registerCallback=function(e,t){this.observer.observe(e),this.elementsMap.set(e,t)},e.prototype.removeCallback=function(e){this.observer.unobserve(e),this.elementsMap.delete(e)},e}(),w=function(){return y||(y=new x),y};function j(e){var t=e.setContainerRef,n=e.setCanvasRef,r=e.className,i=void 0===r?"":r,l=e.style,c=e.children,u=s(e,["setContainerRef","setCanvasRef","className","style","children"]),d=o({width:"100%",height:"100%"},l);return a.default.createElement("div",o({ref:t,className:i},!i&&{style:d}),a.default.createElement("canvas",o({ref:n,style:{verticalAlign:"top",width:0,height:0}},u),c))}function C(e,t){void 0===t&&(t={});var n=r.useState(null),c=n[0],u=n[1],d=r.useRef(null),p=r.useRef(null),h=r.useState(null),f=h[0],y=h[1],v=!!e,b=m(t),x=l(),C=r.useCallback(function(){if(f){if(f.layout&&f.layout.fit===i.Fit.Layout&&c){var e=x*f.layout.layoutScaleFactor;f.devicePixelRatioUsed=x,f.artboardWidth=(null==c?void 0:c.width)/e,f.artboardHeight=(null==c?void 0:c.height)/e}f.startRendering(),f.resizeToCanvas()}},[f,x]);g({riveLoaded:!!f,canvasElem:c,containerRef:d,options:b,onCanvasHasResized:C,artboardBounds:null==f?void 0:f.bounds});var E=r.useCallback(function(e){null===e&&c&&(c.height=0,c.width=0),u(e)},[]);r.useEffect(function(){if(c&&e){var t,n=null!=f;if(null==f){var r=b.useOffscreenRenderer,a=e.onRiveReady,l=s(e,["onRiveReady"]);t=new i.Rive(o(o({useOffscreenRenderer:r},l),{canvas:c})),null!=p.current&&p.current.cleanup(),p.current=t,t.on(i.EventType.Load,function(){n=!0,a&&a(t),c?y(t):t.cleanup()})}return function(){n||null==t||t.cleanup()}}},[c,v,f]);var k=r.useCallback(function(e){d.current=e},[]),S={observe:r.useCallback(function(e,t){w().registerCallback(e,t)},[]),unobserve:r.useCallback(function(e){w().removeCallback(e)},[])},A=S.observe,T=S.unobserve;r.useEffect(function(){var e,t=!1,n=function(){if(c&&t){var e=c.getBoundingClientRect();e.width>0&&e.height>
50&&e.top<(window.innerHeight||document.documentElement.clientHeight)&&e.bottom>0&&e.left<(window.innerWidth||document.documentElement.clientWidth)&&e.right>0&&(null==f||f.startRendering(),t=!1)}};return c&&!1!==b.shouldUseIntersectionObserver&&A(c,function(r){r.isIntersecting?f&&f.startRendering():f&&f.stopRendering(),t=!r.isIntersecting,clearTimeout(e),r.isIntersecting||0!==r.boundingClientRect.width||(e=setTimeout(n,10))}),function(){c&&T(c)}},[A,T,f,c,b.shouldUseIntersectionObserver]),r.useEffect(function(){return function(){f&&(f.cleanup(),y(null))}},[f,c]),r.useEffect(function(){return function(){null!=p.current&&p.current.cleanup()}},[]);var _=null==e?void 0:e.animations;r.useEffect(function(){f&&_&&(f.isPlaying?(f.stop(f.animationNames),f.play(_)):f.isPaused&&(f.stop(f.animationNames),f.pause(_)))},[_,f]);var L=r.useCallback(function(e){return a.default.createElement(j,o({setContainerRef:k,setCanvasRef:E},e))},[E,k]);return{canvas:c,container:d.current,setCanvasRef:E,setContainerRef:k,rive:f,RiveComponent:L}}function E(e,t,n){var i=r.useState(null),a=i[0],s=i[1],l=r.useState(n.defaultValue),c=l[0],u=l[1],d=r.useState(null),p=d[0],h=d[1],f=r.useRef(null),m=r.useRef(e),g=r.useRef(n);r.useEffect(function(){g.current=n},[n]);var y=r.useCallback(function(){var e=f.current,t=m.current,n=g.current;if(!e||!t)return s(null),u(n.defaultValue),h(null),function(){};var r=n.getProperty(e,t);if(r){s(r),u(n.getValue(r)),n.getExtendedData&&h(n.getExtendedData(r));var i=function(){u(n.getValue(r)),n.getExtendedData&&h(n.getExtendedData(r)),n.onPropertyEvent&&n.onPropertyEvent()};return r.on(i),function(){r.off(i)}}return function(){}},[]);r.useEffect(function(){return f.current=t,m.current=e,y()},[t,e,y]);var v=r.useCallback(function(e){if(a&&f.current===t)try{return e(a),void(g.current.getExtendedData&&h(g.current.getExtendedData(a)))}catch(e){}if(f.current)try{var n=g.current.getProperty(f.current,m.current);n&&(s(n),e(n),g.current.getExtendedData&&h(g.current.getExtendedData(n)))}catch(e){}},[a,t]),b=r.useMemo(function(){return g.current.buildPropertyOperations(v)},[v]),x=o({value:c},b);return n.getExtendedData&&(x.extendedData=p),x}t.default=function(e){var t=e.src,n=e.artboard,r=e.animations,i=e.stateMachines,l=e.layout,c=e.useOffscreenRenderer,u=e.shouldDisableRiveListeners,d=e.shouldResizeCanvasToContainer,p=e.automaticallyHandleEvents,h=e.children,f=s(e,["src","artboard","animations","stateMachines","layout","useOffscreenRenderer","shouldDisableRiveListeners","shouldResizeCanvasToContainer","automaticallyHandleEvents","children"]),m=C({src:t,artboard:n,animations:r,layout:l,stateMachines:i,autoplay:!0,shouldDisableRiveListeners:void 0!==u&&u,automaticallyHandleEvents:void 0!==p&&p},{useOffscreenRenderer:void 0===c||c,shouldResizeCanvasToContainer:void 0===d||d}).RiveComponent;return a.default.createElement(m,o({},f),h)},t.useResizeCanvas=g,t.useRive=C,t.useRiveFile=function(e){var t=this,n=r.useState(null),a=n[0],o=n[1],s=r.useState("idle"),l=s[0],c=s[1];return r.useEffect(function(){var n,r,a,s=null;return n=void 0,r=void 0,a=function(){return function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}(this,function(t){try{c("loading"),(s=new i.RiveFile(e)).init(),s.on(i.EventType.Load,function(){null==s||s.getInstance(),o(s),c("success")}),s.on(i.EventType.LoadError,function(){c("failed")}),o(s)}catch(e){console.error(e),c("failed")}return[2]})},new(r||(r=Promise))(function(e,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function s(e){try{l(a.throw(e))}catch(e){i(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof r?n:new r(function(e){e(n)})).then(o,s)}l((a=a.apply(t,n||[])).next())}),function(){null==s||s.cleanup()}},[e.src,e.buffer]),{riveFile:a,status:l}},t.useStateMachineInput=function(e,t,n,a){var o=r.useState(null),s=o[0],l=o[1];return r.useEffect(function(){function r(){if(e&&t&&n||l(null),e&&t&&n){var r=e.stateMachineInputs(t);if(r){var i=r.find(function(e){return e.name===n});void 0!==a&&i&&(i.value=a),l(i||null)}}else l(null)}r(),e&&e.on(i.EventType.Load,function(){r()})},[e]),s},t.useViewModel=function(e,t){var n=null!=t?t:{},a=n.name,o=n.useDefault,s=r.useState(null),l=s[0],c=s[1];return r.useEffect(function(){function t(){var t;e?c(null!=a?(null===(t=e.viewModelByName)||void 0===t?void 0:t.call(e,a))||null:e.defaultViewModel()||null):c(null)}return t(),e&&e.on(i.EventType.Load,t),function(){e&&e.off(i.EventType.Load,t)}},[e,a,void 0!==o&&o]),l},t.useViewModelInstance=function(e,t){var n=null!=t?t:{},i=n.name,a=n.useDefault,o=void 0!==a&&a,s=n.useNew,l=void 0!==s&&s,c=n.rive,u=r.useState(null),d=u[0],p=u[1];return r.useEffect(function(){var t,n,r;if(e){var a=null;p(a=null!=i?e.instanceByName(i)||null:o?(null===(t=e.defaultInstance)||void 0===t?void 0:t.call(e))||null:l?(null===(n=e.instance)||void 0===n?void 0:n.call(e))||null:(null===(r=e.defaultInstance)||void 0===r?void 0:r.call(e))||null),
5c&&a&&c.viewModelInstance!==a&&c.bindViewModelInstance(a)}else p(null)},[e,i,o,l,c]),d},t.useViewModelInstanceArtboard=function(e,t){return{setValue:E(e,t,{getProperty:r.useCallback(function(e,t){return e.artboard(t)},[]),getValue:r.useCallback(function(){},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])}).setValue}},t.useViewModelInstanceBoolean=function(e,t){var n=E(e,t,{getProperty:r.useCallback(function(e,t){return e.boolean(t)},[]),getValue:r.useCallback(function(e){return e.value},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])});return{value:n.value,setValue:n.setValue}},t.useViewModelInstanceColor=function(e,t){var n=E(e,t,{getProperty:r.useCallback(function(e,t){return e.color(t)},[]),getValue:r.useCallback(function(e){return e.value},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})},setRgb:function(t,n,r){e(function(e){e.rgb(t,n,r)})},setRgba:function(t,n,r,i){e(function(e){e.rgba(t,n,r,i)})},setAlpha:function(t){e(function(e){e.alpha(t)})},setOpacity:function(t){e(function(e){e.opacity(t)})}}},[])});return{value:n.value,setValue:n.setValue,setRgb:n.setRgb,setRgba:n.setRgba,setAlpha:n.setAlpha,setOpacity:n.setOpacity}},t.useViewModelInstanceEnum=function(e,t){var n=E(e,t,{getProperty:r.useCallback(function(e,t){return e.enum(t)},[]),getValue:r.useCallback(function(e){return e.value},[]),defaultValue:null,getExtendedData:r.useCallback(function(e){return e.values},[]),buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])});return{value:n.value,values:n.extendedData||[],setValue:n.setValue}},t.useViewModelInstanceImage=function(e,t){return{setValue:E(e,t,{getProperty:r.useCallback(function(e,t){return e.image(t)},[]),getValue:r.useCallback(function(){},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])}).setValue}},t.useViewModelInstanceList=function(e,t){var n,i=r.useState(0)[1],a=E(e,t,{getProperty:r.useCallback(function(e,t){return e.list(t)},[]),getValue:r.useCallback(function(e){return e.length},[]),defaultValue:null,onPropertyEvent:function(){i(function(e){return e+1})},buildPropertyOperations:r.useCallback(function(e){return{addInstance:function(t){e(function(e){return e.addInstance(t)})},addInstanceAt:function(t,n){var r=!1;return e(function(e){r=e.addInstanceAt(t,n)}),r},removeInstance:function(t){e(function(e){return e.removeInstance(t)})},removeInstanceAt:function(t){e(function(e){return e.removeInstanceAt(t)})},getInstanceAt:function(t){var n=null;return e(function(e){n=e.instanceAt(t)}),n},swap:function(t,n){e(function(e){return e.swap(t,n)})}}},[])});return{length:null!==(n=a.value)&&void 0!==n?n:0,addInstance:a.addInstance,addInstanceAt:a.addInstanceAt,removeInstance:a.removeInstance,removeInstanceAt:a.removeInstanceAt,getInstanceAt:a.getInstanceAt,swap:a.swap}},t.useViewModelInstanceNumber=function(e,t){var n=E(e,t,{getProperty:r.useCallback(function(e,t){return e.number(t)},[]),getValue:r.useCallback(function(e){return e.value},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])});return{value:n.value,setValue:n.setValue}},t.useViewModelInstanceString=function(e,t){var n=E(e,t,{getProperty:r.useCallback(function(e,t){return e.string(t)},[]),getValue:r.useCallback(function(e){return e.value},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])});return{value:n.value,setValue:n.setValue}},t.useViewModelInstanceTrigger=function(e,t,n){var i=(null!=n?n:{}).onTrigger;return{trigger:E(e,t,{getProperty:r.useCallback(function(e,t){return e.trigger(t)},[]),getValue:r.useCallback(function(){},[]),defaultValue:null,onPropertyEvent:i,buildPropertyOperations:r.useCallback(function(e){return{trigger:function(){e(function(e){e.trigger()})}}},[])}).trigger}}
5,Object.keys(i).forEach(function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})})},17044:(e,t,n)=>{"use strict";n.d(t,{a:()=>x,c:()=>m,d:()=>o,e:()=>p,f:()=>j,g:()=>d,h:()=>b,j:()=>s,k:()=>w,m:()=>C,n:()=>a,p:()=>v,q:()=>y,r:()=>g,s:()=>c,t:()=>u,u:()=>f,v:()=>h,w:()=>function e(){let t=Object(arguments.length<=0?void 0:arguments[0]),n=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){let i=r<0||arguments.length<=r?void 0:arguments[r];if(null!=i&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(i instanceof HTMLElement):!i||1!==i.nodeType&&11!==i.nodeType)){let r=Object.keys(Object(i)).filter(e=>0>n.indexOf(e));for(let n=0,a=r.length;n<a;n+=1){let a=r[n],o=Object.getOwnPropertyDescriptor(i,a);void 0!==o&&o.enumerable&&(l(t[a])&&l(i[a])?i[a].__swiper__?t[a]=i[a]:e(t[a],i[a]):!l(t[a])&&l(i[a])?(t[a]={},i[a].__swiper__?t[a]=i[a]:e(t[a],i[a])):t[a]=i[a])}}}return t},x:()=>i});var r=n(12375);function i(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function a(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function o(){return Date.now()}function s(e,t){let n,i,a;void 0===t&&(t="x");let o=(0,r.a)(),s=function(e){let t;let n=(0,r.a)();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return o.WebKitCSSMatrix?((i=s.transform||s.webkitTransform).split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),a=new o.WebKitCSSMatrix("none"===i?"":i)):n=(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=o.WebKitCSSMatrix?a.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=o.WebKitCSSMatrix?a.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function c(e,t,n){e.style.setProperty(t,n)}function u(e){let t,{swiper:n,targetPosition:i,side:a}=e,o=(0,r.a)(),s=-n.translate,l=null,c=n.params.speed;n.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(n.cssModeFrameID);let u=i>s?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,p=()=>{t=new Date().getTime(),null===l&&(l=t);let e=s+(.5-Math.cos(Math.max(Math.min((t-l)/c,1),0)*Math.PI)/2)*(i-s);if(d(e,i)&&(e=i),n.wrapperEl.scrollTo({[a]:e}),d(e,i)){n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout(()=>{n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo({[a]:e})}),o.cancelAnimationFrame(n.cssModeFrameID);return}n.cssModeFrameID=o.requestAnimationFrame(p)};p()}function d(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function p(e,t){void 0===t&&(t="");let n=[...e.children];return(e instanceof HTMLSlotElement&&n.push(...e.assignedElements()),t)?n.filter(e=>e.matches(t)):n}function h(e,t){let n=t.contains(e);return!n&&t instanceof HTMLSlotElement?[...t.assignedElements()].includes(e):n}function f(e){try{console.warn(e);return}catch(e){}}function m(e,t){var n;void 0===t&&(t=[]);let r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:(void 0===(n=t)&&(n=""),n.trim().split(" ").filter(e=>!!e.trim()))),r}function g(e,t){let n=[];for(;e.previousElementSibling;){let r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function y(e,t){let n=[];for(;e.nextElementSibling;){let r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function v(e,t){return(0,r.a)().getComputedStyle(e,null).getPropertyValue(t)}function b(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function x(e,t){let n=[],r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function w(e,t){t&&e.addEventListener("transitionend",function n(r){r.target===e&&(t.call(e,r),e.removeEventListener("transitionend",n))})}function j(e,t,n){let i=(0,r.a)();
5return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function C(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}},17587:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let r=n(58775),i=n(73884);t.default=function({html:e,height:t=null,width:n=null,children:a,dataNtpc:o=""}){return(0,i.useEffect)(()=>{o&&performance.mark("mark_feature_usage",{detail:{feature:`next-third-parties-${o}`}})},[o]),(0,r.jsxs)(r.Fragment,{children:[a,e?(0,r.jsx)("div",{style:{height:null!=t?`${t}px`:"auto",width:null!=n?`${n}px`:"auto"},"data-ntpc":o,dangerouslySetInnerHTML:{__html:e}}):null]})}},17966:(e,t,n)=>{"use strict";n.d(t,{o:()=>H,L:()=>V});var r=n(23033),i=n(77331),a=n(24835),o=n(42464),s=n(78955),l=n(91339),c=n(57177);function u(e,t,n){let r=Math.max(t-5,0);return(0,c.f)(n-e(r),t-r)}let d={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};var p=n(8104);function h(e,t){return e*Math.sqrt(1-t*t)}let f=["duration","bounce"],m=["stiffness","damping","mass"];function g(e,t){return t.some(t=>void 0!==e[t])}function y(e=d.visualDuration,t=d.bounce){let n;let a="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:s,restDelta:l}=a,c=a.keyframes[0],y=a.keyframes[a.keyframes.length-1],v={done:!1,value:c},{stiffness:b,damping:x,mass:w,duration:j,velocity:C,isResolvedFromDuration:E}=function(e){let t={velocity:d.velocity,stiffness:d.stiffness,damping:d.damping,mass:d.mass,isResolvedFromDuration:!1,...e};if(!g(e,m)&&g(e,f)){if(e.visualDuration){let n=2*Math.PI/(1.2*e.visualDuration),r=n*n,i=2*(0,o.q)(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:d.mass,stiffness:r,damping:i}}else{let n=function({duration:e=d.duration,bounce:t=d.bounce,velocity:n=d.velocity,mass:r=d.mass}){let a,s;(0,p.$)(e<=(0,i.f)(d.maxDuration),"Spring duration must be 10 seconds or less");let l=1-t;l=(0,o.q)(d.minDamping,d.maxDamping,l),e=(0,o.q)(d.minDuration,d.maxDuration,(0,i.X)(e)),l<1?(a=t=>{let r=t*l,i=r*e;return .001-(r-n)/h(t,l)*Math.exp(-i)},s=t=>{let r=t*l*e,i=Math.pow(l,2)*Math.pow(t,2)*e,o=h(Math.pow(t,2),l);return(r*n+n-i)*Math.exp(-r)*(-a(t)+.001>0?-1:1)/o}):(a=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),s=t=>e*e*(n-t)*Math.exp(-t*e));let c=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(a,s,5/e);if(e=(0,i.f)(e),isNaN(c))return{stiffness:d.stiffness,damping:d.damping,duration:e};{let t=Math.pow(c,2)*r;return{stiffness:t,damping:2*l*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:d.mass}).isResolvedFromDuration=!0}}return t}({...a,velocity:-(0,i.X)(a.velocity||0)}),k=C||0,S=x/(2*Math.sqrt(b*w)),A=y-c,T=(0,i.X)(Math.sqrt(b/w)),_=5>Math.abs(A);if(s||(s=_?d.restSpeed.granular:d.restSpeed.default),l||(l=_?d.restDelta.granular:d.restDelta.default),S<1){let e=h(T,S);n=t=>y-Math.exp(-S*T*t)*((k+S*T*A)/e*Math.sin(e*t)+A*Math.cos(e*t))}else if(1===S)n=e=>y-Math.exp(-T*e)*(A+(k+T*A)*e);else{let e=T*Math.sqrt(S*S-1);n=t=>{let n=Math.exp(-S*T*t),r=Math.min(e*t,300);return y-n*((k+S*T*A)*Math.sinh(r)+e*A*Math.cosh(r))/e}}let L={calculatedDuration:E&&j||null,next:e=>{let t=n(e);if(E)v.done=e>=j;else{let r=0;S<1&&(r=0===e?(0,i.f)(k):u(n,e,t));let a=Math.abs(r)<=s,o=Math.abs(y-t)<=l;v.done=a&&o}return v.value=v.done?y:t,v},toString:()=>{let e=Math.min((0,r.tu)(L),r.YE),t=(0,r.KZ)(t=>L.next(e*t).value,e,30);return e+"ms "+t}};return L}function v({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:l,restDelta:c=.5,restSpeed:d}){let p,h;let f=e[0],m={done:!1,value:f},g=e=>void 0!==s&&e<s||void 0!==l&&e>l,v=e=>void 0===s?l:void 0===l?s:Math.abs(s-e)<Math.abs(l-e)?s:l,b=n*t,x=f+b,w=void 0===o?x:o(x);w!==x&&(b=w-f);let j=e=>-b*Math.exp(-e/r),C=e=>w+j(e),E=e=>{let t=j(e),n=C(e);m.done=Math.abs(t)<=c,m.value=m.done?w:n},k=e=>{g(m.value)&&(p=e,h=y({keyframes:[m.value,v(m.value)],velocity:u(C,e,m.value),damping:i,stiffness:a,restDelta:c,restSpeed:d}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;
5return(h||void 0!==p||(t=!0,E(e),k(e)),void 0!==p&&e>=p)?h.next(e-p):(t||E(e),m)}}}var b=n(4043);let x=(0,b.A)(.42,0,1,1),w=(0,b.A)(0,0,.58,1),j=(0,b.A)(.42,0,.58,1),C=e=>Array.isArray(e)&&"number"!=typeof e[0];var E=n(41533),k=n(10309),S=n(44768),A=n(84868);let T={linear:E.l,easeIn:x,easeInOut:j,easeOut:w,circIn:A.po,circInOut:A.tn,circOut:A.yT,backIn:S.dg,backInOut:S.ZZ,backOut:S.Sz,anticipate:k.b},_=e=>{if((0,r.DW)(e)){(0,p.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return(0,b.A)(t,n,r,i)}return"string"==typeof e?((0,p.V)(void 0!==T[e],`Invalid easing type '${e}'`),T[e]):e};var L=n(28844),N=n(5621);function P({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){let i=C(r)?r.map(_):_(r),a={done:!1,value:t[0]},o=(n&&n.length===t.length?n:(0,N.Z)(t)).map(t=>t*e),s=(0,L.G)(o,t,{ease:Array.isArray(i)?i:t.map(()=>i||j).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(a.value=s(t),a.done=t>=e,a)}}var I=n(23208),M=n(44582),O=n(10104);let R=e=>{let t=({timestamp:t})=>e(t);return{start:()=>O.Gt.update(t,!0),stop:()=>(0,O.WG)(t),now:()=>O.uv.isProcessing?O.uv.timestamp:M.k.now()}};var D=n(78072);let B={decay:v,inertia:v,tween:P,keyframes:P,spring:y},F=e=>e/100;class H extends I.i{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()};let{name:t,motionValue:n,element:r,keyframes:i}=this.options,o=(null==r?void 0:r.KeyframeResolver)||a.h;this.resolver=new o(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){let t,n;let{type:i="keyframes",repeat:a=0,repeatDelay:o=0,repeatType:c,velocity:u=0}=this.options,d=(0,r.WH)(i)?i:B[i]||P;d!==P&&"number"!=typeof e[0]&&(t=(0,l.F)(F,(0,s.j)(e[0],e[1])),e=[0,100]);let p=d({...this.options,keyframes:e});"mirror"===c&&(n=d({...this.options,keyframes:[...e].reverse(),velocity:-u})),null===p.calculatedDuration&&(p.calculatedDuration=(0,r.tu)(p));let{calculatedDuration:h}=p,f=h+o;return{generator:p,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:h,resolvedDuration:f,totalDuration:f*(a+1)-o}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:a,mapPercentToKeyframes:s,keyframes:l,calculatedDuration:c,totalDuration:u,resolvedDuration:d}=n;if(null===this.startTime)return i.next(0);let{delay:p,repeat:h,repeatType:f,repeatDelay:m,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let y=this.currentTime-p*(this.speed>=0?1:-1),v=this.speed>=0?y<0:y>u;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let b=this.currentTime,x=i;if(h){let e=Math.min(this.currentTime,u)/d,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,h+1))%2&&("reverse"===f?(n=1-n,m&&(n-=m/d)):"mirror"===f&&(x=a)),b=(0,o.q)(0,1,n)*d}let w=v?{done:!1,value:l[0]}:x.next(b);s&&(w.value=s(w.value));let{done:j}=w;v||null===c||(j=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let C=null===this.holdTime&&("finished"===this.state||"running"===this.state&&j);return C&&void 0!==r&&(w.value=(0,D.X)(l,this.options,r)),g&&g(w.value),C&&this.finish(),w}get duration(){let{resolved:e}=this;return e?(0,i.X)(e.calculatedDuration):0}get time(){return(0,i.X)(this.currentTime)}set time(e){e=(0,i.f)(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=(0,i.X)(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=R,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedProm
5ise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}function V(e){return new H(e)}},18139:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(58775),i=n(20120),a=n(30200),o=n(69373),s=n(8338),l=n(73884);let c=n.n(l)().memo(function({resourcesSubmenu:e,isInView:t,animate:n=!0}){let[c,u]=(0,l.useState)(null),[d,p]=(0,l.useState)(!0),h=(0,l.useRef)(null),f=e=>{h.current&&clearTimeout(h.current),u(e)};return(0,r.jsxs)("menu",{className:"grid overflow-hidden rounded-lg max-lg:gap-y-4 lg:w-[57.375rem] lg:grid-cols-3",children:[e?.featuredMenu?.menu?.length>0&&(0,r.jsxs)(s.P.div,{className:"lg:border-r lg:border-grey-pastel lg:p-6",animate:{transform:n?t?"translateX(0px) translateY(0px) scale(1)":"translateX(-10px) translateY(-10px) scale(1)":"",opacity:n?t?1:0:1},transition:{type:"spring",stiffness:150,damping:20,delay:.2,opacity:{duration:.6,delay:.2}},children:[e?.featuredThumbnail?.fields?.file?.url?.length>0&&(0,r.jsx)("div",{className:"relative mb-4 aspect-[247/145] w-full overflow-hidden rounded-lg md:mb-5",children:(0,r.jsx)(a.A,{image:e?.featuredThumbnail,alt:"",className:"h-full w-full object-cover"})}),(0,r.jsxs)("div",{className:"max-lg:rounded-lg max-lg:border max-lg:border-grey-pastel max-lg:p-5 max-lg:pb-4",children:[(0,r.jsx)("span",{className:"submenu-heading mb-3 opacity-[.65]",dangerouslySetInnerHTML:{__html:e?.featuredMenu?.heading}}
5),(0,r.jsx)(o.c,{menu:e?.featuredMenu?.menu,inline:!0})]})]}),e?.menu?.menu?.length>0&&(0,r.jsxs)(s.P.ul,{onMouseEnter:()=>p(!0),onMouseLeave:()=>{p(!1),h.current=setTimeout(()=>{u(null)},300)},className:"max-lg:divide-y max-lg:divide-grey-pastel lg:space-y-3 lg:border-r lg:border-grey-pastel lg:p-6",animate:{transform:n?t?"translateX(0px) translateY(0px) scale(1)":"translateX(-10px) translateY(-10px) scale(1)":"",opacity:n?t?1:0:1},transition:{type:"spring",stiffness:150,damping:20,delay:2/15+.2,opacity:{duration:.6,delay:2/15+.2}},children:[e?.menu?.heading&&(0,r.jsx)("span",{className:"submenu-heading mb-2 opacity-[.65] lg:mb-4 lg:mt-2 lg:pl-[0.625rem]",dangerouslySetInnerHTML:{__html:e?.menu?.heading}}),e?.menu?.menu?.map((e,t)=>r.jsx(s.P.li,{className:"space-y-3 max-lg:py-5 max-lg:first:pt-4 max-lg:last:pb-4 lg:rounded-lg",children:r.jsx(i.A,{item:e,onMouseEnter:()=>f(t),containerHovered:d,active:c,i:t})},t))]}),e?.menuStack?.length>0&&(0,r.jsxs)("div",{className:"relative space-y-6 p-5 max-lg:rounded-t-lg max-lg:pb-4 lg:p-6 lg:pr-5",children:[(0,r.jsx)(s.P.div,{animate:{opacity:n?t?1:0:1},transition:{type:"spring",stiffness:150,damping:20,delay:.4},className:"absolute inset-0 bg-paleGrey max-lg:rounded-t-lg"}),e?.menuStack?.map((e,i)=>r.jsxs(s.P.div,{className:0===i?"!mt-0":"",animate:{transform:n?t?"translateX(0px) translateY(0px) scale(1)":"translateX(-10px) translateY(-10px) scale(1)":"",opacity:n?t?1:0:1},transition:{type:"spring",stiffness:150,damping:20,delay:(i+3)/15+.2,opacity:{duration:.6,delay:(i+3)/15+.2}},children:[r.jsx("span",{className:"submenu-heading mb-2 opacity-[.65] md:mb-3 lg:pl-[0.625rem]",dangerouslySetInnerHTML:{__html:e?.heading}}
5),r.jsx(o.A,{menu:e?.menu})]},i))]})]})})},18182:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},18317:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading5","definitions":{"Heading5":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-5"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},18424:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(33256)}])},18521:(e,t,n)=>{"use strict";n.d(t,{$:()=>a,q:()=>o});var r=n(849);let i=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,a=(e,t)=>n=>!!("string"==typeof n&&i.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),o=(e,t,n)=>i=>{if("string"!=typeof i)return i;let[a,o,s,l]=i.match(r.S);return{[e]:parseFloat(a),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==l?parseFloat(l):1}}},19110:(e,t,n)=>{"use strict";n.d(t,{Q:()=>i});let r=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function i(e){if("string"!=typeof e||e.includes("-"));else if(r.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}},19356:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58775),i=n(9483),a=n(74614),o=n(93627),s=n(34164);function l(e){let{iconBackgroundColor:t="Shade / Coral",className:n=""}=e,{t:a}=(0,o.Bd)();return(0,r.jsxs)("div",{className:(0,s.A)("flex items-center gap-x-6",n),children:[(0,r.jsx)(c,{icon:i.$7,iconBackgroundColor:t,rating:"4.7",ratingText:a("on G2")}),(0,r.jsx)(c,{icon:i.Dc,iconBackgroundColor:t,rating:"4.7",ratingText:a("on Gartner")})]})}function c(e){let{icon:t,iconBackgroundColor:n="Shade / Coral",rating:o="",ratingText:l=""}=e,c=(0,a.R1)();return(0,r.jsxs)("div",{className:"flex items-center gap-x-2",children:[t&&(0,r.jsx)("div",{className:(0,s.A)("flex h-5 w-5 shrink-0 items-center justify-center rounded md:h-6 md:w-6",{Black:"bg-black text-white","Shade / Coral":"bg-coral-shade text-white","Primary / Coral":"bg-coral-primary text-white","Primary / Lilac":"bg-lilac-primary text-white","Shade / Lilac":"bg-lilac-shade text-white"}[c?.backgroundColor?.name===n?"Black":n]),children:(0,r.jsx)(t,{})}),(0,r.jsxs)("div",{className:"flex flex-1 items-center gap-x-1",children:[o&&(0,r.jsx)("div",{className:"shrink-0 font-newEdgeRounded text-[.75rem] leading-none md:text-[1rem]",dangerouslySetInnerHTML:{__html:o}}),(0,r.jsx)(i.Gg,{className:"hidden h-full w-3 shrink-0 md:block"}),l&&(0,r.jsx)("div",{className:"flex-1 self-end font-newEdgeRounded text-[.75rem] leading-tight",dangerouslySetInnerHTML:{__html:l}})]})]})}},19520:(e,t,n)=>{"use strict";function r(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}n.d(t,{I:()=>r})},19788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;
5\s]*/,l=/^\s+|\s+$/g;function c(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var u=1,d=1;function p(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:u,column:d};return function(t){return t.position=new f(e),y(r),t}}function f(e){this.start=e,this.end={line:u,column:d},this.source=l.source}f.prototype.content=e;var m=[];function g(t){var n=Error(l.source+":"+u+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=u,n.column=d,n.source=e,l.silent)m.push(n);else throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function v(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,p(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}return y(r),function(){var e,n=[];for(v(n);e=function(){var e=h(),n=y(i);if(n){if(b(),!y(a))return g("property missing ':'");var r=y(o),l=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return y(s),l}}();)!1!==e&&(n.push(e),v(n));return n}()}},20120:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(58775),i=n(30200),a=n(9483),o=n(8338),s=n(98722),l=n.n(s),c=n(73884);let u=n.n(c)().memo(function({item:e,i:t,onMouseEnter:n,active:s,containerHovered:c,layout:u="default",maxWidth:d="max-w-[220px]"}){let p="bordered"===u;return(0,r.jsxs)(o.P.div,{onMouseEnter:n,className:`group relative transition-colors duration-200 ${p?" rounded-[8px] border border-solid border-[#D7E1E1] p-[12px] hover:bg-paleGrey ":"lg:p-3"}`,children:[(0,r.jsx)(o.P.div,{initial:{transform:"scale(1)"},animate:{transform:c?"scale(1)":"scale(0)"},className:"absolute inset-0 z-0 !origin-bottom-left",children:(0,r.jsx)(o.P.div,{initial:{transform:null===s?"scale(0)":"scale(1)"},animate:{transform:null!==s?"scale(1)":"scale(0)"},className:"absolute inset-0 !origin-bottom-left",children:s===t&&!p&&(0,r.jsx)(o.P.div,{layoutId:"platform-item-hover",className:"absolute inset-0 hidden rounded bg-grey-pastel/50 lg:block"})})}),(0,r.jsxs)("div",{className:"relative z-[10] flex space-x-3 lg:items-center lg:rounded-lg",children:[e?.icon?.fields?.file?.url?.length>0&&(0,r.jsx)("div",{className:"relative z-10 h-[2.25rem] w-[2.25rem] shrink-0 overflow-hidden rounded-[.25rem] lg:h-8 lg:w-8 lg:rounded-[0.125rem]",children:(0,r.jsx)(i.A,{image:e?.icon,className:"h-full w-full object-contain",alt:""})}),(0,r.jsx)(l(),{href:e?.externalUrl||e?.pageLink||"#",className:"heading-link",children:(0,r.jsxs)("div",{className:`relative z-10 w-full max-lg:space-y-1 lg:w-auto ${"bordered"!==u?"":"lg:!mr-4"}`,children:[(0,r.jsxs)("div",{className:"relative z-[5] flex w-full items-center space-x-2 lg:mb-1 lg:w-auto lg:space-x-0",children:[(0,r.jsx)("span",{className:"submenu-card-heading heading-14 flex-auto",dangerouslySetInnerHTML:{__html:e?.title}}),(0,r.jsx)("div",{className:"w-4 shrink-0 lg:hidden","aria-hidden":!0,children:(0,r.jsx)(a.c_,{})})]}),(0,r.jsx)("p",{className:`text-12 ${d} opacity-[.65]`,dangerouslySetInnerHTML:{__html:e?.description}})]})}),(0,r.jsx)("div",{className:`pointer-events-none relative z-[5] !ml-auto hidden w-4 shrink-0 transition-[opacity,transform] duration-300 ease-in-out group-hover:opacity-100 lg:block ${"bordered"!==u?"-translate-x-1 scale-50 opacity-0 group-hover:translate-x-0 group-hover:scale-100":"opacity-50"}`,"aria-hidden":!0,children:(0,r.jsx)(a.c_,{})})]})]})})},20164:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var r=n(75756),i=n(55269);function a(e,t,n){return"string"==typeof e?e:i.px.transform(t+n*e)}let o={offset:"stroke-dashoffset",array:"stroke-dasharray"},s={offset:"strokeDashoffset",array:"strokeDasharray"};function l(e,{attrX:t,attrY:n,attrScale:l,originX:c,originY:u,pathLength:d,pathSpacing:p=1,pathOffset:h=0,...f}
5,m,g){if((0,r.O)(e,f,g),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:y,style:v,dimensions:b}=e;y.transform&&(b&&(v.transform=y.transform),delete y.transform),b&&(void 0!==c||void 0!==u||v.transform)&&(v.transformOrigin=function(e,t,n){let r=a(t,e.x,e.width),i=a(n,e.y,e.height);return`${r} ${i}`}(b,void 0!==c?c:.5,void 0!==u?u:.5)),void 0!==t&&(y.x=t),void 0!==n&&(y.y=n),void 0!==l&&(y.scale=l),void 0!==d&&function(e,t,n=1,r=0,a=!0){e.pathLength=1;let l=a?o:s;e[l.offset]=i.px.transform(-r);let c=i.px.transform(t),u=i.px.transform(n);e[l.array]=`${c} ${u}`}(y,d,p,h,!1)}},20326:e=>{e.exports={"brand-banner":"BrandBanner_brand-banner__Y0xDq"}},20452:e=>{"use strict";e.exports=JSON.parse('{"id":"google-analytics","description":"Install a Google Analytics tag on your website","website":"https://analytics.google.com/analytics/web/","scripts":[{"url":"https://www.googletagmanager.com/gtag/js","params":["id"],"strategy":"worker","location":"head","action":"append"},{"code":"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag(\'js\',new Date());gtag(\'config\',\'${args.id}\')","strategy":"worker","location":"head","action":"append"}]}')},20493:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.MARKS=void 0,function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough"}(n||(t.MARKS=n={}))},21634:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading4","definitions":{"Heading4":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-4"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},22311:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});let r=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},22402:function(e,t,n){"use strict";let r;var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=void 0;let a=n(58775),o=n(73884),s=i(n(96999));t.GoogleAnalytics=function(e){let{gaId:t,dataLayerName:n="dataLayer"}=e;return void 0===r&&(r=n),(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:` 6 window['${n}'] = window['${n}'] || []; 7 function gtag(){window['${n}'].push(arguments);} 8 gtag('js', new Date()); 9 10 gtag('config', '${t}');`}}),(0,a.jsx)(s.default,{id:"_next-ga",src:`https://www.googletagmanager.com/gtag/js?i
10d=${t}`})]})},t.sendGAEvent=function(...e){if(void 0===r){console.warn("@next/third-parties: GA has not been initialized");return}window[r]?window[r].push(arguments):console.warn(`@next/third-parties: GA dataLayer ${r} does not exist`)}},22502:()=>{},22606:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});var r=n(32358);class i{constructor(){this.subscriptions=[]}add(e){return(0,r.Kq)(this.subscriptions,e),()=>(0,r.Ai)(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r){if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},22799:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,h=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case i:return t}}}function j(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return j(e)||w(e)===u},t.isConcurrentMode=j,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===i},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===o},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===o||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===x||e.$$typeof===y)},t.typeOf=w},23033:(e,t,n)=>{"use strict";n.d(t,{P6:()=>o,vG:()=>d,tu:()=>c,KZ:()=>g,rU:()=>s,PT:()=>E,DW:()=>p,WH:()=>u,Mc:()=>S,yL:()=>y,TU:()=>function e(t,n){if(t)return"function"==typeof t&&f()?g(t,n):p(t)?v(t):Array.isArray(t)?t.map(t=>e(t,n)||b.easeOut):b[t]},YE:()=>l,c$:()=>I,KJ:()=>w,Wp:()=>M,nL:()=>f,Jb:()=>i});var r=n(54435);let i=(0,r.p)(()=>void 0!==window.ScrollTimeline);class a{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){let n=this.animations.map(n=>i()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0);return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class o extends a{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}function s(e,t){return e?e[t]||e.default||e:void 0}let l=2e4;function c(e){let t=0,n=e.next(t);for(;!n.done&&t<l;)t+=50,n=e.next(t);return t>=l?1/0:t}function u(e){return"function"==typeof e}function d(e,t){e.timeline=t,e.onfinish=null}let p=e=>Array.isArray(e)&&"number"==typeof e[0],h={linearEasing:void 0},f=function(e,t){let n=(0,r.p)(e);return()=>{var e;return null!==(e=h[t])&&void 0!==e?e:n()}}(()=>{try{document.createElement("div").animate({opacity:0}
10,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing");var m=n(86896);let g=(e,t,n=10)=>{let r="",i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=e((0,m.q)(0,i-1,t))+", ";return`linear(${r.substring(0,r.length-2)})`};function y(e){return!!("function"==typeof e&&f()||!e||"string"==typeof e&&(e in b||f())||p(e)||Array.isArray(e)&&e.every(y))}let v=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,b={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:v([0,.65,.55,1]),circOut:v([.55,0,1,.45]),backIn:v([.31,.01,.66,-.59]),backOut:v([.33,1.53,.69,.99])},x={x:!1,y:!1};function w(e,t,n){var r;if(e instanceof Element)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);let a=null!==(r=null==n?void 0:n[e])&&void 0!==r?r:i.querySelectorAll(e);return a?Array.from(a):[]}return Array.from(e)}function j(e,t){let n=w(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function C(e){return t=>{"touch"===t.pointerType||x.x||x.y||e(t)}}function E(e,t,n={}){let[r,i,a]=j(e,n),o=C(e=>{let{target:n}=e,r=t(e);if("function"!=typeof r||!n)return;let a=C(e=>{r(e),n.removeEventListener("pointerleave",a)});n.addEventListener("pointerleave",a,i)});return r.forEach(e=>{e.addEventListener("pointerenter",o,i)}),a}let k=(e,t)=>!!t&&(e===t||k(e,t.parentElement)),S=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,A=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),T=new WeakSet;function _(e){return t=>{"Enter"===t.key&&e(t)}}function L(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let N=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=_(()=>{if(T.has(n))return;L(n,"down");let e=_(()=>{L(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>L(n,"cancel"),t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function P(e){return S(e)&&!(x.x||x.y)}function I(e,t,n={}){let[r,i,a]=j(e,n),o=e=>{let r=e.currentTarget;if(!P(e)||T.has(r))return;T.add(r);let a=t(e),o=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),P(e)&&T.has(r)&&(T.delete(r),"function"==typeof a&&a(e,{success:t}))},s=e=>{o(e,n.useGlobalTarget||k(r,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};return r.forEach(e=>{A.has(e.tagName)||-1!==e.tabIndex||null!==e.getAttribute("tabindex")||(e.tabIndex=0),(n.useGlobalTarget?window:e).addEventListener("pointerdown",o,i),e.addEventListener("focus",e=>N(e,i),i)}),a}function M(e){return"x"===e||"y"===e?x[e]?null:(x[e]=!0,()=>{x[e]=!1}):x.x||x.y?null:(x.x=x.y=!0,()=>{x.x=x.y=!1})}n(77331),n(41533)},23208:(e,t,n)=>{"use strict";n.d(t,{i:()=>d});var r=n(44582),i=n(24835),a=n(39652),o=n(23033),s=n(8104),l=n(30615);let c=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(l.f.test(e)||"0"===e)&&!e.startsWith("url("));var u=n(78072);class d{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:a=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=r.k.now(),this.options={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:a,repeatType:o,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(0,i.q)(),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=r.k.now(),this.hasAttemptedResolve=!0;let{name:n,type:i,velocity:l,delay:d,onComplete:p,onUpdate:h,isGenerator:f}=this.options;if(!f&&!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let a=e[e.length-1],l=c(i,t),u=c(a,t);return(0,s.$)(l===u,`You are trying to animate ${t} from "${i}" to "${a}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${a} via the \`style\` property.`),!!l&&!!u&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||(0,o.WH)(n))&&r)}(e,n,i,l)){if(a.d.current||!d){null==h||h((0,u.X)(e,this.options,t)),null==p||p(),this.resolveFinishedProm
10ise();return}this.options.duration=0}let m=this.initPlayback(e,t);!1!==m&&(this._resolved={keyframes:e,finalKeyframe:t,...m},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}},23500:(e,t,n)=>{"use strict";let r,i;n.d(t,{L:()=>$});var a=n(24785),o=n(28601),s=n(73884),l=n(8104),c=n(23033),u=n(41533),d=n(10104);function p(e,t){let n;let r=()=>{let{currentTime:r}=t,i=(null===r?0:r.value)/100;n!==i&&e(i),n=i};return d.Gt.update(r,!0),()=>(0,d.WG)(r)}let h=new WeakMap;function f({target:e,contentRect:t,borderBoxSize:n}){var r;null===(r=h.get(e))||void 0===r||r.forEach(r=>{r({target:e,contentSize:t,get size(){return function(e,t){if(t){let{inlineSize:e,blockSize:n}=t[0];return{width:e,height:n}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,n)}})})}function m(e){e.forEach(f)}let g=new Set;var y=n(86896),v=n(57177);let b=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),x=()=>({time:0,x:b(),y:b()}),w={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function j(e,t,n,r){let i=n[t],{length:a,position:o}=w[t],s=i.current,l=n.time;i.current=e[`scroll${o}`],i.scrollLength=e[`scroll${a}`]-e[`client${a}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=(0,y.q)(0,i.scrollLength,i.current);let c=r-l;i.velocity=c>50?0:(0,v.f)(i.current-s,c)}var C=n(42464),E=n(28844),k=n(5621);let S={start:0,center:.5,end:1};function A(e,t,n=0){let r=0;if(e in S&&(e=S[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?r=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?r=t/100*document.documentElement.clientWidth:e.endsWith("vh")?r=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(r=t*e),n+r}let T=[0,0],_={All:[[0,0],[1,1]]},L={x:0,y:0},N=new WeakMap,P=new WeakMap,I=new WeakMap,M=e=>e===document.documentElement?window:e;function O(e,{container:t=document.documentElement,...n}={}){let a=I.get(t);a||(a=new Set,I.set(t,a));let o=function(e,t,n,r={}){return{measure:()=>(function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight})(e,r.target,n),update:t=>{j(e,"x",n,t),j(e,"y",n,t),n.time=t,(r.offset||r.target)&&function(e,t,n){let{offset:r=_.All}=n,{target:i=e,axis:a="y"}=n,o="y"===a?"height":"width",s=i!==e?function(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(r instanceof HTMLElement)n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if("svg"===r.tagName){let e=r.getBoundingClientRect(),t=(r=r.parentElement).getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,a=r.parentNode;for(;!i;)"svg"===a.tagName&&(i=a),a=r.parentNode;r=i}else break;return n}(i,e):L,l=i===e?{width:e.scrollWidth,height:e.scrollHeight}:"getBBox"in i&&"svg"!==i.tagName?i.getBBox():{width:i.clientWidth,height:i.clientHeight},c={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let u=!t[a].interpolate,d=r.length;for(let e=0;e<d;e++){let n=function(e,t,n,r){let i=Array.isArray(e)?e:T,a=0;return"number"==typeof e?i=[e,e]:"string"==typeof e&&(i=(e=e.trim()).includes(" ")?e.split(" "):[e,S[e]?e:"0"]),A(i[0],n,r)-A(i[1],t)}(r[e],c[o],l[o],s[a]);u||n===t[a].interpolatorOffsets[e]||(u=!0),t[a].offset[e]=n}u&&(t[a].interpolate=(0,E.G)(t[a].offset,(0,k.Z)(r),{clamp:!1}),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=(0,C.q)(0,1,t[a].interpolate(t[a].current))}(e,n,r)},notify:()=>t(n)}}(t,e,x(),n);if(a.add(o),!N.has(t)){let e=()=>{for(let e of a)e.measure()},n=()=>{for(let e of a)e.update(d.uv.timestamp)},o=()=>{for(let e of a)e.notify()},s=()=>{d.Gt.read(e,!1,!0),d.Gt.read(n,!1,!0),d.Gt.update(o,!1,!0)};N.set(t,s);let l=M(t);window.addEventListener("resize",s,{passive:!0}),t!==document.documentElement&&P.set(t,"function"==typeof t?(g.add(t),i||(i=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};
10g.forEach(e=>e(t))},window.addEventListener("resize",i)),()=>{g.delete(t),!g.size&&i&&(i=void 0)}):function(e,t){r||"undefined"==typeof ResizeObserver||(r=new ResizeObserver(m));let n=(0,c.KJ)(e);return n.forEach(e=>{let n=h.get(e);n||(n=new Set,h.set(e,n)),n.add(t),null==r||r.observe(e)}),()=>{n.forEach(e=>{let n=h.get(e);null==n||n.delete(t),(null==n?void 0:n.size)||null==r||r.unobserve(e)})}}(t,s)),l.addEventListener("scroll",s,{passive:!0})}let s=N.get(t);return d.Gt.read(s,!1,!0),()=>{var e;(0,d.WG)(s);let n=I.get(t);if(!n||(n.delete(o),n.size))return;let r=N.get(t);N.delete(t),r&&(M(t).removeEventListener("scroll",r),null===(e=P.get(t))||void 0===e||e(),window.removeEventListener("resize",r))}}let R=new Map;function D({source:e,container:t=document.documentElement,axis:n="y"}={}){e&&(t=e),R.has(t)||R.set(t,{});let r=R.get(t);return r[n]||(r[n]=(0,c.Jb)()?new ScrollTimeline({source:t,axis:n}):function({source:e,container:t,axis:n="y"}){e&&(t=e);let r={value:0},i=O(e=>{r.value=100*e[n].progress},{container:t,axis:n});return{currentTime:r,cancel:i}}({source:t,axis:n})),r[n]}function B(e){return e&&(e.target||e.offset)}var F=n(25128);function H(e,t){(0,l.$)(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let V=()=>({scrollX:(0,a.OQ)(0),scrollY:(0,a.OQ)(0),scrollXProgress:(0,a.OQ)(0),scrollYProgress:(0,a.OQ)(0)});function $({container:e,target:t,layoutEffect:n=!0,...r}={}){let i=(0,o.M)(V);return(n?F.E:s.useEffect)(()=>(H("target",t),H("container",e),function(e,{axis:t="y",...n}={}){let r={axis:t,...n};return"function"==typeof e?2===e.length||B(r)?O(t=>{e(t[r.axis].progress,t)},r):p(e,D(r)):function(e,t){if(e.flatten(),B(t))return e.pause(),O(n=>{e.time=e.duration*n[t.axis].progress},t);{let n=D(t);return e.attachTimeline?e.attachTimeline(n,e=>(e.pause(),p(t=>{e.time=e.duration*t},n))):u.l}}(e,r)}((e,{x:t,y:n})=>{i.scrollX.set(t.current),i.scrollXProgress.set(t.progress),i.scrollY.set(n.current),i.scrollYProgress.set(n.progress)},{...r,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[e,t,JSON.stringify(r.offset)]),i}},23502:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/AssetHyperlink","definitions":{"AssetHyperlink":{"type":"object","properties":{"nodeType":{"type":"string","enum":["asset-hyperlink"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/Link<\\"Asset\\">"}},"additionalProperties":false,"required":["target"]},"content":{"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Link<\\"Asset\\">":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["Link"]},"linkType":{"type":"string","enum":["Asset"]},"id":{"type":"string"}},"additionalProperties":false,"required":["id","linkType","type"]}},"additionalProperties":false,"required":["sys"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},23717:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});let r=(0,n(73884).createContext)({})},23804:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=t.sendGTMEvent=t.GoogleTagManager=t.YouTubeEmbed=t.GoogleMapsEmbed=void 0;var i=n(94885);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return r(i).default}});var a=n(90697);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return r(a).default}});var o=n(97142);Object.defineProperty(t,"GoogleTagManager",{enumerable:!0,get:function(){return o.GoogleTagManager}}),Object.defineProperty(t,"sendGTMEvent",{enumerable:!0,get:function(){return o.sendGTMEvent}});var s=n(22402);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return s.GoogleAnalytics}}),Object.defineProperty(t,"sendGAEvent",{enumerable:!0,get:function(){return s.sendGAEvent}})},24134:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(58775),i=n(69373),a=n(8338),o=n(73884),s=n.n(o),l=n(34164);let c=s().memo(function({solutionsSubmenu:e,isInView:t,animate:n=!0}){let s=(0,o.useMemo)(()=>e?.menus?.filter(e=>
10!1===e.hideForLocale)||[],[e?.menus]),{menuWidthClasses:c,columnWidthClasses:u}=(0,o.useMemo)(()=>{let e=[],t=[];return s?.length===1?(e.push("lg:w-[30rem]"),t.push("basis-[100%]")):s?.length===2?(e.push("lg:w-[40rem]"),t.push("basis-[52%]","basis-[48%]")):s?.length===3?(e.push("lg:w-[48rem]"),t.push("basis-[38%]","basis-[29.53%]","basis-[32.47%]")):s?.length===4?(e.push("lg:w-[62rem]"),t.push("basis-[24%]","basis-[24%]","basis-[24%]","basis-[28%]")):(e.push("lg:w-[48rem]"),t.push("basis-[38%]","basis-[29.53%]","basis-[32.47%]")),{menuWidthClasses:e.join(" "),columnWidthClasses:t}},[s?.length]);return s?.length>0?(0,r.jsx)("menu",{className:(0,l.A)("grid gap-y-5 lg:flex",c),children:s?.map((e,o)=>{let l=o===Number(s?.length)-1;return r.jsxs(a.P.ul,{className:`border-grey-pastel max-lg:rounded-lg max-lg:border max-lg:p-5 max-lg:pb-4 lg:border-r lg:px-[1.1rem] lg:py-6 ${l?"lg:!border-0":""} ${u[o]} ${e.greyBackground?"bg-paleGrey":""}`,animate:{transform:n?t?"translateX(0px) translateY(0px) scale(1)":"translateX(-10px) translateY(-10px) scale(1)":"",opacity:n?t?1:0:1},transition:{type:"spring",stiffness:150,damping:20,delay:(o+1)/15+.2,opacity:{duration:.6,delay:(o+1)/15+.2}},children:[r.jsx("span",{className:"submenu-heading mb-3 opacity-[.65] md:mb-4 md:pl-[0.625rem]",dangerouslySetInnerHTML:{__html:e?.heading}}
10),r.jsx(i.A,{menu:e?.menu})]},o)})}):null})},24714:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var r=n(47365),i=n(24785),a=n(74737);function o(e,t){let{transitionEnd:n={},transition:o={},...s}=(0,a.K)(e,t)||{};for(let t in s={...s,...n}){let n=(0,r.K)(s[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,(0,i.OQ)(n))}}},24785:(e,t,n)=>{"use strict";n.d(t,{OQ:()=>u,bt:()=>l});var r=n(44582),i=n(22606),a=n(57177),o=n(10104);let s=e=>!isNaN(parseFloat(e)),l={current:void 0};class c{constructor(e,t={}){this.version="11.18.0",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=r.k.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=r.k.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=s(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new i.v);let n=this.events[e].add(t);return"change"===e?()=>{n(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return l.current&&l.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=r.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,a.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(e,t){return new c(e,t)}},24835:(e,t,n)=>{"use strict";n.d(t,{h:()=>d,q:()=>u});var r=n(73420),i=n(10104);let a=new Set,o=!1,s=!1;function l(){if(s){let e=Array.from(a).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=(0,r.W9)(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}s=!1,o=!1,a.forEach(e=>e.complete()),a.clear()}function c(){a.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(s=!0)})}function u(){c(),l()}class d{constructor(e,t,n,r,i,a=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.isScheduled=!0,this.isAsync?(a.add(this),o||(o=!0,i.Gt.read(c),i.Gt.resolveKeyframes(l))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i<e.length;i++)if(null===e[i]){if(0===i){let i=null==r?void 0:r.get(),a=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,a);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=a),r&&void 0===i&&r.set(e[0])}else e[i]=e[i-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),a.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,a.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}},25e3:()=>{}
10,25083:(e,t,n)=>{e.exports=n(67834)},25128:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(73884);let i=n(98288).B?r.useLayoutEffect:r.useEffect},25141:(e,t,n)=>{"use strict";n.d(t,{T:()=>o,n:()=>s});var r=n(82944),i=n(55269),a=n(51969);let o=[r.ai,i.px,i.KN,i.uj,i.vw,i.vh,{test:e=>"auto"===e,parse:e=>e}],s=e=>o.find((0,a.w)(e))},25574:(e,t,n)=>{"use strict";var r=n(84409);t.l=function e(t,n){return(void 0===n&&(n=" "),t&&t.content&&Array.isArray(t.content))?t.content.reduce(function(i,a,o){if(r.helpers.isText(a))s=a.value;else if((r.helpers.isBlock(a)||r.helpers.isInline(a))&&!(s=e(a,n)).length)return i;var s,l=t.content[o+1];return i+s+(l&&r.helpers.isBlock(l)?n:"")},""):""}},26044:(e,t,n)=>{"use strict";n.d(t,{p:()=>l});var r=n(30615),i=n(849);let a=new Set(["brightness","contrast","saturate","opacity"]);function o(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(i.S)||[];if(!r)return e;let o=n.replace(r,""),s=a.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+o+")"}let s=/\b([a-z-]*)\(.*?\)/gu,l={...r.f,getAnimatableNone:e=>{let t=e.match(s);return t?t.map(o).join(" "):e}}},26398:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsEmbed=void 0;let a=i(n(54399)),o=n(35909);t.GoogleMapsEmbed=e=>{var t=r(e,[]);return(0,o.formatData)(a.default,t)}},26464:(e,t,n)=>{"use strict";n.d(t,{n:()=>x});var r=n(3044),i=n(23033),a=n(71912),o=n(10104);function s(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);let i=r["onHover"+n];i&&o.Gt.postRender(()=>i(t,(0,a.e)(t)))}class l extends r.X{mount(){let{current:e}=this.node;e&&(this.unmount=(0,i.PT)(e,e=>(s(this.node,e,"Start"),e=>s(this.node,e,"End"))))}unmount(){}}var c=n(63998),u=n(91339);class d extends r.X{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,u.F)((0,c.k)(this.node.current,"focus",()=>this.onFocus()),(0,c.k)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function p(e,t,n){let{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);let i=r["onTap"+("End"===n?"":n)];i&&o.Gt.postRender(()=>i(t,(0,a.e)(t)))}class h extends r.X{mount(){let{current:e}=this.node;e&&(this.unmount=(0,i.c$)(e,e=>(p(this.node,e,"Start"),(e,{success:t})=>p(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let f=new WeakMap,m=new WeakMap,g=e=>{let t=f.get(e.target);t&&t(e)},y=e=>{e.forEach(g)},v={some:0,all:1};class b extends r.X{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:v[r]};return function(e,t,n){let r=function({root:e,...t}){let n=e||document;m.has(n)||m.set(n,{});let r=m.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(y,{root:e,...t})),r[i]}(t);return f.set(e,n),r.observe(e),()=>{f.delete(e),r.unobserve(e)}}(this.node.current,a,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}let x={inView:{Feature:b},tap:{Feature:h},focus:{Feature:d},hover:{Feature:l}}},27242:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/ResourceLinkInline","definitions":{"ResourceLinkInline":{"type":"object","properties":{"nodeType":{"type":"string","enum":["embedded-resource-inline"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/ResourceLink"}},"additionalProperties":false,"required":["target"]},"content":{"maxItems":0,"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ResourceLink":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["ResourceLink"]},"linkType":{"type":"string","enum":["Contentful:Entry"]},"urn":{"type":"string"}},"additionalProperties":false,"required":["linkType","type","urn"]}},"additionalProperties":false,"required":["sys"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},27322:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58775),i=n(33256),a=n(30200),o=n(98722),s=n.n(o);n(73884);let l=function({position:e="footer",colour:t}){let n=[],o=[];"press-media"===e&&(n.push("space-x-[.375rem]"),o.push("rounded-[.25rem] w-[28px] h-[28px] text-dark p-[.375rem] hover:bg-coral-pastel hover:opacity-80 bg-coral-pastel icon-invert")),"sidebar"===e?(n.push("space-x-[.375rem]"),o.push("rounded-[.25rem] w-6 h-6 text-dark p-[.375rem] bg-black/10 hover:bg-black/20 focus:bg-black/20 icon-invert")):(n.push("space-x-2"),o.push("h-[1.75rem] w-[1.75rem] text-white rounded-[0.2875rem] p-[.45rem]"),"Deep / Forest"===t?o.push("bg-lime-dark hover:bg-lime-shade focus:bg-lime-shade"):o.push("bg-coral-dark hover:bg-coral-shade focus:bg-coral-shade"));let l=(0,i.useGlobalContext)();return l?.socialMenu?.length>0?(0,r.jsx)("ul",{className:`flex items-center ${n.join(" ")}`,children:l?.socialMenu?.map((e,t)=>r.jsx("li",{children:r.jsx(s(),{href:e?.externalUrl||e?.page,"aria-label":e?.title,target:e?.externalUrl?"_blank":"",className:`flex-center transition-colors duration-200 ${o.join(" ")}`,children:e?.icon?.fields?.file?.url?.length>
100&&r.jsx(a.A,{image:e?.icon,className:"h-full w-full object-contain"})})},t))}):null}},27739:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var r=n(5252),i=n(72027),a=n(33735);let o={test:e=>a.B.test(e)||r.u.test(e)||i.V.test(e),parse:e=>a.B.test(e)?a.B.parse(e):i.V.test(e)?i.V.parse(e):r.u.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?a.B.transform(e):i.V.transform(e)}},27784:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(58775),i=n(19356),a=n(69723);n(73884);var o=n(34164);let s=function({heading:e="",logos:t=[],items:n=[],isHeadingCentered:s=!1,isHome:l=!1,showRatings:c=!1,amountShown:u=4,className:d="",isInline:p=!1,inlineHeadingMaxWidth:h="md:max-w-[17.1875rem]",layout:f="Small"}){let m=n.length>0?n:t;return(0,r.jsxs)("div",{className:(0,o.A)("space-y-5",p?"flex w-full flex-col items-center md:flex-row md:space-x-8 md:space-y-0 lg:space-x-16":"md:space-y-8",l&&"pt-4"),children:[(e?.length>0||c)&&(0,r.jsxs)("div",{className:(0,o.A)("shrink-0 space-y-5 md:space-y-4",p?h:""),children:[e?.length>0&&(0,r.jsx)("h3",{className:(0,o.A)("relative z-[12] font-medium",s?"text-18 text-center":"text-14 max-w-[80%] opacity-80",l&&"mx-auto max-w-none text-center md:text-left"),dangerouslySetInnerHTML:{__html:e}}),c&&(0,r.jsx)("div",{className:(0,o.A)("relative z-[12]",p?"":"md:!mb-8"),children:(0,r.jsx)(i.A,{iconBackgroundColor:"Primary / Coral"})})]}),(0,r.jsx)("div",{className:(0,o.A)("logo-marquee w-full flex-1 space-y-5 overflow-hidden max-md:max-w-[calc(100vw-3rem)] md:w-auto md:space-y-4",p?"md:w-2/3":"max-md:max-w-[calc(100vw-3rem)]",d),children:(0,r.jsx)(a.A,{amountShown:u,logos:m,layout:f})})]})}},28132:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/TableHeaderCell","definitions":{"TableHeaderCell":{"type":"object","properties":{"nodeType":{"type":"string","enum":["table-header-cell"]},"data":{"type":"object","properties":{"colspan":{"type":"number"},"rowspan":{"type":"number"}},"additionalProperties":false},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/Paragraph"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},28381:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Hr","definitions":{"Hr":{"type":"object","properties":{"nodeType":{"type":"string","enum":["hr"]},"data":{"maxItems":0,"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},28481:(e,t,n)=>{"use strict";n.d(t,{J:()=>G});var r=n(73884),i=n(94805),a=n(44582),o=n(13996),s=n(54106),l=n(89652),c=n(77312),u=n(2743),d=n(8452),p=n(22606),h=n(24785),f=n(30615),m=n(69896),g=n(45320),y=n(27739),v=n(25141),b=n(51969);let x=[...v.T,y.y,f.f],w=e=>x.find((0,b.w)(e));var j=n(72443);let C=new WeakMap;var E=n(837),k=n(24835),S=n(13141),A=n(10104);let T=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class _{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=k.h,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=a.k.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,A.Gt.render(this.render,!1,!0))};let{latestValues:l,renderState:c,onUpdate:u}=o;this.onUpdate=u,this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.blockInitialAnimation=!!i,this.isControllingVariants=(0,E.e)(t),this.isVariantNode=(0,E.O)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:d,...p}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in p){let t=p[e];void 0!==l[e]&&(0,m.S)(t)&&t.set(l[e],!1)}}mount(e){this.current=e,C.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
10h((e,t)=>this.bindToMotionValue(t,e)),d.r.current||(0,u.U)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||d.O.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in C.delete(this.current),this.projection&&this.projection.unmount(),(0,A.WG)(this.notifyUpdate),(0,A.WG)(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=j.f.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&A.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),a=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),a(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in o.B){let t=o.B[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,s.ge)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<T.length;t++){let n=T[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],a=n[r];if((0,m.S)(i))e.addValue(r,i);else if((0,m.S)(a))e.addValue(r,(0,h.OQ)(i,{owner:e}));else if(a!==i){if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,(0,h.OQ)(void 0!==t?t:i,{owner:e}))}}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=(0,h.OQ)(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&((0,l.i)(r)||(0,c.$)(r))?r=parseFloat(r):!w(r)&&f.f.test(t)&&(r=(0,g.J)(e,t)),this.setBaseTarget(e,(0,m.S)(r)?r.get():r)),(0,m.S)(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n;let{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=(0,S.a)(this.props,r,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);i&&(n=i[e])}if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||(0,m.S)(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new p.v),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}var L=n(44721);class N extends _{constructor(){super(...arguments),this.KeyframeResolver=L.K}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,m.S)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}var P=n(40568),I=n(81619),M=n(75756),O=n(59836),R=n(4494);class D extends N{constructor(){super(...arguments),this.type="html",this.renderInstance=O.e}readValueFromInstance(e,t){if(j.f.has(t)){let e=(0,I.D)(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=((0,P.j)(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,i.m)(e,t)}build(e,t,n){(0,M.O)(e,t,n.transformTemplate)}
10scrapeMotionValuesFromProps(e,t,n){return(0,R.x)(e,t,n)}}var B=n(48062),F=n(20164),H=n(22311),V=n(16793),$=n(97415),U=n(32777);class z extends N{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=s.ge}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(j.f.has(t)){let e=(0,I.D)(t);return e&&e.default||0}return t=H.e.has(t)?t:(0,B.I)(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return(0,U.x)(e,t,n)}build(e,t,n){(0,F.B)(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){(0,$.d)(e,t,n,r)}mount(e){this.isSVGTag=(0,V.n)(e.tagName),super.mount(e)}}var W=n(19110);let G=(e,t)=>(0,W.Q)(e)?new z(t):new D(t,{allowProjection:e!==r.Fragment})},28601:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(73884);function i(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},28844:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var r=n(41533),i=n(8104),a=n(86896),o=n(42464),s=n(78955),l=n(91339);function c(e,t,{clamp:n=!0,ease:c,mixer:u}={}){let d=e.length;if((0,i.V)(d===t.length,"Both input and output ranges must be the same length"),1===d)return()=>t[0];if(2===d&&t[0]===t[1])return()=>t[1];let p=e[0]===e[1];e[0]>e[d-1]&&(e=[...e].reverse(),t=[...t].reverse());let h=function(e,t,n){let i=[],a=n||s.j,o=e.length-1;for(let n=0;n<o;n++){let o=a(e[n],e[n+1]);if(t){let e=Array.isArray(t)?t[n]||r.l:t;o=(0,l.F)(e,o)}i.push(o)}return i}(t,c,u),f=h.length,m=n=>{if(p&&n<e[0])return t[0];let r=0;if(f>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=(0,a.q)(e[r],e[r+1],n);return h[r](i)};return n?t=>m((0,o.q)(e[0],e[d-1],t)):m}},29473:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});let r=(0,n(73884).createContext)({})},29804:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var r=n(58775),i=n(7306),a=n(5501),o=n(43908),s=n(73884),l=n(34164),c=n(5793),u=n(94195),d=n(86297),p=n(13073),h=n(93627);let f=e=>{(0,s.useEffect)(()=>{let t=document.documentElement;return e&&e.length>0&&t.classList.add("has-sticky-sidebar"),()=>{t.classList.remove("has-sticky-sidebar")}},[e])},m=function({sections:e=[],noBorderBottom:t=!1,className:n=""}){let[i,a]=(0,s.useState)(""),{t:m}=(0,h.Bd)(),g=e?.filter(e=>"heading-2"===e.nodeType)?.map(({content:e})=>({anchorLabel:e?.map(({value:e})=>
10e).filter(Boolean).join(" ")})).filter(Boolean),y=e?.filter(e=>"embedded-entry-block"===e.nodeType&&e?.data?.target?.sys?.contentType?.sys?.id==="postAnchorElement")?.map(e=>({adminName:e.data.target?.fields.adminName||e.data.target?.fields.internalName,anchorLabel:e.data.target?.fields.anchorLabel})),v=y?.length>0?y:g;f(v),(0,s.useEffect)(()=>{let e=()=>{v.forEach(({anchorLabel:e})=>{let t=(0,o.e)(e),n=document.getElementById(t);if(n){let e=n.getBoundingClientRect();e.top<=.25*window.innerHeight&&e.bottom>0&&a(t)}})};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[v]);let b=(0,s.useCallback)(e=>{let t=document.getElementById(e);t&&(t.scrollIntoView({behavior:"smooth",block:"start"}),t.hasAttribute("tabindex")||t.setAttribute("tabindex","-1"),"function"==typeof t.focus&&t.focus({preventScroll:!0}),a(e))},[]);return v?.length?(0,r.jsx)(c.F,{features:u.z,children:(0,r.jsxs)("nav",{className:(0,l.A)("space-y-4 max-md:hidden xl:pr-8",!t&&"mb-8 border-b border-black/5 pb-6 lg:pb-10",n),children:[(0,r.jsx)("div",{className:"text-14 text-black/[.65]",dangerouslySetInnerHTML:{__html:m("Table of contents")}}),(0,r.jsx)("ul",{className:"space-y-3",children:v.map(({anchorLabel:e=""},t)=>{if(!e)return null;let n=(0,o.e)(e),a=n===i;return(0,r.jsx)("li",{className:"text-16 is-smaller font-medium",children:(0,r.jsxs)("button",{type:"button",className:(0,l.A)("relative inline-block cursor-pointer text-left text-black/80 transition-[color] duration-1000 hover:text-coral-dark",a&&"font-medium !text-coral-dark"),onClick:()=>b(n),children:[(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e}}),(0,r.jsx)(d.N,{children:a&&(0,r.jsx)(p.m.div,{layoutId:"sidebar-indicator",className:"absolute -left-2.5 top-1.5 h-1 w-1 bg-coral-dark lg:-left-[1.125rem] lg:top-2 lg:h-1.5 lg:w-1.5"})})]})},`nav-item-${n}`)})})]})}):null};var g=n(46184),y=n(80842);let v=function({sections:e=[],content:t=[],hasTimestamps:n=!1,hasCta:a=!1,hasShareButtons:o=!0,className:s="",hasDates:c=!1,publishDate:u,lastUpdatedDate:d,isIntegration:p=!1,supportedLanguages:h,button:f,isGuide:g=!1,cta:v}){return(0,r.jsxs)("aside",{className:(0,l.A)("w-full shrink-0 self-start md:sticky md:top-32 lg:top-40",p?"md:ml-auto md:max-w-[10.75rem]":"md:max-w-[19.5rem] md:pr-3 lg:pr-6",g?"!pr-0 lg:max-w-[16rem]":"md:w-1/4",s),children:[!p&&t.length>0&&(0,r.jsx)(m,{sections:t}),p&&(0,r.jsx)(w,{supportedLanguages:h}),f?.title?.length>0&&(0,r.jsx)(j,{button:f}),c&&(u||d)&&(0,r.jsx)(x,{publishDate:u,lastUpdatedDate:d}),n&&(0,r.jsx)(b,{}),a&&v&&(0,r.jsx)(i.A,{...v,layout:"ResourceSidebarCTA"}),!p&&o&&(0,r.jsx)(y.A,{})]})};function b(){return(0,r.jsxs)("div",{className:"mb-8 space-y-4 border-b border-black/5 pb-6 lg:pb-10 xl:pr-8",children:[(0,r.jsx)("div",{className:"text-14 text-black/[.65]",dangerouslySetInnerHTML:{__html:"Timestamps"}}),(0,r.jsx)("div",{className:"space-y-3",children:Array.from({length:4})?.map((e,t)=>r.jsxs("div",{className:"text-16 flex items-start gap-x-2 lg:gap-x-3",children:[r.jsx("div",{className:"text-black/[.65]",dangerouslySetInnerHTML:{__html:"1:11"}}),r.jsx("div",{className:"text-black-80",dangerouslySetInnerHTML:{__html:"Semper tincidunt facilisi"}})]},t))})]})}function x({publishDate:e,lastUpdatedDate:t}){let{t:n}=(0,h.Bd)();return(0,r.jsxs)("div",{className:"mb-8 grid gap-y-6",children:[e?.length>0&&(0,r.jsxs)("div",{className:"grid gap-y-2 border-b border-black/5 pb-6",children:[(0,r.jsx)("span",{className:"text-14 opacity-65",dangerouslySetInnerHTML:{__html:n("Published")}}),(0,r.jsx)(a.A,{date:e,classes:"text-16"})]}),t?.length>0&&(0,r.jsxs)("div",{className:"grid gap-y-2 border-b border-black/5 pb-6",children:[(0,r.jsx)("span",{className:"text-14 opacity-65",dangerouslySetInnerHTML:{__html:n("Last Updated")}}),(0,r.jsx)(a.A,{date:t,classes:"text-16"})]})]})}function w({supportedLanguages:e}){let{t}=(0,h.Bd)();return(0,r.jsxs)("div",{className:"mb-8 md:mb-10",children:[(0,r.jsx)("div",{className:"text-14 mb-4 text-black/[.65] md:mb-6",dangerouslySetInnerHTML:{__html:t("Supported Languages")}}
10),(0,r.jsx)("ul",{className:"spae-y-2 md:space-y-3",children:e?.map((e,t)=>r.jsx("li",{children:r.jsx("span",{className:"text-16",dangerouslySetInnerHTML:{__html:e}})},t))})]})}function j({button:e}){return(0,r.jsx)("div",{className:"border-t border-black/5 pt-8 md:pt-10",children:(0,r.jsx)(g.A,{...e})})}},30041:(e,t,n)=>{"use strict";var r=n(30655),i=n(58068),a=n(69675),o=n(75795);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!o&&o(e,t);if(r)r(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:n,writable:null===l&&d?d.writable:!l});else if(!u&&(s||l||c))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=n}},30200:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(58775),i=n(6135),a=n(56234),o=n.n(a);function s({image:e,width:t,height:n,quality:a,className:s,isPriority:l,alt:c}){if(!e||!e.fields)return null;let{url:u}=e.fields.file;u?.startsWith("//downloads.ctfassets.net")&&(u=u.replace("//downloads.ctfassets.net","//images.ctfassets.net"));let{width:d,height:p}=e?.fields?.file?.details?.image||{},h=void 0!==c?c:e.fields.title||"",f=(0,i.$o)(t,d),m=n||(d&&p?Math.round(p*f/d):f);return(0,r.jsx)(o(),{loader:(0,i.a1)(f),src:u,alt:h,width:f,height:m,quality:a||85,className:s,priority:l})}},30592:(e,t,n)=>{"use strict";var r=n(30655),i=function(){return!!r};i.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},30615:(e,t,n)=>{"use strict";n.d(t,{V:()=>u,f:()=>f});var r=n(27739);let i=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var a=n(849),o=n(66046);let s="number",l="color",c=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function u(e){let t=e.toString(),n=[],i={color:[],number:[],var:[]},a=[],o=0,u=t.replace(c,e=>(r.y.test(e)?(i.color.push(o),a.push(l),n.push(r.y.parse(e))):e.startsWith("var(")?(i.var.push(o),a.push("var"),n.push(e)):(i.number.push(o),a.push(s),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:u,indexes:i,types:a}}function d(e){return u(e).values}function p(e){let{split:t,types:n}=u(e),i=t.length;return e=>{let a="";for(let c=0;c<i;c++)if(a+=t[c],void 0!==e[c]){let t=n[c];t===s?a+=(0,o.a)(e[c]):t===l?a+=r.y.transform(e[c]):a+=e[c]}return a}}let h=e=>"number"==typeof e?0:e,f={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(a.S))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(i))||void 0===n?void 0:n.length)||0)>0},parse:d,createTransformer:p,getAnimatableNone:function(e){let t=d(e);return p(e)(t.map(h))}}},30655:(e,t,n)=>{"use strict";var r=n(70453)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},32235:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=t.GoogleMapsEmbed=t.GoogleAnalytics=void 0;var r=n(65911);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return r.GoogleAnalytics}});var i=n(26398);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return i.GoogleMapsEmbed}});var a=n(12594);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return a.YouTubeEmbed}})},32358:(e,t,n)=>{"use strict";function r(e,t){-1===e.indexOf(t)&&e.push(t)}function i(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}n.d(t,{Ai:()=>i,Kq:()=>r})},32489:e=>{"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};
10((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(a,{InMemoryCache:()=>o}),e.exports=((e,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of r(a))i.call(e,l)||l===o||t(e,l,{get:()=>a[l],enumerable:!(s=n(a,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),a);class o{constructor(){this.cache={}}async get(e){let t=this.cache[e];return t?t.ttl&&t.lastModified+1e3*t.ttl<Date.now()?(await this.delete(e),null):t.value:null}async set(e,t,n){this.cache[e]={value:t,lastModified:Date.now(),ttl:n?.ttl,tags:new Set(n?.tags||[])}}async delete(e){delete this.cache[e]}async expireTag(e){let t=Array.isArray(e)?e:[e];for(let e in this.cache)if(Object.prototype.hasOwnProperty.call(this.cache,e)){let n=this.cache[e];t.some(e=>n.tags.has(e))&&delete this.cache[e]}}}},32777:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(69896),i=n(72443),a=n(4494);function o(e,t,n){let o=(0,a.x)(e,t,n);for(let n in e)((0,r.S)(e[n])||(0,r.S)(t[n]))&&(o[-1!==i.U.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return o}},33036:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading2","definitions":{"Heading2":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-2"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},33129:(e,t,n)=>{"use strict";var r=n(65606),i=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,l={};((e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})})(l,{attachDatabasePool:()=>m,experimental_attachDatabasePool:()=>g}),e.exports=((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))s.call(e,l)||l===n||i(e,l,{get:()=>t[l],enumerable:!(r=a(t,l))||r.enumerable});return e})(i({},"__esModule",{value:!0}),l);var c=n(45784);let u=!!r.env.DEBUG,d=null,p=()=>{},h=Date.now();function f(e){if(!r.env.VERCEL_URL)return;d&&(clearTimeout(d),p());let t=new Promise(e=>{p=e});d=setTimeout(()=>{p?.(),u&&console.log("Database pool idle timeout reached. Releasing connections.")},Math.min(function(e){if("options"in e&&e.options){if("idleTimeoutMillis"in e.options)return"number"==typeof e.options.idleTimeoutMillis?e.options.idleTimeoutMillis:1e4;if("maxIdleTimeMS"in e.options)return"number"==typeof e.options.maxIdleTimeMS?e.options.maxIdleTimeMS:0;if("status"in e)return 5e3;if("connect"in e&&"execute"in e)return 3e4}if("config"in e&&e.config){if("connectionConfig"in e.config&&e.config.connectionConfig)return e.config.connectionConfig.idleTimeout||6e4;if("idleTimeout"in e.config)return"number"==typeof e.config.idleTimeout?e.config.idleTimeout:6e4}return"poolTimeout"in e?"number"==typeof e.poolTimeout?e.poolTimeout:6e4:"idleTimeout"in e?"number"==typeof e.idleTimeout?e.idleTimeout:0:1e4}(e)+100,899e3-(Date.now()-h)));let n=(0,c.getContext)();n?.waitUntil?n.waitUntil(t):console.warn("Pool release event triggered outside of request scope.")}function m(e){if(d&&(p?.(),clearTimeout(d)),"on"in e&&e.on&&"options"in e&&"idleTimeoutMillis"in e.options){e.on("release",()=>{u&&console.log("Client released from pool"),f(e)});return}if("on"in e&&e.on&&"config"in e&&e.config&&"connectionConfig"in e.config){e.on("release",()=>{u&&console.log("MySQL client released from pool"),f(e)});return}if("on"in e&&e.on&&"config"in e&&e.config&&"idleTimeout"in e.config){e.on("release",()=>{u&&console.log("MySQL2/MariaDB client released from pool"),f(e)});return}if("on"in e&&e.on&&"options"in e&&e.options&&"maxIdleTimeMS"in e.options){e.on("connectionCheckedOut",()=>{u&&console.log("MongoDB connection checked out"),f(e)});return}if("on"in e&&e.on&&"options"in e&&e.options&&"socket"in e.options){e.on("end",()=>{u&&console.log("Redis connection ended"),f(e)});return}throw Error("Unsupported database pool type")}let g=m},33256:(e,t,n)=>{"use strict";n.r(t),n.d(t,{ChatContext:()=>e0,GlobalContextProvider:()=>e5,StickyNavContext:()=>eQ,default:()=>e6,useChatContext:()=>e1,useGlobalContext:()=>e3});var r=n(58775),i=n(99741),a=n.n(i),o=n(71497),s=n.n(o),l=n(35061),c=n.n(l);n(85804);let u=[];function d(e){return e&&"/"!==e?e.endsWith("/")?e:`${e}/`:"/"}!function(e){let t=new Set,n=new Set;for(let r of e){if(!r.id)throw Error("[abTesting] Experiment is missing an `id`");if(t.has(r.id))throw Error(`[abTesting] Duplicate experiment id: "${r.id}"`);if(t.add(r.id),!r.urlControl||!r.urlVariant)throw Error(`[abTesting] Experiment "${r.id}
10" must define both urlControl and urlVariant`);let e=d(r.urlControl);if(n.has(e))throw Error(`[abTesting] Duplicate urlControl "${r.urlControl}" (only the first experiment would ever match)`);if(n.add(e),d(r.urlVariant)===e)throw Error(`[abTesting] Experiment "${r.id}" has identical urlControl and urlVariant`);if("number"!=typeof r.controlTrafficSplit||r.controlTrafficSplit<0||r.controlTrafficSplit>100)throw Error(`[abTesting] Experiment "${r.id}" has invalid controlTrafficSplit (${r.controlTrafficSplit}); must be within [0, 100]`);let i=new Date(r.startDate).getTime(),a=new Date(r.endDate).getTime();if(Number.isNaN(i)||Number.isNaN(a))throw Error(`[abTesting] Experiment "${r.id}" has invalid startDate/endDate`);if(a<i)throw Error(`[abTesting] Experiment "${r.id}" has endDate before startDate`)}}(u),(()=>{let e=new Map;for(let t of u)t.enabled&&e.set(d(t.urlControl),{experiment:t,startTime:new Date(t.startDate).getTime(),endTime:new Date(t.endDate).getTime()})})();let p=(()=>{let e=new Map;for(let t of u)t.enabled&&e.set(d(t.urlVariant),{experiment:t,startTime:new Date(t.startDate).getTime(),endTime:new Date(t.endDate).getTime()});return e})();function h(e){let t=d(e.split("?")[0]??e),n=p.get(t);if(!n)return;let r=Date.now();if(!(r<n.startTime)&&!(r>n.endTime))return d(n.experiment.urlControl)}var f=n(73884),m=n.n(f),g=n(4853),y=n(21894),v=n.n(y);function b({page:e,themeColour:t,locale:n="en",currentPath:i=""}){if(!e)return null;let{seo:a,localisedSlugs:o}=e,s=a?.ogImage?.fields?.file?.url;s?.startsWith("//")&&(s=`https:${s}`);let l={en:"en","fr-fr":"fr","de-de":"de","it-it":"it","es-es":"es","ja-ja":"ja"}[n]||"en",c=o?.map(e=>({...e,slug:h(e.slug)||e.slug})),u=c?.find(e=>e.locale===l)?.slug,d=u?l:"en",p=u||c?.find(e=>"en"===e.locale)?.slug,f=h(i)||p,m=d?`https://contentsquare.com${f}`:`https://contentsquare.com${d}${f}`;return(0,r.jsxs)("div",{children:[a&&(0,r.jsx)(g.bV,{noindex:a?.excludeFromSearchEngines||!1,title:a?.title,description:a?.description,canonical:a.canonicalUrl?a.canonicalUrl:m,openGraph:{url:m,title:a?.title,description:a?.description,images:[{url:s}]}}),(0,r.jsxs)(v(),{children:[(0,r.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/favicons/apple-touch-icon.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicons/favicon-32x32.png"}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicons/favicon-16x16.png"}),(0,r.jsx)("link",{rel:"manifest",href:"/favicons/site.webmanifest"}),(0,r.jsx)("link",{rel:"mask-icon",href:"/favicons/safari-pinned-tab.svg",color:t}),(0,r.jsx)("link",{rel:"shortcut icon",href:"/favicons/favicon.ico"}),(0,r.jsx)("meta",{name:"msapplication-TileColor",content:t}),(0,r.jsx)("meta",{name:"msapplication-config",content:"/favicons/browserconfig.xml"}),(0,r.jsx)("meta",{name:"theme-color",content:t}),(e?.sys?.id||e?.id)&&(0,r.jsx)("meta",{name:"csq:id",content:e?.sys?.id||e?.id}),a&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{name:"twitter:site",content:"@contentsquare"}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:description",content:a?.description}),(0,r.jsx)("meta",{name:"twitter:image",content:s}),a?.jsonLdSchema?.["@context"]&&(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(a.jsonLdSchema)}},`json-ld${e.id}`)]}),c?.map(e=>r.jsx("link",{rel:"alternate",hrefLang:e.locale,href:`https://contentsquare.com${e.slug}`},e.locale)),c&&(0,r.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:`https://contentsquare.com${c.find(e=>"en"===e.locale)?.slug||c[0]?.slug}`})]})]})}var x=n(2050),w=n(9483),j=n(48706),C=n(61234),E=n(10297);let k={ENFlag:function(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 22 22",fill:"none",children:[(0,r.jsx)("title",{children:"United Kingdom Flag"}),(0,r.jsx)("g",{children:(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M-17.1279 -3.31348V24.3144H38.1279V-3.31348H-17.1279Z",fill:"#012169"}),(0,r.jsx)("path",{d:"M-17.1279 -3.31348L38.1279 24.3144L-17.1279 -3.31348ZM38.1279 -3.31348L-17.1279 24.3144L38.1279 -3.31348Z",fill:"white"}),(0,r.jsx)("path",{d:"M-17.1279 -3.31348L38.1279 24.3144M38.1279 -3.31348L-17.1279 24.3144",stroke:"white",strokeWidth:"5.52558"}),(0,r.jsx)("mask",{id:"mask1_6222_14804",maskUnits:"userSpaceOnUse",x:"-18",y:"-4",width:"57",height:"29",children:(0,r.jsx)("path",{d:"M10.5 10.5005H38.1279V24.3144L10.5 10.5005ZM10.5 10.5005V24.3144H-17.1279L10.5 10.5005ZM10.5 10.5005H-17.1279V-3.31348L10.5 10.5005ZM10.5 10.5005V-3.31348H38.1279L10.5 10.5005Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask1_6222_14804)",children:[(0,r.jsx)("path",{d:"M-17.1279 -3.31348L38.1279 24.3144L-17.1279 -3.31348ZM38.1279 -3.31348L-17.1279 24.3144L38.1279 -3.31348Z",fill:"white"}),(0,r.jsx)("path",{d:"M-17.1279 -3.31348L38.1279 24.3144M38.1279 -3.31348L-17.1279 24.3144",stroke:"#C8102E",strokeWidth:"3.68372"})]}
10),(0,r.jsx)("path",{d:"M10.5 -3.31348V24.3144V-3.31348ZM-17.1279 10.5005H38.1279H-17.1279Z",fill:"white"}),(0,r.jsx)("path",{d:"M10.5 -3.31348V24.3144M-17.1279 10.5005H38.1279",stroke:"white",strokeWidth:"9.2093"}),(0,r.jsx)("path",{d:"M10.5 -3.31348V24.3144V-3.31348ZM-17.1279 10.5005H38.1279H-17.1279Z",fill:"white"}),(0,r.jsx)("path",{d:"M10.5 -3.31348V24.3144M-17.1279 10.5005H38.1279",stroke:"#C8102E",strokeWidth:"5.52558"})]})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_6222_14804",children:(0,r.jsx)("rect",{width:"55.2558",height:"27.6279",fill:"white",transform:"translate(-17.1279 -3.31348)"})})})]})},FRFlag:function(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 22 22",fill:"none",children:[(0,r.jsx)("title",{children:"France Flag"}),(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M7.33332 21.3816V0.619141C3.07083 2.13164 0 6.21082 0 11.0004C0 15.79 3.07083 19.8691 7.33332 21.3816Z",fill:"#231D9A"}),(0,r.jsx)("path",{d:"M14.6663 0.61875C13.5205 0.229167 12.283 0 10.9997 0C9.71633 0 8.47883 0.229167 7.33301 0.61875V21.3583C8.47883 21.7708 9.71633 22 10.9997 22C12.283 22 13.5205 21.7708 14.6663 21.3813V0.61875Z",fill:"white"}),(0,r.jsx)("path",{d:"M14.667 0.619141V21.3587C18.9295 19.8691 22.0003 15.79 22.0003 11.0004C22.0003 6.21082 18.9295 2.13164 14.667 0.619141Z",fill:"#F0263C"})]})]})},DEFlag:function(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 22 22",fill:"none",children:[(0,r.jsx)("title",{children:"German Flag"}),(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M0 11.0002C0 12.2835 0.229167 13.521 0.61875 14.6668H21.3583C21.7708 13.521 22 12.2835 22 11.0002C22 9.71682 21.7708 8.47932 21.3813 7.3335H0.61875C0.229167 8.47932 0 9.71682 0 11.0002Z",fill:"#F0263C"}),(0,r.jsx)("path",{d:"M0.619141 7.33332H21.3587C19.8691 3.07083 15.79 0 11.0004 0C6.21079 0 2.13164 3.07083 0.619141 7.33332Z",fill:"black"}),(0,r.jsx)("path",{d:"M21.3816 14.6665H0.619141C2.13164 18.929 6.21079 21.9998 11.0004 21.9998C15.79 21.9998 19.8691 18.929 21.3816 14.6665Z",fill:"#FFD400"})]})]})},ESFlag:function(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 22 22",fill:"none",children:[(0,r.jsx)("title",{children:"German Flag"}),(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M20.5247 5.5H1.47527C0.538691 7.11834 0 8.9957 0 11C0 13.0043 0.538691 14.8817 1.47527 16.5H20.5248C21.4613 14.8817 22 13.0043 22 11C22 8.9957 21.4613 7.11834 20.5247 5.5Z",fill:"#FFD400"}),(0,r.jsx)("path",{d:"M11.0003 0C6.92947 0 3.37776 2.21303 1.47559 5.5H20.5251C18.6229 2.21303 15.0711 0 11.0003 0Z",fill:"#F0263C"}),(0,r.jsx)("path",{d:"M11.0003 22C15.0711 22 18.6228 19.7869 20.5251 16.5H1.47559C3.3778 19.7869 6.92947 22 11.0003 22Z",fill:"#F0263C"}),(0,r.jsx)("path",{d:"M1.375 12.3749H2.29168V11.1523L1.375 11.4571V12.3749Z",fill:"white"}),(0,r.jsx)("path",{d:"M2.29168 8.25H1.375V9.625H2.29168V8.25Z",fill:"white"}),(0,r.jsx)("path",{d:"M2.29168 10.0828L1.375 10.082V10.9998L2.29168 10.6943V10.0828Z",fill:"white"}),(0,r.jsx)("path",{d:"M6.875 12.3748H7.79168V11.4581L6.875 11.1519V12.3748Z",fill:"white"}),(0,r.jsx)("path",{d:"M6.875 10.6944L7.79168 10.9999V10.0832L6.875 10.0825V10.6944Z",fill:"white"}),(0,r.jsx)("path",{d:"M7.79168 8.25H6.875V9.625H7.79168V8.25Z",fill:"white"}),(0,r.jsx)("path",{d:"M2.29168 12.375H1.375V12.8333H2.29168V12.375Z",fill:"#2D25C5"}),(0,r.jsx)("path",{d:"M7.79168 12.375H6.875V12.8333H7.79168V12.375Z",fill:"#2D25C5"}),(0,r.jsx)("path",{d:"M2.29168 11.9165H1.375V12.3748H2.29168V11.9165Z",fill:"#CC9500"}),(0,r.jsx)("path",{d:"M7.79168 11.9165H6.875V12.3748H7.79168V11.9165Z",fill:"#CC9500"}),(0,r.jsx)("path",{d:"M2.29168 8.25H1.375V8.70832H2.29168V8.25Z",fill:"#CC9500"}),(0,r.jsx)("path",{d:"M7.79168 8.25H6.875V8.70832H7.79168V8.25Z",fill:"#CC9500"}),(0,r.jsx)("path",{d:"M3.20832 6.875H2.75V7.33332H3.20832V6.875Z",fill:"#CC9500"}),(0,r.jsx)("path",{d:"M6.41633 6.875H5.95801V7.33332H6.41633V6.875Z",fill:"#CC9500"}),(0,r.jsx)("path",{d:"M5.04168 6.875H4.125V7.33332H5.04168V6.875Z",fill:"#CC9500"}),(0,r.jsx)("path",{d:"M5.95832 8.25017L6.41668 7.3335H2.75L3.20832 8.25017H5.95832Z",fill:"#F0263C"}),(0,r.jsx)("path",{d:"M6.41699 9.625V10.0822L6.87531 10.0826L7.79199 10.0833V9.625H6.87531H6.41699Z",fill:"#F0263C"}),(0,r.jsx)("path",{d:"M6.875 11.1519L7.79168 11.4582V10.9999L6.875 10.6943V11.1519Z",fill:"#F0263C"}),(0,r.jsx)("path",{d:"M2.74993 11.0002V11.4585C2.74993 12.3191 3.34369 13.0392 4.14338 13.2365L4.58327 12.3751L5.02317 13.2365C5.82284 13.0391 6.41663 12.3191 6.41663 11.4585V11.0002H5.2287C5.134 11.2666 4.8822 11.4585 4.58331 11.4585C4.2036 11.4585 3.89581 11.1507 3.89581 10.771C3.89581 10.3913 4.2036 10.0835 4.58331 10.0835V8.7085H2.75V9.62514H1.375V10.0824L2.29168 10.0832L2.75 10.0835L2.74993 11.0002Z",fill:"#F0263C"}),(0,r.jsx)("path",{d:"M2.75 10.771V11.4585C2.75 12.3191 3.34376 13.0392 4.14346 13.2365L4.58336 12.3752V11.4585C4.20365 11.4585 3.89586 11.1507 3.89586 10.771L2.75 10.771Z",fill:"#CC9500"}),(0,r.jsx)("path",{d:"M6.41731 10.0824V8.7085H4.58398V10.0835C4.96369 10.0835 5.27148 10.3913 5.27148 10.771C5.27148 10.8518 5.25498 10.9282 5.22938 11.0002H6.41731V10.0824Z",fill:"white"}),(0,r.jsx)("path",{d:"M4.14355 13.2363C4.2847 13.2712 4.43151 13.2917 4.58345 13.2917C4.73539 13.2917 4.88217 13.2712 5.02335 13.2363L4.58345 12.375L4.14355 13.2363Z",fill:"white"}),(0,r.jsx)("path",{d:"M3.89551 10.771C3.89551 11.1507 4.2033 11.4585 4.58301 11.4585C4.8819 11.4585 5.1337 11.2666 5.2284 11.0002C5.25401 10.9282 5.27051 10.8518 5.27051 10.771C5.27051 10.3913 4.96271 10.0835 4.58301 10.0835C4.2033 10.0835 3.89551 10.3913 3.89551 10.771Z",fill:"#2D25C5"}),(0,r.jsx)("path",{d:"M2.29168 10.6943L1.375 10.9999V11.4571L2.29168 11.1523V10.6943Z",fill:"#F0263C"})]})]})},ITFlag:function(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 22 22",fill:"none",children:[(0,r.jsx)("title",{children:"German Flag"}),(0,r.jsx)("mask",{id:"mask0_11113_313797",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"22",height:"22",children:(0,r.jsx)("path",{d:"M22 0H0V22H22V0Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask0_11113_313797)",children:[(0,r.jsx)("path",{d:"M7.33332 21.3812V0.618652C3.07083 2.13115 0 6.21033 0 10.9999C0 15.7895 3.07083 19.8687 7.33332 21.3812Z",fill:"#1E5B00"}),(0,r.jsx)("path",{d:"M14.6663 0.61875C13.5205 0.229167 12.283 0 10.9997 0C9.71633 0 8.47883 0.229167 7.33301 0.61875V21.3583C8.47883 21.7708 9.71633 22 10.9997 22C12.283 22 13.5205 21.7708 14.6663 21.3813V0.61875Z",fill:"white"}),(0,r.jsx)("path",{d:"M14.667 0.618652V21.3582C18.9295 19.8687 22.0003 15.7895 22.0003 10.9999C22.0003 6.21033 18.9295 2.13115 14.667 0.618652Z",fill:"#F0263C"})]})]})},JAFlag:function(){return(0,r.jsxs)("svg",{width:"100%",height:"100%",viewBox:"0 0 64 64",f
10ill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("g",{children:(0,r.jsxs)("g",{children:[(0,r.jsx)("path",{d:"M32 64C49.6731 64 64 49.6731 64 32C64 14.3269 49.6731 0 32 0C14.3269 0 0 14.3269 0 32C0 49.6731 14.3269 64 32 64Z",fill:"white"}),(0,r.jsx)("path",{d:"M32 48C40.8366 48 48 40.8366 48 32C48 23.1634 40.8366 16 32 16C23.1634 16 16 23.1634 16 32C16 40.8366 23.1634 48 32 48Z",fill:"#F0263C"})]})}),(0,r.jsx)("rect",{x:"0.75",y:"0.75",width:"62.5",height:"62.5",rx:"31.25",stroke:"black",strokeOpacity:"0.1",strokeWidth:"1.5"}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_3246_11200",children:(0,r.jsx)("rect",{width:"64",height:"64",rx:"32",fill:"white"})})})]})}},S=function({headerStyle:e=!1}){let{localisedSlugs:t}=e3(),n=(0,E.useRouter)(),[i,a]=(0,f.useState)(!1),o=(0,f.useRef)(null),s=(0,f.useRef)(null),l=(0,f.useRef)([]),c=[{code:"en",name:"English",flag:"ENFlag"},{code:"fr-fr",name:"French",flag:"FRFlag"},{code:"de-de",name:"German",flag:"DEFlag"},{code:"it-it",name:"Italian",flag:"ITFlag"},{code:"es-es",name:"Spanish",flag:"ESFlag"},{code:"ja-ja",name:"Japanese",flag:"JAFlag"}],[u,d]=(0,f.useState)(()=>c.find(e=>e.code===n.locale)||c[0]);(0,f.useEffect)(()=>{let e=e=>{o.current&&!o.current.contains(e.target)&&a(!1)},t=e=>{"Escape"===e.key&&i&&(a(!1),s.current?.focus())};return document.addEventListener("mousedown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("keydown",t)}},[i]),(0,f.useEffect)(()=>{i&&l.current[0]&&l.current[0].focus()},[i]);let p=()=>{a(!i)},m=(e,t)=>{switch(e.key){case"ArrowDown":e.preventDefault(),t<c.length-1&&l.current[t+1]?.focus();break;case"ArrowUp":e.preventDefault(),t>0?l.current[t-1]?.focus():s.current?.focus();break;case"Tab":e.shiftKey||t!==c.length-1||(e.preventDefault(),s.current?.focus());break;case"Home":e.preventDefault(),l.current[0]?.focus();break;case"End":e.preventDefault(),l.current[c.length-1]?.focus()}},g=e=>{let{pathname:r,asPath:i,query:o}=n,l=h(i),c=t.find(t=>t.locale.includes((0,j.zF)(e.code)));if((0,C.setCookie)("NEXT_LOCALE",e.code,{maxAge:1440,path:"/"}),d(e),a(!1),s.current?.focus(),l)n.push({pathname:l,query:o},l,{locale:e.code});else if(c){let t=c.slug;n.push({pathname:t,query:o},t,{locale:e.code})}else n.push({pathname:r,query:o},i,{locale:e.code})},y=k[u?.flag];return(0,r.jsxs)("menu",{className:"locale-select relative",ref:o,children:[(0,r.jsxs)("button",{ref:s,type:"button","aria-haspopup":"true","aria-expanded":i,"aria-label":"Select site language",className:`flex items-center space-x-2 border border-white/10 p-[0.375rem] pr-3 transition-colors duration-200 hover:border-white/60 focus:border-white/60 ${e?"text-14 rounded-full border-2 bg-white py-[0.25rem] !font-medium text-black":"rounded-lg p-[0.375rem]"}`,onClick:p,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),p())},children:[(0,r.jsx)("div",{className:"relative h-[1.375rem] w-[1.375rem] overflow-hidden rounded-full",children:(0,r.jsx)(y,{})}),(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:u.name}}),(0,r.jsx)("div",{className:`h-[.5rem] w-[.5rem] transition-transform duration-200 ${i?"rotate-180":""}`,children:(0,r.jsx)(w.yQ,{})})]}),(0,r.jsx)("ul",{role:"menu","aria-label":"Available languages",className:`locale-transition absolute top-[100%] z-10 mt-4 grid min-w-[7.25rem] gap-y-1 overflow-hidden rounded-lg bg-white p-2 text-black ${i?"translate-y-0 opacity-100":"pointer-events-none invisible translate-y-4 opacity-0"}`,children:c.filter(e=>t.filter(t=>t.locale.includes((0,j.zF)(e.code))).length).map((e,t)=>{let n=k[e.flag];return(0,r.jsx)("li",{role:"none",children:(0,r.jsxs)("button",{ref:e=>{l.current[t]=e},type:"button",role:"menuitem","aria-label":`Update the site locale to ${e.name}`,className:"flex w-full items-center space-x-2 rounded-md p-1 transition-colors duration-200 hover:bg-black/10 focus:bg-black/10 focus:outline-none",onClick:()=>g(e),onKeyDown:e=>m(e,t),children:[(0,r.jsx)("div",{className:"relative h-[1.375rem] w-[1.375rem] overflow-hidden rounded-full",children:(0,r.jsx)(n,{})}),(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e.name}})]})},t)})})]})},A=function(){let[e,t]=(0,f.useState)(!1),n=(0,E.useRouter)();return((0,f.useEffect)(()=>{navigator.language.split("-")[0]!==(n.locale.split("-")[0]||"en")&&t(!0)},[n.locale]),e)?(0,r.jsx)("section",{className:"relative z-[52] bg-coral-dark py-2 text-white lg:py-3",children:(0,r.jsxs)("div",{className:"container flex items-center justify-between text-center sm:justify-center sm:space-x-5 lg:space-x-8",children:[(0,r.jsx)("span",{className:"text-13 font-inter font-medium max-sm:hidden",dangerouslySetInnerHTML:{__html:"Select a different c
10ountry or region to view content tailored to your location"}}),(0,r.jsx)(S,{headerStyle:!0}),(0,r.jsx)("button",{type:"button","aria-label":"Close locale bar",className:"w-h h-5 shrink-0 transition-colors duration-200 hover:text-coral-primary",onClick:()=>t(!1),children:(0,r.jsx)(w.US,{})})]})}):null};var T=n(98722),_=n.n(T),L=n(34164);let N=function({banner:e}){let t=[""];return(e?.colourTheme==="Light / Lilac"?t?.push("bg-lilac-light text-black hover:bg-lilac-shade hover:text-white"):e?.colourTheme==="Light / Lime"?t?.push("bg-lime-light text-black hover:bg-lime-shade hover:text-white"):e?.colourTheme==="Light / Grey"?t?.push("bg-grey-light text-black hover:bg-grey-shade hover:text-white"):t?.push("bg-coral-light text-black hover:bg-coral-shade hover:text-white"),e?.externalUrl||e?.pageLink)?(0,r.jsx)(_(),{href:e?.externalUrl||e?.pageLink||"#",target:e?.externalUrl?"_blank":"",className:(0,L.A)("text-13 header-banner-text group relative z-50 flex w-full py-[0.625rem] transition-colors duration-200 ease-out",t.join(" ")),children:(0,r.jsxs)("div",{className:"container inline-flex items-center justify-between md:justify-center md:space-x-[0.625rem] md:text-center",children:[(0,r.jsx)("div",{className:"h-5 w-5 shrink-0 rounded-full border border-current p-[.3rem] max-md:mr-3",children:(0,r.jsx)(w.B,{})}),e?.message&&(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e?.message}}),e?.linkTitle&&(0,r.jsxs)("div",{className:"text-13 relative whitespace-nowrap font-medium max-md:hidden md:!leading-none",children:[e?.linkTitle&&(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e?.linkTitle}}),(0,r.jsxs)("div",{className:"absolute -bottom-0.5 left-0 h-[1.5px] w-full overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-current opacity-20"}),(0,r.jsx)("span",{className:"absolute left-1/2 top-0 h-[2px] w-0 -translate-x-1/2 transform bg-black opacity-65 transition-all duration-300 group-hover:w-full group-hover:bg-white"})]})]})]})}):e?.message?(0,r.jsx)("div",{className:(0,L.A)("text-13 header-banner-text group pointer-events-none relative z-50 flex w-full py-[0.625rem]",t.join(" ")),children:(0,r.jsx)("div",{className:"container inline-flex items-center justify-between md:justify-center md:space-x-[0.625rem] md:text-center",children:e?.message&&(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e?.message}})})}):null};var P=n(85742),I=n(85229),M=n(24134),O=n(18139),R=n(8338);let D=m().memo(function({isActive:e,activeSubmenu:t,item:n,index:i}){let a=(0,f.useMemo)(()=>(Number(i)+1)*6.7+8,[i]);return(0,r.jsxs)("div",{className:"submenu-transition left-[-50%] z-[5] w-max max-w-[1040px] origin-top-left text-black lg:absolute lg:top-[200%]",style:{transform:`scale(${null!==t?1:.7}) translateX(-${a}%)`},"aria-hidden":!e,children:[e&&(0,r.jsx)(R.P.div,{layoutId:"submenuBg",className:"border-pastel-grey absolute inset-0 z-[6] border bg-white text-black max-lg:border-t-0",style:{borderRadius:12},initial:{opacity:null===t?0:1},animate:{opacity:1,scale:1},transition:{opacity:{duration:.4},layout:{type:"spring",stiffness:150,damping:22}}}),(0,r.jsxs)("div",{className:`z-10 overflow-hidden rounded-xl ${e?"relative":"pointer-events-none invisible absolute left-0 h-0 w-0 opacity-0"}`,children:[n?.submenu?.contentType==="featuredLinkSubmenu"&&(0,r.jsx)(I.A,{platformSubmenu:n?.submenu,isInView:t===i}),n?.submenu?.contentType==="columnsSubmenu"&&(0,r.jsx)(M.A,{solutionsSubmenu:n?.submenu,isInView:t===i}),n?.submenu?.contentType==="featuredMenuSubmenu"&&(0,r.jsx)(O.A,{resourcesSubmenu:n?.submenu,isInView:t===i})]})]})}),B=function({onMenuClick:e,onMenuKeyDown:t,isOtherItemHovered:n,isActive:i,activeSubmenu:a,index:o,item:s}){let l=s?.submenu?.menus?.filter(e=>!0!==e.hideForLocale).length||0;return s?.submenu?.contentType==="columnsSubmenu"&&0===l?null:(0,r.jsxs)("li",{className:"relative",children:[(0,r.jsx)("button",{type:"button",onClick:()=>e(o),"aria-expanded":i,className:`ease border-b transition-all duration-100 ${i?"border-current":"border-transparent hover:border-current"}`,children:(0,r.jsx)("span",{className:"main-menu-item",dangerouslySetInnerHTML:{__html:s?.navItem?.title}}
10)}),i&&a===o&&(0,r.jsx)(R.P.div,{layoutId:"submenuMarker",className:"pointer-events-none absolute inset-x-0 top-[1.845rem] z-[8] mx-auto w-[1.875rem]",children:(0,r.jsx)(w.M$,{})}),(0,r.jsx)(D,{isActive:i,activeSubmenu:a,item:s,index:o})]})};function F({item:e,isOtherItemHovered:t}){return e?.navItem.externalUrl||e?.navItem?.pageLink?(0,r.jsx)("li",{children:(0,r.jsx)(_(),{href:e?.navItem?.externalUrl||e?.navItem?.pageLink||"#",className:"ease border-b border-transparent transition-all duration-100 hover:border-current",children:(0,r.jsx)("span",{className:"main-menu-item",dangerouslySetInnerHTML:{__html:e?.navItem?.title}})})}):null}let H=function({onMenuClick:e,onMenuKeyDown:t,showSubmenu:n,activeSubmenu:i,headerMenu:a}){let[o,s]=(0,f.useState)(null);return(0,r.jsx)("nav",{className:"hidden flex-col lg:flex",children:(0,r.jsx)("ul",{className:"flex lg:space-x-5 xl:space-x-[1.75rem]",children:a?.map((a,s)=>{let l=n&&i===s,c=null!==o&&o!==s;return a?.submenu?r.jsx(B,{onMenuClick:e,onMenuKeyDown:t,isActive:l,isOtherItemHovered:c,activeSubmenu:i,index:s,item:a},s):r.jsx(F,{isOtherItemHovered:c,item:a},s)})})})};var V=n(75955);let $=function({color:e="White",contentType:t}){let n=(0,f.useMemo)(()=>"post"===t||"guide"===t||"ebooksReports"===t||"eventsWebinars"===t||"postTypeNews"===t,[t]);return{color:(0,f.useMemo)(()=>"ebooksReports"===t?"Pastel / Lilac":"integration"===t?"Pastel / Coral":"postTypeNews"===t?"Pastel / Lilac":null,[t])||e,isResourcePage:n}};var U=n(60779);let z=function({showMobileNav:e=!0}){return(0,r.jsx)("div",{className:"relative h-6 w-6",children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 28 28",fill:"none",children:(0,r.jsx)("path",{d:"M1 2H27V4.88889H1V2ZM1 12.1111H27V15H1V12.1111ZM1 22.2222H27V25.1111H1V22.2222Z",fill:"currentColor"})})})};var W=n(5793),G=n(7411),q=n(86297),K=n(13073),Y=n(82638),X=n.n(Y),Z=n(93627);let J=X()(()=>n.e(701).then(n.bind(n,49701)),{loadableGenerated:{webpack:()=>[49701]}});function Q({mainRef:e,contentType:t,headerColour:n,stickyNavInVew:i=!1,data:a,isMarketingHeader:o=!1,isResourceHeader:s=!1}){a?.headerMenu;let[l,c]=(0,f.useState)(!1),[u,d]=(0,f.useState)(null),p=async e=>{c(!0),d(e)},h=()=>{c(!1),d(null)},m=async e=>{l&&u===e?h():p(e)},g=async(e,t)=>{("Enter"===t.key||" "===t.key)&&(l&&u===e?h():p(e))},[y,v]=(0,f.useState)(!1),[b,w]=(0,f.useState)(null),j=async e=>{b===e?w(null):w(e)},C=(0,E.useRouter)();(0,f.useEffect)(()=>{let e=()=>{h(),v(!1),w(null)};return C.events.on("routeChangeStart",e),()=>{C.events.off("routeChangeStart",e)}},[C.events]);let k="White";n&&(k=n);let{color:S,isResourcePage:A}=$({color:k,contentType:t}),T=s||A,L=(0,V.A)(250,40),{t:N}=(0,Z.Bd)(),I=(0,f.useRef)(null),M="Deep / Burgundy"===S;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("header",{className:`sticky inset-x-0 top-0 z-50 h-[3.75rem] w-full border-b transition-all duration-200 will-change-transform ${i?"-translate-y-[105%]":""} ${L?"border-black/5 bg-white/95 backdrop-blur md:h-[3.75rem]":"border-transparent md:h-16 lg:h-20"} ${(0,x.Ay)(L||y?"White":S)}`,children:(0,r.jsx)("div",{className:`container ${T?"container-large container-full":""} h-full`,children:(0,r.jsxs)("div",{className:"flex h-full items-center gap-x-6 lg:gap-x-8 xl:gap-x-12",children:[(0,r.jsxs)("div",{className:"relative w-24 flex-[0_0_110px] cursor-pointer lg:w-[110px]",children:[(0,r.jsx)(_(),{href:"/",className:`transition-colors duration-200 ease-in-out ${L?"text-black":M?"text-coral-primary":""}`,children:(0,r.jsx)(U.A,{})}),(0,r.jsx)(_(),{href:"#main-content",className:"skip-link text-14 absolute top-[120%] rounded-sm bg-white px-2 text-black",onClick:t=>{t.preventDefault(),e&&e.current&&e.current.focus()},children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:N("Skip to content")}})})]}),o?null:(0,r.jsx)(H,{onMenuClick:m,onMenuKeyDown:g,showSubmenu:l,activeSubmenu:u,headerMenu:a?.headerMenu}),(0,r.jsxs)("div",{className:"ml-auto hidden items-center gap-x-4 md:flex xl:gap-x-6",children:[a?.buttons?.length>0&&(0,r.jsx)("div",{className:"flex gap-x-2.5 xl:gap-x-3",children:a?.buttons?.map((e,t)=>0===t?r.jsx(_(),{href:e?.externalUrl||e?.pageLink||"#",target:e?.externalUrl?"_blank":"",onMouseEnter:h,children:r.jsx(P.$,{title:e?.title,type:L||y?"Button Outline â Black":S.includes("Dark")||S.includes("Deep")||S.includes("Shade")?"Button Outline â White":"Button Outline â Black",size:"small"})},t):r.jsx(_(),{href:e?.externalUrl||e?.pageLink||"#",target:e.externalUrl?"_blank":"",onMouseEnter:h,children:r.jsx(P.$,{title:e?.title,type:S.includes("Pastel")||S.includes("Light")?"Button Solid â Deep Grey":(S.includes("Forest")||S.includes("Lilac")||S.includes("Lime")||S.includes("Purple")||S.includes("Pine"))&&!L?"Button Solid â White":"Button Solid â Shade Coral",size:"small"})},t))}),a?.link&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:`h-6 w-px ${L?"bg-black/10":"bg-white/10"}`}),(0,r.jsx)(_(),{href:a?.link?.externalUrl||a?.link?.pageLink||"#",target:a?.link?.externalUrl?"_blank":"",rel:"noopener noreferrer",onMouseEnter:h,className:"whitespace-nowrap border-b border-transparent transition-all duration-100 hover:border-current",children:(0,r.jsx)("div",{className:"main-menu-item",dangerouslySetInnerHTML:{__html:a?.link?.title}}
10)})]})]}),o?null:(0,r.jsx)("div",{className:"ml-auto md:ml-0 lg:hidden",children:(0,r.jsx)("button",{type:"button",ref:I,className:"",onClick:()=>v(!y),"aria-label":`${N(y?"Hide menu":"Show menu")}`,"aria-expanded":y,"aria-controls":"mobile-menu",children:(0,r.jsx)(z,{showMobileNav:y})})})]})})}),(0,r.jsx)(W.F,{features:G.l,children:(0,r.jsx)(q.N,{children:l&&p&&(0,r.jsx)(K.m.button,{initial:{opacity:0},animate:{opacity:.2},exit:{opacity:0},transition:{duration:.2,ease:"easeOut"},type:"button","aria-label":"Close submenu",onClick:h,className:"fixed inset-0 z-[20] hidden cursor-default bg-black lg:block"})})}),(0,r.jsx)(J,{showMobileNav:y,toggleMobileSubmenu:j,activeMobileSubmenu:b,headerMenu:a?.headerMenu,setShowMobileNav:v,deactivateSubmenu:h,buttons:a?.buttons,link:a?.link,isResourcePage:T,toggleRef:I})]})}var ee=n(61699);let et=function({cta:e,colour:t,isPageCTA:n}){let i=[...e?.buttons&&e?.buttons.length>0?e?.buttons?.map(e=>({title:e?.title,slug:e?.externalUrl||e?.pageLink||e.slug,isExternal:e?.externalUrl,type:e?.type})):[]];return(0,r.jsx)("section",{className:(0,L.A)("pb-6 pt-12 md:pb-[2.625rem] md:pt-[9rem]",(0,x.Ay)(t||"Deep / Burgundy")),children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:(0,L.A)("space-y-6 sm:space-y-8",e?.heading?.length>30?"max-w-[42rem]":"max-w-lg"),children:[e?.heading&&(0,r.jsx)("h2",{className:"text-h1 is-large",dangerouslySetInnerHTML:{__html:e?.heading}}
10),e?.content&&(0,r.jsx)("p",{className:"text-18 !mt-3 w-full max-w-xl opacity-80 md:!mt-5",dangerouslySetInnerHTML:{__html:e?.content}}),(0,r.jsx)(ee.A,{buttons:n?e?.buttons:i})]})})})};var en=n(27322);let er=function({data:e}){return(0,r.jsxs)("div",{className:"grid grid-cols-2 gap-x-3 gap-y-8 sm:grid-cols-4 md:col-span-3 md:flex md:justify-between",children:[e?.firstColumn?.length>0&&(0,r.jsx)(ei,{column:e?.firstColumn}),e?.secondColumn?.length>0&&(0,r.jsx)(ei,{column:e?.secondColumn}),e?.thirdColumn?.length>0&&(0,r.jsx)(ei,{column:e?.thirdColumn}),e?.fourthColumn?.length>0&&(0,r.jsx)(ei,{column:e?.fourthColumn})]})};function ei({column:e}){let t=e?.filter(e=>!0!==e.hideForLocale)||[];return t?.length===0?null:(0,r.jsx)("div",{className:"w-full space-y-8 md:max-w-[11.0625rem] md:space-y-[2.875rem]",children:t?.map((e,t)=>r.jsxs("menu",{children:[r.jsx("h2",{className:"footer-heading mb-4 md:mb-6",dangerouslySetInnerHTML:{__html:e?.heading}}),r.jsx("ul",{className:"space-y-2 md:space-y-3",children:e?.menu?.map((e,t)=>r.jsx("li",{children:r.jsx(_(),{href:e?.externalUrl||e?.pageLink||"#",className:"opacity-80 transition hover:opacity-100 focus:opacity-100",children:r.jsx("span",{className:"footer-link",dangerouslySetInnerHTML:{__html:e?.title}})})},t))})]},t))})}let ea=function({colour:e,menu:t}){return(0,r.jsxs)("ul",{children:[t?.heading&&(0,r.jsx)("h2",{className:"footer-heading mb-4 md:mb-6",dangerouslySetInnerHTML:{__html:t?.heading}}),t?.menu?.map((t,n)=>r.jsx("li",{children:r.jsxs(_(),{href:t?.externalUrl||t?.pageLink||"#",target:t?.externalUrl?"_blank":"",className:"group flex items-center justify-between space-x-2 border-b border-white/15 py-3 md:py-4",children:[r.jsx("span",{className:"footer-heading",dangerouslySetInnerHTML:{__html:t?.title}}),r.jsx("div",{className:L.A("h-[0.6125rem] w-[0.6125rem] transition-transform duration-200 group-hover:rotate-[-45deg] group-focus:rotate-[-45deg]",x.K4(e)),children:r.jsx(w.Ay,{})})]})},n))]})},eo=function({colour:e,mainMenu:t,data:n}){return(0,r.jsxs)("div",{className:"grid w-full gap-y-8 pb-16 md:grid-cols-4 md:gap-x-6 md:gap-y-0 md:pb-32",children:[(0,r.jsxs)("menu",{className:"space-y-6 md:col-span-1 md:max-w-[12.25rem] md:space-y-8",children:[(0,r.jsx)(_(),{href:"/","aria-label":"Homepage link",className:(0,L.A)("block w-16 md:w-[4.5rem]",(0,x.K4)(e)),children:(0,r.jsx)(U.T,{})}),(0,r.jsx)(ea,{colour:e,menu:t}),(0,r.jsx)(en.A,{position:"footer",colour:e}),(0,r.jsx)("div",{children:(0,r.jsx)(S,{})})]}),(0,r.jsx)(er,{data:n})]})};var es=n(57637);let el=function({heading:e,form:t}){return(0,r.jsxs)("div",{className:"space-y-4 border-t border-white/10 py-8 md:flex md:items-center md:justify-between md:space-x-10 md:space-y-0 md:py-10",children:[e&&(0,r.jsx)("h3",{className:"text-h7 max-w-[20.75rem]",dangerouslySetInnerHTML:{__html:e}}),(0,r.jsx)("div",{className:"subscribe-form w-full md:max-w-[24.875rem]",children:(0,r.jsx)(es.A,{...t})})]})},ec=function({copyrightMessage:e,legalMenu:t}){return(0,r.jsxs)("div",{className:"border-t border-white/10 pt-6 text-center max-md:space-y-3 md:flex md:items-center md:justify-between md:text-left",children:[(0,r.jsx)("p",{className:"text-14 opacity-60",dangerouslySetInnerHTML:{__html:`\xa9 ${new Date().getFullYear()} ${e}`}}),(0,r.jsx)("menu",{children:(0,r.jsxs)("ul",{className:"sm:flex sm:justify-center sm:space-x-3 md:justify-end md:space-x-6",children:[t?.map(e=>r.jsx("li",{children:r.jsx(_(),{href:e?.externalUrl||e?.pageLink||"#",className:"footer-legal-link",children:r.jsx("span",{dangerouslySetInnerHTML:{__html:e?.title}})})},e?.id)),(0,r.jsx)("li",{suppressHydrationWarning:!0,children:(0,r.jsx)("button",{suppressHydrationWarning:!0,id:"ot-sdk-btn",type:"button",className:"ot-sdk-show-settings",style:{backgroundColor:"inherit",padding:0},children:"Cookies Settings"})},"cookies-settings")]})})]})};function eu({colour:e,data:t}){return(0,r.jsx)("footer",{className:(0,L.A)("pb-16 pt-12 md:pb-32 md:pt-24",(0,x.Ay)(e||"Deep / Burgundy")),children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)(eo,{colour:e,mainMenu:t?.mainMenu,data:t}),t?.signupForm&&(0,r.jsx)(el,{heading:t?.signUpHeading,form:t?.signupForm}),(0,r.jsx)(ec,{copyrightMessage:t?.copyrightMessage,legalMenu:t?.legalMenu})]})})}function ed(){return(0,r.jsx)("svg",{width:"54",height:"16",viewBox:"0 0 83 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M5.15494 0.949829C7.88563 0.949829 9.74519 2.69244 9.74519 4.83577V5.07139H7.90926V4.57694C7.90926 3.5171 7.41504 2.83433 6.1911 2.83433H3.95507C2.91935 2.83433 2.09551 3.68221 2.09551 4.69475V8.03895C2.09551 9.07514 2.91935 9.92301 3.95507 9.92301H6.1911C7.43868 9.92301 7.9329 9.38127 7.9329 8.15676V7.68596H9.76883V7.96844C9.76883 9.89936 7.97974 11.8071 5.15494 11.8071C2.33014 11.8071 0 9.38083 0 6.36641C0 3.35199 2.33058 0.949829 5.15494 0.949829ZM0.706091 21.297L2.54201 21.2734V22.074C2.54201 22.6157 2.91848 22.9924 3.48361 22.9924H7.0145C7.57964 22.9924 7.9561 22.6157 7.9561 22.074V21.8384C7.9561 21.2966 7.69696 21.1319 7.29685 21.0141L2.91848 19.6955C1.85912 19.3657 0.893885 18.6356 0.893885 17.105V17.0577C0.893885 15.3387 2.51794 14.0669 5.22498 14.0669C8.16754 14.0669 9.69747 15.4797 9.69747 17.5053V17.6699H7.86155V16.8926C7.86155 16.3508 7.50829 15.9742 6.91995 15.9742H3.57729C3.01216 15.9742 2.63569 16.3508 2.63569 16.8926V17.2929C2.63569 17.7637 2.8712 17.9756 3.4127 18.1407L7.29685 19.2947C8.77995 19.7423 9.69791 20.4014 9.69791 21.9325C9.69791 23.6283 8.07386 24.8996 5.31954 24.8996C2.23603 24.8996 0.705653 23.3922 0.705653 21.4613V21.2966L0.706091 21.297ZM12.5227 6.36641C12.5227 3.39885 14.8533 0.949829 17.6781 0.949829C20.5029 0.949829 22.833 3.39885 22.833 6.36641C22.833 9.33397 20.5261 11.8066 17.6781 11.8066C14.8301 11.8066 12.5231 9.38083 12.5231 6.36641H12.5227ZM17.6545 14.1142C20.5029 14.1142 22.7862 16.54 22.7862 19.5071C22.7862 20.708 22.2683 21.9798 21.4445 22.9455C21.3972 22.9928 21.3972 23.087 21.4445 23.1338L22.6684 24.4761C22.6921 24.4998 22.6921 24.5466 22.6921 24.5703C22.6921 24.6408 22.6448 24.7118 22.5507 24.7118H17.6545C14.8297 24.7118 12.5227 22.2859 12.5227 19.5071C12.5227 16.54 14.8297 14.1142 17.6545 14.1142ZM16.4305 22.8513H19.0434L17.6313 21.2265L18.7847 20.1903L20.1264 21.6505C20.1969 21.721 20.291 21.7683 20.3856 21.7683C20.5738 21.7683 20.7388 21.6268 20.7388 21.4149V17.835C20.7388 16.7988 19.915 15.951 18.8793 15.951H16.4314C15.3957 15.951 14.5718 16.7988 14.5718 17.835V20.9673C14.5718 22.0035 15.3957 22.8513 16.4314 22.8513H16.4305ZM16.4773 9.92258H18.902C19.9378 9.92258 20.7616 9.0747 20.7616 8.03851V4.69431C20.7616 3.68177 19.9378 2.8339 18.902 2.8339H16.4773C15.4416 2.8339 14.6178 3.68177 14.6178 4.69431V8.03851C14.6178 9.0747 15.4416 9.92258 16.4773 9.92258ZM26.1052 1.1618H27.6588L31.7312 7.19064C31.9194 7.47311 32.1549 7.59092 32.3668 7.59092C32.6491 7.59092 32.8846 7.37895 32.8846 7.00232L32.861 1.1618H34.6028V11.5947H33.0492L28.93 5.51854C28.7654 5.25927 28.5299 5.
101419 28.318 5.1419C28.0357 5.1419 27.8002 5.37752 27.8002 5.73051V11.5947H26.1052V1.1618ZM37.2862 1.1618H47.1964V2.57463H44.1598C43.5478 2.57463 43.1004 3.02221 43.1004 3.63447V11.5942H41.4054V3.63447C41.4054 3.02221 40.9581 2.57463 40.3461 2.57463H37.2858V1.1618H37.2862ZM50.1622 1.1618H57.5536V2.57463H52.8929C52.2809 2.57463 51.8335 3.02221 51.8335 3.63447V4.4587C51.8335 5.07095 52.2809 5.51854 52.8929 5.51854H56.918V6.83721H51.8572V10.1814H57.8127V11.5942H50.1626V1.1618H50.1622ZM50.1622 14.2793H55.223C57.0121 14.2793 58.1419 15.598 58.1419 17.0581C58.1419 18.047 57.6241 18.6597 57.2708 18.989C57.1062 19.1537 57.0117 19.2715 57.0117 19.413C57.0117 19.5308 57.1058 19.6722 57.2472 19.7896C57.7178 20.1663 57.9533 20.6138 57.9533 21.3203V24.7113H56.2351L56.2587 21.273C56.2587 20.7076 55.8823 20.3309 55.3171 20.3309H52.7747C52.2332 20.3309 51.8567 20.7076 51.8567 21.273V24.7113H50.1618V14.2784L50.1622 14.2793ZM52.8224 19.0127H54.3523C55.4353 19.0127 56.2824 18.4946 56.2824 17.2937C56.2824 16.1634 55.4349 15.6921 54.3523 15.6921H52.8224C52.2809 15.6921 51.8572 16.1161 51.8572 16.681V18.0234C51.8572 18.5651 52.2809 19.0123 52.8224 19.0123V19.0127ZM61.8851 1.1618H63.4387L67.5111 7.19064C67.6993 7.47311 67.9348 7.59092 68.1467 7.59092C68.4291 7.59092 68.6646 7.37895 68.6646 7.00232L68.6409 1.1618H70.3827V11.5947H68.8292L64.7099 5.51854C64.5453 5.25927 64.3098 5.1419 64.098 5.1419C63.8156 5.1419 63.5801 5.37752 63.5801 5.73051V11.5947H61.8851V1.1618ZM72.9957 1.1618H83V2.57463H79.8692C79.2572 2.57463 78.8099 3.02221 78.8099 3.63447V11.5942H77.1149V3.63447C77.1149 3.02221 76.6675 2.57463 76.0555 2.57463H72.9952V1.1618H72.9957ZM61.8851 14.2793H69.2765V15.6921H64.6158C64.0038 15.6921 63.5565 16.1397 63.5565 16.752V17.5762C63.5565 18.1885 64.0038 18.6361 64.6158 18.6361H68.6409V19.9547H63.5801V23.2989H69.5357V24.7118H61.8856V14.2789L61.8851 14.2793ZM43.1004 14.2793H41.4527L37.1453 24.7113H38.9343L40.0169 22.074H44.5362L45.6188 24.7113H47.4079L43.1004 14.2793ZM40.5584 20.7553L41.7587 17.6467C41.9942 17.0581 42.5589 17.0581 42.7944 17.6467L43.9947 20.7553H40.5584ZM26.1052 14.2793H27.7997V21.3676C27.7997 22.5216 28.7413 22.9924 29.4943 22.9924H31.0478C32.0131 22.9924 32.9074 22.4743 32.9074 21.3676V14.2793H34.6019V21.0851C34.6019 23.1811 32.9542 24.8764 30.3418 24.8764C27.7293 24.8764 26.1048 23.1811 26.1048 21.0851V14.2793H26.1052Z",fill:"#7C0033"})})}function ep(){return(0,r.jsxs)("svg",{width:"41",height:"16",viewBox:"0 0 41 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_9489_7131)",children:(0,r.jsxs)("g",{clipPath:"url(#clip1_9489_7131)",children:[(0,r.jsx)("path",{d:"M1.87156 3.47318H0V12.5897H1.87156V3.47318Z",fill:"black"}),(0,r.jsx)("path",{d:"M5.926 0H4.05444V6.94574H5.926V0Z",fill:"black"}),(0,r.jsx)("path",{d:"M5.926 9.08954H4.05444V16.0353H5.926V9.08954Z",fill:"#31D891"}),(0,r.jsx)("path",{d:"M9.98032 3.44614H8.10876V12.5627H9.98032V3.44614Z",fill:"#31D891"}),(0,r.jsx)("path",{d:"M27.7449 10.8262C27.6585 11.0989 27.5291 11.3562 27.3615 11.5885C27.1928 11.8249 26.9878 12.0333 26.7538 12.2061C26.5078 12.386 26.2351 12.5268 25.9455 12.6234C25.6246 12.7294 25.2882 12.7816 24.95 12.7778C24.5432 12.7791 24.1397 12.705 23.7602 12.5593C23.3848 12.4165 23.0433 12.1976 22.7577 11.9164C22.4616 11.6205 22.2298 11.2674 22.0765 10.8789C21.9008 10.4326 21.814 9.95665 21.8209 9.47744C21.8146 9.02207 21.8982 8.56988 22.0669 8.14649C22.2189 7.76649 22.4403 7.41776 22.72 7.11794C22.989 6.83282 23.3136 6.60519 23.674 6.44897C24.0282 6.29237 24.4115 6.21142 24.7992 6.21136C25.2357 6.2043 25.6691 6.28512 26.0733 6.44897C26.4321 6.59657 26.7526 6.82313 27.0107 7.11159C27.2694 7.41051 27.465 7.75814 27.5858 8.13378C27.7234 8.55941 27.7909 9.00435 27.7858 9.4514C27.7858 9.5289 27.7858 9.60196 27.7794 9.66994C27.7765 9.72597 27.77 9.78177 27.7602 9.83702H23.0765C23.0815 10.0984 23.1341 10.3567 23.2318 10.5994C23.3214 10.823 23.4555 11.0264 23.626 11.1972C23.7956 11.365 23.9981 11.4963 24.2209 11.5828C24.4539 11.673 24.702 11.718 24.9519 11.7156C25.4605 11.7156 25.8484 11.5957 26.1155 11.356C26.3836 11.1146 26.5842 10.8081 26.6976 10.4666L27.7449 10.8262ZM26.5168 8.85676C26.5107 8.43895 26.3494 8.03815 26.0637 7.73164C25.7792 7.42796 25.3611 7.27592 24.8094 7.27549C24.5718 7.2714 24.336 7.31729 24.1174 7.41017C23.9228 7.495 23.7471 7.61745 23.6005 7.77039C23.4585 7.91953 23.3427 8.09134 23.258 8.27863C23.1732 8.46032 23.1248 8.65668 23.1155 8.85676H26.5168Z",fill:"#2F3335"}),(0,r.jsx)("path",{d:"M19.637 12.5891V8.53907H15.4422V12.5897H14.1744V3.47255H15.4422V7.36885H19.637V3.47255H20.9041V12.5891H19.637Z",fill:"black"}),(0,r.jsx)("path",{d:"M27.7326 10.8263C27.3842 11.9195 26.3896 12.781 24.9449 12.781C23.2798 12.781 21.8206 11.5724 21.8206 9.47606C21.8206 7.53402 23.2277 6.20909 24.7898 6.20909C26.7009 6.20909 27.7723 7.52075 27.7723 9.45045C27.7729 9.57946 27.7643 9.70835 27.7466 9.83614H23.0713C23.097 10.942 23.8977 11.7152 24.9431 11.7152C25.95 11.7152 26.4537 11.1623 26.686 10.4674L27.7326 10.8263ZM26.5051 8.85864C26.4794 7.97124 25.8986 7.277 24.8015 7.277C23.7818 7.277 23.1621 8.06134 23.11 8.85864H26.5051Z",fill:"black"}),(0,r.jsx)("path",{d:"M30.2564 9.05149L31.9346 8.80742C32.3094 8.75558 32.4126 8.56274 32.4126 8.34459C32.4126 7.74044 32.0124 7.23873 31.0701 7.23873C30.218 7.23873 29.7401 7.76605 29.6623 8.48653L28.5008 8.21623C28.6297 7.03293 29.7014 6.21063 31.0441 6.21063C32.9026 6.21063 33.6261 7.26527 33.6261 8.47418V11.5724C33.6221 11.9126 33.6479 12.2524 33.7032 12.5881H32.516C32.4685 12.312 32.4468 12.0321 32.4513 11.752C32.1802 12.1898 31.5604 12.781 30.4503 12.781C29.185 12.781 28.3713 11.9065 28.3713 10.9297C28.3713 9.82318 29.185 9.20576 30.2564 9.05149ZM32.4126 9.93889V9.65625L30.5144 9.93889C29.9981 10.0163 29.6109 10.3116 29.6109 10.8646C29.6109 11.3274 29.9981 11.7646 30.6179 11.7646C31.6119 11.7652 32.4126 11.2891 32.4126 9.93889Z",fill:"black"}),(0,r.jsx)("path",{d:"M34.7731 15.0319V6.40191H35.9479V7.36676C36.2837 6.74965 37.0196 6.26059 38.0266 6.26059C39.8851 6.26059 40.88 7.68827 40.88 9.48868C40.88 11.328 39.8079 12.7553 37.9879 12.7553C37.0323 12.7553 36.3097 12.3055 35.9746 11.7519V15.0319H34.7731ZM37.807 7.32819C36.6969 7.32819 35.9609 8.25385 35.9609 9.48806C35.9609 10.7612 36.6969 11.6745 37.807 11.6745C38.9304 11.6745 39.6404 10.7612 39.6404 9.48806C39.6404 8.25385 38.9434 7.32819 37.807 7.32819Z",fill:"black"})]})}),(0,r.jsxs)("defs",{children:[(0,r.jsx)("clipPath",{id:"clip0_9489_7131",children:(0,r.jsx)("rect",{width:"41",height:"16",fill:"white"})}),(0,r.jsx)("clipPath",{id:"clip1_9489_7131",children:(0,r.jsx)("rect",{width:"41.7641",height:"16",fill:"white"})})]})]})}function eh(){return(0,r.jsxs)("svg",{width:"46",height:"16",viewBox:"0 0 46 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_9472_5816)",children:[(0,r.jsx)("path",{d:"M12.0358 12.6193V3.62428H13.4336V7.17049C13.8736 6.51492 14.5337 6.18705 15.4137 6.18689C16.1644 6.18689 16.7446 6.40907 17.1545 6.85342C17.5643 7.29778 17.7692 7.91684 17.7692 8.71062V12.6193H16.3715V8.90483C16.3715 7.87819 15.9142 7.36481 14.9996 7.36471C14.5422 7.36471 14.1668 7.50277 13.8736 7.77889C13.5804 8.055 13.4337 8.44326 13.4336 8.94365V12.6194L12.0358 12.6193Z",fill:"#323232"}),(0,r.jsx)("path",{d:"M24.3736 11.8427C23.7524 12.4639 22.9716 12.7746 22.0311 12.7746C21.0906 12.7746 20.3076 12.4639 19.682 11.8427C19.0564 11.2215 18.7435 10.432 18.7435 9.47424C18.7435 8.51643 19.0563 7.72911 19.6818 7.11227C20.3074 6.49553 21.0904 6.18708 22.0309 6.1869C22.9714 6.18674 23.7523 6.49519 24.3734 7.11227C24.9947 7.72928 25.3054 8.5166 25.3054 9.47424C25.3053 10.4318 24.9947 11.2214 24.3736 11.8427ZM20.7045 11.0534C21.0366 11.4417 21.4788 11.6358 22.0311 11.6357C22.5835 11.6357 23.0257 11.4416 23.3577 11.0534C23.6897 10.6651 23.8558 10.1388 23.856 9.47439C23.856 8.81876 23.6877 8.2968 23.3512 7.90842C23.0148 7.52004 22.5747 7.32588 22.0311 7.32596C21.4789 7.32596 21.0367 7.51793 20.7045 7.9019C20.3724 8.28586 20.2063 8.81002 20.2062 9.47439C20.2062 10.1389 20.3723 10.6652 20.7045 11.0534Z",fill:"#323232"}),(0,r.jsx)("path",{d:"M28.541 12.7745C27.2553 12.7745 26.6125 12.0843 26.6126 10.7037V7.5197H25.642V6.34183H26.6514L26.975 4.4911H28.0233V6.34183H30.5212V7.5197H28.0233V10.6647C28.0233 11.2428 28.2347 11.5319 28.6574 11.5319C29.0542 11.5319 29.4123 11.1695 29.7316 10.4447L30.8188 11.0013C30.2837 12.1836 29.5245 12.7746 28.541 12.7745Z",fill:"#323232"}),(0,r.jsx)("path",{d:"M31.2679 15.4924C30.6467 15.4924 30.1333 15.3199 29.7278 14.9747L30.2456 13.8747C30.4958 14.1678 30.7676 14.3145 31.0609 14.3145C31.4491 14.3145 31.6432 14.0643 31.6432 13.5639V6.34219H33.041V13.5899C33.041 14.263 32.8749 14.7483 32.5427 15.0458C32.2106 15.3434 31.7856 15.4922 31.2679 15.4924ZM32.3421 5.28084C32.1123 5.28864 31.8889 5.20485 31.7209 5.0479C31.6401 4.97174 31.5764 4.87929 31.534 4.77666C31.4917 4.67403 31.4715 4.56357 31.4751 4.45259C31.472 4.3407 31.4922 4.22939 31.5346 4.12576C31.5769 4.02214 31.6404 3.92848 31.7209 3.85076C31.8899 3.69673 32.1103 3.61134 32.3389 3.61134C32.5675 3.61134 32.7879 3.69673 32.9569 3.85076C33.0392 3.92751 33.1042 4.02084 33.1477 4.12459C33.1912 4.22833 33.2122 4.34013 33.2093 4.45259C33.2113 4.56302 33.1899 4.67261 33.1464 4.77413C33.1029 4.87564 33.0383 4.96675 32.9569 5.04143C32.8753 5.11984 32.7789 5.18135 32.6734 5.22245C32.568 5.26354 32.4554 5.2834 32.3422 5.28089L32.3421 5.28084Z",fill:"#323232"}),(0,r.jsx)("path",{d:"M36.512 12.7746C35.7957 12.7746 35.2155 12.5956 34.7713 12.2375C34.3271 11.8794 34.1049 11.3984 34.1047 10.7944C34.1047 10.2423 34.3356 9.77426 34.7973 9.39018C35.259 9.00611 35.8392 8.81412 36.538 8.81422C37.2542 8.81422 37.8581 9.04291 38.35 9.50023V8.73658C38.35 8.28808 38.2356 7.9408 38.007 7.69474C37.7783 7.448
1069 37.4526 7.32568 37.0299 7.32571C36.1757 7.32571 35.6451 7.76144 35.4379 8.6329L34.1566 8.36108C34.3291 7.68812 34.6699 7.1575 35.1791 6.76923C35.6884 6.38095 36.3225 6.18681 37.0816 6.18681C37.9099 6.18681 38.5636 6.40468 39.0424 6.84041C39.5212 7.27613 39.7607 7.91246 39.7607 8.74937V12.6192H38.4017V11.8298C37.9442 12.4597 37.3143 12.7747 36.512 12.7746ZM36.7709 11.7392C37.3921 11.7392 37.9184 11.4286 38.3498 10.8074V10.6132C37.9184 10.0955 37.3921 9.83669 36.7709 9.83674C36.4085 9.83674 36.1151 9.9252 35.8908 10.1021C35.7846 10.1803 35.6987 10.2828 35.6401 10.401C35.5816 10.5192 35.5521 10.6496 35.5542 10.7815C35.5508 10.9148 35.5789 11.0469 35.6363 11.1673C35.6936 11.2877 35.7786 11.3928 35.8843 11.474C36.1044 11.651 36.3999 11.7393 36.7709 11.7392Z",fill:"#323232"}),(0,r.jsx)("path",{d:"M41.1207 12.6192V6.34217H42.4796V7.42905C42.8247 6.63537 43.4201 6.23849 44.2658 6.23839C44.766 6.23839 45.1801 6.40233 45.5082 6.73021C45.8363 7.0581 46.0002 7.49812 46 8.05029C45.9965 8.38077 45.9397 8.70853 45.8317 9.02088L44.5504 8.89152C44.5767 8.72001 44.594 8.54721 44.6022 8.37387C44.6022 7.72681 44.3347 7.40327 43.7998 7.40327C43.4374 7.40327 43.1333 7.59525 42.8873 7.97921C42.6415 8.36317 42.5185 8.87009 42.5183 9.49998V12.6191L41.1207 12.6192Z",fill:"#323232"}),(0,r.jsx)("path",{d:"M3.30708 7.30263C4.34846 6.72396 5.77521 5.93144 5.77521 3.62428H4.04798C4.04798 4.91509 3.41956 5.2642 2.46837 5.79268C1.42699 6.3713 0.000244141 7.16382 0.000244141 9.47098H1.72762C1.72762 8.18017 2.35589 7.83111 3.30708 7.30263Z",fill:"#FF3C00"}),(0,r.jsx)("path",{d:"M6.29649 6.77254C6.29649 8.06334 5.66811 8.41241 4.7169 8.94087C3.67552 9.51956 2.24878 10.3121 2.24878 12.6193H3.97616C3.97616 11.3284 4.60457 10.9793 5.55579 10.4508C6.59716 9.87219 8.02387 9.07968 8.02387 6.77254H6.29649Z",fill:"#FF3C00"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_9472_5816",children:(0,r.jsx)("rect",{width:"46",height:"11.96",fill:"white",transform:"translate(0 3.61142)"})})})]})}var ef=n(20326),em=n.n(ef);function eg(){return(0,r.jsx)("div",{className:`${em()["brand-banner"]} pb-2 pt-2`,children:(0,r.jsxs)("div",{className:"container flex gap-6 md:gap-4",children:[(0,r.jsx)(_(),{href:"/","aria-label":"go to Contentsquare",className:"border-r border-[#8D97A0] pr-6 md:pr-4",children:(0,r.jsx)(ed,{})}),(0,r.jsx)(_(),{href:"https://www.heap.io/","aria-label":"go to Heap",target:"_blank",className:"",children:(0,r.jsx)(ep,{})}),(0,r.jsx)(_(),{href:"https://www.hotjar.com/","aria-label":"go to Hotjar",target:"_blank",className:"",children:(0,r.jsx)(eh,{})})]})})}var ey=n(46184),ev=n(49604);function eb(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 1000",width:"100%",height:"100%",role:"img","aria-hidden":"true",children:[(0,r.jsx)("circle",{cx:"500",cy:"500",r:"500",fill:"#FF492C"}),(0,r.jsx)("path",{fill:"#fff",d:"M716.4 383H631c2.3-13.4 10.6-20.9 27.4-29.4l15.7-8c28.1-14.4 43.1-30.7 43.1-57.3 0-16.7-6.5-29.9-19.4-39.4s-28.1-14.2-45.9-14.2a70.8 70.8 0 00-38.9 11.1c-11.7 7.2-20.4 16.5-25.8 28.1l24.7 24.8c9.6-19.4 23.5-28.9 41.8-28.9 15.5 0 25 8 25 19.1 0 9.3-4.6 17-22.4 26l-10.1 4.9c-21.9 11.1-37.1 23.8-45.9 38.2s-13.1 32.5-13.1 54.4v6h129.2zM705 459.2H563.6l-70.7 122.4h141.4L705 704.1l70.7-122.5L705 459.2z"}),(0,r.jsx)("path",{fill:"#fff",d:"M505.1 663.3c-90 0-163.3-73.3-163.3-163.3s73.3-163.3 163.3-163.3L561 219.8a286.4 286.4 0 00-55.9-5.5c-157.8 0-285.7 127.9-285.7 285.7s127.9 285.7 285.7 285.7a283.9 283.9 0 00168.2-54.8l-61.8-107.2a162.8 162.8 0 01-106.4 39.6z"})]})}function ex({text:e,type:t,desktopLayout:n,mobileLayout:i,buttons:a,backgroundColor:o,trigger:s=300}){let[l,c]=(0,f.useState)(0===s),[u,d]=(0,f.useState)(!0),{t:p}=(0,Z.Bd)(),{width:h}=(0,ev.A)(),m=h<640;(0,f.useEffect)(()=>{if(0===s){c(!0);return}return window.addEventListener("scroll",g),()=>window.removeEventListener("scroll",g)},[]);let g=()=>{let{scrollY:e}=window;e>s&&(c(!0),window.removeEventListener("scroll",g))};return"G2 Review"===t?u?(0,r.jsxs)("div",{className:"fixed bottom-4 right-4 z-50 flex items-center gap-2 rounded-full bg-gray-100 py-2 pl-2 pr-3 shadow-[0_4px_16px_rgba(0,0,0,0.12)] transition hover:bg-gray-200",children:[(0,r.jsxs)("a",{href:"https://www.g2.com/products/contentsquare/reviews/start?return_to=https%3A%2F%2Fwww.g2.com%2Fproducts%2Fcontentsquare%2Ftake_survey%3Futm_source%3Dreview-widget",target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-3 text-sm font-medium text-gray-700",children:[(0,r.jsx)("span",{className:"h-10 w-10",children:(0,r.jsx)(eb,{})}),e]}),(0,r.jsx)("button",{type:"button",className:"flex h-10 w-10 flex-shrink-0 items-center justify-center rounded-full text-gray-500 transition-colors duration-200 hover:bg-gray-300 hover:text-gray-900",onClick:()=>d(!1),"aria-label":`${p("Hide menu")}`,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{d:"M19.996 1.75705L18.239 3.05176e-05L11.39 6.84906C10.6173 7.62172 9.36483 7.62172 8.59218 6.84906L1.76689 0.0247634L0.00986765 1.78179L6.83416 8.60608C7.60682 9.37874 7.60682 10.6312 6.83416 11.4039L0.00195312 18.2371L1.75898 19.9941L8.59119 13.1619C9.36384 12.3892 10.6163 12.3892 11.389 13.1619L18.2271 20L19.9841 18.243L13.146 11.4049C12.3733 10.6322 12.3733 9.37973 13.146 8.60707L19.996 1.75705Z",fill:"currentColor"})})})]}):null:(0,r.jsx)("div",{className:(0,L.A)("max-w-screen fixed inset-x-0 bottom-0 z-50 flex max-w-full transition duration-500 ease-in-out","",m&&"Floating, Left"===i?"justify-start":"",m&&"Floating, Center"===i?"justify-center":"",m&&"Floating, Right"===i?"justify-end":"","",m?"":"Floating, Left"===n?"justify-start":"",m?"":"Floating, Center"===n?"justify-center":"",m?"":"Floating, Right"===n?"justify-end":""),style:{transform:l&&u?"translateY(0)":"translateY(150%)"},children:(0,r.jsxs)("div",{className:(0,L.A)("relative transition duration-500 ease-in-out",(0,x.Ay)(o?.name||"White"),m&&"Full width"===i?"w-full":"",m&&"Floating, Left"===i?"mx-4 mb-4 max-w-md rounded-lg":"",m&&"Floating, Center"===i?"mx-4 mb-4 max-w-md rounded-lg":"",m&&"Floating, Right"===i?"mx-4 mb-4 max-w-md rounded-lg":"",m?"":"Full width"===n?"w-full":"",m?"":"Floating, Left"===n?"mx-4 mb-4 max-w-md rounded-lg":"",m?"":"Floating, Center"===n?"mx-4 mb-4 max-w-md rounded-lg":"",m?"":"Floating, Right"===n?"mx-4 mb-4 max-w-md rounded-lg":""),style:{boxShadow:u?"0px 0px 8px rgba(0, 0, 0, 0.12)":"none"},children:[(0,r.jsx)("button",{type:"button",className:"absolute right-2 top-2 h-4 w-4",onClick:()=>d(!1),"aria-label":`${p("Hide menu")}`,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{d:"M19.996 1.75705L18.239 3.05176e-05L11.39 6.84906C10.6173 7.62172 9.36483 7.62172 8.59218 6.84906L1.76689 0.0247634L0.00986765 1.78179L6.83416 8.60608C7.60682 9.37874 7.60682 10.6312 6.83416 11.4039L0.00195312 18.2371L1.75898 19.9941L8.59119 13.1619C9.36384 12.3892 10.6163 12.3892 11.389 13.1619L18.2271 20L19.9841 18.243L13.146 11.4049C12.3733 10.6322 12.3733 9.37973 13.146 8.60707L19.996 1.75705Z",fill:"currentColor"})})}),(0,r.jsxs)("div",{className:(0,L.A)("container flex flex-wrap justify-between gap-y-4 pb-4 pt-4",m&&"Full width"===i?"items-center":"",m&&"Floating, Left"===i?"flex-col px-6":"",m&&"Floating, Center"===i?"flex-col px-6":"",m&&"Floating, Right"===i?"flex-col px-6":"",m?"":"Full width"===n?"items-center":"",m?"":"Floating, Left"===n?"flex-col px-6":"",m?"":"Floating, Center"===n?"flex-col px-6":"",m?"":"Floating, Right"===n?"flex-col px-6":"",e?"":"justify-end",0===a.length?"justify-end":""),children:[e&&(0,r.jsx)("div",{className:(0,L.A)("flex-1 px-2",m&&"Floating, Center"===i?"text-center":"",m?"":"Floating, Center"===n?"text-center":""),children:e}),a&&a.length>0&&(0,r.jsx)("div",{className:(0,L.A)("flex w-full flex-shrink-0 flex-wrap items-center gap-4 space-x-3 pr-4 sm:w-auto",m&&"Floating, Center"===i?"justify-center":"",m?"":"Floating, Center"===n?"justify-center":""),children:a.map(e=>(0,r.jsx)(ey.A,{...e}
10,e?.id))})]})]})})}var ew=n(37581),ej=n(13112);async function eC({locale:e="en"}){let t=`globalOptions:${e}`;try{let n=await (0,ej.X4)(t);if(n)return n;let r=await (0,ew._3)({contentType:"globalOptions",locale:e,options:{include:6}});if(r.length>0){let e=r[0];return await (0,ej.xn)(t,e,{entryId:e?.sys?.id,ttlSeconds:3600}),e}return console.warn("No globalOptions entry found in Contentful"),null}catch(e){return console.error("Error fetching globalData:",e),null}}var eE=n(23804),ek=n(25083),eS=n.n(ek),eA=n(99214),eT=n.n(eA),e_=n(76424),eL=n(65606),eN=()=>{window.va||(window.va=function(...e){window.vaq||(window.vaq=[]),window.vaq.push(e)})};function eP(){return"undefined"!=typeof window}function eI(){return"production"}function eM(){return"development"===((eP()?window.vam:eI())||"production")}function eO(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function eR(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function eD(e){return(0,f.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.va)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]),(0,f.useEffect)(()=>{!function(e={debug:!0},t){var n;if(!eP())return;let{beforeSend:r,src:i,dataset:a}=function(e,t){var n,r;let i=e;if(t)try{i={...null==(n=JSON.parse(t))?void 0:n.analytics,...e}}catch{}!function(e="auto"){if("auto"===e){window.vam=eI();return}window.vam=e}(i.mode);let a={sdkn:"@vercel/analytics"+(i.framework?`/${i.framework}`:""),sdkv:"2.0.0"};return i.disableAutoTrack&&(a.disableAutoTrack="1"),i.viewEndpoint&&(a.viewEndpoint=eR(i.viewEndpoint)),i.eventEndpoint&&(a.eventEndpoint=eR(i.eventEndpoint)),i.sessionEndpoint&&(a.sessionEndpoint=eR(i.sessionEndpoint)),eM()&&!1===i.debug&&(a.debug="false"),i.dsn&&(a.dsn=i.dsn),i.endpoint?a.endpoint=i.endpoint:i.basePath&&(a.endpoint=eR(`${i.basePath}/insights`)),{beforeSend:i.beforeSend,src:(r=i).scriptSrc?eR(r.scriptSrc):eM()?"https://va.vercel-scripts.com/v1/script.debug.js":r.basePath?eR(`${r.basePath}/insights/script.js`):"/_vercel/insights/script.js",dataset:a}}(e,t);if(eN(),r&&(null==(n=window.va)||n.call(window,"beforeSend",r)),document.head.querySelector(`script[src*="${i}"]`))return;let o=document.createElement("script");for(let[e,t]of(o.src=i,Object.entries(a)))o.dataset[e]=t;o.defer=!0,o.onerror=()=>{let e=eM()?"Please check if any ad blockers are enabled and try again.":"Be sure to enable Web Analytics for your project and deploy again. See https://vercel.com/docs/analytics/quickstart for more information.";console.log(`[Vercel Web Analytics] Failed to load script from ${i}. ${e}`)},document.head.appendChild(o)}({framework:e.framework||"react",basePath:e.basePath??function(){if(void 0!==eL&&void 0!==eL.env)return eL.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...void 0!==e.route&&{disableAutoTrack:!0},...e},e.configString??function(){if(void 0!==eL&&void 0!==eL.env)return eL.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}())},[]),(0,f.useEffect)(()=>{e.route&&e.path&&function({route:e,path:t}){var n;null==(n=window.va)||n.call(window,"pageview",{route:e,path:t})}({route:e.route,path:e.path})},[e.route,e.path]),null}var eB=()=>{let e=(0,e_.useParams)(),t=(0,e_.useSearchParams)(),n=(0,e_.usePathname)();return e?{route:function(e,t){if(!e||!t)return e;let n=e;try{let e=Object.entries(t);for(let[t,r]of e)if(!Array.isArray(r)){let e=eO(r);e.test(n)&&(n=n.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=eO(r.join("/"));e.test(n)&&(n=n.replace(e,`/[...${t}]`))}return n}catch{return e}}(n,Object.keys(e).length?e:Object.fromEntries(t.entries())),path:n}:{route:null,path:n}};function eF(e){let{route:t,path:n}=eB();return f.createElement(eD,{path:n,route:t,...e,basePath:function(){if(void 0!==eL&&void 0!==eL.env)return eL.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
10(),configString:function(){if(void 0!==eL&&void 0!==eL.env)return'{"analytics":{"scriptSrc":"ee53130faf366ae4/script.js","viewEndpoint":"ee53130faf366ae4/view","eventEndpoint":"ee53130faf366ae4/event","sessionEndpoint":"ee53130faf366ae4/session"},"speedInsights":{"scriptSrc":"e27f02888427668e/script.js","endpoint":"e27f02888427668e/vitals"}}'}(),framework:"next"})}function eH(e){return f.createElement(f.Suspense,{fallback:null},f.createElement(eF,{...e}))}var eV=n(65606),e$=()=>{window.si||(window.si=function(...e){window.siq=window.siq||[],window.siq.push(e)})};function eU(){return false}function ez(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function eW(e){return e.startsWith("http://")||e.startsWith("https://")||e.startsWith("/")?e:`/${e}`}function eG(e){(0,f.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let t=(0,f.useRef)(null);return(0,f.useEffect)(()=>{if(!t.current){let n=function(e={},t){var n;if(!("undefined"!=typeof window)||null===e.route)return null;e$();let{beforeSend:r,src:i,dataset:a}=function(e,t){var n,r;let i=e;if(t)try{i={...null==(n=JSON.parse(t))?void 0:n.speedInsights,...e}}catch{}let a={sdkn:"@vercel/speed-insights"+(i.framework?`/${i.framework}`:""),sdkv:"2.0.0"};return i.sampleRate&&(a.sampleRate=i.sampleRate.toString()),i.route&&(a.route=i.route),i.dsn&&(a.dsn=i.dsn),i.endpoint?a.endpoint=eW(i.endpoint):i.basePath&&(a.endpoint=eW(`${i.basePath}/speed-insights/vitals`)),{src:(r=i).scriptSrc?eW(r.scriptSrc):r.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":r.basePath?eW(`${r.basePath}/speed-insights/script.js`):"/_vercel/speed-insights/script.js",beforeSend:i.beforeSend,dataset:a}}(e,t);if(document.head.querySelector(`script[src*="${i}"]`))return null;r&&(null==(n=window.si)||n.call(window,"beforeSend",r));let o=document.createElement("script");for(let[e,t]of(o.src=i,o.defer=!0,Object.entries(a)))o.dataset[e]=t;return o.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${i}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(o),{setRoute:e=>{o.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==eV&&void 0!==eV.env)return eV.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e},e.configString??function(){if(void 0!==eV&&void 0!==eV.env)return eV.env.REACT_APP_VERCEL_OBSERVABILITY_CLIENT_CONFIG}());n&&(t.current=n.setRoute)}},[e]),(0,f.useEffect)(()=>{t.current&&e.route&&t.current(e.route)},[e.route]),null}var eq=()=>{let e=(0,e_.useParams)(),t=(0,e_.useSearchParams)()||new URLSearchParams,n=(0,e_.usePathname)();return e?function(e,t){if(!e||!t)return e;let n=e;try{let e=Object.entries(t);for(let[t,r]of e)if(!Array.isArray(r)){let e=ez(r);e.test(n)&&(n=n.replace(e,`/[${t}]`))}for(let[t,r]of e)if(Array.isArray(r)){let e=ez(r.join("/"));e.test(n)&&(n=n.replace(e,`/[...${t}]`))}return n}catch{return e}}(n,Object.keys(e).length?e:Object.fromEntries(t.entries())):null};function eK(e){let t=eq();return f.createElement(eG,{route:t,...e,framework:"next",basePath:function(){if(void 0!==eV&&void 0!==eV.env)return eV.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}
10(),configString:function(){if(void 0!==eV&&void 0!==eV.env)return'{"analytics":{"scriptSrc":"ee53130faf366ae4/script.js","viewEndpoint":"ee53130faf366ae4/view","eventEndpoint":"ee53130faf366ae4/event","sessionEndpoint":"ee53130faf366ae4/session"},"speedInsights":{"scriptSrc":"e27f02888427668e/script.js","endpoint":"e27f02888427668e/vitals"}}'}()})}function eY(e){return f.createElement(f.Suspense,{fallback:null},f.createElement(eK,{...e}))}var eX=n(65606);let eZ=X()(()=>n.e(861).then(n.bind(n,64861)),{loadableGenerated:{webpack:()=>[64861]},ssr:!1}),eJ=X()(()=>n.e(571).then(n.bind(n,51571)),{loadableGenerated:{webpack:()=>[51571]},ssr:!1}),eQ=(0,f.createContext)(void 0),e0=(0,f.createContext)({openChat:()=>{}}),e1=()=>(0,f.useContext)(e0),e2=(0,f.createContext)({}),e3=()=>(0,f.useContext)(e2);function e5({children:e,value:t}){return(0,r.jsx)(e2.Provider,{value:t,children:e})}function e4({Component:e,pageProps:t,globalData:n}){var i;let o=(0,f.useRef)(null),l=t?.page?.slug==="404"?"404":"standard";window&&(window.pageType=l),function(){let e=(0,E.useRouter)();(0,f.useEffect)(()=>{if(!e?.events)return;let t=()=>{let e=function(){if("undefined"==typeof document)return{};for(let e of document.cookie.split(";")){let[t,...n]=e.trim().split("=");if("cs_ab"===t){let e=n.join("=");if(!e)return{};try{let t=JSON.parse(e);if(t&&"object"==typeof t){let e={};for(let[n,r]of Object.entries(t))("control"===r||"variant"===r)&&(e[n]=r);return e}}catch{}break}}return{}}();for(let t of u){let n=e[t.id];if(n){let e=t.id;window._uxa=window._uxa||[],window._uxa.push(["trackDynamicVariable",{key:e,value:n}])}}};return t(),e.events.on("routeChangeComplete",t),()=>{e.events.off("routeChangeComplete",t)}},[e.events])}();let d=t?.page?.contentType,p=t?.page?.sections?t?.page?.sections[0]?.backgroundColor?.name:"White",[h,m]=(0,f.useState)(!1),[g,y]=(0,f.useState)(!1),[v,w]=(0,f.useState)(""),j=(0,E.useRouter)(),C=j?.asPath,k=j?.locale;(0,f.useEffect)(()=>{!0===h&&m(!1)},[C]),(0,f.useEffect)(()=>{if(window.OneTrust&&"function"==typeof window.OneTrust.IsAlertBoxClosedAndValid&&!window.OneTrust.IsAlertBoxClosedAndValid()){let e=t?._nextI18Next?.initialLocale||void 0;["en","fr-fr","de-de","it-it","es-es","ja"].includes(e)&&window.OneTrust.changeLanguage(e),"ja-ja"===e&&window.OneTrust.changeLanguage("ja")}},[t]);let S=t?.page?.pageOptions?.hideBrandBanner,T=t?.page?.pageOptions?.hideHeaderBanner,_=t?.page?.pageOptions?.banner||n?.headerBanner,L=t?.page?.pageOptions?.headerSettings!=="Hide Header",P=t?.page?.pageOptions?.headerSettings==="Show Marketing Header",I=t?.page?.pageOptions?.headerSettings==="Show Resources Header",M=t?.page?.pageOptions?.header||n?.header,O=t?.page?.pageOptions?.headerColour?.name||t?.page?.colour||t?.page?.theme||p,R=t?.page?.pageOptions?.hidePrefooterCta,D=t?.page?.pageOptions?.prefooterCta||n?.footer?.prefooterCta,B=t?.page?.pageOptions?.footer||n?.footer,F=t?.page?.pageOptions?.footerSettings!=="Hide Footer",H=t?.page?.pageOptions?.floatingCta,V=e=>{w(e)},[$,U]=(0,f.useState)(!1);return(0,f.useEffect)(()=>{U(!0)},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(b,{page:t?.page,themeColour:(0,x._6)(O),locale:j.locale,currentPath:C}),(0,r.jsx)(c(),{id:"416b79fa4bec7819",dynamic:[a().style.fontFamily,s().style.fontFamily],children:`:root{--font-NewEdgeRounded:${a().style.fontFamily};--font-Inter:${s().style.fontFamily}}`}),(0,r.jsx)(e0.Provider,{value:{openChat:V},children:(0,r.jsx)(eQ.Provider,{value:{setStickyNavInView:m},children:(0,r.jsx)(e2.Provider,{value:{socialMenu:n?.socialMenu,localisedSlugs:t?.page?.localisedSlugs||[],newEdgeFontFamily:a().style.fontFamily,interFontFamily:s().style.fontFamily},children:(0,r.jsxs)("div",{"data-app-root":"true",className:c().dynamic([["416b79fa4bec7819",[a().style.fontFamily,s().style.fontFamily]]]),children:[$&&!(k&&["fr-fr","es-es","de-de","it-it","ja-ja","ja"].includes(k))&&(["/","/cx-circle/","/events/","/compare/","/interactive/"].includes(C)||["/platform/","/capabilities/","/solutions/","/industry/","/teams/"].some(e=>C.startsWith(e)))&&(0,r.jsxs)("div",{className:c().dynamic([["416b79fa4bec7819",[a().style.fontFamily,s().style.fontFamily]]])+" fixed bottom-6 right-6 z-[9998] flex hidden items-center gap-4 lg:flex",children:[!g&&!v&&!["/","/cx-circle/","/interactive/"].includes(i=C)&&![].some(e=>i.startsWith(e))&&(0,r.jsx)(eJ,{onPromptClick:V,className:"transition-all duration-300"}),(0,r.jsx)(eZ,{onOpenChange:e=>{y(e),e||w("")},initialPrompt:v})]}),!S&&(0,r.jsx)(eg,{}),!T&&_&&(0,r.jsx)(N,{banner:_}),(0,r.jsx)(A,{}),L?(0,r.jsx)(Q,{mainRef:o,data:M,contentType:d,headerColour:O,isMarketingHeader:P,isResourceHeader:I,stickyNavInVew:h}
10):null,(0,r.jsx)("main",{ref:o,id:"main-content",tabIndex:-1,className:c().dynamic([["416b79fa4bec7819",[a().style.fontFamily,s().style.fontFamily]]]),children:(0,r.jsx)(e,{...t,className:c().dynamic([["416b79fa4bec7819",[a().style.fontFamily,s().style.fontFamily]]])+" "+(t&&null!=t.className&&t.className||"")})}),H&&(0,r.jsx)(ex,{...H}),F?(0,r.jsxs)(r.Fragment,{children:[!R&&D&&(0,r.jsx)(et,{cta:D,colour:t?.page?.pageOptions?.footerColour,isPageCTA:t?.page?.pageOptions?.prefooterCta}),(0,r.jsx)(eu,{data:B,colour:t?.page?.pageOptions?.footerColour})]}):null,(0,r.jsx)(eE.GoogleTagManager,{gtmId:"GTM-NLLSLH3"}),eX.env.VERCEL_GIT_COMMIT_REF?.includes("bugherd")?(0,r.jsx)(eT(),{id:"bugherd",type:"text/javascript",src:"https://www.bugherd.com/sidebarv2.js?apikey=v1larguxv4dxney2lae45g",strategy:"lazyOnload"},"bugherd"):null]})})})}),(0,r.jsx)(eH,{}),(0,r.jsx)(eY,{})]})}e4.getInitialProps=async e=>{let t=await eS().getInitialProps(e),n=await eC({locale:e.ctx.locale});return{...t,globalData:n}};let e6=(0,Z.Zh)(e4)},33290:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/EntryLinkInline","definitions":{"EntryLinkInline":{"type":"object","properties":{"nodeType":{"type":"string","enum":["embedded-entry-inline"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/Link<\\"Entry\\">"}},"additionalProperties":false,"required":["target"]},"content":{"maxItems":0,"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Link<\\"Entry\\">":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["Link"]},"linkType":{"type":"string","enum":["Entry"]},"id":{"type":"string"}},"additionalProperties":false,"required":["id","linkType","type"]}},"additionalProperties":false,"required":["sys"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},33735:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var r=n(42464),i=n(82944),a=n(66046),o=n(18521);let s=e=>(0,r.q)(0,255,e),l={...i.ai,transform:e=>Math.round(s(e))},c={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(n)+", "+(0,a.a)(i.X4.transform(r))+")"}},34164:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=function(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t){if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r)}return i}(e))&&(r&&(r+=" "),r+=t);return r}},34421:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/ListItem","definitions":{"ListItem":{"type":"object","properties":{"nodeType":{"type":"string","enum":["list-item"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/ListItemBlock"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlock":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/ListItemBlockEnum"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlockEnum":{"enum":["blockquote","embedded-asset-block","embedded-entry-block","embedded-resource-block","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","hr","ordered-list","paragraph","unordered-list"],"type":"string"},"Block":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/BLOCKS"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"BLOCKS":{"description":"Map of all Contentful block types. Blocks contain inline or block nodes.","type":"string","enum":["document","paragraph","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","ordered-list","unordered-list","list-item","hr","blockquote","embedded-entry-block","embedded-asset-block","embedded-resource-block","table","table-row","table-cell","table-header-cell"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},35092:(e,t,n)=>{"use strict";n.d(t,{U:()=>r,_:()=>i});let r=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i=["initial",...r]},35345:e=>{"use strict";e.exports=URIError},35446:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});let r=(0,n(73884).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},35909:(e,t)=>{"use strict";function n(e,t,n=!1){return t?Object.keys(e).filter(e=>n?!t.includes(e):t.includes(e)).reduce((t,n)=>(t[n]=e[n],t),{}):{}}function r(e,t,n,r){let i=r&&Object.keys(r).length>0?new URL(Object.values(r)[0],e):new URL(e);
10return t&&n&&t.forEach(e=>{n[e]&&i.searchParams.set(e,n[e])}),i.toString()}function i(e,t,n,i,a){var o;if(!t)return`<${e}></${e}>`;let s=(null===(o=t.src)||void 0===o?void 0:o.url)?Object.assign(Object.assign({},t),{src:r(t.src.url,t.src.params,i,a)}):t,l=Object.keys(Object.assign(Object.assign({},s),n)).reduce((e,t)=>{let r=null==n?void 0:n[t],i=s[t],a=null!=r?r:i,o=!0===a?t:`${t}="${a}"`;return a?e+` ${o}`:e},"");return`<${e}${l}></${e}>`}Object.defineProperty(t,"__esModule",{value:!0}),t.formatData=t.createHtml=t.formatUrl=void 0,t.formatUrl=r,t.createHtml=i,t.formatData=function(e,t){var a,o,s,l,c;let u=n(t,null===(a=e.scripts)||void 0===a?void 0:a.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),d=n(t,null===(s=null===(o=e.html)||void 0===o?void 0:o.attributes.src)||void 0===s?void 0:s.params),p=n(t,[null===(c=null===(l=e.html)||void 0===l?void 0:l.attributes.src)||void 0===c?void 0:c.slugParam]),h=n(t,[...Object.keys(u),...Object.keys(d),...Object.keys(p)],!0);return Object.assign(Object.assign({},e),{html:e.html?i(e.html.element,e.html.attributes,h,d,p):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:r(e.url,e.params,u)})):null})}},35966:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInline=function(e){return a(i.INLINES,e.nodeType)},t.isBlock=function(e){return a(r.BLOCKS,e.nodeType)},t.isText=function(e){return"text"===e.nodeType};var r=n(60701),i=n(53305);function a(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++)if(t===e[r[n]])return!0;return!1}},36551:(e,t,n)=>{"use strict";function r(e){return"string"==typeof e||Array.isArray(e)}n.d(t,{w:()=>r})},37581:(e,t,n)=>{"use strict";n.d(t,{_3:()=>w,Yp:()=>j}),n(93310);var r=n(39056),i=n(86188),a=n(39126),o=n(59135),s=n(48706),l=n(13112);let c=new Map;function u(e){return!!e?.sys&&"Link"===e.sys.type&&"Entry"===e.sys.linkType}async function d(e,t,n={}){if(!u(e))return e;let{mode:i="minimal",include:a,preview:o=!1,context:d="entry"}=n,p=`${e.sys.id}_${t}_${o}_${i}`,h=c.get(p);if(h)return h;let f=(async()=>{let c={entryId:e.sys.id,locale:t,mode:i,preview:o},u=await (0,l.$6)(c);if(void 0!==u)return u;let p=n.client||(0,r.A)(o),h=(0,s.zF)(t);try{let t=await p.getEntry(e.sys.id,{locale:h,include:"minimal"===i?0:a??2});return await (0,l.$G)(c,t),t}catch(t){return console.warn(`[resolveLink] Failed to resolve ${d} entry ${e.sys.id} (${i}):`,t?.message||t),null}})();return c.set(p,f),f.finally(()=>c.delete(p)),f}async function p(e,t,n,r=!1){if(n)return n;if(!e)return null;if(Array.isArray(e))return Promise.all(e.map(e=>p(e,t,void 0,r)));if(u(e)&&!(e=await d(e,t,{mode:"minimal",preview:r,context:"pageLink"})))return"";let i=e?.sys?.contentType?.sys?.id||e?.contentType,o=e?.fields?.slug??e?.slug;return(e?.fields?.externalUrl??e?.externalUrl)||(0,a.XP)({contentType:i,slug:o,locale:t})||""}async function h(e,t,n=!1){return{id:e?.id||"",title:e?.title||"",type:e?.type||"",anchor:e?.anchor||"",isExternal:!!e?.externalUrl,className:e?.className||"",slug:await p(e?.pageLink,t,e?.externalUrl,n)||""}}async function f(e,t,n){if(!e?.fields)return;let r=e?.sys?.contentType?.sys?.id;await Promise.all(Object.entries(e.fields).map(async([i,a])=>{if(Array.isArray(a)){let o=await Promise.all(a.map(async e=>u(e)?d(e,t,{mode:"full",include:1,preview:n,context:`${r}.${i}`}):e));e.fields[i]=o.filter(Boolean)}else u(a)&&(e.fields[i]=await d(a,t,{mode:"pageLink"===i?"minimal":"full",include:1,preview:n,context:`${r}.${i}`}))})),"cta"===r&&Array.isArray(e.fields.buttons)&&await Promise.all(e.fields.buttons.map(async e=>{e?.fields&&(u(e.fields.pageLink)&&(e.fields.pageLink=await d(e.fields.pageLink,t,{mode:"minimal",preview:n,context:"button.pageLink"})),e.fields.pageLink?.fields&&(e.fields.pageLink.fields.sections&&(e.fields.pageLink.fields.sections=null),e.fields.pageLink.fields.content&&(e.fields.pageLink.fields.content=null)))})),"textHighlight"===r&&(Array.isArray(e.fields.buttons)&&(e.fields.buttons=await Promise.all(e.fields.buttons.map(async e=>h({id:e?.sys?.id,...e?.fields},t,n)))),e.fields.content?.nodeType==="document"&&(e.fields.content=await m(e.fields.content,t,n))),"postFaq"===r&&Array.isArray(e.fields.faqs)&&await Promise.all(e.fields.faqs.map(async e=>{e?.fields?.answer?.nodeType==="document"&&(e.fields.answer=await m(e.fields.answer,t,n))}))}async function m(e,t,n=!1){if(!e)return{};if(Array.isArray(e))return Promise.all(e.map(e=>m(e,t,n)));if("object"==typeof e){let{nodeType:r,content:i,...o}=e;if("embedded-entry-block"===r){let r=e?.data?.target;if(u(r)){let i=await d(r,t,{mode:"full",include:2,preview:n,context:"rich-text embedded target"});if(!i)return{nodeType:"text",value:"",marks:[],data:{}};r=i,e={...e,data:{...e.data,target:r}}}return await f(r,t,n),{...e}}if("asset-hyperlink"===r){let r=e?.data?.target,a=r?.fields?.file?.url;if(a){let e=a.startsWith("//")?`https:${a}`:a,r=i?await m(i,t,n):void 0;
10return{...o,nodeType:"hyperlink",data:{uri:e},...r&&{content:r}}}let s=i?await m(i,t,n):void 0;if(s&&Array.isArray(s)&&s.length>0){let e=s.find(e=>"text"===e.nodeType);if(e?.value)return{nodeType:"text",value:e.value,marks:e.marks||[],data:{}}}return{nodeType:"text",value:"",marks:[],data:{}}}if("entry-hyperlink"===r){let n=e?.data?.target,r=n?.sys?.contentType?.sys?.id,i=j(r),o=n?.sys?.id,s=n?.fields?.slug,l=n?.fields?.externalUrl,c=(l&&l.length>0?l:null)||(0,a.XP)({contentType:r,slug:s,locale:t});return{...e,nodeType:"hyperlink",data:{uri:c,target:{fields:{slug:c,...l&&l.length>0?{externalUrl:l}:{}}},...i&&{_localeResolution:{entryId:o,contentType:r,slug:s}}}}}let s=i?await m(i,t,n):void 0;return{...o,nodeType:r,...s&&{content:s}}}return e}async function g(e,t,n=0,r=!1){if(u(e)&&!(e=await d(e,t,{mode:"full",include:2,preview:r,context:"extractEntry root"})))return null;let a=async e=>{if(Array.isArray(e?.category)){let n=await Promise.all(e.category.map(e=>u(e)?d(e,t,{mode:"full",include:1,preview:r,context:"category"}):e));
10e.category=n.filter(Boolean)}return e},o={maxDepth:10,contentTypeModifiers:{button:e=>h(e,t,r),post:async e=>y(await a(e),t),customer:async e=>y(await a(e),t),productUpdate:async e=>y(await a(e),t),partnerStory:async e=>y(await a(e),t),elementFaqItem:async e=>({...e,answer:{...e.answer,content:await m(e.answer?.content,t,r)}})},fieldModifiers:{stickyMenu:{menuItems:async e=>{if(!e||!Array.isArray(e))return[];let n=await Promise.all(e.map(async e=>{if(u(e)&&!(e=await d(e,t,{mode:"minimal",preview:r,context:"stickyMenu.menuItems"})))return null;if(e?.metadata?.concepts?.length>0&&j(e?.sys?.contentType?.sys?.id)&&!e?.fields?.externalUrl){let n=e.metadata.concepts.map(e=>e.sys.id),r=i.tQ.find(e=>e.name===t)?.id;if(!r||!n.includes(r))return null}return{title:e?.fields?.shortTitle||e?.fields?.title||e?.shortTitle||e?.title||"",slug:await p(e,t,e?.fields?.externalUrl||e?.externalUrl,r)||""}}));return n?.filter(e=>e&&e?.title&&e?.slug&&e?.slug!==""&&e?.slug!=="/undefined/")}},stickyNav:{links:async e=>e&&Array.isArray(e)?(await Promise.all(e.map(async e=>(!u(e)||(e=await d(e,t,{mode:"full",include:1,preview:r,context:"stickyNav.links"})))&&e?.fields?.title?.length?{title:e?.fields?.title||"",slug:await p(e?.fields?.pageLink,t,e?.fields?.externalUrl,r)||""}:null))).filter(Boolean):[]},guide:{guideMenu:async e=>(u(e)&&(e=await d(e,t,{mode:"full",include:2,preview:r,context:"guide.guideMenu"})),e?.sys?.type==="Entry")?g(e,t,n+1,r):e}}};if(n>=o.maxDepth)return{id:e.sys.id,contentType:e.sys.contentType.sys.id,locale:t,_maxDepthReached:!0};let s={...e.fields,id:e.sys.id,contentType:e.sys.contentType.sys.id,locale:t},l=o.contentTypeModifiers[s.contentType];if(n>0&&l&&"function"==typeof l)return await l(s);let c={};for(let i of Object.keys(s)){let a=s[i];"relatedPosts"===i&&Array.isArray(a)&&(a=a.map(e=>{let n=y(e,t),r=e?.sys?.contentType?.sys?.id||n.contentType,i=e?.sys?.id||e?.id,a=e?.fields?.slug||e?.slug||"",o=e?.fields?.externalUrl||e?.externalUrl;return j(r)&&!(o&&String(o).length>0)&&(n._localeResolution={entryId:i,contentType:r,slug:a}),n})),"content"===i&&a?.nodeType==="document"&&(a=await m(a,t,r));let l=e.sys.contentType.sys.id,h=o.fieldModifiers[l]?.[i];if(h&&"function"==typeof h&&(a=await h(a,s)),"resources"===i&&n>0&&Array.isArray(a)&&(a=a.map(e=>y(e,t))),"pageLink"===i)c[i]=await p(a,t,s?.externalUrl,r);else if(Array.isArray(a))c[i]=(await Promise.all(a.map(async e=>{if(u(e)){let a=await d(e,t,{mode:"full",include:2,preview:r,context:`${l}.${i}[]`});return a?g(a,t,n+1,r):null}return e?.sys?.type==="Entry"?g(e,t,n+1,r):e}))).filter(e=>null!==e);else if(u(a)){let e=await d(a,t,{mode:"full",include:2,preview:r,context:`${l}.${i}`});c[i]=e?await g(e,t,n+1,r):null}else a?.sys?.type==="Entry"?c[i]=await g(a,t,n+1,r):c[i]=a}return c}function y(e,t){var n,r;let s=e?.fields?.author,l=e?.fields?.webinarEventDate||e?.webinarEventDate,c=new Date(l)<new Date,u=e?.sys?.contentType?.sys?.id||e?.contentType,d={id:e?.sys?.id||e?.id||"",contentType:u||"",contentTypePrettyName:i.Wy[u]||"",locale:t,title:e?.fields?.title||e?.title||"",readTime:e?.fields?.readTime||e?.readTime||"",slug:e?.fields?.externalUrl||e?.externalUrl||(0,a.XP)({contentType:u,locale:t,slug:e?.fields?.slug||e?.slug||""}),eventType:e?.fields?.eventType||e?.eventType||"",tags:e?.fields?.tags||e?.tags||"",webinarEventDate:l||"",isPastEvent:c,coverImage:e?.fields?.coverImage||e?.coverImage||{},logo:e?.fields?.logo||"",excerpt:e?.fields?.excerpt||e?.excerpt||"",productsUsed:e?.fields?.productsUsed||e?.productsUsed||"",author:s?{authorName:s?.fields?.authorName||s?.authorName||"",role:s?.fields?.role||s?.role||"",image:s?.fields?.image||s?.image||{}}:null,categories:(n=e?.fields?.category||e?.category||[],n?.map(e=>({name:e?.fields?.name||e?.name||"",slug:e?.fields?.slug||e?.slug||"",parent:e?.fields?.parent||e?.parent||"",id:e?.sys?.id||e?.id||"",url:o.LU(e,t,u)})))};return"customer"===(r=d).contentType&&(r.logo=e?.fields?.logo||e?.logo||{},r.colour=e?.fields?.colour||e?.colour||"",r.brandColour=e?.fields?.brandColour||e?.brandColour||"",r.logo=e?.fields?.logo||e?.logo||{},r.excerptStat=e?.fields?.excerptStat||e?.excerptStat||"",r.excerptStatCaption=e?.fields?.excerptStatCaption||e?.excerptStatCaption||""),"productUpdate"===r.contentType&&(r.publishDate=e?.fields?.publishDate||e?.publishDate||""),"partnerStory"===r.contentType&&(r.logo=e?.fields?.partnerLogo||e?.partnerLogo||{},r.excerptStat=e?.fields?.excerptStat||e?.excerptStat||"",r.excerptStatCaption=e?.fields?.excerptStatCaption||e?.excerptStatCaption||""),d=r}var v=n(14289);async function b({contentType:e,locale:t,preview:n=!1,limit:a=6,tags:o=[],...s}){let l=(0,r.A)(n);if(!o)return[];let c={content_type:e,locale:t,limit:a,order:["-fields.publishDate","-sys.createdAt"],select:["sys","fields"],...s};return"guide"===e&&(c.select=["sys","fields.title","fields.slug","fields.coverImage","fields.publishDate","fields.authors","fields.excerpt","fields.readTime","fields.shortDescription"]),j(e)&&(c["metadata.concepts.sys.id[in]"]=[i.hq[t]]),o.length>0&&(c["metadata.tags.sys.id[in]"]=o),(await l.getEntries(c)).items.map(e=>y(e,t))}async function x(e,t,n=6){let r=t.include??5;for(let i=0;i<n;i++){let a=Math.max(0,r-i);try{return await e.getEntries({...t,include:a})}catch(e){if(i===n-1)throw e;continue}}throw Error("All attempts failed")}async function w({contentType:e,locale:t,preview:n=!1,options:i={}}){let a=(0,r.A)(n),o={content_type:e,locale:(0,s.zF)(t),...i};return Promise.all((await x(a,o)).items.map(async e=>(function e(t,n=new WeakSet){if(null==t||"object"!=typeof t)return t;if(n.has(t))return function(e){if(!e||"object"!=typeof e)return null;let t={_circularRef:!0},n=function(e){if(!e||"object"!=typeof e)return;let t={};return"string"==typeof e.id&&(t.id=e.id),"string"==typeof e.type&&(t.type=e.type),"string"==typeof e.linkType&&(t.linkType=e.linkType),e.contentType&&(t.contentType=e.contentType),Object.keys(t).length>0?t:void 0}(e.sys);if(n&&(t.sys=n),e.fields&&"object"==typeof e.fields){let n={};for(let t of["slug","externalUrl","title","shortTitle","adminName"])"string"==typeof e.fields[t]&&(n[t]=e.fields[t]);Object.keys(n).length>0&&(t.fields=n)}return t}(t);n.add(t);try{if(Array.isArray(t))return t.map(t=>e(t,n));let r={};for(let[i,a]of Object.entries(t))r[i]=e(a,n);return r}finally{n.delete(t)}})(await g(e,t,0,n))))}let j=e=>"customer"===e||"post"===e||"guide"===e||"ebooksReports"===e||"eventsWebinars"===e||"partnerStory"===e||"interactiveAssetHub"===e||"postTypePress"===e||"postTypeNews"===e},37720:(e,t,n)=>{"use strict";var r=n(74765),i=Object.prototype.hasOwnProperty,a=Array.isArray,o=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],i=0;i<n.length;++i)void 0!==n[i]&&r.push(n[i]);t.obj[t.prop]=r}}},l=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:l,assign:function(e,t){return Object.keys(t).reduce(function(e,n){return e[n]=t[n],e},e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var i=t[r],a=i.obj[i.prop],o=Object.keys(a),l=0;l<o.length;++l){var c=o[l],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:c}),n.push(u))}return s(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");
10if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,i,a){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"});for(var l="",c=0;c<s.length;c+=1024){for(var u=s.length>=1024?s.slice(c,c+1024):s,d=[],p=0;p<u.length;++p){var h=u.charCodeAt(p);if(45===h||46===h||95===h||126===h||h>=48&&h<=57||h>=65&&h<=90||h>=97&&h<=122||a===r.RFC1738&&(40===h||41===h)){d[d.length]=u.charAt(p);continue}if(h<128){d[d.length]=o[h];continue}if(h<2048){d[d.length]=o[192|h>>6]+o[128|63&h];continue}if(h<55296||h>=57344){d[d.length]=o[224|h>>12]+o[128|h>>6&63]+o[128|63&h];continue}p+=1,h=65536+((1023&h)<<10|1023&u.charCodeAt(p)),d[d.length]=o[240|h>>18]+o[128|h>>12&63]+o[128|h>>6&63]+o[128|63&h]}l+=d.join("")}return l},isBuffer:function(e){return!!e&&"object"==typeof e&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(a(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!i.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var o=t;return(a(t)&&!a(n)&&(o=l(t,r)),a(t)&&a(n))?(n.forEach(function(n,a){if(i.call(t,a)){var o=t[a];o&&"object"==typeof o&&n&&"object"==typeof n?t[a]=e(o,n,r):t.push(n)}else t[a]=n}),t):Object.keys(n).reduce(function(t,a){var o=n[a];return i.call(t,a)?t[a]=e(t[a],o,r):t[a]=o,t},o)}}},38075:(e,t,n)=>{"use strict";var r=n(70453),i=n(10487),a=i(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?i(n):n}},38448:(e,t,n)=>{"use strict";function r({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function i({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function a(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}n.d(t,{FY:()=>r,bS:()=>a,pA:()=>i})},38645:(e,t,n)=>{"use strict";n.d(t,{$:()=>i,H:()=>r});let r={};function i(e){Object.assign(r,e)}},39056:(e,t,n)=>{"use strict";let r,i,a,o,s;n.d(t,{A:()=>nN});var l,c,u,d={};function p(e,t){return function(){return e.apply(t,arguments)}}n.r(d),n.d(d,{hasBrowserEnv:()=>ey,hasStandardBrowserEnv:()=>eb,hasStandardBrowserWebWorkerEnv:()=>ex,navigator:()=>ev,origin:()=>ew});var h=n(65606);let{toString:f}=Object.prototype,{getPrototypeOf:m}=Object,g=(r=Object.create(null),e=>{let t=f.call(e);return r[t]||(r[t]=t.slice(8,-1).toLowerCase())}),y=e=>(e=e.toLowerCase(),t=>g(t)===e),v=e=>t=>typeof t===e,{isArray:b}=Array,x=v("undefined"),w=y("ArrayBuffer"),j=v("string"),C=v("function"),E=v("number"),k=e=>null!==e&&"object"==typeof e,S=e=>{if("object"!==g(e))return!1;let t=m(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},A=y("Date"),T=y("File"),_=y("Blob"),L=y("FileList"),N=y("URLSearchParams"),[P,I,M,O]=["ReadableStream","Request","Response","Headers"].map(y);function R(e,t,{allOwnKeys:n=!1}={}){let r,i;if(null!=e){if("object"!=typeof e&&(e=[e]),b(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{let i;let a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;for(r=0;r<o;r++)i=a[r],t.call(null,e[i],i,e)}}}function D(e,t){let n;t=t.toLowerCase();let r=Object.keys(e),i=r.length;for(;i-- >0;)if(t===(n=r[i]).toLowerCase())return n;return null}let B="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,F=e=>!x(e)&&e!==B,H=(i="undefined"!=typeof Uint8Array&&m(Uint8Array),e=>i&&e instanceof i),V=y("HTMLFormElement"),$=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),U=y("RegExp"),z=(e,t)=>{let n=Object.getOwnPropertyDescriptors(e),r={};R(n,(n,i)=>{let a;!1!==(a=t(n,i,e))&&(r[i]=a||n)}),Object.defineProperties(e,r)},W="abcdefghijklmnopqrstuvwxyz",G="0123456789",q={DIGIT:G,ALPHA:W,ALPHA_DIGIT:W+W.toUpperCase()+G},K=y("AsyncFunction"),Y=(l="function"==typeof setImmediate,c=C(B.postMessage),l?setImmediate:c?(o=`axios@${Math.random()}`,s=[],B.addEventListener("message",({source:e,data:t})=>{e===B&&t===o&&s.length&&s.shift()()},!1),e=>{s.push(e),B.postMessage(o,"*")}):e=>setTimeout(e)),X="undefined"!=typeof queueMicrotask?queueMicrotask.bind(B):void 0!==h&&h.nextTick||Y,Z={isArray:b,isArrayBuffer:w,isBuffer:function(e){return null!==e&&!x(e)&&null!==e.constructor&&!x(e.constructor)&&C(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||C(e.append)&&("formdata"===(t=g(e))||"object"===t&&C(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&w(e.buffer)},isString:j,isNumber:E,isBoolean:e=>!0===e||!1===e,isObject:k,isPlainObject:S,isReadableStream:P,isRequest:I,isResponse:M,isHeaders:O,isUndefined:x,isDate:A,isFile:T,isBlob:_,isRegExp:U,isFunction:C,isStream:e=>k(e)&&C(e.pipe),isURLSearchParams:N,isTypedArray:H,isFileList:L,forEach:R,merge:function e(){let{caseless:t}=F(this)&&this||{},n={},r=(r,i)=>{let a=t&&D(n,i)||i;S(n[a])&&S(r)?n[a]=e(n[a],r):S(r)?n[a]=e({},r):b(r)?n[a]=r.slice():n[a]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&R(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(R(t,(t,r)=>{n&&C(t)?e[r]=p(t,n):e[r]=t},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,a,o;let s={};if(t=t||{},null==e)return t;do{for(a=(i=Object.getOwnPropertyNames(e)).length;a-- >0;)o=i[a],(!r||r(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=!1!==n&&m(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:g,kindOfTest:y,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;let r=e.indexOf(t,n);return -1!==r&&r===n},toArray:e=>{if(!e)return null;if(b(e))return e;let t=e.length;if(!E(t))return null;let n=Array(t);for(;t-- >0;)n[t]=e[t];return n}
10,forEachEntry:(e,t)=>{let n;let r=(e&&e[Symbol.iterator]).call(e);for(;(n=r.next())&&!n.done;){let r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let n;let r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:V,hasOwnProperty:$,hasOwnProp:$,reduceDescriptors:z,freezeMethods:e=>{z(e,(t,n)=>{if(C(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;if(C(e[n])){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},toObjectSet:(e,t)=>{let n={};return(e=>{e.forEach(e=>{n[e]=!0})})(b(e)?e:String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:D,global:B,isContextDefined:F,ALPHABET:q,generateString:(e=16,t=q.ALPHA_DIGIT)=>{let n="",{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&C(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=Array(10),n=(e,r)=>{if(k(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;let i=b(e)?[]:{};return R(e,(e,t)=>{let a=n(e,r+1);x(a)||(i[t]=a)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:K,isThenable:e=>e&&(k(e)||C(e))&&C(e.then)&&C(e.catch),setImmediate:Y,asap:X};function J(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}Z.inherits(J,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Z.toJSONObject(this.config),code:this.code,status:this.status}}});let Q=J.prototype,ee={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ee[e]={value:e}}),Object.defineProperties(J,ee),Object.defineProperty(Q,"isAxiosError",{value:!0}),J.from=(e,t,n,r,i,a)=>{let o=Object.create(Q);return Z.toFlatObject(e,o,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),J.call(o,e.message,t,n,r,i),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};var et=n(2928).Buffer;function en(e){return Z.isPlainObject(e)||Z.isArray(e)}function er(e){return Z.endsWith(e,"[]")?e.slice(0,-2):e}function ei(e,t,n){return e?e.concat(t).map(function(e,t){return e=er(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}let ea=Z.toFlatObject(Z,{},null,function(e){return/^is[A-Z]/.test(e)}),eo=function(e,t,n){if(!Z.isObject(e))throw TypeError("target must be an object");t=t||new FormData;let r=(n=Z.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Z.isUndefined(t[e])})).metaTokens,i=n.visitor||c,a=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Z.isSpecCompliantForm(t);if(!Z.isFunction(i))throw TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Z.isDate(e))return e.toISOString();if(!s&&Z.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(e)||Z.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):et.from(e):e}function c(e,n,i){let s=e;if(e&&!i&&"object"==typeof e){if(Z.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else{var c;if(Z.isArray(e)&&(c=e,Z.isArray(c)&&!c.some(en))||(Z.isFileList(e)||Z.endsWith(n,"[]"))&&(s=Z.toArray(e)))return n=er(n),s.forEach(function(e,r){Z.isUndefined(e)||null===e||t.append(!0===o?ei([n],r,a):null===o?n:n+"[]",l(e))}),!1}}return!!en(e)||(t.append(ei(i,n,a),l(e)),!1)}let u=[],d=Object.assign(ea,{defaultVisitor:c,convertValue:l,isVisitable:en});if(!Z.isObject(e))throw TypeError("data must be an object");return!function e(n,r){if(!Z.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Z.forEach(n,function(n,a){!0===(!(Z.isUndefined(n)||null===n)&&i.call(t,n,Z.isString(a)?a.trim():a,r,d))&&e(n,r?r.concat(a):[a]
10)}),u.pop()}}(e),t};function es(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function el(e,t){this._pairs=[],e&&eo(e,this,t)}let ec=el.prototype;function eu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ed(e,t,n){let r;if(!t)return e;let i=n&&n.encode||eu,a=n&&n.serialize;if(r=a?a(t,n):Z.isURLSearchParams(t)?t.toString():new el(t,n).toString(i)){let t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}ec.append=function(e,t){this._pairs.push([e,t])},ec.toString=function(e){let t=e?function(t){return e.call(this,t,es)}:es;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};class ep{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Z.forEach(this.handlers,function(t){null!==t&&e(t)})}}let eh={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ef="undefined"!=typeof URLSearchParams?URLSearchParams:el,em="undefined"!=typeof FormData?FormData:null,eg="undefined"!=typeof Blob?Blob:null,ey="undefined"!=typeof window&&"undefined"!=typeof document,ev="object"==typeof navigator&&navigator||void 0,eb=ey&&(!ev||0>["ReactNative","NativeScript","NS"].indexOf(ev.product)),ex="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ew=ey&&window.location.href||"http://localhost",ej={...d,isBrowser:!0,classes:{URLSearchParams:ef,FormData:em,Blob:eg},protocols:["http","https","file","blob","url","data"]},eC=function(e){if(Z.isFormData(e)&&Z.isFunction(e.entries)){let t={};return Z.forEachEntry(e,(e,n)=>{!function e(t,n,r,i){let a=t[i++];if("__proto__"===a)return!0;let o=Number.isFinite(+a),s=i>=t.length;return(a=!a&&Z.isArray(r)?r.length:a,s)?Z.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n:(r[a]&&Z.isObject(r[a])||(r[a]=[]),e(t,n,r[a],i)&&Z.isArray(r[a])&&(r[a]=function(e){let t,n;let r={},i=Object.keys(e),a=i.length;for(t=0;t<a;t++)r[n=i[t]]=e[n];return r}(r[a]))),!o}(Z.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),n,t,0)}),t}return null},eE={transitional:eh,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){let n;let r=t.getContentType()||"",i=r.indexOf("application/json")>-1,a=Z.isObject(e);if(a&&Z.isHTMLForm(e)&&(e=new FormData(e)),Z.isFormData(e))return i?JSON.stringify(eC(e)):e;if(Z.isArrayBuffer(e)||Z.isBuffer(e)||Z.isStream(e)||Z.isFile(e)||Z.isBlob(e)||Z.isReadableStream(e))return e;if(Z.isArrayBufferView(e))return e.buffer;if(Z.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1){var o,s;return(o=e,s=this.formSerializer,eo(o,new ej.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ej.isNode&&Z.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},s))).toString()}if((n=Z.isFileList(e))||r.indexOf("multipart/form-data")>-1){let t=this.env&&this.env.FormData;return eo(n?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||i?(t.setContentType("application/json",!1),function(e,t,n){if(Z.isString(e))try{return(0,JSON.parse)(e),Z.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){let t=this.transitional||eE.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Z.isResponse(e)||Z.isReadableStream(e))return e;if(e&&Z.isString(e)&&(n&&!this.responseType||r)){let n=t&&t.silentJSONParsing;try{return JSON.parse(e)}catch(e){if(!n&&r){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ej.classes.FormData,Blob:ej.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],e=>{eE.headers[e]={}});let ek=Z.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),eS=e=>{let t,n,r;let i={};return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&ek[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)}),i},eA=Symbol("internals");function eT(e){return e&&String(e).trim().toLowerCase()}function e_(e){return!1===e||null==e?e:Z.isArray(e)?e.map(e_):String(e)}let eL=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function eN(e,t,n,r,i){if(Z.isFunction(r))return r.call(this,t,n);if(i&&(t=n),Z.isString(t)){if(Z.isString(r))return -1!==t.indexOf(r);if(Z.isRegExp(r))return r.test(t)}}class eP{constructor(e){e&&this.set(e)}set(e,t,n){let r=this;function i(e,t,n){let i=eT(t);if(!i)throw Error("header name must be a non-empty string");let a=Z.findKey(r,i);a&&void 0!==r[a]&&!0!==n&&(void 0!==n||!1===r[a])||(r[a||t]=e_(e))}let a=(e,t)=>
10Z.forEach(e,(e,n)=>i(e,n,t));if(Z.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(Z.isString(e)&&(e=e.trim())&&!eL(e))a(eS(e),t);else if(Z.isHeaders(e))for(let[t,r]of e.entries())i(r,t,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=eT(e)){let n=Z.findKey(this,e);if(n){let e=this[n];if(!t)return e;if(!0===t)return function(e){let t;let n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;for(;t=r.exec(e);)n[t[1]]=t[2];return n}(e);if(Z.isFunction(t))return t.call(this,e,n);if(Z.isRegExp(t))return t.exec(e);throw TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=eT(e)){let n=Z.findKey(this,e);return!!(n&&void 0!==this[n]&&(!t||eN(this,this[n],n,t)))}return!1}delete(e,t){let n=this,r=!1;function i(e){if(e=eT(e)){let i=Z.findKey(n,e);i&&(!t||eN(n,n[i],i,t))&&(delete n[i],r=!0)}}return Z.isArray(e)?e.forEach(i):i(e),r}clear(e){let t=Object.keys(this),n=t.length,r=!1;for(;n--;){let i=t[n];(!e||eN(this,this[i],i,e,!0))&&(delete this[i],r=!0)}return r}normalize(e){let t=this,n={};return Z.forEach(this,(r,i)=>{let a=Z.findKey(n,i);if(a){t[a]=e_(r),delete t[i];return}let o=e?i.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n):String(i).trim();o!==i&&delete t[i],t[o]=e_(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){let t=Object.create(null);return Z.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Z.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){let t=(this[eA]=this[eA]={accessors:{}}).accessors,n=this.prototype;function r(e){let r=eT(e);t[r]||(!function(e,t){let n=Z.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return Z.isArray(e)?e.forEach(r):r(e),this}}function eI(e,t){let n=this||eE,r=t||n,i=eP.from(r.headers),a=r.data;return Z.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function eM(e){return!!(e&&e.__CANCEL__)}function eO(e,t,n){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,n),this.name="CanceledError"}function eR(e,t,n){let r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}eP.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(eP.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Z.freezeMethods(eP),Z.inherits(eO,J,{__CANCEL__:!0});let eD=function(e,t){let n;let r=Array(e=e||10),i=Array(e),a=0,o=0;return t=void 0!==t?t:1e3,function(s){let l=Date.now(),c=i[o];n||(n=l),r[a]=s,i[a]=l;let u=o,d=0;for(;u!==a;)d+=r[u++],u%=e;if((a=(a+1)%e)===o&&(o=(o+1)%e),l-n<t)return;let p=c&&l-c;return p?Math.round(1e3*d/p):void 0}},eB=function(e,t){let n,r,i=0,a=1e3/t,o=(t,a=Date.now())=>{i=a,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{let t=Date.now(),s=t-i;s>=a?o(e,t):(n=e,r||(r=setTimeout(()=>{r=null,o(n)},a-s)))},()=>n&&o(n)]},eF=(e,t,n=3)=>{let r=0,i=eD(50,250);return eB(n=>{let a=n.loaded,o=n.lengthComputable?n.total:void 0,s=a-r,l=i(s);r=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&a<=o?(o-a)/l:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})},n)},eH=(e,t)=>{let n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},eV=e=>(...t)=>Z.asap(()=>e(...t)),e$=ej.hasStandardBrowserEnv?function(){let e;let t=ej.navigator&&/(msie|trident)/i.test(ej.navigator.userAgent),n=document.createElement("a");function r(e){let r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){let n=Z.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0},eU=ej.hasStandardBrowserEnv?{write(e,t,n,r,i,a){let o=[e+"="+encodeURIComponent(t)];Z.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),Z.isString(r)&&o.push("path="+r),Z.isString(i)&&o.push("domain="+i),!0===a&&o.push("secure"),document.cookie=o.join("; ")},read(e){let t=document.cookie.match(RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function ez(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e:t}let eW=e=>e instanceof eP?{...e}:e;function eG(e,t){t=t||{};let n={};function r(e,t,n){return Z.isPlainObject(e)&&Z.isPlainObject(t)?Z.merge.call({caseless:n},e,t):Z.isPlainObject(t)?Z.merge({},t):Z.isArray(t)?t.slice():t}function i(e,t,n){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function a(e,t){if(!Z.isUndefined(t))return r(void 0,t)}function o(e,t){return Z.isUndefined(t)?Z.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,a){return a in t?r(n,i):a in e?r(void 0,n):void 0}let l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBo
10dyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t)=>i(eW(e),eW(t),!0)};return Z.forEach(Object.keys(Object.assign({},e,t)),function(r){let a=l[r]||i,o=a(e[r],t[r],r);Z.isUndefined(o)&&a!==s||(n[r]=o)}),n}let eq=e=>{let t;let n=eG({},e),{data:r,withXSRFToken:i,xsrfHeaderName:a,xsrfCookieName:o,headers:s,auth:l}=n;if(n.headers=s=eP.from(s),n.url=ed(ez(n.baseURL,n.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),Z.isFormData(r)){if(ej.hasStandardBrowserEnv||ej.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(t=s.getContentType())){let[e,...n]=t?t.split(";").map(e=>e.trim()).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...n].join("; "))}}if(ej.hasStandardBrowserEnv&&(i&&Z.isFunction(i)&&(i=i(n)),i||!1!==i&&e$(n.url))){let e=a&&o&&eU.read(o);e&&s.set(a,e)}return n},eK="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){let r,i,a,o,s;let l=eq(e),c=l.data,u=eP.from(l.headers).normalize(),{responseType:d,onUploadProgress:p,onDownloadProgress:h}=l;function f(){o&&o(),s&&s(),l.cancelToken&&l.cancelToken.unsubscribe(r),l.signal&&l.signal.removeEventListener("abort",r)}let m=new XMLHttpRequest;function g(){if(!m)return;let r=eP.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());eR(function(e){t(e),f()},function(e){n(e),f()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(l.method.toUpperCase(),l.url,!0),m.timeout=l.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new J("Request aborted",J.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=l.timeout?"timeout of "+l.timeout+"ms exceeded":"timeout exceeded",r=l.transitional||eh;l.timeoutErrorMessage&&(t=l.timeoutErrorMessage),n(new J(t,r.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,m)),m=null},void 0===c&&u.setContentType(null),"setRequestHeader"in m&&Z.forEach(u.toJSON(),function(e,t){m.setRequestHeader(t,e)}),Z.isUndefined(l.withCredentials)||(m.withCredentials=!!l.withCredentials),d&&"json"!==d&&(m.responseType=l.responseType),h&&([a,s]=eF(h,!0),m.addEventListener("progress",a)),p&&m.upload&&([i,o]=eF(p),m.upload.addEventListener("progress",i),m.upload.addEventListener("loadend",o)),(l.cancelToken||l.signal)&&(r=t=>{m&&(n(!t||t.type?new eO(null,e,m):t),m.abort(),m=null)},l.cancelToken&&l.cancelToken.subscribe(r),l.signal&&(l.signal.aborted?r():l.signal.addEventListener("abort",r)));let y=function(e){let t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(l.url);if(y&&-1===ej.protocols.indexOf(y)){n(new J("Unsupported protocol "+y+":",J.ERR_BAD_REQUEST,e));return}m.send(c||null)})},eY=(e,t)=>{let{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController,i=function(e){if(!n){n=!0,o();let t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new eO(t instanceof Error?t.message:t))}},a=t&&setTimeout(()=>{a=null,i(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))},t),o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));let{signal:s}=r;return s.unsubscribe=()=>Z.asap(o),s}},eX=function*(e,t){let n,r=e.byteLength;if(!t||r<t){yield e;return}let i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},eZ=async function*(e,t){for await(let n of eJ(e))yield*eX(n,t)},eJ=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}let t=e.getReader();try{for(;;){let{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},eQ=(e,t,n,r)=>{let i;let a=eZ(e,t),o=0,s=e=>{!i&&(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{let{done:t,value:r}=await a.next();if(t){s(),e.close();return}let i=r.byteLength;if(n){let e=o+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:e=>(s(e),a.return())},{highWaterMark:2})},e0="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,e1=e0&&"function"==typeof ReadableStream,e2=e0&&("function"==typeof TextEncoder?(a=new TextEncoder,e=>a.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer())),e3=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},e5=e1&&e3(()=>
10{let e=!1,t=new Request(ej.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),e4=e1&&e3(()=>Z.isReadableStream(new Response("").body)),e6={stream:e4&&(e=>e.body)};e0&&(u=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(e=>{e6[e]||(e6[e]=Z.isFunction(u[e])?t=>t[e]():(t,n)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})}));let e8=async e=>{if(null==e)return 0;if(Z.isBlob(e))return e.size;if(Z.isSpecCompliantForm(e)){let t=new Request(ej.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Z.isArrayBufferView(e)||Z.isArrayBuffer(e)?e.byteLength:(Z.isURLSearchParams(e)&&(e+=""),Z.isString(e))?(await e2(e)).byteLength:void 0},e7=async(e,t)=>{let n=Z.toFiniteNumber(e.getContentLength());return null==n?e8(t):n},e9={http:null,xhr:eK,fetch:e0&&(async e=>{let t,n,{url:r,method:i,data:a,signal:o,cancelToken:s,timeout:l,onDownloadProgress:c,onUploadProgress:u,responseType:d,headers:p,withCredentials:h="same-origin",fetchOptions:f}=eq(e);d=d?(d+"").toLowerCase():"text";let m=eY([o,s&&s.toAbortSignal()],l),g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});try{if(u&&e5&&"get"!==i&&"head"!==i&&0!==(n=await e7(p,a))){let e,t=new Request(r,{method:"POST",body:a,duplex:"half"});if(Z.isFormData(a)&&(e=t.headers.get("content-type"))&&p.setContentType(e),t.body){let[e,r]=eH(n,eF(eV(u)));a=eQ(t.body,65536,e,r)}}Z.isString(h)||(h=h?"include":"omit");let o="credentials"in Request.prototype;t=new Request(r,{...f,signal:m,method:i.toUpperCase(),headers:p.normalize().toJSON(),body:a,duplex:"half",credentials:o?h:void 0});let s=await fetch(t),l=e4&&("stream"===d||"response"===d);if(e4&&(c||l&&g)){let e={};["status","statusText","headers"].forEach(t=>{e[t]=s[t]});let t=Z.toFiniteNumber(s.headers.get("content-length")),[n,r]=c&&eH(t,eF(eV(c),!0))||[];s=new Response(eQ(s.body,65536,n,()=>{r&&r(),g&&g()}),e)}d=d||"text";let y=await e6[Z.findKey(e6,d)||"text"](s,e);return!l&&g&&g(),await new Promise((n,r)=>{eR(n,r,{data:y,headers:eP.from(s.headers),status:s.status,statusText:s.statusText,config:e,request:t})})}catch(n){if(g&&g(),n&&"TypeError"===n.name&&/fetch/i.test(n.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,t),{cause:n.cause||n});throw J.from(n,n&&n.code,e,t)}})};Z.forEach(e9,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});let te=e=>`- ${e}`,tt=e=>Z.isFunction(e)||null===e||!1===e,tn={getAdapter:e=>{let t,n;let{length:r}=e=Z.isArray(e)?e:[e],i={};for(let a=0;a<r;a++){let r;if(n=t=e[a],!tt(t)&&void 0===(n=e9[(r=String(t)).toLowerCase()]))throw new J(`Unknown adapter '${r}'`);if(n)break;i[r||"#"+a]=n}if(!n){let e=Object.entries(i).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));throw new J("There is no suitable adapter to dispatch the request "+(r?e.length>1?"since :\n"+e.map(te).join("\n"):" "+te(e[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n}};function tr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new eO(null,e)}function ti(e){return tr(e),e.headers=eP.from(e.headers),e.data=eI.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),tn.getAdapter(e.adapter||eE.adapter)(e).then(function(t){return tr(e),t.data=eI.call(e,e.transformResponse,t),t.headers=eP.from(t.headers),t},function(t){return!eM(t)&&(tr(e),t&&t.response&&(t.response.data=eI.call(e,e.transformResponse,t.response),t.response.headers=eP.from(t.response.headers))),Promise.reject(t)})}let ta="1.7.7",to={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{to[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});let ts={};to.transitional=function(e,t,n){function r(e,t){return"[Axios v"+ta+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,a)=>{if(!1===e)throw new J(r(i," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!ts[i]&&(ts[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}};let tl={assertOptions:function(e,t,n){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);let r=Object.keys(e),i=r.length;for(;i-- >0;){let a=r[i],o=t[a];if(o){let t=e[a],n=void 0===t||o(t,a,e);if(!0!==n)throw new J("option "+a+" must be "+n,J.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new J("Unknown option "+a,J.ERR_BAD_OPTION)}},validators:to},tc=tl.validators;class tu{constructor(e){this.defaults=e,this.interceptors={request:new ep,response:new ep}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=Error();let n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){let n,r;"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:i,paramsSerializer:a,headers:o}=t=eG(this.defaults,t);void 0!==i&&tl.assertOptions(i,{silentJSONParsing:tc.transitional(tc.boolean),forcedJSONParsing:tc.transitional(tc.boolean),clarifyTimeoutError:tc.transitional(tc.boolean)}
10,!1),null!=a&&(Z.isFunction(a)?t.paramsSerializer={serialize:a}:tl.assertOptions(a,{encode:tc.function,serialize:tc.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let s=o&&Z.merge(o.common,o[t.method]);o&&Z.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=eP.concat(s,o);let l=[],c=!0;this.interceptors.request.forEach(function(e){("function"!=typeof e.runWhen||!1!==e.runWhen(t))&&(c=c&&e.synchronous,l.unshift(e.fulfilled,e.rejected))});let u=[];this.interceptors.response.forEach(function(e){u.push(e.fulfilled,e.rejected)});let d=0;if(!c){let e=[ti.bind(this),void 0];for(e.unshift.apply(e,l),e.push.apply(e,u),r=e.length,n=Promise.resolve(t);d<r;)n=n.then(e[d++],e[d++]);return n}r=l.length;let p=t;for(d=0;d<r;){let e=l[d++],t=l[d++];try{p=e(p)}catch(e){t.call(this,e);break}}try{n=ti.call(this,p)}catch(e){return Promise.reject(e)}for(d=0,r=u.length;d<r;)n=n.then(u[d++],u[d++]);return n}getUri(e){return ed(ez((e=eG(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}
10Z.forEach(["delete","get","head","options"],function(e){tu.prototype[e]=function(t,n){return this.request(eG(n||{},{method:e,url:t,data:(n||{}).data}))}}),Z.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(eG(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}tu.prototype[e]=t(),tu.prototype[e+"Form"]=t(!0)});class td{constructor(e){let t;if("function"!=typeof e)throw TypeError("executor must be a function.");this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;let r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new eO(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new td(function(t){e=t}),cancel:e}}}let tp={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
10alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(tp).forEach(([e,t])=>{tp[t]=e});let th=function e(t){let n=new tu(t),r=p(tu.prototype.request,n);return Z.extend(r,tu.prototype,n,{allOwnKeys:!0}),Z.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(eG(t,n))},r}(eE);th.Axios=tu,th.CanceledError=eO,th.CancelToken=td,th.isCancel=eM,th.VERSION=ta,th.toFormData=eo,th.AxiosError=J,th.Cancel=th.CanceledError,th.all=function(e){return Promise.all(e)},th.spread=function(e){return function(t){return e.apply(null,t)}},th.isAxiosError=function(e){return Z.isObject(e)&&!0===e.isAxiosError},th.mergeConfig=eG,th.AxiosHeaders=eP,th.formToJSON=e=>eC(Z.isHTMLForm(e)?new FormData(e):e),th.getAdapter=tn.getAdapter,th.HttpStatusCode=tp,th.default=th;var tf=n(96940),tm=n.n(tf),tg=n(55373),ty=n.n(tg),tv=n(45931),tb=n.n(tv),tx=n(15190),tw=n.n(tx),tj=n(79001),tC=n.n(tj);function tE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function tk(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function tS(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function tA(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tS(Object(n),!0).forEach(function(t){var r,i;r=t,i=n[t],(r=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(r))in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tS(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function tT(){tT=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},o=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(t,n,r,a){var o,s,l=Object.create((n&&n.prototype instanceof g?n:g).prototype);return i(l,"_invoke",{value:(o=new A(a||[]),s=p,function(n,i){if(s===h)throw Error("Generator is already running");if(s===f){if("throw"===n)throw i;return{value:e,done:!0}}for(o.method=n,o.arg=i;;){var a=o.delegate;if(a){var l=function t(n,r){var i=r.method,a=n.iterator[i];if(a===e)return r.delegate=null,"throw"===i&&n.iterator.return&&(r.method="return",r.arg=e,t(n,r),"throw"===r.method)||"return"!==i&&(r.method="throw",r.arg=TypeError("The iterator does not provide a '"+i+"' method")),m;var o=d(a,n.iterator,r.arg);
vendor: 4,961 bytes, line 10
10if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var s=o.arg;return s?s.done?(r[n.resultName]=s.value,r.next=n.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):s:(r.method="throw",r.arg=TypeError("iterator result is not an object"),r.delegate=null,m)}(a,o);if(l){if(l===m)continue;return l}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(s===p)throw s=f,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);s=h;var c=d(t,r,o);if("normal"===c.type){if(s=o.done?f:"suspendedYield",c.arg===m)continue;return{value:c.arg,done:o.done}}"throw"===c.type&&(s=f,o.method="throw",o.arg=c.arg)}})}),l}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var p="suspendedStart",h="executing",f="completed",m={};function g(){}function y(){}function v(){}var b={};c(b,o,function(){return this});var x=Object.getPrototypeOf,w=x&&x(x(T([])));w&&w!==n&&r.call(w,o)&&(b=w);var j=v.prototype=g.prototype=Object.create(b);function C(e){["next","throw","return"].forEach(function(t){c(e,t,function(e){return this._invoke(t,e)})})}function E(e,t){var n;i(this,"_invoke",{value:function(i,a){function o(){return new t(function(n,o){!function n(i,a,o,s){var l=d(e[i],e,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&r.call(u,"__await")?t.resolve(u.__await).then(function(e){n("next",e,o,s)},function(e){n("throw",e,o,s)}):t.resolve(u).then(function(e){c.value=e,o(c)},function(e){return n("throw",e,o,s)})}s(l.arg)}(i,a,n,o)})}return n=n?n.then(o,o):o()}})}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function T(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,a=function n(){for(;++i<t.length;)if(r.call(t,i))return n.value=t[i],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}throw TypeError(typeof t+" is not iterable")}return y.prototype=v,i(j,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:y,configurable:!0}),y.displayName=c(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,l,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},C(E.prototype),c(E.prototype,s,function(){return this}),t.AsyncIterator=E,t.async=function(e,n,r,i,a){void 0===a&&(a=Promise);var o=new E(u(e,n,r,i),a);return t.isGeneratorFunction(n)?o:o.next().then(function(e){return e.done?e.value:o.next()})},C(j),c(j,l,"Generator"),c(j,o,function(){return this}),c(j,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=T,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(S),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function i(r,i){return s.type="throw",s.arg=t,n.next=r,i&&(n.method="next",n.arg=e),!!i}for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a],s=o.completion;if("root"===o.tryLoc)return i("end");if(o.tryLoc<=this.prev){var l=r.call(o,"catchLoc"),c=r.call(o,"finallyLoc");if(l&&c){if(this.prev<o.catchLoc)return i(o.catchLoc,!0);if(this.prev<o.finallyLoc)return i(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return i(o.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return i(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var a=i;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var o=a?a.completion:{};return o.type=e,o.arg=t,a?(this.method="next",this.next=a.finallyLoc,m):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];
10if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function t_(e,t){return(t_=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function tL(e){return(tL="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function tN(e,t){if(e){if("string"==typeof e)return tE(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tE(e,t):void 0}}function tP(){tP=function(e,t){return new n(e,void 0,t)};var e=RegExp.prototype,t=new WeakMap;function n(e,r,i){var a=RegExp(e,r);return t.set(a,i||t.get(e)),t_(a,n.prototype)}function r(e,n){var r=t.get(n);return Object.keys(r).reduce(function(t,n){var i=r[n];if("number"==typeof i)t[n]=e[i];else{for(var a=0;void 0===e[i[a]]&&a+1<i.length;)a++;t[n]=e[i[a]]}return t},Object.create(null))}return function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&t_(e,t)}(n,RegExp),n.prototype.exec=function(t){var n=e.exec.call(this,t);if(n){n.groups=r(n,this);var i=n.indices;i&&(i.groups=r(i,this))}return n},n.prototype[Symbol.replace]=function(n,i){if("string"==typeof i){var a=t.get(this);return e[Symbol.replace].call(this,n,i.replace(/\$<([^>]+)>/g,function(e,t){var n=a[t];return"$"+(Array.isArray(n)?n.join("$"):n)}))}if("function"==typeof i){var o=this;return e[Symbol.replace].call(this,n,function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(r(e,o)),i.apply(this,e)})}return e[Symbol.replace].call(this,n,i)},tP.apply(this,arguments)}function tI(){}n(65606);var tM=function(e){return new Promise(function(t){setTimeout(t,e)})},tO=tP(/(\d+)(%)/,{value:1});function tR(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:7,n=t;if(tO.test(e)){var r,i=null===(r=e.match(tO))||void 0===r?void 0:r.groups;i&&i.value&&(n=Math.round(parseInt(i.value)/100*t))}return Math.min(30,Math.max(1,n))}function tD(e,t){return t("info","Throttle request to ".concat(e,"/s")),tw()({limit:e,interval:1e3,strict:!1})}var tB=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"auto",n=e.defaults.logHandler,r=void 0===n?tI:n,i=tb()(t)?tR(t):tR("auto",t),a=tD(i,r),o=!1,s=e.interceptors.request.use(function(e){return a(function(){return e})()},function(e){return Promise.reject(e)}),l=e.interceptors.response.use(function(n){if(!o&&tb()(t)&&("auto"===t||tO.test(t))&&n.headers&&n.headers["x-contentful-ratelimit-second-limit"]){var l=tR(t,parseInt(n.headers["x-contentful-ratelimit-second-limit"]));l!==i&&(s&&e.interceptors.request.eject(s),i=l,a=tD(l,r),s=e.interceptors.request.use(function(e){return a(function(){return e})()},function(e){return Promise.reject(e)})),o=!0}return n},function(e){return Promise.reject(e)});return function(){e.interceptors.request.eject(s),e.interceptors.response.eject(l)}},tF=/^(?!\w+:\/\/)([^\s:]+\.?[^\s:]+)(?::(\d+))?(?!:)$/;function tH(e){var t=e.query,n={};return delete t.resolveLinks,n.params=tm()(t),n}function tV(){var e=window;if(!e)return null;var t=e.navigator.userAgent,n=e.navigator.platform;return -1!==["Macintosh","MacIntel","MacPPC","Mac68K"].indexOf(n)?"macOS":-1!==["iPhone","iPad","iPod"].indexOf(n)?"iOS":-1!==["Win32","Win64","Windows","WinCE"].indexOf(n)?"Windows":/Android/.test(t)?"Android":/Linux/.test(n)?"Linux":null}function t$(e){return Object.defineProperty(e,"toPlainObject",{enumerable:!1,
10configurable:!1,writable:!1,value:function(){return tm()(this)}})}function tU(e){var t,n,r,i=e.config,a=e.response;if(i&&i.headers&&i.headers.Authorization){var o="...".concat(i.headers.Authorization.toString().substr(-5));i.headers.Authorization="Bearer ".concat(o)}if(!tC()(a)||!tC()(i))throw e;var s=null==a?void 0:a.data,l={status:null==a?void 0:a.status,statusText:null==a?void 0:a.statusText,message:"",details:{}};i&&tC()(i)&&(l.request={url:i.url,headers:i.headers,method:i.method,payloadData:i.data}),s&&"object"===tL(s)&&("requestId"in s&&(l.requestId=s.requestId||"UNKNOWN"),"message"in s&&(l.message=s.message||""),"details"in s&&(l.details=s.details||{}),t=null===(n=s.sys)||void 0===n?void 0:n.id);var c=Error();c.name=t&&"Unknown"!==t?t:"".concat(null==a?void 0:a.status," ").concat(null==a?void 0:a.statusText);try{c.message=JSON.stringify(l,null," ")}catch(e){c.message=null!==(r=null==l?void 0:l.message)&&void 0!==r?r:""}throw c}var tz={0:8203,1:8204,2:8205,3:8290,4:8291,5:8288,6:65279,7:8289,8:119155,9:119156,a:119157,b:119158,c:119159,d:119160,e:119161,f:119162},tW={0:8203,1:8204,2:8205,3:65279},tG=[,,,,].fill(String.fromCodePoint(tW[0])).join("");Object.fromEntries(Object.entries(tW).map(e=>e.reverse())),Object.fromEntries(Object.entries(tz).map(e=>e.reverse()));var tq=`${Object.values(tz).map(e=>`\\u{${e.toString(16)}}`).join("")}`;function tK(e,t){return function(e,t,n="auto"){let r;return!0===n||"auto"===n&&(!(!Number.isNaN(Number(e))||/[a-z]/i.test(e)&&!/\d+(?:[-:\/]\d+){2}(?:T\d+(?:[-:\/]\d+){1,2}(\.\d+)?Z?)?/.test(e))&&Date.parse(e)||function(e){try{new URL(e,e.startsWith("/")?"https://acme.com":void 0)}catch(e){return!1}return!0}(e))?e:`${e}${r=JSON.stringify(t),`${tG}${Array.from(r).map(e=>{let t=e.charCodeAt(0);if(t>255)throw Error(`Only ASCII edit info can be encoded. Error attempting to encode ${r} on character ${e} (${t})`);return Array.from(t.toString(4).padStart(4,"0")).map(e=>String.fromCodePoint(tW[e])).join("")}).join("")}`}`}(e,t)}RegExp(`[${tq}]{4,}`,"gu");var tY=Object.prototype.hasOwnProperty,tX=Object.prototype.toString,tZ=function(e,t,n){if("[object Function]"!==tX.call(t))throw TypeError("iterator must be a function");var r=e.length;if(r===+r)for(var i=0;i<r;i++)t.call(n,e[i],i,e);else for(var a in e)tY.call(e,a)&&t.call(n,e[a],a,e)};function tJ(e,t,n){if(3==arguments.length)return tJ.set(e,t,n);if(2==arguments.length)return tJ.get(e,t);var r=tJ.bind(tJ,e);for(var i in tJ)tJ.hasOwnProperty(i)&&(r[i]=tJ[i].bind(r,e));return r}tJ.get=function(e,t){for(var n=Array.isArray(t)?t:tJ.parse(t),r=0;r<n.length;++r){var i=n[r];if(!("object"==typeof e&&i in e))throw Error("Invalid reference token: "+i);e=e[i]}return e},tJ.set=function(e,t,n){var r=Array.isArray(t)?t:tJ.parse(t),i=r[0];if(0===r.length)throw Error("Can not set the root object");for(var a=0;a<r.length-1;++a){var o=r[a];"string"!=typeof o&&"number"!=typeof o&&(o=String(o)),"__proto__"===o||"constructor"===o||"prototype"===o||("-"===o&&Array.isArray(e)&&(o=e.length),i=r[a+1],o in e||(i.match(/^(\d+|-)$/)?e[o]=[]:e[o]={}),e=e[o])}return"-"===i&&Array.isArray(e)&&(i=e.length),e[i]=n,this},tJ.remove=function(e,t){var n=Array.isArray(t)?t:tJ.parse(t),r=n[n.length-1];if(void 0===r)throw Error('Invalid JSON pointer for remove: "'+t+'"');var i=tJ.get(e,n.slice(0,-1));if(Array.isArray(i)){var a=+r;if(""===r&&isNaN(a))throw Error('Invalid array index: "'+r+'"');Array.prototype.splice.call(i,a,1)}else delete i[r]},tJ.dict=function(e,t){var n={};return tJ.walk(e,function(e,t){n[t]=e},t),n},tJ.walk=function(e,t,n){var r=[];n=n||function(e){var t=Object.prototype.toString.call(e);return"[object Object]"===t||"[object Array]"===t},function e(i){tZ(i,function(i,a){r.push(String(a)),n(i)?e(i):t(i,tJ.compile(r)),r.pop()})}(e)},tJ.has=function(e,t){try{tJ.get(e,t)}catch(e){return!1}return!0},tJ.escape=function(e){return e.toString().replace(/~/g,"~0").replace(/\//g,"~1")},tJ.unescape=function(e){return e.replace(/~1/g,"/").replace(/~0/g,"~")},tJ.parse=function(e){if(""===e)return[];if("/"!==e.charAt(0))throw Error("Invalid JSON pointer: "+e);return e.substring(1).split(/\//).map(tJ.unescape)},tJ.compile=function(e){return 0===e.length?"":"/"+e.map(tJ.escape).join("/")};let tQ=({pointer:e,mappings:t,data:n,hiddenStrings:r})=>{let i=t[e];for(let a of(delete t[e],t0(n,e))){t[a]=i;let e=tK(tJ.get(n,a),r);tJ.set(n,a,e)}},t0=(e,t="")=>{let n=[],r=tJ.get(e,t);if(r.content)for(let i=0;i<r.content.length;i++)"text"===r.content[i].nodeType?n.push(`${t}/content/${i}/value`):n.push(...t0(e,`${t}/content/${i}`));return n},t1=({entityId:e,entityType:t,space:n,environment:r,field:i,locale:a,editorInterface:o,fieldType:s,targetOrigin:l,platform:c})=>{let u={origin:"contentful.com",href:`${l||"https://app.contentful.com"}/spaces/${n}/environments/${r}/${"Entry"===t?"entries":"assets"}/${e}/?focusedField=${i}
10&focusedLocale=${a}&source=vercel-content-link`,contentful:{editorInterface:o,fieldType:s}};return"vercel"===c&&delete u.contentful,u},t2=e=>["builtin","sidebar-builtin","editor-builtin"].includes(e),t3=e=>t5.includes(e),t5=["singleLine","tagEditor","listInput","checkbox","richTextEditor","multipleLine"];function t4(e,t,n,r,i,a,o){let s=o?t[o]:t;switch(e){case"Symbol":{let e=tK(s,n);tJ.set(r,i,e);break}case"Text":{let e=tK(s,n);tJ.set(r,i,e);break}case"RichText":tQ({pointer:"",mappings:a,data:s,hiddenStrings:n});break;case"Array":{let e=s.map(e=>"string"==typeof e?tK(e,n):e);tJ.set(r,i,e)}}}let t6=(e,t,n,r,i)=>{if(!e.fields)return;let{contentSourceMaps:a}=e.sys;if(!a){console.error("Content source maps data is missing");return}let{mappings:o}=a;for(let a in o){let{source:s}=o[a],l=e.sys.space.sys.id,c=e.sys.environment.sys.id,u=e.sys.id,d=e.sys.type,p=t[s.fieldType],h=n[s.editorInterface];if(t2(h.widgetNamespace)&&!t3(h.widgetId))continue;let f=a.startsWith("/")?a:`/${a}`;if(tJ.has(e,f)){let t=tJ.get(e,f);if(null===t)return;let n=f.split("/").pop();if(!n){console.error("Field name could not be extracted from the pointer",f);return}let a=e.sys.locale;if(a){let s=t1({entityId:u,entityType:d,space:l,environment:c,field:n,locale:a,editorInterface:h,fieldType:p,targetOrigin:r,platform:i});t4(p,t,s,e,f,o)}else Object.keys(t).forEach(a=>{let s=t1({entityId:u,entityType:d,space:l,environment:c,field:n,locale:a,editorInterface:h,fieldType:p,targetOrigin:r,platform:i});t4(p,t,s,e,`${f}/${a}`,o,a)})}}},t8=(e,t,n)=>{var r;let i=function(e){if("function"==typeof structuredClone)return structuredClone(e);try{return JSON.parse(JSON.stringify(e))}catch(t){return console.warn("Failed to clone data:",e,t),e}}(e);if(i.sys&&"items"in i){if(!(null!=(r=i.sys)&&r.contentSourceMapsLookup))return console.error("Content source maps lookup data is missing"),i;
10let{contentSourceMapsLookup:{fieldTypes:e,editorInterfaces:a}}=i.sys,{items:o,includes:s}=i;o.forEach(r=>t6(r,e,a,t,n)),s&&s.Entry&&s.Entry.forEach(r=>t6(r,e,a,t,n)),s&&s.Asset&&s.Asset.forEach(r=>t6(r,e,a,t,n))}else{if(!i.sys.contentSourceMapsLookup)return console.error("Content source maps lookup data is missing"),i;t6(i,i.sys.contentSourceMapsLookup.fieldTypes,i.sys.contentSourceMapsLookup.editorInterfaces,t,n)}return i};var t7=n(98037),t9=n.n(t7),ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},nt=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(e){i=!0,a=e}finally{try{!r&&s.return&&s.return()}finally{if(i)throw a}}return n}(e,t);throw TypeError("Invalid attempt to destructure non-iterable instance")};function nn(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}var nr={},ni=function(e,t){var n=t.entryId,r=t.linkType,i=t.spaceId,a=t.environmentId;return i&&a?e.get(i+"!"+a+"!"+r+"!"+n):e.get(r+"!"+n)},na=function(e){var t=/.*:spaces\/([^/]+)(?:\/environments\/([^/]+))?\/entries\/([^/]+)$/;if(t.test(e)){var n=nt(e.match(t),4),r=(n[0],n[1]),i=n[2];return{spaceId:r,environmentId:void 0===i?"master":i,entryId:n[3]}}},no=function(e,t){var n=t.sys,r=n.type,i=n.linkType;if("ResourceLink"===r){if(!i.startsWith("Contentful:"))return t;var a=na(t.sys.urn),o=a.spaceId,s=a.environmentId,l=a.entryId;return ni(e,{linkType:i.split(":")[1],entryId:l,spaceId:o,environmentId:s})||nr}return ni(e,{linkType:i,entryId:t.sys.id})||nr},ns=function(e){if(Array.isArray(e))return e.filter(function(e){return e!==nr});for(var t in e)e[t]===nr&&delete e[t];return e},nl=function e(t,n,r,i){if(n(t))return r(t);if(t&&(void 0===t?"undefined":ne(t))==="object"){for(var a in t)t.hasOwnProperty(a)&&(t[a]=e(t[a],n,r,i));i&&(t=ns(t))}return t},nc=function(e,t,n){var r=no(e,t);return r===nr?n?r:t:r};let nu=function(e,t){if(t=t||{},!e.items)return[];var n=t9()(e),r=Object.keys(n.includes||{}).reduce(function(t,n){return[].concat(nn(t),nn(e.includes[n]))},[]),i=[].concat(nn(n.items),nn(r)).filter(function(e){return!!e.sys}),a=new Map(i.reduce(function(e,t){var n,r=((n=t.sys).space&&n.environment?[n.type+"!"+n.id,n.space.sys.id+"!"+n.environment.sys.id+"!"+n.type+"!"+n.id]:[n.type+"!"+n.id]).map(function(e){return[e,t]});return e.push.apply(e,nn(r)),e},[]));return i.forEach(function(e){var n,r=Array.isArray(n=t.itemEntryPoints)?Object.keys(e).filter(function(e){return -1!==n.indexOf(e)}).reduce(function(t,n){return t[n]=e[n],t},{}):e;Object.assign(e,nl(r,function(e){return e&&e.sys&&"Link"===e.sys.type||e&&e.sys&&"ResourceLink"===e.sys.type},function(e){return nc(a,e,t.removeUnresolved)},t.removeUnresolved))}),n.items};var nd=n(44106);function np(e){return Object.defineProperty(e,"stringifySafe",{enumerable:!1,configurable:!1,writable:!1,value:function(e=null,t=""){return nd(this,e,t,(e,t)=>({sys:{type:"Link",linkType:"Entry",id:t.sys.id,circular:!0}}))}})}async function nh(e,t,n){var r;if(!t||!t.initial&&!t.nextSyncToken&&!t.nextPageToken)throw Error("Please provide one of `initial`, `nextSyncToken` or `nextPageToken` parameters for syncing");if(t.content_type&&!t.type)t.type="Entry";else if(t.content_type&&t.type&&"Entry"!==t.type)throw Error("When using the `content_type` filter your `type` parameter cannot be different from `Entry`.");let{withoutLinkResolution:i,withoutUnresolvableLinks:a,paginate:o}=Object.assign(Object.assign({},{withoutLinkResolution:!1,withoutUnresolvableLinks:!1,paginate:!0}),n),s=await nf(e,[],t,{paginate:o});i||(s.items=nu(s,{removeUnresolved:a,itemEntryPoints:["fields"]}));let l=function(e){let t=e=>(t,n)=>(n.sys.type===e&&t.push(t$(n)),t);return{entries:e.reduce(t("Entry"),[]),assets:e.reduce(t("Asset"),[]),deletedEntries:e.reduce(t("DeletedEntry"),[]),deletedAssets:e.reduce(t("DeletedAsset"),[])}}(s.items);return s.nextSyncToken&&(l.nextSyncToken=s.nextSyncToken),s.nextPageToken&&
10(l.nextPageToken=s.nextPageToken),!function e(t){var n,r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=tN(e))){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}(Object.getOwnPropertyNames(t));try{for(r.s();!(n=r.n()).done;){var i=t[n.value];i&&"object"===tL(i)&&e(i)}}catch(e){r.e(e)}finally{r.f()}return Object.freeze(t)}((r=np(t$(l))).sys||{}),r}async function nf(e,t,n,{paginate:r}){let i=n.nextPageToken?{sync_token:n.nextPageToken}:n.nextSyncToken?{sync_token:n.nextSyncToken}:n.sync_token?{sync_token:n.sync_token}:n,a=(await e.get("sync",tH({query:i}))).data||{};return(t=t.concat(a.items||[]),a.nextPageUrl)?r?(delete i.initial,i.sync_token=nm(a.nextPageUrl),nf(e,t,i,{paginate:r})):{items:t,nextPageToken:nm(a.nextPageUrl)}:a.nextSyncUrl?{items:t,nextSyncToken:nm(a.nextSyncUrl)}:{items:[]}}function nm(e){let t=e.split("?");return t.length>0?t[1].replace("sync_token=",""):""}function ng(e){let t={},n=!1;for(let r in e)Array.isArray(e[r])&&(t[r]=e[r].join(","),n=!0);return n?Object.assign(Object.assign({},e),t):e}function ny(e){return e.select?new Set(Array.isArray(e.select)?e.select:e.select.split(",").map(e=>e.trim())):new Set}function nv(e){if(!e.select)return e;let t=ny(e);return t.has("sys")?e:(t.add("sys.id"),t.add("sys.type"),Object.assign(Object.assign({},e),{select:[...t].join(",")}))}function nb(e,{resolveLinks:t,removeUnresolved:n}){let r=np(e);return t&&(r.items=nu(r,{removeUnresolved:n,itemEntryPoints:["fields"]})),r}class nx extends Error{constructor(e,t){super(`Invalid "${e}" provided, `+t),this.name="ValidationError"}}function nw(e,t){t?function(e){if(e.locale)throw new nx("locale","The `locale` parameter is not allowed")}(e):function(e){if("*"===e.locale)throw new nx("locale",`The use of locale='*' is no longer supported.To fetch an entry in all existing locales, 11 use client.withAllLocales instead of the locale='*' parameter.`)}(e)}function nj(e){if("resolveLinks"in e)throw new nx("resolveLinks",`The use of the 'resolveLinks' parameter is no longer supported. By default, links are resolved. 12 If you do not want to resolve links, use client.withoutLinkResolution.`)}function nC(e){if("removeUnresolved"in e)throw new nx("removeUnresolved",`The use of the 'removeUnresolved' parameter is no longer supported. By default, unresolved links are kept as link objects. 13 If you do not want to include unresolved links, use client.withoutUnresolvableLinks.`)}function nE(e){for(let t in e){let n=e[t];if("object"==typeof n&&null!==n&&!Array.isArray(n))throw Error(`Objects are not supported as value for the "${t}" query parameter.`)}}class nk extends Error{constructor(e,t,n){super("The resource could not be found."),this.sys={type:"Error",id:"NotFound"},this.details={type:"Entry",id:e,environment:t,space:n}}}function nS({http:e,getGlobalOptions:t},n){let r=(e="unknown")=>new nk(e,t().environment,t().space),i=e=>{let n="space"===e?t().spaceBaseUrl:t().environmentBaseUrl;if(!n)throw Error("Please define baseUrl for "+e);return n.endsWith("/")||(n+="/"),n};function a(t={}){var n,r;let i=e.httpClientParams,a=null!==(n=null==i?void 0:i.includeContentSourceMaps)&&void 0!==n?n:null===(r=null==i?void 0:i.alphaFeatures)||void 0===r?void 0:r.includeContentSourceMaps;if(function(e,t){if(void 0===t)return!1;if("boolean"!=typeof t)throw new nx("includeContentSourceMaps","The 'includeContentSourceMaps' parameter must be a boolean.");if(t&&"preview.contentful.com"!==e)throw new nx("includeContentSourceMaps",`The 'includeContentSourceMaps' parameter can only be used with the CPA. Please set host to 'preview.contentful.com' to include Content Source Maps. 14 `);return t}(null==i?void 0:i.host,a)&&(t.includeContentSourceMaps=!0,t.select)){let e=ny(t);e.add("sys"),t.select=Array.from(e).join(",")}return t}async function o({context:t,path:n,config:r}){let a=i(t);try{var o,s;return o=(await e.get(a+n,r)).data,(null===(s=null==r?void 0:r.params)||void 0===s?void 0:s.includeContentSourceMaps)?t8(o):o}catch(e){tU(e)}}async function s({context:t,path:n,data:r,config:a}){let o=i(t);
14try{return(await e.post(o+n,r,a)).data}catch(e){tU(e)}}async function l(e,t,n={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){let{withAllLocales:r}=n;return nw(t,r),nj(t),nC(t),nE(t),c(e,r?Object.assign(Object.assign({},t),{locale:"*"}):t,n)}async function c(e,t,n){if(!e)throw r(e);try{let i=await d(Object.assign({"sys.id":e},a(t)),n);if(i.items.length>0)return i.items[0];throw r(e)}catch(e){tU(e)}}async function u(e,t={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){let{withAllLocales:n}=t;return nw(e,n),nj(e),nC(e),nE(e),d(n?Object.assign(Object.assign({},e),{locale:"*"}):e,t)}async function d(e,t){let{withoutLinkResolution:n,withoutUnresolvableLinks:r}=t;try{let t=await o({context:"environment",path:"entries",config:tH({query:a(ng(nv(e)))})});return nb(t,{resolveLinks:!n,removeUnresolved:null!=r&&r})}catch(e){tU(e)}}async function p(e,t={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){let{withAllLocales:n}=t;return nw(e,n),nE(e),m(n?Object.assign(Object.assign({},e),{locale:"*"}):e)}async function h(e,t){try{return o({context:"environment",path:`assets/${e}`,config:tH({query:a(nv(t))})})}catch(e){tU(e)}}async function f(e,t,n={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){let{withAllLocales:r}=n;return nw(t,r),nE(t),h(e,r?Object.assign(Object.assign({},t),{locale:"*"}):t)}async function m(e){try{return o({context:"environment",path:"assets",config:tH({query:a(ng(nv(e)))})})}catch(e){tU(e)}}async function g(n,r,i={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){nj(n),nC(n);let a=Object.assign(Object.assign({},r),i);return e.defaults.baseURL=t().environmentBaseUrl,nh(e,n,a)}return{version:"11.2.0",getSpace:async function(){return o({context:"space",path:""})},getContentType:async function(e){return o({context:"environment",path:`content_types/${e}`})},getContentTypes:async function(e={}){return o({context:"environment",path:"content_types",config:tH({query:e})})},getAsset:async function(e,t={}){return f(e,t,n)},getAssets:async function(e={}){return p(e,n)},getTag:async function(e){return o({context:"environment",path:`tags/${e}`})},getTags:async function(e={}){return nE(e),o({context:"environment",path:"tags",config:tH({query:ng(nv(e))})})},getLocales:async function(e={}){return nE(e),o({context:"environment",path:"locales",config:tH({query:nv(e)})})},parseEntries:function(e){return function(e,t={withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!1}){return function(e,t){let{withoutLinkResolution:n,withoutUnresolvableLinks:r}=t;return nb(e,{resolveLinks:!n,removeUnresolved:null!=r&&r})}(e,t)}(e,n)},sync:async function(e,t={paginate:!0}){return g(e,t,n)},getEntry:async function(e,t={}){return l(e,t,n)},getEntries:async function(e={}){return u(e,n)},createAssetKey:async function(e){try{let t=Math.floor(Date.now()/1e3);!function(e,t,n){if(n=n||{},"number"!=typeof t)throw new nx(e,`only numeric values are allowed for timestamps, provided type was "${typeof t}"`);if(n.maximum&&t>n.maximum)throw new nx(e,`value (${t}) cannot be further in the future than expected maximum (${n.maximum})`);if(n.now&&t<n.now)throw new nx(e,`value (${t}) cannot be in the past, current time was ${n.now}`)}("expiresAt",e,{maximum:t+172800,now:t})}catch(e){tU(e)}return s({context:"environment",path:"asset_keys",data:{expiresAt:e}})}}}let nA=({http:e,getGlobalOptions:t})=>{function n(r){return function({http:e,getGlobalOptions:t},n,r){let i=nS({http:e,getGlobalOptions:t},n)||{};return Object.defineProperty(i,"withAllLocales",{get:()=>r(Object.assign(Object.assign({},n),{withAllLocales:!0}))}),Object.defineProperty(i,"withoutLinkResolution",{get:()=>r(Object.assign(Object.assign({},n),{withoutLinkResolution:!0}))}),Object.defineProperty(i,"withoutUnresolvableLinks",{get:()=>r(Object.assign(Object.assign({},n),{withoutUnresolvableLinks:!0}))}),Object.create(i)}({http:e,getGlobalOptions:t},r,n)}return Object.assign(Object.assign({},nS({http:e,getGlobalOptions:t},{withoutLinkResolution:!1,withAllLocales:!1,withoutUnresolvableLinks:!1})),{get withAllLocales(){return n({withAllLocales:!0,withoutLinkResolution:!1,withoutUnresolvableLinks:!1})},get withoutLinkResolution(){return n({withAllLocales:!1,withoutLinkResolution:!0,withoutUnresolvableLinks:!1})},get withoutUnresolvableLinks(){return n({withAllLocales:!1,withoutLinkResolution:!1,withoutUnresolvableLinks:!0})}})};function nT(e){var t;if(!e.accessToken)throw TypeError("Expected parameter accessToken");if(!e.space)throw TypeError("Expected parameter space");nj(e),nC(e);let n=Object.assign(Object.assign({},{resolveLinks:!0,removeUnresolved:!1,defaultHostname:"cdn.contentful.com",environment:"master"}),e),r=function(e,t,n,r){var i=[];t&&i.push("app ".concat(t)),n&&i.push("integration ".concat(n)),i.push("sdk ".concat(e));var a=null;try{"undefined"!=typeof window&&"navigator"in window&&"product"in window.navigator&&"ReactNative"===window.navigator.product?(a=tV(),i.push("platform ReactNative")):(a=tV(),i.push("platform browser"))}catch(e){a=null}return a&&i.push("os ".concat(a)),"".concat(i.filter(function(e){return""!==e}).join("; "),";")}("contentful.js/11.2.0",n.application,n.integration);n.headers=Object.assign(Object.assign({},n.headers),{"Content-Type":"application/vnd.contentful.delivery.v1+json","X-Contentful-User-Agent":r});let i=function e(t,n){var r=tA(tA({},{insecure:!1,retryOnError:!0,logHandler:function(e,t){if("error"===e&&t){var n=[t.name,t.message].filter(function(e){return e}).join(" - ");console.error("[error] ".concat(n)),console.error(t);return}console.log("[".concat(e,"] ").concat(t))},headers:{},httpAgent:!1,httpsAgent:!1,timeout:3e4,throttle:0,basePath:"",adapter:void 0,maxContentLength:1073741824,maxBodyLength:1073741824}),n);if(!r.accessToken){var i=TypeError("Expected parameter accessToken");throw r.logHandler("error",i),i}var a=r.insecure?"http":"https",o=r.space?"".concat(r.space,"/"):"",s=r.defaultHostname,l=r.insecure?80:443;if(r.host&&tF.test(r.host)){var c=r.host.split(":");if(2===c.length){var u=function(e){if(Array.isArray(e))return e}(c)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,c=!1;try{for(a=(n=n.call(e)).next;!(l=(r=a.call(n)).done)&&(s.push(r.value),2!==s.length);l=!0);}catch(e){c=!0,i=e}
14finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(c,2)||tN(c,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();s=u[0],l=u[1]}else s=c[0]}r.basePath&&(r.basePath="/".concat(r.basePath.split("/").filter(Boolean).join("/")));var d=n.baseURL||"".concat(a,"://").concat(s,":").concat(l).concat(r.basePath,"/spaces/").concat(o);r.headers.Authorization||"function"==typeof r.accessToken||(r.headers.Authorization="Bearer "+r.accessToken);var p={baseURL:d,headers:r.headers,httpAgent:r.httpAgent,httpsAgent:r.httpsAgent,proxy:r.proxy,timeout:r.timeout,adapter:r.adapter,maxContentLength:r.maxContentLength,maxBodyLength:r.maxBodyLength,paramsSerializer:{serialize:function(e){return ty().stringify(e)}},logHandler:r.logHandler,responseLogger:r.responseLogger,requestLogger:r.requestLogger,retryOnError:r.retryOnError},h=t.create(p);return h.httpClientParams=n,h.cloneWithNewParams=function(r){return e(t,tA(tA({},tm()(n)),r))},r.onBeforeRequest&&h.interceptors.request.use(r.onBeforeRequest),"function"==typeof r.accessToken&&function(e,t){e.interceptors.request.use(function(e){return t().then(function(t){return e.headers.set("Authorization","Bearer ".concat(t)),e})})}(h,r.accessToken),r.throttle&&tB(h,r.throttle),!function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,i=e.defaults,a=i.responseLogger,o=void 0===a?tI:a,s=i.requestLogger,l=void 0===s?tI:s;e.interceptors.request.use(function(e){return l(e),e},function(e){return l(e),Promise.reject(e)}),e.interceptors.response.use(function(e){return o(e),e},(t=tT().mark(function t(n){var i,a,s,l,c;return tT().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=n.response,a=n.config,o(n),!(!a||!e.defaults.retryOnError)){t.next=5;break}return t.abrupt("return",Promise.reject(n));case 5:if(!((s=a.attempts||1)>r)){t.next=9;break}return n.attempts=a.attempts,t.abrupt("return",Promise.reject(n));case 9:if(l=null,c=Math.pow(Math.SQRT2,s),i?i.status>=500&&i.status<600?l="Server ".concat(i.status):429===i.status&&(l="Rate limit",i.headers&&n.response.headers["x-contentful-ratelimit-reset"]&&(c=i.headers["x-contentful-ratelimit-reset"])):l="Connection",!l){t.next=20;break}return c=Math.floor(1e3*c+200*Math.random()+500),e.defaults.logHandler("warning","".concat(l," error occurred. Waiting for ").concat(c," ms before retrying...")),a.attempts=s+1,delete a.httpAgent,delete a.httpsAgent,a.url=a.url.split("?")[0],t.abrupt("return",tM(c).then(function(){return e(a)}));case 20:return t.abrupt("return",Promise.reject(n));case 21:case"end":return t.stop()}},t)}),n=function(){var e=this,n=arguments;return new Promise(function(r,i){var a=t.apply(e,n);function o(e){tk(a,r,i,o,s,"next",e)}function s(e){tk(a,r,i,o,s,"throw",e)}o(void 0)})},function(e){return n.apply(this,arguments)}))}(h,r.retryLimit),r.onError&&h.interceptors.response.use(function(e){return e},r.onError),h}(th,n);if(!i.defaults.baseURL)throw Error("Please define a baseURL");let a=(t={space:n.space,environment:n.environment,spaceBaseUrl:i.defaults.baseURL,environmentBaseUrl:`${i.defaults.baseURL}environments/${n.environment}`},function(e){return Object.assign({},t,e)});return i.defaults.baseURL=a({}).environmentBaseUrl,nA({http:i,getGlobalOptions:a})}var n_=n(65606);class nL{constructor(){let e={space:n_.env.CONTENTFUL_SPACE_ID,environment:"master"};this.productionClient=nT({...e,accessToken:n_.env.CONTENTFUL_ACCESS_TOKEN}),this.previewClient=nT({...e,accessToken:n_.env.CONTENTFUL_PREVIEW_ACCESS_TOKEN,host:"preview.contentful.com"})}static getInstance(){return nL.instance||(nL.instance=new nL),nL.instance}getClient(e=!1){return e||"true"===n_.env.CONTENTFUL_PREVIEW?this.previewClient:this.productionClient}}let nN=(e=!1)=>nL.getInstance().getClient(e)},39126:(e,t,n)=>{"use strict";n.d(t,{XP:()=>o}),n(39056),n(93310);var r=n(14289),i=n(48706),a=n(48067);let o=({contentType:e,slug:t,locale:n,category:o=null,prefixLocale:s=!1})=>{let l=r.I.find(t=>t.contentType===e),c=(0,i.vd)(n);
14if(l){let e=l.patterns[c],r=l.patterns.en,i=e?.single||r?.single;if(i){i.includes("*slug")&&(t=t.split("/"));let e={slug:t};o&&(e.category=o);let r=(0,a.wE)(i)(e);if(s&&"en"!==n){let e=`/${c}${r.replace(/%2F/g,"/")}`;return e.endsWith("/")?e:`${e}/`}let l=r.replace(/%2F/g,"/");return l.endsWith("/")?l:`${l}/`}}return"/"===t?s&&"en"!==n?`/${c}/`:"/":s&&"en"!==n?`/${c}/${t}/`:`/${t}/`}},39652:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});let r={current:!1}},39713:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});let r=(e,t,n)=>e+(t-e)*n},40433:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(40574);function i(e,t,n,i){let a=i?i-1:Number.POSITIVE_INFINITY,o=0;return function(i){return(0,r.On)(i)?(e.enter(n),function i(s){return(0,r.On)(s)&&o++<a?(e.consume(s),i):(e.exit(n),t(s))}(i)):t(i)}}},40568:(e,t,n)=>{"use strict";n.d(t,{j:()=>i,p:()=>o});let r=e=>t=>"string"==typeof t&&t.startsWith(e),i=r("--"),a=r("var(--"),o=e=>!!a(e)&&s.test(e.split("/*")[0].trim()),s=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu},40574:(e,t,n)=>{"use strict";n.d(t,{BM:()=>s,CW:()=>r,Ee:()=>d,HP:()=>u,JQ:()=>o,Ny:()=>f,On:()=>p,cx:()=>a,es:()=>h,lV:()=>i,ok:()=>l,ol:()=>c});let r=m(/[A-Za-z]/),i=m(/[\dA-Za-z]/),a=m(/[#-'*+\--9=?A-Z^-~]/);function o(e){return null!==e&&(e<32||127===e)}let s=m(/\d/),l=m(/[\dA-Fa-f]/),c=m(/[!-/:-@[-`{-~]/);function u(e){return null!==e&&e<-2}function d(e){return null!==e&&(e<0||32===e)}function p(e){return -2===e||-1===e||32===e}let h=m(/\p{P}|\p{S}/u),f=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},40830:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/EntryHyperlink","definitions":{"EntryHyperlink":{"type":"object","properties":{"nodeType":{"type":"string","enum":["entry-hyperlink"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/Link<\\"Entry\\">"}},"additionalProperties":false,"required":["target"]},"content":{"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Link<\\"Entry\\">":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["Link"]},"linkType":{"type":"string","enum":["Entry"]},"id":{"type":"string"}},"additionalProperties":false,"required":["id","linkType","type"]}},"additionalProperties":false,"required":["sys"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},41237:e=>{"use strict";e.exports=EvalError},41333:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}return!0}},41400:e=>{"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(a,{CITY_HEADER_NAME:()=>o,COUNTRY_HEADER_NAME:()=>s,EMOJI_FLAG_UNICODE_STARTING_POSITION:()=>f,IP_HEADER_NAME:()=>l,LATITUDE_HEADER_NAME:()=>c,LONGITUDE_HEADER_NAME:()=>u,POSTAL_CODE_HEADER_NAME:()=>p,REGION_HEADER_NAME:()=>d,REQUEST_ID_HEADER_NAME:()=>h,geolocation:()=>y,ipAddress:()=>g}),e.exports=((e,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of r(a
14))i.call(e,l)||l===o||t(e,l,{get:()=>a[l],enumerable:!(s=n(a,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),a);let o="x-vercel-ip-city",s="x-vercel-ip-country",l="x-real-ip",c="x-vercel-ip-latitude",u="x-vercel-ip-longitude",d="x-vercel-ip-country-region",p="x-vercel-ip-postal-code",h="x-vercel-id",f=127397;function m(e,t){return e.get(t)??void 0}function g(e){return m("headers"in e?e.headers:e,l)}function y(e){var t;return{city:function(e,t){let n=m(e.headers,t);return n?decodeURIComponent(n):void 0}(e,o),country:m(e.headers,s),flag:function(e){let t=RegExp("^[A-Z]{2}$").test(e);if(e&&t)return String.fromCodePoint(...e.split("").map(e=>f+e.charCodeAt(0)))}(m(e.headers,s)),countryRegion:m(e.headers,d),region:(t=m(e.headers,h))?t.split(":")[0]:"dev1",latitude:m(e.headers,c),longitude:m(e.headers,u),postalCode:m(e.headers,p)}}},41533:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});let r=e=>e},41630:(e,t,n)=>{"use strict";function r(e){return void 0===e||1===e}function i({scale:e,scaleX:t,scaleY:n}){return!r(e)||!r(t)||!r(n)}function a(e){return i(e)||o(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function o(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}n.d(t,{HD:()=>a,vF:()=>o,vk:()=>i})},41887:(e,t,n)=>{"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{A:()=>eM});var i=n(97471),a=n(40574),o=n(54263),s=n(69143);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function d(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function h(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,i.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function f(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,s.C)((n||{}).ignore||[]),i=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var i;let e=n[r];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),a=-1;for(;++a<i.length;)(0,o.VG)(e,"text",l);function l(e,t){let n,o=-1;for(;++o<t.length;){let e=t[o],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=i[a][0],o=i[a][1],s=0,l=n.children.indexOf(e),c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){let n=d.index,i={index:d.index,input:d.input,stack:[...t,e]},a=o(...d,i);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?r.lastIndex=n+1:(s!==n&&u.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,c=!0),!r.global)break;d=r.exec(e.value)}return c?(s<e.value.length&&u.push({type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e],l+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,y],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,v]],{ignore:["link","linkReference"]})}function y(e,t,n,i,a){let o="";if(!b(a)||(/^w/i.test(t)&&(n=t+n,t="",o="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(n)))return!1;let s=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],i=n.indexOf(")"),a=r(e,"("),o=r(e,")");for(;-1!==i&&a>o;)e+=n.slice(0,i+1),i=(n=n.slice(i+1)).indexOf(")"),o++;return[e,n]}(n+i);if(!s[0])return!1;let l={type:"link",title:null,url:o+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[l,{type:"text",value:s[1]}]:l}function v(e,t,n,r){return!(!b(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function b(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,a.Ny)(n)||(0,a.es)(n))&&(!t||47!==n)}var x=n(9638);function w(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function j(){this.buffer()}function C(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteDefinition"===n.type),n.label=t,n.identifier=(0,x.B)(this.sliceSerialize(e)).toLowerCase()}function E(e){this.exit(e)}function k(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function S(){this.buffer()}function A(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteReference"===n.type),n.label=t,n.identifier=(0,x.B)(this.sliceSerialize(e)).toLowerCase()}function T(e){this.exit(e)}function _(e,t,n,r){let i=n.createTracker(r),a=i.move("[^"),o=n.enter("footnoteReference"),s=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:"]"})),s(),o(),a+=i.move("]")}function L(e,t,n,r){let i=n.createTracker(r),a=i.move("[^"),o=n.enter("footnoteDefinition"),s=n.enter("label");return a+=i.move(n.safe(n.associationId(e),{...i.current(),before:a,after:"]"})),s(),a+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),a+=i.move(n.indentLines(n.containerFlow(e,i.current()),N)),o(),a}function N(e,t,n){return 0===t?e:(n?"":" ")+e}_.peek=function(){return"["};let P=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function I(e){this.enter({type:"delete",children:[]},e)}function M(e){this.exit(e)}function O(e,t,n,r){let i=n.createTracker(r),a=n.enter("strikethrough"),o=i.move("~~");return o+=n.containerPhrasing(e,{...i.current(),before:o,after:"~"})+i.move("~~"),a(),o}function R(e){return e.length}function D(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}O.peek=function(){return"~"};n(47970);var B=n(72534);function F(e,t,n){let r=e.value||"",i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){let e;let t=n.unsafe[a],i=n.compilePattern(t);if(t.atBreak)for(;e=i.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return i+r+i}F.peek=function(){return"`"},(0,s.C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);let H={inlineCode:F,listItem:function(e,t,n,r){let i=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),a=n.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(a=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let o=a.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let s=n.createTracker(r);s.move(a+" ".repeat(o-a.length)),s.shift(o);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),function(e,t,n){return t?(n?"":" ".repeat(o))+e:(n?a:a+" ".repeat(o-a.length))+e});return l(),c}};function V(e){let t=e._align;(0,i.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function $(e){this.exit(e),this.data.inTable=void 0}function U(e){this.enter({type:"tableRow",children:[]},e)}function z(e){this.exit(e)}function W(e){this.enter({type:"tableCell",children:[]},e)}function G(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,q));let n=this.stack[this.stack.length-1];(0,i.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function q(e,t){return"|"===t?t:e}function K(e){let t=this.stack[this.stack.length-2];(0,i.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function Y(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,i.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r;let i=t.children,a=-1;for(;++a<i.length;){let e=i[a];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function X(e,t,n,r){let i=e.children[0],a="boolean"==typeof e.checked&&i&&"paragraph"===i.type,o="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r);a&&s.move(o);let l=H.listItem(e,t,n,{...r,...s.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+o})),l}var Z=n(5389);let J={tokenize:function(e,t,n){let r=0;return function t(a){return(87===a||119===a)&&r<3?(r++,e.consume(a),t):46===a&&3===r?(e.consume(a),i):n(a)};function i(e){return null===e?n(e):t(e)}},partial:!0},Q={tokenize:function(e,t,n){let r,i,o;return s;function s(t){return 46===t||95===t?e.check(et,c,l)(t):null===t||(0,a.Ee)(t)||(0,a.Ny)(t)||45!==t&&(0,a.es)(t)?c(t):(o=!0,e.consume(t),s)}function l(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),s}function c(e){return i||r||!o?n(e):t(e)}},partial:!0},ee={tokenize:function(e,t){let n=0,r=0;return i;function i(s){return 40===s?(n++,e.consume(s),i):41===s&&r<n?o(s):33===s||34===s||38===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||60===s||63===s||93===s||95===s||126===s?e.check(et,t,o)(s):null===s||(0,a.Ee)(s)||(0,a.Ny)(s)?t(s):(e.consume(s),i)}function o(t){return 41===t&&r++,e.consume(t),i}},partial:!0},et={tokenize:function(e,t,n){return r;function r(s){return 33===s||34===s||39===s||41===s||42===s||44===s||46===s||58===s||59===s||63===s||95===s||126===s?(e.consume(s),r):38===s?(e.consume(s),o):93===s?(e.consume(s),i):60===s||null===s||(0,a.Ee)(s)||(0,a.Ny)(s)?t(s):n(s)}function i(e){return null===e||40===e||91===e||(0,a.Ee)(e)||(0,a.Ny)(e)?t(e):r(e)}function o(t){return(0,a.CW)(t)?function t(i){return 59===i?(e.consume(i),r):(0,a.CW)(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},en={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return(0,a.lV)(e)?n(e):t(e)}},partial:!0},er={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!el.call(r,r.previous)||ep(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(J,e.attempt(Q,e.attempt(ee,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:el},ei={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",o=!1;return function(t){return(72===t||104===t)&&ec.call(r,r.previous)&&!ep(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),s):n(t)};function s(t){if((0,a.CW)(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),s;if(58===t){let n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),o)?c:(o=!0,l):n(t)}function c(t){return null===t||(0,a.JQ)(t)||(0,a.Ee)(t)||(0,a.Ny)(t)||(0,a.es)(t)?n(t):e.attempt(Q,e.attempt(ee,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:ec},ea={name:"emailAutolink",tokenize:function(e,t,n){let r,i;let o=this;return function(t){return!ed(t)||!eu.call(o,o.previous)||ep(o.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return ed(r)?(e.consume(r),t):64===r?(e.consume(r),s):n(r)}(t))};function s(t){return 46===t?e.check(en,c,l)(t):45===t||95===t||(0,a.lV)(t)?(i=!0,e.consume(t),s):c(t)}function l(t){return e.consume(t),r=!0,s}function c(s){return i&&r&&(0,a.CW)(o.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(s)):n(s)}},previous:eu},eo={},es=48;for(;es<123;)eo[es]=ea,58==++es?es=65:91===es&&(es=97);function el(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||(0,a.Ee)(e)}function ec(e){return!(0,a.CW)(e)}function eu(e){return!(47===e||ed(e))}function ed(e){return 43===e||45===e||46===e||95===e||(0,a.lV)(e)}function ep(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}eo[43]=ea,eo[45]=ea,eo[46]=ea,eo[95]=ea,eo[72]=[ea,ei],eo[104]=[ea,ei],eo[87]=[ea,er],eo[119]=[ea,er];var eh=n(9283),ef=n(40433);let em={tokenize:function(e,t,n){let r=this;return(0,ef.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eg(e,t,n){let r;let i=this,a=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;a--;){let e=i.events[a][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}
14return function(a){if(!r||!r._balanced)return n(a);let s=(0,x.B)(i.sliceSerialize({start:r.end,end:i.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):n(a)}}function ey(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function ev(e,t,n){let r;let i=this,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),s=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(s>999||93===l&&!r||null===l||91===l||(0,a.Ee)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return o.includes((0,x.B)(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,a.Ee)(l)||(r=!0),s++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function eb(e,t,n){let r,i;let o=this,s=o.parser.gfmFootnotes||(o.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!i||null===t||91===t||(0,a.Ee)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,x.B)(o.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,a.Ee)(t)||(i=!0),l++,e.consume(t),92===t?d:u}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s.includes(r)||s.push(r),(0,ef.N)(e,h,"gfmFootnoteDefinitionWhitespace")):n(t)}function h(e){return t(e)}}function ex(e,t,n){return e.check(eh.B,t,e.attempt(em,t,n))}function ew(e){e.exit("gfmFootnoteDefinition")}var ej=n(82777),eC=n(10691),eE=n(45535);class ek{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function eS(e,t,n){let r;let i=this,o=0,s=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,a="tableHead"===r||"tableRow"===r?b:l;return a===b&&i.parser.lazy[i.now().line]?n(e):a(e)};function l(t){return e.enter("tableHead"),e.enter("tableRow"),124===t||(r=!0,s+=1),c(t)}function c(t){return null===t?n(t):(0,a.HP)(t)?s>1?(s=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,a.On)(t)?(0,ef.N)(e,c,"whitespace")(t):(s+=1,r&&(r=!1,o+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,a.Ee)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,a.On)(t))?(0,ef.N)(e,h,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):h(t)}function h(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function f(t){return(0,a.On)(t)?(0,ef.N)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(s+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(s+=1,g(t)):null===t||(0,a.HP)(t)?v(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(n))}(t)):n(t)}function y(t){return(0,a.On)(t)?(0,ef.N)(e,v,"whitespace")(t):v(t)}function v(i){return 124===i?h(i):null===i||(0,a.HP)(i)?r&&o===s?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i):n(i)}function b(t){return e.enter("tableRow"),x(t)}function x(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),x):null===n||(0,a.HP)(n)?(e.exit("tableRow"),t(n)):(0,a.On)(n)?(0,ef.N)(e,x,"whitespace")(n):(e.enter("data"),w(n))}function w(t){return null===t||124===t||(0,a.Ee)(t)?(e.exit("data"),x(t)):(e.consume(t),92===t?j:w)}function j(t){return 92===t||124===t?(e.consume(t),w):w(t)}}function eA(e,t){let n,r,i,a=-1,o=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0,p=new ek;for(;++a<e.length;){let h=e[a],f=h[1];"enter"===h[0]?"tableHead"===f.type?(u=!1,0!==d&&(e_(p,t,d,n,r),r=void 0,d=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(a,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(o=!0,i=void 0,l=[0,0,0,0],c=[0,a+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(a,0,[["enter",r,t]])),s="tableDelimiterRow"===f.type?2:r?3:1):s&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)?(o=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=eT(p,t,l,s,void 0,i),l=[0,0,0,0]),c[2]=a)):"tableCellDivider"===f.type&&(o?o=!1:(0!==l[1]&&(c[0]=c[1],i=eT(p,t,l,s,void 0,i)),c=[(l=c)[1],a,0,0])):"tableHead"===f.type?(u=!0,d=a):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=a,0!==l[1]?(c[0]=c[1],i=eT(p,t,l,s,a,i)):0!==c[1]&&(i=eT(p,t,c,s,a,i)),s=0):s&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)&&(c[3]=a)}for(0!==d&&e_(p,t,d,n,r),p.consume(t.events),a=-1;++a<t.events.length;){let e=t.events[a];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left"
14:"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,a))}return e}function eT(e,t,n,r,i,a){0!==n[0]&&(a.end=Object.assign({},eL(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));let o=eL(t.events,n[1]);if(a={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},o),end:Object.assign({},o)},e.add(n[1],0,[["enter",a,t]]),0!==n[2]){let i=eL(t.events,n[2]),a=eL(t.events,n[3]),o={type:"tableContent",start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[["enter",o,t]]),2!==r){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",o,t]])}return void 0!==i&&(a.end=Object.assign({},eL(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function e_(e,t,n,r,i){let a=[],o=eL(t.events,n);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),r.end=Object.assign({},o),a.push(["exit",r,t]),e.add(n+1,0,a)}function eL(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eN={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return(0,a.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),s):n(t)}function s(r){return(0,a.HP)(r)?t(r):(0,a.On)(r)?e.check({tokenize:eP},t,n)(r):n(r)}}};function eP(e,t,n){return(0,ef.N)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eI={};function eM(e){let t=e||eI,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),a=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push((0,Z.y)([{text:eo},{document:{91:{name:"gfmFootnoteDefinition",tokenize:eb,continuation:{tokenize:ex},exit:ew}},text:{91:{name:"gfmFootnoteCall",tokenize:ev},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eg,resolveTo:ey}}},function(e){let t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,r){let i=this.previous,a=this.events,o=0;return function(s){return 126===i&&"characterEscape"!==a[a.length-1][1].type?r(s):(e.enter("strikethroughSequenceTemporary"),function a(s){let l=(0,eC.S)(i);if(126===s)return o>1?r(s):(e.consume(s),o++,a);if(o<2&&!t)return r(s);let c=e.exit("strikethroughSequenceTemporary"),u=(0,eC.S)(s);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,n(s)}(s))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},o=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",a,t]],s=t.parser.constructs.insideSpan.null;s&&(0,ej.m)(o,o.length,0,(0,eE.W)(s,e.slice(r+1,n),t)),(0,ej.m)(o,o.length,0,[["exit",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),(0,ej.m)(e,r-1,n-r+3,o),n=r+o.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}}(t),{flow:{null:{name:"table",tokenize:eS,resolveAll:eA}}},{text:{91:eN}}
14])),i.push([{transforms:[g],enter:{literalAutolink:u,literalAutolinkEmail:d,literalAutolinkHttp:d,literalAutolinkWww:d},exit:{literalAutolink:m,literalAutolinkEmail:f,literalAutolinkHttp:p,literalAutolinkWww:h}},{enter:{gfmFootnoteDefinition:w,gfmFootnoteDefinitionLabelString:j,gfmFootnoteCall:k,gfmFootnoteCallString:S},exit:{gfmFootnoteDefinition:E,gfmFootnoteDefinitionLabelString:C,gfmFootnoteCall:T,gfmFootnoteCallString:A}},{canContainEols:["delete"],enter:{strikethrough:I},exit:{strikethrough:M}},{enter:{table:V,tableData:W,tableHeader:W,tableRow:U},exit:{codeText:G,table:$,tableData:z,tableHeader:z,tableRow:z}},{exit:{taskListCheckValueChecked:K,taskListCheckValueUnchecked:K,paragraph:Y}}]),a.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:l,notInConstruct:c},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:l,notInConstruct:c},{character:":",before:"[ps]",after:"\\/",inConstruct:l,notInConstruct:c}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:L,footnoteReference:_}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:P}],handlers:{delete:O}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=H.inlineCode(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return s(function(e,t,n){let r=e.children,i=-1,a=[],o=t.enter("table");for(;++i<r.length;)a[i]=l(r[i],t,n);return o(),a}(e,n,r),e.align)},tableCell:o,tableRow:function(e,t,n,r){let i=s([l(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function o(e,t,n,r){let i=n.enter("tableCell"),o=n.enter("phrasing"),s=n.containerPhrasing(e,{...r,before:a,after:a});return o(),i(),s}function s(e,t){return function(e,t={}){let n=(t.align||[]).concat(),r=t.stringLength||R,i=[],a=[],o=[],s=[],l=0,c=-1;for(;++c<e.length;){let n=[],i=[],d=-1;for(e[c].length>l&&(l=e[c].length);++d<e[c].length;){var u;let a=null==(u=e[c][d])?"":String(u);if(!1!==t.alignDelimiters){let e=r(a);i[d]=e,(void 0===s[d]||e>s[d])&&(s[d]=e)}n.push(a)}a[c]=n,o[c]=i}let d=-1;if("object"==typeof n&&"length"in n)for(;++d<l;)i[d]=D(n[d]);else{let e=D(n);for(;++d<l;)i[d]=e}d=-1;let p=[],h=[];for(;++d<l;){let e=i[d],n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":");let a=!1===t.alignDelimiters?1:Math.max(1,s[d]-n.length-r.length),o=n+"-".repeat(a)+r;!1!==t.alignDelimiters&&((a=n.length+a+r.length)>s[d]&&(s[d]=a),h[d]=a),p[d]=o}a.splice(1,0,p),o.splice(1,0,h),c=-1;let f=[];for(;++c<a.length;){let e=a[c],n=o[c];d=-1;let r=[];for(;++d<l;){let a=e[d]||"",o="",c="";if(!1!==t.alignDelimiters){let e=s[d]-(n[d]||0),t=i[d];114===t?o=" ".repeat(e):99===t?e%2?(o=" ".repeat(e/2+.5),c=" ".repeat(e/2-.5)):c=o=" ".repeat(e/2):c=" ".repeat(e)}!1===t.delimiterStart||d||r.push("|"),!1!==t.padding&&!(!1===t.alignDelimiters&&""===a)&&(!1!==t.delimiterStart||d)&&r.push(" "),!1!==t.alignDelimiters&&r.push(o),r.push(a),!1!==t.alignDelimiters&&r.push(c),!1!==t.padding&&r.push(" "),(!1!==t.delimiterEnd||d!==l-1)&&r.push("|")}f.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return f.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){let r=e.children,i=-1,a=[],s=t.enter("tableRow");for(;++i<r.length;)a[i]=o(r[i],e,t,n);return s(),a}}(t),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:X}}]})}},42001:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(10938).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}
14,42464:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});let r=(e,t,n)=>n>t?t:n<e?e:n},42543:(e,t,n)=>{"use strict";n.d(t,{A9:()=>g,Ay:()=>f,EJ:()=>x,Gn:()=>A,Hi:()=>j,KG:()=>T,N7:()=>y,Sq:()=>b,U8:()=>_,Xi:()=>k,bB:()=>C,dk:()=>v,fN:()=>E,o0:()=>S,v5:()=>m,w$:()=>L});var r=n(58775),i=n(2050),a=n(5501),o=n(90777),s=n(30200),l=n(85742),c=n(86188),u=n(98722),d=n.n(u);n(73884);var p=n(34164),h=n(93627);let f=function({item:e}){let{t}=(0,h.Bd)();return e?.title?(0,r.jsx)("article",{className:"group relative flex flex-col",children:(0,r.jsxs)("div",{className:"overflow-hidden rounded-xl bg-coral-deep px-6 pt-6 text-white md:px-16 md:pt-12",children:[(0,r.jsxs)("div",{className:"max-w-[41.125rem] space-y-4 md:space-y-6",children:[(0,r.jsx)(T,{colourClass:"text-coral-light",contentType:e.contentType,readTime:e?.readTime}),(0,r.jsx)(d(),{href:e?.slug??"#",className:"heading-link",children:(0,r.jsx)("h2",{className:"text-h4 is-smaller",dangerouslySetInnerHTML:{__html:e.title}})}),(0,r.jsx)(l.Y,{link:{title:t("Read more")},className:"text-white group-hover:text-coral-primary"})]}),(0,r.jsxs)("div",{className:"relative mt-4 aspect-[214/85] w-full translate-y-2 overflow-hidden rounded-t-xl bg-white/10 transition-transform duration-[700ms] group-hover:translate-y-0 md:mt-6",children:[(0,r.jsx)(o.A,{colour:"Deep / Burgundy",position:"topLeft",width:15,radius:12}),e?.coverImage?(0,r.jsx)(s.A,{image:e.coverImage,height:430,width:1081,isPriority:!0,className:"h-full w-full object-cover"}):null]})]})}):null};function m({item:e,parentColour:t="White"}){let{t:n}=(0,h.Bd)();return e?.title?(0,r.jsxs)("article",{className:"group relative flex h-full flex-col",children:[(0,r.jsxs)("div",{className:"flex h-full flex-col rounded-xl bg-coral-pastel p-6 text-black lg:px-8 lg:py-10",children:[(0,r.jsx)("div",{className:"mb-6 md:mb-[3.3rem]",children:(0,r.jsx)(T,{colourClass:"text-coral-dark",contentType:e?.tag||e?.contentType,readTime:e?.readTime})}),(0,r.jsx)(d(),{href:e?.slug??"#",className:"heading-link",children:(0,r.jsx)("h2",{className:"text-h7 mb-5 md:mb-[1.3rem]",dangerouslySetInnerHTML:{__html:e?.title}})}),(0,r.jsx)(l.Y,{link:{title:n("Read more")},className:"mt-auto text-black group-hover:text-coral-shade"})]}),(0,r.jsx)(o.A,{colour:"White",position:"bottomRight",width:20,radius:12})]}):null}function g({item:e,parentColour:t="White"}){let{t:n}=(0,h.Bd)();return e?.title?(0,r.jsxs)("article",{className:"group relative h-full",children:[(0,r.jsxs)("div",{className:"flex h-full flex-col rounded-xl bg-coral-dark p-6 text-white lg:px-8 lg:py-10",children:[(0,r.jsx)("div",{className:"mb-6 md:mb-[3.3rem]",children:(0,r.jsx)(T,{colourClass:"text-coral-light",contentType:e?.tag||e?.contentType,readTime:e?.readTime})}),(0,r.jsx)(d(),{href:e?.slug??"#",className:"heading-link",children:(0,r.jsx)("h2",{className:"text-h6 mb-5 max-w-[32.375rem] md:mb-[1.3rem]",dangerouslySetInnerHTML:{__html:e?.title}})}),(0,r.jsx)(l.Y,{link:{title:n("Read more")},className:"mt-auto text-white group-hover:text-coral-light"})]}),(0,r.jsx)(o.A,{colour:t||"White",position:"bottomRight",width:20,radius:12})]}):null}function y({item:e,hasAuthor:t=!0,showExcerpt:n=!1,isEvent:a=!1,isLarge:o=!1}){let{t:l}=(0,h.Bd)(),u=e?.slug||"/#",f=c.YZ.some(e=>u.startsWith(`/${e}/`)),m=u.startsWith("/en/")?u.slice(3):u,g=!!(m.includes("https://contentsquare.com")||m.startsWith("/"));return(0,r.jsxs)("article",{className:"group relative flex flex-col",children:[(0,r.jsx)("div",{className:"relative mb-5 aspect-[312/163] w-full overflow-hidden rounded-[.375rem] bg-paleGrey",children:e?.coverImage&&(0,r.jsx)(s.A,{image:e?.coverImage,width:624,height:326,className:"transition-scale h-full w-full object-cover duration-500 group-hover:scale-[1.04]"})}),(0,r.jsxs)("div",{className:"flex flex-auto flex-col",children:[(0,r.jsxs)("div",{className:"flex-auto",children:[(0,r.jsx)("div",{className:"mb-2 md:mb-3",children:(0,r.jsx)(T,{colourClass:(0,i.vC)(e?.contentType),contentType:e?.tag||e?.eventType||e?.contentType,webinarEventDate:e?.webinarEventDate,readTime:e?.readTime,isPastEvent:e?.isPastEvent})}),e.tags&&e.tags.length>0&&(0,r.jsx)("div",{className:"mb-4 flex flex-wrap gap-2",children:e.tags.map((e,t)=>(0,r.jsx)("span",{className:(0,p.A)("text-12 rounded bg-lilac-dark px-3 py-1.5 font-medium !leading-none text-white"),dangerouslySetInnerHTML:{__html:l(e)}},e))}),(0,r.jsx)(d(),{href:m,locale:!f&&void 0,className:"heading-link",target:g?"_self":"_blank",rel:g?"":"noopener noreferrer",children:(0,r.jsx)("h3",{className:`${o?"text-h6 md:mt-4":"text-h7"}`,dangerouslySetInnerHTML:{__html:e?.title||"The State of Digital Experience Analytics: Key Players & Capabilities"}})}),(o||n)&&e?.excerpt?.length>0&&(0,r.jsx)("p",{className:"text-16 mt-2 !leading-[1.4] md:mt-3",dangerouslySetInnerHTML:{__html:e?.excerpt}})]}),t&&e?.author&&(0,r.jsxs)("div",{className:"flex items-center space-x-3 pt-3 md:pt-4",children:[(0,r.jsx)("div",{className:"h-[1.75rem] w-[1.75rem] shrink-0 overflow-hidden rounded-full bg-lime-primary",children:e?.author?.image&&(0,r.jsx)(s.A,{image:e.author.image,className:"h-full w-full object-cover"})}),(0,r.jsxs)("div",{className:"text-14",children:[(0,r.jsx)("h4",{className:"text-14 !font-medium !leading-[1]",dangerouslySetInnerHTML:{__html:e.author?.authorName}}),(0,r.jsx)("span",{className:"!leading-[1] opacity-65",dangerouslySetInnerHTML:{__html:e.author?.role}})]})]})]})]})}function v({item:e}){let{t}=(0,h.Bd)();return(0,r.jsxs)("article",{className:"group relative flex flex-col",children:[(0,r.jsxs)("div",{className:"space-y-6 rounded-xl bg-lime-deep p-6 text-white md:flex md:items-center md:justify-between md:space-x-6 md:space-y-0 md:py-[2.625rem] md:pl-12 md:pr-8",children:[(0,r.jsxs)("div",{className:"space-y-4 md:max-w-[16rem] md:space-y-6 lg:max-w-[23.625rem]",children:[(0,r.jsx)(T,{contentType:e.contentType,readTime:e?.readTime}),(0,r.jsx)(d(),{href:e?.slug??"#",className:"heading-link",children:(0,r.jsx)("h2",{className:"text-h5",dangerouslySetInnerHTML:{__html:e.title}}
14)}),(0,r.jsx)(l.Y,{link:{title:t("Read more")},className:"text-white group-hover:text-lime-primary"})]}),(0,r.jsxs)("div",{className:"relative aspect-[252/131] w-full overflow-hidden rounded-xl bg-white/20 md:max-w-[31.5rem]",children:[(0,r.jsx)(o.A,{colour:"Deep / Forest",position:"topRight",width:18,height:28,radius:12}),(0,r.jsx)(o.A,{colour:"Deep / Forest",position:"bottomLeft",width:8,height:18,radius:8}),e?.coverImage&&(0,r.jsx)(s.A,{image:e?.coverImage,width:504,isPriority:!0,className:"h-full w-full object-cover"})]})]}),(0,r.jsx)(o.I,{})]})}function b({item:e}){let{t}=(0,h.Bd)();return(0,r.jsx)("article",{className:"group relative flex flex-col",children:(0,r.jsxs)("div",{className:"overflow-hidden rounded-xl sm:flex sm:justify-between",children:[e?.coverImage&&(0,r.jsx)(s.A,{image:e?.coverImage,width:1584,isPriority:!0,className:"h-full w-full object-cover sm:hidden"}),(0,r.jsxs)("div",{className:"relative space-y-4 rounded-[12px] bg-lime-pastel p-6 sm:mr-6 sm:max-w-[16rem] sm:space-y-6 lg:max-w-[363px] lg:p-8",children:[(0,r.jsx)(T,{contentType:e.contentType,readTime:e?.readTime}),(0,r.jsx)(d(),{href:e?.slug??"#",className:"heading-link",children:(0,r.jsx)("h2",{className:"text-h5",dangerouslySetInnerHTML:{__html:e.title}})}),(0,r.jsx)(l.Y,{link:{title:t("Read more")},className:""}),(0,r.jsxs)("div",{className:"hidden sm:block",children:[(0,r.jsx)("div",{className:"h-5"}),(0,r.jsx)(o.A,{colour:"White",position:"bottomLeft",width:20,height:25,radius:8})]})]}),(0,r.jsxs)("div",{className:"relative hidden aspect-[792/393] w-full overflow-hidden rounded-xl sm:block",children:[(0,r.jsx)(o.A,{colour:"White",position:"topLeft",width:18,height:28,radius:12}),(0,r.jsx)(o.A,{colour:"White",position:"bottomRight",width:15,height:28,radius:8}),e?.coverImage&&(0,r.jsx)(s.A,{image:e?.coverImage,width:1584,isPriority:!0,className:"h-full w-full object-cover"})]})]})})}function x({item:e,noBorder:t=!1}){let{t:n}=(0,h.Bd)();return(0,r.jsx)("article",{className:`group relative flex flex-col md:pr-6 lg:pr-8 ${t?"":"md:border-r md:border-black/10"}`,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mb-6 lg:mb-12",children:(0,r.jsx)(T,{colourClass:"text-lime-dark",contentType:e?.contentType,readTime:e?.readTime})}),(0,r.jsx)(d(),{href:e?.slug??"#",className:"heading-link",children:(0,r.jsx)("h2",{className:"text-h7 mb-5 md:mb-[1.3rem]",dangerouslySetInnerHTML:{__html:e?.title}})}),(0,r.jsx)(l.Y,{link:{title:n("Read more")},className:"text-black group-hover:text-lime-shade"})]})})}function w({isSmall:e=!1,item:t}){let{t:n}=(0,h.Bd)(),i=[""],a=[""];return e?(i.push("rounded-[0.375rem] w-[73%] translate-y-2 max-w-[11.25rem] p-[4%] pt-[8%]"),a.push("is-smaller rounded-sm px-[0.4375rem] py-[.3rem]")):(i.push("ml-[5%] max-w-[16.875rem] translate-y-3 lg:translate-y-6 rounded-t-lg w-2/3 p-[5%] pt-[10%]"),a.push("rounded-sm px-[0.4375rem] py-[.3rem] md:px-[.6rem] md:py-[.38rem] md:rounded")),(0,r.jsxs)("div",{className:`flex aspect-[9/11] flex-col justify-between bg-white pb-0 text-lilac-deep ${i?.join(" ")}`,"aria-hidden":"true",children:[(0,r.jsx)("span",{className:`thumbnail-heading line-clamp-3 font-inter font-medium leading-[1.2] ${e?"is-smaller":""}`,dangerouslySetInnerHTML:{__html:t?.title}}),(0,r.jsxs)("div",{className:"relative mt-2 aspect-[157/115] w-full overflow-hidden rounded-lg bg-black/20",children:[(0,r.jsx)(s.A,{image:t?.coverImage,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-[700ms] group-hover:scale-[1.1]"}),(0,r.jsx)(o.A,{colour:"White",position:"bottomLeft",width:30,height:e?30:60,radius:e?5:6,children:(0,r.jsx)("div",{className:e?"pb-3 pr-[.35rem] pt-1":"pb-4 pr-[.35rem] pt-1 md:pb-5 md:pr-2 md:pt-2 lg:pb-8",children:(0,r.jsx)("span",{className:`thumbnail-tag inline-flex bg-lilac-light text-black ${a?.join(" ")}`,dangerouslySetInnerHTML:{__html:n("eBook")}})})})]})]})}function j({item:e}){let{t}=(0,h.Bd)();return(0,r.jsx)("article",{className:"group relative flex flex-col",children:(0,r.jsxs)("div",{className:"space-y-6 rounded-xl bg-lilac-deep p-6 text-white md:flex md:items-center md:justify-between md:space-x-6 md:space-y-0 lg:pl-12",children:[(0,r.jsxs)("div",{className:"space-y-4 md:max-w-[18rem] md:space-y-6 xl:max-w-[27rem]",children:[(0,r.jsx)(T,{contentType:e?.contentType,readTime:e?.readTime}),(0,r.jsx)(d(),{href:e?.slug||"#",className:"heading-link",children:(0,r.jsx)("h2",{className:"text-h4",dangerouslySetInnerHTML:{__html:e?.title}}
14)}),(0,r.jsx)(l.Y,{link:{title:t("Read more")},className:"text-white"})]}),(0,r.jsxs)("div",{className:"relative flex aspect-[100/93] w-full items-end justify-center overflow-hidden rounded-xl bg-lilac-primary md:max-w-[25rem]",children:[(0,r.jsx)(w,{isSmall:!1,item:e}),(0,r.jsx)(o.A,{colour:"Deep / Midnight",position:"topLeft",width:13,height:56,radius:12}),(0,r.jsx)(o.A,{colour:"Deep / Midnight",position:"bottomRight",width:6.5,height:18,radius:8})]})]})})}function C({item:e}){let{t}=(0,h.Bd)();return(0,r.jsxs)("article",{className:"group relative flex flex-col",children:[(0,r.jsxs)("div",{className:"space-y-3 overflow-hidden rounded-xl bg-lilac-pastel px-6 pt-8 text-black md:px-5 md:pt-6 lg:space-y-5 lg:px-8 lg:pt-8",children:[(0,r.jsx)(T,{colourClass:"text-lilac-dark",contentType:e?.contentType,readTime:e?.readTime}),(0,r.jsx)(d(),{href:e?.slug||"#",className:"heading-link",children:(0,r.jsx)("h2",{className:"text-h7",dangerouslySetInnerHTML:{__html:e?.title||"The State of Digital Experience Analytics: Key Players & Capabilities"}})}),(0,r.jsx)(l.Y,{link:{title:t("Read more")},className:"text-black"}),(0,r.jsx)(w,{isSmall:!0,item:e})]}),(0,r.jsx)(o.A,{colour:"White",position:"bottomRight",width:20,radius:12})]})}function E({item:e}){let{t}=(0,h.Bd)();return(0,r.jsx)("article",{className:"group relative flex flex-col",children:(0,r.jsxs)("div",{className:"rounded-xl bg-lime-deep p-6 text-white md:pt-8 lg:pt-10",children:[(0,r.jsxs)("div",{className:"space-y-3 md:max-w-[29.625rem] lg:space-y-6",children:[(0,r.jsx)(T,{isPastEvent:e?.isPastEvent,webinarEventDate:e?.webinarEventDate,contentType:e?.eventType}),(0,r.jsx)(d(),{href:e?.slug||"/#",className:"heading-link",children:(0,r.jsx)("h2",{className:"text-h5",dangerouslySetInnerHTML:{__html:e?.title||""}})}),(0,r.jsx)(l.Y,{link:{title:t("Read more")},className:"text-white"})]}),(0,r.jsx)("div",{className:"relative mt-8 aspect-[67/35] w-full overflow-hidden rounded-[0.625rem] bg-white/20 lg:mt-[2.75rem]",children:(0,r.jsx)(s.A,{image:e?.coverImage,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-[700ms] group-hover:scale-[1.1]"})})]})})}function k({item:e}){let{t}=(0,h.Bd)();return(0,r.jsx)("article",{className:"group relative flex h-full flex-col",children:(0,r.jsxs)("div",{className:"rounded-xl bg-lime-pastel p-4 pb-6 md:h-full",children:[(0,r.jsx)("div",{className:"relative mb-8 aspect-[171/89] overflow-hidden rounded-lg bg-black/10 lg:mb-[3.375rem]",children:(0,r.jsx)(s.A,{image:e?.coverImage,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-[700ms] group-hover:scale-[1.1]"})}),(0,r.jsxs)("div",{className:"space-y-3 lg:space-y-6",children:[(0,r.jsx)(T,{isPastEvent:e?.isPastEvent,webinarEventDate:e?.webinarEventDate,contentType:e?.eventType}),(0,r.jsxs)("div",{children:[(0,r.jsx)(d(),{href:e?.slug||"/#",className:"heading-link",children:(0,r.jsx)("h2",{className:"text-h6 mb-2 lg:mb-3",dangerouslySetInnerHTML:{__html:e?.title||""}})}),(0,r.jsx)("p",{className:"text-16 text-grey-dark",dangerouslySetInnerHTML:{__html:e?.excerpt||""}})]}),(0,r.jsx)(l.Y,{link:{title:t("Read more")},className:"text-black"})]})]})})}function S({item:e,borderColour:t}){return(0,r.jsxs)("article",{className:(0,p.A)("group relative flex flex-col border px-5 py-8 lg:px-8 lg:py-[2.875rem]",t),children:[(0,r.jsx)(d(),{href:e?.slug||"/#",className:"heading-link",children:(0,r.jsx)("h3",{className:"text-h7",dangerouslySetInnerHTML:{__html:e.title}})}),e?.excerpt?.length>0&&(0,r.jsx)("p",{className:"text-16 mt-2 lg:mt-3",dangerouslySetInnerHTML:{__html:e.excerpt}}),(0,r.jsx)("div",{className:"mt-4 lg:mt-6",children:(0,r.jsx)(T,{contentType:e?.contentType,readTime:e?.readTime,webinarEventDate:e?.webinarEventDate,colourClass:(0,i.vC)(e?.contentType)})})]},e.id)}function A({item:e,borderColour:t}){return(0,r.jsxs)("article",{className:(0,p.A)("group relative flex h-full flex-col border px-5 py-6 lg:p-6 lg:pt-[2.25rem]",t),children:[(0,r.jsxs)("div",{className:"mb-8 lg:mb-12",children:[(0,r.jsx)(d(),{href:e?.slug||"/#",className:"heading-link",children:(0,r.jsx)("h3",{className:"text-h7 line-clamp-2",dangerouslySetInnerHTML:{__html:e.title}}
14)}),e?.excerpt?.length>0&&(0,r.jsx)("p",{className:"text-16 tex-grey-dark mt-2 lg:mt-3",dangerouslySetInnerHTML:{__html:e.excerpt}}),(0,r.jsx)("div",{className:"mt-4 lg:mt-6",children:(0,r.jsx)(T,{contentType:e?.contentType,readTime:e?.readTime,webinarEventDate:e?.webinarEventDate,colourClass:(0,i.vC)(e?.contentType)})})]}),(0,r.jsx)("div",{className:"relative mt-auto aspect-[316/170] w-full overflow-hidden rounded bg-paleGrey",children:(0,r.jsx)(s.A,{image:e?.coverImage,width:632,className:"h-full w-full object-cover transition-transform duration-[700ms] group-hover:scale-[1.1]"})})]},e.id)}function T({colourClass:e,contentType:t,tags:n=[],readTime:i,isEvent:o=!1,webinarEventDate:s=null,isPastEvent:l=!1}){let{t:u}=(0,h.Bd)(),d=t?.toLowerCase()==="event"||t?.toLowerCase()==="webinar",p="postTypeNews"===t,f="interactiveAssetHub"===t;return(0,r.jsxs)("div",{className:"text-14 mb-4 space-x-2 !font-medium",children:[d&&(0,r.jsx)("span",{className:"inline-block rounded bg-lime-pastel px-[.38rem] py-[.14rem] text-lime-dark",dangerouslySetInnerHTML:{__html:l?u("Past"):u("Upcoming")}}),t&&!d&&!f&&!p&&(0,r.jsx)("span",{className:e||"",dangerouslySetInnerHTML:{__html:u(c.Wy[t]||t)}}),n?.length>0&&n.map((t,n)=>(0,r.jsx)("span",{className:e||"",dangerouslySetInnerHTML:{__html:u(t)}},n)),s&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"opacity-20",dangerouslySetInnerHTML:{__html:"â"}}),(0,r.jsx)(a.Q,{date:s})]}),i&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"opacity-20",dangerouslySetInnerHTML:{__html:"â"}}),(0,r.jsx)("span",{className:"opacity-80",dangerouslySetInnerHTML:{__html:`${i} ${u("min read")}`}})]})]})}function _({item:e}){let{t}=(0,h.Bd)(),n=!!(e?.slug.includes("https://contentsquare.com")||e?.slug.startsWith("/"));return(0,r.jsx)("article",{className:"group relative flex flex-col",children:(0,r.jsxs)("div",{className:"rounded-xl bg-lilac-deep p-6 text-white md:pt-8 lg:pt-10",children:[(0,r.jsxs)("div",{className:"space-y-3 lg:space-y-6",children:[e.tags&&e.tags.length>0&&(0,r.jsx)("div",{className:"mb-4 flex flex-wrap gap-2",children:e.tags.map((e,n)=>(0,r.jsx)("span",{className:(0,p.A)("text-14 rounded bg-lilac-pastel px-3 py-1.5 font-medium !leading-none text-lilac-deep"),dangerouslySetInnerHTML:{__html:t(e)}},e))}),(0,r.jsx)(d(),{href:e?.slug||"/#",className:"heading-link",target:n?"_self":"_blank",rel:n?"":"noopener noreferrer",children:(0,r.jsx)("h2",{className:"text-h5",dangerouslySetInnerHTML:{__html:e?.title||""}})}),(0,r.jsx)("p",{className:"text-16",dangerouslySetInnerHTML:{__html:e?.excerpt||""}}),(0,r.jsx)(l.Y,{link:{title:t("Read more")},className:"text-white"})]}),(0,r.jsx)("div",{className:"relative mt-8 aspect-[67/35] w-full overflow-hidden rounded-[0.625rem] bg-white/20 lg:mt-[2.75rem]",children:(0,r.jsx)(s.A,{image:e?.coverImage,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-[700ms] group-hover:scale-[1.1]"})})]})})}function L({item:e}){let{t}=(0,h.Bd)(),n=!!(e?.slug.includes("https://contentsquare.com")||e?.slug.startsWith("/"));return(0,r.jsx)("article",{className:"group relative flex h-full flex-col",children:(0,r.jsxs)("div",{className:"rounded-xl bg-lilac-pastel p-4 pb-6 md:h-full",children:[(0,r.jsx)("div",{className:"relative mb-8 aspect-[171/89] overflow-hidden rounded-lg bg-black/10 lg:mb-[1.375rem]",children:(0,r.jsx)(s.A,{image:e?.coverImage,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-[700ms] group-hover:scale-[1.1]"})}),(0,r.jsxs)("div",{className:"space-y-3 lg:space-y-6",children:[(0,r.jsxs)("div",{children:[e.tags&&e.tags.length>0&&(0,r.jsx)("div",{className:"mb-4 flex flex-wrap gap-2",children:e.tags.map((e,n)=>(0,r.jsx)("span",{className:(0,p.A)("text-14 rounded bg-lilac-deep px-3 py-1.5 font-medium !leading-none text-lilac-pastel"),dangerouslySetInnerHTML:{__html:t(e)}},e))}),(0,r.jsx)(d(),{href:e?.slug||"/#",className:"heading-link",target:n?"_self":"_blank",rel:n?"":"noopener noreferrer",children:(0,r.jsx)("h2",{className:"text-h6 mb-2 lg:mb-3",dangerouslySetInnerHTML:{__html:e?.title||""}})}),(0,r.jsx)("p",{className:"text-16 text-grey-dark",dangerouslySetInnerHTML:{__html:e?.excerpt||""}})]}),(0,r.jsx)(l.Y,{link:{title:t("Read more")},className:"text-black"})]})]})})}},42634:()=>{},43206:(e,t,n)=>{"use strict";n.d(t,{f:()=>S});var r=n(23033),i=n(77331),a=n(10104),o=n(74668),s=n(39652),l=n(41533),c=n(10309),u=n(44768),d=n(84868),p=n(44721),h=n(23208),f=n(17966);let m=new Set(["opacity","clipPath","filter","transform"]);var g=n(78072);let y=(0,n(54435).p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),v={anticipate:c.b,backInOut:u.ZZ,circInOut:d.tn};class b extends h.i{constructor(e){super(e);let{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new p.K(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n,i;let{duration:a=300,times:o,ease:s,type:l,motionValue:c,name:u,startTime:d}=this.options;if(!(null===(n=c.owner)||void 0===n?void 0:n.current))return!1;if("string"==typeof s&&(0,r.nL)()&&s in v&&(s=v[s]),i=this.options,
14(0,r.WH)(i.type)||"spring"===i.type||!(0,r.yL)(i.ease)){let{onComplete:t,onUpdate:n,motionValue:r,element:i,...c}=this.options,u=function(e,t){let n=new f.o({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],a=0;for(;!r.done&&a<2e4;)i.push((r=n.sample(a)).value),a+=10;return{times:void 0,keyframes:i,duration:a-10,ease:"linear"}}(e,c);1===(e=u.keyframes).length&&(e[1]=e[0]),a=u.duration,o=u.times,s=u.ease,l="keyframes"}let p=function(e,t,n,{delay:i=0,duration:a=300,repeat:o=0,repeatType:s="loop",ease:l="easeInOut",times:c}={}){let u={[t]:n};c&&(u.offset=c);let d=(0,r.TU)(l,a);return Array.isArray(d)&&(u.easing=d),e.animate(u,{delay:i,duration:a,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(c.owner.current,u,e,{...this.options,duration:a,times:o,ease:s});return p.startTime=null!=d?d:this.calcStartTime(),this.pendingTimeline?((0,r.vG)(p,this.pendingTimeline),this.pendingTimeline=void 0):p.onfinish=()=>{let{onComplete:n}=this.options;c.set((0,g.X)(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:p,duration:a,times:o,type:l,ease:s,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return(0,i.X)(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(0,i.X)(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=(0,i.f)(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return l.l;let{animation:n}=t;(0,r.vG)(n,e)}else this.pendingTimeline=e;return l.l}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:a,ease:o,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:l,element:c,...u}=this.options,d=new f.o({...u,keyframes:n,duration:r,type:a,ease:o,times:s,isGenerator:!0}),p=(0,i.f)(this.time);e.setWithVelocity(d.sample(p-10).value,d.sample(p).value,10)}let{onStop:l}=this.options;l&&l(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o}=e;return y()&&n&&m.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==i&&0!==a&&"inertia"!==o}}var x=n(72443);let w={type:"spring",stiffness:500,damping:25,restSpeed:10},j=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),C={type:"keyframes",duration:.8},E={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},k=(e,{keyframes:t})=>t.length>2?C:x.f.has(e)?e.startsWith("scale")?j(t[1]):w:E,S=(e,t,n,l={},c,u)=>d=>{let p=(0,r.rU)(l,e)||{},h=p.delay||l.delay||0,{elapsed:m=0}=l;m-=(0,i.f)(h);let y={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...p,delay:-m,onUpdate:e=>{t.set(e),p.onUpdate&&p.onUpdate(e)},onComplete:()=>{d(),p.onComplete&&p.onComplete()},name:e,motionValue:t,element:u?void 0:c};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:o,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length}(p)&&(y={...y,...k(e,y)}),y.duration&&(y.duration=(0,i.f)(y.duration)),y.repeatDelay&&(y.repeatDelay=(0,i.f)(y.repeatDelay)),void 0!==y.from&&(y.keyframes[0]=y.from);let v=!1;if(!1!==y.type&&(0!==y.duration||y.repeatDelay)||(y.duration=0,0!==y.delay||(v=!0)),(s.d.current||o.W.skipAnimations)&&(v=!0,y.duration=0,y.delay=0),v&&!u&&void 0!==t.get()){let e=(0,g.X)(y.keyframes,p);if(void 0!==e)return a.Gt.update(()=>{y.onUpdate(e),y.onComplete()}),new r.P6([])}return!u&&b.supports(y)?new b(y):new f.o(y)}},43908:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});var r=n(12495),i=n.n(r);let a=(e="")=>{let t=e.replace(/^#/,"");return i()(t,{lower:!0,strict:!0})||e?.replace(/\s+/g,"-")}},44106:(e,t)=>
14{(e.exports=function(e,t,r,i){return JSON.stringify(e,n(t,i),r)}).getSerialize=n;function n(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(t)).join(".")+"]"}),function(i,a){if(n.length>0){var o=n.indexOf(this);~o?n.splice(o+1):n.push(this),~o?r.splice(o,1/0,i):r.push(i),~n.indexOf(a)&&(a=t.call(this,i,a))}else n.push(a);return null==e?a:e.call(this,i,a)}}},44363:(e,t,n)=>{"use strict";e.exports=n(22799)},44582:(e,t,n)=>{"use strict";let r;n.d(t,{k:()=>s});var i=n(74668),a=n(10104);function o(){r=void 0}let s={now:()=>(void 0===r&&s.set(a.uv.isProcessing||i.W.useManualTiming?a.uv.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(o)}}},44721:(e,t,n)=>{"use strict";n.d(t,{K:()=>m});var r=n(77312),i=n(15972),a=n(30615),o=n(45320);let s=new Set(["auto","none","0"]);var l=n(24835),c=n(8104),u=n(89652),d=n(40568);let p=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;var h=n(73420),f=n(25141);class m extends l.h{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),(0,d.p)(r))){let i=function e(t,n,r=1){(0,c.V)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,a]=function(e){let t=p.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${null!=n?n:r}`,i]}(t);if(!i)return;let o=window.getComputedStyle(n).getPropertyValue(i);if(o){let e=o.trim();return(0,u.i)(e)?parseFloat(e):e}return(0,d.p)(a)?e(a,n,r+1):a}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!i.$.has(n)||2!==e.length)return;let[r,a]=e,o=(0,f.n)(r),s=(0,f.n)(a);if(o!==s){if((0,h.E4)(o)&&(0,h.E4)(s))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++){var i;("number"==typeof(i=e[t])?0===i:null===i||"none"===i||"0"===i||(0,r.$)(i))&&n.push(t)}n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!s.has(t)&&(0,a.V)(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=(0,o.J)(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=h.Hr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);let a=r.length-1,o=r[a];r[a]=h.Hr[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
14h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}},44768:(e,t,n)=>{"use strict";n.d(t,{Sz:()=>o,ZZ:()=>l,dg:()=>s});var r=n(4043),i=n(83041),a=n(92946);let o=(0,r.A)(.33,1.53,.69,.99),s=(0,a.G)(o),l=(0,i.V)(s)},44797:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,M:()=>p});var r=n(58775),i=n(2050),a=n(69220),o=n(74614),s=n(46184),l=n(30200),c=n(57608);n(73884);var u=n(34164);function d(e){let{isTwoCol:t=!1,items:n=[]}=e,s=(0,o.R1)(),l=(0,i.iQ)(s?.backgroundColor?.name||"Pale Grey"),c=t||n.length<3?"md:grid-cols-2":n?.length>3?"md:grid-cols-2":"md:grid-cols-3";return(0,r.jsx)("div",{className:(0,u.A)("grid gap-6 md:gap-5 lg:gap-6",c),children:n?.map((e,t)=>r.jsx(a.Ay,{borderColor:l,sectionBackgroundColor:s?.backgroundColor?.name||"White",hasHorizontalArrows:!0,children:r.jsx(p,{item:e})},`icon-grid-item-${t}`))})}function p({item:e,isFourCol:t=!1,layout:n}){return(0,r.jsxs)("div",{className:(0,u.A)("p-6",t?"lg:p-8":"lg:p-9"),children:[(0,r.jsx)(l.A,{image:e?.icon,className:"mb-5 w-8 lg:mb-7"}),e?.heading&&(0,r.jsx)("div",{className:"Connected Borders â Stats"===n?"text-h1":t?"text-h7":"text-h6",dangerouslySetInnerHTML:{__html:e?.heading}}
14),e?.content&&(0,r.jsx)(c.A,{content:e?.content,className:(0,u.A)("mt-2 opacity-80 prose-p:leading-[1.4]",t?"prose-16 lg:mt-3":"lg:mt-4")}),e?.button?.title?.length>0&&(0,r.jsx)("div",{className:"mt-3 pb-1",children:(0,r.jsx)(s.A,{...e.button})})]})}},45320:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var r=n(30615),i=n(26044),a=n(81619);function o(e,t){let n=(0,a.D)(e);return n!==i.p&&(n=r.f),n.getAnimatableNone?n.getAnimatableNone(t):void 0}},45535:(e,t,n)=>{"use strict";function r(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}n.d(t,{W:()=>r})},45784:e=>{"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(a,{SYMBOL_FOR_REQ_CONTEXT:()=>o,getContext:()=>s}),e.exports=((e,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of r(a))i.call(e,l)||l===o||t(e,l,{get:()=>a[l],enumerable:!(s=n(a,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),a);let o=Symbol.for("@vercel/request-context");function s(){let e=globalThis;return e[o]?.get?.()??{}}},45825:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Table","definitions":{"Table":{"type":"object","properties":{"nodeType":{"type":"string","enum":["table"]},"data":{"type":"object","properties":{}},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/TableRow"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"TableRow":{"type":"object","properties":{"nodeType":{"type":"string","enum":["table-row"]},"data":{"type":"object","properties":{}},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/TableCell"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"TableCell":{"type":"object","properties":{"nodeType":{"enum":["table-cell","table-header-cell"],"type":"string"},"data":{"type":"object","properties":{"colspan":{"type":"number"},"rowspan":{"type":"number"}},"additionalProperties":false},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/Paragraph"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},45871:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)}
14,o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.getSchemaWithNodeType=t.helpers=t.EMPTY_DOCUMENT=t.MARKS=t.INLINES=t.BLOCKS=void 0;var s=n(60701);Object.defineProperty(t,"BLOCKS",{enumerable:!0,get:function(){return s.BLOCKS}});var l=n(53305);Object.defineProperty(t,"INLINES",{enumerable:!0,get:function(){return l.INLINES}});var c=n(20493);Object.defineProperty(t,"MARKS",{enumerable:!0,get:function(){return c.MARKS}}),a(n(95126),t),a(n(18182),t),a(n(57826),t);var u=n(62243);Object.defineProperty(t,"EMPTY_DOCUMENT",{enumerable:!0,get:function(){return u.EMPTY_DOCUMENT}});var d=o(n(35966));t.helpers=d;var p=n(14428);Object.defineProperty(t,"getSchemaWithNodeType",{enumerable:!0,get:function(){return p.getSchemaWithNodeType}})},45931:e=>{var t=Object.prototype.toString,n=Array.isArray;e.exports=function(e){var r;return"string"==typeof e||!n(e)&&!!(r=e)&&"object"==typeof r&&"[object String]"==t.call(e)}},46147:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(58775),i=n(90777),a=n(30200),o=n(85742),s=n(74614),l=n(98722),c=n.n(l);n(73884);var u=n(93627);let d=function({customers:e}){let t=(0,s.R1)(),{t:n}=(0,u.Bd)();return(0,r.jsx)("div",{children:e?.map((e,s)=>r.jsxs("div",{className:"flex flex-col-reverse md:flex-row md:space-x-6",children:[r.jsxs("div",{className:"flex w-full flex-col space-y-6 md:max-w-[18rem] md:space-y-10 md:pt-3 lg:max-w-[20.9375rem]",children:[r.jsxs("div",{className:"mb-auto",children:[r.jsx("h2",{className:"text-h6 mb-2 lg:mb-3",dangerouslySetInnerHTML:{__html:e?.title}}),r.jsx(c(),{href:e?.slug||"#",className:"group pb-1",children:r.jsx(o.Y,{link:{title:n("Read more")},className:""})})]}),r.jsxs("div",{children:[e?.excerptStat&&e?.excerptStatCaption&&r.jsx("div",{className:"border-b border-black/5 pb-4 max-md:border-t max-md:pt-4 lg:pb-6",children:r.jsxs("figure",{className:"max-w-[16.75rem] space-y-2",children:[r.jsx("span",{className:"text-h2",dangerouslySetInnerHTML:{__html:e?.excerptStat||""}}),r.jsx("figcaption",{className:"text-14",dangerouslySetInnerHTML:{__html:e?.excerptStatCaption||""}})]})}),r.jsxs("div",{className:"pt-4 lg:pt-6",children:[r.jsx("h3",{className:"text-14 mb-2 opacity-[.65]",dangerouslySetInnerHTML:{__html:n("Products used")}}),e?.productsUsed?.length>0&&r.jsx("ul",{className:"flex flex-wrap",children:e?.productsUsed?.map((e,t)=>r.jsx("li",{className:"mb-2 mr-2",children:r.jsx("span",{className:"text-14 inline-block rounded-full bg-black/5 px-3 py-1.5",dangerouslySetInnerHTML:{__html:e}})},t))})]})]})]}),r.jsxs("div",{className:"relative aspect-[52/33] w-full rounded-xl max-md:mb-6",children:[r.jsx(i.A,{colour:t?.backgroundColor?.name||"White",position:"topLeft",radius:12,children:r.jsx("div",{className:"aspect-[7/29] w-5 sm:w-8 lg:w-[2.25rem]"})}),r.jsx(i.A,{colour:t?.backgroundColor?.name||"White",position:"bottomRight",radius:12,children:r.jsx("div",{className:"pb-1 pl-2 pt-2 md:pb-2",children:r.jsx(a.A,{image:e?.logo,className:"h-auto max-h-[3.5rem] w-auto max-w-28 object-contain object-left-bottom md:max-w-[8rem] lg:max-h-[3.75rem]"})})}),r.jsx("div",{className:"absolute inset-0 z-0 overflow-hidden rounded-xl bg-gradient-to-t from-black/60"}),e?.coverImage?.fields?.file?.url?.length>0&&r.jsx(a.A,{image:e?.coverImage,className:"h-full w-full overflow-hidden rounded-xl object-cover"})]})]},s))})}},46184:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(58775),i=n(85742),a=n(98722),o=n.n(a);n(73884);let s=function({title:e,isExternal:t,type:n,slug:a,anchor:s,isTabbable:l=!0,className:c=""}){let u="Text Link â Black"===n||"Text Link â White"===n,d=!!(t&&!a?.startsWith("/")&&!a?.startsWith("https://contentsquare.com"));return d&&a?(0,r.jsx)("a",{href:a,target:d?"_blank":"",rel:"noreferrer",className:`link-element group inline-flex ${c}`,tabIndex:l?void 0:-1,children:u?(0,r.jsx)(i.Y,{link:{title:e},type:n}):(0,r.jsx)(i.$,{title:e,type:n})}):s?(0,r.jsx)("a",{href:s,rel:"noreferrer",className:`link-element group inline-flex ${c}`,tabIndex:l?void 0:-1,children:u?(0,r.jsx)(i.Y,{link:{title:e},type:n}):(0,r.jsx)(i.$,{title:e,type:n})}):a?(0,r.jsx)(o(),{href:a,className:`link-element group inline-flex ${c}`,tabIndex:l?void 0:-1,children:u?(0,r.jsx)(i.Y,{link:{title:e},type:n}):(0,r.jsx)(i.$,{title:e,type:n})}):null}}
14,46604:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r.actionAsyncStorage}});let r=n(42001);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46874:(e,t,n)=>{"use strict";let r,i,a;n.d(t,{RC:()=>W,qr:()=>G});var o=n(73884),s=n(12375),l=n(17044);function c(){return r||(r=function(){let e=(0,s.a)(),t=(0,s.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),r}function u(e){return void 0===e&&(e={}),i||(i=function(e){let{userAgent:t}=void 0===e?{}:e,n=c(),r=(0,s.a)(),i=r.navigator.platform,a=t||r.navigator.userAgent,o={ios:!1,android:!1},l=r.screen.width,u=r.screen.height,d=a.match(/(Android);?[\s\/]+([\d.]+)?/),p=a.match(/(iPad).*OS\s([\d_]+)/),h=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!p&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="MacIntel"===i;return!p&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${u}`)>=0&&((p=a.match(/(Version)\/([\d.]+)/))||(p=[0,1,"13_0_0"]),m=!1),d&&"Win32"!==i&&(o.os="android",o.android=!0),(p||f||h)&&(o.os="ios",o.ios=!0),o}(e)),i}let d=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},p=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},h=(e,t)=>{if(!e||e.destroyed||!e.params)return;let n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},f=(e,t)=>{if(!e.slides[t])return;let n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},m=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);let r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let n=[i-t];n.push(...Array.from({length:t}).map((e,t)=>i+r+t)),e.slides.forEach((t,r)=>{n.includes(t.column)&&f(e,r)});return}let a=i+r-1;if(e.params.rewind||e.params.loop)for(let r=i-t;r<=a+t;r+=1){let t=(r%n+n)%n;(t<i||t>a)&&f(e,t)}else for(let r=Math.max(i-t,0);r<=Math.min(a+t,n-1);r+=1)r!==i&&(r>a||r<i)&&f(e,r)};function g(e){let{swiper:t,runCallbacks:n,direction:r,step:i}=e,{activeIndex:a,previousIndex:o}=t,s=r;if(s||(s=a>o?"next":a<o?"prev":"reset"),t.emit(`transition${i}`),n&&a!==o){if("reset"===s){t.emit(`slideResetTransition${i}`);return}t.emit(`slideChangeTransition${i}`),"next"===s?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}function y(e,t,n){let r=(0,s.a)(),{params:i}=e,a=i.edgeSwipeDetection,o=i.edgeSwipeThreshold;return!a||!(n<=o)&&!(n>=r.innerWidth-o)||"prevent"===a&&(t.preventDefault(),!0)}function v(e){let t=(0,s.g)(),n=e;n.originalEvent&&(n=n.originalEvent);let r=this.touchEventsData;if("pointerdown"===n.type){if(null!==r.pointerId&&r.pointerId!==n.pointerId)return;r.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(r.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type){y(this,n,n.targetTouches[0].pageX);return}let{params:i,touches:a,enabled:o}=this;if(!o||!i.simulateTouch&&"mouse"===n.pointerType||this.animating&&i.preventInteractionOnTransition)return;!this.animating&&i.cssMode&&i.loop&&this.loopFix();let c=n.target;if("wrapper"===i.touchEventsTarget&&!(0,l.v)(c,this.wrapperEl)||"which"in n&&3===n.which||"button"in n&&n.button>0||r.isTouched&&r.isMoved)return;let u=!!i.noSwipingClass&&""!==i.noSwipingClass,d=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&d&&(c=d[0]);let p=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,h=!!(n.target&&n.target.shadowRoot);if(i.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===(0,s.g)()||n===(0,s.a)())return null;n.assignedSlot&&(n=n.assignedSlot);let r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(p,c):c.closest(p))){this.allowClick=!0;return}if(i.swipeHandler&&!c.closest(i.swipeHandler))return;a.currentX=n.pageX,a.currentY=n.pageY;let f=a.currentX,m=a.currentY;if(!y(this,n,f))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=f,a.startY=m,r.touchStartTime=(0,l.d)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,i.threshold>0&&(r.allowThresholdMove=!1);let g=!0;c.matches(r.focusableElements)&&(g=!1,"SELECT"===c.nodeName&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==c&&("mouse"===n.pointerType||"mouse"!==n.pointerType&&!c.matches(r.focusableElements))&&t.activeElement.blur();let v=g&&this.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||v)&&!c.isContentEditable&&n.preventDefault(),i.freeMode&&i.freeMode.enabled&&this.freeMode&&this.animating&&!i.cssMode&&this.freeMode.onTouchStart(),this.emit
14("touchStart",n)}function b(e){let t,n;let r=(0,s.g)(),i=this.touchEventsData,{params:a,touches:o,rtlTranslate:c,enabled:u}=this;if(!u||!a.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type&&(null!==i.touchId||d.pointerId!==i.pointerId))return;if("touchmove"===d.type){if(!(t=[...d.changedTouches].filter(e=>e.identifier===i.touchId)[0])||t.identifier!==i.touchId)return}else t=d;if(!i.isTouched){i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",d);return}let p=t.pageX,h=t.pageY;if(d.preventedByNestedSwiper){o.startX=p,o.startY=h;return}if(!this.allowTouchMove){d.target.matches(i.focusableElements)||(this.allowClick=!1),i.isTouched&&(Object.assign(o,{startX:p,startY:h,currentX:p,currentY:h}),i.touchStartTime=(0,l.d)());return}if(a.touchReleaseOnEdges&&!a.loop){if(this.isVertical()){if(h<o.startY&&this.translate<=this.maxTranslate()||h>o.startY&&this.translate>=this.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(p<o.startX&&this.translate<=this.maxTranslate()||p>o.startX&&this.translate>=this.minTranslate())return}if(r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==d.target&&"mouse"!==d.pointerType&&r.activeElement.blur(),r.activeElement&&d.target===r.activeElement&&d.target.matches(i.focusableElements)){i.isMoved=!0,this.allowClick=!1;return}i.allowTouchCallbacks&&this.emit("touchMove",d),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=p,o.currentY=h;let f=o.currentX-o.startX,m=o.currentY-o.startY;if(this.params.threshold&&Math.sqrt(f**2+m**2)<this.params.threshold)return;if(void 0===i.isScrolling){let e;this.isHorizontal()&&o.currentY===o.startY||this.isVertical()&&o.currentX===o.startX?i.isScrolling=!1:f*f+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(f))/Math.PI,i.isScrolling=this.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(i.isScrolling&&this.emit("touchMoveOpposite",d),void 0===i.startMoving&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(i.startMoving=!0),i.isScrolling||"touchmove"===d.type&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;this.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let g=this.isHorizontal()?f:m,y=this.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;a.oneWayMovement&&(g=Math.abs(g)*(c?1:-1),y=Math.abs(y)*(c?1:-1)),o.diff=g,g*=a.touchRatio,c&&(g=-g,y=-y);let v=this.touchesDirection;this.swipeDirection=g>0?"prev":"next",this.touchesDirection=y>0?"prev":"next";let b=this.params.loop&&!a.cssMode,x="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!i.isMoved){if(b&&x&&this.loopFix({direction:this.swipeDirection}),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,a.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",d)}if(new Date().getTime(),i.isMoved&&i.allowThresholdMove&&v!==this.touchesDirection&&b&&x&&Math.abs(g)>=1){Object.assign(o,{startX:p,startY:h,currentX:p,currentY:h,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}this.emit("sliderMove",d),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let w=!0,j=a.resistanceRatio;if(a.touchReleaseOnEdges&&(j=0),g>0?(b&&x&&!n&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==a.slidesPerView&&this.slides.length-a.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>this.minTranslate()&&(w=!1,a.resistance&&(i.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+i.startTranslate+g)**j))):g<0&&(b&&x&&!n&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==a.slidesPerView&&this.slides.length-a.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===a.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<this.maxTranslate()&&(w=!1,a.resistance&&(i.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-i.startTranslate-g)**j))),w&&(d.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),this.allowSlidePrev||this.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0){if(Math.abs(g)>a.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,i.currentTranslate=i.startTranslate,o.diff=this.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{i.currentTranslate=i.startTranslate;return}}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&this.freeMode||a.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}function x(e){let t,n;let r=this,i=r.touchEventsData,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(!(t=[...a.changedTouches].filter(e=>e.identifier===i.touchId)[0])||t.identifier!==i.touchId)return}else{if(null!==i.touchId||a.pointerId!==i.pointerId)return;t=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&!(["pointercancel","contextmenu"].includes(a.type)&&(r.browser.isSafari||r.browser.isWebView)))return;i.pointerId=null,i.touchId=null;let{params:o,touches:s,rtlTranslate:c,slidesGrid:u,enabled:d}=r;
14if(!d||!o.simulateTouch&&"mouse"===a.pointerType)return;if(i.allowTouchCallbacks&&r.emit("touchEnd",a),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&o.grabCursor&&r.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}o.grabCursor&&i.isMoved&&i.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);let p=(0,l.d)(),h=p-i.touchStartTime;if(r.allowClick){let e=a.path||a.composedPath&&a.composedPath();r.updateClickedSlide(e&&e[0]||a.target,e),r.emit("tap click",a),h<300&&p-i.lastClickTime<300&&r.emit("doubleTap doubleClick",a)}if(i.lastClickTime=(0,l.d)(),(0,l.n)(()=>{r.destroyed||(r.allowClick=!0)}),!i.isTouched||!i.isMoved||!r.swipeDirection||0===s.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,n=o.followFinger?c?r.translate:-r.translate:-i.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled){r.freeMode.onTouchEnd({currentPos:n});return}let f=n>=-r.maxTranslate()&&!r.params.loop,m=0,g=r.slidesSizesGrid[0];for(let e=0;e<u.length;e+=e<o.slidesPerGroupSkip?1:o.slidesPerGroup){let t=e<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;void 0!==u[e+t]?(f||n>=u[e]&&n<u[e+t])&&(m=e,g=u[e+t]-u[e]):(f||n>=u[e])&&(m=e,g=u[u.length-1]-u[u.length-2])}let y=null,v=null;o.rewind&&(r.isBeginning?v=o.virtual&&o.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(y=0));let b=(n-u[m])/g,x=m<o.slidesPerGroupSkip-1?1:o.slidesPerGroup;if(h>o.longSwipesMs){if(!o.longSwipes){r.slideTo(r.activeIndex);return}"next"===r.swipeDirection&&(b>=o.longSwipesRatio?r.slideTo(o.rewind&&r.isEnd?y:m+x):r.slideTo(m)),"prev"===r.swipeDirection&&(b>1-o.longSwipesRatio?r.slideTo(m+x):null!==v&&b<0&&Math.abs(b)>o.longSwipesRatio?r.slideTo(v):r.slideTo(m))}else{if(!o.shortSwipes){r.slideTo(r.activeIndex);return}r.navigation&&(a.target===r.navigation.nextEl||a.target===r.navigation.prevEl)?a.target===r.navigation.nextEl?r.slideTo(m+x):r.slideTo(m):("next"===r.swipeDirection&&r.slideTo(null!==y?y:m+x),"prev"===r.swipeDirection&&r.slideTo(null!==v?v:m))}}function w(){let e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:r,allowSlidePrev:i,snapGrid:a}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let s=o&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function j(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function C(){let{wrapperEl:e,rtlTranslate:t,enabled:n}=this;if(!n)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let r=this.maxTranslate()-this.minTranslate();(0===r?0:(this.translate-this.minTranslate())/r)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function E(e){h(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function k(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let S=(e,t)=>{let n=(0,s.g)(),{params:r,el:i,wrapperEl:a,device:o}=e,l=!!r.nested,c="on"===t?"addEventListener":"removeEventListener";i&&"string"!=typeof i&&(n[c]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),i[c]("touchstart",e.onTouchStart,{passive:!1}),i[c]("pointerdown",e.onTouchStart,{passive:!1}),n[c]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[c]("touchend",e.onTouchEnd,{passive:!0}),n[c]("pointerup",e.onTouchEnd,{passive:!0}),n[c]("pointercancel",e.onTouchEnd,{passive:!0}),n[c]("touchcancel",e.onTouchEnd,{passive:!0}),n[c]("pointerout",e.onTouchEnd,{passive:!0}),n[c]("pointerleave",e.onTouchEnd,{passive:!0}),n[c]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[c]("click",e.onClick,!0),r.cssMode&&a[c]("scroll",e.onScroll),r.updateOnWindowResize?e[t](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",w,!0):e[t]("observerUpdate",w,!0),i[c]("load",e.onLoad,{capture:!0}))},A=(e,t)=>
14e.grid&&t.grid&&t.grid.rows>1;var T={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let _={eventsEmitter:{on(e,t,n){let r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof t)return r;let i=n?"unshift":"push";return e.split(" ").forEach(e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)}),r},once(e,t,n){let r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];t.apply(r,a)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let n=this;return n.eventsListeners&&!n.destroyed&&n.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)})}),n},emit(){let e,t,n;let r=this;if(!r.eventsListeners||r.destroyed||!r.eventsListeners)return r;for(var i=arguments.length,a=Array(i),o=0;o<i;o++)a[o]=arguments[o];return"string"==typeof a[0]||Array.isArray(a[0])?(e=a[0],t=a.slice(1,a.length),n=r):(e=a[0].events,t=a[0].data,n=a[0].context||r),t.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(e=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(r=>{r.apply(n,[e,...t])}),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach(e=>{e.apply(n,t)})}),r}},update:{updateSize:function(){let e,t;let n=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:n.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:n.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,l.p)(n,"padding-left")||0,10)-parseInt((0,l.p)(n,"padding-right")||0,10),t=t-parseInt((0,l.p)(n,"padding-top")||0,10)-parseInt((0,l.p)(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e;let t=this;function n(e,n){return parseFloat(e.getPropertyValue(t.getDirectionLabel(n))||0)}let r=t.params,{wrapperEl:i,slidesEl:a,size:o,rtlTranslate:s,wrongRTL:c}=t,u=t.virtual&&r.virtual.enabled,d=u?t.virtual.slides.length:t.slides.length,p=(0,l.e)(a,`.${t.params.slideClass}, swiper-slide`),h=u?t.virtual.slides.length:p.length,f=[],m=[],g=[],y=r.slidesOffsetBefore;"function"==typeof y&&(y=r.slidesOffsetBefore.call(t));let v=r.slidesOffsetAfter;"function"==typeof v&&(v=r.slidesOffsetAfter.call(t));let b=t.snapGrid.length,x=t.slidesGrid.length,w=r.spaceBetween,j=-y,C=0,E=0;if(void 0===o)return;"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*o:"string"==typeof w&&(w=parseFloat(w)),t.virtualSize=-w,p.forEach(e
14=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),r.centeredSlides&&r.cssMode&&((0,l.s)(i,"--swiper-centered-offset-before",""),(0,l.s)(i,"--swiper-centered-offset-after",""));let k=r.grid&&r.grid.rows>1&&t.grid;k?t.grid.initSlides(p):t.grid&&t.grid.unsetSlides();let S="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(e=>void 0!==r.breakpoints[e].slidesPerView).length>0;for(let i=0;i<h;i+=1){let a;if(e=0,p[i]&&(a=p[i]),k&&t.grid.updateSlide(i,a,p),!p[i]||"none"!==(0,l.p)(a,"display")){if("auto"===r.slidesPerView){S&&(p[i].style[t.getDirectionLabel("width")]="");let o=getComputedStyle(a),s=a.style.transform,c=a.style.webkitTransform;if(s&&(a.style.transform="none"),c&&(a.style.webkitTransform="none"),r.roundLengths)e=t.isHorizontal()?(0,l.f)(a,"width",!0):(0,l.f)(a,"height",!0);else{let t=n(o,"width"),r=n(o,"padding-left"),i=n(o,"padding-right"),s=n(o,"margin-left"),l=n(o,"margin-right"),c=o.getPropertyValue("box-sizing");if(c&&"border-box"===c)e=t+s+l;else{let{clientWidth:n,offsetWidth:o}=a;e=t+r+i+s+l+(o-n)}}s&&(a.style.transform=s),c&&(a.style.webkitTransform=c),r.roundLengths&&(e=Math.floor(e))}else e=(o-(r.slidesPerView-1)*w)/r.slidesPerView,r.roundLengths&&(e=Math.floor(e)),p[i]&&(p[i].style[t.getDirectionLabel("width")]=`${e}px`);p[i]&&(p[i].swiperSlideSize=e),g.push(e),r.centeredSlides?(j=j+e/2+C/2+w,0===C&&0!==i&&(j=j-o/2-w),0===i&&(j=j-o/2-w),.001>Math.abs(j)&&(j=0),r.roundLengths&&(j=Math.floor(j)),E%r.slidesPerGroup==0&&f.push(j),m.push(j)):(r.roundLengths&&(j=Math.floor(j)),(E-Math.min(t.params.slidesPerGroupSkip,E))%t.params.slidesPerGroup==0&&f.push(j),m.push(j),j=j+e+w),t.virtualSize+=e+w,C=e,E+=1}}if(t.virtualSize=Math.max(t.virtualSize,o)+v,s&&c&&("slide"===r.effect||"coverflow"===r.effect)&&(i.style.width=`${t.virtualSize+w}px`),r.setWrapperSize&&(i.style[t.getDirectionLabel("width")]=`${t.virtualSize+w}px`),k&&t.grid.updateWrapperSize(e,f),!r.centeredSlides){let e=[];for(let n=0;n<f.length;n+=1){let i=f[n];r.roundLengths&&(i=Math.floor(i)),f[n]<=t.virtualSize-o&&e.push(i)}f=e,Math.floor(t.virtualSize-o)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-o)}if(u&&r.loop){let e=g[0]+w;if(r.slidesPerGroup>1){let n=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/r.slidesPerGroup),i=e*r.slidesPerGroup;for(let e=0;e<n;e+=1)f.push(f[f.length-1]+i)}for(let n=0;n<t.virtual.slidesBefore+t.virtual.slidesAfter;n+=1)1===r.slidesPerGroup&&f.push(f[f.length-1]+e),m.push(m[m.length-1]+e),t.virtualSize+=e}if(0===f.length&&(f=[0]),0!==w){let e=t.isHorizontal()&&s?"marginLeft":t.getDirectionLabel("marginRight");p.filter((e,t)=>!r.cssMode||!!r.loop||t!==p.length-1).forEach(t=>{t.style[e]=`${w}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;g.forEach(t=>{e+=t+(w||0)});let t=(e-=w)>o?e-o:0;f=f.map(e=>e<=0?-y:e>t?t+v:e)}if(r.centerInsufficientSlides){let e=0;g.forEach(t=>{e+=t+(w||0)}),e-=w;let t=(r.slidesOffsetBefore||0)+(r.slidesOffsetAfter||0);if(e+t<o){let n=(o-e-t)/2;f.forEach((e,t)=>{f[t]=e-n}),m.forEach((e,t)=>{m[t]=e+n})}}if(Object.assign(t,{slides:p,snapGrid:f,slidesGrid:m,slidesSizesGrid:g}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){(0,l.s)(i,"--swiper-centered-offset-before",`${-f[0]}px`),(0,l.s)(i,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);let e=-t.snapGrid[0],n=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+n)}if(h!==d&&t.emit("slidesLengthChange"),f.length!==b&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==x&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!u&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){let e=`${r.containerModifierClass}backface-hidden`,n=t.el.classList.contains(e);h<=r.maxBackfaceHiddenSlides?n||t.el.classList.add(e):n&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t;let n=this,r=[],i=n.virtual&&n.params.virtual.enabled,a=0;"number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);let o=e=>i?n.slides[n.getSlideIndexByData(e)]:n.slides[e];if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>
141){if(n.params.centeredSlides)(n.visibleSlides||[]).forEach(e=>{r.push(e)});else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){let e=n.activeIndex+t;if(e>n.slides.length&&!i)break;r.push(o(e))}}else r.push(o(n.activeIndex));for(t=0;t<r.length;t+=1)if(void 0!==r[t]){let e=r[t].offsetHeight;a=e>a?e:a}(a||0===a)&&(n.wrapperEl.style.height=`${a}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(this.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this.params,{slides:n,rtlTranslate:r,snapGrid:i}=this;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();let a=-e;r&&(a=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];let o=t.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*this.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<n.length;e+=1){let s=n[e],l=s.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=n[0].swiperSlideOffset);let c=(a+(t.centeredSlides?this.minTranslate():0)-l)/(s.swiperSlideSize+o),u=(a-i[0]+(t.centeredSlides?this.minTranslate():0)-l)/(s.swiperSlideSize+o),p=-(a-l),h=p+this.slidesSizesGrid[e],f=p>=0&&p<=this.size-this.slidesSizesGrid[e],m=p>=0&&p<this.size-1||h>1&&h<=this.size||p<=0&&h>=this.size;m&&(this.visibleSlides.push(s),this.visibleSlidesIndexes.push(e)),d(s,m,t.slideVisibleClass),d(s,f,t.slideFullyVisibleClass),s.progress=r?-c:c,s.originalProgress=r?-u:u}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,n=this.maxTranslate()-this.minTranslate(),{progress:r,isBeginning:i,isEnd:a,progressLoop:o}=this,s=i,l=a;if(0===n)r=0,i=!0,a=!0;else{r=(e-this.minTranslate())/n;let t=1>Math.abs(e-this.minTranslate()),o=1>Math.abs(e-this.maxTranslate());i=t||r<=0,a=o||r>=1,t&&(r=0),o&&(r=1)}if(t.loop){let t=this.getSlideIndexByData(0),n=this.getSlideIndexByData(this.slides.length-1),r=this.slidesGrid[t],i=this.slidesGrid[n],a=this.slidesGrid[this.slidesGrid.length-1],s=Math.abs(e);(o=s>=r?(s-r)/a:(s+a-i)/a)>1&&(o-=1)}Object.assign(this,{progress:r,progressLoop:o,isBeginning:i,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),i&&
14!s&&this.emit("reachBeginning toEdge"),a&&!l&&this.emit("reachEnd toEdge"),(s&&!i||l&&!a)&&this.emit("fromEdge"),this.emit("progress",r)},updateSlidesClasses:function(){let e,t,n;let{slides:r,params:i,slidesEl:a,activeIndex:o}=this,s=this.virtual&&i.virtual.enabled,c=this.grid&&i.grid&&i.grid.rows>1,u=e=>(0,l.e)(a,`.${i.slideClass}${e}, swiper-slide${e}`)[0];if(s){if(i.loop){let t=o-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=u(`[data-swiper-slide-index="${t}"]`)}else e=u(`[data-swiper-slide-index="${o}"]`)}else c?(e=r.filter(e=>e.column===o)[0],n=r.filter(e=>e.column===o+1)[0],t=r.filter(e=>e.column===o-1)[0]):e=r[o];e&&!c&&(n=(0,l.q)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!n&&(n=r[0]),t=(0,l.r)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop),r.forEach(r=>{p(r,r===e,i.slideActiveClass),p(r,r===n,i.slideNextClass),p(r,r===t,i.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,n;let r=this,i=r.rtlTranslate?r.translate:-r.translate,{snapGrid:a,params:o,activeIndex:s,realIndex:l,snapIndex:c}=r,u=e,d=e=>{let t=e-r.virtual.slidesBefore;return t<0&&(t=r.virtual.slides.length+t),t>=r.virtual.slides.length&&(t-=r.virtual.slides.length),t};if(void 0===u&&(u=function(e){let t;let{slidesGrid:n,params:r}=e,i=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?i>=n[e]&&i<n[e+1]-(n[e+1]-n[e])/2?t=e:i>=n[e]&&i<n[e+1]&&(t=e+1):i>=n[e]&&(t=e);return r.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(r)),a.indexOf(i)>=0)t=a.indexOf(i);else{let e=Math.min(o.slidesPerGroupSkip,u);t=e+Math.floor((u-e)/o.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),u===s&&!r.params.loop){t!==c&&(r.snapIndex=t,r.emit("snapIndexChange"));return}if(u===s&&r.params.loop&&r.virtual&&r.params.virtual.enabled){r.realIndex=d(u);return}let p=r.grid&&o.grid&&o.grid.rows>1;if(r.virtual&&o.virtual.enabled&&o.loop)n=d(u);else if(p){let e=r.slides.filter(e=>e.column===u)[0],t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(r.slides.indexOf(e),0)),n=Math.floor(t/o.grid.rows)}else if(r.slides[u]){let e=r.slides[u].getAttribute("data-swiper-slide-index");n=e?parseInt(e,10):u}else n=u;Object.assign(r,{previousSnapIndex:c,snapIndex:t,previousRealIndex:l,realIndex:n,previousIndex:s,activeIndex:u}),r.initialized&&m(r),r.emit("activeIndexChange"),r.emit("snapIndexChange"),(r.initialized||r.params.runCallbacksOnInit)&&(l!==n&&r.emit("realIndexChange"),r.emit("slideChange"))},updateClickedSlide:function(e,t){let n;let r=this.params,i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&this.isElement&&t&&t.length>
141&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(i=e)});let a=!1;if(i){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===i){a=!0,n=e;break}}if(i&&a)this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=n;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}r.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let{params:t,rtlTranslate:n,translate:r,wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let a=(0,l.j)(i,e);return a+=this.cssOverflowAdjustment(),n&&(a=-a),a||0},setTranslate:function(e,t){let{rtlTranslate:n,params:r,wrapperEl:i,progress:a}=this,o=0,s=0;this.isHorizontal()?o=n?-e:e:s=e,r.roundLengths&&(o=Math.floor(o),s=Math.floor(s)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:s,r.cssMode?i[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-s:r.virtualTranslate||(this.isHorizontal()?o-=this.cssOverflowAdjustment():s-=this.cssOverflowAdjustment(),i.style.transform=`translate3d(${o}px, ${s}px, 0px)`);let l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==a&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,r,i){let a;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);let o=this,{params:s,wrapperEl:c}=o;if(o.animating&&s.preventInteractionOnTransition)return!1;let u=o.minTranslate(),d=o.maxTranslate();if(a=r&&e>u?u:r&&e<d?d:e,o.updateProgress(a),s.cssMode){let e=o.isHorizontal();if(0===t)c[e?"scrollLeft":"scrollTop"]=-a;else{if(!o.support.smoothScroll)return(0,l.t)({swiper:o,targetPosition:-a,side:e?"left":"top"}),!0;c.scrollTo({[e?"left":"top"]:-a,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(a),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(a),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,o.animating=!1,n&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);let{params:n}=this;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),g({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let{params:n}=this;this.animating=!1,n.cssMode||(this.setTransition(0),g({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,n,r,i){let a;void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));let o=this,s=e;s<0&&(s=0);let{params:c,snapGrid:u,slidesGrid:d,previousIndex:p,activeIndex:h,rtlTranslate:f,wrapperEl:m,enabled:g}=o;if(!g&&!r&&!i||o.destroyed||o.animating&&c.preventInteractionOnTransition)return!1;void 0===t&&(t=o.params.speed);let y=Math.min(o.params.slidesPerGroupSkip,s),v=y+Math.floor((s-y)/o.params.slidesPerGroup);v>=u.length&&(v=u.length-1);let b=-u[v];
14if(c.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){let t=-Math.floor(100*b),n=Math.floor(100*d[e]),r=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=n&&t<r-(r-n)/2?s=e:t>=n&&t<r&&(s=e+1):t>=n&&(s=e)}if(o.initialized&&s!==h&&(!o.allowSlideNext&&(f?b>o.translate&&b>o.minTranslate():b<o.translate&&b<o.minTranslate())||!o.allowSlidePrev&&b>o.translate&&b>o.maxTranslate()&&(h||0)!==s))return!1;s!==(p||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(b),a=s>h?"next":s<h?"prev":"reset";let x=o.virtual&&o.params.virtual.enabled;if(!(x&&i)&&(f&&-b===o.translate||!f&&b===o.translate))return o.updateActiveIndex(s),c.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==c.effect&&o.setTranslate(b),"reset"!==a&&(o.transitionStart(n,a),o.transitionEnd(n,a)),!1;if(c.cssMode){let e=o.isHorizontal(),n=f?b:-b;if(0===t)x&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),x&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=n})):m[e?"scrollLeft":"scrollTop"]=n,x&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1});else{if(!o.support.smoothScroll)return(0,l.t)({swiper:o,targetPosition:n,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(b),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,a),0===t?o.transitionEnd(n,a):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,a))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));let i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);let a=i.grid&&i.params.grid&&i.params.grid.rows>1,o=e;if(i.params.loop){if(i.virtual&&i.params.virtual.enabled)o+=i.virtual.slidesBefore;else{let e;if(a){let t=o*i.params.grid.rows;e=i.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")===t)[0].column}else e=i.getSlideIndexByData(o);let t=a?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:n}=i.params,s=i.params.slidesPerView;"auto"===s?s=i.slidesPerViewDynamic():(s=Math.ceil(parseFloat(i.params.slidesPerView,10)),n&&s%2==0&&(s+=1));let l=t-e<s;if(n&&(l=l||e<Math.ceil(s/2)),r&&n&&"auto"!==i.params.slidesPerView&&!a&&(l=!1),l){let r=n?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?i.realIndex:void 0})}if(a){let e=o*i.params.grid.rows;o=i.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0].column}else o=i.getSlideIndexByData(o)}}return requestAnimationFrame(()=>{i.slideTo(o,t,n,r)}),i},slideNext:function(e,t,n){void 0===t&&(t=!0);let r=this,{enabled:i,params:a,animating:o}=r;if(!i||r.destroyed)return r;void 0===e&&(e=r.params.speed);let s=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));let l=r.activeIndex<a.slidesPerGroupSkip?1:s,c=r.virtual&&a.virtual.enabled;if(a.loop){if(o&&!c&&a.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return a.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);let r=this,{params:i,snapGrid:a,slidesGrid:o,rtlTranslate:s,enabled:l,animating:c}=r;if(!l||r.destroyed)return r;void 0===e&&(e=r.params.speed);let u=r.virtual&&i.virtual.enabled;if(i.loop){if(c&&!u&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let p=d(s?r.translate:-r.translate),h=a.map(e=>d(e)),f=a[h.indexOf(p)-1];if(void 0===f&&i.cssMode){let e;a.forEach((t,n)=>{p>=t&&(e=n)}),void 0!==e&&(f=a[e>0?e-1:e])}let m=0;if(void 0!==f&&((m=o.indexOf(f))<0&&(m=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=Math.max(m=m-r.slidesPerViewDynamic("previous",!0)+1,0))),i.rewind&&r.isBeginning){let i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{r.slideTo(m,e,t,n)}),!0):r.slideTo(m,e,t,n)},slideReset:function(e,t,n){if(void 0===t&&(t=!0),!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){if(void 0===t&&(t=!0),void 0===r&&(r=.5),this.destroyed)return;void 0===e&&(e=this.params.speed);let i=this.activeIndex,a=Math.min(this.params.slidesPerGroupSkip,i),o=a+Math.floor((i-a)/this.params.slidesPerGroup),s=this.rtlTranslate?this.translate:-this.translate;if(s>=this.snapGrid[o]){let e=this.snapGrid[o];s-e>(this.snapGrid[o+1]-e)*r&&(i+=this.params.slidesPerGroup)}else{let e=this.snapGrid[o-1];s-e<=(this.snapGrid[o]-e)*r&&(i-=this.params.slidesPerGroup)}return i=Math.min(i=Math.max(i,0),this.slidesGrid.length-1),this.slideTo(i,e,t,n)},slideToClickedSlide:function(){let e;let t=this;if(t.destroyed)return;let{params:n,slidesEl:r}=t,i="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,a=t.clickedIndex,o=t.isElement?"swiper-slide":`.${n.slideClass}`;if(n.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),n.centeredSlides?a<t.loopedSlides-i/2||a>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),a=t.getSlideIndex((0,l.e)(r,`${o}[data-swiper-slide-index="${e}"]`)[0]),(0,l.n)(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-i?(t.loopFix(),a=t.getSlideIndex((0,l.e)(r,`${o}[data-swiper-slide-index="${e}"]`)[0]),(0,l.n)(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}},loop:{loopCreate:function(e){let t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;let i=t.grid&&n.grid&&n.grid.rows>1,a=n.slidesPerGroup*(i?n.grid.rows:1),o=t.slides.length%a!=0,s=i&&t.slides.length%n.grid.rows!=0,c=e=>{for(let r=0;r<e;r+=1){let e=t.isElement?(0,l.c)("swiper-slide",[n.slideBlankClass]):(0,l.c)("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(e)}};o?n.loopAddBlankSlides?(c(a-t.slides.length%a),t.recalcSlides(),t.updateSlides()):(0,l.u)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may
14not function properly. You need to add more slides (or make duplicates, or empty slides)"):s&&(n.loopAddBlankSlides?(c(n.grid.rows-t.slides.length%n.grid.rows),t.recalcSlides(),t.updateSlides()):(0,l.u)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),(0,l.e)(r,`.${n.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:i,activeSlideIndex:a,byController:o,byMousewheel:s}=void 0===e?{}:e,c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");let{slides:u,allowSlidePrev:d,allowSlideNext:p,slidesEl:h,params:f}=c,{centeredSlides:m}=f;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&f.virtual.enabled){n&&(f.centeredSlides||0!==c.snapIndex?f.centeredSlides&&c.snapIndex<f.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=d,c.allowSlideNext=p,c.emit("loopFix");return}let g=f.slidesPerView;"auto"===g?g=c.slidesPerViewDynamic():(g=Math.ceil(parseFloat(f.slidesPerView,10)),m&&g%2==0&&(g+=1));let y=f.slidesPerGroupAuto?g:f.slidesPerGroup,v=y;v%y!=0&&(v+=y-v%y),v+=f.loopAdditionalSlides,c.loopedSlides=v;let b=c.grid&&f.grid&&f.grid.rows>1;u.length<g+v?(0,l.u)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):b&&"row"===f.grid.fill&&(0,l.u)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let x=[],w=[],j=c.activeIndex;void 0===a?a=c.getSlideIndex(u.filter(e=>e.classList.contains(f.slideActiveClass))[0]):j=a;let C="next"===r||!r,E="prev"===r||!r,k=0,S=0,A=b?Math.ceil(u.length/f.grid.rows):u.length,T=(b?u[a].column:a)+(m&&void 0===i?-g/2+.5:0);if(T<v){k=Math.max(v-T,y);for(let e=0;e<v-T;e+=1){let t=e-Math.floor(e/A)*A;if(b){let e=A-t-1;for(let t=u.length-1;t>=0;t-=1)u[t].column===e&&x.push(t)}else x.push(A-t-1)}}else if(T+g>A-v){S=Math.max(T-(A-2*v),y);for(let e=0;e<S;e+=1){let t=e-Math.floor(e/A)*A;b?u.forEach((e,n)=>{e.column===t&&w.push(n)}):w.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),E&&x.forEach(e=>{u[e].swiperLoopMoveDOM=!0,h.prepend(u[e]),u[e].swiperLoopMoveDOM=!1}),C&&w.forEach(e=>{u[e].swiperLoopMoveDOM=!0,h.append(u[e]),u[e].swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===f.slidesPerView?c.updateSlides():b&&(x.length>0&&E||w.length>0&&C)&&c.slides.forEach((e,t)=>{c.grid.updateSlide(t,e,c.slides)}),f.watchSlidesProgress&&c.updateSlidesOffset(),n){if(x.length>0&&E){if(void 0===t){let e=c.slidesGrid[j],t=c.slidesGrid[j+k]-e;s?c.setTranslate(c.translate-t):(c.slideTo(j+Math.ceil(k),0,!1,!0),i&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(i){let e=b?x.length/f.grid.rows:x.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(w.length>0&&C){if(void 0===t){let e=c.slidesGrid[j],t=c.slidesGrid[j-S]-e;s?c.setTranslate(c.translate-t):(c.slideTo(j-S,0,!1,!0),i&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{let e=b?w.length/f.grid.rows:w.length;c.slideTo(c.activeIndex-e,0,!1,!0)}}}if(c.allowSlidePrev=d,c.allowSlideNext=p,c.controller&&c.controller.control&&!o){let e={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&n})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...e,slideTo:c.controller.control.params.slidesPerView===f.slidesPerView&&n})}c.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let n=[];
14this.slides.forEach(e=>{n[void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),n.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let{params:e}=this;this.onTouchStart=v.bind(this),this.onTouchMove=b.bind(this),this.onTouchEnd=x.bind(this),this.onDocumentTouchStart=k.bind(this),e.cssMode&&(this.onScroll=C.bind(this)),this.onClick=j.bind(this),this.onLoad=E.bind(this),S(this,"on")},detachEvents:function(){S(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:n,params:r,el:i}=e,a=r.breakpoints;if(!a||a&&0===Object.keys(a).length)return;let o=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;let s=(o in a?a[o]:void 0)||e.originalParams,c=A(e,r),u=A(e,s),d=e.params.grabCursor,p=s.grabCursor,h=r.enabled;c&&!u?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(i.classList.add(`${r.containerModifierClass}grid`),(s.grid.fill&&"column"===s.grid.fill||!s.grid.fill&&"column"===r.grid.fill)&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),d&&!p?e.unsetGrabCursor():!d&&p&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===s[t])return;let n=r[t]&&r[t].enabled,i=s[t]&&s[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()});let f=s.direction&&s.direction!==r.direction,m=r.loop&&(s.slidesPerView!==r.slidesPerView||f),g=r.loop;f&&n&&e.changeDirection(),(0,l.w)(e.params,s);let y=e.params.enabled,v=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),h&&!y?e.disable():!h&&y&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",s),n&&(m?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!g&&v?(e.loopCreate(t),e.updateSlides()):g&&!v&&e.loopDestroy()),e.emit("breakpoint",s)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1,i=(0,s.a)(),a="window"===t?i.innerHeight:n.clientHeight,o=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:a*parseFloat(e.substr(1)),point:e}:{value:e,point:e});o.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<o.length;e+=1){let{point:a,value:s}=o[e];"window"===t?i.matchMedia(`(min-width: ${s}px)`).matches&&(r=a):s<=n.clientWidth&&(r=a)}return r||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:n}=t;if(n){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*n;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:n,el:r,device:i}=this,a=function(e,t){let n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(r=>{e[r]&&n.push(t+r)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),r.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},L={};class N{constructor(){let e,t;for(var n=arguments.length,r=Array(n),i=0;i<n;i++)r[i]=arguments[i];1===r.length&&r[0].constructor&&"Object"===Object.prototype.toString.call(r[0]).slice(8,-1)?t=r[0]:[e,t]=r,t||(t={}),t=(0,l.w)({},t),e&&!t.el&&(t.el=e);let o=(0,s.g)();if(t.el&&"string"==typeof t.el&&o.querySelectorAll(t.el).length>1){let e=[];return o.querySelectorAll(t.el).forEach(n=>{let r=(0,l.w)({},t,{el:n});e.push(new N(r))}),e}let d=this;d.__swiper__=!0,d.support=c(),d.device=u({userAgent:t.userAgent}),d.browser=(a||(a=function(){let e=(0,s.a)(),t=u(),n=!1;function r(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(r()){let t=String(e.navigator.userAgent);if(t.includes("Version/")){let[e,r]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));
14n=e<16||16===e&&r<2}}let i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=r(),o=a||i&&t.ios;return{isSafari:n||a,needPerspectiveFix:n,need3dFix:o,isWebView:i}}()),a),d.eventsListeners={},d.eventsAnyListeners=[],d.modules=[...d.__modules__],t.modules&&Array.isArray(t.modules)&&d.modules.push(...t.modules);let p={};d.modules.forEach(e=>{e({params:t,swiper:d,extendParams:function(e,t){return function(n){void 0===n&&(n={});let r=Object.keys(n)[0],i=n[r];if("object"!=typeof i||null===i||(!0===e[r]&&(e[r]={enabled:!0}),"navigation"===r&&e[r]&&e[r].enabled&&!e[r].prevEl&&!e[r].nextEl&&(e[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&e[r]&&e[r].enabled&&!e[r].el&&(e[r].auto=!0),!(r in e&&"enabled"in i))){(0,l.w)(t,n);return}"object"!=typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}),(0,l.w)(t,n)}}(t,p),on:d.on.bind(d),once:d.once.bind(d),off:d.off.bind(d),emit:d.emit.bind(d)})});let h=(0,l.w)({},T,p);return d.params=(0,l.w)({},h,L,t),d.originalParams=(0,l.w)({},d.params),d.passedParams=(0,l.w)({}
14,t),d.params&&d.params.on&&Object.keys(d.params.on).forEach(e=>{d.on(e,d.params.on[e])}),d.params&&d.params.onAny&&d.onAny(d.params.onAny),Object.assign(d,{enabled:d.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===d.params.direction,isVertical:()=>"vertical"===d.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:d.params.allowSlideNext,allowSlidePrev:d.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:d.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:d.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),d.emit("_swiper"),d.params.init&&d.init(),d}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:n}=this,r=(0,l.e)(t,`.${n.slideClass}, swiper-slide`),i=(0,l.h)(r[0]);return(0,l.h)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0])}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,l.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let n=this.minTranslate(),r=(this.maxTranslate()-n)*e+n;this.translateTo(r,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(n=>{let r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let{params:n,slides:r,slidesGrid:i,slidesSizesGrid:a,size:o,activeIndex:s}=this,l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[s]?Math.ceil(r[s].swiperSlideSize):0;for(let n=s+1;n<r.length;n+=1)r[n]&&!e&&(t+=Math.ceil(r[n].swiperSlideSize),l+=1,t>o&&(e=!0));for(let n=s-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=s+1;e<r.length;e+=1)(t?i[e]+a[e]-i[s]<o:i[e]-i[s]<o)&&(l+=1);else for(let e=s-1;e>=0;e-=1)i[s]-i[e]<o&&(l+=1);return l}update(){let e;let t=this;if(!t||t.destroyed)return;let{snapGrid:n,params:r}=t;function i(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&h(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){let n=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;e=t.slideTo(n.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${n}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEac
14h(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);let r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,i=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(r()):(0,l.e)(n,r())[0];return!i&&t.params.createElements&&(i=(0,l.c)("div",t.params.wrapperClass),n.append(i),(0,l.e)(n,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===(0,l.p)(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===(0,l.p)(n,"direction")),wrongRTL:"-webkit-box"===(0,l.p)(i,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();let n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?h(t,e):e.addEventListener("load",e=>{h(t,e.target)})}),m(t),t.initialized=!0,m(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let n=this,{params:r,el:i,wrapperEl:a,slides:o}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),a&&a.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),(0,l.x)(n)),n.destroyed=!0),null}static extendDefaults(e){(0,l.w)(L,e)}static get extendedDefaults(){return L}static get defaults(){return T}static installModule(e){N.prototype.__modules__||(N.prototype.__modules__=[]);let t=N.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>N.installModule(e)):N.installModule(e),N}}Object.keys(_).forEach(e=>
14{Object.keys(_[e]).forEach(t=>{N.prototype[t]=_[e][t]})}),N.use([function(e){let{swiper:t,on:n,emit:r}=e,i=(0,s.a)(),a=null,o=null,l=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},c=()=>{t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver(e=>{o=i.requestAnimationFrame(()=>{let{width:n,height:r}=t,i=n,a=r;e.forEach(e=>{let{contentBoxSize:n,contentRect:r,target:o}=e;o&&o!==t.el||(i=r?r.width:(n[0]||n).inlineSize,a=r?r.height:(n[0]||n).blockSize)}),(i!==n||a!==r)&&l()})})).observe(t.el)},u=()=>{o&&i.cancelAnimationFrame(o),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null)},d=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&void 0!==i.ResizeObserver){c();return}i.addEventListener("resize",l),i.addEventListener("orientationchange",d)}),n("destroy",()=>{u(),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",d)})},function(e){let{swiper:t,extendParams:n,on:r,emit:i}=e,a=[],o=(0,s.a)(),c=function(e,n){void 0===n&&(n={});let r=new(o.MutationObserver||o.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length){i("observerUpdate",e[0]);return}let n=function(){i("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(n):o.setTimeout(n,0)});r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:t.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),a.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",()=>{if(t.params.observer){if(t.params.observeParents){let e=(0,l.a)(t.hostEl);for(let t=0;t<e.length;t+=1)c(e[t])}c(t.hostEl,{childList:t.params.observeSlideChildren}),c(t.wrapperEl,{attributes:!1})}}),r("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}]);let P=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function I(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function M(e,t){let n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>n.indexOf(e)).forEach(n=>{void 0===e[n]?e[n]=t[n]:I(t[n])&&I(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:M(e[n],t[n]):e[n]=t[n]})}function O(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function R(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function D(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function B(e){void 0===e&&(e="");let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),n=[];
14return t.forEach(e=>{0>n.indexOf(e)&&n.push(e)}),n.join(" ")}let F=e=>{e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function H(){return(H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function V(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function $(e,t){return"undefined"==typeof window?(0,o.useEffect)(e,t):(0,o.useLayoutEffect)(e,t)}let U=(0,o.createContext)(null),z=(0,o.createContext)(null),W=(0,o.forwardRef)(function(e,t){var n;let{className:r,tag:i="div",wrapperTag:a="div",children:s,onSwiper:l,...c}=void 0===e?{}:e,u=!1,[d,p]=(0,o.useState)("swiper"),[h,f]=(0,o.useState)(null),[m,g]=(0,o.useState)(!1),y=(0,o.useRef)(!1),v=(0,o.useRef)(null),b=(0,o.useRef)(null),x=(0,o.useRef)(null),w=(0,o.useRef)(null),j=(0,o.useRef)(null),C=(0,o.useRef)(null),E=(0,o.useRef)(null),k=(0,o.useRef)(null),{params:S,passedParams:A,rest:_,events:L}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);let n={on:{}},r={},i={};M(n,T),n._emitClasses=!0,n.init=!1;let a={},o=P.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({},e)).forEach(s=>{void 0!==e[s]&&(o.indexOf(s)>=0?I(e[s])?(n[s]={},i[s]={},M(n[s],e[s]),M(i[s],e[s])):(n[s]=e[s],i[s]=e[s]):0===s.search(/on[A-Z]/)&&"function"==typeof e[s]?t?r[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:n.on[`${s[2].toLowerCase()}${s.substr(3)}`]=e[s]:a[s]=e[s])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]}),{params:n,passedParams:i,rest:a,events:r}}(c),{slides:U,slots:W}=function(e){let t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return o.Children.toArray(e).forEach(e=>{if(V(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){let r=function e(t){let n=[];return o.Children.toArray(t).forEach(t=>{V(t)?n.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>n.push(e))}),n}(e.props.children);r.length>0?r.forEach(e=>t.push(e)):n["container-end"].push(e)}else n["container-end"].push(e)}),{slides:t,slots:n}}(s),G=()=>{g(!m)};Object.assign(S.on,{_containerClasses(e,t){p(t)}});let q=()=>{Object.assign(S.on,L),u=!0;let e={...S};if(delete e.wrapperClass,b.current=new N(e),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=U;let e={cache:!1,slides:U,renderExternal:f,renderExternalUpdate:!1};M(b.current.params.virtual,e),M(b.current.originalParams.virtual,e)}};v.current||q(),b.current&&b.current.on("_beforeBreakpoint",G);let K=()=>{!u&&L&&b.current&&Object.keys(L).forEach(e=>{b.current.on(e,L[e])})},Y=()=>{L&&b.current&&Object.keys(L).forEach(e=>{b.current.off(e,L[e])})};return(0,o.useEffect)(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",G)}),(0,o.useEffect)(()=>{!y.current&&b.current&&(b.current.emitSlidesClasses(),y.current=!0)}),$(()=>{if(t&&(t.current=v.current),v.current)return b.current.destroyed&&q(),function(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:a,scrollbarEl:o,swiper:s}=e;O(t)&&r&&i&&(s.params.navigation.nextEl=r,s.originalParams.navigation.nextEl=r,s.params.navigation.prevEl=i,s.originalParams.navigation.prevEl=i),R(t)&&a&&(s.params.pagination.el=a,s.originalParams.pagination.el=a),D(t)&&o&&(s.params.scrollbar.el=o,s.originalParams.scrollbar.el=o),s.init(n)}({el:v.current,nextEl:j.current,prevEl:C.current,paginationEl:E.current,scrollbarEl:k.current,swiper:b.current},S),l&&!b.current.destroyed&&l(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),$(()=>{K();let e=function(e,t,n,r,i){let a=[];if(!t)return a;let o=e=>{0>a.indexOf(e)&&a.push(e)};if(n&&r){let e=r.map(i),t=n.map(i);e.join("")!==t.join("")&&o("children"),r.length!==n.length&&o("children")}return P.filter(e=>"_"===e[0]).map(e=>
14e.replace(/_/,"")).forEach(n=>{if(n in e&&n in t){if(I(e[n])&&I(t[n])){let r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?o(n):(r.forEach(r=>{e[n][r]!==t[n][r]&&o(n)}),i.forEach(r=>{e[n][r]!==t[n][r]&&o(n)}))}else e[n]!==t[n]&&o(n)}}),a}(A,x.current,U,w.current,e=>e.key);return x.current=A,w.current=U,e.length&&b.current&&!b.current.destroyed&&function(e){let t,n,r,i,a,o,s,l,{swiper:c,slides:u,passedParams:d,changedParams:p,nextEl:h,prevEl:f,scrollbarEl:m,paginationEl:g}=e,y=p.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:v,pagination:b,navigation:x,scrollbar:w,virtual:j,thumbs:C}=c;p.includes("thumbs")&&d.thumbs&&d.thumbs.swiper&&v.thumbs&&!v.thumbs.swiper&&(t=!0),p.includes("controller")&&d.controller&&d.controller.control&&v.controller&&!v.controller.control&&(n=!0),p.includes("pagination")&&d.pagination&&(d.pagination.el||g)&&(v.pagination||!1===v.pagination)&&b&&!b.el&&(r=!0),p.includes("scrollbar")&&d.scrollbar&&(d.scrollbar.el||m)&&(v.scrollbar||!1===v.scrollbar)&&w&&!w.el&&(i=!0),p.includes("navigation")&&d.navigation&&(d.navigation.prevEl||f)&&(d.navigation.nextEl||h)&&(v.navigation||!1===v.navigation)&&x&&!x.prevEl&&!x.nextEl&&(a=!0);let E=e=>{c[e]&&(c[e].destroy(),"navigation"===e?(c.isElement&&(c[e].prevEl.remove(),c[e].nextEl.remove()),v[e].prevEl=void 0,v[e].nextEl=void 0,c[e].prevEl=void 0,c[e].nextEl=void 0):(c.isElement&&c[e].el.remove(),v[e].el=void 0,c[e].el=void 0))};p.includes("loop")&&c.isElement&&(v.loop&&!d.loop?o=!0:!v.loop&&d.loop?s=!0:l=!0),y.forEach(e=>{if(I(v[e])&&I(d[e]))Object.assign(v[e],d[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in d[e]&&!d[e].enabled&&E(e);else{let t=d[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&E(e):v[e]=d[e]}}),y.includes("controller")&&!n&&c.controller&&c.controller.control&&v.controller&&v.controller.control&&(c.controller.control=v.controller.control),p.includes("children")&&u&&j&&v.virtual.enabled?(j.slides=u,j.update(!0)):p.includes("virtual")&&j&&v.virtual.enabled&&(u&&(j.slides=u),j.update(!0)),p.includes("children")&&u&&v.loop&&(l=!0),t&&C.init()&&C.update(!0),n&&(c.controller.control=v.controller.control),r&&(c.isElement&&(!g||"string"==typeof g)&&((g=document.createElement("div")).classList.add("swiper-pagination"),g.part.add("pagination"),c.el.appendChild(g)),g&&(v.pagination.el=g),b.init(),b.render(),b.update()),i&&(c.isElement&&(!m||"string"==typeof m)&&((m=document.createElement("div")).classList.add("swiper-scrollbar"),m.part.add("scrollbar"),c.el.appendChild(m)),m&&(v.scrollbar.el=m),w.init(),w.updateSize(),w.setTranslate()),a&&(c.isElement&&(h&&"string"!=typeof h||((h=document.createElement("div")).classList.add("swiper-button-next"),h.innerHTML=c.hostEl.constructor.nextButtonSvg,h.part.add("button-next"),c.el.appendChild(h)),f&&"string"!=typeof f||((f=document.createElement("div")).classList.add("swiper-button-prev"),f.innerHTML=c.hostEl.constructor.prevButtonSvg,f.part.add("button-prev"),c.el.appendChild(f))),h&&(v.navigation.nextEl=h),f&&(v.navigation.prevEl=f),x.init(),x.update()),p.includes("allowSlideNext")&&(c.allowSlideNext=d.allowSlideNext),p.includes("allowSlidePrev")&&(c.allowSlidePrev=d.allowSlidePrev),p.includes("direction")&&c.changeDirection(d.direction,!1),(o||l)&&c.loopDestroy(),(s||l)&&c.loopCreate(),c.update()}({swiper:b.current,slides:U,passedParams:A,changedParams:e,nextEl:j.current,prevEl:C.current,scrollbarEl:k.current,paginationEl:E.current}),()=>{Y()}}),$(()=>{F(b.current)},[h]),o.createElement(i,H({ref:v,className:B(`${d}${r?` ${r}`:""}`)},_),o.createElement(z.Provider,{value:b.current},W["container-start"],o.createElement(a,{className:(void 0===(n=S.wrapperClass)&&(n=""),n)?n.includes("swiper-wrapper")?n:`swiper-wrapper ${n}`:"swiper-wrapper"},W["wrapper-start"],S.virtual?function(e,t,n){if(!n)return null;let r=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:a,to:s}=n,l=e.params.loop?-t.length:0,c=e.params.loop?2*t.length:t.length,u=[];for(let e=l;e<c;e+=1)e>=a&&e<=s&&u.push(t[r(e)]);return u.map((t,n)=>o.cloneElement(t,{swiper:e,style:i,key:t.props.virtualIndex||t.key||`slide-${n}`}))}(b.current,U,h):U.map((e,t)=>o.cloneElement(e,{swiper:b.current,swiperSlideIndex:t})),W["wrapper-end"]),O(S)&&o.createElement(o.Fragment,null,o.createElement("div",{ref:C,className:"swiper-button-prev"}),o.createElement("div",{ref:j,className:"swiper-button-next"})),D(S)&&o.createElement("div",{ref:k,className:"swiper-scrollbar"}),R(S)&&o.createElement("div",{ref:E,className:"swiper-pagination"}),W["container-end"]))});W.displayName="Swiper";let G=(0,o.forwardRef)(function(e,t){let{tag:n="div",children:r,className:i="",swiper:a,zoom:s,lazy:l,virtualIndex:c,swiperSlideIndex:u,...d}=void 0===e?{}:e,p=(0,o.useRef)(null),[h,f]=(0,o.useState)("swiper-slide"),[m,g]=(0,o.useState)(!1);function y(e,t,n){t===p.current&&f(n)}$(()=>{if(void 0!==u&&(p.current.swiperSlideIndex=u),t&&(t.current=p.current),p.current&&a){if(a.destroyed){"swiper-slide"!==h&&f("swiper-slide");return}return a.on("_slideClass",y),()=>{a&&a.off("_slideClass",y)}}}),$(()=>{a&&p.current&&!a.destroyed&&f(a.getSlideClasses(p.current))},[a]);let v={isActive:h.indexOf("swiper-slide-active")>=0,isVisible:h.indexOf("swiper-slide-visible")>=0,isPrev:h.indexOf("swiper-slide-prev")>=0,isNext:h.indexOf("swiper-slide-next")>=0},b=()=>"function"==typeof r?r(v):r;return o.createElement(n,H({ref:p,className:B(`${h}${i?` ${i}`:""}`),"data-swiper-slide-index":c,onLoad:()=>{g(!0)}},d),s&&o.createElement(U.Provider,{value:v},o.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof s?s:void 0},b(),l&&!m&&o.createElement("div",{className:"swiper-lazy-preloader"}))),!s&&o.createElement(U.Provider,{value:v},b(),l&&!m&&o.createElement("div",{className:"swiper-lazy-preloader"})))});G.displayName="SwiperSlide"},47175:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(58775),i=n(57608),a=n(46184),o=n(2050);n(73884);var s=n(34164);let l={H1:"h1",H2:"h2",H3:"h3",H4:"h4",H5:"h5",H6:"h6",P:"p",DIV:"div",SPAN:"span"},c={H0:"text-h1 is-large",H1:"text-h1",H2:"text-h2",H3:"text-h3",H4:"text-h4",H5:"text-h5",H6:"text-h6",H7:"text-h7",Default:"text-18"};function u(e){let{heading:t,headingTag:n="H3",headingFontSize:u="H4",content:d,buttons:p=[],backgroundColor:h,isEmbedded:f=!1,
14className:m=""}=e,g=h?.name||"Pale Grey",y=l[n]??"h3";return(0,r.jsxs)("div",{className:(0,s.A)("text-highlight rounded-xl px-6 py-7 sm:p-8 lg:px-10 lg:py-10",(0,o.Ay)(g),f&&"my-8 md:my-10 lg:my-12",m),children:[t&&(0,r.jsx)(y,{className:(0,s.A)("not-prose",c[u]??c.H4,"SPAN"===n&&"block"),dangerouslySetInnerHTML:{__html:t}}),d&&(0,r.jsx)(i.A,{className:(0,s.A)(t&&"mt-3 md:mt-4"),content:d}),p?.length>0&&(0,r.jsx)("div",{className:"not-prose mt-5 flex flex-row flex-wrap items-center gap-3 md:mt-8 md:gap-4",children:p.map(e=>(0,r.jsx)(a.A,{...e},e?.id||e?.title))})]})}function d(e){let{layout:t="Default"}=e,n={Default:u}[t];return n?(0,r.jsx)(n,{...e}):null}},47365:(e,t,n)=>{"use strict";n.d(t,{B:()=>i,K:()=>a});var r=n(1712);let i=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),a=e=>(0,r.p)(e)?e[e.length-1]||0:e},47447:()=>{},47970:(e,t,n)=>{"use strict";n.d(t,{YR:()=>i});var r=n(54263);function i(e,t,n,i){let a,o,s;"function"==typeof t&&"function"!=typeof n?(o=void 0,s=t,a=n):(o=t,s=n,a=i),(0,r.VG)(e,o,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)},a)}},48062:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});let r=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase()},48067:(e,t)=>{"use strict";t.wE=function(e,t={}){let{encode:a=encodeURIComponent,delimiter:l="/"}=t,c=function e(t,r,i){let a=t.map(t=>(function(t,r,i){if("text"===t.type)return()=>t.value;if("group"===t.type){let n=e(t.tokens,r,i);return(e,t)=>{let r=t.length,i=n(e,t);return t.length===r?i:(t.length=r,"")}}let a=i||n;return"wildcard"===t.type&&!1!==i?(e,n)=>{let i=e[t.name];if(null==i)return n.push(t.name),"";if(!Array.isArray(i)||0===i.length)throw TypeError(`Expected "${t.name}" to be a non-empty array`);let o="";for(let e=0;e<i.length;e++){if("string"!=typeof i[e])throw TypeError(`Expected "${t.name}/${e}" to be a string`);e>0&&(o+=r),o+=a(i[e])}return o}:(e,n)=>{let r=e[t.name];if(null==r)return n.push(t.name),"";if("string"!=typeof r)throw TypeError(`Expected "${t.name}" to be a string`);return a(r)}})(t,r,i));return(e,t)=>{let n="";for(let r of a)n+=r(e,t);return n}}(("object"==typeof e?e:function(e,t={}){let{encodePath:a=n}=t,l=[...e],c=0;return new o(function t(n){let o=[],u="";function d(){u&&(o.push({type:"text",value:a(u)}),u="")}for(;c<l.length;){let a=l[c++];if(a===n)return d(),o;if("\\"===a){if(c===l.length)throw new s(`Unexpected end after \\ at index ${c}`,e);u+=l[c++];continue}if(":"===a||"*"===a){let t=":"===a?"param":"wildcard",n="";if(r.test(l[c]))do n+=l[c++];while(i.test(l[c]));else if('"'===l[c]){let t=c;for(;c<l.length;){if('"'===l[++c]){c++,t=0;break}"\\"===l[c]&&c++,n+=l[c]}if(t)throw new s(`Unterminated quote at index ${t}`,e)}if(!n)throw new s(`Missing parameter name at index ${c}`,e);d(),o.push({type:t,name:n});continue}if("{"===a){d(),o.push({type:"group",tokens:t("}")});continue}if("}"===a||"("===a||")"===a||"["===a||"]"===a||"+"===a||"?"===a||"!"===a)throw new s(`Unexpected ${a} at index ${c-1}`,e);u+=a}if(n)throw new s(`Unexpected end at index ${c}, expected ${n}`,e);return d(),o}(""),e)}(e,t)).tokens,l,a);return function(e={}){let t=[],n=c(e,t);if(t.length)throw TypeError(`Missing parameters: ${t.join(", ")}`);return n}};let n=e=>e,r=/^[$_\p{ID_Start}]$/u,i=/^[$\u200c\u200d\p{ID_Continue}]$/u;function a(e){return e.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}class o{constructor(e,t){this.tokens=e,this.originalPath=t}}class s extends TypeError{constructor(e,t){let n=e;t&&(n+=`: ${t}`),super(n+="; visit https://git.new/pathToRegexpError for info"),this.originalPath=t}}},48706:(e,t,n)=>{"use strict";function r(e=""){return e?.toLowerCase()==="en-us"?"en":e.replace(/-([a-z]+)$/,"")}function i(e=""){let t=e?.toLowerCase();return t&&"en"!==t?({en:"en",fr:"fr-fr",de:"de-de",es:"es-es",it:"it-it",ja:"ja-ja"})[t]||t:"en"}n.d(t,{vd:()=>i,zF:()=>r})},49268:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});let{schedule:r,cancel:i}=(0,n(75489).I)(queueMicrotask,!1)},49604:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(73884);function i(){let[e,t]=(0,r.useState)({width:void 0,height:void 0});return(0,r.useEffect)(()=>{function e(){t({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}},50191:(e,t,n)=>{"use strict";var r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={};((e,t)=>
14{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(s,{BuildCache:()=>c}),e.exports=((e,t,n,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))o.call(e,l)||l===n||r(e,l,{get:()=>t[l],enumerable:!(s=i(t,l))||s.enumerable});return e})(r({},"__esModule",{value:!0}),s);var l=n(81371);class c{constructor({endpoint:e,headers:t,onError:n}){this.get=async e=>{try{let t=await fetch(`${this.endpoint}${e}`,{headers:this.headers,method:"GET"});if(404===t.status)return null;if(200===t.status){if(t.headers.get(l.HEADERS_VERCEL_CACHE_STATE)!==l.PkgCacheState.Fresh)return t.body?.cancel?.(),null;return await t.json()}throw Error(`Failed to get cache: ${t.statusText}`)}catch(e){return this.onError?.(e),null}},this.set=async(e,t,n)=>{try{let r={};n?.ttl&&(r[l.HEADERS_VERCEL_REVALIDATE]=n.ttl.toString()),n?.tags&&n.tags.length>0&&(r[l.HEADERS_VERCEL_CACHE_TAGS]=n.tags.join(",")),n?.name&&(r[l.HEADERS_VERCEL_CACHE_ITEM_NAME]=n.name);let i=await fetch(`${this.endpoint}${e}`,{method:"POST",headers:{...this.headers,...r},body:JSON.stringify(t)});if(200!==i.status)throw Error(`Failed to set cache: ${i.status} ${i.statusText}`)}catch(e){this.onError?.(e)}},this.delete=async e=>{try{let t=await fetch(`${this.endpoint}${e}`,{method:"DELETE",headers:this.headers});if(200!==t.status)throw Error(`Failed to delete cache: ${t.statusText}`)}catch(e){this.onError?.(e)}},this.expireTag=async e=>{try{Array.isArray(e)&&(e=e.join(","));let t=await fetch(`${this.endpoint}revalidate?tags=${e}`,{method:"POST",headers:this.headers});if(200!==t.status)throw Error(`Failed to revalidate tag: ${t.statusText}`)}catch(e){this.onError?.(e)}},this.endpoint=e,this.headers=t,this.onError=n}}},50775:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});let r={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},51133:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),a="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;a?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(19788))},51358:(e,t,n)=>{"use strict";n.d(t,{_:()=>f});var r=n(74737),i=n(23033),a=n(15972),o=n(24714),s=n(59194),l=n(94458),c=n(43206),u=n(10104);function d(e,t,{delay:n=0,transitionOverride:r,type:d}={}){var p;let{transition:h=e.getDefaultTransition(),transitionEnd:f,...m}=t;r&&(h=r);let g=[],y=d&&e.animationState&&e.animationState.getState()[d];for(let t in m){let r=e.getValue(t,null!==(p=e.latestValues[t])&&void 0!==p?p:null),o=m[t];if(void 0===o||y&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(y,t))continue;let d={delay:n,...(0,i.rU)(h||{},t)},f=!1;if(window.MotionHandoffAnimation){let n=(0,l.P)(e);if(n){let e=window.MotionHandoffAnimation(n,t,u.Gt);null!==e&&(d.startTime=e,f=!0)}}(0,s.g)(e,t),r.start((0,c.f)(t,r,o,e.shouldReduceMotion&&a.$.has(t)?{type:!1}:d,e,f));let v=r.animation;v&&g.push(v)}return f&&Promise.all(g).then(()=>{u.Gt.update(()=>{f&&(0,o.U)(e,f)})}),g}function p(e,t,n={}){var i;let a=(0,r.K)(e,t,"exit"===n.type?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=a||{};n.transitionOverride&&(o=n.transitionOverride);let s=a?()=>Promise.all(d(e,a,n)):()=>Promise.resolve(),l=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,i=1,a){let o=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(h).forEach((e,r)=>{e.notify("AnimationStart",t),o.push(p(e,t,{...a,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,i+r,a,s,n)}:()=>Promise.resolve(),{when:c}=o;if(!c)return Promise.all([s(),l(n.delay)]);{let[e,t]="beforeChildren"===c?[s,l]:[l,s];return e().then(()=>t())}}function h(e,t){return e.sortNodePosition(t)}function f(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t))i=Promise.all(t.map(t=>
14p(e,t,n)));else if("string"==typeof t)i=p(e,t,n);else{let a="function"==typeof t?(0,r.K)(e,t,n.custom):t;i=Promise.all(d(e,a,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}},51464:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/UnorderedList","definitions":{"UnorderedList":{"type":"object","properties":{"nodeType":{"type":"string","enum":["unordered-list"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/ListItem"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItem":{"type":"object","properties":{"nodeType":{"type":"string","enum":["list-item"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/ListItemBlock"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlock":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/ListItemBlockEnum"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"ListItemBlockEnum":{"enum":["blockquote","embedded-asset-block","embedded-entry-block","embedded-resource-block","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","hr","ordered-list","paragraph","unordered-list"],"type":"string"},"Block":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/BLOCKS"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"BLOCKS":{"description":"Map of all Contentful block types. Blocks contain inline or block nodes.","type":"string","enum":["document","paragraph","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","ordered-list","unordered-list","list-item","hr","blockquote","embedded-entry-block","embedded-asset-block","embedded-resource-block","table","table-row","table-cell","table-header-cell"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},51969:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});let r=e=>t=>t.test(e)},52038:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});let r=(0,n(10938).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52194:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(13996);function i(e){for(let t in e)r.B[t]={...r.B[t],...e[t]}}},52619:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return i},requestAsyncStorage:function(){return r.requestAsyncStorage}});let r=n(52038);function i(e){let t=r.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
14dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53305:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.INLINES=void 0,function(e){e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink"}(n||(t.INLINES=n={}))},53388:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/TableRow","definitions":{"TableRow":{"type":"object","properties":{"nodeType":{"type":"string","enum":["table-row"]},"data":{"type":"object","properties":{}},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/TableCell"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"TableCell":{"type":"object","properties":{"nodeType":{"enum":["table-cell","table-header-cell"],"type":"string"},"data":{"type":"object","properties":{"colspan":{"type":"number"},"rowspan":{"type":"number"}},"additionalProperties":false},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/Paragraph"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},54084:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Text","definitions":{"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},54106:(e,t,n)=>{"use strict";n.d(t,{ge:()=>o,xU:()=>i});let r=()=>({translate:0,scale:1,origin:0,originPoint:0}),i=()=>({x:r(),y:r()}),a=()=>({min:0,max:0}),o=()=>({x:a(),y:a()})},54263:(e,t,n)=>{"use strict";n.d(t,{dc:()=>a,VG:()=>o});var r=n(69143);let i=[],a=!1;function o(e,t,n,o){let s;"function"==typeof t&&"function"!=typeof n?(o=n,n=t):s=t;let l=(0,r.C)(s),c=o?-1:1;(function e(r,s,u){let d=r&&"object"==typeof r?r:{};if("string"==typeof d.type){let e="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0;Object.defineProperty(p,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return p;function p(){var d;let p,h,f,m=i;if((!t||l(r,s,u[u.length-1]||void 0))&&(m=Array.isArray(d=n(r,u))?d:"number"==typeof d?[!0,d]:null==d?i:[d])[0]===a)return m;if("children"in r&&r.children&&r.children&&"skip"!==m[0])for(h=(o?r.children.length:-1)+c,f=u.concat(r);h>-1&&h<r.children.length;){if((p=e(r.children[h],h,f)())[0]===a)return p;h="number"==typeof p[1]?p[1]:h+c}return m}})(e,void 0,[])()}},54399:e=>{"use strict";e.exports=JSON.parse('{"id":"google-maps-embed","description":"Embed a Google Maps embed on your webpage","website":"https://developers.google.com/maps/documentation/embed/get-started","html":{"element":"iframe","attributes":{"loading":"lazy","src":{"url":"https://www.google.com/maps/embed/v1/place","slugParam":"mode","params":["key","q","center","zoom","maptype","language","regi
14on"]},"referrerpolicy":"no-referrer-when-downgrade","frameborder":"0","style":"border:0","allowfullscreen":true,"width":null,"height":null}}}')},54435:(e,t,n)=>{"use strict";function r(e){let t;return()=>(void 0===t&&(t=e()),t)}n.d(t,{p:()=>r})},55120:(e,t,n)=>{"use strict";n.d(t,{CQ:()=>i,HQ:()=>a,N:()=>c,jA:()=>d,vb:()=>s});var r=n(39713);function i(e){return e.max-e.min}function a(e,t,n){return Math.abs(e-t)<=n}function o(e,t,n,a=.5){e.origin=a,e.originPoint=(0,r.k)(t.min,t.max,e.origin),e.scale=i(n)/i(t),e.translate=(0,r.k)(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function s(e,t,n,r){o(e.x,t.x,n.x,r?r.originX:void 0),o(e.y,t.y,n.y,r?r.originY:void 0)}function l(e,t,n){e.min=n.min+t.min,e.max=e.min+i(t)}function c(e,t,n){l(e.x,t.x,n.x),l(e.y,t.y,n.y)}function u(e,t,n){e.min=t.min-n.min,e.max=e.min+i(t)}function d(e,t,n){u(e.x,t.x,n.x),u(e.y,t.y,n.y)}},55269:(e,t,n)=>{"use strict";n.d(t,{KN:()=>a,gQ:()=>c,px:()=>o,uj:()=>i,vh:()=>s,vw:()=>l});let r=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),i=r("deg"),a=r("%"),o=r("px"),s=r("vh"),l=r("vw"),c={...a,parse:e=>a.parse(e)/100,transform:e=>a.transform(100*e)}},55373:(e,t,n)=>{"use strict";var r=n(98636),i=n(62642),a=n(74765);e.exports={formats:a,parse:i,stringify:r}},57155:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(73884);let i=e=>{let[t,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let r=window.matchMedia(e);r.matches!==t&&n(r.matches);let i=()=>n(r.matches);return r.addEventListener("change",i),()=>r.removeEventListener("change",i)},[t,e]),t}},57177:(e,t,n)=>{"use strict";function r(e,t){return t?1e3/t*e:0}n.d(t,{f:()=>r})},57427:(e,t)=>{"use strict";t.parse=function(e,t){if("string"!=typeof e)throw TypeError("argument str must be a string");var n={},i=e.length;if(i<2)return n;var a=t&&t.decode||u,o=0,s=0,d=0;do{if(-1===(s=e.indexOf("=",o)))break;if(-1===(d=e.indexOf(";",o)))d=i;else if(s>d){o=e.lastIndexOf(";",s-1)+1;continue}var p=l(e,o,s),h=c(e,s,p),f=e.slice(p,h);if(!r.call(n,f)){var m=l(e,s+1,d),g=c(e,d,m);34===e.charCodeAt(m)&&34===e.charCodeAt(g-1)&&(m++,g--);var y=e.slice(m,g);n[f]=function(e,t){try{return t(e)}catch(t){return e}}(y,a)}o=d+1}while(o<i);return n},t.serialize=function(e,t,r){var l=r&&r.encode||encodeURIComponent;if("function"!=typeof l)throw TypeError("option encode is invalid");if(!i.test(e))throw TypeError("argument name is invalid");var c=l(t);if(!a.test(c))throw TypeError("argument val is invalid");var u=e+"="+c;if(!r)return u;if(null!=r.maxAge){var d=Math.floor(r.maxAge);if(!isFinite(d))throw TypeError("option maxAge is invalid");u+="; Max-Age="+d}if(r.domain){if(!o.test(r.domain))throw TypeError("option domain is invalid");u+="; Domain="+r.domain}if(r.path){if(!s.test(r.path))throw TypeError("option path is invalid");u+="; Path="+r.path}if(r.expires){var p=r.expires;if("[object Date]"!==n.call(p)||isNaN(p.valueOf()))throw TypeError("option expires is invali
14d");u+="; Expires="+p.toUTCString()}if(r.httpOnly&&(u+="; HttpOnly"),r.secure&&(u+="; Secure"),r.partitioned&&(u+="; Partitioned"),r.priority)switch("string"==typeof r.priority?r.priority.toLowerCase():r.priority){case"low":u+="; Priority=Low";break;case"medium":u+="; Priority=Medium";break;case"high":u+="; Priority=High";break;default:throw TypeError("option priority is invalid")}if(r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:case"strict":u+="; SameSite=Strict";break;case"lax":u+="; SameSite=Lax";break;case"none":u+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return u};var n=Object.prototype.toString,r=Object.prototype.hasOwnProperty,i=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,a=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,o=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,s=/^[\u0020-\u003A\u003D-\u007E]*$/;function l(e,t,n){do{var r=e.charCodeAt(t);if(32!==r&&9!==r)return t}while(++t<n);return n}function c(e,t,n){for(;t>n;){var r=e.charCodeAt(--t);if(32!==r&&9!==r)return t+1}return n}
14function u(e){return -1!==e.indexOf("%")?decodeURIComponent(e):e}},57608:(e,t,n)=>{"use strict";n.d(t,{A:()=>I});var r=n(58775),i=n(30200),a=n(73884),o=n.n(a),s=n(34164);let l=function({heading:e,speakers:t,className:n=""}){return t?.length>0?(0,r.jsxs)("div",{className:(0,s.A)("mx-auto lg:ml-[10%] lg:max-w-[41rem]",n),children:[e&&(0,r.jsx)("h2",{className:"text-h4 mb-4 md:mb-6",dangerouslySetInnerHTML:{__html:e}}),t?.map((e,t)=>r.jsxs("div",{className:"items-center border-b border-grey-pastel sm:flex",children:[r.jsxs("div",{className:"-mb-px flex flex-1 items-center gap-x-3 rounded-xl border-b border-r border-grey-pastel py-4 pr-4 sm:gap-x-4 sm:py-[1.125rem] sm:pr-8 lg:gap-x-6",children:[e?.fields?.headshot?.fields?.file?.url?.length>0?r.jsx("div",{className:"relative h-12 w-12 shrink-0 overflow-hidden rounded-[0.625rem] bg-coral-primary lg:h-16 lg:w-16",children:r.jsx(i.A,{image:e?.fields?.headshot,className:"!m-0 h-full w-full object-cover"})}):null,r.jsxs("div",{className:"flex-1 space-y-1",children:[e?.fields?.name?.length>0&&r.jsx("div",{className:"text-h7 text-black",dangerouslySetInnerHTML:{__html:e?.fields?.name}}),e?.fields?.speakerJobRole?.length>0&&r.jsx("div",{className:"text-14 text-black/[.65]",dangerouslySetInnerHTML:{__html:e?.fields?.speakerJobRole}})]})]}),e?.fields?.logo?.fields?.file?.url?.length>0?r.jsx("div",{className:"flex w-24 shrink-0 items-center justify-center p-4 sm:w-48 sm:p-6",children:r.jsx("div",{className:"aspect-[80/24] w-20",children:r.jsx(i.A,{image:e?.fields?.logo,className:"!m-0 h-full w-full object-cover"})})}):null]},`speaker-${t}`))]}):null};var c=n(43908);let u=function({anchor:e}){return(0,r.jsx)("div",{className:"relative !my-0",children:(0,r.jsx)("div",{id:(0,c.e)(e),className:"pointer-events-none absolute inset-0 z-[-1] h-[12rem]","aria-hidden":!0})})};var d=n(84265),p=n(7306);function h({url:e,adminName:t}){return e?(0,r.jsx)("div",{style:{aspectRatio:e?.includes("wistia")||e?.includes("vimeo")||e?.includes("youtube")?"16 / 9":"1 / 1"},children:(0,r.jsx)("iframe",{src:e,title:t,width:"100%",height:"100%",frameBorder:"0",allowFullScreen:!0})}):null}var f=n(69220);let m=function({stats:e,className:t=""}){return(0,r.jsx)("div",{className:(0,s.A)("grid gap-x-5 gap-y-4 sm:auto-cols-fr sm:grid-flow-col sm:gap-y-8 lg:gap-x-6",t),children:e?.length>0&&e?.map((e,t)=>r.jsxs(f.Ay,{className:"space-y-1.5 rounded-[1.25rem] p-5 sm:space-y-3 sm:px-6 sm:py-7",hasHorizontalArrows:!0,children:[r.jsx("h2",{className:"text-h2",dangerouslySetInnerHTML:{__html:e?.fields?.heading}}),e?.fields?.content?.length>0&&r.jsx("p",{className:"text-14 text-black/80",dangerouslySetInnerHTML:{__html:e?.fields?.content}})]},`stat-${t}`))})};var g=n(79794),y=n(46184),v=n(74614),b=n(2050);let x=function({items:e}){let t=Number(e?.length)-1,n=(0,v.R1)(),a=(0,b.$9)(n?.backgroundColor?.name||"Pale Grey");return e?.length>0?(0,r.jsx)("div",{className:"not-prose rich-text-icon-grid mt-3 lg:mt-5",children:(0,r.jsx)("ul",{className:"grid gap-y-4",children:e?.map((e,n)=>r.jsxs("li",{className:s.A("relative border !pl-0",n%2!=1&&"rounded-xl",a),children:[r.jsxs("div",{className:"p-4 md:flex md:items-start md:space-x-3 lg:space-x-4 lg:p-6 lg:pl-5 lg:pr-6 lg:pt-6",children:[e?.fields?.icon&&r.jsx(i.A,{image:e?.fields?.icon,className:"h-6 w-6 shrink-0 object-contain max-md:mb-2"}),r.jsxs("div",{children:[e?.fields?.heading&&r.jsx("div",{className:"text-h6 text-black",dangerouslySetInnerHTML:{__html:e?.fields?.heading}}),e?.fields?.content&&r.jsx(I,{content:e?.fields?.content,className:"text-[1rem] leading-[1.4] opacity-80 lg:text-[1.125rem]"}),e?.fields?.button?.title?.length>0&&r.jsx("div",{className:"mt-3 pb-1",children:r.jsx(y.A,{...e?.fields?.button})})]})]}),n%3!=2&&n!==t&&r.jsx(g.ay,{borderColour:a,isEven:n%2!=1})]},n))})}):null};var w=n(90777),j=n(9483);let C=function({fields:e,className:t=""}){let{backgroundColor:n,textColor:a}=(0,b.lQ)(e?.backgroundColor);return(0,r.jsxs)("div",{className:(0,s.A)("relative rounded-xl",{Default:"px-6 pb-8 pt-9 sm:p-10 lg:py-14 lg:pl-16 lg:pr-10",Small:"p-8 text-xl"}[e?.layout||"Default"],n,t,e?.className),children:[(0,r.jsx)(w.A,{colour:"White",position:"topLeft",radiu
14s:12,children:(0,r.jsx)("div",{className:"pb-2 pr-4 md:pb-3.5 md:pr-6",children:(0,r.jsx)(j.Xu,{className:`w-[1.625rem] ${a}`})})}),(0,r.jsx)(w.A,{colour:"White",position:"bottomRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[2/1] h-6 md:h-10"})}),(0,r.jsx)("div",{className:"aspect-[80/20] w-20",children:(0,r.jsx)(i.A,{image:e?.logo,width:160,height:40,className:"!my-0"})}),(0,r.jsx)("p",{className:(0,s.A)("text-20-testimonial !max-w-none text-midnight",e?.logo&&"mt-5 lg:mt-6"),dangerouslySetInnerHTML:{__html:e?.quote}}),(0,r.jsxs)("div",{className:"mt-5 flex items-center gap-x-3 sm:mt-7 lg:gap-x-6",children:[e?.headshot?(0,r.jsx)("div",{className:"aspect-[1/1] w-9 shrink-0 overflow-hidden rounded-full sm:w-10 lg:w-12",children:(0,r.jsx)(i.A,{image:e?.headshot,width:72,height:72,className:"!my-0"})}):null,e?.name?(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"text-16 font-medium text-midnight",dangerouslySetInnerHTML:{__html:e?.name}}),(0,r.jsx)("div",{className:"text-14 text-midnight/80",dangerouslySetInnerHTML:{__html:e?.jobRole}})]}):null]})]})};var E=n(71231),k=n(47175),S=n(5293),A=n(86188),T=n(4240),_=n(45871),L=n(10297);let N=e=>{let{data:{target:t}}=e,n=t?.sys?.contentType?.sys?.id;switch(n){case"cta":{let e=Array.isArray(t?.fields?.buttons)?t.fields.buttons.filter(Boolean):[];return(0,r.jsx)(p.A,{...t?.fields,buttons:e,layout:"EmbeddedCTA"})}case"postStats":return(0,r.jsx)(m,{stats:t?.fields?.stats,className:"not-prose mx-auto my-8 w-full max-w-[38.5rem] md:my-12 lg:my-20"});case"testimonial":return(0,r.jsx)(C,{...t,className:"not-prose my-8 md:my-10 lg:my-12"});case"postFaq":{let e=Array.isArray(t?.fields?.faqs)?t.fields.faqs.filter(Boolean):[];if(0===e.length)return null;return(0,r.jsx)(d.A,{faqs:e,isInline:!0,showFirstItem:!0,hasStructuredData:!0})}case"postAnchorElement":return(0,r.jsx)(u,{anchor:t.fields.anchorLabel});case"iconGrid":return(0,r.jsx)(x,{...t?.fields});case"asset":return(0,r.jsx)(S.Ay,{...t.fields});case"postSpeakers":return(0,r.jsx)(l,{heading:t?.fields?.heading,speakers:t?.fields?.speakers,className:"not-prose my-8 md:my-12 lg:my-20"});case"embed":return(0,r.jsx)(h,{...t?.fields});case"componentHtml":return(0,r.jsx)(E.A,{htmlBlock:t?.fields?.htmlBlock,className:"not-prose"});case"textHighlight":return(0,r.jsx)(k.A,{...t?.fields,isEmbedded:!0});default:return console.warn(`Unhandled embedded entry type: ${n}`),null}},P={renderMark:{[_.MARKS.BOLD]:e=>(0,r.jsx)("strong",{children:e}),[_.MARKS.ITALIC]:e=>(0,r.jsx)("em",{children:e}),[_.MARKS.CODE]:e=>(0,r.jsx)("span",{className:"code-block",children:(0,r.jsx)("code",{children:e})})},renderNode:{[_.BLOCKS.PARAGRAPH]:(e,t)=>(0,r.jsx)("p",{className:"",children:o().Children.map(t,e=>{if("string"!=typeof e)return e;let t=/<([a-zA-Z0-9-]+(?:\s+[a-zA-Z0-9-]+)*)>(.*?)<\\([a-zA-Z0-9-]+(?:\s+[a-zA-Z0-9-]+)*)>/g,n=[],i=0,a=t.exec(e);for(;null!==a;){let o=a[1].trim().replace(/\s+/g," ");if(o===a[3].trim().replace(/\s+/g," ")){a.index>i&&n.push(e.substring(i,a.index));let s=a[2];n.push((0,r.jsx)("div",{className:o,children:s},`${o}-${a.index}`)),i=t.lastIndex}a=t.exec(e)}return i<e.length&&n.push(e.substring(i)),n.length>0?n:e})}),[_.BLOCKS.HEADING_1]:(e,t)=>(0,r.jsx)("h1",{className:"text-h1",children:t}),[_.BLOCKS.HEADING_2]:(e,t)=>{if(!e?.content?.[0]?.value)return null;let{content:n}=e;return(0,r.jsx)("h2",{id:(0,c.e)(n?.map(({value:e})=>e)?.filter(Boolean)?.join(" ")),className:"",children:t})},[_.INLINES.HYPERLINK]:(e,t)=>{let{locale:n}=(0,L.useRouter)(),{data:i}=e,a=i?.uri,o=a?.startsWith("/")||a?.startsWith("https://contentsquare.com");return a?(o&&a.startsWith("/")&&!A.YZ.some(e=>a.startsWith(`/${e}/`))&&"en"!==n&&(a=`/${n}${a}`),(0,r.jsx)("a",{href:a,target:o?"":"_blank",rel:o?"":"noopener noreferrer",children:t})):null},[_.INLINES.ASSET_HYPERLINK]:(e,t)=>{let{data:n}=e,i=n?.target?.fields?.file?.url;return(0,r.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:t})},[_.INLINES.ENTRY_HYPERLINK]:(e,t)=>{let{data:n}=e,i=n?.target?.fields?.slug||"";return(0,r.jsx)("a",{href:i,target:"_blank",rel:"noopener noreferrer",children:t})},[_.INLINES.EMBEDDED_ENTRY]:e=>(0,r.jsx)("div",{className:"cf-inline-entry",children:N(e)}),[_.BLOCKS.UL_LIST]:(e,t)=>(0,r.jsx)("ul",{className:"custom-ul",children:t}),[_.BLOCKS.OL_LIST]:(e,t)=>(0,r.jsx)("ol",{className:"custom-ol",children:t}),[_.BLOCKS.LIST_ITEM]:(e,t)=>(0,r.jsx)("li",{className:"custom-li",children:t}),[_.BLOCKS.EMBEDDED_ENTRY]:e=>N(e),[_.BLOCKS.EMBEDDED_ASSET]:e=>{let{data:t}=e,n=t?.target?.fields?.file?.fileName,a=t?.target?.fields?.file?.url,o=t?.target?.fields?.description,s=t?.target?.fields?.title||"",l="string"==typeof n?n:"",c="string"==typeof a?a:"",u=l.toLowerCase().endsWith(".gif")||c.toLowerCase().includes(".gif");return(0,r.jsxs)("figure",{className:"prose-image my-8 md:my-[3.75rem]",children:[u&&c?(0,r.jsx)("img",{src:c,alt:s,className:"w-full rounded-lg",loading:"lazy"}):(0,r.jsx)(i.A,{image:t?.target,className:"w-full rounded-lg"}),o?.length>0&&l!==o&&(0,r.jsx)("figcaption",{className:"text-14 mt-4 opacity-80",dangerouslySetInnerHTML:{__html:o}})]})},[_.BLOCKS.TABLE]:(e,t)=>(0,r.jsx)("div",{className:"table-wrapper",children:(0,r.jsx)("table",{children:(0,r.jsx)("tbody",{children:t})})}),[_.BLOCKS.TABLE_ROW]:(e,t)=>(0,r.jsx)("tr",{children:t}),[_.BLOCKS.TABLE_CELL]:(e,t)=>(0,r.jsx)("td",{children:t}),[_.BLOCKS.TABLE_HEADER_CELL]:(e,t)=>(0,r.jsx)("th",{children:t})}},I=function({content:e,className:t,maxWidth:n,...i}){return(0,r.jsx)("div",{className:`prose ${t||""} ${"small"===n?"prose-616":""}`,...i,children:(0,T.i)(e,P)})}},57637:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var r=n(58775),i=n(35061),a=n.n(i),o=n(73884),s=n(10297);function l(){return"undefined"!=typeof window}function c(){return(l()?window.vam:"production")||"production"}function u(){return"production"===c()}let d=(e,t)=>{if(window.MktoForms2){t(!0);return}let n=document.createElement("script");n.onload=()=>window.MktoForms2&&t(!0),n.src=`${e}/js/forms2/js/forms2.min.js`,document.body.appendChild(n)}
14,p=e=>{if(window.ChiliPiper)return;let t=document.createElement("script");t.src="https://contentsquare.chilipiper.com/concierge-js/cjs/concierge.js",t.crossOrigin="anonymous",t.type="text/javascript",document.body.appendChild(t),e(!0)};var h=n(57608),f=n(96438);let m=` 15 form.mktoForm { 16 width:100%!important; 17 box-shadow: none !important; 18 font-family: var(--font-Inter), Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !important; 19 border: none; 20 margin: 0 !important; 21 padding: 0 !important; 22 23 * { 24 float: none !important; 25 } 26 .mktoHtmlText { 27 position: relative; 28 float: unset !important; 29 display: inline !important; 30 } 31 32 .mktoHtmlText a { 33 position: relative; 34 float: unset !important; 35 display: inline !important; 36 color: #7C0033 !important; 37 text-decoration: underline !important; 38 } 39 40 .mktoError{ 41 position: relative; 42 right: auto !important; 43 bottom: auto !important; 44 } 45 46 .mktoClear, 47 .mktoGutter, 48 .mktoOffset { 49 display: none !important; 50 } 51 52 .mktoFormCol { 53 padding-left: 0; 54 padding-right: 0; 55 flex: 1 1 0px; 56 } 57 58 .mktoField { 59 font-family: var(--font-Inter), Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !important; 60 } 61 62 .mktoLabel, 63 .mktoLabel * { 64 font-family: var(--font-Inter), Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !important; 65 text-align: left !important; 66 padding: 0 !important; 67 font-size: 14px !important; 68 margin-bottom: 2px !important; 69 } 70 71 .mktoLabel *:not(.mktoAsterix) { 72 display: flex !important; 73 } 74 75 .mktoHtmlText, 76 .mktoHtmlText *{ 77 font-family: var(--font-Inter), Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !important; 78 text-align: left !important; 79 padding:0 0 0 0!important; 80 font-size:12px!important; 81 } 82 83 .mktoLabel { 84 width:100%!important; 85 display:flex!important; 86 margin-bottom:0.25rem; 87 } 88 89 .mktoLabel, 90 .mktoLabel * { 91 font-weight: 500 !important; 92 } 93 94 .mktoAsterix { 95 color:#CD3246!important; 96 margin-right:0.25rem; 97 } 98 99 select:not(.mktoValid) { 100 color: #6d7280 !important; 101 } 102 103 textarea { 104 padding-top: 0.75rem !important; 105 padding-bottom: 0.75rem !important; 106 resize: vertical; 107 height: auto !important; 108 min-height: 80px !important; 109 } 110 111 input[type="text"], 112 input[type="email"], 113 input[type="tel"], 114 input[type="number"], 115 input[type="date"], 116 input[type="time"], 117 input[type="url"], 118 input[type="search"], 119 input[type="password"], 120 select { 121 height:40px; 122 width:100%!important; 123 appearance:none; 124 border-radius:0.5rem; 125 border:1px solid #DFDFDF; 126 background-color:#F7F7F7; 127 padding:0 1rem; 128 font-size:16px; 129 130 &.mktoInvalid { 131 border-color:#CD3246; 132 } 133 } 134 135 [type=checkbox]:focus, [type=radio]:focus, [type=submit]:focus { 136 outline: 1px solid #cd3346!important; 137 outline-offset: 3px!important; 138 } 139 140 select { 141 padding:0 1rem!important; 142 font-size:16px!important; 143 } 144 145 .mktoButtonRow { 146 display:flex; 147 justify-content:center; 148 margin-top: .5rem !important; 149 span { 150 width:100%!important; 151 margin:0!important; 152 } 153 } 154 155 button[type="submit"].mktoButton { 156 font-family: var(--font-Inter), Helvetica, sans-serif, "Apple Color Emoji", "Segoe UI Emoji" !important; 157 padding: 1rem 1.25rem !important; 158 border-radius: 1rem !important; 159 box-shadow: none !important; 160 color: #fff !important; 161 line-height: 1.3 !important; 162 font-weight: 500 !important; 163 font-size: 16px !important; 164 text-align: center !important; 165 background-color: #CD3246 !important; 166 color:#fff!important; 167 width: 100% !important; 168 cursor: pointer !important; 169 border: none !important; 170 border-radius: 2rem !important; 171 background-image: none !important; 172 text-shadow: none !important; 173 transition: .3s ease-in-out !important; 174 } 175 176 button[type="submit"].mktoButton:hover { 177 background-color: #7C0033 !important; 178 transition: .3s ease-in-out !important; 179 } 180 } 181 182`,g=function(e){let{formId:t,formHeading:n,formDescription:i,formName:g,confirmationMessage:y,confirmationRedirectUrl:v,setIsSent:b,initialValues:x={},cid:w="",campaignMemberStatus:j="",utmCampaign:C="",enablePathFactory:E=!1,enableChilipiper:k=!1,chilipiperRouter:S="",openInNewTab:A=!0}
182=e,T=(0,s.useRouter)(),_=T?.query,[L,N]=(0,o.useState)({CID__c:_.cid||w,Campaign_Member_Status__c:_.campaignmemberstatus||j,UTM_Campaign__c_lead:_.utm_campaign||C,lastConversionDomain:window.location.hostname});(0,o.useEffect)(()=>{N({CID__c:T.query.cid||w,Campaign_Member_Status__c:T.query.campaignmemberstatus||j,UTM_Campaign__c_lead:T.query.utm_campaign||C,lastConversionDomain:window.location.hostname})},[T.query,w,j,C]);let{isSent:P,isLoaded:I}=function({baseUrl:e="//page.contentsquare.com",munchkinId:t="621-GDX-025",initialValues:n={},formId:r,formName:i="Unnamed Form",onLoad:a=()=>{},onSubmit:h=()=>{},enableChilipiper:f=!1,chilipiperRouter:m="",redirectUrl:g,openInNewTab:y=!1,enablePathFactory:v=!1}){let[b,x]=(0,o.useState)(!1),[w,j]=(0,o.useState)(!1),[C,E]=(0,o.useState)(!1),[k,S]=(0,o.useState)(!1),[A,T]=(0,o.useState)(!1),_=(0,s.useRouter)(),L=_?.locale||"en-US",N=(0,o.useCallback)(()=>{if(g?.length>0){let e=v?`${g}?lb_email=${window.emailField}${window.location.search.replace("?","").length>0?window.location.search.replace("?","&"):""}`:g;try{if(y){let t=window.open(e,"_blank");(!t||t.closed||void 0===t.closed)&&(window.location.href=e)}else window.location.href=e}catch(t){console.error("Error opening new window:",t),window.location.href=e}}else if(v){let e=new URL(window.location.href);e.searchParams.set("lb_email",window.emailField),_.push(e.pathname+e.search,void 0,{shallow:!0,scroll:!1})}},[g,y,v,_]),P=(0,o.useCallback)(e=>{if(window.emailField=e.email||e.Email||e.EMAIL||e.emailAddress||e.email_address||e.email_address_1||"",window?.dataLayer?.push&&window.dataLayer.push({event:"form-submit",pageUrl:window.location.pathname,formName:i}),!window.emailField.includes("contentsquare.com"))try{!function(e,t,n){var r,i;if(!l()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(u())console.warn(e);else throw Error(e);return}if(!t){null==(r=window.va)||r.call(window,"event",{name:e,options:void 0});return}try{let n=function(e,t){if(!e)return;let n=e,r=[];for(let[i,a]of Object.entries(e))"object"==typeof a&&null!==a&&(t.strip?n=function(e,{[e]:t,...n}){return n}(i,n):r.push(i));if(r.length>0&&!t.strip)throw Error(`The following properties are not valid: ${r.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return n}(t,{strip:u()});null==(i=window.va)||i.call(window,"event",{name:e,data:n,options:void 0})}catch(e){e instanceof Error&&"development"===c()&&console.error(e)}}("Form submission",{formId:r,pageUrl:window.location.pathname})}catch(e){console.error("Vercel form submit tracking error:",e)}try{window.postMessage({name:"formSubmitted",formID:r,values:e})}catch(e){console.error(e)}if(f&&window.ChiliPiper){let t=()=>(T(!0),h(),N(),!1),n={...e};delete n.clearbitFormStatus,delete n.checksumFields,delete n.checksum;try{return window.ChiliPiper.submit("contentsquare",m,{trigger:"ThirdPartyForm",lead:n,locale:L,onSuccess:()=>t(),onError:()=>{console.error("ChiliPiper submission error"),t()},onClose:()=>t()}),!1}catch(e){console.error(e),t()}}return T(!0),h(),N(),!1},[i,h,f,m,N,r]);(0,o.useEffect)(()=>{if(!w&&f&&p(j),!b){d(e,x);return}if(C||k){if(C){let e=window.MktoForms2?.getForm(r);e?e.setValues(n):(console.warn(`Marketo form ${r} was considered loaded but not found. Attempting to reload.`),E(!1))}}else S(!0),window.MktoForms2?.loadForm(e,t,r,e=>{S(!1),e?(e.setValues(n),a(),e.onSuccess(P),E(!0)):console.error(`Marketo form ${r} failed to load.`)})},[b,C,k,n,e,t,r,a,P,f]);let I=(0,o.useRef)(r);return(0,o.useEffect)(()=>{let e=I.current;return I.current=r,()=>{if(window.MktoForms2?.getForm(e)){let t=window.MktoForms2?.getForm(e)?.getFormElem();t&&[...t].forEach(e=>{e.remove()}),E(!1),S(!1)}}},[r]),{isSent:A,isLoaded:C}}({formId:t,formName:g,enableChilipiper:k,chilipiperRouter:S,openInNewTab:A,enablePathFactory:E,redirectUrl:v,initialValues:{...x,...L}});return(0,o.useEffect)(()=>{b&&b(P)},[P,b]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a(),{id:m.__hash,children:m}),(0,r.jsxs)("div",{className:"w-full rounded-[8px] border border-grey-pastel bg-white p-5 pt-6 text-black",children:[P?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"mb-6",children:[n?.length>0?(0,r.jsx)("h3",{dangerouslySetInnerHTML:{__html:n},className:"text-h7"}):null,i?.length>0?(0,r.jsx)("p",{dangerouslySetInnerHTML:{__html:i},className:"text-13 mt-1 text-[#606973] md:mt-1"}):null]}),(0,r.jsxs)("div",{children:[!I&&(0,r.jsx)("div",{className:"flex justify-center py-8",children:(0,r.jsx)(f.pf,{ariaLabel:"loading-indicator",color:"#ff5c5c"})}),(0,r.jsx)("form",{id:`mktoForm_${t}`},t)]})]}),P&&y&&(0,r.jsx)("div",{className:"mx-auto max-w-[360px] py-6 text-center",children:(0,r.jsx)(h.A,{content:y})})]})]})}},57826:(e,t)=>{"use strict";
182Object.defineProperty(t,"__esModule",{value:!0})},58068:e=>{"use strict";e.exports=SyntaxError},58399:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading3","definitions":{"Heading3":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-3"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},58638:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(73884),i=n(2743),a=n(8452);function o(){a.r.current||(0,i.U)();let[e]=(0,r.useState)(a.O.current);return e}},58859:(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,i=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&i&&"function"==typeof i.get?i.get:null,o=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,h="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,f=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,y=String.prototype.match,v=String.prototype.slice,b=String.prototype.replace,x=String.prototype.toUpperCase,w=String.prototype.toLowerCase,j=RegExp.prototype.test,C=Array.prototype.concat,E=Array.prototype.join,k=Array.prototype.slice,S=Math.floor,A="function"==typeof BigInt?BigInt.prototype.valueOf:null,T=Object.getOwnPropertySymbols,_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,L="function"==typeof Symbol&&"object"==typeof Symbol.iterator,N="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===L?"object":"symbol")?Symbol.toStringTag:null,P=Object.prototype.propertyIsEnumerable,I=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function M(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||j.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-S(-e):S(e);if(r!==e){var i=String(r),a=v.call(t,i.length+1);return b.call(i,n,"$&_")+"."+b.call(b.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return b.call(t,n,"$&_")}var O=n(42634),R=O.custom,D=V(R)?R:null;function B(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function F(e){return"[object Array]"===z(e)&&(!N||!("object"==typeof e&&N in e))}function H(e){return"[object RegExp]"===z(e)&&(!N||!("object"==typeof e&&N in e))}function V(e){if(L)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!_)return!1;try{return _.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,i,s){var l=r||{};if(U(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw TypeError('option "quoteStyle" must be "single" or "double"');if(U(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!U(l,"customInspect")||l.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");
182if(U(l,"indent")&&null!==l.indent&&" "!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(U(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw TypeError('option "numericSeparator", if provided, must be `true` or `false`');var x=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return function e(t,n){if(t.length>n.maxStringLength){var r=t.length-n.maxStringLength;return e(v.call(t,0,n.maxStringLength),n)+"... "+r+" more character"+(r>1?"s":"")}return B(b.call(b.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,G),"single",n)}(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var j=String(t);return x?M(t,j):j}if("bigint"==typeof t){var S=String(t)+"n";return x?M(t,S):S}var T=void 0===l.depth?5:l.depth;if(void 0===i&&(i=0),i>=T&&T>0&&"object"==typeof t)return F(t)?"[Array]":"[Object]";var R=function(e,t){var n;if(" "===e.indent)n=" ";else{if("number"!=typeof e.indent||!(e.indent>0))return null;n=E.call(Array(e.indent+1)," ")}return{base:n,prev:E.call(Array(t+1),n)}}(l,i);if(void 0===s)s=[];else if(W(s,t)>=0)return"[Circular]";function $(t,n,r){if(n&&(s=k.call(s)).push(n),r){var a={depth:l.depth};return U(l,"quoteStyle")&&(a.quoteStyle=l.quoteStyle),e(t,a,i+1,s)}return e(t,l,i+1,s)}if("function"==typeof t&&!H(t)){var J=function(e){if(e.name)return e.name;var t=y.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),Q=Z(t,$);return"[Function"+(J?": "+J:" (anonymous)")+"]"+(Q.length>0?" { "+E.call(Q,", ")+" }":"")}if(V(t)){var ee=L?b.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):_.call(t);return"object"!=typeof t||L?ee:q(ee)}if(t&&"object"==typeof t&&("undefined"!=typeof HTMLElement&&t instanceof HTMLElement||"string"==typeof t.nodeName&&"function"==typeof t.getAttribute)){for(var et,en="<"+w.call(String(t.nodeName)),er=t.attributes||[],ei=0;ei<er.length;ei++)en+=" "+er[ei].name+"="+B((et=er[ei].value,b.call(String(et),/"/g,""")),"double",l);return en+=">",t.childNodes&&t.childNodes.length&&(en+="..."),en+="</"+w.call(String(t.nodeName))+">"}if(F(t)){if(0===t.length)return"[]";var ea=Z(t,$);return R&&!function(e){for(var t=0;t<e.length;t++)if(W(e[t],"\n")>=0)return!1;return!0}(ea)?"["+X(ea,R)+"]":"[ "+E.call(ea,", ")+" ]"}if("[object Error]"===z(t)&&(!N||!("object"==typeof t&&N in t))){var eo=Z(t,$);return"cause"in Error.prototype||!("cause"in t)||P.call(t,"cause")?0===eo.length?"["+String(t)+"]":"{ ["+String(t)+"] "+E.call(eo,", ")+" }":"{ ["+String(t)+"] "+E.call(C.call("[cause]: "+$(t.cause),eo),", ")+" }"}if("object"==typeof t&&m){if(D&&"function"==typeof t[D]&&O)return O(t,{depth:T-i});if("symbol"!==m&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var es=[];return o&&o.call(t,function(e,n){es.push($(n,t,!0)+" => "+$(e,t))}),Y("Map",a.call(t),es,R)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var el=[];return u&&u.call(t,function(e){el.push($(e,t))}),Y("Set",c.call(t),el,R)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return K("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return K("WeakSet");if(function(e){if(!h||!e||"object"!=typeof e)return!1;try{return h.call(e),!0}catch(e){}return!1}(t))return K("WeakRef");if("[object Number]"===z(t)&&(!N||!("object"==typeof t&&N in t)))return q($(Number(t)));if(function(e){if(!e||"object"!=typeof e||!A)return!1;try{return A.call(e),!0}catch(e){}return!1}(t))return q($(A.call(t)));if("[object Boolean]"===z(t)&&(!N||!("object"==typeof t&&N in t)))return q(f.call(t));if("[object String]"===z(t)&&(!N||!("object"==typeof t&&N in t)))return q($(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==n.g&&t===n.g)return"{ [object globalThis] }";if(!("[object Date]"===z(t)&&(!N||!("object"==typeof t&&N in t)))&&!H(t)){var ec=Z(t,$),eu=I?I(t)===Object.prototype:t instanceof Object||t.constructor===Object,ed=t instanceof Object?"":"null prototype",ep=!eu&&N&&Object(t)===t&&N in t?v.call(z(t),8,-1):ed?"Object":"",eh=(eu||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(ep||ed?"["+E.call(C.call([],ep||[],ed||[]),": ")+"] ":"");return 0===ec.length?eh+"{}":R?eh+"{"+X(ec,R)+"}":eh+"{ "+E.call(ec,", ")+" }"}return String(t)};var $=Object.prototype.hasOwnProperty||function(e){return e in this};function U(e,t){return $.call(e,t)}function z(e){return m.call(e)}function W(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return -1}function G(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+x.call(t.toString(16))}function q(e){return"Object("+e+")"}function K(e){return e+" { ? }"}function Y(e,t,n,r){return e+" ("+t+") {"+(r?X(n,r):E.call(n,", "))+"}"}function X(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+E.call(e,","+n)+"\n"+t.prev}function Z(e,t){var n,r=F(e),i=[];if(r){i.length=e.length;for(var a=0;a<e.length;a++)i[a]=U(e,a)?t(e[a],e):""}var o="function"==typeof T?T(e):[];if(L){n={};for(var s=0;s<o.length;s++)n["$"+o[s]]=o[s]}for(var l in e)U(e,l)&&(!r||String(Number(l))!==l||!(l<e.length))&&(L&&n["$"+l]instanceof Symbol||(j.call(/[^\w$]/,l)?i.push(t(l,e)+": "+t(e[l],e)):i.push(l+": "+t(e[l],e))));if("function"==typeof T)for(var c=0;c<o.length;c++)P.call(e,o[c])&&i.push("["+t(o[c])+"]: "+t(e[o[c]],e));return i}}
182,58902:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var r=n(73884),i=n(9827),a=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(r),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function l(e){var t=e||c(),n=r.useState(t),i=n[0],a=n[1];return r.useEffect(function(){if("undefined"!=typeof window&&"matchMedia"in window){var t=function(){a(e||c())},n=window.matchMedia("screen and (resolution: ".concat(i,"dppx)"));return n.hasOwnProperty("addEventListener")?n.addEventListener("change",t):n.addListener(t),function(){n.hasOwnProperty("removeEventListener")?n.removeEventListener("change",t):n.removeListener(t)}}},[i,e]),i}function c(){return Math.min(Math.max(1,"undefined"!=typeof window&&"number"==typeof window.devicePixelRatio?window.devicePixelRatio:1),3)}var u=function(){function e(){}return e.prototype.observe=function(){},e.prototype.unobserve=function(){},e.prototype.disconnect=function(){},e}(),d=globalThis.ResizeObserver||u,p=void 0!==globalThis.ResizeObserver,h=!p,f={useDevicePixelRatio:!0,fitCanvasToArtboardHeight:!1,useOffscreenRenderer:!0,shouldResizeCanvasToContainer:!0};function m(e){return Object.assign({},f,e)}function g(e){var t,n,i,a,o,s,c,u=e.riveLoaded,f=void 0!==u&&u,g=e.canvasElem,y=e.containerRef,v=e.options,b=e.onCanvasHasResized,x=e.artboardBounds,w=m(void 0===v?{}:v),j=r.useState({height:0,width:0}),C=j[0],E=C.height,k=C.width,S=j[1],A=r.useState({height:0,width:0}),T=A[0],_=T.height,L=T.width,N=A[1],P=r.useState(!0),I=P[0],M=P[1],O=w.fitCanvasToArtboardHeight,R=w.shouldResizeCanvasToContainer,D=w.useDevicePixelRatio,B=w.customDevicePixelRatio,F=(void 0===(t=R)&&(t=!0),i=(n=r.useState({width:0,height:0}))[0],a=n[1],r.useEffect(function(){if("undefined"!=typeof window&&t){var e=function(){a({width:window.innerWidth,height:window.innerHeight})};return h&&(e(),window.addEventListener("resize",e)),function(){return window.removeEventListener("resize",e)}}},[]),c=r.useRef(new d((o=function(e){p&&a({width:e[e.length-1].contentRect.width,height:e[e.length-1].contentRect.height})},s=0,function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];clearTimeout(s),s=window.setTimeout(function(){return o.apply(e,t)},0)}))),r.useEffect(function(){var e=c.current;if(t){var n=y.current;return y.current&&p&&e.observe(y.current),function(){e.disconnect(),n&&p&&e.unobserve(n)}}e.disconnect()},[y,c]),i),H=l(B),V=null!=x?x:{},$=V.maxX,U=V.maxY,z=r.useCallback(function(){var e,t,n,r,i=null!==(t=null===(e=y.current)||void 0===e?void 0:e.clientWidth)&&void 0!==t?t:0,a=null!==(r=null===(n=y.current)||void 0===n?void 0:n.clientHeight)&&void 0!==r?r:0;return O&&x?{width:i,height:x.maxY/x.maxX*i}:{width:i,height:a}},[y,O,$,U]);r.useEffect(function(){if(R&&y.current&&f){var e=z(),t=e.width,n=e.height,r=!1;if(g){var i=t!==k||n!==E;if(w.fitCanvasToArtboardHeight&&i&&(y.current.style.height=n+"px",r=!0),w.useDevicePixelRatio){if(i||t*H!==L||n*H!==_){var a=H*t,o=H*n;g.width=a,g.height=o,g.style.width=t+"px",g.style.height=n+"px",N({width:a,height:o}),r=!0}}else i&&(g.width=t,g.height=n,N({width:t,height:n}),r=!0);S({width:t,height:n})}b&&(I||r)&&b&&b(),I&&M(!1)}},[g,y,F,H,z,I,M,_,L,E,k,b,R,O,D,f]),r.useEffect(function(){N({width:0,height:0})},[g])}var y,v=function(){function e(){}return e.prototype.observe=function(){},e.prototype.unobserve=function(){},e.prototype.disconnect=function(){},e}(),b=globalThis.IntersectionObserver||v,x=function(){function e(){var e=this;this.elementsMap=new Map,this.onObserved=function(t){t.forEach(function(t){var n=e.elementsMap.get(t.target);n&&n(t)})},this.observer=new b(this.onObserved)}return e.prototype.registerCallback=function(e,t){this.observer.observe(e),this.elementsMap.set(e,t)},e.prototype.removeCallback=function(e){this.observer.unobserve(e),this.elementsMap.delete(e)},e}(),w=function(){return y||(y=new x),y};function j(e){var t=e.setContainerRef,n=e.setCanvasRef,r=e.className,i=void 0===r?"":r,l=e.style,c=e.children,u=s(e,["setContainerRef","setCanvasRef","className","style","children"]),d=o({width:"100%",height:"100%"},l);return a.default.createElement("div",o({ref:t,className:i},!i&&{style:d}),a.default.createElement("canvas",o({ref:n,style:{verticalAlign:"top",width:0,height:0}},u),c))}function C(e,t){void 0===t&&(t={});var n=r.useState(null),c=n[0],u=n[1],d=r.useRef(null),p=r.useRef(null),h=r.useState(null),f=h[0],y=h[1],v=!!e,b=m(t),x=l(),C=r.useCallback(function(){if(f){if(f.layout&&f.layout.fit===i.Fit.Layout&&c){var e=x*f.layout.layoutScaleFactor;f.devicePixelRatioUsed=x,f.artboardWidth=(null==c?void 0:c.width)/e,f.artboardHeight=(null==c?void 0:c.height)/e}f.startRendering(),f.resizeToCanvas()}},[f,x]);g({riveLoaded:!!f,canvasElem:c,containerRef:d,options:b,onCanvasHasResized:C,artboardBounds:null==f?void 0:f.bounds});var E=r.useCallback(function(e){null===e&&c&&(c.height=0,c.width=0),u(e)},[]);r.useEffect(function(){if(c&&e){var t,n=null!=f;if(null==f){var r=b.useOffscreenRenderer,a=e.onRiveReady,l=s(e,["onRiveReady"]);t=new i.Rive(o(o({useOffscreenRenderer:r},l),{canvas:c})),null!=p.current&&p.current.cleanup(),p.current=t,t.on(i.EventType.Load,function(){n=!0,a&&a(t),c?y(t):t.cleanup()})}return function(){n||null==t||t.cleanup()}}},[c,v,f]);var k=r.useCallback(function(e){d.current=e},[]),S={observe:r.useCallback(function(e,t){w().registerCallback(e,t)},[]),unobserve:r.useCallback(function(e){w().removeCallback(e)},[])},A=S.observe,T=S.unobserve;r.useEffect(function(){var e,t=!1,n=function(){if(c&&t){var e=c.getBoundingClientRect();e.width>0&&e.height>
1820&&e.top<(window.innerHeight||document.documentElement.clientHeight)&&e.bottom>0&&e.left<(window.innerWidth||document.documentElement.clientWidth)&&e.right>0&&(null==f||f.startRendering(),t=!1)}};return c&&!1!==b.shouldUseIntersectionObserver&&A(c,function(r){r.isIntersecting?f&&f.startRendering():f&&f.stopRendering(),t=!r.isIntersecting,clearTimeout(e),r.isIntersecting||0!==r.boundingClientRect.width||(e=setTimeout(n,10))}),function(){c&&T(c)}},[A,T,f,c,b.shouldUseIntersectionObserver]),r.useEffect(function(){return function(){f&&(f.cleanup(),y(null))}},[f,c]),r.useEffect(function(){return function(){null!=p.current&&p.current.cleanup()}},[]);var _=null==e?void 0:e.animations;r.useEffect(function(){f&&_&&(f.isPlaying?(f.stop(f.animationNames),f.play(_)):f.isPaused&&(f.stop(f.animationNames),f.pause(_)))},[_,f]);var L=r.useCallback(function(e){return a.default.createElement(j,o({setContainerRef:k,setCanvasRef:E},e))},[E,k]);return{canvas:c,container:d.current,setCanvasRef:E,setContainerRef:k,rive:f,RiveComponent:L}}function E(e,t,n){var i=r.useState(null),a=i[0],s=i[1],l=r.useState(n.defaultValue),c=l[0],u=l[1],d=r.useState(null),p=d[0],h=d[1],f=r.useRef(null),m=r.useRef(e),g=r.useRef(n);r.useEffect(function(){g.current=n},[n]);var y=r.useCallback(function(){var e=f.current,t=m.current,n=g.current;if(!e||!t)return s(null),u(n.defaultValue),h(null),function(){};var r=n.getProperty(e,t);if(r){s(r),u(n.getValue(r)),n.getExtendedData&&h(n.getExtendedData(r));var i=function(){u(n.getValue(r)),n.getExtendedData&&h(n.getExtendedData(r)),n.onPropertyEvent&&n.onPropertyEvent()};return r.on(i),function(){r.off(i)}}return function(){}},[]);r.useEffect(function(){return f.current=t,m.current=e,y()},[t,e,y]);var v=r.useCallback(function(e){if(a&&f.current===t)try{return e(a),void(g.current.getExtendedData&&h(g.current.getExtendedData(a)))}catch(e){}if(f.current)try{var n=g.current.getProperty(f.current,m.current);n&&(s(n),e(n),g.current.getExtendedData&&h(g.current.getExtendedData(n)))}catch(e){}},[a,t]),b=r.useMemo(function(){return g.current.buildPropertyOperations(v)},[v]),x=o({value:c},b);return n.getExtendedData&&(x.extendedData=p),x}t.default=function(e){var t=e.src,n=e.artboard,r=e.animations,i=e.stateMachines,l=e.layout,c=e.useOffscreenRenderer,u=e.shouldDisableRiveListeners,d=e.shouldResizeCanvasToContainer,p=e.automaticallyHandleEvents,h=e.children,f=s(e,["src","artboard","animations","stateMachines","layout","useOffscreenRenderer","shouldDisableRiveListeners","shouldResizeCanvasToContainer","automaticallyHandleEvents","children"]),m=C({src:t,artboard:n,animations:r,layout:l,stateMachines:i,autoplay:!0,shouldDisableRiveListeners:void 0!==u&&u,automaticallyHandleEvents:void 0!==p&&p},{useOffscreenRenderer:void 0===c||c,shouldResizeCanvasToContainer:void 0===d||d}).RiveComponent;return a.default.createElement(m,o({},f),h)},t.useResizeCanvas=g,t.useRive=C,t.useRiveFile=function(e){var t=this,n=r.useState(null),a=n[0],o=n[1],s=r.useState("idle"),l=s[0],c=s[1];return r.useEffect(function(){var n,r,a,s=null;return n=void 0,r=void 0,a=function(){return function(e,t){var n,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(a){return function(s){return function(a){if(n)throw TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]<i[3])){o.label=a[1];break}if(6===a[0]&&o.label<i[1]){o.label=i[1],i=a;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(a);break}i[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{n=i=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}(this,function(t){try{c("loading"),(s=new i.RiveFile(e)).init(),s.on(i.EventType.Load,function(){null==s||s.getInstance(),o(s),c("success")}),s.on(i.EventType.LoadError,function(){c("failed")}),o(s)}catch(e){console.error(e),c("failed")}return[2]})},new(r||(r=Promise))(function(e,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function s(e){try{l(a.throw(e))}catch(e){i(e)}}function l(t){var n;t.done?e(t.value):((n=t.value)instanceof r?n:new r(function(e){e(n)})).then(o,s)}l((a=a.apply(t,n||[])).next())}),function(){null==s||s.cleanup()}},[e.src,e.buffer]),{riveFile:a,status:l}},t.useStateMachineInput=function(e,t,n,a){var o=r.useState(null),s=o[0],l=o[1];return r.useEffect(function(){function r(){if(e&&t&&n||l(null),e&&t&&n){var r=e.stateMachineInputs(t);if(r){var i=r.find(function(e){return e.name===n});void 0!==a&&i&&(i.value=a),l(i||null)}}else l(null)}r(),e&&e.on(i.EventType.Load,function(){r()})},[e]),s},t.useViewModel=function(e,t){var n=null!=t?t:{},a=n.name,o=n.useDefault,s=r.useState(null),l=s[0],c=s[1];return r.useEffect(function(){function t(){var t;e?c(null!=a?(null===(t=e.viewModelByName)||void 0===t?void 0:t.call(e,a))||null:e.defaultViewModel()||null):c(null)}return t(),e&&e.on(i.EventType.Load,t),function(){e&&e.off(i.EventType.Load,t)}},[e,a,void 0!==o&&o]),l},t.useViewModelInstance=function(e,t){var n=null!=t?t:{},i=n.name,a=n.useDefault,o=void 0!==a&&a,s=n.useNew,l=void 0!==s&&s,c=n.rive,u=r.useState(null),d=u[0],p=u[1];return r.useEffect(function(){var t,n,r;if(e){var a=null;p(a=null!=i?e.instanceByName(i)||null:o?(null===(t=e.defaultInstance)||void 0===t?void 0:t.call(e))||null:l?(null===(n=e.instance)||void 0===n?void 0:n.call(e))||null:(null===(r=e.defaultInstance)||void 0===r?void 0:r.call(e))||null),
182c&&a&&c.viewModelInstance!==a&&c.bindViewModelInstance(a)}else p(null)},[e,i,o,l,c]),d},t.useViewModelInstanceArtboard=function(e,t){return{setValue:E(e,t,{getProperty:r.useCallback(function(e,t){return e.artboard(t)},[]),getValue:r.useCallback(function(){},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])}).setValue}},t.useViewModelInstanceBoolean=function(e,t){var n=E(e,t,{getProperty:r.useCallback(function(e,t){return e.boolean(t)},[]),getValue:r.useCallback(function(e){return e.value},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])});return{value:n.value,setValue:n.setValue}},t.useViewModelInstanceColor=function(e,t){var n=E(e,t,{getProperty:r.useCallback(function(e,t){return e.color(t)},[]),getValue:r.useCallback(function(e){return e.value},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})},setRgb:function(t,n,r){e(function(e){e.rgb(t,n,r)})},setRgba:function(t,n,r,i){e(function(e){e.rgba(t,n,r,i)})},setAlpha:function(t){e(function(e){e.alpha(t)})},setOpacity:function(t){e(function(e){e.opacity(t)})}}},[])});return{value:n.value,setValue:n.setValue,setRgb:n.setRgb,setRgba:n.setRgba,setAlpha:n.setAlpha,setOpacity:n.setOpacity}},t.useViewModelInstanceEnum=function(e,t){var n=E(e,t,{getProperty:r.useCallback(function(e,t){return e.enum(t)},[]),getValue:r.useCallback(function(e){return e.value},[]),defaultValue:null,getExtendedData:r.useCallback(function(e){return e.values},[]),buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])});return{value:n.value,values:n.extendedData||[],setValue:n.setValue}},t.useViewModelInstanceImage=function(e,t){return{setValue:E(e,t,{getProperty:r.useCallback(function(e,t){return e.image(t)},[]),getValue:r.useCallback(function(){},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])}).setValue}},t.useViewModelInstanceList=function(e,t){var n,i=r.useState(0)[1],a=E(e,t,{getProperty:r.useCallback(function(e,t){return e.list(t)},[]),getValue:r.useCallback(function(e){return e.length},[]),defaultValue:null,onPropertyEvent:function(){i(function(e){return e+1})},buildPropertyOperations:r.useCallback(function(e){return{addInstance:function(t){e(function(e){return e.addInstance(t)})},addInstanceAt:function(t,n){var r=!1;return e(function(e){r=e.addInstanceAt(t,n)}),r},removeInstance:function(t){e(function(e){return e.removeInstance(t)})},removeInstanceAt:function(t){e(function(e){return e.removeInstanceAt(t)})},getInstanceAt:function(t){var n=null;return e(function(e){n=e.instanceAt(t)}),n},swap:function(t,n){e(function(e){return e.swap(t,n)})}}},[])});return{length:null!==(n=a.value)&&void 0!==n?n:0,addInstance:a.addInstance,addInstanceAt:a.addInstanceAt,removeInstance:a.removeInstance,removeInstanceAt:a.removeInstanceAt,getInstanceAt:a.getInstanceAt,swap:a.swap}},t.useViewModelInstanceNumber=function(e,t){var n=E(e,t,{getProperty:r.useCallback(function(e,t){return e.number(t)},[]),getValue:r.useCallback(function(e){return e.value},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])});return{value:n.value,setValue:n.setValue}},t.useViewModelInstanceString=function(e,t){var n=E(e,t,{getProperty:r.useCallback(function(e,t){return e.string(t)},[]),getValue:r.useCallback(function(e){return e.value},[]),defaultValue:null,buildPropertyOperations:r.useCallback(function(e){return{setValue:function(t){e(function(e){e.value=t})}}},[])});return{value:n.value,setValue:n.setValue}},t.useViewModelInstanceTrigger=function(e,t,n){var i=(null!=n?n:{}).onTrigger;return{trigger:E(e,t,{getProperty:r.useCallback(function(e,t){return e.trigger(t)},[]),getValue:r.useCallback(function(){},[]),defaultValue:null,onPropertyEvent:i,buildPropertyOperations:r.useCallback(function(e){return{trigger:function(){e(function(e){e.trigger()})}}},[])}).trigger}}
182,Object.keys(i).forEach(function(e){"default"===e||t.hasOwnProperty(e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}})})},59135:(e,t,n)=>{"use strict";n.d(t,{LU:()=>a});var r=n(48706);n(37581),n(86188),n(39056);var i=n(14289);let a=(e,t,n)=>{let a=e?.fields?.parent||e?.parent;if(!a)return"";let o=i.I.find(e=>e.contentType===n&&e.taxonomies?.includes(a)),s=o?.patterns[r.vd(t)]?.taxonomies[a]||o?.patterns[t.toLowerCase()]?.taxonomies[a]||"",l=e?.fields?.slug||e?.slug;return s.replace(":term",l)}},59194:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});var r=n(69896);function i(e,t){let n=e.getValue("willChange");if((0,r.S)(n)&&n.add)return n.add(t)}},59836:(e,t,n)=>{"use strict";function r(e,{style:t,vars:n},r,i){for(let a in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(a,n[a])}n.d(t,{e:()=>r})},60701:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.BLOCKS=void 0,function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"}(n||(t.BLOCKS=n={}))},60779:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,T:()=>o});var r=n(58775);n(73884);var i=n(93627);function a(){let{t:e}=(0,i.Bd)();return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 116 34",fill:"none",className:"will-change-transform",children:[(0,r.jsx)("title",{children:e("Content Square - back to home page")}),(0,r.jsx)("path",{d:"M7.84885 0.464472C11.6212 0.464472 14.1901 2.8707 14.1901 5.83025V6.15559H11.6538V5.47225C11.6538 4.0088 10.9711 3.06602 9.28025 3.06602H6.19128C4.76049 3.06602 3.62239 4.23678 3.62239 5.63492V10.2526C3.62239 11.6834 4.76049 12.8542 6.19128 12.8542H9.28025C11.0037 12.8542 11.6865 12.1061 11.6865 10.4153V9.76523H14.2227V10.1553C14.2227 12.8215 11.7512 15.4557 7.84885 15.4557C3.94652 15.4557 0.727539 12.1061 0.727539 7.94378C0.726934 3.84613 3.94652 0.464472 7.84885 0.464472ZM1.70237 28.5603L4.23861 28.5276V29.6331C4.23861 30.3811 4.75867 30.9012 5.53938 30.9012H10.4171C11.1978 30.9012 11.7179 30.3811 11.7179 29.6331V29.3077C11.7179 28.5597 11.3599 28.3323 10.8072 28.1696L4.75928 26.3488C3.29583 25.8934 1.9624 24.8853 1.9624 22.7718V22.7065C1.9624 20.3329 4.20595 18.5768 7.94561 18.5768C12.0106 18.5768 14.1241 20.5276 14.1241 23.3245V23.5519H11.5879V22.4785C11.5879 21.7304 11.0999 21.2104 10.2871 21.2104H5.67C4.8893 21.2104 4.36923 21.7304 4.36923 22.4785V23.0312C4.36923 23.6813 4.69457 23.974 5.44262 24.202L10.8084 25.7954C12.8572 26.4135 14.1253 27.3236 14.1253 29.4377C14.1253 31.7792 11.8818 33.5348 8.07683 33.5348C3.81711 33.5348 1.70297 31.4533 1.70297 28.787V28.5603H1.70237ZM18.0271 7.94318C18.0271 3.84613 21.2467 0.463867 25.1484 0.463867C29.0834 0.463867 32.2697 3.84552 32.2697 7.94318C32.2697 12.1055 29.0828 15.4551 25.1484 15.4551C21.2461 15.4551 18.0271 12.1055 18.0271 7.94318ZM25.1157 18.6421C29.0507 18.6421 32.205 21.9917 32.205 26.0887C32.205 27.7469 31.4896 29.503 30.3515 30.8365C30.2862 30.9018 30.2862 31.0318 30.3515 31.0965L32.0423 32.95C32.075 32.9827 32.075 33.0474 32.075 33.08C32.075 33.1774 32.0097 33.2753 31.8796 33.2753H25.1157C21.2134 33.2753 18.0265 29.9257 18.0265 26.0887C18.0271 21.9917 21.214 18.6421 25.1157 18.6421ZM23.4249 30.7064H27.0345L25.0837 28.4629L26.6771 27.0321L28.5306 29.0483C28.628 29.1456 28.758 29.211 28.8886 29.211C29.1487 29.211 29.3767 29.0156 29.3767 28.7229V23.7799C29.3767 22.3491 28.2386 21.1783 26.8078 21.1783H23.4261C21.9953 21.1783 20.8572 22.3491 20.8572 23.7799V28.1049C20.856 29.5357 21.9941 30.7064 23.4249 30.7064ZM23.4902 12.8536H26.8398C28.2706 12.8536 29.4087 11.6828 29.4087 10.252V5.63431C29.4087 4.23618 28.2706 3.06542 26.8398 3.06542H23.4902C22.0594 3.06542 20.9213 4.23618 20.9213 5.63431V10.252C20.9213 11.6828 22.0594 12.8536 23.4902 12.8536ZM36.7901 0.757162H38.9362L44.5621 9.08188C44.8221 9.47194 45.1474 9.63461 45.4401 9.63461C45.8302 9.63461 46.1555 9.34192 46.1555 8.82185L46.1229 0.757162H48.5291V15.1625H46.3829L40.6924 6.77242C40.465 6.41442 40.1397 6.25235 39.847 6.25235C39.4569 6.25235 39.1316 6.57769 39.1316 7.06511V15.1625H36.7901V0.757162ZM52.2367 0.757162H65.9272V2.70802H61.7322C60.8868 2.70802 60.2687 3.32606 60.2687 4.17147V15.1625H57.9272V4.17147C57.9272 3.32606 57.3092 2.70802 56.4638 2.70802H52.2361V0.757162H52.2367Z
182M70.0242 0.757162H80.2351V2.70802H73.7966C72.9511 2.70802 72.3331 3.32606 72.3331 4.17147V5.30957C72.3331 6.15499 72.9511 6.77302 73.7966 6.77302H79.357V8.59387H72.3652V13.2116H80.5925V15.1625H70.0242V0.757162ZM70.0242 18.8694H77.0155C79.4871 18.8694 81.0479 20.6903 81.0479 22.7065C81.0479 24.0719 80.3325 24.918 79.8445 25.3727C79.6171 25.6001 79.4865 25.7628 79.4865 25.9581C79.4865 26.1208 79.6165 26.3161 79.8118 26.4782C80.4619 26.9982 80.7872 27.6163 80.7872 28.5917V33.2741H78.4137L78.4463 28.5264C78.4463 27.7457 77.9263 27.2256 77.1456 27.2256H73.6333C72.8852 27.2256 72.3652 27.7457 72.3652 28.5264V33.2741H70.0236V18.8694H70.0242ZM73.6986 25.406H75.8121C77.3082 25.406 78.4784 24.6906 78.4784 23.0324C78.4784 21.4716 77.3076 20.8209 75.8121 20.8209H73.6986C72.9505 20.8209 72.3652 21.4063 72.3652 22.1864V24.0399C72.3652 24.7879 72.9505 25.406 73.6986 25.406ZM86.2183 0.757162H88.3645L93.9903 9.08188C94.2504 9.47194 94.5757 9.63461 94.8684 9.63461C95.2584 9.63461 95.5838 9.34192 95.5838 8.82185L95.5511 0.757162H97.9574V15.1625H95.8112L90.1207 6.77242C89.8933 6.41442 89.5679 6.25235 89.2752 6.25235C88.8852 6.25235 88.5598 6.57769 88.5598 7.06511V15.1625H86.2183V0.757162ZM101.567 0.757162H115.388V2.70802H111.062C110.217 2.70802 109.599 3.32606 109.599 4.17147V15.1625H107.258V4.17147C107.258 3.32606 106.639 2.70802 105.794 2.70802H101.566V0.757162H101.567ZM86.2183 18.8694H96.4292V20.8203H89.9906C89.1452 20.8203 88.5272 21.4383 88.5272 22.2838V23.4219C88.5272 24.2673 89.1452 24.8853 89.9906 24.8853H95.5511V26.7062H88.5598V31.3239H96.7872V33.2747H86.2189V18.8694H86.2183ZM60.2681 18.8701H57.9919L52.0414 33.2747H54.5129L56.0084 29.6331H62.2516L63.7471 33.2747H66.2187L60.2681 18.8701ZM56.7564 27.8122L58.4146 23.5198C58.74 22.7071 59.5201 22.7071 59.8454 23.5198L61.5036 27.8122H56.7564ZM36.7907 18.8701H39.1316V28.6576C39.1316 30.2511 40.4323 30.9012 41.4725 30.9012H43.6187C44.9521 30.9012 46.1876 30.1858 46.1876 28.6576V18.8701H48.5285V28.2676C48.5285 31.1618 46.2523 33.5027 42.6432 33.5027C39.0336 33.5027 36.7901 31.1618 36.7901 28.2676V18.8701H36.7907Z",fill:"currentColor"})]})}function o(){let{t:e}=(0,i.Bd)();return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 70 32",fill:"none",children:[(0,r.jsx)("title",{children:e("Content Square Initials Logo")}),(0,r.jsx)("path",{d:"M15.1201 0.455566C18.8973 0.455566 21.2147 1.52874 23.4037 3.71771C23.876 4.19006 24.2194 4.14687 24.6485 3.71771C26.8375 1.52874 29.8848 0.455566 34.3486 0.455566C39.0272 0.455566 42.0745 1.52874 44.2635 3.71771C44.6926 4.14687 45.0791 4.14687 45.5083 3.71771C47.6973 1.52874 50.2296 0.455566 54.0067 0.455566C62.7194 0.455566 68.6429 6.67917 68.6429 15.6494C68.6429 19.4691 67.5271 22.8171 65.5956 25.3926C65.5098 25.5216 65.5098 25.7359 65.6388 25.865L69.6302 29.9422C69.9735 30.3287 69.7161 30.9722 69.2011 30.9722H54.8583C50.5662 31.0154 48.0305 30.0707 45.8415 27.8817C45.455 27.4952 44.9832 27.4526 44.5541 27.8817C42.3651 30.0707 39.407 31.1439 34.9006 31.1439C30.1793 31.1439 27.0529 30.0707 24.8639 27.8817C24.4348 27.4526 24.0483 27.4094 23.6191 27.8817C21.5592 30.0707 18.7688 31.1439 15.1207 31.1439C6.408 31.1439 0.441895 24.8776 0.441895 15.7784C0.441334 6.67917 6.40744 0.455566 15.1201 0.455566ZM10.2188 25.7791H20.7345C21.5502 25.7791 22.1936 25.0925 22.1936 24.32L22.2026 20.6719C22.2026 20.3286 22.5033 20.0279 22.8466 20.0279H26.6238C26.9671 20.0279 27.2678 20.3286 27.2678 20.6719V24.32C27.2678 25.1357 27.9544 25.7791 28.7701 25.7791H40.4016C41.2599 25.7791 41.904 25.6075 41.904 24.5343V22.131C41.904 20.972 41.5606 20.4144 40.4448 20.1137L29.5858 17.1091C24.5212 15.6926 22.1605 12.1729 22.1605 8.26732V7.19415C22.1605 6.29265 21.5597 5.69183 20.744 5.69183H10.2272C8.03823 5.69183 6.32161 7.40845 6.32161 9.59743L6.31263 21.9156C6.31263 24.0619 8.07245 25.7791 10.2188 25.7791ZM59.2929 25.7791L54.2642 20.7145C53.9635 20.4138 54.0067 20.1137 54.3068 19.813L56.539 17.5382C56.8397 17.2375 57.183 17.3234 57.4405 17.5808L61.4751 21.6581C61.9475 22.1305 62.7626 21.8298 62.7626 21.1431V9.55479C62.7626 7.40901 61.0028 5.69183 58.857 5.69183H48.1264C47.3108 5.69183 46.6241 6.33584 46.6241 7.15096V10.7132C46.6241 11.0566 46.3234 11.3572 45.9801 11.3572H42.1603C41.817 11.3572 41.5163 11.0566 41.5163 10.7132V7.27942C41.5163 6.37792 40.8297 5.69127 39.9282 5.69127H28.6831C27.8675 5.69127 27.224 6.29209 27.224 7.10776V9.68326C27.224 10.7132 27.6964 11.2714 28.5547 11.5289L39.0272 14.4904C44.6068 16.0785 47.0965 19.3833 47.0965 23.5896V24.3194C47.0965 25.2636 47.6995 25.7786 48.6437 25.7786H59.2929V25.7791Z",fill:"currentColor"})]})}},61203:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Hyperlink","definitions":{"Hyperlink":{"type":"object","properties":{"nodeType":{"type":"string","enum":["hyperlink"]},"data":{"type":"object","properties":{"uri":{"type":"string"}},"additionalProperties":false,"required":["uri"]},"content":{"type":"array","items":{"$ref":"#/definitions/Text"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},61234:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},i=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};
182Object.defineProperty(t,"__esModule",{value:!0}),t.hasCookie=t.deleteCookie=t.setCookie=t.getCookie=t.getCookies=void 0;var a=n(57427),o=function(){return"undefined"!=typeof window},s=function(e){return!!e&&"getAll"in e&&"set"in e&&"function"==typeof e.getAll&&"function"==typeof e.set},l=function(e){return!!(null==e?void 0:e.req)&&"cookies"in e.req&&s(null==e?void 0:e.req.cookies)||!!(null==e?void 0:e.res)&&"cookies"in e.res&&s(null==e?void 0:e.res.cookies)||!!(null==e?void 0:e.cookies)&&s(e.cookies())},c=function(e){var t={};return e.getAll().forEach(function(e){var n=e.name,r=e.value;t[n]=r}),t},u=function(e){try{if("string"==typeof e)return e;return JSON.stringify(e)}catch(t){return e}};t.getCookies=function(e){if(l(e)){if(null==e?void 0:e.req)return c(e.req.cookies);if(null==e?void 0:e.cookies)return c(e.cookies())}if(e&&(t=e.req),!o())return t&&t.cookies?t.cookies:t&&t.headers.cookie?(0,a.parse)(t.headers.cookie):{};for(var t,n={},r=document.cookie?document.cookie.split("; "):[],i=0,s=r.length;i<s;i++){var u=r[i].split("="),d=u.slice(1).join("=");n[u[0]]=d}return n},t.getCookie=function(e,n){var r=(0,t.getCookies)(n)[e];if(void 0!==r)return r?r.replace(/(%[0-9A-Z]{2}
182)+/g,decodeURIComponent):r},t.setCookie=function(e,t,n){if(l(n)){var s,c,d,p=n.req,h=n.res,f=n.cookies,m=i(n,["req","res","cookies"]),g=r({name:e,value:u(t)},m);p&&p.cookies.set(g),h&&h.cookies.set(g),f&&f().set(g);return}if(n){var p=n.req,h=n.res,y=i(n,["req","res"]);c=p,d=h,s=y}var v=(0,a.serialize)(e,u(t),r({path:"/"},s));if(o())document.cookie=v;else if(d&&c){var b=d.getHeader("Set-Cookie");if(Array.isArray(b)||(b=b?[String(b)]:[]),d.setHeader("Set-Cookie",b.concat(v)),c&&c.cookies){var x=c.cookies;""===t?delete x[e]:x[e]=u(t)}if(c&&c.headers&&c.headers.cookie){var x=(0,a.parse)(c.headers.cookie);""===t?delete x[e]:x[e]=u(t),c.headers.cookie=Object.entries(x).reduce(function(e,t){return e.concat("".concat(t[0],"=").concat(t[1],";"))},"")}}},t.deleteCookie=function(e,n){return(0,t.setCookie)(e,"",r(r({},n),{maxAge:-1}))},t.hasCookie=function(e,n){return!!e&&(0,t.getCookies)(n).hasOwnProperty(e)}},61699:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(58775),i=n(46184),a=n(93627);let o=function({buttons:e,isSmall:t=!1,buttonWrapperClasses:n="",onMouseEnter:i=()=>{},onMouseLeave:o=()=>{}}){let{t:l}=(0,a.Bd)();return(0,r.jsx)(s,{onMouseEnter:i,onMouseLeave:o,buttons:e,isSmall:t,buttonWrapperClasses:n})};function s({buttons:e,isSmall:t=!1,buttonWrapperClasses:n="",onMouseEnter:a=()=>{},onMouseLeave:o=()=>{}}){return e?.length>0?(0,r.jsx)("ul",{className:`flex ${t?"flex-col space-y-3":"space-x-3 sm:space-y-0"} ${n}`,children:e?.map((e,t)=>r.jsx("li",{onMouseEnter:a,onMouseLeave:o,className:"unstyled-li",children:r.jsx(i.A,{...e})},t))}):null}},61820:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(80939),i=n(80152);let a={layout:{ProjectionNode:r.P,MeasureLayout:i.$}}},62243:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EMPTY_DOCUMENT=void 0;var r=n(60701);t.EMPTY_DOCUMENT={nodeType:r.BLOCKS.DOCUMENT,data:{},content:[{nodeType:r.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]}},62642:(e,t,n)=>{"use strict";var r=n(37720),i=Object.prototype.hasOwnProperty,a=Array.isArray,o={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1},s=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},l=function(e,t){var n={__proto__:null},l=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;l=l.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var c=t.parameterLimit===1/0?void 0:t.parameterLimit,u=l.split(t.delimiter,c),d=-1,p=t.charset;if(t.charsetSentinel)for(h=0;h<u.length;++h)0===u[h].indexOf("utf8=")&&("utf8=%E2%9C%93"===u[h]?p="utf-8":"utf8=%26%2310003%3B"===u[h]&&(p="iso-8859-1"),d=h,h=u.length);for(h=0;h<u.length;++h)if(h!==d){var h,f,m,g=u[h],y=g.indexOf("]="),v=-1===y?g.indexOf("="):y+1;-1===v?(f=t.decoder(g,o.decoder,p,"key"),m=t.strictNullHandling?null:""):(f=t.decoder(g.slice(0,v),o.decoder,p,"key"),m=r.maybeMap(s(g.slice(v+1),t),function(e){return t.decoder(e,o.decoder,p,"value")})),m&&t.interpretNumericEntities&&"iso-8859-1"===p&&(m=m.replace(/&#(\d+);/g,function(e,t){return String.fromCharCode(parseInt(t,10))})),g.indexOf("[]=")>-1&&(m=a(m)?[m]:m);var b=i.call(n,f);b&&"combine"===t.duplicates?n[f]=r.combine(n[f],m):b&&"last"!==t.duplicates||(n[f]=m)}return n},c=function(e,t,n,r){for(var i=r?t:s(t,n),a=e.length-1;a>=0;--a){var o,l=e[a];if("[]"===l&&n.parseArrays)o=n.allowEmptyArrays&&(""===i||n.strictNullHandling&&null===i)?[]:[].concat(i);else{o=n.plainObjects?Object.create(null):{};var c="["===l.charAt(0)&&"]"===l.charAt(l.length-1)?l.slice(1,-1):l,u=n.decodeDotInKeys?c.replace(/%2E/g,"."):c,d=parseInt(u,10);n.parseArrays||""!==u?!isNaN(d)&&l!==u&&String(d)===u&&d>=0&&n.parseArrays&&d<=n.arrayLimit?(o=[])[d]=i:"__proto__"!==u&&(o[u]=i):o={0:i}}i=o}return i},u=function(e,t,n,r){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,o=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(a),l=s?a.slice(0,s.index):a,u=[];
182if(l){if(!n.plainObjects&&i.call(Object.prototype,l)&&!n.allowPrototypes)return;u.push(l)}for(var d=0;n.depth>0&&null!==(s=o.exec(a))&&d<n.depth;){if(d+=1,!n.plainObjects&&i.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}if(s){if(!0===n.strictDepth)throw RangeError("Input depth exceeded depth option of "+n.depth+" and strictDepth is true");u.push("["+a.slice(s.index)+"]")}return c(u,t,n,r)}},d=function(e){if(!e)return o;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?o.charset:e.charset,n=void 0===e.duplicates?o.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||o.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:o.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:o.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:o.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:o.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:o.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:o.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:o.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:o.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:o.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:o.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:o.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:o.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:o.strictDepth,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:o.strictNullHandling}};e.exports=function(e,t){var n=d(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var i="string"==typeof e?l(e,n):e,a=n.plainObjects?Object.create(null):{},o=Object.keys(i),s=0;s<o.length;++s){var c=o[s],p=u(c,i[c],n,"string"==typeof e);a=r.merge(a,p,n)}return!0===n.allowSparse?a:r.compact(a)}},62788:(e,t,n)=>{"use strict";var r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(s,{waitUntil:()=>c}),e.exports=((e,t,n,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))o.call(e,l)||l===n||r(e,l,{get:()=>t[l],enumerable:!(s=i(t,l))||s.enumerable});return e})(r({},"__esModule",{value:!0}),s);var l=n(45784);let c=e=>{if(null===e||"object"!=typeof e||"function"!=typeof e.then)throw TypeError(`waitUntil can only be called with a Promise, got ${typeof e}`);return l.getContext().waitUntil?.(e)}},62800:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading6","definitions":{"Heading6":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-6"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},63295:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var r=n(73884),i=n(24785),a=n(35446),o=n(28601);function s(e){let t=(0,o.M)(()=>(0,i.OQ)(e)),{isStatic:n}=(0,r.useContext)(a.Q);if(n){let[,n]=(0,r.useState)(e);(0,r.useEffect)(()=>t.on("change",n),[])}return t}}
182,63998:(e,t,n)=>{"use strict";function r(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}n.d(t,{k:()=>r})},64039:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,i=n(41333);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&i()}},64052:function(e){var t;t=()=>(()=>{"use strict";var e,t,n,r,i,a,o,s,l,c,u,d,p,h,f,m,g,y,v,b,x,w,j,C,E,k,S,A,T,_,L,N,P,I,M,O,R,D,B,F,H,V,$,U,z,W,G,q,K,Y,X,Z,J,Q,ee,et,en,er,ei,ea,eo,es,el,ec,eu=[,(e,t,n)=>{var r;n.r(t),n.d(t,{default:()=>i});let i=(r="undefined"!=typeof document?document.currentScript?.src:void 0,function(e={}){var t,n,i,a,o,s,l,c,u=new Promise((e,t)=>{l=e,c=t}),d="object"==typeof window,p="function"==typeof importScripts;function h(){function e(e){let a=r;n=t=0,r=new Map,a.forEach(t=>{try{t(e)}catch(e){console.error(e)}}),this.ob(),i&&i.Qb()}let t=0,n=0,r=new Map,i=null,a=null;this.requestAnimationFrame=function(i){t||=requestAnimationFrame(e.bind(this));let a=++n;return r.set(a,i),a},this.cancelAnimationFrame=function(e){r.delete(e),t&&0==r.size&&(cancelAnimationFrame(t),t=0)},this.Ob=function(e){a&&(document.body.remove(a),a=null),e||((a=document.createElement("div")).style.backgroundColor="black",a.style.position="fixed",a.style.right=0,a.style.top=0,a.style.color="white",a.style.padding="4px",a.innerHTML="RIVE FPS",e=function(e){a.innerHTML="RIVE FPS "+e.toFixed(1)},document.body.appendChild(a)),i=new function(){let t=0,n=0;this.Qb=function(){var r=performance.now();n?(++t,1e3<(r-=n)&&(e(1e3*t/r),t=n=0)):(n=r,t=0)}}},this.Lb=function(){a&&(document.body.remove(a),a=null),i=null},this.ob=function(){}}function f(e){console.assert(!0);let t=new Map,n=-1/0;this.push=function(r){return r=r+((1<<e)-1)>>e,t.has(r)&&clearTimeout(t.get(r)),t.set(r,setTimeout(function(){t.delete(r),0==t.length?n=-1/0:r==n&&console.assert((n=Math.max(...t.keys()))<r)},1e3)),(n=Math.max(r,n))<<e}}let m=e.onRuntimeInitialized;e.onRuntimeInitialized=function(){m&&m();let t=e.decodeAudio;
182e.decodeAudio=function(e,n){n(e=t(e))};let n=e.decodeFont;e.decodeFont=function(e,t){t(e=n(e))};let r=e.FileAssetLoader;e.ptrToAsset=t=>{let n=e.ptrToFileAsset(t);return n.isImage?e.ptrToImageAsset(t):n.isFont?e.ptrToFontAsset(t):n.isAudio?e.ptrToAudioAsset(t):n},e.CustomFileAssetLoader=r.extend("CustomFileAssetLoader",{__construct:function({loadContents:e}){this.__parent.__construct.call(this),this.Eb=e},loadContents:function(t,n){return t=e.ptrToAsset(t),this.Eb(t,n)}}),e.CDNFileAssetLoader=r.extend("CDNFileAssetLoader",{__construct:function(){this.__parent.__construct.call(this)},loadContents:function(t){var n,r,i;let a=e.ptrToAsset(t);return""!==(t=a.cdnUuid)&&(n=a.cdnBaseUrl+"/"+t,r=e=>{a.decode(new Uint8Array(e.response))},(i=new XMLHttpRequest).responseType="arraybuffer",i.onreadystatechange=function(){4==i.readyState&&200==i.status&&r(i)},i.open("GET",n,!0),i.send(null),!0)}}),e.FallbackFileAssetLoader=r.extend("FallbackFileAssetLoader",{__construct:function(){this.__parent.__construct.call(this),this.kb=[]},addLoader:function(e){this.kb.push(e)},loadContents:function(e,t){for(let n of this.kb)if(n.loadContents(e,t))return!0;return!1}});let i=e.computeAlignment;e.computeAlignment=function(e,t,n,r,a=1){return i.call(this,e,t,n,r,a)}};let g="createConicGradient createImageData createLinearGradient createPattern createRadialGradient getContextAttributes getImageData getLineDash getTransform isContextLost isPointInPath isPointInStroke measureText".split(" "),y=new function(){function e(){if(!t){let c;var e=document.createElement("canvas"),o={alpha:1,depth:0,stencil:0,antialias:0,premultipliedAlpha:1,preserveDrawingBuffer:0,powerPreference:"high-performance",failIfMajorPerformanceCaveat:0,enableExtensionsByDefault:1,explicitSwapControl:1,renderViaOffscreenBackBuffer:1};if(/iPhone|iPad|iPod/i.test(navigator.userAgent)){if(c=e.getContext("webgl",o),n=1,!c)return console.log("No WebGL support. Image mesh will not be drawn."),!1}else if(c=e.getContext("webgl2",o))n=2;else{if(!(c=e.getContext("webgl",o)))return console.log("No WebGL support. Image mesh will not be drawn."),!1;n=1}function s(e,t,n){if(t=c.createShader(t),c.shaderSource(t,n),c.compileShader(t),0<((n=c.getShaderInfoLog(t))||"").length)throw n;c.attachShader(e,t)}if(r=Math.min((c=new Proxy(c,{get:(e,t)=>e.isContextLost()?(l||(console.error("Cannot render the mesh because the GL Context was lost. Tried to invoke ",t),l=!0),"function"==typeof e[t])?function(){}:void 0:"function"==typeof e[t]?function(...n){return e[t].apply(e,n)}:e[t],set(e,t,n){if(!e.isContextLost())return e[t]=n,!0;l||(console.error("Cannot render the mesh because the GL Context was lost. Tried to set property "+t),l=!0)}})).getParameter(c.MAX_RENDERBUFFER_SIZE),c.getParameter(c.MAX_TEXTURE_SIZE)),s(e=c.createProgram(),c.VERTEX_SHADER,"attribute vec2 vertex;\n attribute vec2 uv;\n uniform vec4 mat;\n uniform vec2 translate;\n varying vec2 st;\n void main() {\n st = uv;\n gl_Position = vec4(mat2(mat) * vertex + translate, 0, 1);\n }"),s(e,c.FRAGMENT_SHADER,"precision highp float;\n uniform sampler2D image;\n varying vec2 st;\n void main() {\n gl_FragColor = texture2D(image, st);\n }"),c.bindAttribLocation(e,0,"vertex"),c.bindAttribLocation(e,1,"uv"),c.linkProgram(e),0<((o=c.getProgramInfoLog(e))||"").trim().length)throw o;i=c.getUniformLocation(e,"mat"),a=c.getUniformLocation(e,"translate"),c.useProgram(e),c.bindBuffer(c.ARRAY_BUFFER,c.createBuffer()),c.enableVertexAttribArray(0),c.enableVertexAttribArray(1),c.bindBuffer(c.ELEMENT_ARRAY_BUFFER,c.createBuffer()),c.uniform1i(c.getUniformLocation(e,"image"),0),c.pixelStorei(c.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0),t=c}return!0}let t=null,n=0,r=0,i=null,a=null,o=0,s=0,l=!1;e(),this.bc=function(){return e(),r},this.Kb=function(e){t.deleteTexture&&t.deleteTexture(e)},this.Jb=function(r){if(!e())return null;let i=t.createTexture();return i?(t.bindTexture(t.TEXTURE_2D,i),t.texImage2D(t.TEXTURE_2D,0,t.RGBA,t.RGBA,t.UNSIGNED_BYTE,r),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),2==n?(t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR_MIPMAP_LINEAR),t.generateMipmap(t.TEXTURE_2D)):t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR),i):null};let c=new f(8),u=new f(8),d=new f(10),p=new f(10);this.Nb=function(n,r,l,h,f){if(e()){var m=c.push(n),g=u.push(r);if(t.canvas){for(var y of((t.canvas.width!=m||t.canvas.height!=g)&&(t.canvas.width=m,t.canvas.height=g),t.viewport(0,g-r,n,r),t.disable(t.SCISSOR_TEST),t.clearColor(0,0,0,0),t.clear(t.COLOR_BUFFER_BIT),t.enable(t.SCISSOR_TEST),l.sort((e,t)=>
182t.vb-e.vb),m=d.push(h),o!=m&&(t.bufferData(t.ARRAY_BUFFER,8*m,t.DYNAMIC_DRAW),o=m),m=0,l))t.bufferSubData(t.ARRAY_BUFFER,m,y.Ta),m+=4*y.Ta.length;for(var v of(console.assert(m==4*h),l))t.bufferSubData(t.ARRAY_BUFFER,m,v.Bb),m+=4*v.Bb.length;for(var b of(console.assert(m==8*h),m=p.push(f),s!=m&&(t.bufferData(t.ELEMENT_ARRAY_BUFFER,2*m,t.DYNAMIC_DRAW),s=m),y=0,l))t.bufferSubData(t.ELEMENT_ARRAY_BUFFER,y,b.indices),y+=2*b.indices.length;for(let e of(console.assert(y==2*f),b=0,v=!0,m=y=0,l)){e.image.Ja!=b&&(t.bindTexture(t.TEXTURE_2D,e.image.Ia||null),b=e.image.Ja),e.hc?(t.scissor(e.Za,g-e.$a-e.jb,e.uc,e.jb),v=!0):v&&(t.scissor(0,g-r,n,r),v=!1),l=2/n;let o=-2/r;t.uniform4f(i,e.ha[0]*l*e.Aa,e.ha[1]*o*e.Ba,e.ha[2]*l*e.Aa,e.ha[3]*o*e.Ba),t.uniform2f(a,e.ha[4]*l*e.Aa+l*(e.Za-e.cc*e.Aa)-1,e.ha[5]*o*e.Ba+o*(e.$a-e.dc*e.Ba)+1),t.vertexAttribPointer(0,2,t.FLOAT,!1,0,m),t.vertexAttribPointer(1,2,t.FLOAT,!1,0,m+4*h),t.drawElements(t.TRIANGLES,e.indices.length,t.UNSIGNED_SHORT,y),m+=4*e.Ta.length,y+=2*e.indices.length}console.assert(m==4*h),console.assert(y==2*f)}}},this.canvas=function(){return e()&&t.canvas}},v=e.onRuntimeInitialized;e.onRuntimeInitialized=function(){function t(e){switch(e){case u.srcOver:return"source-over";case u.screen:return"screen";case u.overlay:return"overlay";case u.darken:return"darken";case u.lighten:return"lighten";case u.colorDodge:return"color-dodge";case u.colorBurn:return"color-burn";case u.hardLight:return"hard-light";case u.softLight:return"soft-light";case u.difference:return"difference";case u.exclusion:return"exclusion";case u.multiply:return"multiply";case u.hue:return"hue";case u.saturation:return"saturation";case u.color:return"color";case u.luminosity:return"luminosity"}}function n(e){return"rgba("+((16711680&e)>>>16)+","+((65280&e)>>>8)+","+((255&e)>>>0)+","+((4278190080&e)>>>24)/255+")"}function r(){for(let e of(0<E.length&&(y.Nb(C.drawWidth(),C.drawHeight(),E,k,S),E=[],S=k=0,C.reset(512,512)),j)){for(let t of e.I)t();e.I=[]}j.clear()}v&&v();var i=e.RenderPaintStyle;let a=e.RenderPath,o=e.RenderPaint,s=e.Renderer,l=e.StrokeCap,c=e.StrokeJoin,u=e.BlendMode,d=i.fill,p=i.stroke,f=e.FillRule.evenOdd,m=1;var b=e.RenderImage.extend("CanvasRenderImage",{__construct:function({la:e,wa:t}={}){this.__parent.__construct.call(this),this.Ja=m,m=m+1&2147483647||1,this.la=e,this.wa=t},__destruct:function(){this.Ia&&(y.Kb(this.Ia),URL.revokeObjectURL(this.Wa)),this.__parent.__destruct.call(this)},decode:function(e){var t=this;t.wa&&t.wa(t);var n=new Image;t.Wa=URL.createObjectURL(new Blob([e],{type:"image/png"})),n.onload=function(){t.Db=n,t.Ia=y.Jb(n),t.size(n.width,n.height),t.la&&t.la(t)},n.src=t.Wa}}),x=a.extend("CanvasRenderPath",{__construct:function(){this.__parent.__construct.call(this),this.U=new Path2D},rewind:function(){this.U=new Path2D},addPath:function(e,t,n,r,i,a,o){var s=this.U,l=s.addPath;e=e.U;let c=new DOMMatrix;c.a=t,c.b=n,c.c=r,c.d=i,c.e=a,c.f=o,l.call(s,e,c)},fillRule:function(e){this.Va=e},moveTo:function(e,t){this.U.moveTo(e,t)},lineTo:function(e,t){this.U.lineTo(e,t)},cubicTo:function(e,t,n,r,i,a){this.U.bezierCurveTo(e,t,n,r,i,a)},close:function(){this.U.closePath()}}),w=o.extend("CanvasRenderPaint",{color:function(e){this.Xa=n(e)},thickness:function(e){this.Gb=e},join:function(e){switch(e){case c.miter:this.Ha="miter";break;case c.round:this.Ha="round";break;case c.bevel:this.Ha="bevel"}},cap:function(e){switch(e){case l.butt:this.Ga="butt";break;case l.round:this.Ga="round";break;case l.square:this.Ga="square"}},style:function(e){this.Fb=e},blendMode:function(e){this.Cb=t(e)},clearGradient:function(){this.ja=null},linearGradient:function(e,t,n,r){this.ja={xb:e,yb:t,cb:n,eb:r,Qa:[]}},radialGradient:function(e,t,n,r){this.ja={xb:e,yb:t,cb:n,eb:r,Qa:[],ac:!0}},addStop:function(e,t){this.ja.Qa.push({color:e,stop:t})},completeGradient:function(){},draw:function(e,t,r,i){let a=this.Fb;var o=this.Xa,s=this.ja;let l=e.globalCompositeOperation,c=e.globalAlpha;if(e.globalCompositeOperation=this.Cb,e.globalAlpha=i,null!=s){o=s.xb;let t=s.yb,r=s.cb;var u=s.eb;i=s.Qa,s.ac?(s=r-o,u-=t,o=e.createRadialGradient(o,t,0,o,t,Math.sqrt(s*s+u*u))):o=e.createLinearGradient(o,t,r,u);for(let e=0,t=i.length;e<t;e++)s=i[e],o.addColorStop(s.stop,n(s.color));this.Xa=o,this.ja=null}switch(a){case p:e.strokeStyle=o,e.lineWidth=this.Gb,e.lineCap=this.Ga,e.lineJoin=this.Ha,e.stroke(t);break;case d:e.fillStyle=o,e.fill(t,r)}e.globalCompositeOperation=l,e.globalAlpha=c}});let j=new Set,C=null,E=[],k=0,S=0;var A=e.CanvasRenderer=s.extend("Renderer",{__construct:function(e){this.__parent.__construct.call(this),this.T=[1,0,0,1,0,0],this.G=[1],this.B=e.getContext("2d"),this.Ua=e,this.I=[]},save:function(){this.T.push(...this.T.slice(this.T.length-6)),this.G.push(this.G[this.G.length-1]),this.I.push(this.B.save.bind(this.B))},restore:function(){let e=this.T.length-6;if(6>
182e)throw"restore() called without matching save().";this.T.splice(e),this.G.pop(),this.I.push(this.B.restore.bind(this.B))},transform:function(e,t,n,r,i,a){let o=this.T,s=o.length-6;o.splice(s,6,o[s]*e+o[s+2]*t,o[s+1]*e+o[s+3]*t,o[s]*n+o[s+2]*r,o[s+1]*n+o[s+3]*r,o[s]*i+o[s+2]*a+o[s+4],o[s+1]*i+o[s+3]*a+o[s+5]),this.I.push(this.B.transform.bind(this.B,e,t,n,r,i,a))},rotate:function(e){let t=Math.sin(e);e=Math.cos(e),this.transform(e,t,-t,e,0,0)},modulateOpacity:function(e){this.G[this.G.length-1]*=e},_drawPath:function(e,t){this.I.push(t.draw.bind(t,this.B,e.U,e.Va===f?"evenodd":"nonzero",Math.max(0,this.G[this.G.length-1])))},_drawRiveImage:function(e,n,r,i){var a=e.Db;if(a){var o=this.B,s=t(r),l=Math.max(0,i*this.G[this.G.length-1]);this.I.push(function(){o.globalCompositeOperation=s,o.globalAlpha=l,o.drawImage(a,0,0),o.globalAlpha=1})}},_getMatrix:function(e){let t=this.T,n=t.length-6;for(let r=0;6>r;++r)e[r]=t[n+r]},_drawImageMesh:function(n,i,a,o,s,l,c,u,d,p,h){i=this.B.canvas.width;var f=this.B.canvas.height;let m=p-u,g=h-d;u=Math.max(u,0),d=Math.max(d,0);let v=(p=Math.min(p,i))-u,b=(h=Math.min(h,f))-d;if(console.assert(v<=Math.min(m,i)),console.assert(b<=Math.min(g,f)),!(0>=v||0>=b)){p=v<m||b<g,i=h=1;var x=Math.ceil(v*h),w=Math.ceil(b*i);f=y.bc(),x>f&&(h*=f/x,x=f),w>f&&(i*=f/w,w=f),C||(C=new e.DynamicRectanizer(f)).reset(512,512),0>(f=C.addRect(x,w))&&(r(),j.add(this),console.assert(0<=(f=C.addRect(x,w))));var A=65535&f,T=f>>16;E.push({ha:this.T.slice(this.T.length-6),image:n,Za:A,$a:T,cc:u,dc:d,uc:x,jb:w,Aa:h,Ba:i,Ta:new Float32Array(s),Bb:new Float32Array(l),indices:new Uint16Array(c),hc:p,vb:n.Ja<<1|(p?1:0)}),k+=s.length,S+=c.length;var _=this.B,L=t(a),N=Math.max(0,o*this.G[this.G.length-1]);this.I.push(function(){_.save(),_.resetTransform(),_.globalCompositeOperation=L,_.globalAlpha=N;let e=y.canvas();e&&_.drawImage(e,A,T,x,w,u,d,v,b),_.restore()})}},_clipPath:function(e){this.I.push(this.B.clip.bind(this.B,e.U,e.Va===f?"evenodd":"nonzero"))},clear:function(){j.add(this),this.I.push(this.B.clearRect.bind(this.B,0,0,this.Ua.width,this.Ua.height))},flush:function(){},translate:function(e,t){this.transform(1,0,0,1,e,t)}});e.makeRenderer=function(e){let t=new A(e),n=t.B;return new Proxy(t,{get(e,r){if("function"==typeof e[r])return function(...t){return e[r].apply(e,t)};if("function"==typeof n[r]){if(-1<g.indexOf(r))throw Error("RiveException: Method call to '"+r+"()' is not allowed, as the renderer cannot immediately pass through the return values of any canvas 2d context methods.");return function(...e){t.I.push(n[r].bind(n,...e))}}return e[r]},set(e,r,i){if(r in n)return t.I.push(()=>{n[r]=i}),!0}})},e.decodeImage=function(e,t){new b({la:t}).decode(e)},e.renderFactory={makeRenderPaint:function(){return new w},makeRenderPath:function(){return new x},makeRenderImage:function(){let e=_;return new b({wa:()=>{e.total++},la:()=>{if(e.loaded++,e.loaded===e.total){let t=e.ready;t&&(t(),e.ready=null)}}})}};let T=e.load,_=null;e.load=function(t,n,r=!0){let i=new e.FallbackFileAssetLoader;return void 0!==n&&i.addLoader(n),r&&(n=new e.CDNFileAssetLoader,i.addLoader(n)),new Promise(function(e){let n=null;_={total:0,loaded:0,ready:function(){e(n)}},n=T(t,i),0==_.total&&e(n)})};let L=e.RendererWrapper.prototype.align;e.RendererWrapper.prototype.align=function(e,t,n,r,i=1){L.call(this,e,t,n,r,i)},i=new h,e.requestAnimationFrame=i.requestAnimationFrame.bind(i),e.cancelAnimationFrame=i.cancelAnimationFrame.bind(i),e.enableFPSCounter=i.Ob.bind(i),e.disableFPSCounter=i.Lb,i.ob=r,e.resolveAnimationFrame=r,e.cleanup=function(){C&&C.delete()}};var b,x,w=Object.assign({},e),j="./this.program",C="";(d||p)&&(p?C=self.location.href:"undefined"!=typeof document&&document.currentScript&&(C=document.currentScript.src),r&&(C=r),C=C.startsWith("blob:")?"":C.substr(0,C.replace(/[?#].*/,"").lastIndexOf("/")+1),p&&(x=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)}),b=(e,t,n)=>{if(q(e)){var r=new XMLHttpRequest;r.open("GET",e,!0),r.responseType="arraybuffer",r.onload=()=>{200==r.status||0==r.status&&r.response?t(r.response):n()},r.onerror=n,r.send(null)}else fetch(e,{credentials:"same-origin"}).then(e=>e.ok?e.arrayBuffer():Promise.reject(Error(e.status+" : "+e.url))).then(t,n)});var E=e.print||console.log.bind(console),k=e.printErr||console.error.bind(console);Object.assign(e,w),w=null,e.thisProgram&&(j=e.thisProgram),e.wasmBinary&&(S=e.wasmBinary);var S,A,T,_,L,N,P,I,M,O,R=!1;function D(){var t=A.buffer;e.HEAP8=T=new Int8Array(t),e.HEAP16=L=new Int16Array(t),e.HEAPU8=_=new Uint8Array(t),e.HEAPU16=N=new Uint16Array(t),e.HEAP32=P=new Int32Array(t),e.HEAPU32
182=I=new Uint32Array(t),e.HEAPF32=M=new Float32Array(t),e.HEAPF64=O=new Float64Array(t)}var B=[],F=[],H=[],V=0,$=null,U=null;function z(t){throw e.onAbort?.(t),k(t="Aborted("+t+")"),R=!0,t=new WebAssembly.RuntimeError(t+". Build with -sASSERTIONS for more info."),c(t),t}var W,G=e=>e.startsWith("data:application/octet-stream;base64,"),q=e=>e.startsWith("file://");function K(e){if(e==W&&S)return new Uint8Array(S);if(x)return x(e);throw"both async and sync fetching of the wasm failed"}function Y(e,t,n){return(S?Promise.resolve().then(()=>K(e)):new Promise((t,n)=>{b(e,e=>t(new Uint8Array(e)),()=>{try{t(K(e))}catch(e){n(e)}})})).then(e=>WebAssembly.instantiate(e,t)).then(n,e=>{k(`failed to asynchronously prepare wasm: ${e}`),z(e)})}var X,Z,J={491138:(e,t,n,r,i)=>{if("undefined"==typeof window||void 0===(window.AudioContext||window.webkitAudioContext))return 0;if(void 0===window.h){window.h={za:0},window.h.J={},window.h.J.xa=e,window.h.J.capture=t,window.h.J.Ka=n,window.h.ga={},window.h.ga.stopped=r,window.h.ga.wb=i;let a=window.h;a.D=[],a.sc=function(e){for(var t=0;t<a.D.length;++t)if(null==a.D[t])return a.D[t]=e,t;return a.D.push(e),a.D.length-1},a.Ab=function(e){for(a.D[e]=null;0<a.D.length;)if(null==a.D[a.D.length-1])a.D.pop();else break},a.Pc=function(e){for(var t=0;t<a.D.length;++t)if(a.D[t]==e)return a.Ab(t)},a.qa=function(e){return a.D[e]},a.Sa=["touchend","click"],a.unlock=function(){for(var e=0;e<a.D.length;++e){var t=a.D[e];null!=t&&null!=t.L&&t.state===a.ga.wb&&t.L.resume().then(()=>{nx(t.pb)},e=>{console.error("Failed to resume audiocontext",e)})}a.Sa.map(function(e){document.removeEventListener(e,a.unlock,!0)})},a.Sa.map(function(e){document.addEventListener(e,a.unlock,!0)})}return window.h.za+=1,1},493316:()=>{void 0!==window.h&&(window.h.Sa.map(function(e){document.removeEventListener(e,window.h.unlock,!0)}),--window.h.za,0===window.h.za&&delete window.h)},493620:()=>void 0!==navigator.mediaDevices&&void 0!==navigator.mediaDevices.getUserMedia,493724:()=>{try{var e=new(window.AudioContext||window.webkitAudioContext),t=e.sampleRate;return e.close(),t}catch(e){return 0}},493895:(e,t,n,r,i,a)=>{if(void 0===window.h)return -1;var o={},s={};return e==window.h.J.xa&&0!=n&&(s.sampleRate=n),o.L=new(window.AudioContext||window.webkitAudioContext)(s),o.L.suspend(),o.state=window.h.ga.stopped,n=0,e!=window.h.J.xa&&(n=t),o.Z=o.L.createScriptProcessor(r,n,t),o.Z.onaudioprocess=function(n){if((null==o.ra||0==o.ra.length)&&(o.ra=new Float32Array(M.buffer,i,r*t)),e==window.h.J.capture||e==window.h.J.Ka){for(var s=0;s<t;s+=1)for(var l=n.inputBuffer.getChannelData(s),c=o.ra,u=0;u<r;u+=1)c[u*t+s]=l[u];nw(a,r,i)}if(e==window.h.J.xa||e==window.h.J.Ka)for(nj(a,r,i),s=0;s<n.outputBuffer.numberOfChannels;++s)for(l=n.outputBuffer.getChannelData(s),c=o.ra,u=0;u<r;u+=1)l[u]=c[u*t+s];else for(s=0;s<n.outputBuffer.numberOfChannels;++s)n.outputBuffer.getChannelData(s).fill(0)},e!=window.h.J.capture&&e!=window.h.J.Ka||navigator.mediaDevices.getUserMedia({audio:!0,video:!1}).then(function(e){o.Ca=o.L.createMediaStreamSource(e),o.Ca.connect(o.Z),o.Z.connect(o.L.destination)}).catch(function(e){console.log("Failed to get user media: "+e)}),e==window.h.J.xa&&o.Z.connect(o.L.destination),o.pb=a,window.h.sc(o)},496772:e=>window.h.qa(e).L.sampleRate,496845:e=>{void 0!==(e=window.h.qa(e)).Z&&(e.Z.onaudioprocess=function(){},e.Z.disconnect(),e.Z=void 0),void 0!==e.Ca&&(e.Ca.disconnect(),e.Ca=void 0),e.L.close(),e.L=void 0,e.pb=void 0},497245:e=>{window.h.Ab(e)},497295:e=>{(e=window.h.qa(e)).L.resume(),e.state=window.h.ga.wb},497434:e=>{(e=window.h.qa(e)).L.suspend(),e.state=window.h.ga.stopped}},Q=t=>{for(;0<t.length;)t.shift()(e)};function ee(){var e=P[+e5>>2];return e5+=4,e}var et=(e,t)=>{for(var n=0,r=e.length-1;0<=r;r--){var i=e[r];"."===i?e.splice(r,1):".."===i?(e.splice(r,1),n++):n&&(e.splice(r,1),n--)}if(t)for(;n;n--)e.unshift("..");return e},en=e=>{var t="/"===e.charAt(0),n="/"===e.substr(-1);return(e=et(e.split("/").filter(e=>!!e),!t).join("/"))||t||(e="."),e&&n&&(e+="/"),(t?"/":"")+e},er=e=>{var t=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1);return(e=t[0],t=t[1],e||t)?e+(t&&=t.substr(0,t.length-1)):"."},ei=e=>{if("/"===e)return"/";var t=(e=(e=en(e)).replace(/\/$/,"")).lastIndexOf("/");return -1===t?e:e.substr(t+1)},ea=()=>
182{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return e=>crypto.getRandomValues(e);z("initRandomDevice")},eo=e=>(eo=ea())(e),es=(...e)=>{for(var t="",n=!1,r=e.length-1;-1<=r&&!n;r--){if("string"!=typeof(n=0<=r?e[r]:"/"))throw TypeError("Arguments to path.resolve must be strings");if(!n)return"";t=n+"/"+t,n="/"===n.charAt(0)}return t=et(t.split("/").filter(e=>!!e),!n).join("/"),(n?"/":"")+t||"."},el="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0,ec=(e,t,n)=>{var r=t+n;for(n=t;e[n]&&!(n>=r);)++n;if(16<n-t&&e.buffer&&el)return el.decode(e.subarray(t,n));for(r="";t<n;){var i=e[t++];if(128&i){var a=63&e[t++];if(192==(224&i))r+=String.fromCharCode((31&i)<<6|a);else{var o=63&e[t++];65536>(i=224==(240&i)?(15&i)<<12|a<<6|o:(7&i)<<18|a<<12|o<<6|63&e[t++])?r+=String.fromCharCode(i):(i-=65536,r+=String.fromCharCode(55296|i>>10,56320|1023&i))}}else r+=String.fromCharCode(i)}return r},eu=[],ed=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);127>=r?t++:2047>=r?t+=2:55296<=r&&57343>=r?(t+=4,++n):t+=3}return t},ep=(e,t,n,r)=>{if(!(0<r))return 0;var i=n;r=n+r-1;for(var a=0;a<e.length;++a){var o=e.charCodeAt(a);if(55296<=o&&57343>=o&&(o=65536+((1023&o)<<10)|1023&e.charCodeAt(++a)),127>=o){if(n>=r)break;t[n++]=o}else{if(2047>=o){if(n+1>=r)break;t[n++]=192|o>>6}else{if(65535>=o){if(n+2>=r)break;t[n++]=224|o>>12}else{if(n+3>=r)break;t[n++]=240|o>>18,t[n++]=128|o>>12&63}t[n++]=128|o>>6&63}t[n++]=128|63&o}}return t[n]=0,n-i};function eh(e,t){var n=Array(ed(e)+1);return e=ep(e,n,0,n.length),t&&(n.length=e),n}var ef=[];function em(e,t){ef[e]={input:[],H:[],W:t},ew[e]={m:eg}}var eg={open(e){var t=ef[e.node.ya];if(!t)throw new eS(43);
182e.s=t,e.seekable=!1},close(e){e.s.W.pa(e.s)},pa(e){e.s.W.pa(e.s)},read(e,t,n,r){if(!e.s||!e.s.W.ib)throw new eS(60);for(var i=0,a=0;a<r;a++){try{var o=e.s.W.ib(e.s)}catch(e){throw new eS(29)}if(void 0===o&&0===i)throw new eS(6);if(null==o)break;i++,t[n+a]=o}return i&&(e.node.timestamp=Date.now()),i},write(e,t,n,r){if(!e.s||!e.s.W.Na)throw new eS(60);try{for(var i=0;i<r;i++)e.s.W.Na(e.s,t[n+i])}catch(e){throw new eS(29)}return r&&(e.node.timestamp=Date.now()),i}};function ey(e,t){var n=e.l?e.l.length:0;n>=t||(t=Math.max(t,n*(1048576>n?2:1.125)>>>0),0!=n&&(t=Math.max(t,256)),n=e.l,e.l=new Uint8Array(t),0<e.v&&e.l.set(n.subarray(0,e.v),0))}var ev={O:null,V:()=>ev.createNode(null,"/",16895,0),createNode(e,t,n,r){if(24576==(61440&n)||4096==(61440&n))throw new eS(63);return ev.O||(ev.O={dir:{node:{Y:ev.j.Y,R:ev.j.R,ka:ev.j.ka,ua:ev.j.ua,tb:ev.j.tb,zb:ev.j.zb,ub:ev.j.ub,sb:ev.j.sb,Da:ev.j.Da},stream:{ba:ev.m.ba}},file:{node:{Y:ev.j.Y,R:ev.j.R},stream:{ba:ev.m.ba,read:ev.m.read,write:ev.m.write,Ya:ev.m.Ya,lb:ev.m.lb,nb:ev.m.nb}},link:{node:{Y:ev.j.Y,R:ev.j.R,ma:ev.j.ma},stream:{}},ab:{node:{Y:ev.j.Y,R:ev.j.R},stream:eH}}),16384==(61440&(n=eM(e,t,n,r)).mode)?(n.j=ev.O.dir.node,n.m=ev.O.dir.stream,n.l={}):32768==(61440&n.mode)?(n.j=ev.O.file.node,n.m=ev.O.file.stream,n.v=0,n.l=null):40960==(61440&n.mode)?(n.j=ev.O.link.node,n.m=ev.O.link.stream):8192==(61440&n.mode)&&(n.j=ev.O.ab.node,n.m=ev.O.ab.stream),n.timestamp=Date.now(),e&&(e.l[t]=n,e.timestamp=n.timestamp),n},Gc:e=>e.l?e.l.subarray?e.l.subarray(0,e.v):new Uint8Array(e.l):new Uint8Array(0),j:{Y(e){var t={};return t.Ec=8192==(61440&e.mode)?e.id:1,t.Ic=e.id,t.mode=e.mode,t.Lc=1,t.uid=0,t.Hc=0,t.ya=e.ya,16384==(61440&e.mode)?t.size=4096:32768==(61440&e.mode)?t.size=e.v:40960==(61440&e.mode)?t.size=e.link.length:t.size=0,t.wc=new Date(e.timestamp),t.Kc=new Date(e.timestamp),t.Dc=new Date(e.timestamp),t.Hb=4096,t.xc=Math.ceil(t.size/t.Hb),t},R(e,t){if(void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&(t=t.size,e.v!=t)){if(0==t)e.l=null,e.v=0;else{var n=e.l;e.l=new Uint8Array(t),n&&e.l.set(n.subarray(0,Math.min(t,e.v))),e.v=t}}},ka(){throw eA[44]},ua:(e,t,n,r)=>ev.createNode(e,t,n,r),tb(e,t,n){if(16384==(61440&e.mode)){try{var r=eI(t,n)}catch(e){}if(r)for(var i in r.l)throw new eS(55)}delete e.parent.l[e.name],e.parent.timestamp=Date.now(),e.name=n,t.l[n]=e,t.timestamp=e.parent.timestamp},zb(e,t){delete e.l[t],e.timestamp=Date.now()},ub(e,t){var n,r=eI(e,t);for(n in r.l)throw new eS(55);delete e.l[t],e.timestamp=Date.now()},sb(e){var t,n=[".",".."];for(t of Object.keys(e.l))n.push(t);return n},Da:(e,t,n)=>((e=ev.createNode(e,t,41471,0)).link=n,e),ma(e){if(40960!=(61440&e.mode))throw new eS(28);return e.link}},m:{read(e,t,n,r,i){var a=e.node.l;if(i>=e.node.v)return 0;if(8<(e=Math.min(e.node.v-i,r))&&a.subarray)t.set(a.subarray(i,i+e),n);else for(r=0;r<e;r++)t[n+r]=a[i+r];return e},write(e,t,n,r,i,a){if(t.buffer===T.buffer&&(a=!1),!r)return 0;if((e=e.node).timestamp=Date.now(),t.subarray&&(!e.l||e.l.subarray)){if(a)return e.l=t.subarray(n,n+r),e.v=r;if(0===e.v&&0===i)return e.l=t.slice(n,n+r),e.v=r;if(i+r<=e.v)return e.l.set(t.subarray(n,n+r),i),r}if(ey(e,i+r),e.l.subarray&&t.subarray)e.l.set(t.subarray(n,n+r),i);else for(a=0;a<r;a++)e.l[i+a]=t[n+a];return e.v=Math.max(e.v,i+r),r},ba(e,t,n){if(1===n?t+=e.position:2===n&&32768==(61440&e.node.mode)&&(t+=e.node.v),0>t)throw new eS(28);return t}
182,Ya(e,t,n){ey(e.node,t+n),e.node.v=Math.max(e.node.v,t+n)},lb(e,t,n,r,i){if(32768!=(61440&e.node.mode))throw new eS(43);if(e=e.node.l,2&i||e.buffer!==T.buffer)throw(0<n||n+t<e.length)&&(e=e.subarray?e.subarray(n,n+t):Array.prototype.slice.call(e,n,n+t)),n=!0,z(),t=void 0,new eS(48);return n=!1,{o:t=e.byteOffset,vc:n}},nb:(e,t,n,r)=>(ev.m.write(e,t,0,r,n,!1),0)}},eb=(e,t)=>{var n=0;return e&&(n|=365),t&&(n|=146),n},ex=null,ew={},ej=[],eC=1,eE=null,ek=!0,eS=class{constructor(e){this.name="ErrnoError",this.aa=e}},eA={},eT=class{constructor(){this.h={},this.node=null}get flags(){return this.h.flags}set flags(e){this.h.flags=e}get position(){return this.h.position}set position(e){this.h.position=e}},e_=class{constructor(e,t,n,r){e||=this,this.parent=e,this.V=e.V,this.va=null,this.id=eC++,this.name=t,this.mode=n,this.j={},this.m={},this.ya=r}get read(){return 365==(365&this.mode)}set read(e){e?this.mode|=365:this.mode&=-366}get write(){return 146==(146&this.mode)}set write(e){e?this.mode|=146:this.mode&=-147}};function eL(e,t={}){if(!(e=es(e)))return{path:"",node:null};if(8<(t=Object.assign({hb:!0,Pa:0},t)).Pa)throw new eS(32);e=e.split("/").filter(e=>!!e);for(var n=ex,r="/",i=0;i<e.length;i++){var a=i===e.length-1;if(a&&t.parent)break;if(n=eI(n,e[i]),r=en(r+"/"+e[i]),n.va&&(!a||a&&t.hb)&&(n=n.va.root),!a||t.gb){for(a=0;40960==(61440&n.mode);)if(n=function(e){if(!(e=eL(e).node))throw new eS(44);if(!e.j.ma)throw new eS(28);return es(eN(e.parent),e.j.ma(e))}(r),n=eL(r=es(er(r),n),{Pa:t.Pa+1}).node,40<a++)throw new eS(32)}}return{path:r,node:n}}function eN(e){for(var t;;){if(e===e.parent)return e=e.V.mb,t?"/"!==e[e.length-1]?`${e}/${t}`:e+t:e;t=t?`${e.name}/${t}`:e.name,e=e.parent}}function eP(e,t){for(var n=0,r=0;r<t.length;r++)n=(n<<5)-n+t.charCodeAt(r)|0;return(e+n>>>0)%eE.length}function eI(e,t){var n=16384==(61440&e.mode)?(n=eR(e,"x"))?n:e.j.ka?0:2:54;if(n)throw new eS(n);for(n=eE[eP(e.id,t)];n;n=n.fc){var r=n.name;if(n.parent.id===e.id&&r===t)return n}return e.j.ka(e,t)}function eM(e,t,n,r){return t=eP((e=new e_(e,t,n,r)).parent.id,e.name),e.fc=eE[t],eE[t]=e}function eO(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t}function eR(e,t){return ek?0:t.includes("r")&&!(292&e.mode)?2:t.includes("w")&&!(146&e.mode)||t.includes("x")&&!(73&e.mode)?2:0}function eD(e,t){try{return eI(e,t),20}catch(e){}return eR(e,"wx")}function eB(e){if(!(e=ej[e]))throw new eS(8);return e}function eF(e,t=-1){if(e=Object.assign(new eT,e),-1==t)e:{for(t=0;4096>=t;t++)if(!ej[t])break e;throw new eS(33)}return e.X=t,ej[t]=e}var eH={open(e){e.m=ew[e.node.ya].m,e.m.open?.(e)},ba(){throw new eS(70)}};function eV(e,t){var n="/"===t;if(n&&ex)throw new eS(10);if(!n&&t){var r=eL(t,{hb:!1});if(t=r.path,(r=r.node).va)throw new eS(10);if(16384!=(61440&r.mode))throw new eS(54)}t={type:e,Nc:{},mb:t,ec:[]},(e=e.V(t)).V=t,t.root=e,n?ex=e:r&&(r.va=t,r.V&&r.V.ec.push(t))}function e$(e,t,n){var r=eL(e,{parent:!0}).node;if(!(e=ei(e))||"."===e||".."===e)throw new eS(28);var i=eD(r,e);if(i)throw new eS(i);if(!r.j.ua)throw new eS(63);return r.j.ua(r,e,t,n)}function eU(e){return e$(e,16895,0)}function ez(e,t,n){void 0===n&&(n=t,t=438),e$(e,8192|t,n)}function eW(e,t){if(!es(e))throw new eS(44);var n=eL(t,{parent:!0}).node;if(!n)throw new eS(44);var r=eD(n,t=ei(t));if(r)throw new eS(r);if(!n.j.Da)throw new eS(63);n.j.Da(n,t,e)}function eG(t,n,r){if(""===t)throw new eS(44);if("string"==typeof n){var i={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[n];if(void 0===i)throw Error(`Unknown file open mode: ${n}`);n=i}if(r=64&n?(void 0===r?438:r)&4095|32768:0,"object"==typeof t)var a=t;else{t=en(t);try{a=eL(t,{gb:!(131072&n)}).node}catch(e){}}if(i=!1,64&n){if(a){if(128&n)throw new eS(20)}else a=e$(t,r,0),i=!0}if(!a)throw new eS(44);if(8192==(61440&a.mode)&&(n&=-513),65536&n&&16384!=(61440&a.mode))throw new eS(54);if(!i&&(r=a?40960==(61440&a.mode)?32:16384==(61440&a.mode)&&("r"!==eO(n)||512&n)?31:eR(a,eO(n)):44))throw new eS(r);if(512&n&&!i){if(!(r="string"==typeof(r=a)?eL(r,{gb:!0}).node:r).j.R)throw new eS(63);if(16384==(61440&r.mode))throw new eS(31);if(32768!=(61440&r.mode))throw new eS(28);if(i=eR(r,"w"))throw new eS(i);r.j.R(r,{size:0,timestamp:Date.now()})}return n&=-131713,(a=eF({node:a,path:eN(a),flags:n,seekable:!0,position:0,m:a.m,tc:[],error:!1})).m.open&&a.m.open(a),!e.logReadFiles||1&n||t in(eZ||={})||(eZ[t]=1),a}function eq(e,t,n){if(null===e.X)throw new eS(8);if(!e.seekable||!e.m.ba)throw new eS(70);if(0!=n&&1!=n&&2!=n)throw new eS(28);e.position=e.m.ba(e,t,n),e.tc=[]}
182function eK(e,t,n){e=en("/dev/"+e);var r,i=eb(!!t,!!n);eX||=64;var a=eX++<<8|0;r={open(e){e.seekable=!1},close(){n?.buffer?.length&&n(10)},read(e,n,r,i){for(var a=0,o=0;o<i;o++){try{var s=t()}catch(e){throw new eS(29)}if(void 0===s&&0===a)throw new eS(6);if(null==s)break;a++,n[r+o]=s}return a&&(e.node.timestamp=Date.now()),a},write(e,t,r,i){for(var a=0;a<i;a++)try{n(t[r+a])}catch(e){throw new eS(29)}return i&&(e.node.timestamp=Date.now()),a}},ew[a]={m:r},ez(e,i,a)}var eY,eX,eZ,eJ,eQ,e0,e1,e2,e3={},e5=void 0,e4=(e,t)=>Object.defineProperty(t,"name",{value:e}),e6=[],e8=[],e7=e=>{if(!e)throw new eJ("Cannot use deleted val. handle = "+e);return e8[e]},e9=e=>{switch(e){case void 0:return 2;case null:return 4;case!0:return 6;case!1:return 8;default:let t=e6.pop()||e8.length;return e8[t]=e,e8[t+1]=1,t}},te=e=>{var t=Error,n=e4(e,function(t){this.name=e,this.message=t,void 0!==(t=Error(t).stack)&&(this.stack=this.toString()+"\n"+t.replace(/^Error(:[^\n]*)?\n/,""))});return n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return void 0===this.message?this.name:`${this.name}: ${this.message}`},n},tt=e=>{for(var t="";_[e];)t+=e0[_[e++]];return t},tn=[],tr=()=>{for(;tn.length;){var e=tn.pop();e.g.fa=!1,e.delete()}},ti={},ta=(e,t)=>{if(void 0===t)throw new eJ("ptr should not be undefined");for(;e.C;)t=e.na(t),e=e.C;return t},to={},ts=e=>{var t=tt(e=nb(e));return ny(e),t},tl=(e,t)=>{var n=to[e];if(void 0===n)throw e=`${t} has unknown type ${ts(e)}`,new eJ(e);return n},tc=()=>{},tu=!1,td=(e,t,n)=>t===n?e:void 0===n.C?null:null===(e=td(e,t,n.C))?null:n.Mb(e),tp={},th=(e,t)=>ti[t=ta(e,t)],tf=(e,t)=>{if(!t.u||!t.o)throw new e2("makeClassHandle requires ptr and ptrType");if(!!t.K!=!!t.F)throw new e2("Both smartPtrType and smartPtr must be specified");return t.count={value:1},tm(Object.create(e,{g:{value:t,writable:!0}}))},tm=e=>"undefined"==typeof FinalizationRegistry?(tm=e=>e,e):(tu=new FinalizationRegistry(e=>{e=e.g,--e.count.value,0===e.count.value&&(e.F?e.K.P(e.F):e.u.i.P(e.o))}),tm=e=>{var t=e.g;return t.F&&tu.register(e,{g:t},e),e},tc=e=>{tu.unregister(e)},tm(e)),tg={},ty=e=>{for(;e.length;){var t=e.pop();e.pop()(t)}};function tv(e){return this.fromWireType(I[e>>2])}var tb={},tx={},tw=(e,t,n)=>{function r(t){if((t=n(t)).length!==e.length)throw new e2("Mismatched type converter count");for(var r=0;r<e.length;++r)tj(e[r],t[r])}e.forEach(function(e){tx[e]=t});var i=Array(t.length),a=[],o=0;t.forEach((e,t)=>{to.hasOwnProperty(e)?i[t]=to[e]:(a.push(e),tb.hasOwnProperty(e)||(tb[e]=[]),tb[e].push(()=>{i[t]=to[e],++o===a.length&&r(i)}))}),0===a.length&&r(i)};function tj(e,t,n={}){if(!("argPackAdvance"in t))throw TypeError("registerType registeredInstance requires argPackAdvance");return function(e,t,n={}){var r=t.name;if(!e)throw new eJ(`type "${r}" must have a positive integer typeid pointer`);if(to.hasOwnProperty(e)){if(n.Wb)return;throw new eJ(`Cannot register type '${r}' twice`)}to[e]=t,delete tx[e],tb.hasOwnProperty(e)&&(t=tb[e],delete tb[e],t.forEach(e=>e()))}(e,t,n)}var tC=e=>{throw new eJ(e.g.u.i.name+" instance already deleted")};function tE(){}var tk=(e,t,n)=>{if(void 0===e[t].A){var r=e[t];e[t]=function(...r){if(!e[t].A.hasOwnProperty(r.length))throw new eJ(`Function '${n}' called with an invalid number of arguments (${r.length}) - expects one of (${e[t].A})!`);return e[t].A[r.length].apply(this,r)},e[t].A=[],e[t].A[r.ea]=r}},tS=(t,n,r)=>{if(e.hasOwnProperty(t)){if(void 0===r||void 0!==e[t].A&&void 0!==e[t].A[r])throw new eJ(`Cannot register public name '${t}' twice`);if(tk(e,t,t),e.hasOwnProperty(r))throw new eJ(`Cannot register multiple overloads of a function with the same number of arguments (${r})!`);e[t].A[r]=n}else e[t]=n,void 0!==r&&(e[t].Mc=r)},tA=e=>{if(void 0===e)return"_unknown";var t=(e=e.replace(/[^a-zA-Z0-9_]/g,"$")).charCodeAt(0);return 48<=t&&57>=t?`_${e}`:e};function tT(e,t,n,r,i,a,o,s){this.name=e,this.constructor=t,this.N=n,this.P=r,this.C=i,this.Rb=a,this.na=o,this.Mb=s,this.qb=[]}var t_=(e,t,n)=>{for(;t!==n;){if(!t.na)throw new eJ(`Expected null or instance of ${n.name}, got an instance of ${t.name}`);e=t.na(e),t=t.C}return e};function tL(e,t){if(null===t){if(this.Ma)throw new eJ(`null is not a valid ${this.name}`);return 0}if(!t.g)throw new eJ(`Cannot pass "${tZ(t)}" as a ${this.name}`);if(!t.g.o)throw new eJ(`Cannot pass deleted object as a pointer of type ${this.name}`);return t_(t.g.o,t.g.u.i,this.i)}function tN(e,t){if(null===t){if(this.Ma)throw new eJ(`null is not a valid ${this.name}`);if(this.ta){var n=this.Oa();return null!==e&&e.push(this.P,n),n}return 0}if(!t||!t.g)throw new eJ(`Cannot pass "${tZ(t)}" as a ${this.name}`);if(!t.g.o)throw new eJ(`Cannot pass deleted object as a pointer of type ${this.name}`);if(!this.sa&&t.g.u.sa)throw new eJ(`Cannot convert argument of type ${t.g.K?t.g.K.name:t.g.u.name} to parameter type ${this.name}`);if(n=t_(t.g.o,t.g.u.i,this.i),this.ta){if(void 0===t.g.F)throw new eJ("Passing raw pointer to smart pointer is illegal");
182switch(this.nc){case 0:if(t.g.K===this)n=t.g.F;else throw new eJ(`Cannot convert argument of type ${t.g.K?t.g.K.name:t.g.u.name} to parameter type ${this.name}`);break;case 1:n=t.g.F;break;case 2:if(t.g.K===this)n=t.g.F;else{var r=t.clone();n=this.jc(n,e9(()=>r.delete())),null!==e&&e.push(this.P,n)}break;default:throw new eJ("Unsupporting sharing policy")}}return n}function tP(e,t){if(null===t){if(this.Ma)throw new eJ(`null is not a valid ${this.name}`);return 0}if(!t.g)throw new eJ(`Cannot pass "${tZ(t)}" as a ${this.name}`);if(!t.g.o)throw new eJ(`Cannot pass deleted object as a pointer of type ${this.name}`);if(t.g.u.sa)throw new eJ(`Cannot convert argument of type ${t.g.u.name} to parameter type ${this.name}`);return t_(t.g.o,t.g.u.i,this.i)}function tI(e,t,n,r,i,a,o,s,l,c,u){this.name=e,this.i=t,this.Ma=n,this.sa=r,this.ta=i,this.ic=a,this.nc=o,this.rb=s,this.Oa=l,this.jc=c,this.P=u,i||void 0!==t.C?this.toWireType=tN:(this.toWireType=r?tL:tP,this.M=null)}var tM,tO,tR=(t,n,r)=>{if(!e.hasOwnProperty(t))throw new e2("Replacing nonexistent public symbol");void 0!==e[t].A&&void 0!==r?e[t].A[r]=n:(e[t]=n,e[t].ea=r)},tD=[],tB=e=>{var t=tD[e];return t||(e>=tD.length&&(tD.length=e+1),tD[e]=t=tM.get(e)),t},tF=(t,n,r=[])=>n=t.includes("j")?(0,e["dynCall_"+(t=t.replace(/p/g,"i"))])(n,...r):tB(n)(...r),tH=(e,t)=>(...n)=>tF(e,t,n),tV=(e,t)=>{var n=(e=tt(e)).includes("j")?tH(e,t):tB(t);if("function"!=typeof n)throw new eJ(`unknown function pointer with signature ${e}: ${t}`);return n},t$=(e,t)=>{var n=[],r={};throw t.forEach(function e(t){r[t]||to[t]||(tx[t]?tx[t].forEach(e):(n.push(t),r[t]=!0))}),new tO(`${e}: `+n.map(ts).join([", "]))};function tU(e,t,n,r,i){var a=t.length;if(2>a)throw new eJ("argTypes array size mismatch! Must at least get return value and 'this' types!");var o=null!==t[1]&&null!==n,s=function(e){for(var t=1;t<e.length;++t)if(null!==e[t]&&void 0===e[t].M)return!0;return!1}(t),l="void"!==t[0].name,c=a-2,u=Array(c),d=[],p=[];return e4(e,function(...n){if(n.length!==c)throw new eJ(`function ${e} called with ${n.length} arguments, expected ${c}`);if(p.length=0,d.length=o?2:1,d[0]=i,o){var a=t[1].toWireType(p,this);d[1]=a}for(var h=0;h<c;++h)u[h]=t[h+2].toWireType(p,n[h]),d.push(u[h]);if(n=r(...d),s)ty(p);else for(h=o?1:2;h<t.length;h++){var f=1===h?a:u[h-2];null!==t[h].M&&t[h].M(f)}return l?t[0].fromWireType(n):void 0})}var tz,tW=(e,t)=>{for(var n=[],r=0;r<e;r++)n.push(I[t+4*r>>2]);return n},tG=e=>{let t=(e=e.trim()).indexOf("(");return -1!==t?e.substr(0,t):e},tq=(e,t,n)=>{if(!(e instanceof Object))throw new eJ(`${n} with invalid "this": ${e}`);if(!(e instanceof t.i.constructor))throw new eJ(`${n} incompatible with "this" of type ${e.constructor.name}`);if(!e.g.o)throw new eJ(`cannot call emscripten binding method ${n} on deleted object`);return t_(e.g.o,e.g.u.i,t.i)},tK=e=>{9<e&&0==--e8[e+1]&&(e8[e]=void 0,e6.push(e))},tY={name:"emscripten::val",fromWireType:e=>{var t=e7(e);return tK(e),t},toWireType:(e,t)=>e9(t),argPackAdvance:8,readValueFromPointer:tv,M:null},tX=(e,t,n)=>{switch(t){case 1:return n?function(e){return this.fromWireType(T[e])}:function(e){return this.fromWireType(_[e])};case 2:return n?function(e){return this.fromWireType(L[e>>1])}:function(e){return this.fromWireType(N[e>>1])};case 4:return n?function(e){return this.fromWireType(P[e>>2])}:function(e){return this.fromWireType(I[e>>2])};default:throw TypeError(`invalid integer width (${t}): ${e}`)}},tZ=e=>{if(null===e)return"null";var t=typeof e;return"object"===t||"array"===t||"function"===t?e.toString():""+e},tJ=(e,t)=>{switch(t){case 4:return function(e){return this.fromWireType(M[e>>2])};case 8:return function(e){return this.fromWireType(O[e>>3])};default:throw TypeError(`invalid float width (${t}): ${e}`)}},tQ=(e,t,n)=>{switch(t){case 1:return n?e=>T[e]:e=>_[e];case 2:return n?e=>L[e>>1]:e=>N[e>>1];case 4:return n?e=>P[e>>2]:e=>I[e>>2];default:throw TypeError(`invalid integer width (${t}): ${e}`)}},t0="undefined"!=typeof TextDecoder?new TextDecoder("utf-16le"):void 0,t1=(e,t)=>{for(var n=e>>1,r=n+t/2;!(n>=r)&&N[n];)++n;if(32<(n<<=1)-e&&t0)return t0.decode(_.subarray(e,n));for(r=0,n="";!(r>=t/2);++r){var i=L[e+2*r>>1];if(0==i)break;n+=String.fromCharCode(i)}return n},t2=(e,t,n)=>{if(2>(n??=2147483647))return 0;n-=2;var r=t;n=n<2*e.length?n/2:e.length;for(var i=0;i<n;++i)L[t>>1]=e.charCodeAt(i),t+=2;return L[t>>1]=0,t-r},t3=e=>2*e.length,t5=(e,t)=>{for(var n=0,r="";!(n>=t/4);){var i=P[e+4*n>>2];if(0==i)break;++n,65536<=i?(i-=65536,r+=String.fromCharCode(55296|i>>10,56320|1023&i)):r+=String.fromCharCode(i)}return r},t4=(e,t,n)=>{if(4>(n??=2147483647))return 0;var r=t;n=r+n-4;for(var i=0;i<e.length;++i){var a=e.charCodeAt(i);if(55296<=a&&57343>=a&&(a=65536+((1023&a)<<10)|1023&e.charCodeAt(++i)),P[t>>2]=a,(t+=4)+4>n)break}return P[t>>2]=0,t-r},t6=e=>{for(var t=0,n=0;n<e.length;++n){var r=e.charCodeAt(n);55296<=r&&57343>=r&&++n,t+=4}return t}
182,t8=(e,t,n)=>{var r=[];return e=e.toWireType(r,n),r.length&&(I[t>>2]=e9(r)),e},t7={},t9=e=>{var t=t7[e];return void 0===t?tt(e):t},ne=[],nt=e=>{var t=ne.length;return ne.push(e),t},nn=(e,t)=>{for(var n=Array(e),r=0;r<e;++r)n[r]=tl(I[t+4*r>>2],"parameter "+r);return n},nr=Reflect.construct,ni=e=>0==e%4&&(0!=e%100||0==e%400),na=[0,31,60,91,121,152,182,213,244,274,305,335],no=[0,31,59,90,120,151,181,212,243,273,304,334],ns=[],nl={},nc=()=>{if(!tz){var e,t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:j||"./this.program"};for(e in nl)void 0===nl[e]?delete t[e]:t[e]=nl[e];var n=[];for(e in t)n.push(`${e}=${t[e]}`);tz=n}return tz},nu=[31,29,31,30,31,30,31,31,30,31,30,31],nd=[31,28,31,30,31,30,31,31,30,31,30,31],np=(e,t,n,r)=>{function i(e,t,n){for(e="number"==typeof e?e.toString():e||"";e.length<t;)e=n[0]+e;return e}function a(e,t){return i(e,t,"0")}function o(e,t){var n;function r(e){return 0>e?-1:0<e?1:0}return 0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))&&(n=r(e.getDate()-t.getDate())),n}function s(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function l(e){var t=e.ca;for(e=new Date(new Date(e.da+1900,0,1).getTime());0<t;){var n=e.getMonth(),r=(ni(e.getFullYear())?nu:nd)[n];if(t>r-e.getDate())t-=r-e.getDate()+1,e.setDate(1),11>n?e.setMonth(n+1):(e.setMonth(0),e.setFullYear(e.getFullYear()+1));else{e.setDate(e.getDate()+t);break}}return n=new Date(e.getFullYear()+1,0,4),t=s(new Date(e.getFullYear(),0,4)),n=s(n),0>=o(t,e)?0>=o(n,e)?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var c=I[r+40>>2];for(var u in r={qc:P[r>>2],pc:P[r+4>>2],Ea:P[r+8>>2],Ra:P[r+12>>2],Fa:P[r+16>>2],da:P[r+20>>2],S:P[r+24>>2],ca:P[r+28>>2],Oc:P[r+32>>2],oc:P[r+36>>2],rc:c&&c?ec(_,c):""},n=n?ec(_,n):"",c={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"})n=n.replace(RegExp(u,"g"),c[u]);var d="Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),p="January February March April May June July August September October November December".split(" ");for(u in c={"%a":e=>d[e.S].substring(0,3),"%A":e=>d[e.S],"%b":e=>p[e.Fa].substring(0,3),"%B":e=>p[e.Fa],"%C":e=>a((e.da+1900)/100|0,2),"%d":e=>a(e.Ra,2),"%e":e=>i(e.Ra,2," "),"%g":e=>l(e).toString().substring(2),"%G":l,"%H":e=>a(e.Ea,2),"%I":e=>(0==(e=e.Ea)?e=12:12<e&&(e-=12),a(e,2)),"%j":e=>{for(var t=0,n=0;n<=e.Fa-1;t+=(ni(e.da+1900)?nu:nd)[n++]);return a(e.Ra+t,3)},"%m":e=>a(e.Fa+1,2),"%M":e=>a(e.pc,2),"%n":()=>"\n","%p":e=>0<=e.Ea&&12>e.Ea?"AM":"PM","%S":e=>a(e.qc,2),"%t":()=>" ","%u":e=>e.S||7,"%U":e=>a(Math.floor((e.ca+7-e.S)/7),2),"%V":e=>{var t=Math.floor((e.ca+7-(e.S+6)%7)/7);if(2>=(e.S+371-e.ca-2)%7&&t++,t)53==t&&(4==(n=(e.S+371-e.ca)%7)||3==n&&ni(e.da)||(t=1));else{t=52;var n=(e.S+7-e.ca-1)%7;(4==n||5==n&&ni(e.da%400-1))&&t++}return a(t,2)},"%w":e=>e.S,"%W":e=>a(Math.floor((e.ca+7-(e.S+6)%7)/7),2),"%y":e=>(e.da+1900).toString().substring(2),"%Y":e=>e.da+1900,"%z":e=>{var t=0<=(e=e.oc);return(t?"+":"-")+String("0000"+((e=Math.abs(e)/60)/60*100+e%60)).slice(-4)},"%Z":e=>e.rc,"%%":()=>"%"},n=n.replace(/%%/g,"\0\0"),c)n.includes(u)&&(n=n.replace(RegExp(u,"g"),c[u](r)));return(u=eh(n=n.replace(/\0\0/g,"%"),!1)).length>t?0:(T.set(u,e),u.length-1)};[44].forEach(e=>{eA[e]=new eS(e),eA[e].stack="<generic error, no stack>"}),eE=Array(4096),eV(ev,"/"),eU("/tmp"),eU("/home"),eU("/home/web_user"),eU("/dev"),t={read:()=>0,write:(e,t,n,r)=>r},ew[259]={m:t},ez("/dev/null",259),em(1280,{ib(){e:{if(!eu.length){var e=null;if("undefined"!=typeof window&&"function"==typeof window.prompt&&null!==(e=window.prompt("Input: "))&&(e+="\n"),!e){e=null;break e}eu=eh(e,!0)}e=eu.shift()}return e},Na(e,t){null===t||10===t?(E(ec(e.H,0)),e.H=[]):0!=t&&e.H.push(t)},pa(e){e.H&&0<e.H.length&&(E(ec(e.H,0)),e.H=[])},Yb:()=>({Ac:25856,Cc:5,zc:191,Bc:35387,yc:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}),Zb:()=>0,$b:()=>[24,80]}),em(1536,{Na(e,t){null===t||10===t?(k(ec(e.H,0)),e.H=[]):0!=t&&e.H.push(t)},pa(e){e.H&&0<e.H.length&&(k(ec(e.H,0)),e.H=[])}}),ez("/dev/tty",1280),ez("/dev/tty1",1536),n=new Uint8Array(1024),i=0,eK("random",a=()=>(0===i&&(i=eo(n).byteLength),n[--i])),eK("urandom",a),eU("/dev/shm"),eU("/dev/shm/tmp"),eU("/proc"),o=eU("/proc/self"),eU("/proc/self/fd"),eV({V(){var e=eM(o,"fd",16895,73);return e.j={ka(e,t){var n=eB(+t);return(e={parent:null,V:{mb:"fake"},j:{ma:()=>n.path}}).parent=e}},e}}
182,"/proc/self/fd"),eJ=e.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},e8.push(0,1,void 0,1,null,1,!0,1,!1,1),e.count_emval_handles=()=>e8.length/2-5-e6.length,eQ=e.PureVirtualError=te("PureVirtualError");for(var nh=Array(256),nf=0;256>nf;++nf)nh[nf]=String.fromCharCode(nf);e0=nh,e.getInheritedInstanceCount=()=>Object.keys(ti).length,e.getLiveInheritedInstances=()=>{var e,t=[];for(e in ti)ti.hasOwnProperty(e)&&t.push(ti[e]);return t},e.flushPendingDeletes=tr,e.setDelayFunction=e=>{e1=e,tn.length&&e1&&e1(tr)},e2=e.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},Object.assign(tE.prototype,{isAliasOf:function(e){if(!(this instanceof tE&&e instanceof tE))return!1;var t=this.g.u.i,n=this.g.o;e.g=e.g;var r=e.g.u.i;for(e=e.g.o;t.C;)n=t.na(n),t=t.C;for(;r.C;)e=r.na(e),r=r.C;return t===r&&n===e},clone:function(){if(this.g.o||tC(this),this.g.ia)return this.g.count.value+=1,this;var e=tm,t=Object,n=t.create,r=Object.getPrototypeOf(this),i=this.g;return e=e(n.call(t,r,{g:{value:{count:i.count,fa:i.fa,ia:i.ia,o:i.o,u:i.u,F:i.F,K:i.K}}})),e.g.count.value+=1,e.g.fa=!1,e},delete(){if(this.g.o||tC(this),this.g.fa&&!this.g.ia)throw new eJ("Object already scheduled for deletion");tc(this);var e=this.g;--e.count.value,0===e.count.value&&(e.F?e.K.P(e.F):e.u.i.P(e.o)),this.g.ia||(this.g.F=void 0,this.g.o=void 0)},isDeleted:function(){return!this.g.o},deleteLater:function(){if(this.g.o||tC(this),this.g.fa&&!this.g.ia)throw new eJ("Object already scheduled for deletion");return tn.push(this),1===tn.length&&e1&&e1(tr),this.g.fa=!0,this}}),Object.assign(tI.prototype,{Sb(e){return this.rb&&(e=this.rb(e)),e},bb(e){this.P?.(e)},argPackAdvance:8,readValueFromPointer:tv,fromWireType:function(e){function t(){return this.ta?tf(this.i.N,{u:this.ic,o:n,K:this,F:e}):tf(this.i.N,{u:this,o:e})}var n=this.Sb(e);if(!n)return this.bb(e),null;var r=th(this.i,n);if(void 0!==r)return 0===r.g.count.value?(r.g.o=n,r.g.F=e,r.clone()):(r=r.clone(),this.bb(e),r);if(!(r=tp[r=this.i.Rb(n)]))return t.call(this);r=this.sa?r.Ib:r.pointerType;var i=td(n,this.i,r.i);return null===i?t.call(this):this.ta?tf(r.i.N,{u:r,o:i,K:this,F:e}):tf(r.i.N,{u:r,o:i})}}),tO=e.UnboundTypeError=te("UnboundTypeError");var nm={__syscall_fcntl64:function(e,t,n){e5=n;try{var r=eB(e);switch(t){case 0:var i=ee();if(0>i)break;for(;ej[i];)i++;return function(e,t=-1){return e=eF(e,t),e.m?.Fc?.(e),e}(r,i).X;case 1:case 2:case 13:case 14:return 0;case 3:return r.flags;case 4:return i=ee(),r.flags|=i,0;case 12:return L[(i=ee())+0>>1]=2,0}return -28}catch(e){if(void 0===e3||"ErrnoError"!==e.name)throw e;return-e.aa}},__syscall_ioctl:function(e,t,n){e5=n;try{var r=eB(e);switch(t){case 21509:case 21510:case 21511:case 21512:case 21524:case 21515:return r.s?0:-59;case 21505:if(!r.s)return -59;if(r.s.W.Yb){e=[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var i=ee();P[i>>2]=25856,P[i+4>>2]=5,P[i+8>>2]=191,P[i+12>>2]=35387;for(var a=0;32>a;a++)T[i+a+17]=e[a]||0}return 0;case 21506:case 21507:case 21508:if(!r.s)return -59;if(r.s.W.Zb)for(i=ee(),e=[],a=0;32>a;a++)e.push(T[i+a+17]);return 0;case 21519:if(!r.s)return -59;return P[(i=ee())>>2]=0;case 21520:return r.s?-28:-59;case 21531:if(i=ee(),!r.m.Xb)throw new eS(59);return r.m.Xb(r,t,i);case 21523:if(!r.s)return -59;return r.s.W.$b&&(a=[24,80],L[(i=ee())>>1]=a[0],L[i+2>>1]=a[1]),0;default:return -28}}catch(e){if(void 0===e3||"ErrnoError"!==e.name)throw e;return-e.aa}}
182,__syscall_openat:function(e,t,n,r){e5=r;try{var i=t=t?ec(_,t):"";if("/"===i.charAt(0))t=i;else{var a=-100===e?"/":eB(e).path;if(0==i.length)throw new eS(44);t=en(a+"/"+i)}var o=r?ee():0;return eG(t,n,o).X}catch(e){if(void 0===e3||"ErrnoError"!==e.name)throw e;return-e.aa}},_abort_js:()=>{z("")},_embind_create_inheriting_constructor:(e,t,n)=>{e=tt(e),t=tl(t,"wrapper"),n=e7(n);var r=t.i,i=r.N,a=r.C.N,o=r.C.constructor;return e=e4(e,function(...e){r.C.qb.forEach((function(e){if(this[e]===a[e])throw new eQ(`Pure virtual function ${e} must be implemented in JavaScript`)}).bind(this)),Object.defineProperty(this,"__parent",{value:i}),this.__construct(...e)}),i.__construct=function(...e){if(this===i)throw new eJ("Pass correct 'this' to __construct");e=o.implement(this,...e),tc(e);var t=e.g;if(e.notifyOnDestruction(),t.ia=!0,Object.defineProperties(this,{g:{value:t}}),tm(this),e=ta(r,e=t.o),ti.hasOwnProperty(e))throw new eJ(`Tried to register registered instance: ${e}`);ti[e]=this},i.__destruct=function(){if(this===i)throw new eJ("Pass correct 'this' to __destruct");tc(this);var e=this.g.o;if(e=ta(r,e),ti.hasOwnProperty(e))delete ti[e];else throw new eJ(`Tried to unregister unregistered instance: ${e}`)},e.prototype=Object.create(i),Object.assign(e.prototype,n),e9(e)},_embind_finalize_value_object:e=>{var t=tg[e];delete tg[e];var n=t.Oa,r=t.P,i=t.fb;tw([e],i.map(e=>e.Vb).concat(i.map(e=>e.lc)),e=>{var a={};return i.forEach((t,n)=>{var r=e[n],o=t.Tb,s=t.Ub,l=e[n+i.length],c=t.kc,u=t.mc;a[t.Pb]={read:e=>r.fromWireType(o(s,e)),write:(e,t)=>{var n=[];c(u,e,l.toWireType(n,t)),ty(n)}}}),[{name:t.name,fromWireType:e=>{var t,n={};for(t in a)n[t]=a[t].read(e);return r(e),n},toWireType:(e,t)=>{for(var i in a)if(!(i in t))throw TypeError(`Missing field: "${i}"`);var o=n();for(i in a)a[i].write(o,t[i]);return null!==e&&e.push(r,o),o},argPackAdvance:8,readValueFromPointer:tv,M:r}]})},_embind_register_bigint:()=>{},_embind_register_bool:(e,t,n,r)=>{tj(e,{name:t=tt(t),fromWireType:function(e){return!!e},toWireType:function(e,t){return t?n:r},argPackAdvance:8,readValueFromPointer:function(e){return this.fromWireType(_[e])},M:null})},_embind_register_class:(e,t,n,r,i,a,o,s,l,c,u,d,p)=>{u=tt(u),a=tV(i,a),s&&=tV(o,s),c&&=tV(l,c),p=tV(d,p);var h=tA(u);tS(h,function(){t$(`Cannot construct ${u} due to unbound types`,[r])}),tw([e,t,n],r?[r]:[],t=>{if(t=t[0],r)var n,i=t.i,o=i.N;else o=tE.prototype;var l=Object.create(o,{constructor:{value:t=e4(u,function(...e){if(Object.getPrototypeOf(this)!==l)throw new eJ("Use 'new' to construct "+u);if(void 0===d.$)throw new eJ(u+" has no accessible constructor");var t=d.$[e.length];if(void 0===t)throw new eJ(`Tried to invoke ctor of ${u} with invalid number of parameters (${e.length}) - expected (${Object.keys(d.$).toString()}) parameters instead!`);return t.apply(this,e)})}});t.prototype=l;var d=new tT(u,t,l,p,i,a,s,c);return d.C&&((n=d.C).oa??(n.oa=[]),d.C.oa.push(d)),i=new tI(u,d,!0,!1,!1),n=new tI(u+"*",d,!1,!1,!1),o=new tI(u+" const*",d,!1,!0,!1),tp[e]={pointerType:n,Ib:o},tR(h,t),[i,n,o]})},_embind_register_class_class_function:(e,t,n,r,i,a,o)=>{var s=tW(n,r);t=tG(t=tt(t)),a=tV(i,a),tw([],[e],e=>{function r(){t$(`Cannot call ${i} due to unbound types`,s)}e=e[0];var i=`${e.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]);var l=e.i.constructor;return void 0===l[t]?(r.ea=n-1,l[t]=r):(tk(l,t,i),l[t].A[n-1]=r),tw([],s,r=>{if(r=tU(i,[r[0],null].concat(r.slice(1)),null,a,o),void 0===l[t].A?(r.ea=n-1,l[t]=r):l[t].A[n-1]=r,e.i.oa)for(let n of e.i.oa)n.constructor.hasOwnProperty(t)||(n.constructor[t]=r);return[]}),[]})},_embind_register_class_class_property:(e,t,n,r,i,a,o,s)=>{t=tt(t),a=tV(i,a),tw([],[e],e=>{e=e[0];var i=`${e.name}.${t}`,l={get(){t$(`Cannot access ${i} due to unbound types`,[n])},enumerable:!0,configurable:!0};return l.set=s?()=>{t$(`Cannot access ${i} due to unbound types`,[n])}:()=>{throw new eJ(`${i} is a read-only property`)},Object.defineProperty(e.i.constructor,t,l),tw([],[n],n=>{n=n[0];var i={get:()=>n.fromWireType(a(r)),enumerable:!0};return s&&(s=tV(o,s),i.set=e=>{var t=[];s(r,n.toWireType(t,e)),ty(t)}),Object.defineProperty(e.i.constructor,t,i),[]}),[]})},_embind_register_class_constructor:(e,t,n,r,i,a)=>{var o=tW(t,n);i=tV(r,i),tw([],[e],e=>{e=e[0];var n=`constructor ${e.name}`;if(void 0===e.i.$&&(e.i.$=[]),void 0!==e.i.$[t-1])throw new eJ(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${e.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return e.i.$[t-1]=()=>{t$(`Cannot construct ${e.name} due to unbound types`,o)},tw([],o,r=>(r.splice(1,0,null),e.i.$[t-1]=tU(n,r,null,i,a),[])),[]})},_embind_register_class_function:(e,t,n,r,i,a,o,s)=>{var l=tW(n,r);t=tG(t=tt(t)),a=tV(i,a),tw([],[e],e=>{function r(){t$(`Cannot call ${i} due to unbound types`,l)}e=e[0];var i=`${e.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),s&&e.i.qb.push(t);var c=e.i.N,u=c[t];return void 0===u||void 0===u.A&&u.className!==e.name&&u.ea===n-2?(r.ea=n-2,r.className=e.n
182ame,c[t]=r):(tk(c,t,i),c[t].A[n-2]=r),tw([],l,r=>(r=tU(i,r,e,a,o),void 0===c[t].A?(r.ea=n-2,c[t]=r):c[t].A[n-2]=r,[])),[]})},_embind_register_class_property:(e,t,n,r,i,a,o,s,l,c)=>{t=tt(t),i=tV(r,i),tw([],[e],e=>{e=e[0];var r=`${e.name}.${t}`,u={get(){t$(`Cannot access ${r} due to unbound types`,[n,o])},enumerable:!0,configurable:!0};return u.set=l?()=>t$(`Cannot access ${r} due to unbound types`,[n,o]):()=>{throw new eJ(r+" is a read-only property")},Object.defineProperty(e.i.N,t,u),tw([],l?[n,o]:[n],n=>{var o=n[0],u={get(){var t=tq(this,e,r+" getter");return o.fromWireType(i(a,t))},enumerable:!0};if(l){l=tV(s,l);var d=n[1];u.set=function(t){var n=tq(this,e,r+" setter"),i=[];l(c,n,d.toWireType(i,t)),ty(i)}}return Object.defineProperty(e.i.N,t,u),[]}),[]})},_embind_register_emval:e=>tj(e,tY),_embind_register_enum:(e,t,n,r)=>{function i(){}t=tt(t),i.values={},tj(e,{name:t,constructor:i,fromWireType:function(e){return this.constructor.values[e]},toWireType:(e,t)=>t.value,argPackAdvance:8,readValueFromPointer:tX(t,n,r),M:null}),tS(t,i)},_embind_register_enum_value:(e,t,n)=>{var r=tl(e,"enum");t=tt(t),e=r.constructor,r=Object.create(r.constructor.prototype,{value:{value:n},constructor:{value:e4(`${r.name}_${t}`,function(){})}}),e.values[n]=r,e[t]=r},_embind_register_float:(e,t,n)=>{tj(e,{name:t=tt(t),fromWireType:e=>e,toWireType:(e,t)=>t,argPackAdvance:8,readValueFromPointer:tJ(t,n),M:null})},_embind_register_function:(e,t,n,r,i,a)=>{var o=tW(t,n);e=tG(e=tt(e)),i=tV(r,i),tS(e,function(){t$(`Cannot call ${e} due to unbound types`,o)},t-1),tw([],o,n=>(tR(e,tU(e,[n[0],null].concat(n.slice(1)),null,i,a),t-1),[]))},_embind_register_integer:(e,t,n,r,i)=>{if(t=tt(t),-1===i&&(i=4294967295),i=e=>e,0===r){var a=32-8*n;i=e=>e<<a>>>a}var o=t.includes("unsigned")?function(e,t){return t>>>0}:function(e,t){return t};tj(e,{name:t,fromWireType:i,toWireType:o,argPackAdvance:8,readValueFromPointer:tQ(t,n,0!==r),M:null})},_embind_register_memory_view:(e,t,n)=>{function r(e){return new i(T.buffer,I[e+4>>2],I[e>>2])}var i=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array][t];tj(e,{name:n=tt(n),fromWireType:r,argPackAdvance:8,readValueFromPointer:r},{Wb:!0})},_embind_register_std_string:(e,t)=>{var n="std::string"===(t=tt(t));tj(e,{name:t,fromWireType:function(e){var t=I[e>>2],r=e+4;if(n)for(var i=r,a=0;a<=t;++a){var o=r+a;if(a==t||0==_[o]){if(i=i?ec(_,i,o-i):"",void 0===s)var s=i;else s+="\0"+i;i=o+1}}else{for(a=0,s=Array(t);a<t;++a)s[a]=String.fromCharCode(_[r+a]);s=s.join("")}return ny(e),s},toWireType:function(e,t){t instanceof ArrayBuffer&&(t=new Uint8Array(t));var r="string"==typeof t;if(!(r||t instanceof Uint8Array||t instanceof Uint8ClampedArray||t instanceof Int8Array))throw new eJ("Cannot pass non-string to std::string");var i=n&&r?ed(t):t.length,a=nv(4+i+1),o=a+4;if(I[a>>2]=i,n&&r)ep(t,_,o,i+1);else if(r)for(r=0;r<i;++r){var s=t.charCodeAt(r);if(255<s)throw ny(o),new eJ("String has UTF-16 code units that do not fit in 8 bits");_[o+r]=s}else for(r=0;r<i;++r)_[o+r]=t[r];return null!==e&&e.push(ny,a),a},argPackAdvance:8,readValueFromPointer:tv,M(e){ny(e)}})},_embind_register_std_wstring:(e,t,n)=>{if(n=tt(n),2===t)var r=t1,i=t2,a=t3,o=e=>N[e>>1];else 4===t&&(r=t5,i=t4,a=t6,o=e=>I[e>>2]);tj(e,{name:n,fromWireType:e=>{for(var n,i=I[e>>2],a=e+4,s=0;s<=i;++s){var l=e+4+s*t;(s==i||0==o(l))&&(a=r(a,l-a),void 0===n?n=a:n+="\0"+a,a=l+t)}return ny(e),n},toWireType:(e,r)=>{if("string"!=typeof r)throw new eJ(`Cannot pass non-string to C++ string type ${n}`);var o=a(r),s=nv(4+o+t);return I[s>>2]=o/t,i(r,s+4,o+t),null!==e&&e.push(ny,s),s},argPackAdvance:8,readValueFromPointer:tv,M(e){ny(e)}})},_embind_register_value_object:(e,t,n,r,i,a)=>{tg[e]={name:tt(t),Oa:tV(n,r),P:tV(i,a),fb:[]}},_embind_register_value_object_field:(e,t,n,r,i,a,o,s,l,c)=>{tg[e].fb.push({Pb:tt(t),Vb:n,Tb:tV(r,i),Ub:a,lc:o,kc:tV(s,l),mc:c})},_embind_register_void:(e,t)=>{tj(e,{Jc:!0,name:t=tt(t),argPackAdvance:0,fromWireType:()=>{},toWireType:()=>{}})},_emscripten_get_now_is_monotonic:()=>1,_emscripten_memcpy_js:(e,t,n)=>_.copyWithin(e,t,t+n),_emscripten_throw_longjmp:()=>{throw 1/0},_emval_as:(e,t,n)=>(e=e7(e),t8(t=tl(t,"emval::as"),n,e)),_emval_call_method:(e,t,n,r,i)=>(e=ne[e])(t=e7(t),t[n=t9(n)],r,i),_emval_decref:tK,_emval_get_method_caller:(e,t,n)=>{var r=nn(e,t),i=r.shift(),a=Array(--e);return nt(e4(t=`methodCaller<(${r.map(e=>e.name).join(", ")}) => ${i.name}>`,(t,o,s,l)=>{for(var c=0,u=0;u<e;++u)a[u]=r[u].readValueFromPointer(l+c),c+=r[u].argPackAdvance;return t8(i,s,t=1===n?nr(o,a):o.apply(t,a))}))},_emval_get_module_property:t=>e9(e[t=t9(t)]),_emval_get_property:(e,t)=>e9((e=e7(e))[t=e7(t)]),_emval_incref:e=>{9<e&&(e8[e+1]+=1)},_emval_new_array:()=>e9([]),_emval_new_cstring:e=>e9(t9(e)),_emval_new_object:()=>e9({}),_emval_run_destructors:e=>{ty(e7(e)),tK(e)},_emval_set_property:(e,t,n)=>{e=e7(e),t=e7(t),n=e7(n),e[t]=n},_emval_take_value:(e,t)=>
182e9(e=(e=tl(e,"_emval_take_value")).readValueFromPointer(t)),_gmtime_js:function(e,t,n){e=new Date(1e3*(t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN)),P[n>>2]=e.getUTCSeconds(),P[n+4>>2]=e.getUTCMinutes(),P[n+8>>2]=e.getUTCHours(),P[n+12>>2]=e.getUTCDate(),P[n+16>>2]=e.getUTCMonth(),P[n+20>>2]=e.getUTCFullYear()-1900,P[n+24>>2]=e.getUTCDay(),P[n+28>>2]=(e.getTime()-Date.UTC(e.getUTCFullYear(),0,1,0,0,0,0))/864e5|0},_localtime_js:function(e,t,n){e=new Date(1e3*(t+2097152>>>0<4194305-!!e?(e>>>0)+4294967296*t:NaN)),P[n>>2]=e.getSeconds(),P[n+4>>2]=e.getMinutes(),P[n+8>>2]=e.getHours(),P[n+12>>2]=e.getDate(),P[n+16>>2]=e.getMonth(),P[n+20>>2]=e.getFullYear()-1900,P[n+24>>2]=e.getDay(),P[n+28>>2]=(ni(e.getFullYear())?na:no)[e.getMonth()]+e.getDate()-1|0,P[n+36>>2]=-(60*e.getTimezoneOffset()),t=new Date(e.getFullYear(),6,1).getTimezoneOffset();var r=new Date(e.getFullYear(),0,1).getTimezoneOffset();P[n+32>>2]=0|(t!=r&&e.getTimezoneOffset()==Math.min(r,t))},_tzset_js:(e,t,n,r)=>{var i=new Date().getFullYear(),a=new Date(i,0,1),o=new Date(i,6,1);i=a.getTimezoneOffset();var s=o.getTimezoneOffset();I[e>>2]=60*Math.max(i,s),P[t>>2]=Number(i!=s),a=(e=e=>e.toLocaleTimeString(void 0,{hour12:!1,timeZoneName:"short"}).split(" ")[1])(a),o=e(o),s<i?(ep(a,_,n,17),ep(o,_,r,17)):(ep(a,_,r,17),ep(o,_,n,17))},emscripten_asm_const_int:(e,t,n)=>{ns.length=0;for(var r;r=_[t++];){var i=105!=r;i&=112!=r,n+=i&&n%8?4:0,ns.push(112==r?I[n>>2]:105==r?P[n>>2]:O[n>>3]),n+=i?8:4}return J[e](...ns)},emscripten_date_now:()=>Date.now(),emscripten_get_now:()=>performance.now(),emscripten_resize_heap:e=>{var t=_.length;if(2147483648<(e>>>=0))return!1;for(var n=1;4>=n;n*=2){var r=t*(1+.2/n);r=Math.min(r,e+100663296);var i=Math;r=Math.max(e,r);e:{i=(i.min.call(i,2147483648,r+(65536-r%65536)%65536)-A.buffer.byteLength+65535)/65536;try{A.grow(i),D();var a=1;break e}catch(e){}a=void 0}if(a)return!0}return!1},environ_get:(e,t)=>{var n=0;return nc().forEach((r,i)=>{var a=t+n;for(i=I[e+4*i>>2]=a,a=0;a<r.length;++a)T[i++]=r.charCodeAt(a);T[i]=0,n+=r.length+1}),0},environ_sizes_get:(e,t)=>{var n=nc();I[e>>2]=n.length;var r=0;return n.forEach(e=>r+=e.length+1),I[t>>2]=r,0},fd_close:function(e){try{var t=eB(e);if(null===t.X)throw new eS(8);t.La&&(t.La=null);try{t.m.close&&t.m.close(t)}catch(e){throw e}finally{ej[t.X]=null}return t.X=null,0}catch(e){if(void 0===e3||"ErrnoError"!==e.name)throw e;return e.aa}},fd_read:function(e,t,n,r){try{e:{var i=eB(e);e=t;for(var a,o=t=0;o<n;o++){var s=I[e>>2],l=I[e+4>>2];e+=8;var c=a,u=T;if(0>l||0>c)throw new eS(28);if(null===i.X||1==(2097155&i.flags))throw new eS(8);if(16384==(61440&i.node.mode))throw new eS(31);if(!i.m.read)throw new eS(28);var d=void 0!==c;if(d){if(!i.seekable)throw new eS(70)}else c=i.position;var p=i.m.read(i,u,s,l,c);if(d||(i.position+=p),0>p){var h=-1;break e}if(t+=p,p<l)break;void 0!==a&&(a+=p)}h=t}return I[r>>2]=h,0}catch(e){if(void 0===e3||"ErrnoError"!==e.name)throw e;return e.aa}},fd_seek:function(e,t,n,r,i){t=n+2097152>>>0<4194305-!!t?(t>>>0)+4294967296*n:NaN;try{if(isNaN(t))return 61;var a=eB(e);return eq(a,t,r),Z=[a.position>>>0,(X=a.position,1<=+Math.abs(X)?0<X?+Math.floor(X/4294967296)>>>0:~~+Math.ceil((X-+(~~X>>>0))/4294967296)>>>0:0)],P[i>>2]=Z[0],P[i+4>>2]=Z[1],a.La&&0===t&&0===r&&(a.La=null),0}catch(e){if(void 0===e3||"ErrnoError"!==e.name)throw e;return e.aa}},fd_write:function(e,t,n,r){try{e:{var i=eB(e);e=t;for(var a,o=t=0;o<n;o++){var s=I[e>>2],l=I[e+4>>2];e+=8;var c=a,u=T;if(0>l||0>c)throw new eS(28);if(null===i.X||0==(2097155&i.flags))throw new eS(8);if(16384==(61440&i.node.mode))throw new eS(31);if(!i.m.write)throw new eS(28);i.seekable&&1024&i.flags&&eq(i,0,2);var d=void 0!==c;if(d){if(!i.seekable)throw new eS(70)}else c=i.position;var p=i.m.write(i,u,s,l,c,void 0);if(d||(i.position+=p),0>p){var h=-1;break e}t+=p,void 0!==a&&(a+=p)}h=t}return I[r>>2]=h,0}catch(e){if(void 0===e3||"ErrnoError"!==e.name)throw e;return e.aa}},invoke_vii:function(e,t,n){var r=nk();try{tB(e)(t,n)}catch(e){if(nE(r),e!==e+0)throw e;nC(1,0)}},isWindowsBrowser:function(){return -1<navigator.platform.indexOf("Win")},strftime:np,strftime_l:(e,t,n,r)=>np(e,t,n,r)},ng=function(){function t(t){return A=(ng=t.exports).memory,D(),tM=ng.__indirect_function_table,F.unshift(ng.__wasm_call_ctors),V--,e.monitorRunDependencies?.(V),0==V&&(null!==$&&(clearInterval($),$=null),U&&(t=U,U=null,t())),ng}var n,r={env:nm,wasi_snapshot_preview1:nm};if(V++,e.monitorRunDependencies?.(V),e.instantiateWasm)try{return e.instantiateWasm(r,t)}catch(e){k(`Module.instantiateWasm callback failed with error: ${e}`),c(e)}return W||=G("canvas_advanced.wasm")?"canvas_advanced.wasm":e.locateFile?e.locateFile("canvas_advanced.wasm",C):C+"canvas_advanced.wasm",(n=function(e){t(e.instance)},S||"function"!=typeof WebAssembly.instantiateStreaming||G(W)||q(W)||"function"!=typeof fetch?Y(W,r,n):fetch(W,{credentials:"same-origin"}).then(e=>WebAssembly.instantiateStreaming(e,r).then(n,function(e){return k(`wasm streaming compile failed: ${e}`),k("falling back to ArrayBuffer instantiation"),Y(W,r,n)}))).catch(c),{}}(),ny=e=>(ny=ng.free)(e),nv=e=>(nv=ng.malloc)(e),nb=e=>(nb=ng.__getTypeName)(e),nx=e._ma_device__on_notification_unlocked=t=>(nx=e._ma_device__on_notification_unlocked=ng.ma_device__on_notification_unlocked)(t);e._ma_malloc_emscripten=(t,n)=>(e._ma_malloc_emscripten=ng.ma_malloc_emscripten)(t,n),e._ma_free_emscripten=(t,n)=>(e._ma_free_emscripten=ng.ma_free_emscripten)(t,n);var nw=e._ma_device_process_pcm_frames_capture__webaudio=(t,n,r)=>(nw=e._ma_device_process_pcm_frames_capture__webaudio=ng.ma_device_process_pcm_frames_capture__webaudio)(t,n,r),nj=e._ma_device_process_pcm_frames_playback__webaudio=(t,n,r)=>(nj=e._ma_device_process_pcm_frames_playback__webaudio=ng.ma_device_process_pcm_frames_playback__webaudio)(t,n,r),nC=(e,t)=>(nC=ng.setThrew)(e,t),nE=e=>(nE=ng._emscripten_stack_restore)(e),nk=()=>(nk=ng.emscripten_stack_get_current)();function nS(){function t(){if(!s&&(s=!0,e.calledRun=!0,!R)){if(e.noFSInit||eY||(eY=!0,e.stdin=e.stdin,e.stdout=e.stdout,e.stderr=e.stderr,e.stdin?eK("stdin",e.stdin):eW("/dev/tty","/dev/stdin"),e.stdout?eK("stdout",null,e.stdout):eW("/dev/tty","/dev/stdout"),e.stderr?eK("stderr",null,e.stderr):eW("/dev/tty1","/dev/stderr"),eG("/dev/stdin",0),eG("/dev/stdout",1),eG("/dev/stderr",1)),ek=!1,Q(F),l(e),e.onRuntimeInitialized&&e.onRuntimeInitialized(),e.postRun)for("function"==typeof e.postRun&&(e.postRun=[e.postRun]);e.postRun.length;){var t=e.postRun.shift();H.unshift(t)}Q(H)}}
182if(!(0<V)){if(e.preRun)for("function"==typeof e.preRun&&(e.preRun=[e.preRun]);e.preRun.length;)!function(){var t=e.preRun.shift();B.unshift(t)}();Q(B),0<V||(e.setStatus?(e.setStatus("Running..."),setTimeout(function(){setTimeout(function(){e.setStatus("")},1),t()},1)):t())}}if(e.dynCall_iiji=(t,n,r,i,a)=>(e.dynCall_iiji=ng.dynCall_iiji)(t,n,r,i,a),e.dynCall_jiji=(t,n,r,i,a)=>(e.dynCall_jiji=ng.dynCall_jiji)(t,n,r,i,a),e.dynCall_iiiji=(t,n,r,i,a,o)=>(e.dynCall_iiiji=ng.dynCall_iiiji)(t,n,r,i,a,o),e.dynCall_iij=(t,n,r,i)=>(e.dynCall_iij=ng.dynCall_iij)(t,n,r,i),e.dynCall_jii=(t,n,r)=>(e.dynCall_jii=ng.dynCall_jii)(t,n,r),e.dynCall_viijii=(t,n,r,i,a,o,s)=>(e.dynCall_viijii=ng.dynCall_viijii)(t,n,r,i,a,o,s),e.dynCall_iiiiij=(t,n,r,i,a,o,s)=>(e.dynCall_iiiiij=ng.dynCall_iiiiij)(t,n,r,i,a,o,s),e.dynCall_iiiiijj=(t,n,r,i,a,o,s,l,c)=>(e.dynCall_iiiiijj=ng.dynCall_iiiiijj)(t,n,r,i,a,o,s,l,c),e.dynCall_iiiiiijj=(t,n,r,i,a,o,s,l,c,u)=>(e.dynCall_iiiiiijj=ng.dynCall_iiiiiijj)(t,n,r,i,a,o,s,l,c,u),U=function e(){s||nS(),s||(U=e)},e.preInit)for("function"==typeof e.preInit&&(e.preInit=[e.preInit]);0<e.preInit.length;)e.preInit.pop()();return nS(),u})},e=>{e.exports=JSON.parse('{"name":"@rive-app/canvas","version":"2.35.0","description":"Rive\'s canvas based web api.","main":"rive.js","homepage":"https://rive.app","repository":{"type":"git","url":"https://github.com/rive-app/rive-wasm/tree/master/js"},"keywords":["rive","animation"],"author":"Rive","contributors":["Luigi Rosso <[email protected]> (https://rive.app)","Maxwell Talbot <[email protected]> (https://rive.app)","Arthur Vivian <[email protected]> (https://rive.app)","Umberto Sonnino <[email protected]> (https://rive.app)","Matthew Sullivan <[email protected]> (mailto:[email protected])"],"license":"MIT","files":["rive.js","rive.js.map","rive.wasm","rive_fallback.wasm","rive.d.ts","rive_advanced.mjs.d.ts"],"typings":"rive.d.ts","dependencies":{},"browser":{"fs":false,"path":false}}')},(e,t,n)=>{n.r(t),n.d(t,{Animation:()=>r.Animation});var r=n(4)},(e,t,n)=>{n.r(t),n.d(t,{Animation:()=>r});var r=function(){function e(e,t,n,r){this.animation=e,this.artboard=t,this.playing=r,this.loopCount=0,this.scrubTo=null,this.instance=new n.LinearAnimationInstance(e,t)}return Object.defineProperty(e.prototype,"name",{get:function(){return this.animation.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){return this.instance.time},set:function(e){this.instance.time=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"loopValue",{get:function(){return this.animation.loopValue},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"needsScrub",{get:function(){return null!==this.scrubTo},enumerable:!1,configurable:!0}),e.prototype.advance=function(e){null===this.scrubTo?this.instance.advance(e):(this.instance.time=0,this.instance.advance(this.scrubTo),this.scrubTo=null)},e.prototype.apply=function(e){this.instance.apply(e)},e.prototype.cleanup=function(){this.instance.delete()},e}()},(e,t,n)=>{n.r(t),n.d(t,{AudioAssetWrapper:()=>a.AudioAssetWrapper,AudioWrapper:()=>a.AudioWrapper,BLANK_URL:()=>i.BLANK_URL,CustomFileAssetLoaderWrapper:()=>a.CustomFileAssetLoaderWrapper,FileAssetWrapper:()=>a.FileAssetWrapper,FileFinalizer:()=>a.FileFinalizer,FontAssetWrapper:()=>a.FontAssetWrapper,FontWrapper:()=>a.FontWrapper,ImageAssetWrapper:()=>a.ImageAssetWrapper,ImageWrapper:()=>a.ImageWrapper,createFinalization:()=>a.createFinalization,finalizationRegistry:()=>a.finalizationRegistry,registerTouchInteractions:()=>r.registerTouchInteractions,sanitizeUrl:()=>i.sanitizeUrl});var r=n(6),i=n(7),a=n(8)},(e,t,n)=>{n.r(t),n.d(t,{registerTouchInteractions:()=>a});var r=void 0,i=function(e,t,n){var r,i,a=[];if(["touchstart","touchmove"].indexOf(e.type)>-1&&(null===(r=e.changedTouches)||void 0===r?void 0:r.length)){t||e.preventDefault();for(var o=0,s=n?e.changedTouches.length:1;o<s;){var l=e.changedTouches[o];a.push({clientX:l.clientX,clientY:l.clientY,identifier:l.identifier}),o++}}else if("touchend"===e.type&&(null===(i=e.changedTouches)||void 0===i?void 0:i.length))for(var o=0,s=n?e.changedTouches.length:1;o<s;){var l=e.changedTouches[o];a.push({clientX:l.clientX,clientY:l.clientY,identifier:l.identifier}),o++}else a.push({clientX:e.clientX,clientY:e.clientY,identifier:0});return a},a=function(e){var t=e.canvas,n=e.artboard,a=e.stateMachines,o=void 0===a?[]:a,s=e.renderer,l=e.rive,c=e.fit,u=e.alignment,d=e.isTouchScrollEnabled,p=void 0!==d&&d,h=e.dispatchPointerExit,f=void 0===h||h,m=e.enableMultiTouch,g=void 0!==m&&m,y=e.layoutScaleFactor,v=void 0===y?1:y;if(!t||!o.length||!s||!l||!n||"undefined"==typeof window)return null;var b=null,x=!1,w=(function(e){if(x&&e instanceof MouseEvent){"mouseup"==e.type&&(x=!1);return}x=p&&"touchend"===e.type&&"touchstart"===b,b=e.type;var t=e.currentTarget.getBoundingClientRect(),r=i(e,p,g),a=l.computeAlignment(c,u,{minX:0,minY:0,maxX:t.width,maxY:t.height},n.bounds,v),s=new l.Mat2D;switch(a.invert(s),r.forEach(function(e){var n=e.clientX,r=e.clientY;if(n||r){var i=n-t.left,a=r-t.top,o=new l.Vec2D(i,a),c=l.mapXY(s,o),u=c.x(),d=c.y();e.transformedX=u,e.transformedY=d,c.delete(),o.delete()}}),s.delete(),a.delete(),e.type){case"mouseout":for(var d=function(e){f?r.forEach(function(t){e.pointerExit(t.transformedX,t.transformedY,t.identifier)}):r.forEach(function(t){e.pointerMove(t.transformedX,t.transformedY,t.identifier)})},h=0;h<o.length;h++){var m=o[h];d(m)}break;case"touchmove":case"mouseover":case"mousemove":for(var y=function(e){r.forEach(function(t){e.pointerMove(t.transformedX,t.transformedY,t.identifier)})},w=0;w<o.length;w++){var m=o[w];y(m)}break;case"touchstart":case"mousedown":for(var j=function(e){r.forEach(function(t){e.pointerDown(t.transformedX,t.transformedY,t.identifier)})},C=0;C<o.length;C++){var m=o[C];j(m)}break;case"touchend":for(var E=function(e){r.forEach(function(t){e.pointerUp(t.transformedX,t.transformedY,t.identifier),e.pointerExit(t.transformedX,t.transformedY,t.identifier)})},k=0;k<o.length;k++){var m=o[k];E(m)}break;case"mouseup":for(var S=function(e){r.forEach(function(t){e.pointerUp(t.transformedX,t.transformedY,t.identifier)})},A=0;A<o.length;A++){var m=o[A];S(m)}}}).bind(r);return t.addEventListener("mouseover",w),t.addEventListener("mouseout",w),t.addEventListener("mousemove",w),t.addEventListener("mousedown",w),t.addEventListener("mouseup",w),t.addEventListener("touchmove",w,{passive:p}),t.addEventListener("touchstart",w,{passive:p}),t.addEventListener("touchend",w),function(){t.removeEventListener("mouseover",w),t.removeEventListener("mouseout",w),t.removeEventListener("mousemove",w),t.removeEventListener("mousedown",w),t.removeEventListener("mouseup",w),t.removeEventListener("touchmove",w),t.removeEventListener("touchstart",w),t.removeEventListener("touchend",w)}}},(e,t,n)=>{n.r(t),n.d(t,{BLANK_URL:()=>c,sanitizeUrl:()=>u});var r=/^([^\w]*)(javascript|data|vbscript)/im,i=/&#(\w+)(^\w|;)?/g,a=/&(newline|tab);/gi,o=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,s=/^.+(:|:)/gim,l=[".","/"],c="about:blank";function u(e){if(!e)return c;var t=e.replace(o,"").replace(i,function(e,t){return String.fromCharCode(t)}).replace(a,"").replace(o,"").trim();if(!t)return c;if(l.indexOf(t[0])>-1)return t;var n=t.match(s);if(!n)return t;var u=n[0];return r.test(u)?c:t}},(e,t,n)=>{n.r(t),n.d(t,{AudioAssetWrapper:()=>f,AudioWrapper:()=>c,CustomFileAssetLoaderWrapper:()=>d,FileAssetWrapper:()=>p,FileFinalizer:()=>a,FontAssetWrapper:()=>m,FontWrapper:()=>u,ImageAssetWrapper:()=>h,ImageWrapper:()=>l,createFinalization:()=>v,finalizationRegistry:()=>y});var r,i=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}
182)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),a=function(){function e(e){this.selfUnref=!1,this._file=e}return e.prototype.unref=function(){this._file&&this._file.unref()},e}(),o=function(){function e(e){this._finalizableObject=e}return e.prototype.unref=function(){this._finalizableObject.unref()},e}(),s=function(){function e(){this.selfUnref=!1}return e.prototype.unref=function(){},e}(),l=function(e){function t(t){var n=e.call(this)||this;return n._nativeImage=t,n}return i(t,e),Object.defineProperty(t.prototype,"nativeImage",{get:function(){return this._nativeImage},enumerable:!1,configurable:!0}),t.prototype.unref=function(){this.selfUnref&&this._nativeImage.unref()},t}(s),c=function(e){function t(t){var n=e.call(this)||this;return n._nativeAudio=t,n}return i(t,e),Object.defineProperty(t.prototype,"nativeAudio",{get:function(){return this._nativeAudio},enumerable:!1,configurable:!0}),t.prototype.unref=function(){this.selfUnref&&this._nativeAudio.unref()},t}(s),u=function(e){function t(t){var n=e.call(this)||this;return n._nativeFont=t,n}return i(t,e),Object.defineProperty(t.prototype,"nativeFont",{get:function(){return this._nativeFont},enumerable:!1,configurable:!0}),t.prototype.unref=function(){this.selfUnref&&this._nativeFont.unref()},t}(s),d=function(){function e(e,t){this._assetLoaderCallback=t,this.assetLoader=new e.CustomFileAssetLoader({loadContents:this.loadContents.bind(this)})}return e.prototype.loadContents=function(e,t){var n;return e.isImage?n=new h(e):e.isAudio?n=new f(e):e.isFont&&(n=new m(e)),this._assetLoaderCallback(n,t)},e}(),p=function(){function e(e){this._nativeFileAsset=e}return e.prototype.decode=function(e){this._nativeFileAsset.decode(e)},Object.defineProperty(e.prototype,"name",{get:function(){return this._nativeFileAsset.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fileExtension",{get:function(){return this._nativeFileAsset.fileExtension},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"uniqueFilename",{get:function(){return this._nativeFileAsset.uniqueFilename},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isAudio",{get:function(){return this._nativeFileAsset.isAudio},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isImage",{get:function(){return this._nativeFileAsset.isImage},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isFont",{get:function(){return this._nativeFileAsset.isFont},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"cdnUuid",{get:function(){return this._nativeFileAsset.cdnUuid},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nativeFileAsset",{get:function(){return this._nativeFileAsset},enumerable:!1,configurable:!0}),e}(),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setRenderImage=function(e){this._nativeFileAsset.setRenderImage(e.nativeImage)},t}(p),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setAudioSource=function(e){this._nativeFileAsset.setAudioSource(e.nativeAudio)},t}(p),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.setFont=function(e){this._nativeFileAsset.setFont(e.nativeFont)},t}(p),g=function(){function e(e){}return e.prototype.register=function(e){e.selfUnref=!0},e.prototype.unregister=function(e){},e}(),y=new("undefined"!=typeof FinalizationRegistry?FinalizationRegistry:g)(function(e){null==e||e.unref()}),v=function(e,t){var n=new o(t);y.register(e,n)}}],ed={};function ep(e){var t=ed[e];if(void 0!==t)return t.exports;var n=ed[e]={exports:{}};return eu[e](n,n.exports,ep),n.exports}ep.d=(e,t)=>{for(var n in t)ep.o(t,n)&&!ep.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},ep.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),ep.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}
182),Object.defineProperty(e,"__esModule",{value:!0})};var eh={};return ep.r(eh),ep.d(eh,{Alignment:()=>t,DataEnum:()=>W,DrawOptimizationOptions:()=>n,EventType:()=>a,Fit:()=>e,Layout:()=>C,LoopType:()=>o,Rive:()=>U,RiveEventType:()=>i,RiveFile:()=>$,RuntimeLoader:()=>E,StateMachineInput:()=>S,StateMachineInputType:()=>r,Testing:()=>eo,ViewModel:()=>z,ViewModelInstance:()=>q,ViewModelInstanceArtboard:()=>er,ViewModelInstanceAssetImage:()=>en,ViewModelInstanceBoolean:()=>Z,ViewModelInstanceColor:()=>et,ViewModelInstanceEnum:()=>Q,ViewModelInstanceList:()=>ee,ViewModelInstanceNumber:()=>X,ViewModelInstanceString:()=>Y,ViewModelInstanceTrigger:()=>J,ViewModelInstanceValue:()=>K,decodeAudio:()=>es,decodeFont:()=>ec,decodeImage:()=>el}),c=ep(1),u=ep(2),d=ep(3),p=ep(5),h=function(e,t){return(h=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},f=function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},m=function(){return(m=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},g=function(e,t,n,r){return new(n||(n=Promise))(function(i,a){function o(e){try{l(r.next(e))}catch(e){a(e)}}function s(e){try{l(r.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(o,s)}l((r=r.apply(e,t||[])).next())})},y=function(e,t){var n,r,i,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},o=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return o.next=s(0),o.throw=s(1),o.return=s(2),"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(s){return function(l){return function(s){if(n)throw TypeError("Generator is already executing.");for(;o&&(o=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(i=2&s[0]?r.return:s[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;switch(r=0,i&&(s=[2&s[0],i.value]),s[0]){case 0:case 1:i=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]<i[3])){a.label=s[1];break}if(6===s[0]&&a.label<i[1]){a.label=i[1],i=s;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(s);break}i[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=i=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},v=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},b=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isHandledError=!0,t}return f(t,e),t}(Error),(x=e||(e={})).Cover="cover",x.Contain="contain",x.Fill="fill",x.FitWidth="fitWidth",x.FitHeight="fitHeight",x.None="none",x.ScaleDown="scaleDown",x.Layout="layout",(w=t||(t={})).Center="center",w.TopLeft="topLeft",w.TopCenter="topCenter",w.TopRight="topRight",w.CenterLeft="centerLeft",w.CenterRight="centerRight",w.BottomLeft="bottomLeft",w.BottomCenter="bottomCenter",w.BottomRight="bottomRight",(j=n||(n={})).AlwaysDraw="alwaysDraw",j.DrawOnChanged="drawOnChanged",C=function(){function n(n){var r,i,a,o,s,l,c;this.fit=null!==(r=null==n?void 0:n.fit)&&void 0!==r?r:e.Contain,this.alignment=null!==(i=null==n?void 0:n.alignment)&&void 0!==i?i:t.Center,this.layoutScaleFactor=null!==(a=null==n?void 0:n.layoutScaleFactor)&&void 0!==a?a:1,this.minX=null!==(o=null==n?void 0:n.minX)&&void 0!==o?o:0,this.minY=null!==(s=null==n?void 0:n.minY)&&void 0!==s?s:0,this.maxX=null!==(l=null==n?void 0:n.maxX)&&void 0!==l?l:0,this.maxY=null!==(c=null==n?void 0:n.maxY)&&void 0!==c?c:0}return n.new=function(e){var t=e.fit,r=e.alignment,i=e.minX,a=e.minY,o=e.maxX,s=e.maxY;return console.warn("This function is deprecated: please use `new Layout({})` instead"),new n({fit:t,alignment:r,minX:i,minY:a,maxX:o,maxY:s})},n.prototype.copyWith=function(e){var t=e.fit,r=e.alignment,i=e.layoutScaleFactor,a=e.minX,o=e.minY,s=e.maxX,l=e.maxY;return new n({fit:null!=t?t:this.fit,alignment:null!=r?r:this.alignment,layoutScaleFactor:null!=i?i:this.layoutScaleFactor,minX:null!=a?a:this.minX,minY:null!=o?o:this.minY,maxX:null!=s?s:this.maxX,maxY:null!=l?l:this.maxY})},n.prototype.runtimeFit=function(t){var n;return this.cachedRuntimeFit?this.cachedRuntimeFit:(n=this.fit===e.Cover?t.Fit.cover:this.fit===e.Contain?t.Fit.contain:this.fit===e.Fill?t.Fit.fill:this.fit===e.FitWidth?t.Fit.fitWidth:this.fit===e.FitHeight?t.Fit.fitHeight:this.fit===e.ScaleDown?t.Fit.scaleDown:this.fit===e.Layout?t.Fit.layout:t.Fit.none,this.cachedRuntimeFit=n,n)},n.prototype.runtimeAlignment=function(e){var n;return this.cachedRuntimeAlignment?this.cachedRuntimeAlignment:(n=this.alignment===t.TopLeft?e.Alignment.topLeft:this.alignment===t.TopCenter?e.Alignment.topCenter:this.alignment===t.TopRight?e.Alignment.topRight:this.alignment===t.CenterLeft?e.Alignment.centerLeft:this.alignment===t.CenterRight?e.Alignment.centerRight:this.alignment===t.BottomLeft?e.Alignment.bottomLeft:this.alignment===t.BottomCenter?e.Alignment.bottomCenter:this.alignment===t.BottomRight?e.Alignment.bottomRight:e.Alignment.center,this.cachedRuntimeAlignment=n,n)},n}(),E=function(){function e(){}return e.loadRuntime=function(){c.default({locateFile:function(){return e.wasmURL}
182}).then(function(t){var n;for(e.runtime=t;e.callBackQueue.length>0;)null===(n=e.callBackQueue.shift())||void 0===n||n(e.runtime)}).catch(function(t){var n={message:(null==t?void 0:t.message)||"Unknown error",type:(null==t?void 0:t.name)||"Error",wasmError:t instanceof WebAssembly.CompileError||t instanceof WebAssembly.RuntimeError,originalError:t};console.debug("Rive WASM load error details:",n);var r="https://cdn.jsdelivr.net/npm/".concat(u.name,"@").concat(u.version,"/rive_fallback.wasm");e.wasmURL.toLowerCase()!==r?(console.warn("Failed to load WASM from ".concat(e.wasmURL," (").concat(n.message,"), trying jsdelivr as a backup")),e.setWasmUrl(r),e.loadRuntime()):console.error(["Could not load Rive WASM file from ".concat(e.wasmURL," or ").concat(r,"."),"Possible reasons:","- Network connection is down","- WebAssembly is not supported in this environment","- The WASM file is corrupted or incompatible","\nError details:","- Type: ".concat(n.type),"- Message: ".concat(n.message),"- WebAssembly-specific error: ".concat(n.wasmError),"\nTo resolve, you may need to:","1. Check your network connection","2. Set a new WASM source via RuntimeLoader.setWasmUrl()","3. Call RuntimeLoader.loadRuntime() again"].join("\n"))})},e.getInstance=function(t){e.isLoading||(e.isLoading=!0,e.loadRuntime()),e.runtime?t(e.runtime):e.callBackQueue.push(t)},e.awaitInstance=function(){return new Promise(function(t){return e.getInstance(function(e){return t(e)})})},e.setWasmUrl=function(t){e.wasmURL=t},e.getWasmUrl=function(){return e.wasmURL},e.isLoading=!1,e.callBackQueue=[],e.wasmURL="https://unpkg.com/".concat(u.name,"@").concat(u.version,"/rive.wasm"),e}(),(k=r||(r={}))[k.Number=56]="Number",k[k.Trigger=58]="Trigger",k[k.Boolean=59]="Boolean",S=function(){function e(e,t){this.type=e,this.runtimeInput=t}return Object.defineProperty(e.prototype,"name",{get:function(){return this.runtimeInput.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this.runtimeInput.value},set:function(e){this.runtimeInput.value=e},enumerable:!1,configurable:!0}),e.prototype.fire=function(){this.type===r.Trigger&&this.runtimeInput.fire()},e.prototype.delete=function(){this.runtimeInput=null},e}(),(A=i||(i={}))[A.General=128]="General",A[A.OpenUrl=131]="OpenUrl",_=function(e){function t(t,n){var r=e.call(this,!1)||this;return r.nativeArtboard=t,r.file=n,r}return f(t,e),t}(T=function(e){this.isBindableArtboard=!1,this.isBindableArtboard=e}),L=function(e){function t(t){var n=e.call(this,!0)||this;return n.selfUnref=!1,n.nativeArtboard=t,n}return f(t,e),Object.defineProperty(t.prototype,"viewModel",{set:function(e){this.nativeViewModel=e.nativeInstance},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){var e;this.selfUnref&&(this.nativeArtboard.unref(),null===(e=this.nativeViewModel)||void 0===e||e.unref())},t}(T),N=function(){function e(e,t,n,r){this.stateMachine=e,this.playing=n,this.artboard=r,this.inputs=[],this.instance=new t.StateMachineInstance(e,r),this.initInputs(t)}return Object.defineProperty(e.prototype,"name",{get:function(){return this.stateMachine.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"statesChanged",{get:function(){for(var e=[],t=0;t<this.instance.stateChangedCount();t++)e.push(this.instance.stateChangedNameByIndex(t));return e},enumerable:!1,configurable:!0}),e.prototype.advance=function(e){this.instance.advance(e)},e.prototype.advanceAndApply=function(e){this.instance.advanceAndApply(e)},e.prototype.reportedEventCount=function(){return this.instance.reportedEventCount()},e.prototype.reportedEventAt=function(e){return this.instance.reportedEventAt(e)},e.prototype.initInputs=function(e){for(var t=0;t<this.instance.inputCount();t++){var n=this.instance.input(t);this.inputs.push(this.mapRuntimeInput(n,e))}},e.prototype.mapRuntimeInput=function(e,t){return e.type===t.SMIInput.bool?new S(r.Boolean,e.asBool()):e.type===t.SMIInput.number?new S(r.Number,e.asNumber()):e.type===t.SMIInput.trigger?new S(r.Trigger,e.asTrigger()):void 0}
182,e.prototype.cleanup=function(){this.inputs.forEach(function(e){e.delete()}),this.inputs.length=0,this.instance.delete()},e.prototype.bindViewModelInstance=function(e){null!=e.runtimeInstance&&this.instance.bindViewModelInstance(e.runtimeInstance)},e}(),P=function(){function e(e,t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i=[]),this.runtime=e,this.artboard=t,this.eventManager=n,this.animations=r,this.stateMachines=i}return e.prototype.add=function(e,t,n){if(void 0===n&&(n=!0),0===(e=ea(e)).length)this.animations.forEach(function(e){return e.playing=t}),this.stateMachines.forEach(function(e){return e.playing=t});else for(var r=this.animations.map(function(e){return e.name}),i=this.stateMachines.map(function(e){return e.name}),o=0;o<e.length;o++){var s=r.indexOf(e[o]),l=i.indexOf(e[o]);if(s>=0||l>=0)s>=0?this.animations[s].playing=t:this.stateMachines[l].playing=t;else{var c=this.artboard.animationByName(e[o]);if(c){var u=new d.Animation(c,this.artboard,this.runtime,t);u.advance(0),u.apply(1),this.animations.push(u)}else{var p=this.artboard.stateMachineByName(e[o]);if(p){var h=new N(p,this.runtime,t,this.artboard);this.stateMachines.push(h)}}}}return n&&(t?this.eventManager.fire({type:a.Play,data:this.playing}):this.eventManager.fire({type:a.Pause,data:this.paused})),t?this.playing:this.paused},e.prototype.initLinearAnimations=function(e,t){for(var n=this.animations.map(function(e){return e.name}),r=0;r<e.length;r++){var i=n.indexOf(e[r]);if(i>=0)this.animations[i].playing=t;else{var a=this.artboard.animationByName(e[r]);if(a){var o=new d.Animation(a,this.artboard,this.runtime,t);o.advance(0),o.apply(1),this.animations.push(o)}else console.error("Animation with name ".concat(e[r]," not found."))}}},e.prototype.initStateMachines=function(e,t){for(var n=this.stateMachines.map(function(e){return e.name}),r=0;r<e.length;r++){var i=n.indexOf(e[r]);if(i>=0)this.stateMachines[i].playing=t;else{var a=this.artboard.stateMachineByName(e[r]);if(a){var o=new N(a,this.runtime,t,this.artboard);this.stateMachines.push(o)}else console.warn("State Machine with name ".concat(e[r]," not found.")),this.initLinearAnimations([e[r]],t)}}},e.prototype.play=function(e){return this.add(e,!0)},e.prototype.advanceIfPaused=function(){this.stateMachines.forEach(function(e){e.playing||e.advanceAndApply(0)})},e.prototype.pause=function(e){return this.add(e,!1)},e.prototype.scrub=function(e,t){var n=this.animations.filter(function(t){return e.includes(t.name)});return n.forEach(function(e){return e.scrubTo=t}),n.map(function(e){return e.name})},Object.defineProperty(e.prototype,"playing",{get:function(){return this.animations.filter(function(e){return e.playing}).map(function(e){return e.name}).concat(this.stateMachines.filter(function(e){return e.playing}).map(function(e){return e.name}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"paused",{get:function(){return this.animations.filter(function(e){return!e.playing}).map(function(e){return e.name}).concat(this.stateMachines.filter(function(e){return!e.playing}).map(function(e){return e.name}))},enumerable:!1,configurable:!0}),e.prototype.stop=function(e){var t=this;e=ea(e);var n=[];if(0===e.length)n=this.animations.map(function(e){return e.name}).concat(this.stateMachines.map(function(e){return e.name})),this.animations.forEach(function(e){return e.cleanup()}),this.stateMachines.forEach(function(e){return e.cleanup()}),this.animations.splice(0,this.animations.length),this.stateMachines.splice(0,this.stateMachines.length);else{var r=this.animations.filter(function(t){return e.includes(t.name)});r.forEach(function(e){e.cleanup(),t.animations.splice(t.animations.indexOf(e),1)});var i=this.stateMachines.filter(function(t){return e.includes(t.name)});i.forEach(function(e){e.cleanup(),t.stateMachines.splice(t.stateMachines.indexOf(e),1)}),n=r.map(function(e){return e.name}).concat(i.map(function(e){return e.name}))}return this.eventManager.fire({type:a.Stop,data:n}),n},Object.defineProperty(e.prototype,"isPlaying",{get:function(){return this.animations.reduce(function(e,t){return e||t.playing},!1)||this.stateMachines.reduce(function(e,t){return e||t.playing},!1)}
182,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isPaused",{get:function(){return!this.isPlaying&&(this.animations.length>0||this.stateMachines.length>0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isStopped",{get:function(){return 0===this.animations.length&&0===this.stateMachines.length},enumerable:!1,configurable:!0}),e.prototype.atLeastOne=function(e,t){var n;return void 0===t&&(t=!0),0===this.animations.length&&0===this.stateMachines.length&&(this.artboard.animationCount()>0?this.add([n=this.artboard.animationByIndex(0).name],e,t):this.artboard.stateMachineCount()>0&&this.add([n=this.artboard.stateMachineByIndex(0).name],e,t)),n},e.prototype.handleLooping=function(){for(var e=0,t=this.animations.filter(function(e){return e.playing});e<t.length;e++){var n=t[e];0===n.loopValue&&n.loopCount?(n.loopCount=0,this.stop(n.name)):1===n.loopValue&&n.loopCount?(this.eventManager.fire({type:a.Loop,data:{animation:n.name,type:o.Loop}}),n.loopCount=0):2===n.loopValue&&n.loopCount>1&&(this.eventManager.fire({type:a.Loop,data:{animation:n.name,type:o.PingPong}}),n.loopCount=0)}},e.prototype.handleStateChanges=function(){for(var e=[],t=0,n=this.stateMachines.filter(function(e){return e.playing});t<n.length;t++){var r=n[t];e.push.apply(e,r.statesChanged)}e.length>0&&this.eventManager.fire({type:a.StateChange,data:e})},e.prototype.handleAdvancing=function(e){this.eventManager.fire({type:a.Advance,data:e})},e}(),(I=a||(a={})).Load="load",I.LoadError="loaderror",I.Play="play",I.Pause="pause",I.Stop="stop",I.Loop="loop",I.Draw="draw",I.Advance="advance",I.StateChange="statechange",I.RiveEvent="riveevent",I.AudioStatusChange="audiostatuschange",(M=o||(o={})).OneShot="oneshot",M.Loop="loop",M.PingPong="pingpong",O=function(){function e(e){void 0===e&&(e=[]),this.listeners=e}return e.prototype.getListeners=function(e){return this.listeners.filter(function(t){return t.type===e})},e.prototype.add=function(e){this.listeners.includes(e)||this.listeners.push(e)},e.prototype.remove=function(e){for(var t=0;t<this.listeners.length;t++){var n=this.listeners[t];if(n.type===e.type&&n.callback===e.callback){this.listeners.splice(t,1);break}}},e.prototype.removeAll=function(e){var t=this;e?this.listeners.filter(function(t){return t.type===e}).forEach(function(e){return t.remove(e)}):this.listeners.splice(0,this.listeners.length)},e.prototype.fire=function(e){this.getListeners(e.type).forEach(function(t){return t.callback(e)})},e}(),R=function(){function e(e){this.eventManager=e,this.queue=[]}return e.prototype.add=function(e){this.queue.push(e)},e.prototype.process=function(){for(;this.queue.length>0;){var e=this.queue.shift();(null==e?void 0:e.action)&&e.action(),(null==e?void 0:e.event)&&this.eventManager.fire(e.event)}},e}(),(D=s||(s={}))[D.AVAILABLE=0]="AVAILABLE",D[D.UNAVAILABLE=1]="UNAVAILABLE",B=new(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._started=!1,t._enabled=!1,t._status=s.UNAVAILABLE,t}return f(t,e),t.prototype.delay=function(e){return g(this,void 0,void 0,function(){return y(this,function(t){return[2,new Promise(function(t){return setTimeout(t,e)})]})})},t.prototype.timeout=function(){return g(this,void 0,void 0,function(){return y(this,function(e){return[2,new Promise(function(e,t){return setTimeout(t,50)})]})})},t.prototype.reportToListeners=function(){this.fire({type:a.AudioStatusChange}),this.removeAll()},t.prototype.enableAudio=function(){return g(this,void 0,void 0,function(){return y(this,function(e){return this._enabled||(this._enabled=!0,this._status=s.AVAILABLE,this.reportToListeners()),[2]})})},t.prototype.testAudio=function(){return g(this,void 0,void 0,function(){return y(this,function(e){switch(e.label){case 0:if(!(this._status===s.UNAVAILABLE&&null!==this._audioContext))return[3,4];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,Promise.race([this._audioContext.resume(),this.timeout()])];case 2:return e.sent(),this.enableAudio(),[3,4];case 3:return e.sent(),[3,4];case 4:return[2]}})})},t.prototype._establishAudio=function(){return g(this,void 0,void 0,function(){return y(this,function(e){switch(e.label){case 0:if(this._started)return[3,5];if(this._started=!0,"undefined"!=typeof window)return[3,1];return this.enableAudio(),[3,5];case 1:this._audioContext=new AudioContext,this.listenForUserAction(),e.label=2;case 2:if(this._status!==s.UNAVAILABLE)return[3,5];return[4,this.testAudio()];case 3:return e.sent(),[4,this.delay(1e3)];case 4:return e.sent(),[3,2];case 5:return[2]}})})},t.prototype.listenForUserAction=function(){var e=this;document.addEventListener("pointerdown",function(){return g(e,void 0,void 0,function(){return y(this,function(e){return this.enableAudio(),[2]})})},{once:!0})},t.prototype.establishAudio=function(){return g(this,void 0,void 0,function(){return y(this,function(e){return this._establishAudio(),[2]})})},Object.defineProperty(t.prototype,"systemVolume",{get:function(){return this._status===s.UNAVAILABLE?(this.testAudio(),0):1}
182,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"status",{get:function(){return this._status},enumerable:!1,configurable:!0}),t}(O)),F=function(){function e(){}return e.prototype.observe=function(){},e.prototype.unobserve=function(){},e.prototype.disconnect=function(){},e}(),H=globalThis.ResizeObserver||F,V=new(function(){function e(){var e=this;this._elementsMap=new Map,this._onObservedEntry=function(t){var n=e._elementsMap.get(t.target);null!==n?n.onResize(0==t.target.clientWidth||0==t.target.clientHeight):e._resizeObserver.unobserve(t.target)},this._onObserved=function(t){t.forEach(e._onObservedEntry)},this._resizeObserver=new H(this._onObserved)}return e.prototype.add=function(e,t){var n={onResize:t,element:e};return this._elementsMap.set(e,n),this._resizeObserver.observe(e),n},e.prototype.remove=function(e){this._resizeObserver.unobserve(e.element),this._elementsMap.delete(e.element)},e}()),$=function(){function e(e){this.enableRiveAssetCDN=!0,this.referenceCount=0,this.destroyed=!1,this.selfUnref=!1,this.bindableArtboards=[],this.src=e.src,this.buffer=e.buffer,e.assetLoader&&(this.assetLoader=e.assetLoader),this.enableRiveAssetCDN="boolean"!=typeof e.enableRiveAssetCDN||e.enableRiveAssetCDN,this.eventManager=new O,e.onLoad&&this.on(a.Load,e.onLoad),e.onLoadError&&this.on(a.LoadError,e.onLoadError)}return e.prototype.releaseFile=function(){var e;this.selfUnref&&(null===(e=this.file)||void 0===e||e.unref()),this.file=null},e.prototype.releaseBindableArtboards=function(){this.bindableArtboards.forEach(function(e){return e.destroy()})},e.prototype.initData=function(){return g(this,void 0,void 0,function(){var t,n,r,i;return y(this,function(o){switch(o.label){case 0:if(!this.src)return[3,2];return t=this,[4,ei(this.src)];case 1:t.buffer=o.sent(),o.label=2;case 2:if(this.destroyed)return[2];return this.assetLoader&&(n=new p.CustomFileAssetLoaderWrapper(this.runtime,this.assetLoader).assetLoader),r=this,[4,this.runtime.load(new Uint8Array(this.buffer),n,this.enableRiveAssetCDN)];case 3:if(r.file=o.sent(),i=new p.FileFinalizer(this.file),p.finalizationRegistry.register(this,i),this.destroyed)return this.releaseFile(),[2];return null!==this.file?this.eventManager.fire({type:a.Load,data:this}):this.fireLoadError(e.fileLoadErrorMessage),[2]}})})},e.prototype.init=function(){return g(this,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:if(!this.src&&!this.buffer)return this.fireLoadError(e.missingErrorMessage),[2];r.label=1;case 1:return r.trys.push([1,4,,5]),t=this,[4,E.awaitInstance()];case 2:if(t.runtime=r.sent(),this.destroyed)return[2];return[4,this.initData()];case 3:return r.sent(),[3,5];case 4:return n=r.sent(),this.fireLoadError(n instanceof Error?n.message:e.fileLoadErrorMessage),[3,5];case 5:return[2]}})})},e.prototype.fireLoadError=function(e){throw this.eventManager.fire({type:a.LoadError,data:e}),Error(e)},e.prototype.on=function(e,t){this.eventManager.add({type:e,callback:t})},e.prototype.off=function(e,t){this.eventManager.remove({type:e,callback:t})},e.prototype.cleanup=function(){this.referenceCount-=1,this.referenceCount<=0&&(this.removeAllRiveEventListeners(),this.releaseFile(),this.releaseBindableArtboards(),this.destroyed=!0)},e.prototype.removeAllRiveEventListeners=function(e){this.eventManager.removeAll(e)},e.prototype.getInstance=function(){if(null!==this.file)return this.referenceCount+=1,this.file},e.prototype.destroyIfUnused=function(){this.referenceCount<=0&&this.cleanup()},e.prototype.createBindableArtboard=function(e){if(null!=e){var t=new L(e);return(0,p.createFinalization)(t,t.nativeArtboard),this.bindableArtboards.push(t),t}return null},e.prototype.getArtboard=function(e){var t=this.file.artboardByName(e);if(null!=t)return new _(t,this)},e.prototype.getBindableArtboard=function(e){var t=this.file.bindableArtboardByName(e);return this.createBindableArtboard(t)},e.prototype.getDefaultBindableArtboard=function(){var e=this.file.bindableArtboardDefault();return this.createBindableArtboard(e)},e.prototype.internalBindableArtboardFromArtboard=function(e){var t=this.file.internalBindableArtboardFromArtboard(e);return this.createBindableArtboard(t)},e.prototype.viewModelByName=function(e){var t=this.file.viewModelByName(e);return null!==t?new z(t):null},e.missingErrorMessage="Rive source file or data buffer required",e.fileLoadErrorMessage="The file failed to load",e}(),U=function(){function t(e){var t,r,i=this;this.loaded=!1,this.destroyed=!1,this._observed=null,this.readyForPlaying=!1,this.artboard=null,this.eventCleanup=null,this.shouldDisableRiveListeners=!1,this.automaticallyHandleEvents=!1,this.dispatchPointerExit=!0,this.enableMultiTouch=!1,this.enableRiveAssetCDN=!0,this._volume=1,this._artboardWidth=void 0,this._artboardHeight=void 0,this._devicePixelRatioUsed=1,this._hasZeroSize=!1,this._needsRedraw=!1,this._currentCanvasWidth=0,this._currentCanvasHeight=0,this._audioEventListener=null,this._boundDraw=null,this._viewModelInstance=null,this._dataEnums=null,this.drawOptimization=n.DrawOnChanged,this.durations=[],this.frameTimes=[],this.frameCount=0,this.isTouchScrollEnabled=!1,this.onCanvasResize=function(e){var t=i._hasZeroSize!==e;i._hasZeroSize=e,e?i._layout.maxX&&i._layout.maxY||i.resizeToCanvas():t&&i.resizeDrawingSurfaceToCanvas()},this.renderSecondTimer=0,this._boundDraw=this.draw.bind(this),this.canvas=e.canvas,e.canvas.constructor===HTMLCanvasElement&&(this._observed=V.add(this.canvas,this.onCanvasResize)),this._currentCanvasWidth=this.canvas.width,this._currentCanvasHeight=this.canvas.height,this.src=e.src,this.buffer=e.buffer,this.riveFile=e.riveFile,this.layout=null!==(t=e.layout)&&void 0!==t?t:new C,this.shouldDisableRiveListeners=!!e.shouldDisableRiveListeners,this.isTouchScrollEnabled=!!e.isTouchScrollEnabled,this.automaticallyHandleEvents=!!e.automaticallyHandleEvents,this.dispatchPointerExit=!1===e.dispatchPointerExit?e.dispatchPointerExit:this.dispatchPointerExit,this.enableMultiTouch=!!e.enableMultiTouch,this.drawOptimization=null!==(r=e.drawingOptions)&&void 0!==r?r:this.drawOptimization,this.enableRiveAssetCDN=void 0===e.enableRiveAssetCDN||e.enableRiveAssetCDN,this.eventManager=new O,e.onLoad&&this.on(a.Lo
182ad,e.onLoad),e.onLoadError&&this.on(a.LoadError,e.onLoadError),e.onPlay&&this.on(a.Play,e.onPlay),e.onPause&&this.on(a.Pause,e.onPause),e.onStop&&this.on(a.Stop,e.onStop),e.onLoop&&this.on(a.Loop,e.onLoop),e.onStateChange&&this.on(a.StateChange,e.onStateChange),e.onAdvance&&this.on(a.Advance,e.onAdvance),e.onload&&!e.onLoad&&this.on(a.Load,e.onload),e.onloaderror&&!e.onLoadError&&this.on(a.LoadError,e.onloaderror),e.onplay&&!e.onPlay&&this.on(a.Play,e.onplay),e.onpause&&!e.onPause&&this.on(a.Pause,e.onpause),e.onstop&&!e.onStop&&this.on(a.Stop,e.onstop),e.onloop&&!e.onLoop&&this.on(a.Loop,e.onloop),e.onstatechange&&!e.onStateChange&&this.on(a.StateChange,e.onstatechange),e.assetLoader&&(this.assetLoader=e.assetLoader),this.taskQueue=new R(this.eventManager),this.init({src:this.src,buffer:this.buffer,riveFile:this.riveFile,autoplay:e.autoplay,autoBind:e.autoBind,animations:e.animations,stateMachines:e.stateMachines,artboard:e.artboard,useOffscreenRenderer:e.useOffscreenRenderer})}return Object.defineProperty(t.prototype,"viewModelCount",{get:function(){return this.file.viewModelCount()},enumerable:!1,configurable:!0}),t.new=function(e){return console.warn("This function is deprecated: please use `new Rive({})` instead"),new t(e)},t.prototype.onSystemAudioChanged=function(){this.volume=this._volume},t.prototype.init=function(e){var n=this,r=e.src,i=e.buffer,a=e.riveFile,o=e.animations,s=e.stateMachines,l=e.artboard,c=e.autoplay,u=void 0!==c&&c,d=e.useOffscreenRenderer,p=void 0!==d&&d,h=e.autoBind,f=void 0!==h&&h;if(!this.destroyed){if(this.src=r,this.buffer=i,this.riveFile=a,!this.src&&!this.buffer&&!this.riveFile)throw new b(t.missingErrorMessage);var m=ea(o),g=ea(s);this.loaded=!1,this.readyForPlaying=!1,E.awaitInstance().then(function(e){n.destroyed||(n.runtime=e,n.removeRiveListeners(),n.deleteRiveRenderer(),n.renderer=n.runtime.makeRenderer(n.canvas,p),n.canvas.width||n.canvas.height||n.resizeDrawingSurfaceToCanvas(),n.initData(l,m,g,u,f).then(function(e){if(e)return n.setupRiveListeners()}).catch(function(e){console.error(e)}))}).catch(function(e){console.error(e)})}},t.prototype.setupRiveListeners=function(e){var t=this;if(this.eventCleanup&&this.eventCleanup(),!this.shouldDisableRiveListeners){var n=(this.animator.stateMachines||[]).filter(function(e){return e.playing&&t.runtime.hasListeners(e.instance)}).map(function(e){return e.instance}),r=this.isTouchScrollEnabled,i=this.dispatchPointerExit,a=this.enableMultiTouch;e&&"isTouchScrollEnabled"in e&&(r=e.isTouchScrollEnabled),this.eventCleanup=(0,p.registerTouchInteractions)({canvas:this.canvas,artboard:this.artboard,stateMachines:n,renderer:this.renderer,rive:this.runtime,fit:this._layout.runtimeFit(this.runtime),alignment:this._layout.runtimeAlignment(this.runtime),isTouchScrollEnabled:r,dispatchPointerExit:i,enableMultiTouch:a,layoutScaleFactor:this._layout.layoutScaleFactor})}},t.prototype.removeRiveListeners=function(){this.eventCleanup&&(this.eventCleanup(),this.eventCleanup=null)},t.prototype.initializeAudio=function(){var e,t=this;B.status==s.UNAVAILABLE&&(this.file.hasAudio||(null===(e=this.artboard)||void 0===e?void 0:e.hasAudio)&&null===this._audioEventListener)&&(this._audioEventListener={type:a.AudioStatusChange,callback:function(){return t.onSystemAudioChanged()}},B.add(this._audioEventListener),B.establishAudio())},t.prototype.initArtboardSize=function(){this.artboard&&(this._artboardWidth=this.artboard.width=this._artboardWidth||this.artboard.width,this._artboardHeight=this.artboard.height=this._artboardHeight||this.artboard.height)},t.prototype.initData=function(e,t,n,r,i){return g(this,void 0,void 0,function(){var o,s,l;return y(this,function(c){switch(c.label){case 0:if(c.trys.push([0,3,,4]),null!=this.riveFile)return[3,2];return o=new $({src:this.src,buffer:this.buffer,enableRiveAssetCDN:this.enableRiveAssetCDN,assetLoader:this.assetLoader}),this.riveFile=o,[4,o.init()];case 1:if(c.sent(),this.destroyed)return o.destroyIfUnused(),[2,!1];c.label=2;case 2:return this.file=this.riveFile.getInstance(),this.initArtboard(e,t,n,r,i),this.initArtboardSize(),this.initializeAudio(),this.loaded=!0,this.eventManager.fire({type:a.Load,data:null!==(l=this.src)&&void 0!==l?l:"buffer"}),this.animator.advanceIfPaused(),this.readyForPlaying=!0,this.taskQueue.process(),this.drawFrame(),[2,!0];case 3:var u;return console.warn(s=(u=c.sent())&&u.isHandledError?u.message:"Problem loading file; may be corrupt!"),this.eventManager.fire({type:a.LoadError,data:s}),[2,Promise.reject(s)];case 4:return[2]}})})},t.prototype.initArtboard=function(e,t,n,r,i){if(this.file){var o,s=e?this.file.artboardByName(e):this.file.defaultArtboard();if(!s){var l="Invalid artboard name or no default artboard";console.warn(l),this.eventManager.fire({type:a.LoadError,data:l});return}if(this.artboard=s,s.volume=this._volume*B.systemVolume,this.animator=new P(this.runtime,this.artboard,this.eventManager),t.length>0||n.length>0?(o=t.concat(n),this.animator.initLinearAnimations(t,r),this.animator.initStateMachines(n,r)):o=[this.animator.atLeastOne(r,!1)],this.taskQueue.add({event:{type:r?a.Play:a.Pause,data:o}}),i){var c=this.file.defaultArtboardViewModel(s);if(null!==c){var u=c.defaultInstance();if(null!==u){var d=new q(u,null);
182(0,p.createFinalization)(d,d.runtimeInstance),this.bindViewModelInstance(d)}}}}},t.prototype.drawFrame=function(){var e,t;(null===(e=null==document?void 0:document.timeline)||void 0===e?void 0:e.currentTime)?this.loaded&&this.artboard&&!this.frameRequestId&&(this._boundDraw(document.timeline.currentTime),null===(t=this.runtime)||void 0===t||t.resolveAnimationFrame()):this.scheduleRendering()},t.prototype._canvasSizeChanged=function(){var e=!1;return this.canvas&&(this.canvas.width!==this._currentCanvasWidth&&(this._currentCanvasWidth=this.canvas.width,e=!0),this.canvas.height!==this._currentCanvasHeight&&(this._currentCanvasHeight=this.canvas.height,e=!0)),e},t.prototype.draw=function(e,t){this.frameRequestId=null;var r,o=performance.now();this.lastRenderTime||(this.lastRenderTime=e),this.renderSecondTimer+=e-this.lastRenderTime,this.renderSecondTimer>5e3&&(this.renderSecondTimer=0,null==t||t());var s=(e-this.lastRenderTime)/1e3;this.lastRenderTime=e;for(var l=this.animator.animations.filter(function(e){return e.playing||e.needsScrub}).sort(function(e){return e.needsScrub?-1:1}),c=0;c<l.length;c++){var u=l[c];u.advance(s),u.instance.didLoop&&(u.loopCount+=1),u.apply(1)}for(var d=this.animator.stateMachines.filter(function(e){return e.playing}),h=0;h<d.length;h++){var f=d[h],m=f.reportedEventCount();if(m)for(var g=0;g<m;g++){var y=f.reportedEventAt(g);if(y){if(y.type===i.OpenUrl){if(this.eventManager.fire({type:a.RiveEvent,data:y}),this.automaticallyHandleEvents){var v=document.createElement("a"),b=y.url,x=y.target,w=(0,p.sanitizeUrl)(b);b&&v.setAttribute("href",w),x&&v.setAttribute("target",x),w&&w!==p.BLANK_URL&&v.click()}}else this.eventManager.fire({type:a.RiveEvent,data:y})}}f.advanceAndApply(s)}0==this.animator.stateMachines.length&&this.artboard.advance(s);var j=this.renderer;!this._hasZeroSize&&(this.drawOptimization==n.AlwaysDraw||this.artboard.didChange()||this._needsRedraw||this._canvasSizeChanged())&&(j.clear(),j.save(),this.alignRenderer(),this.artboard.draw(j),j.restore(),j.flush(),this._needsRedraw=!1),this.animator.handleLooping(),this.animator.handleStateChanges(),this.animator.handleAdvancing(s),this.frameCount++;var C=performance.now();for(this.frameTimes.push(C),this.durations.push(C-o);this.frameTimes[0]<=C-1e3;)this.frameTimes.shift(),this.durations.shift();null===(r=this._viewModelInstance)||void 0===r||r.handleCallbacks(),this.animator.isPlaying?this.scheduleRendering():this.animator.isPaused?this.lastRenderTime=0:this.animator.isStopped&&(this.lastRenderTime=0)},t.prototype.alignRenderer=function(){var e=this.renderer,t=this.runtime,n=this._layout,r=this.artboard;e.align(n.runtimeFit(t),n.runtimeAlignment(t),{minX:n.minX,minY:n.minY,maxX:n.maxX,maxY:n.maxY},r.bounds,this._devicePixelRatioUsed*n.layoutScaleFactor)},Object.defineProperty(t.prototype,"fps",{get:function(){return this.durations.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"frameTime",{get:function(){return 0===this.durations.length?0:(this.durations.reduce(function(e,t){return e+t},0)/this.durations.length).toFixed(4)},enumerable:!1,configurable:!0}),t.prototype.cleanup=function(){var e,t;this.destroyed=!0,this.stopRendering(),this.cleanupInstances(),null!==this._observed&&V.remove(this._observed),this.removeRiveListeners(),this.file&&(null===(e=this.riveFile)||void 0===e||e.cleanup(),this.file=null),this.riveFile=null,this.deleteRiveRenderer(),null!==this._audioEventListener&&(B.remove(this._audioEventListener),this._audioEventListener=null),null===(t=this._viewModelInstance)||void 0===t||t.cleanup(),this._viewModelInstance=null,this._dataEnums=null},t.prototype.deleteRiveRenderer=function(){var e;null===(e=this.renderer)||void 0===e||e.delete(),this.renderer=null},t.prototype.cleanupInstances=function(){null!==this.eventCleanup&&this.eventCleanup(),this.stop(),this.artboard&&(this.artboard.delete(),this.artboard=null)},t.prototype.retrieveTextRun=function(e){if(!e){console.warn("No text run name provided");return}if(!this.artboard){console.warn("Tried to access text run, but the Artboard is null");return}var t,n=this.artboard.textRun(e);if(!n){console.warn("Could not access a text run with name '".concat(e,"' in the '").concat(null===(t=this.artboard)||void 0===t?void 0:t.name,"' Artboard. Note that you must rename a text run node in the Rive editor to make it queryable at runtime."));return}return n},t.prototype.getTextRunValue=function(e){var t=this.retrieveTextRun(e);return t?t.text:void 0},t.prototype.setTextRunValue=function(e,t){var n=this.retrieveTextRun(e);n&&(n.text=t)},t.prototype.play=function(e,t){var n=this;if(e=ea(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return n.play(e,t)}});return}this.animator.play(e),this.eventCleanup&&this.eventCleanup(),this.setupRiveListeners(),this.startRendering()},t.prototype.pause=function(e){var t=this;if(e=ea(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return t.pause(e)}});return}this.eventCleanup&&this.eventCleanup(),this.animator.pause(e)},t.prototype.scrub=function(e,t){var n=this;if(e=ea(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return n.scrub(e,t)}});return}this.animator.scrub(e,t||0),this.drawFrame()},t.prototype.stop=function(e){var t=this;if(e=ea(e),!this.readyForPlaying){this.taskQueue.add({action:function(){return t.stop(e)}});return}this.animator&&this.animator.stop(e),this.eventCleanup&&this.eventCleanup()},t.prototype.reset=function(e){var t,n,r=null==e?void 0:e.artboard,i=ea(null==e?void 0:e.animations),a=ea(null==e?void 0:e.stateMachines),o=null!==(t=null==e?void 0:e.autoplay)&&void 0!==t&&t,s=null!==(n=null==e?void 0:e.autoBind)&&void 0!==n&&n;this.cleanupInstances(),this.initArtboard(r,i,a,o,s),this.taskQueue.process()},t.prototype.load=function(e){this.file=null,this.stop(),this.init(e)},Object.defineProperty(t.prototype,"layout",{get:function(){return this._layout},set:function(e){this._layout=e,e.maxX&&e.maxY||this.resizeToCanvas(),this.loaded&&!this.animator.isPlaying&&this.drawFrame()}
182,enumerable:!1,configurable:!0}),t.prototype.resizeToCanvas=function(){this._layout=this.layout.copyWith({minX:0,minY:0,maxX:this.canvas.width,maxY:this.canvas.height})},t.prototype.resizeDrawingSurfaceToCanvas=function(t){if(this.canvas instanceof HTMLCanvasElement&&window){var n=this.canvas.getBoundingClientRect(),r=n.width,i=n.height,a=t||window.devicePixelRatio||1;if(this.devicePixelRatioUsed=a,this.canvas.width=a*r,this.canvas.height=a*i,this._needsRedraw=!0,this.resizeToCanvas(),this.drawFrame(),this.layout.fit===e.Layout){var o=this._layout.layoutScaleFactor;this.artboard.width=r/o,this.artboard.height=i/o}}},Object.defineProperty(t.prototype,"source",{get:function(){return this.src},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"activeArtboard",{get:function(){return this.artboard?this.artboard.name:""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"animationNames",{get:function(){if(!this.loaded||!this.artboard)return[];for(var e=[],t=0;t<this.artboard.animationCount();t++)e.push(this.artboard.animationByIndex(t).name);return e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stateMachineNames",{get:function(){if(!this.loaded||!this.artboard)return[];for(var e=[],t=0;t<this.artboard.stateMachineCount();t++)e.push(this.artboard.stateMachineByIndex(t).name);return e},enumerable:!1,configurable:!0}),t.prototype.stateMachineInputs=function(e){if(this.loaded){var t=this.animator.stateMachines.find(function(t){return t.name===e});return null==t?void 0:t.inputs}},t.prototype.retrieveInputAtPath=function(e,t){if(!e){console.warn("No input name provided for path '".concat(t,"'"));return}if(!this.artboard){console.warn("Tried to access input: '".concat(e,"', at path: '").concat(t,"', but the Artboard is null"));return}var n=this.artboard.inputByPath(e,t);if(!n){console.warn("Could not access an input with name: '".concat(e,"', at path:'").concat(t,"'"));return}return n},t.prototype.setBooleanStateAtPath=function(e,t,n){var i=this.retrieveInputAtPath(e,n);i&&(i.type===r.Boolean?i.asBool().value=t:console.warn("Input with name: '".concat(e,"', at path:'").concat(n,"' is not a boolean")))},t.prototype.setNumberStateAtPath=function(e,t,n){var i=this.retrieveInputAtPath(e,n);i&&(i.type===r.Number?i.asNumber().value=t:console.warn("Input with name: '".concat(e,"', at path:'").concat(n,"' is not a number")))},t.prototype.fireStateAtPath=function(e,t){var n=this.retrieveInputAtPath(e,t);n&&(n.type===r.Trigger?n.asTrigger().fire():console.warn("Input with name: '".concat(e,"', at path:'").concat(t,"' is not a trigger")))},t.prototype.retrieveTextAtPath=function(e,t){if(!e){console.warn("No text name provided for path '".concat(t,"'"));return}if(!t){console.warn("No path provided for text '".concat(e,"'"));return}if(!this.artboard){console.warn("Tried to access text: '".concat(e,"', at path: '").concat(t,"', but the Artboard is null"));return}var n=this.artboard.textByPath(e,t);if(!n){console.warn("Could not access text with name: '".concat(e,"', at path:'").concat(t,"'"));return}return n},t.prototype.getTextRunValueAtPath=function(e,t){var n=this.retrieveTextAtPath(e,t);if(!n){console.warn("Could not get text with name: '".concat(e,"', at path:'").concat(t,"'"));return}return n.text},t.prototype.setTextRunValueAtPath=function(e,t,n){var r=this.retrieveTextAtPath(e,n);if(!r){console.warn("Could not set text with name: '".concat(e,"', at path:'").concat(n,"'"));return}r.text=t},Object.defineProperty(t.prototype,"playingStateMachineNames",{get:function(){return this.loaded?this.animator.stateMachines.filter(function(e){return e.playing}).map(function(e){return e.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"playingAnimationNames",{get:function(){return this.loaded?this.animator.animations.filter(function(e){return e.playing}).map(function(e){return e.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pausedAnimationNames",{get:function(){return this.loaded?this.animator.animations.filter(function(e){return!e.playing}).map(function(e){return e.name}):[]}
182,enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pausedStateMachineNames",{get:function(){return this.loaded?this.animator.stateMachines.filter(function(e){return!e.playing}).map(function(e){return e.name}):[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPlaying",{get:function(){return this.animator.isPlaying},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isPaused",{get:function(){return this.animator.isPaused},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isStopped",{get:function(){var e,t;return null===(t=null===(e=this.animator)||void 0===e?void 0:e.isStopped)||void 0===t||t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"bounds",{get:function(){return this.artboard?this.artboard.bounds:void 0},enumerable:!1,configurable:!0}),t.prototype.on=function(e,t){this.eventManager.add({type:e,callback:t})},t.prototype.off=function(e,t){this.eventManager.remove({type:e,callback:t})},t.prototype.unsubscribe=function(e,t){console.warn("This function is deprecated: please use `off()` instead."),this.off(e,t)},t.prototype.removeAllRiveEventListeners=function(e){this.eventManager.removeAll(e)},t.prototype.unsubscribeAll=function(e){console.warn("This function is deprecated: please use `removeAllRiveEventListeners()` instead."),this.removeAllRiveEventListeners(e)},t.prototype.stopRendering=function(){this.loaded&&this.frameRequestId&&(this.runtime.cancelAnimationFrame?this.runtime.cancelAnimationFrame(this.frameRequestId):cancelAnimationFrame(this.frameRequestId),this.frameRequestId=null)},t.prototype.startRendering=function(){this.drawFrame()},t.prototype.scheduleRendering=function(){this.loaded&&this.artboard&&!this.frameRequestId&&(this.runtime.requestAnimationFrame?this.frameRequestId=this.runtime.requestAnimationFrame(this._boundDraw):this.frameRequestId=requestAnimationFrame(this._boundDraw))},t.prototype.enableFPSCounter=function(e){this.runtime.enableFPSCounter(e)},t.prototype.disableFPSCounter=function(){this.runtime.disableFPSCounter()},Object.defineProperty(t.prototype,"contents",{get:function(){if(this.loaded){for(var e={artboards:[]},t=0;t<this.file.artboardCount();t++){for(var n=this.file.artboardByIndex(t),r={name:n.name,animations:[],stateMachines:[]},i=0;i<n.animationCount();i++){var a=n.animationByIndex(i);r.animations.push(a.name)}for(var o=0;o<n.stateMachineCount();o++){for(var s=n.stateMachineByIndex(o),l=s.name,c=new this.runtime.StateMachineInstance(s,n),u=[],d=0;d<c.inputCount();d++){var p=c.input(d);u.push({name:p.name,type:p.type})}r.stateMachines.push({name:l,inputs:u})}e.artboards.push(r)}return e}},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"volume",{get:function(){return this.artboard&&this.artboard.volume!==this._volume&&(this._volume=this.artboard.volume),this._volume},set:function(e){this._volume=e,this.artboard&&(this.artboard.volume=e*B.systemVolume)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"artboardWidth",{get:function(){var e;return this.artboard?this.artboard.width:null!==(e=this._artboardWidth)&&void 0!==e?e:0},set:function(e){this._artboardWidth=e,this.artboard&&(this.artboard.width=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"artboardHeight",{get:function(){var e;return this.artboard?this.artboard.height:null!==(e=this._artboardHeight)&&void 0!==e?e:0},set:function(e){this._artboardHeight=e,this.artboard&&(this.artboard.height=e)},enumerable:!1,configurable:!0}),t.prototype.resetArtboardSize=function(){this.artboard?(this.artboard.resetArtboardSize(),this._artboardWidth=this.artboard.width,this._artboardHeight=this.artboard.height):(this._artboardWidth=void 0,this._artboardHeight=void 0)},Object.defineProperty(t.prototype,"devicePixelRatioUsed",{get:function(){return this._devicePixelRatioUsed},set:function(e){this._devicePixelRatioUsed=e},enumerable:!1,configurable:!0}),t.prototype.bindViewModelInstance=function(e){var t;this.artboard&&!this.destroyed&&e&&e.runtimeInstance&&(e.internalIncrementReferenceCount(),null===(t=this._viewModelInstance)||void 0===t||t.cleanup(),this._viewModelInstance=e,this.animator.stateMachines.length>
1820?this.animator.stateMachines.forEach(function(t){return t.bindViewModelInstance(e)}):this.artboard.bindViewModelInstance(e.runtimeInstance))},Object.defineProperty(t.prototype,"viewModelInstance",{get:function(){return this._viewModelInstance},enumerable:!1,configurable:!0}),t.prototype.viewModelByIndex=function(e){var t=this.file.viewModelByIndex(e);return null!==t?new z(t):null},t.prototype.viewModelByName=function(e){var t;return null===(t=this.riveFile)||void 0===t?void 0:t.viewModelByName(e)},t.prototype.enums=function(){if(null===this._dataEnums){var e=this.file.enums();this._dataEnums=e.map(function(e){return new W(e)})}return this._dataEnums},t.prototype.defaultViewModel=function(){if(this.artboard){var e=this.file.defaultArtboardViewModel(this.artboard);if(e)return new z(e)}return null},t.prototype.getArtboard=function(e){var t,n;return null!==(n=null===(t=this.riveFile)||void 0===t?void 0:t.getArtboard(e))&&void 0!==n?n:null},t.prototype.getBindableArtboard=function(e){var t,n;return null!==(n=null===(t=this.riveFile)||void 0===t?void 0:t.getBindableArtboard(e))&&void 0!==n?n:null},t.prototype.getDefaultBindableArtboard=function(){var e,t;return null!==(t=null===(e=this.riveFile)||void 0===e?void 0:e.getDefaultBindableArtboard())&&void 0!==t?t:null},t.missingErrorMessage="Rive source file or data buffer required",t.cleanupErrorMessage="Attempt to use file after calling cleanup.",t}(),z=function(){function e(e){this._viewModel=e}return Object.defineProperty(e.prototype,"instanceCount",{get:function(){return this._viewModel.instanceCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this._viewModel.name},enumerable:!1,configurable:!0}),e.prototype.instanceByIndex=function(e){var t=this._viewModel.instanceByIndex(e);if(null!==t){var n=new q(t,null);return(0,p.createFinalization)(n,t),n}return null},e.prototype.instanceByName=function(e){var t=this._viewModel.instanceByName(e);if(null!==t){var n=new q(t,null);return(0,p.createFinalization)(n,t),n}return null},e.prototype.defaultInstance=function(){var e=this._viewModel.defaultInstance();if(null!==e){var t=new q(e,null);return(0,p.createFinalization)(t,e),t}return null},e.prototype.instance=function(){var e=this._viewModel.instance();if(null!==e){var t=new q(e,null);return(0,p.createFinalization)(t,e),t}return null},Object.defineProperty(e.prototype,"properties",{get:function(){return this._viewModel.getProperties()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"instanceNames",{get:function(){return this._viewModel.getInstanceNames()},enumerable:!1,configurable:!0}),e}(),W=function(){function e(e){this._dataEnum=e}return Object.defineProperty(e.prototype,"name",{get:function(){return this._dataEnum.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"values",{get:function(){return this._dataEnum.values},enumerable:!1,configurable:!0}),e}(),(G=l||(l={})).Number="number",G.String="string",G.Boolean="boolean",G.Color="color",G.Trigger="trigger",G.Enum="enum",G.List="list",G.Image="image",G.Artboard="artboard",q=function(){function e(e,t){this._parents=[],this._children=[],this._viewModelInstances=new Map,this._propertiesWithCallbacks=[],this._referenceCount=0,this.selfUnref=!1,this._runtimeInstance=e,null!==t&&this._parents.push(t)}return Object.defineProperty(e.prototype,"runtimeInstance",{get:function(){return this._runtimeInstance},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nativeInstance",{get:function(){return this._runtimeInstance},enumerable:!1,configurable:!0}),e.prototype.handleCallbacks=function(){0!==this._propertiesWithCallbacks.length&&(this._propertiesWithCallbacks.forEach(function(e){e.handleCallbacks()}),this._propertiesWithCallbacks.forEach(function(e){e.clearChanges()})),this._children.forEach(function(e){return e.handleCallbacks()})},e.prototype.addParent=function(e){!this._parents.includes(e)&&(this._parents.push(e),(this._propertiesWithCallbacks.length>0||this._children.length>0)&&e.addToViewModelCallbacks(this))},e.prototype.removeParent=function(e){var t=this._parents.indexOf(e);
182-1!==t&&(this._parents[t].removeFromViewModelCallbacks(this),this._parents.splice(t,1))},e.prototype.addToPropertyCallbacks=function(e){var t=this;!this._propertiesWithCallbacks.includes(e)&&(this._propertiesWithCallbacks.push(e),this._propertiesWithCallbacks.length>0&&this._parents.forEach(function(e){e.addToViewModelCallbacks(t)}))},e.prototype.removeFromPropertyCallbacks=function(e){var t=this;this._propertiesWithCallbacks.includes(e)&&(this._propertiesWithCallbacks=this._propertiesWithCallbacks.filter(function(t){return t!==e}),0===this._children.length&&0===this._propertiesWithCallbacks.length&&this._parents.forEach(function(e){e.removeFromViewModelCallbacks(t)}))},e.prototype.addToViewModelCallbacks=function(e){var t=this;this._children.includes(e)||(this._children.push(e),this._parents.forEach(function(e){e.addToViewModelCallbacks(t)}))},e.prototype.removeFromViewModelCallbacks=function(e){var t=this;this._children.includes(e)&&(this._children=this._children.filter(function(t){return t!==e}),0===this._children.length&&0===this._propertiesWithCallbacks.length&&this._parents.forEach(function(e){e.removeFromViewModelCallbacks(t)}))},e.prototype.clearCallbacks=function(){this._propertiesWithCallbacks.forEach(function(e){e.clearCallbacks()})},e.prototype.propertyFromPath=function(e,t){var n=e.split("/");return this.propertyFromPathSegments(n,0,t)},e.prototype.viewModelFromPathSegments=function(e,t){var n=this.internalViewModelInstance(e[t]);return null!==n?t==e.length-1?n:n.viewModelFromPathSegments(e,t++):null},e.prototype.propertyFromPathSegments=function(e,t,n){if(t<e.length-1){var r,i,a,o,s,c,u,d,p,h,f,m,g,y,v,b,x,w,j=this.internalViewModelInstance(e[t]);return null!==j?j.propertyFromPathSegments(e,t+1,n):null}var C=null;switch(n){case l.Number:if(null!==(C=null!==(i=null===(r=this._runtimeInstance)||void 0===r?void 0:r.number(e[t]))&&void 0!==i?i:null))return new X(C,this);break;case l.String:if(null!==(C=null!==(o=null===(a=this._runtimeInstance)||void 0===a?void 0:a.string(e[t]))&&void 0!==o?o:null))return new Y(C,this);break;case l.Boolean:if(null!==(C=null!==(c=null===(s=this._runtimeInstance)||void 0===s?void 0:s.boolean(e[t]))&&void 0!==c?c:null))return new Z(C,this);break;case l.Color:if(null!==(C=null!==(d=null===(u=this._runtimeInstance)||void 0===u?void 0:u.color(e[t]))&&void 0!==d?d:null))return new et(C,this);break;case l.Trigger:if(null!==(C=null!==(h=null===(p=this._runtimeInstance)||void 0===p?void 0:p.trigger(e[t]))&&void 0!==h?h:null))return new J(C,this);break;case l.Enum:if(null!==(C=null!==(m=null===(f=this._runtimeInstance)||void 0===f?void 0:f.enum(e[t]))&&void 0!==m?m:null))return new Q(C,this);break;case l.List:if(null!==(C=null!==(y=null===(g=this._runtimeInstance)||void 0===g?void 0:g.list(e[t]))&&void 0!==y?y:null))return new ee(C,this);break;case l.Image:if(null!==(C=null!==(b=null===(v=this._runtimeInstance)||void 0===v?void 0:v.image(e[t]))&&void 0!==b?b:null))return new en(C,this);break;case l.Artboard:if(null!==(C=null!==(w=null===(x=this._runtimeInstance)||void 0===x?void 0:x.artboard(e[t]))&&void 0!==w?w:null))return new er(C,this)}return null},e.prototype.internalViewModelInstance=function(t){if(this._viewModelInstances.has(t))return this._viewModelInstances.get(t);var n,r=null===(n=this._runtimeInstance)||void 0===n?void 0:n.viewModel(t);if(null!==r){var i=new e(r,this);return(0,p.createFinalization)(i,r),i.internalIncrementReferenceCount(),this._viewModelInstances.set(t,i),i}return null},e.prototype.number=function(e){return this.propertyFromPath(e,l.Number)},e.prototype.string=function(e){return this.propertyFromPath(e,l.String)},e.prototype.boolean=function(e){return this.propertyFromPath(e,l.Boolean)},e.prototype.color=function(e){return this.propertyFromPath(e,l.Color)},e.prototype.trigger=function(e){return this.propertyFromPath(e,l.Trigger)},e.prototype.enum=function(e){return this.propertyFromPath(e,l.Enum)},e.prototype.list=function(e){return this.propertyFromPath(e,l.List)},e.prototype.image=function(e){return this.propertyFromPath(e,l.Image)},e.prototype.artboard=function(e){return this.propertyFromPath(e,l.Artboard)},e.prototype.viewModel=function(e){var t=e.split("/"),n=t.length>1?this.viewModelFromPathSegments(t.slice(0,t.length-1),0):this;return null!=n?n.internalViewModelInstance(t[t.length-1]):null},e.prototype.internalReplaceViewModel=function(e,t){var n;if(null!==t.runtimeInstance){var r=(null===(n=this._runtimeInstance)||void 0===n?void 0:n.replaceViewModel(e,t.runtimeInstance))||!1;if(r){t.internalIncrementReferenceCount();var i=this.internalViewModelInstance(e);null!==i&&(i.removeParent(this),this._children.includes(i)&&(this._children=this._children.filter(function(e){return e!==i})),i.cleanup()),this._viewModelInstances.set(e,t),t.addParent(this)}return r}return!1},e.prototype.replaceViewModel=function(e,t){var n,r=e.split("/"),i=r.length>1?this.viewModelFromPathSegments(r.slice(0,r.length-1),0):this;return null!==(n=null==i?void 0:i.internalReplaceViewModel(r[r.length-1],t))&&void 0!==n&&n},e.prototype.incrementReferenceCount=function(){var e;this._referenceCount++,null===(e=this._runtimeInstance)||void 0===e||e.incrementReferenceCount()},e.prototype.decrementReferenceCount=function(){var e;this._referenceCount--,null===(e=this._runtimeInstance)||void 0===e||e.decrementReferenceCount()},Object.defineProperty(e.prototype,"properties",{get:function(){var e;return(null===(e=this._runtimeInstance)||void 0===e?void 0:e.getProperties().map(function(e){return m({},e)}))||[]}
182,enumerable:!1,configurable:!0}),e.prototype.internalIncrementReferenceCount=function(){this._referenceCount++},e.prototype.cleanup=function(){var e,t=this;if(this._referenceCount--,this._referenceCount<=0){this.selfUnref&&(null===(e=this._runtimeInstance)||void 0===e||e.unref()),this._runtimeInstance=null,this.clearCallbacks(),this._propertiesWithCallbacks=[],this._viewModelInstances.forEach(function(e){e.cleanup()}),this._viewModelInstances.clear();var n=v([],this._children,!0);this._children.length=0;var r=v([],this._parents,!0);this._parents.length=0,n.forEach(function(e){e.removeParent(t)}),r.forEach(function(e){e.removeFromViewModelCallbacks(t)})}},e}(),Y=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(e){this._viewModelInstanceValue.value=e},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e(this.value)},t}(K=function(){function e(e,t){this.callbacks=[],this._viewModelInstanceValue=e,this._parentViewModel=t}return e.prototype.on=function(e){0===this.callbacks.length&&this._viewModelInstanceValue.clearChanges(),this.callbacks.includes(e)||(this.callbacks.push(e),this._parentViewModel.addToPropertyCallbacks(this))},e.prototype.off=function(e){e?this.callbacks=this.callbacks.filter(function(t){return t!==e}):this.callbacks.length=0,0===this.callbacks.length&&this._parentViewModel.removeFromPropertyCallbacks(this)},e.prototype.internalHandleCallback=function(e){},e.prototype.handleCallbacks=function(){var e=this;this._viewModelInstanceValue.hasChanged&&this.callbacks.forEach(function(t){e.internalHandleCallback(t)})},e.prototype.clearChanges=function(){this._viewModelInstanceValue.clearChanges()},e.prototype.clearCallbacks=function(){this.callbacks.length=0},Object.defineProperty(e.prototype,"name",{get:function(){return this._viewModelInstanceValue.name},enumerable:!1,configurable:!0}),e}()),X=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(e){this._viewModelInstanceValue.value=e},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e(this.value)},t}(K),Z=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(e){this._viewModelInstanceValue.value=e},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e(this.value)},t}(K),J=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),t.prototype.trigger=function(){return this._viewModelInstanceValue.trigger()},t.prototype.internalHandleCallback=function(e){e()},t}(K),Q=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(e){this._viewModelInstanceValue.value=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valueIndex",{get:function(){return this._viewModelInstanceValue.valueIndex},set:function(e){this._viewModelInstanceValue.valueIndex=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"values",{get:function(){return this._viewModelInstanceValue.values},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e(this.value)},t}(K),ee=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"length",{get:function(){return this._viewModelInstanceValue.size},enumerable:!1,configurable:!0}),t.prototype.addInstance=function(e){null!=e.runtimeInstance&&(this._viewModelInstanceValue.addInstance(e.runtimeInstance),e.addParent(this._parentViewModel))},t.prototype.addInstanceAt=function(e,t){return!!(null!=e.runtimeInstance&&this._viewModelInstanceValue.addInstanceAt(e.runtimeInstance,t))&&(e.addParent(this._parentViewModel),!0)},t.prototype.removeInstance=function(e){null!=e.runtimeInstance&&(this._viewModelInstanceValue.removeInstance(e.runtimeInstance),e.removeParent(this._parentViewModel))},t.prototype.removeInstanceAt=function(e){this._viewModelInstanceValue.removeInstanceAt(e)},t.prototype.instanceAt=function(e){var t=this._viewModelInstanceValue.instanceAt(e);if(null!=t){var n=new q(t,this._parentViewModel);return(0,p.createFinalization)(n,t),n}return null},t.prototype.swap=function(e,t){this._viewModelInstanceValue.swap(e,t)},t.prototype.internalHandleCallback=function(e){e()},t}(K),et=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{get:function(){return this._viewModelInstanceValue.value},set:function(e){this._viewModelInstanceValue.value=e}
182,enumerable:!1,configurable:!0}),t.prototype.rgb=function(e,t,n){this._viewModelInstanceValue.rgb(e,t,n)},t.prototype.rgba=function(e,t,n,r){this._viewModelInstanceValue.argb(r,e,t,n)},t.prototype.argb=function(e,t,n,r){this._viewModelInstanceValue.argb(e,t,n,r)},t.prototype.alpha=function(e){this._viewModelInstanceValue.alpha(e)},t.prototype.opacity=function(e){this._viewModelInstanceValue.alpha(Math.round(255*Math.max(0,Math.min(1,e))))},t.prototype.internalHandleCallback=function(e){e(this.value)},t}(K),en=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{set:function(e){var t;this._viewModelInstanceValue.value(null!==(t=null==e?void 0:e.nativeImage)&&void 0!==t?t:null)},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e()},t}(K),er=function(e){function t(t,n){return e.call(this,t,n)||this}return f(t,e),Object.defineProperty(t.prototype,"value",{set:function(e){var t,n,r;r=e.isBindableArtboard?e:e.file.internalBindableArtboardFromArtboard(e.nativeArtboard),this._viewModelInstanceValue.value(null!==(t=null==r?void 0:r.nativeArtboard)&&void 0!==t?t:null),(null==r?void 0:r.nativeViewModel)&&this._viewModelInstanceValue.viewModelInstance(null!==(n=null==r?void 0:r.nativeViewModel)&&void 0!==n?n:null)},enumerable:!1,configurable:!0}),t.prototype.internalHandleCallback=function(e){e()},t}(K),ei=function(e){return g(void 0,void 0,void 0,function(){return y(this,function(t){switch(t.label){case 0:return[4,fetch(new Request(e))];case 1:return[4,t.sent().arrayBuffer()];case 2:return[2,t.sent()]}})})},ea=function(e){return"string"==typeof e?[e]:e instanceof Array?e:[]},eo={EventManager:O,TaskQueueManager:R},es=function(e){return g(void 0,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return[4,new Promise(function(t){return E.getInstance(function(n){n.decodeAudio(e,t)})})];case 1:return t=r.sent(),n=new p.AudioWrapper(t),p.finalizationRegistry.register(n,t),[2,n]}})})},el=function(e){return g(void 0,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return[4,new Promise(function(t){return E.getInstance(function(n){n.decodeImage(e,t)})})];case 1:return t=r.sent(),n=new p.ImageWrapper(t),p.finalizationRegistry.register(n,t),[2,n]}})})},ec=function(e){return g(void 0,void 0,void 0,function(){var t,n;return y(this,function(r){switch(r.label){case 0:return[4,new Promise(function(t){return E.getInstance(function(n){n.decodeFont(e,t)})})];case 1:return t=r.sent(),n=new p.FontWrapper(t),p.finalizationRegistry.register(n,t),[2,n]}})})},eh})(),e.exports=t()},64662:(e,t,n)=>{"use strict";n.d(t,{W:()=>b});var r=n(65490),i=n(1712);function a(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var o=n(36551),s=n(74737),l=n(35092),c=n(51358);let u=l._.length,d=[...l.U].reverse(),p=l.U.length;function h(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function f(){return{animate:h(!0),whileInView:h(),whileHover:h(),whileTap:h(),whileDrag:h(),whileFocus:h(),exit:h()}}var m=n(3044);class g extends m.X{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(0,c._)(e,t,n))),n=f(),h=!0,m=t=>(n,r)=>{var i;let a=(0,s.K)(e,r,"exit"===t?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);if(a){let{transition:e,transitionEnd:t,...r}=a;n={...n,...r,...t}}return n};function g(s){let{props:c}=e,f=function e(t){if(!t)return;if(!t.isControllingVariants){let n=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(n.initial=t.props.initial),n}let n={};for(let e=0;e<u;e++){let r=l._[e],i=t.props[r];((0,o.w)(i)||!1===i)&&(n[r]=i)}return n}(e.parent)||{},g=[],y=new Set,v={},b=1/0;for(let t=0;t<p;t++){var x;let l=d[t],u=n[l],p=void 0!==c[l]?c[l]:f[l],w=(0,o.w)(p),j=l===s?u.isActive:null;!1===j&&(b=t);let C=p===f[l]&&p!==c[l]&&w;if(C&&h&&e.manuallyAnimateOnMount&&(C=!1),u.protectedKeys={...v},!u.isActive&&null===j||!p&&!u.prevProp||(0,r.N)(p)||"boolean"==typeof p)continue;let E=(x=u.prevProp,"string"==typeof p?p!==x:!!Array.isArray(p)&&!a(p,x)),k=E||l===s&&u.isActive&&!C&&w||t>b&&w,S=!1,A=Array.isArray(p)?p:[p],T=A.reduce(m(l),{});!1===j&&(T={});let{prevResolvedValues:_={}}=u,L={..._,...T},N=t=>{k=!0,y.has(t)&&(S=!0,y.delete(t)),u.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in L){let t=T[e],n=_[e];
182if(!v.hasOwnProperty(e))((0,i.p)(t)&&(0,i.p)(n)?a(t,n):t===n)?void 0!==t&&y.has(e)?N(e):u.protectedKeys[e]=!0:null!=t?N(e):y.add(e)}u.prevProp=p,u.prevResolvedValues=T,u.isActive&&(v={...v,...T}),h&&e.blockInitialAnimation&&(k=!1);let P=!(C&&E)||S;k&&P&&g.push(...A.map(e=>({animation:e,options:{type:l}})))}if(y.size){let t={};y.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null}),g.push({animation:t})}let w=!!g.length;return h&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(w=!1),h=!1,w?t(g):Promise.resolve()}return{animateChanges:g,setActive:function(t,r){var i;if(n[t].isActive===r)return Promise.resolve();null===(i=e.variantChildren)||void 0===i||i.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)}),n[t].isActive=r;let a=g(t);for(let e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=f(),h=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,r.N)(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}let y=0;class v extends m.X{constructor(){super(...arguments),this.id=y++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let b={animation:{Feature:g},exit:{Feature:v}}},65490:(e,t,n)=>{"use strict";function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{N:()=>r})},65811:(e,t)=>{"use strict";function n(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},65911:function(e,t,n){"use strict";var r=this&&this.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let a=i(n(20452)),o=n(35909);t.GoogleAnalytics=e=>{var t=r(e,[]);return(0,o.formatData)(a.default,t)}},66046:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});let r=e=>Math.round(1e5*e)/1e5},66048:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});let r=(0,n(73884).createContext)({strict:!1})},66056:(e,t,n)=>{"use strict";function r(e){}function i(e){let t=e.match(/<intent>([\s\S]+?)<\/intent>/);return t?t[1].trim():null}function a(e){return e.replace(/<intent>[\s\S]*?<\/intent>/g,"").trim()}n.d(t,{Ax:()=>a,Sl:()=>r,VT:()=>i})},66743:(e,t,n)=>{"use strict";var r=n(89353);e.exports=Function.prototype.bind||r},67549:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var r=n(38645),i=n(72443);function a(e,{layout:t,layoutId:n}){return i.f.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!r.H[e]||"opacity"===e)}},69143:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});let r=function(e){if(null==e)return a;
182if("function"==typeof e)return i(e);if("object"==typeof e)return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):i(function(t){let n;for(n in e)if(t[n]!==e[n])return!1;return!0});if("string"==typeof e)return i(function(t){return t&&t.type===e});throw Error("Expected function, string, or object as test")};function i(e){return function(t,n,r){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function a(){return!0}},69220:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,dt:()=>s,hp:()=>l,k7:()=>o});var r=n(58775),i=n(2050),a=n(34164);function o({className:e=""}){return(0,r.jsx)("svg",{fill:"none",width:"30",height:"10",viewBox:"168 -0.5 30 10",xmlns:"http://www.w3.org/2000/svg",className:e,children:(0,r.jsxs)("g",{fill:"currentColor",children:[(0,r.jsx)("path",{d:"m177 277-5-2.887v5.774zm0-274.4998-164-.00019v1l164 .00019zm-176.500001 12.4998-.000011 250h1.000002l.00001-250zm12.500001 262.5h159.5v-1h-159.5zm-12.500012-12.5c0 6.904 5.596432 12.5 12.500012 12.5v-1c-6.35128 0-11.50001-5.149-11.50001-11.5zm12.500012-262.49999c-6.90355-.00001-12.5 5.59643-12.500001 12.49999h1.000001c0-6.35127 5.14874-11.5 11.5-11.49999z"}),(0,r.jsx)("path",{d:"m189 3 5 2.88675v-5.773499zm0 274.5h164v-1h-164zm176.5-12.5v-250h-1v250zm-12.5-262.5h-159.5v1h159.5zm12.5 12.5c0-6.90356-5.596-12.5-12.5-12.5v1c6.351 0 11.5 5.14874 11.5 11.5zm-12.5 262.5c6.904 0 12.5-5.596 12.5-12.5h-1c0 6.351-5.149 11.5-11.5 11.5z"})]})})}function s({className:e=""}){return(0,r.jsxs)("svg",{fill:"none",width:"10",height:"30",viewBox:"-0.5 210 10 30",xmlns:"http://www.w3.org/2000/svg",className:e,children:[(0,r.jsx)("path",{d:"M367 232L364.113 237H369.887L367 232ZM2.5 232V420H3.5V232H2.5ZM27 444.5H343V443.5H27V444.5ZM367.5 420V236.5H366.5V420H367.5ZM343 444.5C356.531 444.5 367.5 433.531 367.5 420H366.5C366.5 432.979 355.979 443.5 343 443.5V444.5ZM2.5 420C2.5 433.531 13.469 444.5 27 444.5V443.5C14.0213 443.5 3.5 432.979 3.5 420H2.5Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M3 220L5.88675 215H0.113251L3 220ZM367.5 220V25H366.5V220H367.5ZM343 0.5H27V1.5H343V0.5ZM2.5 25V215.5H3.5V25H2.5ZM27 0.5C13.469 0.5 2.5 11.469 2.5 25H3.5C3.5 12.0213 14.0213 1.5 27 1.5V0.5ZM367.5 25C367.5 11.469 356.531 0.5 343 0.5V1.5C355.979 1.5 366.5 12.0213 366.5 25H367.5Z",fill:"currentColor"})]})}let l={"Black / 10":{border:"border-black/10",text:"!text-black/10"},"White / 45":{border:"border-white/[.45]",text:"!text-white/[.45]"},"Primary / Coral":{border:"border-coral-primary",text:"!text-coral-primary"},"Primary / Lilac":{border:"border-lilac-primary",text:"!text-lilac-primary"},"Primary / Lime":{border:"border-lime-primary",text:"!text-lime-primary"},"Pastel / Coral":{border:"border-coral-pastel",text:"!text-coral-pastel"},"Pastel / Lilac":{border:"border-lilac-pastel",text:"!text-lilac-pastel"},"Pastel / Lime":{border:"border-lime-pastel",text:"!text-lime-pastel"},"Pastel / Grey":{border:"border-grey-pastel",text:"!text-grey-pastel"},"Light / Coral":{border:"border-coral-light/[.4]",text:"!text-coral-light/[.4]"},"Light / Lilac":{border:"border-lilac-light/[.4]",text:"!text-lilac-light/[.4]"},"Light / Lime":{border:"border-lime-light/[.4]",text:"!text-lime-light/[.4]"},"Light / Grey":{border:"border-grey-light/[.4]",text:"!text-grey-light/[.4]"},"Dark / Red":{border:"border-coral-primary",text:"!text-coral-primary"},"Dark / Purple":{border:"border-lilac-primary",text:"!text-lilac-primary"},"Dark / Pine":{border:"border-lime-primary",text:"!text-lime-primary"},"Deep / Burgundy":{border:"border-coral-primary",text:"!text-coral-primary"},"Deep / Forest":{border:"border-lime-light",text:"!text-lime-light"},"Deep / Midnight":{border:"border-lilac-light",text:"!text-lilac-light"},Lime:{border:"border-lime-deep",text:"!text-lime-deep"}},c=function({hasHorizontalArrows:e=!1,hasVerticalArrows:t=!1,borderColor:n="Pastel / Grey",sectionBackgroundColor:c="White",children:u,className:d=""}){return(0,r.jsxs)("div",{className:(0,a.A)("relative rounded-xl border",l[n]?.border,d),children:[u,e&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(o,{className:(0,a.A)("absolute -top-1 left-1/2 !m-0 -translate-x-1/2",l[n]?.text,(0,i.Ay)(c))}),(0,r.jsx)(o,{className:(0,a.A)("absolute -bottom-1 left-1/2 !m-0 -translate-x-1/2 rotate-180",l[n]?.text,(0,i.Ay)(c))})]}),t&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s,{className:(0,a.A)("absolute -left-1 top-1/2 !m-0 -translate-y-1/2",l[n]?.text,(0,i.Ay)(c))}),(0,r.jsx)(s,{className:(0,a.A)("absolute -right-1 top-1/2 !m-0 -translate-y-1/2 rotate-180",l[n]?.text,(0,i.Ay)(c))})]})]})}},69373:(e,t,n)=>{"use strict";n.d(t,{A:()=>d,c:()=>p});var r=n(58775),i=n(30200),a=n(9483),o=n(98722),s=n.n(o),l=n(73884),c=n.n(l),u=n(8338);let d=c().memo(function({menu:e}){let[t,n]=(0,l.useState)(null),[i,a]=(0,l.useState)(!0),o=(0,l.useRef)(null),s=e=>{o.current&&clearTimeout(o.current),n(e)};return(0,r.jsx)("ul",{onMouseEnter:()=>a(!0),onMouseLeave:()=>{a(!1),o.current=setTimeout(()=>{n(null)},300)},children:e?.map((e,n)=>r.jsx(u.P.li,{children:r.jsx(h,{item:e,i:n,onMouseEnter:()=>s(n),active:t,containerHovered:i})},n))})}),p=c().memo(function({menu:e,inline:t=!1}){return(0,r.jsx)("ul",{className:`${t?"":"lg:pl-[1.75rem]"}`,children:e?.map((e,t)=>r.jsx("li",{children:r.jsxs(s(),{className:"group flex items-center p-1 max-lg:justify-between max-lg:space-x-3 max-lg:px-0",href:e?.externalUrl||e?.pageLink||"#",target:e?.externalUrl?"_blank":"",children:[r.jsx("span",{className:"text-14",dangerouslySetInnerHTML:{__html:e?.title}}
182),r.jsx("div",{className:"w-4 shrink-0 transform transition-transform md:mt-px md:group-hover:translate-x-0.5","aria-hidden":!0,children:r.jsx(a.c_,{})})]})},t))})}),h=c().memo(function({item:e,i:t,onMouseEnter:n,active:o,containerHovered:l}){return(0,r.jsxs)(u.P.div,{className:"group relative flex items-center py-[0.513rem] md:justify-between lg:px-[0.625rem]",onMouseEnter:n,children:[(0,r.jsx)(u.P.div,{initial:{transform:"scale(1)"},animate:{transform:l?"scale(1)":"scale(0)"},className:"absolute inset-0 z-0 !origin-bottom-left",children:(0,r.jsx)(u.P.div,{initial:{transform:null===o?"scale(0)":"scale(1)"},animate:{transform:null!==o?"scale(1)":"scale(0)"},className:"absolute inset-0 z-0 !origin-bottom-left",children:o===t&&(0,r.jsx)(u.P.div,{layoutId:"platform-item-hover",className:"absolute inset-0 z-0 hidden rounded bg-paleGrey lg:block"})})}),(0,r.jsxs)("div",{className:"z-10 flex items-center",children:[e?.icon?.fields?.file?.url?.length>0&&(0,r.jsx)("div",{className:"relative mr-[0.625rem] h-4 w-4 flex-shrink-0 rounded-[0.125rem]",children:(0,r.jsx)(i.A,{image:e?.icon,alt:"",className:"h-full w-full object-contain"})}),(0,r.jsx)(s(),{href:e?.externalUrl||e?.pageLink||"#",target:e?.externalUrl&&!e?.externalUrl?.startsWith("/")?"_blank":"",className:"heading-link",children:(0,r.jsx)("span",{className:"text-14 mr-1",dangerouslySetInnerHTML:{__html:e?.title}})})]}),(0,r.jsx)("div",{className:"pointer-events-none z-20 ml-2 w-[.6rem] flex-shrink-0 transform transition-transform duration-200 max-lg:hidden md:ml-6 md:group-hover:translate-x-1","aria-hidden":!0,children:(0,r.jsx)(a.Ay,{})}),(0,r.jsx)("div",{className:"pointer-events-none !ml-auto w-4 flex-shrink-0 lg:hidden","aria-hidden":!0,children:(0,r.jsx)(a.c_,{})})]})})},69383:e=>{"use strict";e.exports=Error},69675:e=>{"use strict";e.exports=TypeError},69723:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var r=n(58775),i=n(30200),a=n(57155),o=n(73884),s=n(58638),l=n(86297),c=n(8338),u=n(34164);function d({logos:e=[],amountShown:t=4,layout:n="Small"}){let[d,p]=(0,o.useState)([]),[h,f]=(0,o.useState)(null),m=(0,a.A)("(max-width: 640px)")?4:t,g=(0,s.I)(),y=(0,o.useMemo)(()=>0===e.length?[]:Array(Math.ceil(m/e.length)).fill(e).flat().slice(0,2*m),[e,m]),v=(0,o.useCallback)(e=>{let t=new Set(e.map(e=>e?.sys?.id)),n=y.filter(e=>e&&e.sys&&!t.has(e.sys.id));return n.length>0?n[Math.floor(Math.random()*n.length)]:null},[y]);(0,o.useEffect)(()=>{p(y.slice(0,m))},[y,m]),(0,o.useEffect)(()=>{let e;return g||(e=setInterval(()=>{f(Math.floor(Math.random()*m))},3e3)),()=>{e&&clearInterval(e)}},[m,g]),(0,o.useEffect)(()=>{if(null!==h&&!g){let e=v(d);e&&p(t=>{let n=[...t];return n[h]=e,n}),f(null)}},[h,v,d,g]);let b=(0,o.useMemo)(()=>g?{visible:{opacity:1}}:{hidden:{opacity:0,scale:0},visible:{opacity:1,scale:1}},[g]),x=(0,o.useMemo)(()=>({type:"spring",damping:19,stiffness:200}),[]),w={Small:"max-h-[20px]",Medium:"max-h-[30px]",Big:"max-h-[40px]"};return(0,r.jsx)("div",{className:(0,u.A)("-ml-8 flex items-center justify-between md:min-h-10",{Small:"min-h-[30px]",Medium:"min-h-[40px]",Big:"min-h-[50px]"}[n]),children:d.map((e,t)=>(0,r.jsx)(l.N,{mode:"wait",children:e&&e.sys&&(0,r.jsx)(c.P.div,{initial:g?"visible":"hidden",animate:"visible",exit:g?"visible":"hidden",variants:b,transition:x,className:"flex items-center justify-center pl-8",style:{width:"100%",aspectRatio:"92/26"},children:(0,r.jsx)(i.A,{image:e,className:(0,u.A)("h-full w-full scale-90 object-contain sm:scale-100 md:max-w-[90%]",w[n])})},`logo-${e.sys.id}-${t}`)},`logo-container-${t}`))})}},69896:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});let r=e=>!!(e&&e.getVelocity)},70453:(e,t,n)=>{"use strict";var r,i=n(69383),a=n(41237),o=n(79290),s=n(79538),l=n(58068),c=n(69675),u=n(35345),d=Function,p=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(e){}},h=Object.getOwnPropertyDescriptor;if(h)try{h({},"")}catch(e){h=null}var f=function(){throw new c},m=h?function(){try{return arguments.callee,f}catch(e){try{return h(arguments,"callee").get}catch(e){return f}}}():f,g=n(64039)(),y=n(80024)(),v=Object.getPrototypeOf||(y?function(e){return e.__proto__}:null),b={},x="undefined"!=typeof Uint8Array&&v?v(Uint8Array):r,w={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&v?v([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":b,"%AsyncGenerator%":b,"%AsyncGeneratorFunction%":b,"%AsyncIteratorPrototype%":b,"%Atomics%":"undefined"==typeof Atomics?r:Atom
vendor: 6,901 bytes, line 182
182ics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":b,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&v?v(v([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&v?v(new Map()[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&v?v(new Set()[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&v?v(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":x,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(v)try{null.error}catch(e){var j=v(v(e));w["%Error.prototype%"]=j}var C=function e(t){var n;if("%AsyncFunction%"===t)n=p("async function () {}");else if("%GeneratorFunction%"===t)n=p("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=p("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&v&&(n=v(i.prototype))}return w[t]=n,n},E={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},k=n(66743),S=n(9957),A=k.call(Function.call,Array.prototype.concat),T=k.call(Function.apply,Array.prototype.splice),_=k.call(Function.call,String.prototype.replace),L=k.call(Function.call,String.prototype.slice),N=k.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,M=function(e){var t=L(e,0,1),n=L(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return _(e,P,function(e,t,n,i){r[r.length]=n?_(i,I,"$1"):t||e}),r},O=function(e,t){var n,r=e;if(S(E,r)&&(r="%"+(n=E[r])[0]+"%"),S(w,r)){var i=w[r];if(i===b&&(i=C(r)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:i}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===N(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=M(e),r=n.length>0?n[0]:"",i=O("%"+r+"%",t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],T(n,A([0,1],u)));for(var d=1,p=!0;d<n.length;d+=1){var f=n[d],m=L(f,0,1),g=L(f,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new l("property names with quotes must have matching quotes");if("constructor"!==f&&p||(s=!0),r+="."+f,S(w,a="%"+r+"%"))o=w[a];
182else if(null!=o){if(!(f in o)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(h&&d+1>=n.length){var y=h(o,f);o=(p=!!y)&&"get"in y&&!("originalValue"in y.get)?y.get:o[f]}else p=S(o,f),o=o[f];p&&!s&&(w[a]=o)}}return o}},70572:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var r=n(28844);let i=e=>e&&"object"==typeof e&&e.mix,a=e=>i(e)?e.mix:void 0;var o=n(74123),s=n(28601),l=n(24785);function c(e,t,n,i){if("function"==typeof e)return function(e){l.bt.current=[],e();let t=(0,o.j)(l.bt.current,e);return l.bt.current=void 0,t}(e);let s="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,i=e[0+n],o=e[1+n],s=e[2+n],l=e[3+n],c=(0,r.G)(o,s,{mixer:a(s[0]),...l});return t?c(i):c}(t,n,i);return Array.isArray(e)?u(e,s):u([e],([e])=>s(e))}function u(e,t){let n=(0,s.M)(()=>[]);return(0,o.j)(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}},71231:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(58775);let i=function({htmlBlock:e,className:t}){return e?(0,r.jsx)("div",{className:t,dangerouslySetInnerHTML:{__html:e}}):null}},71497:e=>{e.exports={style:{fontFamily:"'__Inter_697da2', '__Inter_Fallback_697da2'"},className:"__className_697da2",variable:"__variable_697da2"}},71830:(e,t,n)=>{"use strict";n.d(t,{$:()=>U});var r=n(3044),i=n(41533),a=n(8104),o=n(23033),s=n(77331),l=n(63998),c=n(71912);function u(e,t,n,r){return(0,l.k)(e,t,(0,c.F)(n),r)}let d=(e,t)=>Math.abs(e-t);var p=n(91339),h=n(10104);class f{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=y(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){return Math.sqrt(d(e.x,t.x)**2+d(e.y,t.y)**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=h.uv;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=m(t,this.transformPagePoint),h.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=y("pointercancel"===e.type?this.lastMoveEventInfo:m(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!(0,o.Mc)(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let a=m((0,c.e)(e),this.transformPagePoint),{point:s}=a,{timestamp:l}=h.uv;this.history=[{...s,timestamp:l}];let{onSessionStart:f}=t;f&&f(e,y(a,this.history)),this.removeListeners=(0,p.F)(u(this.contextWindow,"pointermove",this.handlePointerMove),u(this.contextWindow,"pointerup",this.handlePointerUp),u(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,h.WG)(this.updatePoint)}}function m(e,t){return t?{point:t(e.point)}:e}function g(e,t){return{x:e.x-t.x,y:e.y-t.y}}function y({point:e},t){return{point:e,delta:g(e,v(t)),offset:g(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=v(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>(0,s.f)(.1)));)n--;if(!r)return{x:0,y:0};let a=(0,s.X)(i.timestamp-r.timestamp);if(0===a)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,0)}}function v(e){return e[e.length-1]}var b=n(83953),x=n(86896),w=n(55120),j=n(42464),C=n(39713);function E(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function k(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function S(e,t,n){return{min:A(e,t),max:A(e,n)}}function A(e,t){return"number"==typeof e?e:e[t]||0}var T=n(54106),_=n(75338),L=n(94805),N=n(38448),P=n(55269),I=n(43206);let M=({current:e})=>e?e.ownerDocument.defaultView:null;var O=n(59194);let R=new WeakMap;class D{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=(0,T.ge)(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let{dragSnapToOrigin:r}=this.getProps();this.panSession=new f(e,{onSessionStart:e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor((0,c.e)(e).point)},onStart:(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,o.Wp)(n),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,_.X)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(P.KN.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];if(r){let e=(0,w.CQ)(r);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),i&&h.Gt.postRender(()=>i(e,t)),(0,O.g)(this.visualElement,"transform");let{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},onMove:(e,t)=>
182{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),a&&a(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>(0,_.X)(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:M(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&h.Gt.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!B(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?(0,C.k)(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?(0,C.k)(n,e,r.max):Math.min(e,n)),e}(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,i=this.constraints;t&&(0,b.X)(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:E(e.x,n,i),y:E(e.y,t,r)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:S(e,"left","right"),y:S(e,"top","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&(0,_.X)(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!(0,b.X)(t))return!1;let r=t.current;(0,a.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=(0,L.L)(r,i.root,this.visualElement.getTransformPagePoint()),s={x:k((e=i.layout.layoutBox).x,o.x),y:k(e.y,o.y)};if(n){let e=n((0,N.pA)(s));this.hasMutatedConstraints=!!e,e&&(s=(0,N.FY)(e))}return s}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{};return Promise.all((0,_.X)(o=>{if(!B(o,t,this.currentDirection))return;let l=s&&s[o]||{};a&&(l={min:0,max:0});let c={type:"inertia",velocity:n?e[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,c)})).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return(0,O.g)(this.visualElement,e),n.start((0,I.f)(e,n,0,t,this.visualElement,!1))}stopAnimation(){(0,_.X)(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){(0,_.X)(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){(0,_.X)(t=>{let{drag:n}=this.getProps();if(!B(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t];i.set(e[t]-(0,C.k)(n,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!(0,b.X)(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};(0,_.X)(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let n=t.get();r[e]=function(e,t){let n=.5,r=(0,w.CQ)(e),i=(0,w.CQ)(t);return i>r?n=(0,x.q)(t.min,t.max-r,e.min):r>i&&(n=(0,x.q)(e.min,e.max-i,t.min)),(0,j.q)(0,1,n)}({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),(0,_.X)(t=>{if(!B(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set((0,C.k)(i,a,r[t]))})}addListeners(){if(!this.visualElement.current)return;R.set(this.visualElement,this);let e=u(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:n=!0}
182=this.getProps();t&&n&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();(0,b.X)(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),h.Gt.read(t);let i=(0,l.k)(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,_.X)(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),a&&a()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}}function B(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class F extends r.X{constructor(e){super(e),this.removeGroupControls=i.l,this.removeListeners=i.l,this.controls=new D(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||i.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let H=e=>(t,n)=>{e&&h.Gt.postRender(()=>e(t,n))};class V extends r.X{constructor(){super(...arguments),this.removePointerDownListener=i.l}onPointerDown(e){this.session=new f(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:M(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:H(e),onStart:H(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&h.Gt.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=u(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var $=n(80152);let U={pan:{Feature:V},drag:{Feature:F,ProjectionNode:n(80939).P,MeasureLayout:$.$}}},71912:(e,t,n)=>{"use strict";n.d(t,{F:()=>a,e:()=>i});var r=n(23033);function i(e){return{point:{x:e.pageX,y:e.pageY}}}let a=e=>t=>(0,r.Mc)(t)&&e(t,i(t))},72027:(e,t,n)=>{"use strict";n.d(t,{V:()=>s});var r=n(82944),i=n(55269),a=n(66046),o=n(18521);let s={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+i.KN.transform((0,a.a)(t))+", "+i.KN.transform((0,a.a)(n))+", "+(0,a.a)(r.X4.transform(o))+")"}},72443:(e,t,n)=>{"use strict";n.d(t,{U:()=>r,f:()=>i});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],i=new Set(r)},72534:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return a(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function a(e,t,n){if(e&&"object"==typeof e){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return o(e.children,t,n)}return Array.isArray(e)?o(e,t,n):""}function o(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=a(e[i],t,n);return r.join("")}},73420:(e,t,n)=>{"use strict";n.d(t,{E4:()=>o,Hr:()=>p,W9:()=>d});var r=n(82944),i=n(55269),a=n(72443);let o=e=>e===r.ai||e===i.px,s=(e,t)=>parseFloat(e.split(", ")[t]),l=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return s(i[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?s(t[1],e):0}},c=new Set(["x","y","z"]),u=a.U.filter(e=>!c.has(e));function d(e){let t=[];return u.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}let p={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:l(4,13),y:l(5,14)};p.translateX=p.x,p.translateY=p.y}
182,74123:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(63295),i=n(25128),a=n(10104);function o(e,t){let n=(0,r.d)(t()),o=()=>n.set(t());return o(),(0,i.E)(()=>{let t=()=>a.Gt.preRender(o,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,a.WG)(o)}}),n}},74160:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/EntryLinkBlock","definitions":{"EntryLinkBlock":{"type":"object","properties":{"nodeType":{"type":"string","enum":["embedded-entry-block"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/Link<\\"Entry\\">"}},"additionalProperties":false,"required":["target"]},"content":{"maxItems":0,"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Link<\\"Entry\\">":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["Link"]},"linkType":{"type":"string","enum":["Entry"]},"id":{"type":"string"}},"additionalProperties":false,"required":["id","linkType","type"]}},"additionalProperties":false,"required":["sys"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},74614:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>rE,R1:()=>rj});var r=n(58775),i=n(2050),a=n(57608),o=n(46184),s=n(19356),l=n(73884),c=n.n(l),u=n(82037),d=n(8338);let p={H0:"text-h1 is-large",H1:"text-h1",H2:"text-h2",H3:"text-h3",H4:"text-h4",H5:"text-h5",H6:"text-h6",H7:"text-h7"},h={"22px":"lg:prose-p:text-[1.375rem]","20px":"lg:prose-p:text-[1.25rem]","18px":"","16px":"prose-p:text-[1rem]"};function f(e){let{subheading:t,heading:n,buttons:i,headingMaxWidth:l,content:c,subheadingBackgroundColor:u,headingFontSize:d,headingTag:f,contentFontSize:g,contentMaxWidth:y,mobileContentMaxWidth:v,contentClassName:b="",textAlignment:x="",mobileTextAlignment:w="",showRatings:j=!1,className:C="",hasExtraInnerSpacing:E=!1,isTwoCol:k=!1,isDefault:S=!1,tags:A=[],tagsBackgroundColor:T}=e,_=f?.toLowerCase()??"h2",L=d&&"H3"!==d&&"H2"!==d&&"H1"!==d?"space-y-3":"space-y-4",N=`flex flex-col ${L} ${{Left:w&&"text-left",Center:w&&"text-center max-md:items-center",Right:w&&"text-right"}[w]||""} ${{Left:w?"md:text-left":"text-left",Center:w?"md:text-center":"text-center",Right:w?"md:text-right":"text-right"}[x]} ${"Center"===x?"items-center":"items-start"} ${C}`,P=`${p[d??"H2"]} ${t&&(d&&"H2"!==d&&"H1"!==d?"":"lg:!mt-8")}`,I=`${h[g??"18px"]} ${b} prose-p:leading-[1.4]`;return(0,r.jsxs)("div",{className:`text-card ${N} ${k&&S&&!y?"max-w-[25.475rem]":""}`,children:[j&&(0,r.jsx)(s.A,{className:"mb-1 sm:mb-3"}),t&&(u?(0,r.jsx)(m,{subheading:t,subheadingBackgroundColor:u}):(0,r.jsx)("span",{className:"text-16 font-medium !leading-[1.15] opacity-80",dangerouslySetInnerHTML:{__html:t}})),A&&A.length>0&&(0,r.jsx)("div",{className:"flex flex-wrap gap-x-4",children:A.map((e,t)=>T?(0,r.jsx)(m,{subheading:e,subheadingBackgroundColor:T},t):(0,r.jsx)("span",{className:"text-16 font-medium !leading-[1.15] opacity-80",dangerouslySetInnerHTML:{__html:e}},t))}),n&&(0,r.jsx)(_,{className:P,dangerouslySetInnerHTML:{__html:n},style:{maxWidth:l??void 0}}),c&&(0,r.jsx)("div",{className:"w-full max-w-full",style:{maxWidth:y??void 0},children:(0,r.jsx)(a.A,{className:I,content:c})}),i?.length>0&&(0,r.jsx)("div",{className:"!mt-5 flex flex-row flex-wrap items-center gap-3 md:gap-4 md:!mt-8",children:i.map(e=>(0,r.jsx)(o.A,{...e}
182,e?.id))})]})}function m({subheading:e,subheadingBackgroundColor:t}){let n=(0,l.useRef)(null),a=(0,u.W)(n,{once:!0,margin:"0px 0px -25% 0px"});return(0,r.jsx)(d.P.span,{layout:!0,style:{borderRadius:4},ref:n,className:`text-14 mb-1 inline-block h-[26px] min-w-6 overflow-hidden px-2.5 py-1.5 font-medium !leading-none md:mb-3 ${(0,i.Ay)(t?.name)}`,children:a&&(0,r.jsx)(d.P.span,{initial:{opacity:0},animate:{opacity:1},transition:{duration:.3,delay:.1},layout:"position",className:"inline-block",dangerouslySetInnerHTML:{__html:e}})})}var g=n(5293),y=n(27784),v=n(69220),b=n(34164),x=n(90777),w=n(49604);let j=function({textCard:e,asset:t,sectionBG:n,logoStrip:i,layout:a}){let o="Two Column With Border"===a,{width:s}=(0,w.A)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,b.A)("grid md:flex md:justify-between md:space-x-6",o?"gap-y-5 max-md:-mt-6 md:items-stretch":"gap-y-10 md:items-center"),children:[(0,r.jsx)(C,{textCard:e,hasBorders:o,sectionBG:n}),(0,r.jsxs)("div",{className:(0,b.A)("relative overflow-hidden rounded-lg",s<640&&t?.mobileAspectRatio?.length>0?t?.mobileAspectRatio:t?.aspectRatio??t?.mobileAspectRatio??(o?"aspect-[107/113]":"aspect-[293/245]"),o?"md:w-1/2":"md:w-[52%] md:max-w-[36.625rem]"),children:[(0,r.jsx)(g.Ay,{...t,isPriority:!0,isFill:!0}),!o&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.A,{colour:n?.name||"White",position:"topLeft",radius:12,children:(0,r.jsx)("div",{className:"aspect-[41/21] h-8 md:h-[2.625rem]"})}),(0,r.jsx)(x.A,{colour:n?.name||"White",position:"bottomRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[5/1] h-6 md:h-8"})})]})]})]}),i&&(0,r.jsx)(y.A,{...i,logos:i.items,isHeadingCentered:!0,className:"w-full md:!space-y-10"})]})};function C({textCard:e,hasBorders:t,sectionBG:n}){let a=rj(),o=(0,i.iQ)(a?.backgroundColor?.name||"White");return t?(0,r.jsx)(v.Ay,{className:"relative flex shrink-0 items-center rounded-[1.5rem] p-5 pt-6 md:w-[52%] md:p-8 lg:max-w-[36.25rem] lg:px-[3.75rem]",sectionBackgroundColor:n?.name,borderColor:o,hasHorizontalArrows:!0,children:(0,r.jsx)(f,{...e})}):(0,r.jsx)("div",{className:"max-w-[29.375rem] md:w-[42%]",children:(0,r.jsx)(f,{...e})})}var E=n(7306);function k({textCard:e,asset:t,logoStrip:n,layout:i="Two Column Offscreen",cta:a}){let o=rj(),{width:s}=(0,w.A)(),l="Two Column With CTA"===i;return(0,r.jsxs)("div",{className:`grid grid-cols-1 pt-10 md:grid-cols-2 md:pt-12 ${l?"gap-x-8 gap-y-8 sm:pb-8 md:items-center":"gap-8 sm:pb-14 md:items-end md:gap-24 lg:pb-28"}`,children:[(0,r.jsxs)("div",{className:"md:pb-4",children:[(0,r.jsx)("div",{className:`flex flex-1 flex-col justify-center ${l?"":"mb-8 md:mb-16"}`,children:(0,r.jsx)(f,{...e})}),!l&&(0,r.jsx)("div",{className:"md:pr-8",children:(0,r.jsx)(y.A,{...n,isHome:!0})})]}),(0,r.jsx)("div",{className:"w-full",children:(0,r.jsxs)("div",{className:`space-y-[24px] ${l?"ml-auto mr-0 md:max-w-[461px]":""}`,children:[(0,r.jsxs)("div",{className:"relative flex h-full w-full flex-col rounded-xl bg-coral-dark/20",children:[(0,r.jsx)(g.Ay,{...t,isPriority:!0,videoButtonColor:"Blurred White"}),(0,r.jsx)(x.A,{colour:o?.backgroundColor?.name,position:"topRight",radius:s>=640?12:8,children:(0,r.jsx)("div",{className:"aspect-[80/32] h-4 sm:aspect-[120/32] sm:h-6 lg:h-8"})}),(0,r.jsx)(x.A,{colour:o?.backgroundColor?.name,position:"bottomLeft",radius:12,hideOnMobile:!0,children:(0,r.jsx)("div",{className:"aspect-[120/64] h-10 lg:h-16"})})]}),l&&(0,r.jsx)("div",{className:"flex flex-col items-center justify-center",children:(0,r.jsx)(E.A,{...a,layout:"Inline Small"})})]})}),l&&(0,r.jsx)("div",{className:"md:col-span-2",children:(0,r.jsx)(y.A,{...n,isHome:!0,isInline:!0,inlineHeadingMaxWidth:"md:max-w-[488px]"})})]})}var S=n(60779),A=n(57637),T=n(98722),_=n.n(T);function L({asset:e,form:t,isShort:n=!1,isWider:i=!1}){let a=rj();return(0,r.jsx)("div",{className:"h-full w-full grow rounded-xl md:col-span-3 md:mx-auto lg:col-span-1",children:(0,r.jsxs)("div",{className:`relative flex items-center justify-center px-6 py-8 lg:px-6 2xl:py-20 ${n?"md:min-h-[38.4375rem]":"md:h-full md:min-h-[44.875rem]"}`,children:[(0,r.jsxs)("div",{className:"absolute inset-0",children:[(0,r.jsx)(g.Ay,{...e,className:"overflow-hidden rounded-xl",isFill:!0}),(0,r.jsxs)("div",{className:"absolute inset-0 max-2xl:hidden",children:[(0,r.jsx)(x.A,{colour:a?.backgroundColor?.name||"White",position:"topLeft",radiu
182s:12,children:(0,r.jsx)("div",{className:"aspect-[46/15] h-4 sm:h-8"})}),(0,r.jsx)(x.A,{colour:a?.backgroundColor?.name||"White",position:"bottomRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[79/21] h-5 sm:h-10"})})]})]}),(0,r.jsx)("div",{className:"relative z-10 flex w-full flex-col items-center justify-center",children:(0,r.jsx)("div",{className:"w-full max-w-[465px]",children:(0,r.jsx)(A.A,{...t})})})]})})}var N=n(69723);let P={"One Column":function({textCard:e,asset:t,logoStrip:n}){return rj(),(0,r.jsxs)("div",{children:[(0,r.jsx)(f,{...e}),(0,r.jsx)("div",{className:"mt-8 md:mt-12",children:(0,r.jsx)(g.Ay,{...t,isPriority:!0})}),n&&(0,r.jsx)("div",{className:"mt-8",children:(0,r.jsx)(y.A,{...n,logos:n.items,isHeadingCentered:!0,className:"w-full md:!space-y-10"})})]})},"One Column With Arrow Border":function({textCard:e,borderColour:t}){let n=rj(),a=(0,l.useRef)(null),o=(0,u.W)(a);return(0,r.jsxs)("div",{ref:a,className:(0,b.A)("relative rounded-lg md:rounded-xl",(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name)),children:[(0,r.jsxs)("div",{className:"relative flex",children:[(0,r.jsxs)("div",{className:(0,b.A)("relative z-10 border-b",(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name)),children:[(0,r.jsx)("div",{className:"aspect-[60/40] h-8 md:aspect-[132/40] md:h-10"}),(0,r.jsx)("div",{className:(0,b.A)("bordered-corner bordered-corner-xl bottom-left",(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name))}),(0,r.jsx)("div",{className:(0,b.A)("bordered-corner bordered-corner-xl bottom-right",(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name))})]}),(0,r.jsx)("div",{className:(0,b.A)("flex-1 rounded-tl-lg rounded-tr-lg border-l border-r border-t md:rounded-tl-xl md:rounded-tr-xl",(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name))}),(0,r.jsx)(v.k7,{className:(0,b.A)("absolute -top-[0.188rem] left-1/2 transition-transform delay-500 duration-500 ease-in-out",o?"-translate-x-1/2":"-translate-x-[calc(50%-40px)]",t?(0,i.Xy)(t):v.hp[n?.backgroundColor?.name]?.text,(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name))})]}),(0,r.jsx)("div",{className:(0,b.A)("w-full border-x px-6 py-2 sm:px-8 md:py-10 xl:py-14",(0,i.AS)(t||n?.backgroundColor?.name)),children:(0,r.jsx)(f,{...e})}),(0,r.jsxs)("div",{className:"relative flex",children:[(0,r.jsx)("div",{className:(0,b.A)("flex-1 rounded-bl-lg rounded-br-lg border-b border-l border-r md:rounded-bl-xl md:rounded-br-xl",(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name))}),(0,r.jsxs)("div",{className:(0,b.A)("relative z-10 border-t",(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name)),children:[(0,r.jsx)("div",{className:"aspect-[60/40] h-8 md:aspect-[250/40] md:h-10"}),(0,r.jsx)("div",{className:(0,b.A)("bordered-corner bordered-corner-xl top-left",(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name))}),(0,r.jsx)("div",{className:(0,b.A)("bordered-corner bordered-corner-xl top-right",(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name))})]}),(0,r.jsx)(v.k7,{className:(0,b.A)("absolute -bottom-[0.188rem] left-1/2 rotate-180 transition-transform delay-500 duration-500 ease-in-out",o?"-translate-x-1/2":"-translate-x-[calc(50%+40px)]",t?(0,i.Xy)(t):v.hp[n?.backgroundColor?.name]?.text,(0,i.AS)(t||n?.backgroundColor?.name),(0,i.Ay)(n?.backgroundColor?.name))})]})]})},"Two Column":j,"Two Column With Border":j,"Two Column Offscreen":k,"Two Column With CTA":k,"Two Column With Hidden Asset Mobile":function({textCard:e,asset:t,sectionBG:n,logoStrip:i}){return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:(0,b.A)("items-center gap-x-6 md:flex"),children:[(0,r.jsx)("div",{className:"flex-1",children:(0,r.jsx)(f,{...e})}),(0,r.jsx)("div",{className:(0,b.A)("relative w-1/3 shrink-0 overflow-hidden max-md:hidden"),children:(0,r.jsx)(g.Ay,{...t,className:"ml-auto",isPriority:!0})})]}),i&&(0,r.jsx)(y.A,{...i,logos:i.items,isHeadingCentered:!0,className:"w-full md:!space-y-10"})]})},"Form: Get a Demo":function(e){let{textCard:t,asset:n,logoStrip:i,form:a}=e;return(0,r.jsx)("div",{className:"flex min-h-screen items-center px-6 md:min-
182h-screen",children:(0,r.jsxs)("div",{className:"grid h-full w-full gap-x-8 gap-y-12 py-12 md:grid-cols-5 md:items-center md:py-6 lg:grid-cols-2",children:[(0,r.jsxs)("div",{className:"flex flex-col items-start md:col-span-2 md:max-w-md md:items-center lg:col-span-1 lg:mx-auto",children:[(0,r.jsxs)("div",{className:"space-y-6 md:space-y-12",children:[(0,r.jsx)(_(),{href:"/",className:"inline-block w-full max-w-28 text-coral-dark",children:(0,r.jsx)(S.A,{})}),(0,r.jsx)(f,{...t})]}),(0,r.jsx)("div",{className:"mt-4 w-full max-w-full overflow-hidden max-md:w-[calc(100vw-3rem)] md:mt-0 md:pt-8",children:(0,r.jsx)(y.A,{...i})})]}),(0,r.jsx)(L,{asset:n,form:a,isWider:!0})]})})},"Form: Product Tour":function(e){let{textCard:t,asset:n,form:i}=e;return(0,r.jsxs)("div",{className:"grid gap-y-6 md:grid-cols-2 md:gap-x-6",children:[(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"md:max-w-[30.3125rem]",children:(0,r.jsx)(f,{...t})})}),(0,r.jsx)(L,{asset:n,form:i,isShort:!0})]})},Capabilities:function({textCard:e,asset:t,logoStrip:n}){return(0,r.jsxs)("div",{className:"space-y-8 md:space-y-20",children:[(0,r.jsxs)("div",{className:"grid-cols-1 items-end space-y-10 lg:grid lg:space-y-0",children:[(0,r.jsx)("div",{className:"relative col-start-1 row-start-1 w-full lg:max-w-[47rem]",children:e&&(0,r.jsx)(f,{...e,contentMaxWidth:e?.contentMaxWidth||"603px"})}),(0,r.jsx)("div",{className:"col-start-1 row-start-1 w-full lg:min-h-11 lg:pl-96",children:n?.items?.length>0&&(0,r.jsx)("div",{className:"lg:ml-auto lg:max-w-[41rem]",children:(0,r.jsx)(N.A,{logos:n?.items})})})]}),t&&(0,r.jsx)("div",{className:"w-full overflow-hidden rounded-lg border border-grey-pastel sm:rounded-xl",children:(0,r.jsx)(g.Ay,{...t,isPriority:!0,className:"w-full"})})]})}};function I(e){let{layout:t="One Column"}=e,n=P[t??"One Column"];return n?(0,r.jsx)(n,{...e}):null}var M=n(23500),O=n(33256);let R=()=>{let{setStickyNavInView:e}=(0,l.useContext)(O.StickyNavContext),t=(0,l.useRef)(null),n=(0,u.W)(t,{once:!1,amount:1}),{scrollYProgress:r}=(0,M.L)({target:t,offset:["end end","start start"]});return(0,l.useEffect)(()=>{let t=()=>{let t=r.get();n&&t>.94?e(!0):e(!1)};t();let i=r.onChange(t);return()=>i()},[n,r,e]),t};var D=n(78728);let B=e=>{let[t,n]=(0,l.useState)(null),[r,i]=(0,l.useState)("down"),{scrollY:a}=(0,M.L)();return(0,D.L)(a,"change",e=>{let t=a.getPrevious();e>t?i("down"):e<t&&i("up")}),(0,l.useEffect)(()=>{let i=new IntersectionObserver(e=>{e.forEach(e=>{let i=e.target.getAttribute("id");e.isIntersecting?n(i):"up"===r&&t===i&&n(null)})},{threshold:.2});return e?.forEach(e=>{let t=e?.slug?.replace(/^#/,""),n=document.getElementById(t);n&&i.observe(n)}),()=>i.disconnect()},[e,r,t]),t};var F=n(75955);function H(e){let{navLabel:t="",links:n=[]}=e,a=rj(),o=R(),s=a?.backgroundColor?.name?.includes("Deep"),l=(0,F.A)(250,40),c=B(n);return(0,r.jsxs)("div",{ref:o,className:(0,b.A)("relative w-full py-2.5 transition-[background-color] duration-200 md:py-3 lg:py-5",l&&(0,i.Ay)("White")),children:[(0,r.jsx)("div",{className:(0,b.A)("absolute inset-0 border-b",a?.isFirstSection&&"border-t",l?"border-b-black/10 border-t-white":s?"border-white/10":"border-black/10")}),(0,r.jsxs)("div",{className:"container relative z-10 flex items-center justify-between gap-x-3 md:gap-x-12",children:[(0,r.jsx)("div",{className:"text-16 shrink-0 font-medium max-sm:hidden",dangerouslySetInnerHTML:{__html:t}}),(0,r.jsx)("ul",{className:"hidden flex-wrap items-center gap-x-6 gap-y-4 md:flex",children:n?.map(({title:e="",slug:t="/#"},n)=>{let i=c===t?.replace(/^#/,"");return r.jsxs("li",{className:"text-14 flex items-center gap-x-1 font-medium",children:[r.jsx("span",{className:b.A("mr-1 block h-1.5 w-1.5 rounded-full transition-colors duration-300",i?"bg-coral-shade":""),"aria-hidden":"true"}),r.jsx("a",{href:t,...i?{"aria-current":"page"}:{},className:b.A("transition-colors duration-300 hover:text-coral-shade",i&&"text-coral-shade"),dangerouslySetInnerHTML:{__html:e}})]},`anchor-item-${n}`)})}),(0,r.jsx)(V,{list:n,isDeepTheme:s,isScrolled:l})]})]})}function V({list:e,isDeepTheme:t=!1,prependHash:n=!1,isScrolled:i=!1}){let a=B(e);return(0,r.jsxs)("select",{className:(0,b.A)("filter-select max-sm:w-full md:hidden",t&&!i&&"filter-select-white"),defaultValue:a?n?`#${a}
182`:a:"",onChange:e=>{let t=document.querySelector(e.target.value);t&&t.scrollIntoView()},children:[(0,r.jsx)("option",{value:"",disabled:!0,children:"Jump to section"}),e?.map(({title:e="",name:t="",slug:i="/#"},o)=>{let s=t||e,l=n?`#${i}`:i,c=a===i?.replace(/^#/,"");return r.jsx("option",{value:l,...c?{"aria-current":"true"}:{},children:c?`${s} (Current section)`:s},`mobile-anchor-item-${o}`)})]})}let $=()=>{let e=(0,l.useMemo)(()=>({backgroundThemes:{"Deep / Forest":"bg-lime-deep text-white group-hover:text-lime-light","Dark / Red":"bg-coral-dark text-white group-hover:text-coral-light","Dark / Purple":"bg-lilac-dark text-white group-hover:text-lilac-light","Dark / Pine":"bg-lime-dark text-white group-hover:text-lime-light","Pastel / Coral":"bg-coral-pastel text-black group-hover:text-coral-primary","Pastel / Lilac":"bg-lilac-pastel text-black group-hover:text-lilac-primary","Pastel / Lime":"bg-lime-pastel text-black group-hover:text-lime-shade"},quoteThemeBackground:{"Deep / Forest Border":"bg-lime-deep border border-lime-light","Deep / Forest":"bg-lime-deep","Dark / Red":"bg-coral-dark","Dark / Purple":"bg-lilac-dark","Dark / Pine":"bg-lime-dark","Pastel / Coral":"bg-coral-pastel","Pastel / Lilac":"bg-lilac-pastel","Pastel / Lime":"bg-lime-pastel"},quoteTheme:{"Deep / Forest Border":"text-lime-primary","Deep / Forest":"text-lime-primary","Dark / Red":"text-coral-primary","Dark / Purple":"text-lilac-primary","Dark / Pine":"text-lime-primary","Pastel / Coral":"text-coral-primary","Pastel / Lilac":"text-lilac-primary","Pastel / Lime":"text-lime-primary"},quoteThemeBody:{"Deep / Forest Border":"text-white","Deep / Forest":"text-lime-pastel","Dark / Red":"text-coral-pastel","Dark / Purple":"text-lilac-pastel","Dark / Pine":"text-lime-pastel","Pastel / Coral":"text-coral-deep","Pastel / Lilac":"text-lilac-deep","Pastel / Lime":"text-lime-deep"},quoteThemeRole:{"Deep / Forest Border":"text-white","Deep / Forest":"text-lime-light","Dark / Red":"text-coral-light","Dark / Purple":"text-lilac-light","Dark / Pine":"text-lime-light","Pastel / Coral":"text-coral-dark","Pastel / Lilac":"text-lilac-dark","Pastel / Lime":"text-lime-dark"},invertLogo:{Black:"brightness-0 invert","Deep / Burgundy":"brightness-0 invert","Deep / Midnight":"brightness-0 invert","Deep / Forest Border":"brightness-0 invert","Deep / Forest":"brightness-0 invert","Deep / Grey":"brightness-0 invert","Dark / Red":"brightness-0 invert","Dark / Purple":"brightness-0 invert","Dark / Pine":"brightness-0 invert","Dark / Grey":"brightness-0 invert","Pastel / Coral":"brightness-0","Pastel / Lilac":"brightness-0","Pastel / Lime":"brightness-0",White:""},arrowColour:{"Deep / Forest":"Deep / Forest","Dark / Red":"Primary / Coral","Dark / Purple":"Primary / Lilac","Dark / Pine":"Primary / Lime","Pastel / Coral":"Pastel / Coral","Pastel / Lilac":"Pastel / Lilac","Pastel / Lime":"Primary / Lime"},statColour:{"Deep / Forest":"text-lime-deep white-overwrite","Deep / Midnight":"text-lilac-light white-overwrite","Deep / Burgundy":"text-coral-light white-overwrite","Dark / Red":"text-coral-deep white-overwrite","Dark / Purple":"text-lilac-deep white-overwrite","Dark / Pine":"text-lime-deep white-overwrite","Pastel / Coral":"text-coral-deep white-overwrite","Pastel / Lilac":"text-lilac-deep white-overwrite","Pastel / Lime":"text-lime-deep white-overwrite"}}),[]);return{customerCTAsElementsThemes:e,getTheme:(t,n)=>e[t]?.[n]}};var U=n(9483);let z="group flex h-8 w-8 items-center justify-center rounded-full border border-current transition-[background-color,color,opacity] duration-300 hover:bg-current",W=function({swiperRef:e,className:t=""}){return(0,r.jsxs)("div",{className:(0,b.A)("flex gap-x-1.5 lg:gap-x-2",t),children:[(0,r.jsx)("button",{type:"button","aria-label":"Navigate Image Slider",className:(0,b.A)("rotate-180",z),onClick:()=>{e.current&&e.current.slidePrev()},children:(0,r.jsx)("div",{className:"w-3 text-current group-hover:invert",children:(0,r.jsx)(U.Ay,{})})}),(0,r.jsx)("button",{type:"button","aria-label":"Navigate Image Slider",className:(0,b.A)(z),onClick:()=>{e.current&&e.current.slideNext()},children:(0,r.jsx)("div",{className:"w-3 text-current group-hover:invert",children:(0,r.jsx)(U.Ay,{})})})]})};var G=n(30200),q=n(46874),K=n(13914);
182function Y(e){let{colourTheme:t,testimonials:n=[]}=e,i=rj(),[a,o]=(0,l.useState)(null),[s,c]=(0,l.useState)(null),u=(0,l.useRef)(null),d=(0,l.useRef)(null),{getTheme:p}=$(),h=p("quoteThemeBackground",t),f=p("quoteTheme",t),m=p("quoteThemeBody",t),g=p("quoteThemeRole",t),y=p("invertLogo",t),v=n?.some(({coverImage:e,headshot:t,logo:n})=>e||t||n);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"flex flex-col-reverse gap-5 sm:flex-row lg:gap-6",children:[(0,r.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,r.jsxs)("div",{className:(0,b.A)("relative flex h-full items-center rounded-xl px-6 py-10 sm:px-12 sm:py-14 lg:px-24 lg:py-16",!v&&"xl:py-24",h,m),children:[(0,r.jsx)(x.A,{colour:i?.backgroundColor?.name,position:"topLeft",radius:12,children:(0,r.jsx)("div",{className:"pb-2 pr-4 md:pb-4 md:pr-5 lg:pb-5",children:(0,r.jsx)(U.Xu,{className:(0,b.A)("w-[1.625rem] md:w-[1.875rem]",f)})})}),(0,r.jsx)(x.A,{colour:i?.backgroundColor?.name,position:"bottomRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[110/44] h-6 md:h-9 lg:h-11"})}),n.length>1?(0,r.jsx)(x.A,{colour:i?.backgroundColor?.name,position:"bottomLeft",radius:12,hideOnMobile:!0,children:(0,r.jsx)(W,{swiperRef:u,className:"pr-4 pt-3 text-black max-lg:hidden xl:lg:pt-4"})}):(0,r.jsx)(x.A,{colour:i?.backgroundColor?.name||"White",position:"bottomLeft",radius:12,hideOnMobile:!0,children:(0,r.jsx)("div",{className:"aspect-[80/44] h-6 md:h-9 lg:h-12"})}),(0,r.jsx)("div",{className:"w-full overflow-hidden",children:(0,r.jsx)(q.RC,{modules:[K.xI],speed:500,spaceBetween:24,grabCursor:!0,loop:!0,autoHeight:!0,onSwiper:e=>{o(e),u.current=e},controller:{control:s},children:n?.map((e,t)=>r.jsx(q.qr,{className:"!h-auto",children:r.jsx(X,{...e,hasImage:v,logoInvert:y,roleTheme:g})},`testimonial-slide-${t}`))})})]})}),v&&(0,r.jsx)("div",{className:"w-full shrink-0 sm:w-1/4 sm:max-w-[16.75rem]",children:(0,r.jsx)(q.RC,{modules:[K.xI,K._R],speed:500,spaceBetween:24,grabCursor:!0,loop:!0,effect:"fade",onSwiper:e=>{c(e),d.current=e},controller:{control:a},className:"h-full w-full",children:n?.map((e,n)=>r.jsx(q.qr,{children:r.jsx(Z,{...e,sectionBackgroundColor:i?.backgroundColor?.name,colourTheme:t,getTheme:p})},`author-slide-${n}`))})})]}),n.length>1&&(0,r.jsx)(W,{swiperRef:u,className:"!mt-6 lg:hidden"})]})}function X(e){let{logo:t,quote:n="",name:i="",jobRole:a="",coverImage:o,headshot:s,hasImage:l=!1,logoInvert:c="",roleTheme:u=""}=e;return(0,r.jsxs)("div",{className:(0,b.A)("space-y-6",l?"max-w-[36.375rem]":"mx-auto flex-col items-center sm:flex sm:text-center md:max-w-3xl"),children:[t&&(o||s)&&(0,r.jsx)(G.A,{image:t,className:(0,b.A)("w-20 max-sm:mt-1",c)}),n&&(0,r.jsx)("p",{className:"text-24-testimonial",dangerouslySetInnerHTML:{__html:n}}),(i||a)&&(0,r.jsxs)("div",{className:"flex flex-col gap-x-4 sm:flex-row sm:items-end",children:[i&&(0,r.jsx)("div",{className:"text-16 font-medium",dangerouslySetInnerHTML:{__html:i}}),a&&(0,r.jsx)("div",{className:(0,b.A)("text-14",u),dangerouslySetInnerHTML:{__html:a}})]})]})}function Z(e){let{logo:t,coverImage:n,headshot:i,sectionBackgroundColor:a,colourTheme:o="",getTheme:s}=e,l=(e,t="")=>"Pastel / Lilac"===t?s(e,"Dark / Purple"):s(e,o),c=l("quoteThemeBackgroun
182d",o),u=l("invertLogo",o);return(0,r.jsxs)("div",{className:(0,b.A)("flex h-full w-full items-center justify-center overflow-hidden rounded-xl sm:aspect-[268/400]",n||i?"aspect-[1/1]":"aspect-[16/9]",c),children:[(0,r.jsx)(x.A,{colour:a,position:"topRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[90/36] h-6 md:h-9"})}),n||i?(0,r.jsx)(G.A,{image:n||i,className:"h-full w-full object-cover max-md:object-top"}):(0,r.jsx)(G.A,{image:t,className:(0,b.A)("w-[8.125rem]",u)})]})}function J(e){let{colourTheme:t="Pastel / Lime",testimonials:n=[]}=e,i=n[0],a=rj(),{getTheme:o}=$(),s=o("quoteTheme",t),l=o("quoteThemeBody",t);return(0,r.jsxs)("div",{className:"grid gap-6 lg:grid-cols-12",children:[(0,r.jsxs)(v.Ay,{className:(0,b.A)("flex flex-col !rounded-3xl p-6 sm:p-7 lg:col-span-4 xl:p-9",l),hasVerticalArrows:!0,children:[(0,r.jsx)("div",{className:"w-7",children:(0,r.jsx)(U.Xu,{className:s})}),(0,r.jsx)("div",{className:"text-24 mt-6",dangerouslySetInnerHTML:{__html:i?.quote}}),(0,r.jsxs)("div",{className:"mt-auto pt-6",children:[(0,r.jsx)("div",{className:"text-16 !font-newEdgeRounded",dangerouslySetInnerHTML:{__html:i?.name}}),(0,r.jsx)("div",{className:"text-14",dangerouslySetInnerHTML:{__html:i?.jobRole}})]})]}),(0,r.jsxs)("div",{className:"relative order-first overflow-hidden rounded-xl rounded-br-none lg:order-none lg:col-span-8",children:[i?.coverImage&&(0,r.jsx)(G.A,{image:i?.coverImage,className:"h-full w-full object-cover max-md:object-top"}),(0,r.jsxs)("div",{className:"absolute bottom-5 left-6 hidden items-end gap-x-3 text-white sm:flex",children:[(0,r.jsx)("div",{className:"text-16 !font-newEdgeRounded",dangerouslySetInnerHTML:{__html:i?.name}}),(0,r.jsx)("div",{className:"text-14 opacity-80",dangerouslySetInnerHTML:{__html:i?.jobRole}})]}),(0,r.jsx)(x.A,{colour:a?.backgroundColor?.name||"White",position:"bottomRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[2/1] h-7 sm:h-8 md:h-10 lg:aspect-[190/40]"})})]})]})}function Q(e){let{layout:t="slider"}=e,n={Slider:Y,"Single Featured":J}[t];return n?(0,r.jsx)(n,{...e}):null}n(22502),n(25e3);let ee={Top:"items-start",Middle:"items-center",Bottom:"items-end",Stretch:"items-stretch"};function et(e){let{columns:t=[],verticallyAlign:n="Middle",leftColumnWidth:i=6,isReverseOrder:a=!1,className:o="",leftColumnClass:s="",rightColumnClass:l="",layout:c=""}=e,[u,d]=t,p=ee[n]||"items-stretch";return(0,r.jsxs)("div",{className:(0,b.A)("grid gap-6 md:grid-cols-12 md:gap-10",p,o),children:[(0,r.jsx)(en,{column:u,columnWidth:i,columnClass:s,isReverseOrder:a,isDefault:"Default"===c,sectionBG:e?.sectionBG}),(0,r.jsx)(en,{column:d,columnWidth:12-i,columnClass:l,isEnd:!0,isDefault:"Default"===c,sectionBG:e?.sectionBG})]})}function en({column:e,columnWidth:t,columnClass:n,isReverseOrder:i,isEnd:a=!1,isBox:o=!1,isDefault:s=!1,isSplitBoxLayout:l=!1,sectionBG:c}){return(0,r.jsx)("div",{className:(0,b.A)("flex flex-col",`md:col-span-${t}`,n,i&&"max-md:order-last",a&&"md:items-end",o&&"md:items-center"),children:(0,r.jsx)(t0,{...e,isDefault:s,isSplitBoxLayout:l,isEnd:a,sectionBG:c})})}var er=n(58638),ei=n(70572);let ea={"Contained â Vertically Centered, Space Around":"items-center justify-center py-6 lg:py-[4.375rem] px-12 lg:px-14","Contained â Vertically Centered, Aligned Right":"items-center justify-end py-6 lg:py-[3.75rem] pl-16 lg:pl-24","Contained â Vertically Stretched":"max-md:pt-6 lg:pr-6","Contained â Aligned Bottom Right":"items-end justify-end pt-6 lg:pt-[3.875rem] pl-12"},eo=0;function es({layout:e,columns:t=[],isReverseOrder:n}){let[i,a]=t,o={...i,hasExtraInnerSpacing:i?.contentType==="textCard"},s={...a,hasExtraInnerSpacing:a?.contentType==="textCard"},{width:c=768}=(0,w.A)(),u=(0,er.I)()||c<768,p=(0,l.useRef)(null),h=(0,l.useRef)(null),[f,m]=(0,l.useState)(0),[g,y]=(0,l.useState)(!1),[v,b]=(0,l.useState)(0);(0,l.useEffect)(()=>{if(m(eo+=1),b(document.querySelectorAll(".two-column-contained").length),p.current){let e=p.current.nextElementSibling;for(;e&&!e.classList.contains("two-column-contained");)e=e.nextElementSibling;e?(h.current=e,y(!1)):y(!0)}return()=>{eo=0}},[]);let{scrollYProgress:x}=(0,M.L)({target:h.current?h:void 0,offset:["start end","start start"],layoutEffect:!1}),j=(0,ei.G)(x,[.5,1],[1,g?1:u?1:1-.05*(v-f)]),C=(0,ei.G)(x,[.5,1],[0,g?0:u?50:25*(v-f)]);return(0,r.jsxs)(d.P.div,{ref:p,style:{scale:j,y:C},"data-index":f,className:"two-column-contained flex flex-col gap-x-2.5 overflow-hidden rounded-lg bg-paleGrey md:sticky md:top-28 md:min-h-96 md:flex-row",children:[(0,r.jsx)("div",{className:`my-auto w-full px-6 py-8 md:w-1/2 lg:w-5/12 lg:p-12 lg:pr-6 ${n&&"md:order-0 order-1 mb-6 pt-4 md:mb-auto md:pt-8"}`,children:(0,r.jsx)(t0,{...o})}),(0,r.jsx)("div",{className:`${n&&"order-0 md:order-1"} flex flex-1 ${ea[e]}`,children:(0,r.jsx)(t0,{...s})})]})}function el({columns:e=[],className:t=""}){let[n,i]=e,a=rj();return(0,r.jsxs)("div",{className:(0,b.A)("flex flex-col gap-5 md:flex-row lg:gap-6",t),children:[(0,r.jsx)(v.Ay,{sectionBackgroun
182dColor:a?.backgroundColor?.name,className:"flex w-full shrink-0 items-center px-6 pb-8 pt-7 sm:p-8 md:w-2/5",hasVerticalArrows:!0,children:(0,r.jsx)("div",{className:"mx-auto w-full md:max-w-[21.875rem]",children:(0,r.jsx)(t0,{...n})})}),(0,r.jsx)("div",{className:"order-first flex-1 overflow-hidden rounded-lg md:order-none",children:(0,r.jsx)(t0,{...i})})]})}let ec=function(e){let{boxTheme:t="",columns:n=[],verticallyAlign:a="Middle",leftColumnWidth:o=6,isReverseOrder:s=!1,className:l="",leftColumnClass:c="",rightColumnClass:u=""}=e,[d,p]=n,h=ee[a]||"items-stretch";return(0,r.jsx)("div",{className:(0,b.A)("p-6 max-md:-mx-[1.25rem] max-md:w-screen max-md:py-10 md:rounded-lg",(0,i.Ay)(t||"Pale Grey")),children:(0,r.jsxs)("div",{className:(0,b.A)("grid gap-6 md:grid-cols-12 md:gap-10",h),children:[(0,r.jsx)(en,{column:d,columnWidth:o,columnClass:c,isReverseOrder:s,isBox:!0}),(0,r.jsx)(en,{column:p,columnWidth:12-o,columnClass:u,isBox:!0})]})})},eu=e=>e&&"Lime / Coral"===e?{leftColumn:"bg-lime-pastel px-10 py-8",rightColumn:"bg-coral-pastel px-8 py-6"}:{leftColumn:"",rightColumn:""},ed=function(e){let{columns:t=[],verticallyAlign:n="Middle",leftColumnWidth:i=6,isReverseOrder:a=!1,leftColumnClass:o="",rightColumnClass:s="",splitBoxesTheme:l="None"}=e,[c,u]=t,d=eu(l),p=ee[n]||"items-stretch";return(0,r.jsxs)("div",{className:(0,b.A)("grid gap-6 md:grid-cols-12",p),children:[(0,r.jsx)(en,{column:c,columnWidth:i,columnClass:(0,b.A)(o,d.leftColumn),isReverseOrder:a,isSplitBoxLayout:!0}),(0,r.jsx)(en,{column:u,columnWidth:12-i,columnClass:(0,b.A)(s,d.right
182Column),isSplitBoxLayout:!0,isEnd:!0})]})};function ep(e){let{columns:t=[],verticallyAlign:n="Middle",leftColumnWidth:i=6,isReverseOrder:a=!1,leftColumnClass:o="",rightColumnClass:s=""}=e,l=rj(),[c,u]=t,d=ee[n]||"items-stretch",p="relative overflow-hidden rounded-xl max-md:aspect-[16/9]",h="md:relative";return(0,r.jsxs)("div",{className:(0,b.A)("grid gap-6 md:grid-cols-12",d),children:[c?.contentType==="asset"&&(0,r.jsxs)("div",{className:(0,b.A)(`rounded-bl-none rounded-tr-none md:col-span-${i}`,o,p,a&&"max-md:order-last"),children:[(0,r.jsx)(g.Ay,{...c,className:h,isFill:!0}),(0,r.jsx)(x.A,{colour:l?.backgroundColor?.name||"White",position:"topRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[136/32] h-6 lg:h-8"})}),(0,r.jsx)(x.A,{colour:l?.backgroundColor?.name||"White",position:"bottomLeft",radius:12,children:(0,r.jsx)("div",{className:"aspect-[56/32] h-6 lg:h-8"})})]}),u?.contentType==="asset"&&(0,r.jsxs)("div",{className:(0,b.A)(`rounded-br-none md:col-span-${12-i}`,s,p),children:[(0,r.jsx)(g.Ay,{...u,className:h,isFill:!0}),(0,r.jsx)(x.A,{colour:l?.backgroundColor?.name||"White",position:"bottomRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[120/32] h-6 lg:h-8"})})]})]})}var eh=n(79794);let ef=function(e){let{columns:t=[],verticallyAlign:n="Middle",leftColumnWidth:a=6,isReverseOrder:o=!1,leftColumnClass:s="",rightColumnClass:l=""}=e,[c,u]=t,d=ee[n]||"items-stretch",p=rj(),h=(0,i.$9)(p?.backgroundColor?.name||"Pale Grey"),f=(0,b.A)("relative rounded-xl border p-5 sm:p-6 lg:p-9",h);return(0,r.jsxs)("div",{className:(0,b.A)("grid items-stretch gap-5 md:grid-cols-2 md:gap-6",d),children:[(0,r.jsxs)("div",{className:f,children:[(0,r.jsx)(en,{column:c,columnWidth:a,columnClass:s,isReverseOrder:o}),(0,r.jsx)(eh.Q_,{borderColour:h})]}),(0,r.jsx)("div",{className:f,children:(0,r.jsx)(en,{column:u,columnWidth:12-a,columnClass:l})})]})},em=function({colourTheme:e,content:t,quoteName:n,quoteRole:i}){let a=rj(),{getTheme:o}=$(),s=o("backgroundThemes",e||"Light / Coral"),l=o("quoteTheme",e||"Light / Coral"),c=o("quoteThemeBody",e||"Light / Coral");return(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:(0,b.A)("relative rounded-lg rounded-tl-none px-6 pb-6 pt-8 lg:px-8 lg:pb-[1.75rem] lg:pt-10",s,c),children:[(0,r.jsx)(x.A,{colour:a?.backgroundColor?.name||"White",position:"topLeft",radius:8,children:(0,r.jsx)("div",{className:"pb-1.5 pr-2.5 md:pb-3 md:pr-3",children:(0,r.jsx)(U.Xu,{className:(0,b.A)("w-[1.625rem]",l)})})}),(0,r.jsx)("blockquote",{className:"text-h7 mb-3 lg:mb-5",dangerouslySetInnerHTML:{__html:t}}),n&&(0,r.jsx)("p",{className:"text-14 font-medium",dangerouslySetInnerHTML:{__html:n}}),i&&(0,r.jsx)("p",{className:"text-14",dangerouslySetInnerHTML:{__html:i}})]})})};var eg=n(85742);let ey=function({content:e,thumbnail:t,button:n}){return(0,r.jsxs)("div",{className:"group relative flex items-start space-x-3 overflow-hidden rounded-lg border border-grey-pastel px-4 py-5 lg:space-x-6",children:[t?.fields?.file?.url?.length>0?(0,r.jsx)("div",{className:"relative aspect-[47/40] w-16 shrink-0 overflow-hidden rounded-[0.375rem] md:w-[5.875rem]",children:(0,r.jsx)(G.A,{image:t,width:94,height:80,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.1]"})}):null,(0,r.jsxs)("div",{className:"space-y-2 lg:space-y-4",children:[(0,r.jsx)("p",{className:"text-h7",dangerouslySetInnerHTML:{__html:e}}),n?.title&&n?.slug&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(eg.Y,{link:{title:n?.title},type:n?.type}),(0,r.jsx)(_(),{href:n?.slug,"aria-label":n?.title,className:"absolute inset-0 !m-0"})]})]})]})};function ev(e){let{layout:t="Default"}=e,n={Quote:em,"Link Card":ey}[t??"Default"];return n?(0,r.jsx)(n,{...e}):null}var eb=n(44797);function ex({items:e=[]}){let t=rj(),n=(0,i.iQ)(t?.backgroundColor?.name||"Pale Grey");return(0,r.jsx)("div",{className:"grid gap-6 md:grid-cols-2 lg:gap-6 xl:grid-cols-4",children:e?.map((e,i)=>r.jsx(v.Ay,{borderColor:n,sectionBackgroundColor:t?.backgroundColor?.name||"White",hasHorizontalArrows:!0,children:r.jsx(eb.M,{item:e,isFourCol:!0})},`icon-grid-item-${i}`))})}let ew=function(e){let{isTwoCol:t=!1,items:n=[]}=e,s=Number(n?.length)-1,l=rj(),c=(0,i.$9)(l?.backgroundColor?.name||"Pale Grey");return(0,r.jsx)("ul",{className:(0,b.A)("grid gap-y-5 md:gap-x-6",t?"md:grid-cols-2":"md:grid-cols-3"),children:n?.map((e,n)=>r.jsxs("li",{className:b.A("relative border",n%2!=1&&"rounded-xl",c),children:[r.jsxs("div",{className:"flex h-full flex-col p-6 lg:p-8",children:[r.jsxs("div",{className:"mb-auto space-y-2 lg:space-y-3",children:[e?.heading&&r.jsx("h3",{className:"text-h5",dangerouslySetInnerHTML:{__html:e?.heading}}
182),e?.content&&r.jsx(a.A,{content:e?.content,className:"prose-customerLogoGrid"}),e?.button?.title?.length>0&&r.jsx("div",{className:"pb-2",children:r.jsx(o.A,{...e.button})})]}),r.jsx("div",{className:"relative mt-5 h-[1.4rem] w-[7.5rem] md:mt-6",children:r.jsx(G.A,{image:e?.icon,className:"h-full w-full object-contain object-left"})})]}),(t?n%2!=1:n%3!=2)&&n!==s&&r.jsx(eh.Q_,{borderColour:c})]},n))})},ej=function(e){let{isTwoCol:t=!1,items:n=[]}=e;return(0,r.jsx)("ul",{className:(0,b.A)("grid gap-y-5 md:grid-cols-2 md:gap-x-6",t?"":"lg:grid-cols-4"),children:n?.map((e,t)=>r.jsx("li",{className:b.A("group relative rounded-lg border border-grey-pastel bg-paleGrey"),children:r.jsxs("div",{className:"flex h-full flex-col p-5 md:pb-6",children:[r.jsx("div",{className:"relative mb-6 h-6 w-6 md:mb-[1.8rem] md:h-8 md:w-8",children:r.jsx(G.A,{image:e?.icon,className:"h-full w-full object-contain"})}),r.jsxs("div",{className:"mt-auto flex items-start duration-300 md:-translate-x-5 md:group-hover:translate-x-0",children:[r.jsx("div",{className:"mr-2 h-3 w-3 shrink-0 text-black transition-opacity duration-300 md:opacity-0 md:group-hover:opacity-100",children:r.jsx(U.B,{})}),r.jsxs("div",{className:"space-y-2 lg:space-y-3",children:[e?.heading&&r.jsx("h3",{className:"text-h5 text-black",dangerouslySetInnerHTML:{__html:e?.heading}}
182),e?.content&&r.jsx(a.A,{content:e?.content,className:"prose-contactCardGrid text-black prose-p:text-[1.125rem] prose-p:font-medium"})]})]}),e?.button?.slug&&r.jsx(_(),{href:e?.button?.slug,"aria-label":e?.button?.title,className:"absolute inset-0"})]})},t))})};function eC(e){let{image:t,icon:n,heading:i="",content:s,button:l,isGrid:c=!1}=e;return(0,r.jsxs)("div",{className:"feature-card flex h-full flex-col rounded-lg p-4 pb-8 sm:pb-9",children:[(t||n)&&(0,r.jsx)("div",{className:"relative aspect-[332/202] flex-shrink-0 overflow-hidden rounded-md",children:(0,r.jsx)(g.Ay,{type:"Image",file:n||t,isFill:!0})}),(0,r.jsxs)("div",{className:"mt-6 flex h-full flex-col justify-between px-2 md:px-4 lg:mt-8",children:[(0,r.jsxs)("div",{children:[i&&(0,r.jsx)("div",{className:"text-h6 text-black",dangerouslySetInnerHTML:{__html:i}}),s&&(0,r.jsx)(a.A,{content:s,className:`prose mt-2 md:mt-3 ${c?"text-black/80":"prose-16 text-black"}`})]}),l&&(0,r.jsx)("div",{className:"mt-auto block pt-4 leading-none lg:pt-6",children:(0,r.jsx)(o.A,{...l})})]})]})}let eE=function({isTwoCol:e=!1,items:t}){return(0,r.jsx)("div",{className:(0,b.A)("grid gap-y-5 sm:grid-cols-2 sm:gap-5 md:gap-6",e?"":"md:grid-cols-3"),children:t?.map((e,t)=>r.jsx(eC,{...e,isGrid:!0},t))})},ek=function({isTwoCol:e=!1,items:t}){return(0,r.jsx)("ul",{className:(0,b.A)("grid gap-5 lg:gap-6",e?"md:grid-cols-2":"md:grid-cols-3"),children:t?.map((e,t)=>r.jsx(eS,{...e},t))})};function eS(e){var t;let n=rj();return(0,r.jsxs)("li",{className:(0,b.A)("flex h-full flex-col rounded-lg p-3 pb-5 lg:p-4 lg:pb-8",i.bF(n?.backgroundColor?.name||"White")?.background,"Background - White"===(t=e?.colourTheme)?"text-black bg-white":"Background - Deep Forest"===t?"bg-lime-deep text-white":"Background - Deep Midnight"===t?"bg-lilac-deep text-white":"Background - Deep Burgundy"===t?"bg-coral-deep text-white":""),children:[e?.icon?.fields?.file?.url?.length>0?(0,r.jsx)("div",{className:(0,b.A)("relative mb-6 aspect-[166/101] overflow-hidden rounded-[0.375rem] lg:mb-8"),children:(0,r.jsx)(G.A,{image:e?.icon,className:"h-full w-full object-cover"})}):null,(0,r.jsxs)("div",{className:"flex grow flex-col px-2 lg:px-4",children:[e?.subheading&&(0,r.jsxs)("div",{className:"mb-3 inline-flex items-center space-x-2 lg:mb-5",children:[(0,r.jsx)("div",{className:(0,b.A)("h-2 w-2 shrink-0 rounded-[2.2px]",(0,i.Ay)(e?.colourTheme||"Light / Coral"))}),(0,r.jsx)("span",{className:"text-16 font-medium",dangerouslySetInnerHTML:{__html:e?.subheading}})]}),(0,r.jsx)("h3",{className:"text-h6 is-larger-mobile",dangerouslySetInnerHTML:{__html:e?.heading}}
182),e?.content&&(0,r.jsx)(a.A,{content:e?.content,className:"mt-2 prose-p:text-[1rem] prose-p:leading-[1.4] lg:mt-3"}),(0,r.jsx)("div",{className:"mt-auto pt-2 lg:pt-4",children:e?.button?.title&&(0,r.jsx)(o.A,{...e?.button})})]})]})}let eA=function({items:e,isTwoCol:t}){let n=Number(e?.length)-1,s=rj(),l=(0,i.$9)(s?.backgroundColor?.name||"Pale Grey");return(0,r.jsx)("ul",{className:(0,b.A)("grid gap-y-5 md:gap-x-6",t?"md:grid-cols-2":"mt-5 md:mt-6 md:grid-cols-3"),children:e?.map((e,i)=>r.jsxs("li",{className:b.A("relative border",i%2==1&&"rounded-xl",l),children:[r.jsxs("div",{className:"flex h-full flex-col items-center justify-center px-5 pb-6 pt-6 text-center sm:pb-8 lg:px-9 lg:py-10",children:[e?.icon&&r.jsx("div",{className:b.A("relative h-12 lg:h-16",e?.content&&"mb-4 sm:mb-5 lg:mb-8"),children:r.jsx(G.A,{image:e?.icon,className:"mx-auto h-full w-auto max-w-[60%] object-contain"})}),e?.heading&&r.jsx("div",{className:"text-h6 mb-3 lg:mb-5",dangerouslySetInnerHTML:{__html:e?.heading}}),e?.content&&r.jsx(a.A,{content:e?.content,className:"prose prose-p:font-medium prose-p:leading-[1.2] prose-p:tracking-[-0.01em] prose-p:!text-current"}),e?.button?.title?.length>0&&r.jsx("div",{className:"mt-3 pb-1",children:r.jsx(o.A,{...e.button})})]}),(t?i%2!=1:i%3!=2)&&i!==n&&r.jsx(eh.Q_,{borderColour:l})]},i))})};function eT({components:e=[],horizontallyAlign:t="Right",verticallyAlign:n="Middle",maxWidth:a,rowSpacing:o,isSplitBoxLayout:s=!1,isEnd:l=!1,layoutColumns:c=""}){let u=rj(),d=u?.backgroundColor?.name,p=(0,b.A)("flex-auto flex flex-col max-md:!max-w-full",{Left:"mr-auto",Center:"mx-auto",Right:"ml-auto"}[t],{Top:"justify-start",Middle:"justify-center",Bottom:"justify-end","Space Between":"justify-between","Space Around":"justify-around"}[n],{None:"",Small:"space-y-5 md:space-y-7 lg:space-y-9",Medium:"space-y-8 md:space-y-10 lg:space-y-[3.75rem]",Large:"space-y-8 md:space-y-10 lg:space-y-24"}[o]||"",c,s&&(0,b.A)("relative rounded-xl px-5 py-6 sm:p-8 lg:p-10",(0,i.Ay)(d.includes("Dark")||d.includes("Deep")||d.includes("Shade")?"White":"Deep / Burgundy")));return(0,r.jsxs)("div",{className:p,style:{maxWidth:a},children:[e?.map(e=>r.jsx(t0,{...e,className:b.A(e?.className,s&&e?.contentType==="textCard"?"text-card-two-col-split-boxes":"")},e.id)),s&&(l?(0,r.jsx)(x.A,{colour:d,position:"bottomRight",radius:12,className:"!m-0",children:(0,r.jsx)("div",{className:"aspect-[40/32] h-8"})}):(0,r.jsx)(x.A,{colour:d,position:"topRight",radius:12,className:"!m-0",children:(0,r.jsx)("div",{className:"aspect-[80/56] h-8 md:h-14"})}))]})}let e_=function({items:e}){let t=rj(),n=(0,i.$9)(t?.backgroundColor?.name||"Pale Grey"),a=`px-4 py-6 rounded-xl border ${n}`;return(0,r.jsx)("div",{className:(0,b.A)("grid gap-5 sm:grid-cols-2 lg:grid-cols-4 lg:gap-6"),children:e.map((e,t)=>"row"===e.contentType&&(0,r.jsx)(eT,{...e,layoutColumns:a},t))})};function eL({items:e=[]}){return(0,r.jsx)("div",{className:`grid gap-6 md:grid-cols-2 lg:gap-6 ${3===e.length?"xl:grid-cols-3":"xl:grid-cols-4"}`,children:e?.map((e,t)=>r.jsx(eN,{item:e},`four-columns-plain-card-${t}`))})}function eN({item:e}){let{subheading:t,heading:n,content:s,button:l,icon:c}=e,u=rj();return(0,r.jsxs)("div",{className:(0,b.A)((0,i.Ay)(e?.backgroundColour?.name||"White"),"relative rounded-lg px-6 py-8"),children:[(0,r.jsxs)("div",{className:"align-start flex flex-col gap-6",children:[c&&(0,r.jsx)(G.A,{image:e?.icon,className:"mb-2 w-8"}),t&&(0,r.jsx)("div",{children:(0,r.jsx)("span",{className:(0,b.A)((0,i.q8)(e?.backgroundColour?.name||"White"),"text-h5 rounded-lg px-2.5 py-1.5"),dangerouslySetInnerHTML:{__html:t}})}),n&&(0,r.jsx)("div",{className:"text-h5",children:e.heading}),s&&(0,r.jsx)("div",{className:"w-full max-w-full",children:(0,r.jsx)(a.A,{content:s})}),l&&(0,r.jsx)("div",{className:"align-end flex flex-row flex-wrap items-center gap-3 md:gap-4",children:(0,r.jsx)(o.A,{...l},l?.id)})]}),(0,r.jsx)(x.A,{colour:u?.backgroundColor?.name||"White",position:"bottomRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[56/64] h-12 lg:h-14"})})]})}let eP=function({items:e}){let t=rj(),n=(0,i.$9)(t?.backgroundColor?.name||"Pale Grey"),a=`px-4 py-6 rounded-xl border ${n}`;return(0,r.jsx)("div",{className:(0,b.A)("grid gap-5 sm:grid-cols-1 lg:grid-cols-3 lg:gap-6"),children:e.map((e,t)=>"row"===e.contentType&&(0,r.jsx)(eT,{...e,layoutColumns:a},t))})};function eI(e){let{isTwoCol:t=!1,layout:n="Default"}=e,i={Default:eb.A,"Default â 4 Column":ex,"Connected Borders":eh.Ay,"Connected Borders â With Social Icons":eh.Ay,"Connected Borders â Stats":eh.Ay,"Customer Logos":ew,"Contact Cards":ej,"Feature Cards":eE,"Platform Thumbnail Cards":ek,"Compliance Grid":eA,"4 Columns - Row Content Type":e_,"4 Column - Plain Cards":eL,"3 Columns â Row Content Type":eP}[n];return i?(0,r.jsx)(i,{...e,isTwoCol:t}):null}let eM=function({checklist:e=[]}
182){return(0,r.jsx)("div",{className:"space-y-4 sm:space-y-6",children:e?.map(({heading:e="",content:t="",icon:n},i)=>r.jsxs("div",{className:"flex gap-x-1.5 lg:gap-x-3",children:[n&&r.jsx("div",{className:"mt-px w-4 shrink-0 lg:mt-0.5",children:r.jsx(G.A,{image:n})}),r.jsxs("div",{className:"flex-1 space-y-1 lg:space-y-2",children:[e&&r.jsx("div",{className:"text-h7",dangerouslySetInnerHTML:{__html:e}}),t&&r.jsx("div",{className:"text-16 is-smaller opacity-80",dangerouslySetInnerHTML:{__html:t}})]})]},`listItem-${i}`))})};var eO=n(42543);let eR=function({heading:e,button:t,resources:n}){let a=rj(),s=(0,i.$9)(a?.backgroundColor?.name||"White");return(0,r.jsxs)("ul",{className:"grid gap-y-5 md:grid-cols-3 md:gap-6",children:[(0,r.jsxs)("li",{className:"flex flex-col",children:[(0,r.jsxs)("div",{className:(0,b.A)("grow space-y-3 rounded-[1.25rem] border px-5 py-6 lg:space-y-4 lg:px-8 lg:py-[2.25rem]",s),children:[e&&(0,r.jsx)("h2",{className:"text-h5",dangerouslySetInnerHTML:{__html:e}}),t&&(0,r.jsx)(o.A,{...t})]}),(0,r.jsxs)("div",{className:`relative z-10 mx-8 my-[-1px] grid grid-cols-2 gap-x-5 ${(0,i.Ay)(a?.backgroundColor?.name||"White")}`,children:[(0,r.jsx)("div",{className:(0,b.A)("h-6 rounded-r-[1.25rem] border border-l-0",s)}),(0,r.jsx)("div",{className:(0,b.A)("h-6 rounded-l-[1.25rem] border border-r-0",s)})]}),n?.length>0&&n?.slice(0,1)?.map((e,t)=>r.jsx(eO.o0,{item:e,borderColour:s},e.id||t))]}),n?.length>1&&n?.slice(1)?.map((e,t)=>r.jsx("li",{children:r.jsx(eO.Gn,{item:e,borderColour:s})},e?.id||t))]})};function eD(e){let{resources:t=[],button:n}=e;return(0,r.jsxs)("div",{className:"grid gap-5 sm:grid-cols-3 lg:gap-6",children:[t?.length>0&&t?.map((e,t)=>r.jsx(eF,{...e},e?.id||t)),(0,r.jsx)(eB,{...n})]})}function eB({slug:e="/",title:t=""}){return(0,r.jsxs)(_(),{href:e,className:"group col-span-full flex items-center justify-between rounded-lg border border-paleGrey bg-paleGrey px-6 py-5 transition-colors duration-300 hover:border-grey-pastel hover:bg-white md:px-8 md:py-6",children:[(0,r.jsxs)("div",{className:"flex items-center gap-x-5",children:[(0,r.jsx)(U.II,{}),t&&(0,r.jsx)("div",{className:"text-16 font-medium",dangerouslySetInnerHTML:{__html:t}})]}),(0,r.jsx)("div",{className:"w-4 transition-transform duration-300 group-hover:translate-x-1 md:w-5",children:(0,r.jsx)(U.Fx,{})})]})}function eF({contentType:e,slug:t="/",coverImage:n,title:a=""}){return(0,r.jsxs)(_(),{href:t,className:"space-y-4 rounded-lg border border-paleGrey bg-paleGrey p-4 transition-colors duration-300 hover:border-grey-pastel hover:bg-white md:pb-6 lg:space-y-6",children:[(0,r.jsx)(G.A,{image:n,className:"aspect-[332/190] rounded-md object-cover"}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(eO.KG,{contentType:e,colourClass:(0,i.vC)(e)}),(0,r.jsx)("div",{className:"text-18 font-medium",dangerouslySetInnerHTML:{__html:a}})]})]})}function eH(e){let{resources:t}=e;return t?.map(e=>r.jsx(eO.Sq,{item:e},e.id))}function eV(e){let{resources:t}=e;return(0,r.jsx)("div",{className:"grid gap-x-6 gap-y-8 md:grid-cols-2",children:t?.map(e=>r.jsx(eO.N7,{isLarge:!0,item:e},e.id))})}let e$=function({pages:e,resources:t,isTwoCol:n,sectionBG:i}){let a=[...(e||[]).map(e=>({...e})),...(t||[]).map(e=>({...e}))];return a?.length<1?null:(0,r.jsxs)("ul",{className:(0,b.A)("grid gap-6 md:grid-cols-2",n&&"max-w-[42.375rem]"),children:[(0,r.jsx)("li",{className:"md:col-span-2",children:(0,r.jsx)(eO.A9,{item:a[0],parentColour:i?.name},a[0].id)}),a.slice(1,4).map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(eO.v5,{item:e,parentColour:i?.name})},e.id))]})},eU=function({className:e="",activeSlide:t,totalSlides:n,swiperPrevRef:i,swiperNextRef:a}){let o="pointer-events-none cursor-default opacity-[.4]";return(0,r.jsxs)("div",{className:(0,b.A)("flex gap-x-1.5 lg:gap-x-2",e),children:[(0,r.jsx)("button",{type:"button","aria-label":"Navigate Image Slider",className:(0,b.A)("rotate-180",z,0===t&&o),ref:i,children:(0,r.jsx)("div",{className:"w-3 text-current transition-[transform,filter] duration-300 group-hover:invert group-active:scale-[0.8]",children:(0,r.jsx)(U.Ay,{})})}),(0,r.jsx)("button",{type:"button","aria-label":"Navigate Image Slider",className:(0,b.A)(z,t===n&&o),ref:a,children:(0,r.jsx)("div",{className:"w-3 text-current transition-[transform,filter] duration-300 group-hover:invert group-active:scale-[0.8]",children:(0,r.jsx)(U.Ay,{})})})]})},ez=function({heading:e,button:t,resources:n,pages:i}){let a=[...(i||[]).map(e=>({...e})),...(n||[]).map(e=>({...e}))],s=(0,l.useRef)(null),c=(0,l.useRef)(null),u=(0,l.useRef)(null),[d,p]=(0,l.useState)(0);(0,l.useEffect)(()=>{s.current&&(s.current.swiper.params.navigation.prevEl=c.current,s.current.swiper.params.navigation.nextEl=u.current,s.current.swiper.navigation.init(),s.current.swiper.navigation.update())},[]);let{width:h}=(0,w.A)(),f=1.1;h>639&&(f=3);let m=Number(a?.length)-Number(f);return 0===a.length?(0,r.jsx)("div",{className:"w-full space-y-5 md:space-y-8",children:(0,r.jsx)("div",{className:"flex w-full flex-col max-md:space-y-6 md:flex-row md:justify-between md:space-x-6",children:(0,r.jsxs)("div",{className:"space-y-3 lg:space-y-4",children:[e&&(0,r.jsx)("h2",{className:"text-h6",dangerouslySetInnerHTML:{__html:e}}),t&&(0,r.jsx)(o.A,{...t})]})})}):(0,r.jsxs)("div",{className:"w-full space-y-5 md:space-y-8",children:[(0,r.jsxs)("div",{className:"flex w-full flex-col max-md:space-y-6 md:flex-row md:justify-between md:space-x-6",children:[(0,r.jsxs)("div",{className:"space-y-3 lg:space-y-4",children:[e&&(0,r.jsx)("h2",{className:"text-h6",dangerouslySetInnerHTML:{__html:e}}),t&&(0,r.jsx)(o.A,{...t})]}),(0,r.jsx)("div",{className:(0,b.A)(a.length>f?"":"hidden"),children:(0,r.jsx)(eU,{activeSlide:d,totalSlides:m,swiperPrevRef:c,swiperNextRef:u})})]}),(0,r.jsx)(q.RC,{ref:s,slidesPerView:1.1,speed:500,spaceBetween:20,breakpoints:{640:{slidesPerView:3,spaceBetween:24}},onSlideChange:()=>{s.current&&p(s.current.swiper.activeIndex)},modules:[K.Vx],navigation:{prevEl:c.current,nextEl:u.current},className:"w-full cursor-grab !overflow-visible",children:a.map((e,t)=>(0,r.jsx)(q.qr,{className:"!h-auto",children:(0,r.jsx)(eO.N7,{item:e,hasAuthor:!1})},`slide-item-${t}`))})]})};function eW(e){let{layout:t="EmbeddedCTA"}=e,n={"Resource Grid":eR,"Featured Resource Grid":eD,"Single Featured Resource":eH,"Two Column":eV,"Featured Cutout Cards":e$,Slider:ez}[t];return n?(0,r.jsx)(n,{...e}):null}let eG=(e,t)=>e.filter(e=>e.type===t).reduce((e,t)=>
182e+t.value,0),eq=(e,t)=>0===e?0:Math.floor(e/t*100),eK=function({image:e,responseType:t,label:n,value:a,onChange:o,onKeyDown:s}){let l=`NPSInput-${n}`,c=rj(),u=(0,i.$9)(c?.backgroundColor?.name||"Pale Grey"),d=(0,i.eg)(c?.backgroundColor?.name||"Pale Grey"),p=(0,i.Ay)(d);return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-2 text-center",children:[(0,r.jsx)(G.A,{image:e,className:"object-contain"}),(0,r.jsx)("label",{className:"text-h6",htmlFor:l,children:n}),(0,r.jsx)("input",{className:(0,b.A)("rounded text-black placeholder-gray-300",u,p),id:l,type:"number",placeholder:"0",value:a,min:0,max:100,onChange:e=>o(n,{type:t,value:parseInt(e.target.value,10)}),onKeyDown:s})]})},eY=function({image:e,value:t,label:n,textColor:i}){return(0,r.jsxs)("div",{className:"flex items-center gap-3 sm:gap-4",children:[(0,r.jsx)(G.A,{image:e,className:"object-contain"}),(0,r.jsxs)("div",{className:"text-h4",style:{color:i},children:[t,"%"]}),(0,r.jsx)("div",{children:n})]})},eX={detractor:{fields:{title:"Detractor",file:{url:"/images/nps/nps-detractor.png",details:{image:{width:75,height:75}}}},sys:{id:"nope"}},passive:{fields:{title:"Passive",file:{url:"/images/nps/nps-passive.png",details:{image:{width:75,height:75}}}},sys:{id:"nope"}},promoter:{fields:{title:"Promoter",file:{url:"/images/nps/nps-promoter.png",details:{image:{width:75,height:75}}}},sys:{id:"nope"}},detractorSquare:{fields:{title:"Detractor",file:{url:"/images/nps/nps-detractor-square.png",details:{image:{width:75,height:75}}}},sys:{id:"nope"}},passiveSquare:{fields:{title:"Passive",file:{url:"/images/nps/nps-passive-square.png",details:{image:{width:75,height:75}}}},sys:{id:"nope"}},promoterSquare:{fields:{title:"Promoter",file:{url:"/images/nps/nps-promoter-square.png",details:{image:{width:75,height:75}}}},sys:{id:"nope"}}};var eZ=n(93627);let eJ=function({jsonData:e}){let{t}=(0,eZ.Bd)(),n=e?.scoreHeader||t("Your score"),a=e?.buttonCopy||t("Calculate my score"),o=e?.detractorsLabel||t("Detractors"),s=e?.passivesLabel||t("Passives"),c=e?.promotersLabel||t("Promoters"),[u,d]=(0,l.useState)(0),[p,h]=(0,l.useState)({detractors:0,passives:0,promoters:0}),[f,m]=(0,l.useState)([{type:"detractor",value:0},{type:"detractor",value:0},{type:"detractor",value:0},{type:"detractor",value:0},{type:"detractor",value:0},{type:"detractor",value:0},{type:"detractor",value:0},{type:"passive",value:0},{type:"passive",value:0},{type:"promoter",value:0},{type:"promoter",value:0}]),g=rj(),y=g?.backgroundColor?.name,v=(0,i.$9)(g?.backgroundColor?.name||"Pale Grey"),w=(0,i.Ay)(g?.backgroundColor?.name).includes("text-white")?"border-transparent bg-white text-black hover:border-white hover:bg-transparent hover:text-white":"border border-transparent bg-grey-deep text-white hover:bg-coral-dark",j=(0,i.iQ)(g?.backgroundColor?.name||"Pale Grey"),C=(0,i._6)(j),E=(0,i._6)(y||"Pale Grey"),k=(e,t)=>{let n={...t};t.value||(n.value=0);let r=[...f];r[e]=n,m(r)},S=()=>{let e=f.reduce((e,t)=>e+t.value,0),t=eG(f,"detractor"),n=eG(f,"passive"),r=eG(f,"promoter");h({detractors:eq(t,e),passives:eq(n,e),promoters:eq(r,e)}),d(eq(r,e)-eq(t,e))},A=e=>{(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),S())};return(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-12 text-center",children:[(0,r.jsx)("div",{className:"",children:(0,r.jsx)("div",{className:"flex flex-wrap justify-center gap-x-8 gap-y-4",children:f.map((e,t)=>(0,r.jsx)(eK,{image:eX[e.type],responseType:e.type,label:t,value:e.value,onChange:(e,t)=>
182k(e,t),onKeyDown:A},`nps-input-${t}`))})}),(0,r.jsxs)("div",{className:"relative w-full self-start xl:max-w-[60%]",children:[(0,r.jsx)(x.A,{colour:y,position:"topLeft",radius:12,children:(0,r.jsx)("div",{className:"pb-3.5 pr-3.5 sm:pb-4 sm:pr-4",children:(0,r.jsx)("button",{onClick:S,onKeyDown:e=>{(" "===e.key||"Enter"===e.key)&&(e.preventDefault(),S())},type:"button",className:(0,b.A)("button group relative inline-flex justify-center overflow-hidden whitespace-nowrap rounded-[8rem] border px-4 py-[0.6875rem] text-center transition-[background-color,color,opacity,border] duration-300 md:px-5 md:py-[.8125rem]",w),children:a})})}),(0,r.jsx)("div",{className:(0,b.A)("rounded-lg border text-black shadow-xl",v),style:{backgroundColor:C},children:(0,r.jsxs)("div",{className:"flex flex-wrap justify-between gap-4 px-6 pb-4 pt-20 text-left md:gap-12 md:gap-24",children:[(0,r.jsxs)("div",{className:"",children:[(0,r.jsx)("div",{className:"text-h5",children:n}),(0,r.jsx)("div",{className:(0,b.A)("mt-3 text-8xl sm:text-9xl md:mt-6"),style:{color:E},children:u})]}),(0,r.jsx)("div",{className:"m-auto",children:(0,r.jsxs)("div",{className:"flex flex-1 flex-col justify-center",children:[(0,r.jsx)(eY,{image:eX.detractorSquare,value:p.detractors,label:o,textColor:E}),(0,r.jsx)(eY,{image:eX.passiveSquare,value:p.passives,label:s,textColor:E}),(0,r.jsx)(eY,{image:eX.promoterSquare,value:p.promoters,label:c,textColor:E})]})})]})})]})]})},eQ=["AT","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK","GB","CH","NO","IS","LI","AL","AD","AM","AZ","BA","BY","GE","MD","MC","ME","MK","RS","SM","TR","UA","VA","XK"],e0={EUR:{symbol:"â¬",free:"â¬0",growth:"â¬39"},USD:{symbol:"$",free:"$0",growth:"$39"}};function e1({country:e="US"}){let{free:t,growth:n}=e0[eQ.includes(e)?"EUR":"USD"];return(0,r.jsxs)("div",{className:"mt-0 flex flex-col gap-2 p-6",children:[(0,r.jsx)("h2",{className:"text-h4 text-center",children:"Plans that grow with you"}),(0,r.jsx)("p",{className:"text-md text-center",children:"Contentsquare offers flexible plans for teams of all sizes. Contact us for a custom quote."}),(0,r.jsxs)("div",{className:"mt-2 grid grid-cols-1 gap-3 md:grid-cols-4",children:[(0,r.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-[#004c3d] bg-[#001d1c] p-4",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Free"}),(0,r.jsx)("p",{className:"text-sm text-white/80",children:"A simple way to get started with Contentsquare"}),(0,r.jsxs)("p",{className:"mb-4 mt-6 text-[36px] leading-none text-white",children:[t,(0,r.jsx)("span",{className:"text-sm",children:"/forever"})]}),(0,r.jsxs)("ul",{className:"mb-2 list-inside list-disc text-sm text-white/90",children:[(0,r.jsx)("li",{children:"200k monthly sessions"}),(0,r.jsx)("li",{children:"1 project"}),(0,r.jsx)("li",{children:"Replays, Heatmaps + Funnels"}),(0,r.jsx)("li",{children:"Error & performance monitoring"}),(0,r.jsx)("li",{children:"Basic surveys"}),(0,r.jsx)("li",{children:"Connect with LLMs (MCP)"})]}),(0,r.jsx)("a",{href:"https://app.contentsquare.com/signup?observe_plan=SKU-219&utm_source=website&utm_content=aihero",target:"_blank",rel:"noopener noreferrer",className:"mt-auto self-start rounded-full bg-[#004c3d] px-4 py-2 text-sm font-semibold text-white/80 transition-colors hover:text-[#a6ef7b]",children:"Start for free"})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-[#00844e] bg-[#001d1c] p-4",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Growth"}),(0,r.jsx)("p",{className:"text-sm text-white/80",children:"Optimize experiences to boost engagement and conversion"}),(0,r.jsxs)("p",{className:"my-4 mt-2 text-[36px] leading-none text-white",children:[(0,r.jsx)("span",{className:"mb-1 block text-xs text-white/70",children:"Starting from (pay yearly)"}),n,(0,r.jsx)("span",{className:"text-sm",children:"/month"})]}),(0,r.jsxs)("ul",{className:"mb-2 list-inside list-disc text-sm text-white/90",children:[(0,r.jsx)("li",{children:"Everything in Free"}),(0,r.jsx)("li",{children:"From 7k monthly sessions"}),(0,r.jsx)("li",{children:"13 month data access"}),(0,r.jsx)("li",{children:"3 projects"}),(0,r.jsx)("li",{children:"Zone-based heatmaps"}),(0,r.jsx)("li",{children:"Journey analysis"}),(0,r.jsx)("li",{children:"Impact quantification"}),(0,r.jsx)("li",{children:"Sense, Contentsquare's AI"})]}),(0,r.jsx)("a",{href:"https://app.contentsquare.com/signup?observe_plan=SKU-220&utm_source=website&utm_content=aihero",target:"_blank",rel:"noopener noreferrer",className:"mt-auto self-start justify-self-end rounded-full bg-[#00844e] px-4 py-2 text-sm font-semibold text-white/80 transition-colors hover:text-[#a6ef7b]",children:"Get started"})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-[#004c3d] bg-[#001d1c] p-4",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Pro"}),(0,r.jsx)("p",{className:"text-sm text-white/80",children:"Surface optimizations faster and prioritize by revenue impact"}),(0,r.jsx)("p",{className:"mb-4 mt-6 text-[36px] leading-none text-white",children:"Let's talk"}),(0,r.jsxs)("ul",{className:"mb-2 list-inside list-disc text-sm text-white/90",children:[(0,r.jsx)("li",{children:"Everything in Growth"}),(0,r.jsx)("li",{children:"From 1m+ monthly sessions"}),(0,r.jsx)("li",{children:"Up to 6 projects"}),(0,r.jsx)("li",{children:"Precision filtering, retroactive"}),(0,r.jsx)("li",{children:"Multi-session replay summaries"}),(0,r.jsx)("li",{children:"Revenue goals & tracking"}),(0,r.jsx)("li",{children:"Sense Analyst (add-on)"})]}),(0,r.jsx)("a",{href:"https://contentsquare.com/request-a-demo/?utm_source=website&utm_content=aihero",target:"_blank",rel:"noopener noreferrer",className:"mt-auto self-start rounded-full bg-[#004c3d] px-4 py-2 text-sm font-semibold text-white/80 transition-colors hover:text-[#a6ef7b]",children:"Book a demo"})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-2 rounded-lg border border-[#004c3d] bg-[#001d1c] p-4",children:[(0,r.jsx)("h3",{className:"font-semibold",children:"Enterprise"}),(0,r.jsx)("p",{className:"text-sm text-white/80",children:"Scale optimization insights across the entire enterprise"}),(0,r.jsx)("p",{className:"mb-4 mt-6 text-[36px] leading-none text-white",children:"Let's talk"}),(0,r.jsxs)("ul",{className:"mb-2 list-inside list-disc text-sm text-white/90",children:[(0,r.jsx)("li",{children:"Everything in Pro"}),(0,r.jsx)("li",{children:"Custom monthly sessions"}),(0,r.jsx)("li",{children:"Unlimited projects"}),(0,r.jsx)("li",{children:"Experience monitoring"}),(0,r.jsx)("li",{children:"Error summaries"}),(0,r.jsx)("li",{children:"Data feeds"}),(0,r.jsx)("li",{children:"Dedicated support & SLAs"}),(0,r.jsx)("li",{children:"Sense Analyst (add-on)"})]}),(0,r.jsx)("a",{href:"https://contentsquare.com/request-a-demo/?utm_source=website&utm_content=aihero",target:"_blank",rel:"noopener noreferrer",className:"mt-auto self-start rounded-full bg-[#004c3d] px-4 py-2 text-sm font-semibold text-white/80 transition-colors hover:text-[#a6ef7b]",children:"Book a demo"})]})]}),(0,r.jsx)("a",{href:"https://contentsquare.com/pricing",target:"_blank",rel:"noopener noreferrer",className:"mt-4 self
182-center rounded-full bg-[#004c3d] px-4 py-2 text-sm font-semibold text-white/80 transition-colors hover:text-[#a6ef7b]",children:"See all plans and features"})]})}var e2=n(66056);let e3=["How can I increase my conversion rate?","How do I identify what's blocking conversions?","How do I prioritize UX improvements?"],e5={pricing:/\b(price|prices|pricing|cost|costs|how much|priced|subscription|plan|plans|for free|contentsquare free)\b/i},e4={p:({children:e})=>(0,r.jsx)("p",{className:"text-md mb-3 leading-7 text-white/95 last:mb-0",children:e}),a:({href:e,children:t})=>{let n=function(e){try{let t=new URL(e);return t.search="",t.searchParams.set("utm_content","aihero"),t.searchParams.set("utm_source","website"),t.toString()}catch{return`${e.split("?")[0]}?utm_content=aihero&utm_source=website`}}(e??"");return(0,r.jsx)("a",{href:n,onClick:()=>e6("answer_link"),target:"_blank",rel:"noopener noreferrer",className:"text-white/95 underline transition-colors hover:text-white",children:t})}};function e6(e){try{window._uxa=window._uxa||[];let t="/"!==window.location.pathname.slice(-1)?"/":"",n=`${window.location.pathname+t}ai-hero_click/`;window._uxa.push(["trackPageview",n]),window._uxa.push(["trackDynamicVariable",{key:"aihero_click",value:e}])}catch(e){console.warn("trackClick failed:",e)}}function e8({input:e,lastInput:t,isLoading:n,isAnswerPending:i,onChange:a,onSubmit:o}){let{t:s}=(0,eZ.Bd)();return(0,r.jsx)("div",{className:"mx-auto mb-9 mt-12 flex max-w-[800px] items-center gap-3 text-center text-[#002827]",children:(0,r.jsxs)("form",{onSubmit:o,className:"relative mx-auto flex w-[600px] max-w-[100%] items-center",children:[!e&&!i&&(0,r.jsxs)("div",{className:"pointer-events-none absolute left-2 flex items-center gap-1 text-sm text-[#002827] lg:left-5",children:[(0,r.jsx)("svg",{className:"h-4 w-4 shrink-0",viewBox:"0 0 24 24",fill:"none",stroke:"#00844e",strokeWidth:"1.5",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.813 15.904L9 18.75l-.813-2.846a4.5 4.5 0 00-3.09-3.09L2.25 12l2.846-.813a4.5 4.5 0 003.09-3.09L9 5.25l.813 2.846a4.5 4.5 0 003.09 3.09L15.75 12l-2.846.813a4.5 4.5 0 00-3.09 3.09zM18.259 8.715L18 9.75l-.259-1.035a3.375 3.375 0 00-2.455-2.456L14.25 6l1.036-.259a3.375 3.375 0 002.455-2.456L18 2.25l.259 1.035a3.375 3.375 0 002.456 2.456L21.75 6l-1.035.259a3.375 3.375 0 00-2.456 2.456z"})}),(0,r.jsxs)("span",{className:"max-sm:pr-10",children:[(0,r.jsx)("b",{className:"text-[#00844e]",children:"Ask AI:"})," What is Contentsquare? Who is it for?"]})]}),(0,r.jsx)("input",{type:"text",value:e,onChange:e=>a(e.target.value),placeholder:i?t:"",disabled:n,className:"w-full rounded-full border border-[#a6ef7b] bg-white px-5 py-3 pr-14 text-sm transition-colors focus:!rounded-full focus:border-white/80 focus:!outline-none disabled:opacity-80"}),(0,r.jsx)("button",{type:"submit",disabled:n||!e.trim(),className:`absolute right-2 flex h-8 w-8 items-center justify-center rounded-full text-[#a6ef7b] transition-all disabled:opacity-90 ${n?"bg-[#a6ef7b]":"bg-[#002827] hover:bg-white/90"}`,children:n?(0,r.jsxs)("svg",{className:"h-4 w-4 animate-spin",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"#002827",strokeWidth:"4"}),(0,r.jsx)("path",{className:"opacity-100",fill:"#002827",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4z"})]}):(0,r.jsx)("svg",{className:"h-4 w-4",viewBox:"0 0 24 24",fill:"none",stroke:"#a6ef7b",strokeWidth:"2.5",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 19V5M5 12l7-7 7 7"})})})]})})}var e7=n(99627),e9=n(41887);function te({answer:e,lastInput:t,isLoading:n,isAnswerPending:i,onContinueInChat:a}){return e||i?(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"inline-block rounded-[16px] rounded-tr-[0px] bg-[#031e1c] px-4 py-2 text-left text-white/95",children:t}),(0,r.jsxs)("div",{className:"mb-4 mt-4 flex flex-col ease-out",children:[i?(0,r.jsx)("div",{className:"flex max-w-[800px] flex-col gap-3 rounded-[16px] rounded-bl-[0px] bg-[#004c3d] px-4 py-4",children:[100,90,95,60].map((e,t)=>(0,r.jsx)(d.P.div,{className:"h-3 rounded-full bg-white/20",style:{width:`${e}%`}
182,animate:{opacity:[.3,.7,.3]},transition:{duration:1.2,repeat:1/0,delay:.15*t,ease:"easeInOut"}},t))}):(0,r.jsxs)("div",{className:"mx-0 max-w-[800px] rounded-[16px] rounded-bl-[0px] bg-[#004c3d] px-4 py-4 text-left leading-7 text-white/95",children:[(0,r.jsx)("b",{className:"mb-1 block text-xs text-[#a6ef7b]",children:"AI Assistant: "}),(0,r.jsx)(e7.oz,{remarkPlugins:[e9.A],components:e4,children:(0,e2.Ax)(e.replace(/^#[^\n]*\n\n?/,""))}),!n&&(0,r.jsxs)("p",{children:["Understand behavior, and act instantly.",(0,r.jsxs)("a",{href:"https://app.contentsquare.com/signup?utm_content=aihero&utm_source=website",onClick:()=>e6("cta_free"),className:"mx-1 inline-flex items-center gap-2 self-start rounded-[8px] border border-[#a6ef7b]/40 bg-transparent px-3 py-1.5 text-sm font-semibold text-white/80 transition-colors hover:border-[#a6ef7b] hover:text-[#a6ef7b]",children:[(0,r.jsx)("svg",{className:"h-4 w-4",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M12 14.9998L9 11.9998M12 14.9998C13.3968 14.4685 14.7369 13.7985 16 12.9998M12 14.9998V19.9998C12 19.9998 15.03 19.4498 16 17.9998C17.08 16.3798 16 12.9998 16 12.9998M9 11.9998C9.53214 10.6192 10.2022 9.29582 11 8.04976C12.1652 6.18675 13.7876 4.65281 15.713 3.59385C17.6384 2.53489 19.8027 1.98613 22 1.99976C22 4.71976 21.22 9.49976 16 12.9998M9 11.9998H4C4 11.9998 4.55 8.96976 6 7.99976C7.62 6.91976 11 7.99976 11 7.99976M4.5 16.4998C3 17.7598 2.5 21.4998 2.5 21.4998C2.5 21.4998 6.24 20.9998 7.5 19.4998C8.21 18.6598 8.2 17.3698 7.41 16.5898C7.02131 16.2188 6.50929 16.0044 5.97223 15.9878C5.43516 15.9712 4.91088 16.1535 4.5 16.4998Z",stroke:"#a6ef7b",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),"Start for free"]}),(0,r.jsxs)("a",{href:"https://contentsquare.com/request-a-demo/?utm_content=aihero&utm_source=website",onClick:()=>e6("cta_demo"),className:"mx-1 inline-flex items-center gap-2 self-start rounded-[8px] border border-[#a6ef7b]/40 bg-transparent px-3 py-1.5 text-sm font-semibold text-white/80 transition-colors hover:border-[#a6ef7b] hover:text-[#a6ef7b]",children:[(0,r.jsx)("svg",{className:"h-4 w-4",viewBox:"0 0 24 24",fill:"none",stroke:"#a6ef7b",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M8 21H16M12 17V21M6.8 17H17.2C18.8802 17 19.7202 17 20.362 16.673C20.9265 16.3854 21.3854 15.9265 21.673 15.362C22 14.7202 22 13.8802 22 12.2V7.8C22 6.11984 22 5.27976 21.673 4.63803C21.3854 4.07354 20.9265 3.6146 20.362 3.32698C19.7202 3 18.8802 3 17.2 3H6.8C5.11984 3 4.27976 3 3.63803 3.32698C3.07354 3.6146 2.6146 4.07354 2.32698 4.63803C2 5.27976 2 6.11984 2 7.8V12.2C2 13.8802 2 14.7202 2.32698 15.362C2.6146 15.9265 3.07354 16.3854 3.63803 16.673C4.27976 17 5.11984 17 6.8 17Z",stroke:"#a6ef7b",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),"Book a demo"]})]})]}),!n&&!i&&(0,r.jsxs)("div",{className:"mx-0 mt-4 flex max-w-[800px] items-center gap-4",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>{e6("cta_chat"),a()},className:"flex items-center gap-2 self-start rounded-[8px] border border-[#a6ef7b]/40 bg-transparent px-3 py-1.5 text-xs font-semibold text-white/80 transition-colors hover:border-[#a6ef7b] hover:text-[#a6ef7b] max-sm:hidden",children:[(0,r.jsx)("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"#a6ef7b",strokeWidth:2,children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 12h.01M12 12h.01M16 12h.01M21 12c0 4.418-4.03 8-9 8a9.863 9.863 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z"})}),"Deep dive with our AI Chatbot"]}),!1,(0,r.jsxs)("p",{className:"ml-auto block text-right text-xs text-white/60",children:["This answer was generated by AI. It can make mistakes.",(0,r.jsx)("br",{}),"Learn how we process your data in our"," ",(0,r.jsx)("a",{className:"text-white/60 underline",href:"https://contentsquare.com/privacy-policy/",target:"_blank",rel:"noreferrer",children:"Privacy Policy"})]})]})]})]}):null}var tt=n(8104),tn=n(24714),tr=n(51358);
182function ti(e,t){[...t].reverse().forEach(n=>{let r=e.getVariant(n);r&&(0,tn.U)(e,r),e.variantChildren&&e.variantChildren.forEach(e=>{ti(e,t)})})}function ta(){let e=!1,t=new Set,n={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(n,r){(0,tt.V)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let i=[];return t.forEach(e=>{i.push((0,tr._)(e,n,{transitionOverride:r}))}),Promise.all(i)},set:n=>((0,tt.V)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{Array.isArray(n)?ti(e,n):"string"==typeof n?ti(e,[n]):(0,tn.U)(e,n)})),stop(){t.forEach(e=>{!function(e){e.values.forEach(e=>e.stop())}(e)})},mount:()=>(e=!0,()=>{e=!1,n.stop()})};return n}var to=n(28601),ts=n(25128),tl=n(63295);function tc({onSelect:e,isDisabled:t}){let n=function(){let e=(0,to.M)(ta);return(0,ts.E)(e.mount,[]),e}(),i=(0,l.useRef)(null),a=(0,tl.d)(0),o=(e=!1)=>{if(!i.current)return;let t=i.current.scrollWidth/2,r=e?a.get():0;n.start({x:-t,transition:{duration:Math.abs(-t-r)/t*120,ease:"linear",onComplete:()=>{a.set(0),o(!1)}}})};(0,l.useEffect)(()=>{o(!1)},[]);let s=[...e3];return(0,r.jsxs)("div",{className:"relative mx-auto -mt-6 w-full max-w-[1200px] overflow-hidden text-center",children:[(0,r.jsx)("p",{className:"mb-3 text-center text-xs text-white/90",children:"Or click on the suggestions:"}),s.map((n,i)=>(0,r.jsx)("button",{type:"button",disabled:t,onClick:()=>e(n),className:`mb-4 mr-4 shrink-0 whitespace-nowrap rounded-[6px] bg-[#004c3d] px-3 py-2 text-sm text-white transition-colors hover:text-[#a6ef7b] disabled:cursor-not-allowed disabled:opacity-50 max-sm:mb-2 max-sm:mr-1 max-sm:text-xs ${i>=3?"hidden sm:inline-flex":""}`,children:n},i))]})}function tu(){let[e,t]=(0,l.useState)(""),[n,i]=(0,l.useState)(""),[a,o]=(0,l.useState)(""),[s,c]=(0,l.useState)({}),[u,d]=(0,l.useState)(null),[p,h]=(0,l.useState)(!1),[f,m]=(0,l.useState)(!1),[g,y]=(0,l.useState)("US"),v=(0,l.useRef)(!1),{openChat:b}=(0,O.useChatContext)();(0,l.useEffect)(()=>{fetch("/api/get-country-code").then(e=>e.json()).then(({country:e})=>y(e)).catch(()=>{})},[]),(0,l.useEffect)(()=>{try{window._uxa=window._uxa||[],window._uxa.push(["trackDynamicVariable",{key:"aihero_visible",value:1}])}catch(e){console.warn(e)}},[]);let x={pricing:(0,r.jsx)(e1,{country:g})},w=async e=>{let n;if(!e.trim()||p)return;d(null),o(e);let r=function(e){for(let[t,n]of Object.entries(e5))if(n.test(e))return t;return null}(e);if(r&&x[r]){i(""),c({}),m(!1),d(x[r]),t("");return}h(!0),m(!0),i(""),c({}),t("");let a=await fetch("/api/aihero-prompt",{method:"POST",headers:{"Content-Type":"application/json",Accept:"text/plain"},body:JSON.stringify({input:e,url:window.location.href,userId:((n=localStorage.getItem("chatid"))||(n=crypto.randomUUID(),localStorage.setItem("chatid",n)),n)})});if(!a.ok){console.error("Stream error:",a.statusText),h(!1),m(!1);return}let s=a.body.getReader(),l=new TextDecoder,u="",f="",g=!0,y=e=>{e&&(g?(m(!1),i(e),g=!1):i(t=>t+e))},b=e=>{let t=e.lastIndexOf("[");if(-1===t)return -1;let n=e.slice(t);return/\[([^\]]+)\]\([^)]+\)/.test(n)?-1:t},w=!1;for(;!w;){let{done:e,value:t}=await s.read();if(w=e,e){u+=f,y(f),f="";break}let n=l.decode(t,{stream:!0});u+=n;let r=b(f+=n);-1===r?(y(f),f=""):r>0&&(y(f.slice(0,r)),f=f.slice(r))}let j=(0,e2.VT)(u);if(j&&(0,e2.Sl)({intent:j,question:e,source:"aiHero"}),i((0,e2.Ax)(u)),h(!1),!v.current)try{v.current=!0,window.dataLayer=window.dataLayer||[],window._uxa=window._uxa||[];let t="/"!==window.location.pathname.slice(-1)?"/":"";window.dataLayer.push({event:"aihero_interaction",message:e}),window._uxa.push(["trackPageview",`${window.location.pathname+t}ai-hero/`]),window._uxa.push(["trackDynamicVariable",{key:"aihero_interaction",value:1}])}catch(e){console.warn("Failed to push to dataLayer or UXA:",e)}};return(0,r.jsx)("div",{className:"relative overflow-hidden",children:(0,r.jsx)("div",{className:"relative mx-auto mt-10 min-h-[250px] max-w-[1200px] gap-6 p-10 pb-2",children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("h2",{className:`mx-auto text-center ${n?"text-h2 mb-4 max-w-[800px]":"text-h2 mb-2 max-w-[800px] !leading-none"}`,children:n?(0,r.jsx)("span",{children:n.trim().split("\n")[0].replace("#","").trim()}):(0,r.jsx)("span",{children:"Why Contentsquare?"})}),(0,r.jsx)(e8,{input:e,lastInput:a,isLoading:p,isAnswerPending:f,onChange:t,onSubmit:t=>{t.preventDefault(),w(e)}}),(n||u)&&!p&&(0,r.jsx)("div",{className:"-mt-4 flex justify-center",children:(0,r.jsxs)("button",{type:"button",onClick:()=>{t(""),i(""),c({}),d(null),o(""),h(!1)},className:"flex items-center gap-1.5 text-xs text-white/50 transition-colors hover:text-white/80",children:[(0,r.jsx)("svg",{className:"h-3 w-3",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}),"Reset"]})}),!n&&!u&&!p&&(0,r.jsx)(tc,{onSelect:w,isDisabled:p}),u,(0,r.jsx)(te,{answer:n,lastInput:a,isLoading:p,isAnswerPending:f,onContinueInChat:()=>b(a)}),!1]})})})}
182let td=[{key:"travel_hospitality",label:"Travel & hospitality",description:"Airlines, hotels, booking platforms, and experience providers.",commonUseCases:["Become more data-driven","Streamline customer experiences","Increase conversions","Increase revenue","Improve mobile conversions","Prioritize product roadmap","Increase traffic","Reduce friction","Reduce abandonment rate","Increase user engagement"],customerUseCases:[{useCase:"Become more data-driven",client:"Atlantis Dubai",result:"Uncovered valuable insights about user behavior across multiple website domains",sourceURL:"https://contentsquare.com/customers/atlantis-dubai/"},{useCase:"Streamline customer experiences",client:"Atlantis Dubai",result:"Used cross-domain data to deliver personalized journeys for each user segment",sourceURL:"https://contentsquare.com/customers/atlantis-dubai/"},{useCase:"Increase conversions",client:"Center Parcs",result:"Increased overall conversions by +5%",sourceURL:"https://contentsquare.com/customers/center-parcs/"},{useCase:"Increase conversions",client:"Center Parcs",result:"Increased mobile conversions by +46%",sourceURL:"https://contentsquare.com/customers/center-parcs/"},{useCase:"Increase revenue",client:"Center Parcs",result:"Increased annual revenue by $22.5M by making data-driven website improvements",sourceURL:"https://contentsquare.com/customers/center-parcs/"},{useCase:"Increase revenue",client:"Center Parcs",result:"Increased mobile revenue by +118%",sourceURL:"https://contentsquare.com/customers/center-parcs/"},{useCase:"Improve mobile conversions",client:"Center Parcs",result:"Increased mobile conversions by +46%",sourceURL:"https://contentsquare.com/customers/center-parcs/"},{useCase:"Prioritize product roadmap",client:"easyJet Holidays",result:"Prioritized feature optimizations based on impact on conversions and revenue",sourceURL:"https://contentsquare.com/customers/easyjet"},{useCase:"Become more data-driven",client:"easyJet Holidays",result:"Prioritized feature optimizations based on impact on conversions and revenue",sourceURL:"https://contentsquare.com/customers/easyjet"},{useCase:"Increase conversions",client:"easyJet Holidays",result:"Increased revenue for a key customer journey by +7.3%",sourceURL:"https://contentsquare.com/customers/easyjet"},{useCase:"Increase revenue",client:"easyJet Holidays",result:"Increased revenue for a key customer journey by +7.3%",sourceURL:"https://contentsquare.com/customers/easyjet"},{useCase:"Become more data-driven",client:"Homair",result:"Doubled a bannerâs conversion rate for paid traffic by A/B testing",sourceURL:"https://contentsquare.com/customers/homair-abtasty/"},{useCase:"Increase conversions",client:"Homair",result:"Doubled a bannerâs conversion rate for paid traffic by A/B testing",sourceURL:"https://contentsquare.com/customers/homair-abtasty/"},{useCase:"Increase traffic",client:"Homair",result:"Doubled a bannerâs conversion rate for paid traffic by A/B testing",sourceURL:"https://contentsquare.com/customers/homair-abtasty/"},{useCase:"Reduce friction",client:"Homair",result:"Used experimentation to reduce friction and improve CX for different segments",sourceURL:"https://contentsquare.com/customers/homair-abtasty/"},{useCase:"Increase conversions",client:"Royal Caribbean",result:"Increased mobile conversion rate by +4% by optimizing the log-in banner",sourceURL:"https://contentsquare.com/customers/royal-caribbean/"},{useCase:"Improve mobile conversions",client:"Royal Caribbean",result:"Increased mobile conversion rate by +4% by optimizing the log-in banner",sourceURL:"https://contentsquare.com/customers/royal-caribbean/"},{useCase:"Streamline customer experiences",client:"Royal Caribbean",result:"Increased mobile conversion rate by +4% by optimizing the log-in banner",sourceURL:"https://contentsquare.com/customers/royal-caribbean/"},{useCase:"Become more data-driven",client:"Royal Caribbean",result:"Increased mobile conversion rate by +4% by optimizing the log-in banner",sourceURL:"https://contentsquare.com/customers/royal-caribbean/"},{useCase:"Reduce abandonment rate",client:"Royal Caribbean",result:"Reduced bounce and abandonment rates by improving the mobile checkout process",
182sourceURL:"https://contentsquare.com/customers/royal-caribbean/"},{useCase:"Increase user engagement",client:"Royal Caribbean",result:"Reduced bounce and abandonment rates by improving the mobile checkout process",sourceURL:"https://contentsquare.com/customers/royal-caribbean/"},{useCase:"Reduce friction",client:"Royal Caribbean",result:"Improved user experience and customer satisfaction by resolving user interface issues",sourceURL:"https://contentsquare.com/customers/royal-caribbean/"},{useCase:"Become more data-driven",client:"Thalys (Eurostar)",result:"Made data-driven improvements that increased conversion rate by +500%",sourceURL:"https://contentsquare.com/customers/thalys/"},{useCase:"Increase conversions",client:"Thalys (Eurostar)",result:"Increased conversion rate by +500%, from 2.9% to 17.4%",sourceURL:"https://contentsquare.com/customers/thalys/"},{useCase:"Reduce friction",client:"Thalys (Eurostar)",result:"Decreased click recurrence by -49%, from 18.5% to 9.38%",sourceURL:"https://contentsquare.com/customers/thalys/"},{useCase:"Increase user engagement",client:"Thalys (Eurostar)",result:"Increased exposure rate of a promotional banner by +265%, from 10.6% to 38.7%",sourceURL:"https://contentsquare.com/customers/thalys/"}]},{key:"financial_services",label:"Financial services",description:"Banking and financial institutions optimizing for conversion and efficiency.",commonUseCases:["Become more data-driven","Enhance team efficiency","Reduce friction","Increase conversions","Improve mobile conversions","Prioritize roadmap","Increase revenue","Improve engagement","Increase traffic"],customerUseCases:[{useCase:"Become more data-driven",client:"Admiral",result:"Improved internal quality assurance score from 85% to 98%",sourceURL:"https://contentsquare.com/customers/admiral/"},{useCase:"Enhance team efficiency",client:"Admiral",result:"Improved internal quality assurance score from 85% to 98%",sourceURL:"https://contentsquare.com/customers/admiral/"},{useCase:"Reduce friction",client:"Admiral",result:"Decreased users seeing an error message by -95%, from 69% to 3.5%",sourceURL:"https://contentsquare.com/customers/admiral/"},{useCase:"Become more data-driven",client:"Admiral",result:"Decreased users seeing an error message by -95%, from 69% to 3.5%",sourceURL:"https://contentsquare.com/customers/admiral/"},{useCase:"Enhance team efficiency",client:"Esurance",result:"Data-driven UX fix saves $225K a month in support center calls",sourceURL:"https://contentsquare.com/customers/esurance/"},{useCase:"Become more data-driven",client:"Esurance",result:"Data-driven UX fix saves $225K a month in support center calls",sourceURL:"https://contentsquare.com/customers/esurance/"},{useCase:"Reduce friction",client:"Esurance",result:"Optimized the quote page to reduce typing errors by -80%",sourceURL:"https://contentsquare.com/customers/esurance/"},{useCase:"Become more data-driven",client:"Esurance",result:"Optimized the quote page to reduce typing errors by -80%",sourceURL:"https://contentsquare.com/customers/esurance/"},{useCase:"Increase conversions",client:"Leeds Building Society",result:"Increased product page conversion rate by +40â80%",sourceURL:"https://contentsquare.com/customers/leeds-building-society/"},{useCase:"Reduce friction",client:"Leeds Building Society",result:"Increased product page conversion rate by +40â80%",sourceURL:"https://contentsquare.com/customers/leeds-building-society/"},{useCase:"Enhance team efficiency",client:"LendingClub",result:"78,400 labor hours reallocated",sourceURL:"https://contentsquare.com/customers/lendingclub/"},{useCase:"Increase conversions",client:"LendingClub",result:"$1M+ lifted principal loan volume",sourceURL:"https://contentsquare.com/customers/lendingclub/"},{useCase:"Improve mobile conversions",client:"LendingClub",result:"$1M+ lifted principal loan volume",sourceURL:"https://contentsquare.com/customers/lendingclub/"},{useCase:"Prioritize roadmap",client:"LendingClub",result:"Prioritized technical fixes based on projected impact on CX",sourceURL:"https://contentsquare.com/customers/lendingclub/"},{useCase:"Reduce friction",client:"LendingClub",result:"Prioritized technical fixes based on projected impact on CX",sourceURL:"https://contentsquare.com/customers/lendingclub/"},{useCase:"Increase conversions",client:"NatWest Group",result:"Increased AIP completions by +20%, adding estimated \xa3500K revenue",s
182ourceURL:"https://contentsquare.com/customers/natwest-group/"},{useCase:"Increase revenue",client:"NatWest Group",result:"Increased AIP completions by +20%, adding estimated \xa3500K revenue",sourceURL:"https://contentsquare.com/customers/natwest-group/"},{useCase:"Reduce friction",client:"NatWest Group",result:"Increased AIP completions by +20%, adding estimated \xa3500K revenue",sourceURL:"https://contentsquare.com/customers/natwest-group/"},{useCase:"Increase conversions",client:"OppLoans",result:"Boosted conversion by +5% and drive a 7-figure revenue lift",sourceURL:"https://contentsquare.com/customers/opploans/"},{useCase:"Increase revenue",client:"OppLoans",result:"Boosted conversion by +5% and drive a 7-figure revenue lift",sourceURL:"https://contentsquare.com/customers/opploans/"},{useCase:"Reduce friction",client:"OppLoans",result:"Boosted conversion by +5% and drive a 7-figure revenue lift",sourceURL:"https://contentsquare.com/customers/opploans/"},{useCase:"Increase conversions",client:"FLOA",result:"Increased conversion on a key page by +60%",sourceURL:"https://contentsquare.com/customers/floa/"},{useCase:"Reduce friction",client:"FLOA",result:"Decreased bounce rate on a key page by -4%",sourceURL:"https://contentsquare.com/customers/floa/"},{useCase:"Improve engagement",client:"FLOA",result:"Increased clicks on credit calculator tool by +20.8%",sourceURL:"https://contentsquare.com/customers/floa/"},{useCase:"Increase traffic",client:"FLOA",result:"Increased traffic to a key conversion flow by +23%",sourceURL:"https://contentsquare.com/customers/floa/"}]},{key:"energy_utilities",label:"Energy & utilities",description:"Energy providers and utilities improving digital experience and conversion.",commonUseCases:["Increase conversions","Reduce friction","Democratize data","Improve NPS\xae","Enhance team efficiency"],customerUseCases:[{useCase:"Increase conversions",client:"E.On",result:"Identified bottlenecks in funnel to make strategic optimizations",sourceURL:"https://contentsquare.com/customers/eon"},{useCase:"Reduce friction",client:"E.On",result:"Identified bottlenecks in funnel to make strategic optimizations",sourceURL:"https://contentsquare.com/customers/eon"},{useCase:"Democratize data",client:"E.On",result:"Democratized DX data so multiple teams access insights",sourceURL:"https://contentsquare.com/customers/eon"},{useCase:"Democratize data",client:"Schneider Electric",result:"Unified data across teams to improve decision-making",sourceURL:"https://contentsquare.com/customers/schneider-electric/"},{useCase:"Improve NPS\xae",client:"Schneider Electric",result:"Improved customer experience and NPS\xae",sourceURL:"https://contentsquare.com/customers/schneider-electric/"},{useCase:"Reduce friction",client:"Schneider Electric",result:"Improved customer experience and NPS\xae",sourceURL:"https://contentsquare.com/customers/schneider-electric/"},{useCase:"Enhance team efficiency",client:"Schneider Electric",result:"Reduced customer service tickets related to product info",sourceURL:"https://contentsquare.com/customers/schneider-electric/"},{useCase:"Reduce friction",client:"Schneider Electric",result:"Reduced customer service tickets related to product info",sourceURL:"https://contentsquare.com/customers/schneider-electric/"},{useCase:"Increase conversions",client:"TotalEnergies",result:"Optimized conversion funnels by identifying and analyzing form drop-offs",sourceURL:"https://contentsquare.com/customers/totalenergies/"},{useCase:"Reduce friction",client:"TotalEnergies",result:"Optimized conversion funnels by identifying and analyzing form drop-offs",sourceURL:"https://contentsquare.com/customers/totalenergies/"}]},{key:"entertainment",label:"Entertainment",description:"Media and entertainment brands optimizing for engagement and subscriptions.",commonUseCases:["Streamline customer journeys","Improve engagement","Make data-driven optimizations","Reduce friction","Increase conversions","Become more data-driven","Enhance team efficiency","Increase revenue","Improve mobile conversions","Prioritize roadmap"],customerUseCases:[{useCase:"Streamline customer journeys",client:"Buzz Bingo",result:"Improved registration and login processes through A/B testing",sourceURL:"https://contentsquare.com/customers/buzz-bingo/"},{useCase:"Improve engagement",client:"Buzz Bingo",result:"Improved registration and login processes through A/B testing",sourceURL:"https://contentsquare.com/customers/buzz-bingo/"},{useCase:"Make data-driven optimizations",client:"Buzz Bingo",result:"Improved registration and login processes through A/B testing",sourceURL:"https://contentsquare.com/customers/buzz-bingo/"},{useCase:"Reduce friction",client:"Buzz Bingo",result:"Improved registration and login processes through A/B testing",sourceURL:"https://contentsquare.com/customers/buzz-bingo/"},{useCase:"Increase conversions",client:"Buzz Bingo",result:"Improved click rate of a key CTA button by +27.8%",sourceURL:"https://contentsquare.com/customers/buzz-bingo/"},{useCase:"Improve engagement",client:"Buzz Bingo",result:"Improved click rate of a key CTA button by +27.8%",sourceURL:"https://contentsquare.com/customers/buzz-bingo/"},{useCase:"Make data-driven optimizations",client:"Buzz Bingo",result:"Improved click rate of a key CTA button by +27.8%",sourceURL:"https://contentsquare.com/customers/buzz-bingo/"},{useCase:"Become more data-driven",client:"DPG Media",result:"Increased A/B test win rate by +22%",sourceURL:"https://contentsquare.com/customers/dpg-media/"},{useCase:"Enhance team efficiency",client:"DPG Media",result:"Increased A/B test win rate by +22%",sourceURL:"https://contentsquare.com/customers/dpg-media/"},{useCase:"Increase conversions",client:"DPG Media",result:"Increased sub conversions, translating to +7% revenue increase",sourceURL:"https://contentsquare.com/customers/dpg-media/"},{useCase:"Increase revenue",client:"DPG Media",result:"Increased sub conversions, translating to +7% revenue increase",sourceURL:"https://contentsquare.com/customers/dpg-media/"},{useCase:"Increase conversions",client:"Golf Digest Online",result:"Increased conversions on application page by +2.6 points",sourceURL:"https://contentsquare.com/customers/golf-digest-online-gdo/"},{useCase:"Reduce friction",client:"Golf Digest Online",result:"Identified and fixed mobile app friction",sourceURL:"https://contentsquare.com/customers/golf-digest-online-gdo/"},{useCase:"Improve mobile conversions",client:"Golf Digest Online",result:"Identified and fixed mobile app friction",sourceURL:"https://contentsquare.com/customers/golf-digest-online-gdo/"},{useCase:"Prioritize roadmap",client:"PointsBet",result:"Used data to define, prioritize, and secure buy-in for roadmaps",
182sourceURL:"https://contentsquare.com/customers/golf-digest-online-gdo/"},{useCase:"Reduce friction",client:"PointsBet",result:"Addressed technical errors before they impacted revenue or satisfaction",sourceURL:"https://contentsquare.com/customers/golf-digest-online-gdo/"},{useCase:"Reduce friction",client:"PointsBet",result:"Removed friction from bet placement flows",sourceURL:"https://contentsquare.com/customers/golf-digest-online-gdo/"},{useCase:"Reduce friction",client:"PointsBet",result:"Optimized layouts to streamline flows",sourceURL:"https://contentsquare.com/customers/golf-digest-online-gdo/"}]},{key:"technology",label:"Technology",description:"B2B/B2C software, cloud platforms, and digital products.",commonUseCases:["Enhance team efficiency","Increase revenue","Prioritize roadmap","Become more data-driven","Improve adoption/engagement","Increase customer satisfaction","Improve NPS\xae","Reduce friction","Increase conversions"],customerUseCases:[{useCase:"Enhance team efficiency",client:"Criteo",result:"Freed up 4 development sprints per year",sourceURL:"https://contentsquare.com/customers/criteo/"},{useCase:"Increase revenue",client:"Criteo",result:"Optimized ad campaign creation to generate more revenue",sourceURL:"https://contentsquare.com/customers/criteo/"},{useCase:"Prioritize roadmap",client:"Criteo",result:"Unified roadmap to support decision-making and alignment",sourceURL:"https://contentsquare.com/customers/criteo/"},{useCase:"Enhance team efficiency",client:"Criteo",result:"Unified roadmap to support decision-making and alignment",sourceURL:"https://contentsquare.com/customers/criteo/"},{useCase:"Become more data-driven",client:"Criteo",result:"Unified roadmap to support decision-making and alignment",sourceURL:"https://contentsquare.com/customers/criteo/"},{useCase:"Improve adoption/engagement",client:"Greetings Island",result:"Engagement with critical feature grew 10x",sourceURL:"https://contentsquare.com/customers/greetings-island/"},{useCase:"Enhance team efficiency",client:"Greetings Island",result:"Increased adoption of analytics, improving decision-making",sourceURL:"https://contentsquare.com/customers/greetings-island/"},{useCase:"Become more data-driven",client:"Greetings Island",result:"Increased adoption of analytics, improving decision-making",sourceURL:"https://contentsquare.com/customers/greetings-island/"},{useCase:"Enhance team efficiency",client:"Lightspeed",result:"Enabled PMs to self-serve on data",sourceURL:"https://contentsquare.com/customers/lightspeed/"},{useCase:"Become more data-driven",client:"Lightspeed",result:"Decreased time to insight for business questions",sourceURL:"https://contentsquare.com/customers/lightspeed/"},{useCase:"Enhance team efficiency",client:"Lightspeed",result:"Decreased time to insight for business questions",sourceURL:"https://contentsquare.com/customers/lightspeed/"},{useCase:"Become more data-driven",client:"Lightspeed",result:"Enabled more accurate funnel analysis and revenue forecasting",sourceURL:"https://contentsquare.com/customers/lightspeed/"},{useCase:"Increase customer satisfaction",client:"DashThis",result:"Increased customer satisfaction by +140%",sourceURL:"http://contentsquare.com/customers/dashthis/"},{useCase:"Improve NPS\xae",client:"DashThis",result:"Increased customer satisfaction by +140%",sourceURL:"http://contentsquare.com/customers/dashthis/"},{useCase:"Improve adoption/engagement",client:"DashThis",result:"Increased onboarding funnel completion by +50%",sourceURL:"http://contentsquare.com/customers/dashthis/"},{useCase:"Reduce friction",client:"DashThis",result:"Increased onboarding funnel completion by +50%",sourceURL:"http://contentsquare.com/customers/dashthis/"},{useCase:"Prioritize roadmap",client:"DashThis",result:"Created new features and continue to improve product",sourceURL:"http://contentsquare.com/customers/dashthis/"},{useCase:"Become more data-driven",client:"DashThis",result:"Created new features and continue to improve product",sourceURL:"http://contentsquare.com/customers/dashthis/"},{useCase:"Increase conversions",client:"GoPro",result:"Increased conversion from PDP by +80% after redesign",sourceURL:"https://contentsquare.com/customers/gopro/"}]},{key:"telco",label:"Telco",description:"Telecommunications providers improving customer acquisition and conversion.",commonUseCases:["Increase conversions"],customerUseCases:[{useCase:"Increase conversions",client:"M1",result:"Increased conversion on a product page by +143%",sourceURL:"https://contentsquare.com/customers/m1/"}]},{key:"telco_tech",label:"Telco / Technology",description:"Technology and telecom hybrids optimizing digital platforms.",commonUseCases:["Increase conversions","Reduce friction","Become more data-driven","Streamline customer journeys"],customerUseCases:[{useCase:"Increase conversions",client:"Sony Net. Comm.",result:"Optimized landing page for mobile, increased CTR by +15%",sourceURL:"https://contentsquare.com/customers/sony-network-communications/"},{useCase:"Reduce friction",client:"Sony Net. Comm.",result:"Optimized landing page for mobile, increased CTR by +15%",sourceURL:"https://contentsquare.com/customers/sony-network-communications/"},{useCase:"Become more data-driven",client:"Sony Net. Comm.",result:"24% CTR on pop-up intended to reduce user frustration",sourceURL:"https://contentsquare.com/customers/sony-network-communications/"},{useCase:"Streamline customer journeys",client:"Sony Net. Comm.",result:"24% CTR on pop-up intended to reduce user frustration",sourceURL:"https://contentsquare.com/customers/sony-network-communications/"},{useCase:"Reduce friction",client:"Sony Net. Comm.",result:"24% CTR on pop-up intended to reduce user frustration",sourceURL:"https://contentsquare.com/customers/sony-network-communications/"},{useCase:"Become more data-driven",client:"Sony Net. Comm.",result:"Reduced chat inquiries by -38% after optimizing app flow",sourceURL:"https://contentsquare.com/customers/sony-network-communications/"},{useCase:"Reduce friction",client:"Sony Net. Comm.",result:"Reduced chat inquiries by -38% after optimizing app flow",sourceURL:"https://contentsquare.com/customers/sony-network-communications/"},{useCase:"Streamline customer journeys",client:"Sony Net. Comm.",result:"Reduced chat inquiries by -38% after optimizing app flow",sourceURL:"https://contentsquare.com/customers/sony-network-communications/"}]},{key:"food_beverage",label:"Food & beverage",description:"Food and beverage brands improving online ordering and delivery.",commonUseCases:["Become more data-driven","Enhance team efficiency","Increase conversions","Reduce friction","Increase traffic","Improve engagement"],
182customerUseCases:[{useCase:"Become more data-driven",client:"Co-op",result:"Achieved 11x ROI by democratizing data across teams",sourceURL:"https://contentsquare.com/customers/coop-food/"},{useCase:"Enhance team efficiency",client:"Co-op",result:"Achieved 11x ROI by democratizing data across teams",sourceURL:"https://contentsquare.com/customers/coop-food/"},{useCase:"Increase conversions",client:"Ocado",result:"Increased delivery slot bookings on homepage by +6.3%",sourceURL:"https://contentsquare.com/customers/ocado/"},{useCase:"Reduce friction",client:"Ocado",result:"Increased delivery slot bookings on homepage by +6.3%",sourceURL:"https://contentsquare.com/customers/ocado/"},{useCase:"Increase traffic",client:"Ocado",result:"Increased traffic to key campaign by +18.3%",sourceURL:"https://contentsquare.com/customers/ocado/"},{useCase:"Improve engagement",client:"Ocado",result:"Increased traffic to key campaign by +18.3%",sourceURL:"https://contentsquare.com/customers/ocado/"},{useCase:"Improve engagement",client:"Ocado",result:"Increased user registrations on homepage by +6.1%",sourceURL:"https://contentsquare.com/customers/ocado/"},{useCase:"Become more data-driven",client:"Ocado",result:"Increased monthly CS users by +60%",sourceURL:"https://contentsquare.com/customers/ocado/"},{useCase:"Enhance team efficiency",client:"Ocado",result:"Increased monthly CS users by +60%",sourceURL:"https://contentsquare.com/customers/ocado/"}]},{key:"b2b",label:"B2B",description:"B2B organizations and service providers optimizing digital capture.",commonUseCases:["Increase conversions","Become more data-driven","Reduce friction","Prioritize roadmap","Improve NPS\xae","Streamline customer journeys","Improve engagement"],customerUseCases:[{useCase:"Increase conversions",client:"HARTING",result:"Increased PDP downloads by +38% after redesign",sourceURL:"https://contentsquare.com/customers/harting/"},{useCase:"Become more data-driven",client:"HARTING",result:"Increased PDP downloads by +38% after redesign",sourceURL:"https://contentsquare.com/customers/harting/"},{useCase:"Reduce friction",client:"HARTING",result:"Increased PDP downloads by +38% after redesign",sourceURL:"https://contentsquare.com/customers/harting/"},{useCase:"Increase conversions",client:"RingCentral",result:"Optimized lead capture form, increased conversion by +25%",sourceURL:"https://contentsquare.com/customers/ringcentral/"},{useCase:"Become more data-driven",client:"RingCentral",result:"Optimized lead capture form, increased conversion by +25%",sourceURL:"https://contentsquare.com/customers/ringcentral/"},{useCase:"Become more data-driven",client:"Sonepar",result:"Improved decision-making and roadmap prioritization",sourceURL:"https://contentsquare.com/customers/sonepar/"},{useCase:"Prioritize roadmap",client:"Sonepar",result:"Improved decision-making and roadmap prioritization",sourceURL:"https://contentsquare.com/customers/sonepar/"},{useCase:"Improve NPS\xae",client:"Sonepar",result:"Improved NPS\xae, satisfaction, and loyalty",sourceURL:"https://contentsquare.com/customers/sonepar/"},{useCase:"Streamline customer journeys",client:"Sonepar",result:"Improved NPS\xae, satisfaction, and loyalty",sourceURL:"https://contentsquare.com/customers/sonepar/"},{useCase:"Improve engagement",client:"Sonepar",result:"Grew active users by +44%",sourceURL:"https://contentsquare.com/customers/sonepar/"},{useCase:"Improve engagement",client:"Sonepar",result:"Increased platform adoption rate by over +300%",sourceURL:"https://contentsquare.com/customers/sonepar/"}]},{key:"automotive",label:"Automotive",description:"Vehicle manufacturers and dealerships optimizing for conversion.",commonUseCases:["Increase conversions","Become more data-driven","Improve engagement","Reduce friction","Enhance team efficiency","Streamline customer journeys"],customerUseCases:[{useCase:"Increase conversions",client:"Audi",result:"Increased conversions by +7% via data-driven CRO",sourceURL:"https://contentsquare.com/customers/audi/"},{useCase:"Become more data-driven",client:"Audi",result:"Increased conversions by +7% via data-driven CRO",sourceURL:"https://contentsquare.com/customers/audi/"},{useCase:"Improve engagement",client:"Audi",result:"Increased time on site by +7%",sourceURL:"https://contentsquare.com/customers/audi/"},{useCase:"Reduce friction",client:"Audi",result:"Decreased bounce rate by -8%",sourceURL:"https://contentsquare.com/customers/audi/"},{useCase:"Increase conversions",client:"ClickMechanic",result:"Increased conversions by +15% via landing page redesign",sourceURL:"https://contentsquare.com/customers/clickmechanic/"},{useCase:"Become more data-driven",client:"Motorpoint",result:"Reduced reporting time by -75%",sourceURL:"https://contentsquare.com/customers/motorpoint/"},{useCase:"Become more data-driven",client:"Motorpoint",result:"Increased internal engagement with data by 5x",sourceURL:"https://contentsquare.com/customers/motorpoint/"},{useCase:"Enhance team efficiency",client:"Motorpoint",result:"Reduced reporting time by -75%",sourceURL:"https://contentsquare.com/customers/motorpoint/"},{useCase:"Enhance team efficiency",client:"Motorpoint",result:"Increased internal engagement with data by 5x",sourceURL:"https://contentsquare.com/customers/motorpoint/"},{useCase:"Increase conversions",client:"Å koda",result:"Increased conversion rate on key page by +44.5% YoY",sourceURL:"https://contentsquare.com/customers/skoda/"},{useCase:"Streamline customer journeys",client:"Å koda",result:"Improved satisfaction and operational efficiency",sourceURL:"https://contentsquare.com/customers/skoda/"},{useCase:"Enhance team efficiency",client:"Å koda",result:"Improved satisfaction and operational efficiency",sourceURL:"https://contentsquare.com/customers/skoda/"}]},{key:"public_sector",label:"Public sector",description:"Government agencies and public services improving digital accessibility.",commonUseCases:["Become more data-driven","Reduce friction","Enhance team efficiency","Prioritize roadmap"],customerUseCases:[{useCase:"Become more data-driven",client:"City of Paris",result:"Improved page performance after redesign",sourceURL:"https://contentsquare.com/customers/city-of-paris/"},{useCase:"Reduce friction",client:"City of Paris",result:"Improved page performance after redesign",sourceURL:"https://contentsquare.com/customers/city-of-paris/"},{useCase:"Enhance team efficiency",client:"City of Paris",result:"Decreased call volume to event phone line",sourceURL:"https://contentsquare.com/customers/city-of-paris/"},{useCase:"Become more data-driven",client:"IDM S\xfcdtirol",result:"Accelerated time to insight for faster learning",sourceURL:"https://contentsquare.com/customers/idm-sudtirol/"},{useCase:"Enhance team efficiency",client:"IDM S\xfcdtirol",result:"Accelerated time to insight for faster learning",sourceURL:"https://contentsquare.com/customers/idm-sudtirol/"},{useCase:"Become more data-driven",client:"IDM S\xfcdtirol",result:"Democratized analytics via team self-service",sourceURL:"https://contentsquare.com/customers/idm-sudtirol/"},{useCase:"Enhance team efficiency",client:"IDM S\xfcdtirol",result:"Democratized analytics via team self-service",sourceURL:"https://contentsquare.com/customers/idm-sudtirol/"},{useCase:"Become more data-driven",client:"IDM S\xfcdtirol",result:"Improved prioritization identifying friction",sourceURL:"https://contentsquare.com/customers/idm-sudtirol/"},{useCase:"Prioritize roadmap",client:"IDM S\xfcdtirol",result:"Improved prioritization identifying friction",sourceURL:"https://contentsquare.com/customers/idm-sudtirol/"}]}];function tp({handleFormSubmission:e}){let[t,n]=(0,l.useState)(""),[i,a]=(0,l.useState)(""),[o,s]=(0,l.useState)(!1),[c,u]=(0,l.useState)(!1);(0,l.useEffect)(()=>{{let e=new URLSearchParams(window.location.search).get("company");if(e&&e.length>=3)a(e);else if(window.reveal&&th(window.reveal?.confidenceScore)&&(window?.reveal?.company?.name&&a(window.reveal.company.name),window.reveal?.domain))try{let e=String(window.reveal.domain).trim(),t=/^https?:\/\//i.test(e)?e:`https://${e}`,r=new URL(t),i=/\.[a-z]{2,}$/i.test(r.hostname);("https:"===r.protocol||"http:"===r.protocol)&&i&&n(`${r.origin}${r.pathname}`.replace(/\/$/,""))}catch{console.warn("Invalid Clearbit domain")}}},[]);let d=i.trim(),p=d.length>=3,h=tf(t),f=o&&t.length>0&&!h&&!p,m=!!(p||h);return(0,r.jsxs)("form",{className:"flex flex-col p-6 pb-12",onSubmit:t=>{t.preventDefault(),u(!0),m&&e(p?d:"",h??"")}
182,children:[(0,r.jsxs)("h1",{className:"text-h1 mb-6",children:["See how ",(0,r.jsx)("span",{className:"text-lime-primary",children:"companies like yours"})," drive measurable results with Contentsquare"]}),(0,r.jsxs)("div",{className:"align-center my-16 flex flex-col gap-12",children:[(0,r.jsx)("p",{className:"text-h5 mx-auto max-w-2xl text-center",children:"Enter your company name or website URL to see relevant customer success stories"}),(0,r.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,r.jsxs)("div",{className:"flex flex-col items-stretch gap-6 md:flex-row md:items-start md:gap-16",children:[(0,r.jsx)("div",{className:"flex flex-1 flex-col gap-2",children:(0,r.jsxs)("label",{htmlFor:"companyName",className:"text-h7 flex flex-col gap-2 text-sm font-medium",children:[(0,r.jsxs)("span",{className:"flex items-center gap-3",children:[(0,r.jsx)("span",{className:"h-px flex-1 bg-lime-primary/50"}),"Your company",(0,r.jsx)("span",{className:"h-px flex-1 bg-lime-primary/50"})]}),(0,r.jsx)("input",{type:"text",id:"companyName",name:"companyName",value:i,onChange:e=>a(e.target.value),placeholder:"Your company",className:"block w-full rounded-xl border-none bg-white/5 px-4 py-3 text-lime-primary placeholder-lime-primary/50 outline-none focus:ring-2 focus:ring-lime-primary/30"})]})}),(0,r.jsx)("div",{className:"self-center md:pt-10",children:(0,r.jsx)("span",{className:"text-h4 text-lime-primary",children:"OR"})}),(0,r.jsxs)("div",{className:"flex flex-1 flex-col gap-2",children:[(0,r.jsxs)("label",{htmlFor:"companyUrl",className:"text-h7 flex flex-col gap-2 text-sm font-medium",children:[(0,r.jsxs)("span",{className:"flex items-center gap-3",children:[(0,r.jsx)("span",{className:"h-px flex-1 bg-lime-primary/50"}),"Your website URL",(0,r.jsx)("span",{className:"h-px flex-1 bg-lime-primary/50"})]}),(0,r.jsx)("input",{type:"text",id:"companyUrl",name:"companyUrl",value:t,onChange:e=>{n(e.target.value),s(!0)},onBlur:()=>s(!0),placeholder:"https://www.yourwebsite.com","aria-describedby":f?"url-error":void 0,"aria-invalid":f,className:`block w-full rounded-xl border-none bg-white/5 px-4 py-3 text-lime-primary placeholder-lime-primary/50 outline-none focus:ring-2 ${f?"ring-2 ring-red-400 focus:ring-red-400":"focus:ring-lime-primary/30"}`})]}),f&&(0,r.jsxs)("p",{id:"url-error",className:"text-sm text-red-400",children:["Please enter a valid URL, e.g. ",(0,r.jsx)("span",{className:"font-medium",children:"https://yourwebsite.com"})]})]})]}),c&&!m&&(0,r.jsx)("p",{className:"text-sm text-red-400",children:"Please enter your website URL or company name to continue."})]}),(0,r.jsx)("p",{className:"text-h5 mx-auto max-w-2xl text-center",children:"We'll show you proven results from companies in your industry"})]}),(0,r.jsx)("button",{type:"submit",disabled:!m,className:"mt-6 self-start rounded-[8rem] bg-white px-6 py-3 text-base font-semibold text-black transition-colors hover:bg-white/90 disabled:cursor-not-allowed disabled:opacity-50",children:"Show me relevant results â"})]})}let th=e=>"medium"===e||"high"===e||"very_high"===e,tf=e=>{try{let t=e.trim();if(!t)return null;let n=/^[a-z][a-z0-9+.-]*:\/\//i.test(t)?t:`https://${t}`,r=new URL(n),i=/\.[a-z]{2,}$/i.test(r.hostname);if("http:"!==r.protocol&&"https:"!==r.protocol||!i)return null;return`${r.origin}${r.pathname}`.replace(/\/$/,"")}catch{return null}};function tm(){return(0,r.jsx)("div",{className:"mt-8 flex flex-col items-center justify-center p-4",children:(0,r.jsxs)("div",{className:"w-15 flex items-center justify-center",children:[(0,r.jsx)("div",{className:"mx-1.5 h-2.5 w-2.5 animate-dot-jump rounded-full bg-lime-primary",style:{animationDelay:"0ms"}}),(0,r.jsx)("div",{className:"mx-1.5 h-2.5 w-2.5 animate-dot-jump rounded-full bg-lime-primary",style:{animationDelay:"200ms"}}),(0,r.jsx)("div",{className:"mx-1.5 h-2.5 w-2.5 animate-dot-jump rounded-full bg-lime-primary",style:{animationDelay:"400ms"}})]})})}function tg({industryList:e,handleIndustryUserInput:t}){return(0,r.jsxs)("div",{className:"mt-8 p-6",children:[(0,r.jsx)("h3",{className:"text-h6 mb-6",children:"We couldn't confidently identify you, in which industry do you operate?"}),(0,r.jsx)("div",{className:"flex flex-wrap gap-3",children:e.map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>t(e.label),className:"rounded-full border border-lime-primary bg-lime-primary/10 px-5 py-2.5 text-base text-lime-primary transition-all hover:bg-lime-primary hover:text-lime-deep",children:e.label},e.key))})]})}function ty({visitorCompanyIndustries:e,handleUseCaseUserInput:t}){let{uniqueCommonUseCases:n,uniqueCustomerUseCases:i}=function(e){let t=[],n=[];for(let r of e)for(let e of td)e.label===r&&e.commonUseCases&&t.pu
182sh(...e.commonUseCases),e.label===r&&e.customerUseCases&&n.push(...e.customerUseCases);return{uniqueCommonUseCases:Array.from(new Set(t)),uniqueCustomerUseCases:Array.from(new Set(n))}}(e),[a,o]=(0,l.useState)(n[0]||null),s=e=>{o(e),t(e)};return(0,r.jsxs)("div",{className:"pt-12",style:{borderImage:"linear-gradient(to right, #002827, #a6ef7b 50%, #002827) 1",borderTopWidth:"1px",borderStyle:"solid"},children:[(0,r.jsxs)("h2",{className:"text-h4 mb-8 text-center",children:["Select your biggest challenges to see ",(0,r.jsx)("span",{className:"text-lime-primary",children:"how similar companies solved them"})]}),(0,r.jsx)("div",{className:"flex flex-wrap justify-center gap-3",children:n.map(e=>(0,r.jsx)("button",{type:"button",onClick:()=>s(e),className:(0,b.A)("rounded-full border border-lime-primary px-5 py-2.5 text-base transition-all",a===e?"bg-lime-primary text-lime-deep":"bg-lime-primary/10 text-lime-deep text-lime-primary hover:bg-lime-primary/30"),children:e},e))}),(0,r.jsx)("div",{className:"m-auto mt-10 grid gap-x-6 gap-y-3 sm:grid-cols-2 lg:grid-cols-3",children:i.map((e,t)=>a&&e.useCase===a?(0,r.jsx)("div",{style:{animation:`slideIn ease-out ${100*t}ms both`},children:(0,r.jsx)(tv,{customerUseCase:e})},e.client+e.useCase+e.result):null)}),(0,r.jsx)("div",{className:"mt-8 text-center",children:"\uD83D\uDCA1 These companies started exactly where you are. Most customers see results within 30 days."})]})}function tv({customerUseCase:e}){return(0,r.jsx)("div",{className:"relative rounded-lg p-3",children:(0,r.jsxs)("div",{className:"relative flex h-full items-center justify-center rounded-md bg-lime-dark px-4 pb-4 pt-8",children:[(0,r.jsx)(x.A,{colour:"Deep / Forest",position:"topLeft",radius:12,isDisabledAnimation:!0,children:(0,r.jsx)("div",{className:"pb-1.5 pr-1.5 md:pb-2",children:(0,r.jsx)("div",{className:"text-14 rounded-full bg-white px-3 py-1.5 font-medium !leading-none text-black",dangerouslySetInnerHTML:{__html:e.client}})})}),(0,r.jsx)("div",{className:"p-4 text-white",children:(0,r.jsx)("p",{className:"text-h6",children:e.result})})]})})}function tb({customerSegment:e,visitorCompanyInfos:t}){let n=t?.name||t?.url,i=t?.url&&t.url.length>40?`${t.url.slice(0,40)}...`:t?.url;return(0,r.jsxs)(r.Fragment,{children:[t&&(0,r.jsxs)("div",{className:"text-h2 m-auto mt-16 max-w-5xl text-center",children:["Ready to see what results are possible for ",(0,r.jsx)("span",{className:"text-lime-primary",children:n||i}),"?"]}),(0,r.jsx)("div",{className:"mt-12 bg-lime-primary",children:(0,r.jsxs)("div",{className:"flex flex-col items-start justify-center p-6",children:[(0,r.jsxs)("div",{className:"flex-1",children:["smb"===e&&(0,r.jsxs)("span",{className:"text-h4 text-lime-deep",children:["See your own data in action, no credit card required.",(0,r.jsx)("br",{}),"Get insights in minutes, not months."]}),"enterprise"===e&&(0,r.jsx)("span",{className:"text-h4 text-lime-deep",children:"Get a custom demo with your own data and see the revenue impact Contentsquare can deliver for your team."})]}),(0,r.jsxs)("div",{className:"self-end",children:["smb"===e&&(0,r.jsx)(_(),{href:"https://app.contentsquare.com/signup",className:"inline-block rounded-[8rem] bg-lime-deep px-6 py-3 text-base font-semibold text-white transition-colors hover:bg-lime-deep/90",children:"Start free trial â"}),"enterprise"===e&&(0,r.jsx)(_(),{href:"/request-a-demo/",className:"inline-block rounded-[8rem] bg-lime-deep px-6 py-3 text-base font-semibold text-white transition-colors hover:bg-lime-deep/90",children:"Request a demo â"})]})]})})]})}async function tx(e){try{let t=await fetch("/api/open-ai-api",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)});if(!t.ok){let e=await t.text();throw console.error("API Error Response:",e),Error(`API request failed: ${t.status}`)}return await t.json()}catch(e){throw console.error("Search failed:",e),e}}function tw(e){let[t,n]=(0,l.useState)(null),[i,a]=(0,l.useState)(null),[o,s]=(0,l.useState)(null),[c,u]=(0,l.useState)(null),[d,p]=(0,l.useState)({name:"",url:""}),[h,f]=(0,l.useState)(!1),m=(0,l.useMemo)(()=>td.map(e=>({label:e.label,key:e.key})),[]),g=async(e,t)=>{f(!0),u(null),p({name:e,url:t});try{let r=await tx({companyName:e,companyUrl:t,industryList:m.map(e=>e.label)});n(r);let i=function(e){if(e?.industryConfidenceScore<60)return[];let t=td.map(e=>e.label);return e.industries.filter(e=>t.includes(e))}(r);s(i);let o=r.employeeCountConfidenceScore>=60&&r.employeeCount>=100?"enterprise":"smb";a(o)}catch(e){console.error("Failed to fetch company data:",e),s([]),a("smb"),f(!1)}finally{f(!1)}};return(0,r.jsxs)("div",{children:[(0,r.jsx)(tp,{handleFormSubmission:g}),h&&(0,r.jsx)(tm,{}),!h&&o&&0===o.length&&(0,r.jsx)(tg,{industryList:m,handleIndustryUserInput:e=>{s([e]),f(!0),setTimeout(()=>{f(!1)},1500)}}),!h&&o&&o.length>0&&(0,r.jsx)(ty,{visitorCompanyIndustries:o,handleUseCaseUserInput:e=>{u(e)}}),!h&&i&&(0,r.jsx)(tb,{customerSegment:i,visitorCompanyInfos:d})]})}function tj({className:e=""}){return(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",className:e,"aria-hidden":"true",focusable:"false",children:[(0,r.jsx)("path",{d:"M12 2c.45 4.6 2.4 6.55 7 7-4.6.45-6.55 2.4-7 7-.45-4.6-2.4-6.55-7-7 4.6-.45 6.55-2.4 7-7Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M19 3c.18 1.6 1 2.42 2.6 2.6C20 5.78 19.18 6.6 19 8.2 18.82 6.6 18 5.78 16.4 5.6 18 5.42 18.82 4.6 19 3Z",fill:"currentColor",opacity:"0.85"})]})}function tC({className:e=""}){return(0,r.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",className:e,"aria-hidden":"true",focusable:"false",children:[(0,r.jsx)("rect",{x:"9",y:"9",width:"11",height:"11",rx:"2.5",stroke:"currentColor",strokeWidth:"1.7"}),(0,r.jsx)("path",{d:"M5 15h-.5A1.5 1.5 0 0 1 3 13.5v-9A1.5 1.5 0 0 1 4.5 3h9A1.5 1.5 0 0 1 15 4.5V5",stroke:"currentColor",strokeWidth:"1.7",strokeLinecap:"round"})]})}function tE({className:e=""}){return(0,r.jsx)("svg",{viewBox:"0 0 16 16",fill:"none",className:e,"aria-hidden":"true",focusable:"false",children:(0,r.jsx)("path",{d:"M3 8.4 6.2 11.6 13 4.4",stroke:"currentColor",strokeWidth:"1.9",strokeLinecap:"round",strokeLinejoin:"round"})})}function tk({className:e=""}){return(0,r.jsxs)("svg",{viewBox:"0 0 16 16",fill:"none",className:e,"aria-hidden":"true",focusable:"false",children:[(0,r.jsx)("path",{d:"M2.75 13.25h2.5l7.04-7.04-2.5-2.5L2.75 10.75v2.5Z",stroke:"currentColor",strokeWidth:"1.3",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M9.4 4.2l2.5 2.5",stroke:"currentColor",strokeWidth:"1.3",strokeLinecap:"round"})]})}function tS({className:e=""}){return(0,r.jsx)("svg",{viewBox:"0 0 16 16",fill:"none",className:e,"aria-hidden":"true",focusable:"false",children:(0,r.jsx)("path",{d:"M5 11 11 5m0 0H6m5 0v5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function tA({className:e=""}){return(0,r.jsx)("svg",{viewBox:"0 0 20 20",fill:"none",className:e,"aria-hidden":"true",focusable:"false",children:(0,r.jsx)("path",{d:"M10 8.82 14.12 4.7l1.18 1.18L11.18 10l4.12 4.13-1.18 1.17L10 11.18 5.87 15.3 4.7 14.13 8.82 10 4.7 5.88 5.87 4.7 10 8.82Z",fill:"currentColor"})})}function tT({className:e=""}){return(0,r.jsxs)("svg",{viewBox:"0 0 16 16",fill:"none",className:e,"aria-hidden":"true",focusable:"false",children:[(0,r.jsx)("path",{d:"M8 2.4 14.4 13H1.6L8 2.4Z",stroke:"currentColor",strokeWidth:"1.3",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M8 6.6v3",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"8",cy:"11.3",r:"0.55",fill:"currentColor"})]})}let t_="shadow-[0_30px_90px_-20px_rgba(2,2,73,0.85)]",tL="shadow-[0_24px_70px_-24px_rgba(13,13,13,0.25)]",tN={midnight:{dark:{mode:"dark",card:`bg-lilac-deep text-white ring-1 ring-inset ring-lilac-light/20 ${t_}`,iconChip:"bg-lilac-primary/20 ring-1 ring-inset ring-lilac-light/30",iconColor:"text-lilac-light",heading:"text-white",closeButton:"text-lilac-light hover:bg-lilac-light/15 hover:text-white focus-visible:ring-lilac-light/70",tablistBorder:"border-lilac-light/20",tabActive:"text-white",tabInactive:"text-lilac-light/60 hover:text-lilac-light",tabUnderline:"bg-lilac-primary",bodyText:"text-white/85",mutedText:"text-white/60",stepBadge:"bg-lilac-primary/20 text-lilac-light ring-lilac-light/30",stepConnector:"from-lilac-light/30 to-lilac-light/5",codeSurface:"bg-black/30 ring-lilac-light/15",codeText:"text-white/95",tokenChip:"border-lilac-light/45 bg-lilac-primary/10 text-lilac-light",link:"text-lilac-light decoration-lilac-light/40 hover:text-white hover:
182decoration-lilac-light focus-visible:ring-lilac-light/60",linkArrow:"text-lilac-light/70",pencilIcon:"text-lilac-light",inputText:"text-white placeholder-white/45",disclaimerSurface:"rounded-lg border-l-[3px] border-lilac-light/40 bg-white/[0.04]",disclaimerIcon:"text-lilac-light",copyTone:"dark"},light:{mode:"light",card:`bg-white text-grey-deep ring-1 ring-inset ring-black/10 ${tL}`,iconChip:"bg-lilac-pastel ring-1 ring-inset ring-lilac-primary/25",iconColor:"text-lilac-shade",heading:"text-grey-deep",closeButton:"text-grey-primary hover:bg-black/5 hover:text-grey-deep focus-visible:ring-lilac-primary/40",tablistBorder:"border-black/10",tabActive:"text-grey-deep",tabInactive:"text-grey-primary hover:text-grey-deep",tabUnderline:"bg-lilac-shade",bodyText:"text-grey-shade",mutedText:"text-grey-primary",stepBadge:"bg-lilac-pastel text-lilac-shade ring-lilac-primary/25",stepConnector:"from-lilac-primary/30 to-lilac-primary/5",codeSurface:"bg-paleGrey ring-black/5",codeText:"text-grey-deep",tokenChip:"border-lilac-primary/40 bg-lilac-pastel text-lilac-shade",link:"text-lilac-shade decoration-lilac-shade/40 hover:text-lilac-dark hover:decoration-lilac-dark focus-visible:ring-lilac-primary/50",linkArrow:"text-lilac-shade/70",pencilIcon:"text-lilac-shade",inputText:"text-grey-deep placeholder-grey-light",disclaimerSurface:"rounded-lg border-l-[3px] border-lilac-shade/40 bg-lilac-pastel/50",disclaimerIcon:"text-lilac-shade",copyTone:"light"}}
182,forest:{dark:{mode:"dark",card:`bg-lime-deep text-white ring-1 ring-inset ring-lime-light/20 ${t_}`,iconChip:"bg-lime-primary/20 ring-1 ring-inset ring-lime-light/30",iconColor:"text-lime-light",heading:"text-white",closeButton:"text-lime-light hover:bg-lime-light/15 hover:text-white focus-visible:ring-lime-light/70",tablistBorder:"border-lime-light/20",tabActive:"text-white",tabInactive:"text-lime-light/60 hover:text-lime-light",tabUnderline:"bg-lime-primary",bodyText:"text-white/85",mutedText:"text-white/60",stepBadge:"bg-lime-primary/20 text-lime-light ring-lime-light/30",stepConnector:"from-lime-light/30 to-lime-light/5",codeSurface:"bg-black/30 ring-lime-light/15",codeText:"text-white/95",tokenChip:"border-lime-light/45 bg-lime-primary/10 text-lime-light",link:"text-lime-light decoration-lime-light/40 hover:text-white hover:decoration-lime-light focus-visible:ring-lime-light/60",linkArrow:"text-lime-light/70",pencilIcon:"text-lime-light",inputText:"text-white placeholder-white/45",disclaimerSurface:"rounded-lg border-l-[3px] border-lime-light/40 bg-white/[0.04]",disclaimerIcon:"text-lime-light",copyTone:"dark"},light:{mode:"light",card:`bg-white text-grey-deep ring-1 ring-inset ring-black/10 ${tL}`,iconChip:"bg-lime-pastel ring-1 ring-inset ring-lime-shade/25",iconColor:"text-lime-shade",heading:"text-grey-deep",closeButton:"text-grey-primary hover:bg-black/5 hover:text-grey-deep focus-visible:ring-lime-shade/40",tablistBorder:"border-black/10",tabActive:"text-grey-deep",tabInactive:"text-grey-primary hover:text-grey-deep",tabUnderline:"bg-lime-shade",bodyText:"text-grey-shade",mutedText:"text-grey-primary",stepBadge:"bg-lime-pastel text-lime-shade ring-lime-shade/25",stepConnector:"from-lime-shade/30 to-lime-shade/5",codeSurface:"bg-paleGrey ring-black/5",codeText:"text-grey-deep",tokenChip:"border-lime-shade/40 bg-lime-pastel text-lime-shade",link:"text-lime-shade decoration-lime-shade/40 hover:text-lime-dark hover:decoration-lime-dark focus-visible:ring-lime-shade/50",linkArrow:"text-lime-shade/70",pencilIcon:"text-lime-shade",inputText:"text-grey-deep placeholder-grey-light",disclaimerSurface:"rounded-lg border-l-[3px] border-lime-shade/40 bg-lime-pastel/50",disclaimerIcon:"text-lime-shade",copyTone:"light"}},burgundy:{dark:{mode:"dark",card:`bg-coral-deep text-white ring-1 ring-inset ring-coral-light/20 ${t_}`,iconChip:"bg-coral-primary/20 ring-1 ring-inset ring-coral-light/30",iconColor:"text-coral-light",heading:"text-white",closeButton:"text-coral-light hover:bg-coral-light/15 hover:text-white focus-visible:ring-coral-light/70",tablistBorder:"border-coral-light/20",tabActive:"text-white",tabInactive:"text-coral-light/60 hover:text-coral-light",tabUnderline:"bg-coral-primary",bodyText:"text-white/85",mutedText:"text-white/60",stepBadge:"bg-coral-primary/20 text-coral-light ring-coral-light/30",stepConnector:"from-coral-light/30 to-coral-light/5",codeSurface:"bg-black/30 ring-coral-light/15",codeText:"text-white/95",tokenChip:"border-coral-light/45 bg-coral-primary/10 text-coral-light",link:"text-coral-light decoration-coral-light/40 hover:text-white hover:decoration-coral-light focus-visible:ring-coral-light/60",linkArrow:"text-coral-light/70",pencilIcon:"text-coral-light",inputText:"text-white placeholder-white/45",disclaimerSurface:"rounded-lg border-l-[3px] border-coral-light/40 bg-white/[0.04]",disclaimerIcon:"text-coral-light",copyTone:"dark"},light:{mode:"light",card:`bg-white text-grey-deep ring-1 ring-inset ring-black/10 ${tL}`,iconChip:"bg-coral-pastel ring-1 ring-inset ring-coral-primary/25",iconColor:"text-coral-shade",heading:"text-grey-deep",closeButton:"text-grey-primary hover:bg-black/5 hover:text-grey-deep focus-visible:ring-coral-shade/40",tablistBorder:"border-black/10",tabActive:"text-grey-deep",tabInactive:"text-grey-primary hover:text-grey-deep",tabUnderline:"bg-coral-shade",bodyText:"text-grey-shade",mutedText:"text-grey-primary",stepBadge:"bg-coral-pastel text-coral-shade ring-coral-primary/25",stepConnector:"from-coral-primary/30 to-coral-primary/5",codeSurface:"bg-paleGrey ring-black/5",codeText:"text-grey-deep",tokenChip:"border-coral-primary/40 bg-coral-pastel text-coral-shade",link:"text-coral-shade decoration-coral-shade/40 hover:text-coral-dark hover:decoration-coral-dark focus-visible:ring-coral-shade/50",linkArrow:"text-coral-shade/70",pencilIcon:"text-coral-shade",inputText:"text-grey-deep placeholder-grey-light",disclaimerSurface:"rounded-lg border-l-[3px] border-coral-shade/40 bg-coral-pastel/50",disclaimerIcon:"text-coral-shade",copyTone:"light"}}},tP="focus:!outline-none focus-visible:!outline-none";function tI(e){if(!e)return null;let t=e.toLowerCase();return t.includes("midnight")||t.includes("lilac")||t.includes("purple")?"midnight":t.includes("forest")||t.includes("lime")||t.includes("pine")||t.includes("green")?"forest":t.includes("burgundy")||t.includes("coral")||t.includes("red")?"burgundy":null}function tM(e,t){let n=e.indexOf(t);return -1===n?{before:e,after:"",hasToken:!1}:{before:e.slice(0,n),after:e.slice(n+t.length),hasToken:!0}}var tO=n(86297);let tR={dark:{idle:"text-white/65 hover:text-white hover:bg-white/10",success:"text-lime-primary",successBg:"bg-lime-primary/10"},light:{idle:"text-grey-primary hover:text-grey-deep hover:bg-black/5",success:"text-lime-shade",successBg:"bg-lime-shade/10"}};function tD({value:e,copiedLabel:t,ariaLabel:n,tone:i="dark",showLabel:a=!1,className:o=""}){let{copied:s,copy:c}=function(e=1800){let[t,n]=(0,l.useState)(!1),r=(0,l.useRef)(null),i=(0,l.useCallback)(async t=>{try{if("undefined"!=typeof navigator&&navigator.clipboard?.writeText)await navigator.clipboard.writeText(t);else{let e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)}return n(!0),r.current&&clearTimeout(r.current),r.current=setTimeout(()=>n(!1),e),!0}catch(e){return console.warn("Clipboard copy failed",e),!1}},[e]);return(0,l.useEffect)(()=>()=>{r.current&&clearTimeout(r.current)},[]),{copied:t,copy:i}}(),u=(0,er.I)(),p=tR[i];return(0,r.jsxs)("button",{type:"button",onClick:()=>c(e),"aria-label":s?t:n,className:(0,b.A)("group/copy inline-flex shrink-0 items-center gap-1.5 rounded-lg px-2 py-1.5 text-[13px] font-medium outline-none transition-colors duration-200","focus-visible:ring-2 focus-visible:ring-offset-1",tP,"dark"===i?"focus-visible:ring-white/60 focus-visible:ring-offset-transparent":"focus-visible:ring-grey-primary/50 focus-visible:ring-offset-white",s?(0,b.A)(p.success,p.successBg):p.idle,o),children:[(0,r.jsx)("span",{className:"relative flex h-4 w-4 items-center justify-center",children:(0,r.jsx)(tO.N,{initial:!1,mode:"wait",children:s?(0,r.jsx)(d.P.span,{initial:!u&&{scale:.4,opacity:0}
182,animate:{scale:1,opacity:1},exit:u?{opacity:0}:{scale:.4,opacity:0},transition:{duration:.18},className:"absolute inset-0 flex items-center justify-center",children:(0,r.jsx)(tE,{className:"h-4 w-4"})},"check"):(0,r.jsx)(d.P.span,{initial:!u&&{scale:.4,opacity:0},animate:{scale:1,opacity:1},exit:u?{opacity:0}:{scale:.4,opacity:0},transition:{duration:.18},className:"absolute inset-0 flex items-center justify-center",children:(0,r.jsx)(tC,{className:"h-4 w-4"})},"copy")})}),(0,r.jsx)(tO.N,{initial:!1,children:(a||s)&&(0,r.jsx)(d.P.span,{initial:!u&&{width:0,opacity:0},animate:{width:"auto",opacity:1},exit:u?{opacity:0}:{width:0,opacity:0},transition:{duration:.2},className:"overflow-hidden whitespace-nowrap",children:s?t:""})}),(0,r.jsx)("span",{className:"sr-only","aria-live":"polite",children:s?t:""})]})}function tB({content:e,isDark:t,onOpen:n,openButtonRef:i}){return(0,r.jsxs)("div",{className:(0,b.A)("inline-flex max-w-full items-center gap-1 rounded-full p-1 shadow-sm backdrop-blur-sm transition-colors duration-300",t?"bg-white/10 ring-1 ring-inset ring-white/15":"bg-white ring-1 ring-inset ring-black/10"),children:[(0,r.jsxs)("button",{ref:i,type:"button",onClick:n,className:(0,b.A)("group inline-flex shrink-0 items-center gap-2 rounded-full px-4 py-2 text-sm font-medium outline-none transition-[background-color,color,transform] duration-300 active:scale-[0.98]","focus-visible:ring-2 focus-visible:ring-offset-2",tP,t?"bg-white text-grey-deep hover:bg-white/90 focus-visible:ring-white/70 focus-visible:ring-offset-transparent":"bg-grey-deep text-white hover:bg-coral-dark focus-visible:ring-grey-deep/40 focus-visible:ring-offset-white"),children:[(0,r.jsx)(tj,{className:"h-4 w-4 text-lilac-primary transition-transform duration-300 group-hover:rotate-12 group-hover:scale-110"}),e.installLabel]}),(0,r.jsxs)("div",{className:"flex min-w-0 items-center gap-1 pl-2 pr-1",children:[(0,r.jsx)("code",{className:(0,b.A)("truncate font-mono text-[13px] sm:text-sm",t?"text-white/85":"text-grey-primary"),children:e.command}),(0,r.jsx)(tD,{value:e.command,copiedLabel:e.copiedLabel,ariaLabel:e.copyAriaLabel,tone:t?"dark":"light"})]})]})}function tF({command:e,copiedLabel:t,copyAriaLabel:n,theme:i}){return(0,r.jsxs)("div",{className:(0,b.A)("flex items-center justify-between gap-3 rounded-xl px-4 py-3 ring-1 ring-inset",i.codeSurface),children:[(0,r.jsx)("code",{className:(0,b.A)("min-w-0 break-all font-mono text-[13px] leading-relaxed sm:text-sm",i.codeText),children:e}),(0,r.jsx)(tD,{value:e,copiedLabel:t,ariaLabel:n,tone:i.copyTone})]})}function tH({intro:e,links:t,conjunction:n,theme:i}){return(0,r.jsxs)("p",{className:(0,b.A)("text-[15px] leading-relaxed sm:text-base",i.bodyText),children:[e," ",t.map((e,a)=>{let o=a===t.length-1,s=a===t.length-2;return(0,r.jsxs)(c().Fragment,{children:[(0,r.jsxs)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",className:(0,b.A)("inline-flex items-baseline gap-0.5 font-medium underline underline-offset-2 transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-transparent",tP,i.link),children:[e.label,(0,r.jsx)(tS,{className:(0,b.A)("h-3 w-3 translate-y-px",i.linkArrow)})]}),!o&&(s?(0,r.jsxs)("span",{children:[", ",n," "]}):(0,r.jsx)("span",{children:", "}))]},e.url)}),"."]})}function tV({number:e,isLast:t=!1,badgeClassName:n,connectorClassName:i,children:a}){return(0,r.jsxs)("li",{className:"flex gap-4",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center","aria-hidden":"true",children:[(0,r.jsx)("span",{className:(0,b.A)("flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-[13px] font-semibold ring-1 ring-inset",n),children:e}),!t&&(0,r.jsx)("span",{className:(0,b.A)("mt-2 w-px flex-1 bg-gradient-to-b",i)})]}),(0,r.jsx)("div",{className:(0,b.A)("min-w-0 flex-1 space-y-3",!t&&"pb-6"),children:a})]})}let t$="{{TAG_ID}}",tU=[{label:"Playwright MCP",url:"https://github.com/microsoft/playwright-mcp"},{label:"Chrome DevTools MCP",url:"https://github.com/ChromeDevTools/chrome-devtools-mcp"},{label:"VS Code built-in browser agent tools",url:"https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode"}];function tz({template:e,tagId:t,onTagIdChange:n,placeholder:i,editAriaLabel:a,c
182opiedLabel:o,copyAriaLabel:s,theme:c}){let u=(0,l.useId)(),{before:d,after:p,hasToken:h}=tM(e,t$),f=e.split(t$).join(t.trim()||i),m=Math.max(t.length,i.length,6);return(0,r.jsx)("div",{className:(0,b.A)("rounded-xl px-4 py-3 ring-1 ring-inset",c.codeSurface),children:(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsxs)("p",{className:(0,b.A)("min-w-0 font-mono text-[13px] leading-relaxed sm:text-sm",c.codeText),children:[d,h&&(0,r.jsxs)("span",{className:(0,b.A)("mx-0.5 inline-flex items-center gap-1 rounded-md border border-dashed px-1.5 align-middle transition-colors duration-200",c.tokenChip),children:[(0,r.jsx)(tk,{className:(0,b.A)("h-3 w-3 shrink-0",c.pencilIcon)}),(0,r.jsx)("label",{htmlFor:u,className:"sr-only",children:a}),(0,r.jsx)("input",{id:u,type:"text",inputMode:"text",autoComplete:"off",spellCheck:!1,value:t,size:m,onChange:e=>n(e.target.value),placeholder:i,className:(0,b.A)("w-auto min-w-0 border-0 bg-transparent p-0 font-mono text-[13px] leading-none outline-none sm:text-sm","focus:!outline-none focus:!shadow-none focus:!ring-0 focus-visible:!outline-none focus-visible:!shadow-none",c.inputText)})]}),p]}),(0,r.jsx)(tD,{value:f,copiedLabel:o,ariaLabel:s,tone:c.copyTone})]})})}var tW=n(10486);function tG({text:e,placeholder:t,theme:n}){let{before:i,after:a,hasToken:o}=tM(e,t$);return(0,r.jsxs)("p",{className:(0,b.A)("text-[15px] leading-relaxed sm:text-base",n.bodyText),children:[i,o&&(0,r.jsx)("code",{className:(0,b.A)("mx-0.5 rounded-md border border-dashed px-1.5 py-0.5 font-mono text-[13px]",n.tokenChip),children:t}),a]})}function tq({isOpen:e,onClose:t,content:n,theme:i,triggerRef:a}){let[o,s]=(0,l.useState)(!1),[c,u]=(0,l.useState)(!1);return((0,l.useEffect)(()=>s(!0),[]),(0,l.useEffect)(()=>{if(!e)return;let t=document.documentElement,{body:n}=document,r={htmlOverflow:t.style.overflow,bodyOverflow:n.style.overflow};return t.style.overflow="hidden",n.style.overflow="hidden",()=>{t.style.overflow=r.htmlOverflow,n.style.overflow=r.bodyOverflow}},[e]),(0,l.useEffect)(()=>{e&&u(!0)},[e]),(0,l.useEffect)(()=>{if(e||!c)return;let t=window.setTimeout(()=>{u(!1),a.current?.focus()},360);return()=>window.clearTimeout(t)},[e,c,a]),o&&c)?(0,tW.createPortal)((0,r.jsx)(tK,{isOpen:e,onClose:t,content:n,theme:i}),document.body):null}function tK({isOpen:e,onClose:t,content:n,theme:i}){let a=(0,er.I)(),[o,s]=(0,l.useState)("wizard"),[c,u]=(0,l.useState)(""),p=(0,l.useRef)(null),h=(0,l.useRef)(null),f=(0,l.useRef)({wizard:null,skills:null,manual:null}),m=(0,l.useMemo)(()=>[{id:"wizard",label:n.tabs.wizard},{id:"skills",label:n.tabs.skills},{id:"manual",label:n.tabs.manual}],[n.tabs.wizard,n.tabs.skills,n.tabs.manual]);(0,l.useEffect)(()=>{if(!e)return;let n=e=>{if("Escape"===e.key){e.stopPropagation(),t();return}if("Tab"===e.key&&p.current){let t=Array.from(p.current.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(e=>"true"!==e.getAttribute("aria-hidden")&&e.getClientRects().length>0);if(0===t.length)return;let n=t[0],r=t[t.length-1];e.shiftKey&&document.activeElement===n?(e.preventDefault(),r.focus()):e.shiftKey||document.activeElement!==r||(e.preventDefault(),n.focus())}};document.addEventListener("keydown",n,!0);let r=window.setTimeout(()=>h.current?.focus(),60);return()=>{document.removeEventListener("keydown",n,!0),window.clearTimeout(r)}},[e,t]);let g=(0,l.useCallback)((e,t)=>{if("ArrowRight"!==e.key&&"ArrowLeft"!==e.key&&"Home"!==e.key&&"End"!==e.key)return;e.preventDefault();let n=t;"ArrowRight"===e.key&&(n=(t+1)%m.length),"ArrowLeft"===e.key&&(n=(t-1+m.length)%m.length),"Home"===e.key&&(n=0),"End"===e.key&&(n=m.length-1);let r=m[n];s(r.id),f.current[r.id]?.focus()},[m]);return(0,r.jsxs)(d.P.div,{className:"fixed inset-0 z-[100] flex items-center justify-center overflow-y-auto overflow-x-hidden overscroll-contain p-4 py-10 sm:p-6",role:"dialog","aria-modal":"true","aria-labelledby":"csq-wizard-title",children:[(0,r.jsx)(d.P.button,{type:"button","aria-hidden":"true",tabIndex:-1,initial:{opacity:0}
182,animate:{opacity:e?1:0},transition:{duration:.2},onClick:t,style:{pointerEvents:e?"auto":"none"},className:"fixed inset-0 cursor-default bg-grey-deep/80 backdrop-blur-sm"}),(0,r.jsxs)(d.P.div,{ref:p,initial:a?{opacity:0}:{opacity:0,scale:.96,y:16},animate:e?{opacity:1,scale:1,y:0}:a?{opacity:0}:{opacity:0,scale:.96,y:16},transition:{type:"spring",stiffness:260,damping:24},className:(0,b.A)("relative my-auto w-full max-w-[min(680px,90vw)] overflow-hidden rounded-[28px] p-6 sm:p-8",i.card),children:[(0,r.jsxs)("div",{className:"relative mb-6 flex items-start justify-between gap-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)("span",{"aria-hidden":"true",className:(0,b.A)("inline-flex h-12 w-12 shrink-0 items-center justify-center rounded-2xl",i.iconChip),children:(0,r.jsx)(tj,{className:(0,b.A)("h-7 w-7",i.iconColor)})}),(0,r.jsx)("h2",{id:"csq-wizard-title",className:(0,b.A)("font-newEdgeRounded text-xl leading-tight sm:text-2xl",i.heading),children:n.modalLabel})]}),(0,r.jsx)("button",{ref:h,type:"button",onClick:t,"aria-label":n.closeAriaLabel,className:(0,b.A)("inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full outline-none transition-colors duration-200 focus-visible:ring-2",tP,i.closeButton),children:(0,r.jsx)(tA,{className:"h-4 w-4"})})]}),(0,r.jsx)("div",{role:"tablist","aria-label":n.modalLabel,className:(0,b.A)("relative grid grid-cols-3 border-b sm:flex sm:gap-7",i.tablistBorder),children:m.map((e,t)=>{let n=e.id===o;return(0,r.jsxs)("button",{ref:t=>{f.current[e.id]=t},type:"button",role:"tab",id:`csq-tab-${e.id}`,"aria-selected":n,"aria-controls":`csq-panel-${e.id}`,tabIndex:n?0:-1,onClick:()=>s(e.id),onKeyDown:e=>g(e,t),className:(0,b.A)("relative -mb-px px-1 pb-3 text-center text-[13px] font-medium leading-tight outline-none transition-colors duration-200 sm:whitespace-nowrap sm:px-0 sm:text-left sm:text-[15px]",tP,n?i.tabActive:i.tabInactive),children:[e.label,n&&(0,r.jsx)(d.P.span,{layoutId:"csqWizardTabUnderline",className:(0,b.A)("absolute inset-x-0 -bottom-px h-[3px] rounded-full",i.tabUnderline),transition:a?{duration:0}:{type:"spring",stiffness:380,damping:30}})]},e.id)})}),(0,r.jsx)("div",{className:"relative mt-6 min-h-[244px]",children:(0,r.jsx)(tO.N,{mode:"wait",children:(0,r.jsxs)(d.P.div,{...a?{}:{initial:{opacity:0,y:8},animate:{opacity:1,y:0},exit:{opacity:0,y:-8},transition:{duration:.2}},role:"tabpanel",id:`csq-panel-${o}`,"aria-labelledby":`csq-tab-${o}`,tabIndex:0,className:"outline-none",children:["wizard"===o&&(0,r.jsxs)("div",{className:"space-y-5",children:[(0,r.jsx)("p",{className:(0,b.A)("text-[15px] leading-relaxed sm:text-base",i.bodyText),children:n.wizard.description}),(0,r.jsx)(tF,{command:n.wizard.command,copiedLabel:n.copiedLabel,copyAriaLabel:n.copyAriaLabel,theme:i}),(0,r.jsx)("p",{className:(0,b.A)("text-[13px] leading-relaxed sm:text-sm",i.mutedText),children:n.wizard.footnote})]}),"skills"===o&&(0,r.jsxs)("ol",{className:"list-none",children:[(0,r.jsx)(tV,{number:1,badgeClassName:i.stepBadge,connectorClassName:i.stepConnector,children:(0,r.jsx)(tH,{intro:n.mcpIntro,links:n.mcpLinks,conjunction:n.mcpConjunction,theme:i})}),(0,r.jsxs)(tV,{number:2,badgeClassName:i.stepBadge,connectorClassName:i.stepConnector,children:[(0,r.jsx)("p",{className:(0,b.A)("text-[15px] leading-relaxed sm:text-base",i.bodyText),children:n.skills.installPackText}),(0,r.jsx)(tF,{command:n.skills.command,copiedLabel:n.copiedLabel,copyAriaLabel:n.copyAriaLabel,theme:i})]}),(0,r.jsxs)(tV,{number:3,isLast:!0,badgeClassName:i.stepBadge,connectorClassName:i.stepConnector,children:[(0,r.jsx)(tG,{text:n.promptIntro,placeholder:n.tagId.placeholder,theme:i}),(0,r.jsx)(tz,{template:n.skills.promptTemplate,tagId:c,onTagIdChange:u,placeholder:n.tagId.placeholder,editAriaLabel:n.tagId.editAriaLabel,copiedLabel:n.copiedLabel,copyAriaLabel:n.copyAriaLabel,theme:i})]})]}),"manual"===o&&(0,r.jsxs)("ol",{className:"list-none",children:[(0,r.jsx)(tV,{number:1,badgeClassName:i.stepBadge,connectorClassName:i.stepConnector,children:(0,r.jsx)(tH,{intro:n.mcpIntro,links:n.mcpLinks,conjunction:n.mcpConjunction,theme:i})}),(0,r.jsxs)(tV,{number:2,isLast:!0,badgeClassName:i.stepBadge,connectorClassName:i.stepConnector,children:[(0,r.jsx)(tG,{text:n.promptIntro,placeholder:n.tagId.placeholder,theme:i}),(0,r.jsx)(tz,{template:n.manual.promptTemplate,tagId:c,onTagIdChange:u,placeholder:n.tagId.placeholder,editAriaLabel:n.tagId.editAriaLabel,copiedLabel:n.copiedLabel,copyAriaLabel:n.copyAriaLabel,theme:i})]})]})]},o)})}),n.disclaimer&&(0,r.jsxs)("div",{className:(0,b.A)("mt-6 flex gap-3 px-4 py-3",i.disclaimerSurface),children:[(0,r.jsx)(tT,{className:(0,b.A)("mt-0.5 h-4 w-4 shrink-0",i.disclaimerIcon)}),(0,r.jsx)("p",{className:(0,b.A)("text-[13px] leading-relaxed",i.mutedText),children:n.disclaimer})]})]})]})}function tY({jsonData:e}){let{t}=(0,eZ.Bd)(),n=rj(),[a,o]=(0,l.useState)(!1),s=(0,l.useRef)(null),c=(0,l.useMemo)(()=>(function(e,t){let n=e=>t(e,{defaultValue:e,nsSeparator:!1,keySeparator:!1}),r=e||{},i=Array.isArray(r.mcpLinks)&&r.mcpLinks.length>0?r.mcpLinks.filter(e=>!!(e?.label&&e?.url)):tU;return{installLabel:r.installLabel??n("Install via AI"),command:r.command??"npx @contentsquare/wizard install",copyAriaLabel:r.copyAriaLabel??n("Copy command"),copiedLabel:r.copiedLabel??n("Copied!"),modalLabel:r.modalLabel??n("Install Contentsquare via AI"),closeAriaLabel:r.closeAriaLabel??n("Close"),tabs:{wizard:r.tabWizard??n("Contentsquare wizard"),skills:r.tabSkills??n("Using skills"),manual:r.tabManual??n("Manual prompt")},wizard:{description:r.wizardDescription??n("Run one command in your terminal â the wizard configures your AI agent, installs the tag for your framework, and verifies it's working."),command:r.wizardCommand??"npx @contentsquare/wizard install",footnote:r.wizardFootnote??n("Supports GitHub Copilot, Cursor, and Claude Code. Requires Node.js ⥠18 and an AI coding agent with MCP support.")},mcpIntro:r.mcpIntro??n("Install a browser automation MCP server â"),mcpLinks:i,mcpConjunction:r.mcpConjunction??n("or"),promptIntro:r.promptIntro??n(`Supply ${t$} in the following prompt and paste it into your AI coding agent:`),tagId:{placeholder:r.tagIdPlaceholder??"YOUR_TAG_ID",editAriaLabel:r.tagIdEditAriaLabel??n("Your Contentsquare tag ID")}
182,skills:{installPackText:r.skillsInstallPackText??n("Install the skill pack:"),command:r.skillsCommand??"npx contentsquare/skills",promptTemplate:r.skillsPrompt??`Add contentsquare to my website using tag ID ${t$}`},manual:{promptTemplate:r.manualPrompt??`Install Contentsquare (tag ID: ${t$}). Use curl to download, read, and follow: https://docs.contentsquare.com/skills/web/tag-install.md`},disclaimer:"string"==typeof r.disclaimer&&r.disclaimer.trim()?r.disclaimer.trim():void 0}})(e,t),[e,t]),u=n?.backgroundColor?.name,d=(0,l.useMemo)(()=>(function(e,t){let n=tI(e?.theme)??tI(t)??"burgundy",r=function(e){if(!e)return null;let t=e.toLowerCase();return t.includes("light")?"light":t.includes("dark")?"dark":null}(e?.mode)??"dark";return tN[n][r]})(e,u),[e,u]),p=(0,l.useMemo)(()=>(0,i.Ay)(u||"Pale Grey").includes("text-white"),[u]),h=(0,l.useCallback)(()=>o(!0),[]),f=(0,l.useCallback)(()=>o(!1),[]);return(0,r.jsxs)("div",{className:"hidden justify-center lg:flex",children:[(0,r.jsx)(tB,{content:c,isDark:p,onOpen:h,openButtonRef:s}),(0,r.jsx)(tq,{isOpen:a,onClose:f,content:c,theme:d,triggerRef:s})]})}function tX(e){let{component:t,jsonData:n}=e,i={"NPS Calculator":eJ,"AI Hero":tu,"AI-Powered Company Personalization Flow":tw,"CSQ Setup Wizard":tY}[t];return i?(0,r.jsx)(i,{jsonData:n}):null}var tZ=n(47175),tJ=n(84265);function tQ(e){let{layout:t="Default"}=e,n={Default:et,"Contained â Vertically Centered, Space Around":es,"Contained â Vertically Centered, Aligned Right":es,"Contained â Vertically Stretched":es,"Contained â Aligned Bottom Right":es,Capabilities:el,Box:ec,"Split Boxes":ed,"Cutout Assets":ep,"Connected Borders":ef}[t];return n?(0,r.jsx)(n,{...e,layout:t}):null}function t0({contentType:e,isDefault:t=!1,isSplitBoxLayout:n=!1,...i}){let a={textCard:f,asset:g.Ay,postFaq:tJ.A,form:A.A,row:eT,logoStrip:y.A,twoColumns:tQ,accentContent:ev,iconGrid:eI,checklist:eM,resourcesCta:eW,staticComponents:tX,textHighlight:tZ.A};if(!e)return null;let o=a[e];return o?(0,r.jsx)(o,{...i,isTwoCol:!0,sectionBG:i?.sectionBG,isDefault:t,isSplitBoxLayout:n}):null}function t1({customer:e,colourTheme:t,className:n=""}){let i=rj(),{t:a}=(0,eZ.Bd)(),{getTheme:o}=$(),s=o("arrowColour",t),l=o("statColour",t);return(0,r.jsxs)(v.Ay,{className:`group relative flex flex-col rounded-[1.5rem] border p-6 lg:p-8 ${n}`,borderColor:s,hasVerticalArrows:!0,sectionBackgroundColor:i?.backgroundColor?.name||"White",children:[(0,r.jsxs)("figure",{className:"mb-6 space-y-3 lg:mb-[7.125rem] lg:space-y-[1.125rem]",children:[(0,r.jsx)("span",{className:(0,b.A)("text-78",l),dangerouslySetInnerHTML:{__html:e?.excerptStat||""}}),(0,r.jsx)("figcaption",{className:"text-18",dangerouslySetInnerHTML:{__html:e?.excerptStatCaption||""}})]}),(0,r.jsx)("h3",{className:"text-h6 mb-5 mt-auto md:mb-8",dangerouslySetInnerHTML:{__html:e?.title||""}}),(0,r.jsx)(eg.Y,{link:{title:a("Read more")},className:""}),e?.slug?.length>0&&(0,r.jsx)(_(),{href:e?.slug||"#","aria-label":e?.title||a("Read more"),className:"absolute inset-0"})]})}function t2({customer:e,hasLogo:t=!1}){let n=rj(),{getTheme:i}=$(),a=i("invertLogo",n?.backgroundColor?.name||"White");return(0,r.jsxs)("div",{className:"relative overflow-hidden rounded-lg",children:[e?.coverImage?.fields?.file?.url?.length>0&&(0,r.jsx)(G.A,{image:e?.coverImage,className:"h-full w-full object-cover"}),(0,r.jsx)(x.A,{colour:n?.backgroundColor?.name||"White",position:"bottomRight",radius:12,children:t?(0,r.jsx)("div",{className:"customer-cta-thumbnail-logo pl-3 pt-2",children:(0,r.jsx)("div",{className:(0,b.A)("relative h-5 lg:h-[2.25rem] lg:w-[7.5rem]",a),children:(0,r.jsx)(G.A,{image:e?.logo,className:"h-full w-full object-contain object-right"})})}):(0,r.jsx)("div",{className:"aspect-[20/13] h-6 md:h-10 lg:h-[3.25rem]"})})]})}function t3({customer:e,isFeatured:t=!1,hasCutout:n=!1,className:i="",colourTheme:a,brandColour:o,i:s}){let c=rj(),{t:p}=(0,eZ.Bd)(),{getTheme:h}=$(),f=h("backgroundThemes",a),m=h("invertLogo",a),g=(0,l.useRef)(null),y=(0,u.W)(g,{once:!0});return(0,r.jsx)(d.P.div,{ref:g,className:(0,b.A)("group relative",i),initial:{opacity:0,scale:.8}
182,animate:{opacity:y?1:0,scale:y?1:.8,transition:{type:"spring",stiffness:180,damping:10,opacity:{duration:.3,delay:.035*s},scale:{duration:.3,delay:.03*s}}},children:(0,r.jsxs)(_(),{href:e?.slug||"#",className:(0,b.A)("flex h-full flex-col rounded-lg",o?"":f,t?"p-6 pb-7 md:pb-8":"p-6 pb-8 lg:p-8 lg:pb-10"),style:o?{background:`#${o}`}:{},children:[n?(0,r.jsx)(x.A,{colour:c?.backgroundColor?.name||"White",position:t?"bottomRight":"topRight",radius:8,hideOnMobile:t,children:(0,r.jsx)("div",{className:`transition-all delay-200 duration-500 ease-in-out ${t?"aspect-[128/40] h-6 md:group-hover:aspect-[160/40] lg:h-10":"aspect-[20/7] h-6 md:aspect-[27/7] lg:h-[1.75rem]"}`})}):(0,r.jsx)(x.A,{colour:c?.backgroundColor?.name||"White",position:"topRight",radius:8,hideOnMobile:t,children:(0,r.jsx)("div",{className:`transition-all delay-200 duration-500 ease-in-out ${t?"h-6 w-6 md:group-hover:w-16 lg:h-8":"aspect-[20/7] h-6 md:aspect-[27/7] lg:h-[1.75rem]"}`})}),e?.logo?.fields?.file?.url?.length>0&&(0,r.jsx)("div",{className:(0,b.A)("relative h-5 w-[7.5rem] lg:h-6",m),children:(0,r.jsx)(G.A,{image:e?.logo,className:"h-full w-full object-contain object-left"})}),(0,r.jsx)("h3",{className:(0,b.A)("mb-5 w-full pt-10 transition-colors duration-300 lg:mb-6",t?"text-h7":"text-h6",t&&n?"md:max-w-[19.75rem] md:pt-6":"mt-auto"),dangerouslySetInnerHTML:{__html:e?.title}}),(0,r.jsx)(eg.Y,{link:{title:p("Read story")},type:"Text Link â White",className:""})]})})}let t5=function({colourTheme:e,customers:t,sectionBG:n}){return t?.length>0?(0,r.jsx)("ul",{className:"grid gap-y-6",children:t?.map(t=>r.jsxs("li",{className:"grid gap-y-5 md:grid-cols-3 md:gap-x-6",children:[r.jsx(t3,{customer:t,hasCutout:!0,colourTheme:e}),r.jsxs("div",{className:"relative overflow-hidden rounded-xl md:col-span-2",children:[t?.coverImage?.fields?.file?.url?.length>0&&r.jsx(G.A,{image:t?.coverImage,className:"h-full w-full object-cover"}),r.jsx(x.A,{colour:n?.name||"White",position:"bottomRight",radius:12,children:r.jsx("div",{className:"aspect-[20/13] h-6 md:h-10 lg:h-[3.25rem]"})})]})]},t.id))}):null},t4=function({colourTheme:e,testimonial:t}){let n=rj(),{getTheme:i}=$(),a=i("backgroundThemes",e),o=i("quoteTheme",e),s=i("quoteThemeBody",e),l=i("quoteThemeRole",e),c=i("invertLogo",e),u=!!(t?.coverImage||t?.headshot||t?.logo);return(0,r.jsxs)("div",{className:"relative flex flex-col-reverse gap-5 sm:flex-row lg:gap-6",children:[(0,r.jsx)("div",{className:"flex-1 overflow-hidden",children:(0,r.jsxs)("div",{className:(0,b.A)("relative flex h-full items-center rounded-xl rounded-tl-none px-6 py-10 sm:px-12 sm:py-14 lg:px-24 lg:py-16",!u&&"xl:py-24",a,s),children:[(0,r.jsx)(x.A,{colour:n?.backgroundColor?.name||"White",position:"topLeft",radius:12,children:(0,r.jsx)("div",{className:"pb-2 pr-4 md:pb-4 md:pr-5 lg:pb-5",children:(0,r.jsx)(U.Xu,{className:(0,b.A)("w-[1.625rem] md:w-[1.875rem]",o)})})}),(0,r.jsx)(x.A,{colour:n?.backgroundColor?.name||"White",position:"bottomRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[110/44] h-6 md:h-9 lg:h-11"})}),(0,r.jsx)(x.A,{colour:n?.backgroundColor?.name||"White",position:"bottomLeft",radius:12,hideOnMobile:!0,children:(0,r.jsx)("div",{className:"aspect-[80/44] h-6 md:h-9 lg:h-12"})}),(0,r.jsx)(X,{...t,hasImage:u,logoInvert:c,roleTheme:l})]})}),u&&(0,r.jsx)("div",{className:"w-full shrink-0 sm:w-1/4 sm:max-w-[16.75rem]",children:(0,r.jsx)(Z,{...t,sectionBackgroundColor:n?.backgroundColor?.name,colourTheme:e,getTheme:i})})]})},t6=function({colourTheme:e,testimonial:t,customers:n}){return(0,r.jsxs)("div",{className:"grid gap-5 md:grid-cols-3 md:gap-6",children:[t&&(0,r.jsx)("div",{className:"md:col-span-3",children:(0,r.jsx)(t4,{testimonial:t,colourTheme:e})}),n?.length>0&&n?.map((t,n)=>n%2==1?r.jsx(t3,{customer:t,hasCutout:!1,colourTheme:e},t.id):r.jsxs(c().Fragment,{children:[r.jsx(t1,{customer:t,colourTheme:e,className:"md:aspect-[364/428]"}),r.jsx(t2,{customer:t,hasLogo:!0})]},t.id))]})},t8=({char:e,index:t,startCount:n,startDelayOffset:i})=>(0,r.jsx)(d.P.span,{initial:{transform:"translateY(-100%)"},animate:{transform:n?"translateY(0%)":"translateY(-100%)"},transition:{type:"spring",stiffness:140,damping:18,delay:i+.1*t},className:"inline-flex items-center overflow-y-clip",children:e}),t7=(e,t=5,n=10)=>{let r=new Set;for(;r.size<t;){let t=Math.floor(Math.random()*n);t!==e&&r.add(t)}return Array.from(r)},t9=({number:e,index:t,startCount:n,startDelayOffset:i})=>{let a=t%2==0?"down":"up",o=(0,l.useMemo)(()=>t7(e,3,10),[e]),s=(0,l.useMemo)(()=>100*o.length,[o]);return(0,r.jsxs)("span",{className:"rolling-number relative inline-flex items-center overflow-y-clip",children:[(0,r.jsx)(d.P.div,{className:"absolute inset-0 flex items-center",children:(0,r.jsxs)(d.P.div,{initial:{transform:`translateY(${"down"===a?"-100%":"100%"})`},animate:{transform:n?`translateY(${"down"===a?`${s}%`:`-${s}%`})`:`translateY(${"down"===a?"-100%":"100%"})`},transition:{type:"spring",stiffness:70,damping:15,delay:i+.1*t},className:`absolute inset-0 flex flex-col ${"down"===a?"flex-col-reverse":""}`,children:[o.map((e,t)=>(0,r.jsx)("span",{suppressHydrationWarning:!0,children:Number(e)},t)),(0,r.jsx)("span",{children:e})]})}),(0,r.jsx)("span",{className:"opacity-0",children:e})]})},ne=({className:e="",stat:t,startCount:n,startDelayOffset:i})=>{let a=t||"0";return(0,er.I)()?(0,r.jsx)("span",{className:(0,b.A)(e),children:a}):(0,r.jsx)("div",{className:(0,b.A)("overflow-hidden whitespace-nowrap",e),children:a?.split("").map((e,t)=>/\d/.test(e)?r.jsx(t9,{index:t,number:e,startCount:n,startDelayOffset:i},`number-${e}-${t}`):r.jsx(t8,{char:e,index:t,startCount:n,startDelayOffset:i},`other-${e}-${t}`))})};function nt({colourTheme:e,customers:t}){let n=rj(),{t:i}=(0,eZ.Bd)(),a=(0,l.useRef)(null),o=(0,u.W)(a,{once:!0,amount:.25});return(0,r.jsx)("div",{ref:a,className:"grid gap-6 md:grid-cols-12 md:gap-5 lg:gap-6",children:t?.map((t,a)=>{let s=0===a,l=n?.backgroundColor?.name;if(!t?.slug)return null;if(s)return r.jsxs(c().Fragment,{children:[r.jsx(v.Ay,{className:"md:col-span-4",borderColor:"Black"===l&&"White / 45",sectionBackgroun
182dColor:l,hasVerticalArrows:!0,children:r.jsxs(_(),{href:t?.slug??"",className:"group flex h-full w-full flex-col justify-between gap-y-10 !rounded-3xl p-6 pb-7 md:pb-8 lg:px-8 lg:py-9",children:[r.jsxs("div",{className:"space-y-1 lg:space-y-2",children:[t?.excerptStat&&r.jsx(ne,{startCount:o,className:"text-78",stat:t?.excerptStat}),t?.excerptStatCaption&&r.jsx("div",{className:"text-18",dangerouslySetInnerHTML:{__html:t?.excerptStatCaption}})]}),r.jsxs("div",{className:"space-y-5 lg:space-y-8",children:[t?.title&&r.jsx("div",{className:"text-h6",dangerouslySetInnerHTML:{__html:t?.title}}),r.jsx(eg.Y,{link:{title:i("Read story")}})]})]})}),r.jsxs(d.P.div,{className:"relative order-first rounded-l-xl md:order-none md:col-span-8",initial:{opacity:0,scale:.8},animate:{opacity:o?1:0,scale:o?1:.8,transition:{type:"spring",stiffness:180,damping:10,opacity:{duration:.3,delay:.035*a},scale:{duration:.3,delay:.03*a}}},children:[r.jsx(_(),{href:t?.slug??"",className:"block",children:r.jsx(G.A,{image:t?.coverImage,className:"h-full w-full rounded-l-xl object-cover"})}),r.jsx(x.A,{colour:l,position:"topRight",radius:12,children:r.jsx("div",{className:"aspect-[32/56] h-8 sm:h-10 md:h-14"})}),r.jsx(x.A,{colour:l,position:"bottomRight",radius:12,children:r.jsx("div",{className:"pl-2.5 pt-2.5 sm:pl-4 sm:pt-4",children:r.jsx(G.A,{image:t?.logo,className:b.A("h-auto max-h-12 w-auto object-contain max-sm:max-w-14",("Black"===l||l?.includes("Dark")||l?.includes("Deep"))&&"brightness-0 invert")})})})]})]},a);let u=(a-1)%3==2;return r.jsx(t3,{customer:t,className:u?"md:col-span-6":"md:col-span-3 lg:min-h-[19.125rem]",isFeatured:!0,hasCutout:u,colourTheme:e,brandColour:t?.brandColour,i:a},a)})})}var nn=n(46147);let nr=function({customers:e}){let{t}=(0,eZ.Bd)(),{getTheme:n}=$(),a=rj(),o=a?.backgroundColor?.name||"White";return(0,r.jsx)("div",{className:"grid gap-x-8 gap-y-12 sm:grid-cols-2 sm:gap-y-16 md:gap-x-10 lg:gap-x-16 lg:gap-y-32",children:e?.length>0&&e?.map((e,a)=>{let s=e?.colour||"Deep / Midnight",l=n("statColour",s).replace("white-overwrite","").trim(),c=Math.floor(a/2)+1,u=a%2+1,d=c%2==1&&2===u||c%2==0&&1===u;return e?.slug?d?r.jsxs(_(),{href:e?.slug,className:b.A("group relative flex w-full max-w-[24.25rem] flex-col justify-between space-y-8 rounded-xl p-7 sm:aspect-[388/400] sm:p-8 lg:px-10 lg:py-9",i.Ay(s),d&&2===u&&"lg:mb-16 lg:ml-auto lg:mt-auto"),children:[r.jsx("div",{className:"w-28",children:e?.logo?.fields?.file?.url&&r.jsx(G.A,{image:e?.logo,className:s?.includes("Deep")&&"invert"})}),e?.excerptStat&&e?.excerptStatCaption&&r.jsxs("div",{className:"space-y-1",children:[e?.excerptStat&&r.jsx("div",{className:b.A("text-h1 is-large",l),dangerouslySetInnerHTML:{__html:e?.excerptStat}}),e?.excerptStatCaption&&r.jsx("div",{className:"text-20 opacity-80",dangerouslySetInnerHTML:{__html:e?.excerptStatCaption}})]}),r.jsx(eg.Y,{link:{title:t("Read story")}}),r.jsx(x.A,{colour:o,position:"topRight",radius:12,className:"!m-0",children:r.jsx("div",{className:"aspect-[96/36] h-8 md:h-9"})})]},e.id):r.jsxs(_(),{href:e?.slug,className:b.A("group space-y-4 md:space-y-6",!d&&2===u&&"lg:mt-32"),children:[r.jsxs("div",{className:"relative overflow-hidden rounded-lg",children:[e?.coverImage?.fields?.file?.url?.length>0&&r.jsx(G.A,{image:e?.coverImage,className:"aspect-[560/470] h-full w-full object-cover"}),r.jsx(x.A,{colour:o,position:"bottomRight",radius:12,children:e?.logo?r.jsx("div",{className:"pl-2.5 pt-2.5 md:pl-3.5",children:r.jsx(G.A,{image:e?.logo,className:b.A("h-auto max-h-12 w-auto object-contain max-sm:max-w-14",("Black"===o||o?.includes("Dark")||o?.includes("Deep"))&&"invert")})}):r.jsx("div",{className:"aspect-[96/54] h-8 md:h-12"})})]}),e?.title&&r.jsx("div",{className:"text-h6",dangerouslySetInnerHTML:{__html:e?.title}}),r.jsx(eg.Y,{link:{title:t("Read story")}})]},e.id):null})})};function ni(e){let{layout:t="Default"}=e,n={Default:t5,"Simple Grid":t6,"Featured Grid":nt,"Customer with Products List":nn.A,"Two Column Story And Stat Card":nr}[t??"Default"];return n?(0,r.jsx)(n,{...e}):null}var na=n(13073);let no=function({item:e,index:t,isActive:n,setActiveAccordionItem:s,isSmall:l=!1,isDesktop:c=!1,colourTheme:u,layout:d,alignment:p,accordionId:h}){let f=rj(),m=h?`${h}-accordion-button-${t}`:void 0,y=h?`${h}-accordion-panel-${t}`:void 0,v=u&&"None"!==u?`text-16 rounded px-2 py-1.5 font-medium !transition-all ${(0,i.Ay)(u)}`:"",x=function(e="None"){let t=(0,i.Ay)(f?.backgroundColor?.name).includes("text-white")?"border border-solid text-white border-white":"border border-solid text-black border-black";switch(e){case"None":default:return t;case"Lime - DXA":return"bg-lime-light text-black";case"Lilac - PA":return"bg-lilac-light text-black";case"Grey - VOC":return"bg-grey-light text-white";case"Coral - DEM":return"bg-coral-light text-black"}}(e.planTagsColour);return(0,r.jsxs)("div",{className:(0,b.A)("acc-btn z-10 grid w-full overflow-hidden border-t py-5 text-left md:block md:pr-2 lg:pr-3",i.AS[f?.backgroundColor?.name||"White"]?.background,0===t?"max-md:border-t-0":"",l&&"!border-t"),children:[(0,r.jsxs)("button",{type:"button","aria-expanded":n,"aria-label":e?.label,className:(0,b.A)("flex w-full items-center justify-between space-x-3 text-left transition duration-300 ease-in-out",l?"":n?"overflow-hidden":""),id:m,"aria-controls":y,onClick:()=>s(n?null:t),children:[(0,r.jsxs)("div",{className:"flex items-center space-x-3",children:[e?.icon?.fields?.file?.url?.length>0&&(0,r.jsx)("div",{className:"h-[24px] w-[24px]",children:(0,r.jsx)(G.A,{image:e.icon,className:"h-full w-full object-contain"})}),(0,r.jsx)("span",{className:(0,b.A)("text-h7 is-larger",n?v:""),dangerouslySetInnerHTML:{__html:e?.label}})]}),(0,r.jsx)("div",{className:(0,b.A)("flex-center h-[0.625rem] w-2 transition-transform duration-200",n?"rotate-180":""),"aria-hidden":!0,
182children:(0,r.jsx)(U.yQ,{})})]}),!l&&(0,r.jsxs)(na.m.div,{initial:{height:0,opacity:0,marginTop:0},animate:{height:n?"auto":0,opacity:n?1:0,marginTop:n?20:0},transition:{duration:.3,ease:"easeInOut"},className:"flex w-full flex-col","aria-hidden":!n,id:y,"aria-labelledby":m,children:[(0,r.jsxs)("div",{className:"pb-4 text-left lg:pt-0",children:[e.planTags&&e.planTags.length>0&&(0,r.jsx)("div",{className:"flex gap-3 pb-3",children:e.planTags.map((e,t)=>(0,r.jsx)("span",{className:(0,b.A)(x,"rounded px-2 py-1"),dangerouslySetInnerHTML:{__html:e}},t))}),e?.heading&&(0,r.jsx)("h3",{className:"text-h6 mb-3 max-w-[24rem] max-md:hidden",dangerouslySetInnerHTML:{__html:e?.heading}}),e?.content&&(0,r.jsx)(a.A,{content:e?.content,className:"mb-4 max-lg:prose-sm lg:pr-4"}),e?.button?.title&&(0,r.jsx)(o.A,{...e?.button,isTabbable:n})]}),"Default"===d?(0,r.jsx)("div",{className:`grid max-w-full md:absolute ${"Content Right"===p?"md:left-0 md:top-0":"md:right-0 md:top-0"} w-full md:w-[55%]`,children:(0,r.jsx)("div",{className:`relative w-full overflow-hidden rounded-lg ${e?.asset?.layout!=="Rive Animation"&&e?.asset?.layout!=="Rive Animation (Interactive)"&&e?.asset?.type!=="Iframe Embed"&&"aspect-[647/512]"}`,children:(0,r.jsx)(g.Ay,{...e.asset,isFill:!0})})}):c?null:(0,r.jsx)("div",{className:"grid max-w-full md:hidden",children:(0,r.jsx)("div",{className:`relative w-full overflow-hidden rounded-lg md:hidden ${e?.asset?.layout!=="Rive Animation"&&e?.asset?.layout!=="Rive Animation (Interactive)"&&e?.asset?.type!=="Iframe Embed"&&"aspect-[647/512]"}`,children:(0,r.jsx)(g.Ay,{...e.asset,isFill:!0})})})]},"accordion-item-content")]})},ns=function({item:e,index:t,activeAccordionItem:n,setActiveAccordionItem:i,isDesktop:a,colourTheme:o,layout:s,alignment:l,accordionId:c}){let u=n===t;return(0,r.jsx)("li",{className:`flex w-full flex-col overflow-hidden transition-all duration-[400ms] ${u?"md:grow":""}`,children:(0,r.jsx)(no,{item:e,index:t,isActive:u,setActiveAccordionItem:i,isSmall:!1,isDesktop:a,colourTheme:o,layout:s,alignment:l,accordionId:c})})};function nl({item:e,index:t,activeAccordionItem:n,setActiveAccordionItem:i,isDesktop:s,colourTheme:l,layout:c,alignment:u,accordionId:d}){let p=n===t,h=d?`${d}-button-${t}`:void 0,f=d?`${d}-panel-${t}`:void 0;return(0,r.jsxs)("li",{className:"grid overflow-hidden max-md:w-full",children:[(0,r.jsx)(no,{item:e,index:t,isActive:p,setActiveAccordionItem:i,isSmall:!0,colourTheme:l,layout:c,alignment:u,accordionId:d}),(0,r.jsxs)(na.m.div,{initial:{height:0,opacity:0,marginTop:0},animate:{height:p?"auto":0,opacity:p?1:0},transition:{duration:.3,ease:"easeOut"},"aria-hidden":!p,id:f,"aria-labelledby":h,children:[(0,r.jsxs)("div",{className:"pb-8 xl:-mt-2",children:[e?.heading&&(0,r.jsx)("h3",{className:"text-h6 mb-4",dangerouslySetInnerHTML:{__html:e?.heading}}
182),e?.content&&(0,r.jsx)(a.A,{content:e?.content,className:"prose-16"}),e?.button?.title&&(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(o.A,{...e?.button,isTabbable:p})})]}),"Default"===c?(0,r.jsx)("div",{className:`grid w-full max-w-full md:absolute ${"Content Right"===u?"md:left-0 md:top-0":"md:right-0 md:top-0"} md:w-[55%] lg:w-[59%]`,children:(0,r.jsx)("div",{className:`relative w-full overflow-hidden rounded-lg ${e?.asset?.layout!=="Rive Animation"&&e?.asset?.layout!=="Rive Animation (Interactive)"&&e?.asset?.type!=="Iframe Embed"&&"aspect-[647/512]"}`,children:(0,r.jsx)(g.Ay,{...e.asset,isFill:!0})})}):s?null:(0,r.jsx)("div",{className:"grid max-w-full md:hidden",children:(0,r.jsx)("div",{className:`relative w-full overflow-hidden rounded-lg md:hidden ${e?.asset?.layout!=="Rive Animation"&&e?.asset?.layout!=="Rive Animation (Interactive)"&&e?.asset?.type!=="Iframe Embed"&&"aspect-[647/512]"}`,children:(0,r.jsx)(g.Ay,{...e.asset,isFill:!0})})})]},"accordion-item-content")]})}var nc=n(5793),nu=n(7411);function nd({colourTheme:e="",alignment:t,size:n="Medium",header:a,items:o,layout:s}){let[c,u]=(0,l.useState)(0),d=(0,l.useId)(),{width:p}=(0,w.A)(),h=rj(),m=p>767,g="Content Right"===t,y=void 0!==a;return(0,r.jsx)(nc.F,{features:nu.l,children:(0,r.jsxs)("div",{className:"relative overflow-hidden max-md:rounded-lg max-md:p-5",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-current opacity-[.04] md:hidden"}),(0,r.jsx)("div",{className:"relative z-[5] grid gap-y-6 overflow-hidden md:grid-cols-12 md:gap-x-6",children:(0,r.jsxs)("div",{className:(0,b.A)("order-last grid w-full flex-col md:col-span-5 md:flex",g?"items-end":"md:order-first",i.bF(h?.backgroundColor?.name||"White")?.border,"Default"===s&&"Content Right"===t?"md:col-start-8 md:col-end-[13]":""),children:[y&&(0,r.jsx)("div",{className:"mb-8 pb-1 md:h-full md:max-w-[25.375rem] xl:mb-12",children:(0,r.jsx)(f,{...a})}),(0,r.jsx)("ul",{className:`flex-col items-start md:flex md:grow ${y?"md:max-w-[25.375rem]":"md:border-b"}`,children:o?.map((n,i)=>y?r.jsx(nl,{item:n,index:i,activeAccordionItem:c,setActiveAccordionItem:u,isDesktop:m,colourTheme:e,layout:s,alignment:t,accordionId:d},i):r.jsx(ns,{item:n,index:i,activeAccordionItem:c,setActiveAccordionItem:u,isDesktop:m,colourTheme:e,layout:s,alignment:t,accordionId:d},i))})]})})]})})}let np=function({colourTheme:e,item:t,index:n,isActive:a,setActiveAccordionItem:o}){let s=["transition","duration-300","ease-out"];return(0,r.jsx)("button",{type:"button","aria-label":t?.label,className:"acc-btn relative z-10 w-full px-2 py-3 lg:px-5 lg:py-5",onClick:()=>o(n),children:(0,r.jsxs)("div",{className:"flex items-center justify-between space-x-3",children:[(0,r.jsx)("span",{className:(0,b.A)("text-16 rounded py-1 font-medium !transition-all",s?.join(" "),a?`px-2 ${(0,i.Ay)(e)}`:""),dangerouslySetInnerHTML:{__html:t?.label}}),(0,r.jsx)("div",{className:(0,b.A)("flex-center h-[0.625rem] w-2",s?.join(" "),a?"opacity-0":""),children:(0,r.jsx)(U.yQ,{})})]})})},nh=function({colourTheme:e,item:t,index:n,isActive:s,setActiveAccordionItem:l,isDesktop:c=!1,alignment:u}){let d=rj();return(0,r.jsxs)("li",{className:(0,b.A)("w-full overflow-hidden rounded-lg border transition-all duration-[400ms]",s?`grow ${(0,i.bF)(d?.backgroundColor?.name||"White").background}`:"",(0,i.bF)(d?.backgroundColor?.name||"White").border),children:[(0,r.jsx)(np,{colourTheme:e,item:t,index:n,isActive:s,setActiveAccordionItem:l,alignment:u}),(0,r.jsxs)(na.m.div,{initial:{height:0,opacity:0,marginTop:0},animate:{height:s?"auto":0,opacity:s?1:0,y:s?0:50},transition:{duration:.3,ease:"easeInOut"},"aria-hidden":!s,children:[(0,r.jsxs)("div",{className:"px-3 text-left lg:px-5",children:[t?.heading&&(0,r.jsx)("h3",{className:"text-h5 mb-3 max-w-[24rem]",dangerouslySetInnerHTML:{__html:t?.heading}}),t?.content&&(0,r.jsx)(a.A,{content:t?.content,className:"mb-4 max-w-[20.25rem] opacity-80 max-lg:prose-sm"}),t?.button?.title&&(0,r.jsx)(o.A,{...t?.button,isTabbable:s})]}),c?null:(0,r.jsx)("div",{className:"px-3 pb-3 md:hidden",children:(0,r.jsx)("div",{className:"relative aspect-[131/115] overflow-hidden rounded-lg",children:(0,r.jsx)(g.Ay,{...t.asset,isFill:!0})})})]},"accordion-item-content")]})},nf=function({alignment:e,header:t,colourTheme:n,items:a}){let[o,s]=(0,l.useState)(0),c=rj(),{width:u}=(0,w.A)(),d=u>767,p="Content Right"===e;return(0,r.jsx)(nc.F,{features:nu.l,children:(0,r.jsxs)("div",{className:"grid gap-y-6 overflow-hidden md:grid-cols-3 md:gap-x-6",children:[(0,r.jsxs)("div",{className:(0,b.A)("order-last flex flex-col",p?"items-end":"md:order-first"),children:[void 0!==t&&(0,r.jsx)("div",{className:"mb-8 h-full max-w-[25.375rem] pb-1 xl:mb-12",children:(0,r.jsx)(f,{...t})}),(0,r.jsx)("ul",{className:"flex grow flex-col items-start space-y-3 border-current",children:a?.map((t,i)=>r.jsx(nh,{colourTheme:n,item:t,index:i,isActive:o===i,setActiveAccordionItem:s,isDesktop:d,alignment:e},i))})]}),d?(0,r.jsx)("div",{className:"max-md:hidden md:col-span-2",children:(0,r.jsx)("div",{className:(0,b.A)("relative aspect-[188/147] overflow-hidden rounded-lg border",(0,i.bF)(c?.backgroundColor?.name||"White").border),children:a?.map((e,t)=>r.jsx("div",{className:"absolute inset-0 transition-opacity duration-500",style:{opacity:o===t?1:0},children:r.jsx(g.Ay,{...e.asset,isFill:!0})},t))})}):null]})})};function nm({backgroundColour:e="",colourTheme:t="",size:n="Medium",header:s,items:c,layout:u,stackedAccordionMediaAspectRatio:d}){let[p,h]=(0,l.useState)(0),m=(0,l.useRef)([]),{width:y,height:v}=(0,w.A)(),x=rj(),j=y>767,C=null!==p?c?.[p]:null,E=(0,i.vG)(x?.backgroundColor?.name),k="text-white"===E?"bg-black hover:bg-black/75":"bg-paleGrey hover:bg-[#dedfdd]",S="text-white"===E?"cursor-default bg-white !text-black":"cursor-default bg-[#D2FFB2]",A="text-white"===E?"border-lime-primary":"border-black",T=(e,t)=>
182{let n=null;switch(e.key){case"ArrowLeft":case"ArrowUp":e.preventDefault(),(n=t-1)<0&&(n=c.length-1);break;case"ArrowRight":case"ArrowDown":e.preventDefault(),(n=t+1)>=c.length&&(n=0)}null!==n&&(h(n),m.current[n]?.focus())};return(0,l.useEffect)(()=>{null!=p&&m.current[p]&&m.current[p]?.focus()},[p]),(0,r.jsx)(nc.F,{features:nu.l,children:(0,r.jsxs)("div",{className:"relative",children:[!x.hasContainer&&j&&e&&(0,r.jsx)("div",{className:"absolute inset-0",style:{background:y>1140&&v>750?`linear-gradient(180deg, ${e} 0%, ${e} 50%, transparent 50%, transparent 100%)`:`linear-gradient(180deg, ${e} 0%, ${e} 44%, transparent 44%, transparent 100%)`}}),(0,r.jsxs)("div",{className:(0,b.A)("relative overflow-hidden",x.hasContainer?"":"container"),children:[void 0!==s&&(0,r.jsx)("div",{className:"mb-8 text-center xl:mb-12",children:(0,r.jsx)(f,{...s})}),j?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"",children:(0,r.jsx)("div",{className:(0,b.A)("relative mx-auto aspect-[1140/560] max-h-[60vh] max-w-full overflow-hidden rounded-lg bg-white shadow-lg lg:rounded-xl"),style:d?{aspectRatio:d}:{},children:(0,r.jsx)(tO.N,{initial:!1,children:c?.map((e,t)=>t===p?r.jsx(na.m.div,{className:"absolute inset-[-1px] h-[calc(100%+2px)] max-h-[calc(100%+2px)] w-[calc(100%+2px)] max-w-[calc(100%+2px)]",initial:{opacity:0}
182,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5,ease:"easeInOut"},role:"tabpanel",id:`tabpanel-${t}`,"aria-labelledby":`tab-${t}`,children:r.jsx(g.Ay,{...e.asset,isFill:!0,className:"h-full"})},`${e.label}-${t}`):null)})})}),(0,r.jsxs)("div",{className:(0,b.A)("relative mb-8 lg:mb-12",(0,i.Ay)(x?.backgroundColor?.name)),style:{marginBottom:"clamp(10px, 3vh, 48px)"},children:["Stacked â Rounded Buttons"===u&&(0,r.jsx)("div",{className:"mx-auto flex w-full flex-wrap justify-center gap-x-[10px] gap-y-4 overflow-x-auto lg:max-w-full lg:gap-x-[20px]",style:{paddingTop:"clamp(10px, 3vh, 22px)"},role:"tablist","aria-orientation":"horizontal",children:c?.map((e,t)=>{let n=p===t;return r.jsxs("button",{type:"button",id:`tab-${t}`,onClick:()=>h(n?null:t),className:b.A("flex items-center space-x-[12px] rounded-full px-5 py-2.5 text-[15px] font-medium transition-colors",n?S:k,E),role:"tab","aria-controls":`stacked-accordion-${t}-content tabpanel-${t}`,"aria-selected":n,"aria-expanded":n,tabIndex:n?0:-1,onKeyDown:e=>T(e,t),ref:e=>{m.current[t]=e},children:[(y>=1200||y<=1e3)&&e.icon?r.jsx("div",{className:"h-[22px] w-[22px]","aria-hidden":!0,children:r.jsx(G.A,{image:e.icon,className:"h-full w-full object-contain"})}):null,r.jsx("div",{className:"whitespace-nowrap",dangerouslySetInnerHTML:{__html:e.label}})]},t)})}),"Stacked"===u&&(0,r.jsx)("div",{className:"mx-auto flex w-full flex-wrap justify-evenly gap-x-[30px] gap-y-2.5 pt-2 md:flex-nowrap lg:max-w-full xl:flex-nowrap xl:gap-x-[40px] xl:py-0",style:{borderBottom:"1px solid #e5e5e5"},children:c?.map((e,t)=>{let n=p===t;return r.jsxs("button",{type:"button",id:`tab-${t}`,onClick:()=>h(n?null:t),className:b.A("-mb-[1px] flex items-center space-x-[12px] border-b text-[16px] font-medium",n?A:"border-transparent",e.icon?"":"flex-auto justify-center text-center"),style:{paddingTop:y>1140?"clamp(14px, 2.5vh, 30px)":"clamp(12px, 2.5vh, 18px)",paddingBottom:y>1140?"clamp(14px, 2.5vh, 30px)":"clamp(12px, 2.5vh, 18px)"},role:"tab","aria-controls":`stacked-accordion-${t}-content tabpanel-${t}`,"aria-selected":n,"aria-expanded":n,tabIndex:n?0:-1,children:[y>=1140&&e.icon?r.jsx("div",{className:"h-[24px] w-[24px]","aria-hidden":!0,children:r.jsx(G.A,{image:e.icon,className:"h-full w-full object-contain"})}):null,r.jsx("div",{dangerouslySetInnerHTML:{__html:e.label}})]},t)})})]}),(0,r.jsx)("div",{className:"flex min-h-[150px] items-center justify-center text-center",children:(0,r.jsx)(tO.N,{mode:"wait",children:C&&null!==p&&(0,r.jsxs)(na.m.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,ease:"easeInOut"},className:"mx-auto w-full max-w-[900px] space-y-[clamp(12px,2.3vh,20px)]",role:"tabpanel",id:`stacked-accordion-${p}-content`,"aria-labelledby":`tab-${p}`,"data-active-content":"true",tabIndex:0,children:[C.heading&&(0,r.jsx)("h2",{className:"text-h3",dangerouslySetInnerHTML:{__html:C.heading}}),C.content&&(0,r.jsx)("div",{className:"mx-auto w-full max-w-[800px]",children:(0,r.jsx)(a.A,{content:C.content,className:(0,b.A)("prose-16 prose mx-auto text-center",(0,i.Ay)(x?.backgroundColor?.name))})}),C.button?.title&&(0,r.jsx)("div",{className:"flex justify-center pt-2",children:(0,r.jsx)(o.A,{...C.button})})]},p)})})]}):(0,r.jsxs)("div",{className:"relative overflow-hidden rounded-lg p-5",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-current opacity-[.04]"}),(0,r.jsx)("div",{className:"relative z-[5]",children:(0,r.jsx)("ul",{className:"",children:c?.map((e,n)=>r.jsx(ns,{item:e,index:n,activeAccordionItem:p,setActiveAccordionItem:h,isDesktop:!1,colourTheme:t},n))})})]})]})]})})}function ng({backgroundColour:e="",colourTheme:t="",size:n="Medium",header:s,items:c,layout:u,stackedAccordionMediaAspectRatio:d}){let[p,h]=(0,l.useState)(0),{width:m,height:y}=(0,w.A)(),v=rj(),x=m>767,j=c?.[p],C=(0,i.vG)(v?.backgroundColor?.name),E="text-white"===C?"bg-black hover:bg-black/75":"bg-paleGrey hover:bg-[#dedfdd]",k="text-white"===C?"cursor-default bg-white !text-black":"cursor-default bg-[#D2FFB2]";return(0,r.jsx)(nc.F,{features:nu.l,children:(0,r.jsxs)("div",{className:"relative",children:[!v.hasContainer&&x&&e&&(0,r.jsx)("div",{className:"absolute inset-0"}),(0,r.jsxs)("div",{className:(0,b.A)("relative overflow-hidden",v.hasContainer?"":"container"),children:[void 0!==s&&(0,r.jsx)("div",{className:"mb-8 text-center xl:mb-12",children:(0,r.jsx)(f,{...s})}),x?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:(0,b.A)("mb-8 lg:mb-12"),style:{marginBottom:"clamp(10px, 3vh, 48px)"},children:(0,r.jsx)("div",{className:"mx-auto flex w-full flex-wrap justify-center gap-x-[10px] gap-y-4 overflow-x-auto lg:max-w-full lg:gap-x-[20px]",style:{paddingTop:"clamp(10px, 3vh, 22px)"},children:c?.map((e,t)=>r.jsxs("button",{type:"button",onClick:()=>h(t),className:b.A("flex items-center space-x-[12px] rounded-full px-5 py-2.5 text-[15px] font-medium transition-colors",t===p?k:E,C),children:[(m>=1200||m<=1e3)&&e.icon?r.jsx("div",{className:"h-[22px] w-[22px]",children:r.jsx(G.A,{image:e.icon,className:"h-full w-full object-contain"})}):null,r.jsx("div",{className:"whitespace-nowrap",dangerouslySetInnerHTML:{__html:e.label}})]},t))})}),(0,r.jsxs)("div",{className:"flex w-full",children:[(0,r.jsx)("div",{className:"flex w-5/12 flex-col items-center justify-center p-5 pl-0 lg:p-10 lg:pl-0",children:(0,r.jsx)(tO.N,{mode:"wait",children:j&&(0,r.jsxs)(na.m.div,{initial:{opacity:0,y:20}
182,animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,ease:"easeInOut"},className:"mx-auto w-full max-w-[600px] space-y-[clamp(12px,2.3vh,20px)]",children:[j.heading&&(0,r.jsx)("h2",{className:"text-h3",dangerouslySetInnerHTML:{__html:j.heading}}),j.content&&(0,r.jsx)("div",{className:"mx-auto w-full max-w-[500px]",children:(0,r.jsx)(a.A,{content:j.content,className:(0,b.A)("prose-16 prose mx-auto")})}),j.button?.title&&(0,r.jsx)("div",{className:"flex pt-2",children:(0,r.jsx)(o.A,{...j.button})})]},p)})}),(0,r.jsx)("div",{className:"flex w-7/12 flex-col items-end justify-center",children:(0,r.jsx)("div",{className:(0,b.A)("relative mx-auto aspect-[1140/560] w-full overflow-hidden rounded-lg bg-white lg:rounded-xl"),style:d?{aspectRatio:d}:{},children:(0,r.jsx)(tO.N,{initial:!1,children:c?.map((e,t)=>t===p?r.jsx(na.m.div,{className:"absolute inset-0 h-full w-full",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.5,ease:"easeInOut"},children:r.jsx(g.Ay,{...e.asset,width:691,height:432})},`${e.label}-${t}`):null)})})})]})]}):(0,r.jsxs)("div",{className:"relative overflow-hidden rounded-lg p-5",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-current opacity-[.04]"}),(0,r.jsx)("div",{className:"relative z-[5]",children:(0,r.jsx)("ul",{className:"",children:c?.map((e,n)=>r.jsx(ns,{item:e,index:n,activeAccordionItem:p,setActiveAccordionItem:h,isDesktop:!1,colourTheme:t},n))})})]})]})]})})}function ny({backgroundColour:e="",colourTheme:t="",size:n="Medium",header:s,items:c,layout:u,stackedAccordionMediaAspectRatio:d}){let[p,h]=(0,l.useState)(0),m=(0,l.useRef)([]),{width:y,height:v}=(0,w.A)(),x=rj(),j=y>767,C=null!==p?c?.[p]:null,E=(0,i.vG)(x?.backgroundColor?.name),k="text-white"===E?"bg-black hover:bg-black/75":"bg-paleGrey hover:bg-[#dedfdd]",S="text-white"===E?"cursor-default bg-white !text-black":"cursor-default bg-[#D2FFB2]",A=(e,t)=>{let n=null;switch(e.key){case"ArrowLeft":case"ArrowUp":e.preventDefault(),(n=t-1)<0&&(n=c.length-1);break;case"ArrowRight":case"ArrowDown":e.preventDefault(),(n=t+1)>=c.length&&(n=0)}null!==n&&(h(n),m.current[n]?.focus())};return(0,l.useEffect)(()=>{null!=p&&m.current[p]&&m.current[p]?.focus()},[p]),(0,r.jsx)(nc.F,{features:nu.l,children:(0,r.jsxs)("div",{className:"relative",children:[!x.hasContainer&&j&&e&&(0,r.jsx)("div",{className:"absolute inset-0",style:{background:y>1140&&v>750?`linear-gradient(180deg, ${e} 0%, ${e} 50%, transparent 50%, transparent 100%)`:`linear-gradient(180deg, ${e} 0%, ${e} 44%, transparent 44%, transparent 100%)`}}),(0,r.jsxs)("div",{className:(0,b.A)("relative overflow-hidden",x.hasContainer?"":"container"),children:[void 0!==s&&(0,r.jsx)("div",{className:"mb-8 text-center xl:mb-12",children:(0,r.jsx)(f,{...s})}),j?(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:(0,b.A)("relative mb-8 lg:mb-12",(0,i.Ay)(x?.backgroundColor?.name)),style:{marginBottom:"clamp(10px, 3vh, 48px)"},children:[(0,r.jsx)("div",{className:"mx-auto flex w-full flex-wrap justify-center gap-x-[10px] gap-y-4 overflow-x-auto lg:max-w-full lg:gap-x-[20px]",style:{paddingTop:"clamp(18px, 3vh, 22px)"},role:"tablist","aria-orientation":"horizontal",children:c?.map((e,t)=>{let n=p===t;return r.jsxs("button",{type:"button",id:`tab-${t}`,onClick:()=>h(n?null:t),className:b.A("flex items-center space-x-[12px] rounded-full px-5 py-2.5 text-[15px] font-medium transition-colors",n?S:k,E),role:"tab","aria-controls":`stacked-accordion-${t}-content tabpanel-${t}`,"aria-selected":n,"aria-expanded":n,tabIndex:n?0:-1,onKeyDown:e=>A(e,t),ref:e=>{m.current[t]=e},children:[(y>=1200||y<=1e3)&&e.icon?r.jsx("div",{className:"h-[22px] w-[22px]","aria-hidden":!0,children:r.jsx(G.A,{image:e.icon,className:"h-full w-full object-contain"})}):null,r.jsx("div",{className:"whitespace-nowrap",dangerouslySetInnerHTML:{__html:e.label}})]},t)})}),(0,r.jsx)("div",{className:"flex min-h-[150px] items-center justify-center text-center",style:{paddingTop:"clamp(10px, 3vh, 22px)"},children:(0,r.jsx)(tO.N,{mode:"wait",children:C&&null!==p&&(0,r.jsxs)(na.m.div,{initial:{opacity:0,y:20}
182,animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3,ease:"easeInOut"},className:"mx-auto w-full max-w-[900px] space-y-[clamp(12px,2.3vh,20px)]",role:"tabpanel",id:`stacked-accordion-${p}-content`,"aria-labelledby":`tab-${p}`,"data-active-content":"true",tabIndex:0,children:[C.heading&&(0,r.jsx)("h2",{className:"text-h3",dangerouslySetInnerHTML:{__html:C.heading}}),C.content&&(0,r.jsx)("div",{className:"mx-auto w-full max-w-[800px]",children:(0,r.jsx)(a.A,{content:C.content,className:(0,b.A)("prose-16 prose mx-auto text-center",(0,i.Ay)(x?.backgroundColor?.name))})}),C.button?.title&&(0,r.jsx)("div",{className:"flex justify-center pt-2",children:(0,r.jsx)(o.A,{...C.button})})]},p)})}),(0,r.jsx)("div",{className:"",style:{marginTop:"clamp(20px, 5vh, 60px)"},children:(0,r.jsx)("div",{className:(0,b.A)("relative mx-auto aspect-[1140/560] max-h-[60vh] max-w-full overflow-hidden rounded-lg bg-white shadow-lg lg:rounded-xl"),style:d?{aspectRatio:d}:{},children:(0,r.jsx)(tO.N,{initial:!1,children:c?.map((e,t)=>t===p?r.jsx(na.m.div,{className:"absolute inset-[-1px] h-[calc(100%+2px)] max-h-[calc(100%+2px)] w-[calc(100%+2px)] max-w-[calc(100%+2px)]",initial:{opacity:0}
182,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5,ease:"easeInOut"},role:"tabpanel",id:`tabpanel-${t}`,"aria-labelledby":`tab-${t}`,children:r.jsx(g.Ay,{...e.asset,isFill:!0,className:"h-full"})},`${e.label}-${t}`):null)})})})]})}):(0,r.jsxs)("div",{className:"relative overflow-hidden rounded-lg p-5",children:[(0,r.jsx)("div",{className:"absolute inset-0 bg-current opacity-[.04]"}),(0,r.jsx)("div",{className:"relative z-[5]",children:(0,r.jsx)("ul",{className:"",children:c?.map((e,n)=>r.jsx(ns,{item:e,index:n,activeAccordionItem:p,setActiveAccordionItem:h,isDesktop:!1,colourTheme:t},n))})})]})]})]})})}function nv(e){let{layout:t="Default"}=e,n={Default:nd,Border:nf,Stacked:nm,"Stacked â Rounded Buttons":nm,"Stacked â Rounded Buttons (Reverse)":ny,Tabs:ng}[t??"Default"];return n?(0,r.jsx)(n,{...e}):null}let nb=function(e){let{slug:t,partnerLogo:n,icon:i,excerptStat:s="",heading:c="",excerptStatCaption:d="",content:p,button:h,arrowBorderColour:f,isInSlider:m=!1}=e,g=n||i,y=s||c,b=d||p,x=t||h,{t:w}=(0,eZ.Bd)(),j=(0,l.useRef)(null),C=(0,u.W)(j,{once:!0,amount:.25}),E=rj();return(0,r.jsxs)(v.Ay,{borderColor:f,sectionBackgroundColor:E?.backgroundColor?.name||"White",className:"flex h-full flex-col justify-between space-y-8 rounded-lg p-8 sm:space-y-8 sm:p-8 xl:p-11",hasVerticalArrows:!0,children:[g&&(0,r.jsx)("div",{className:"h-16 w-auto max-w-32",children:(0,r.jsx)(G.A,{image:g,width:128,className:"max-h-full max-w-full object-contain object-left-top",isPriority:m})}),(0,r.jsxs)("div",{ref:j,children:[y&&(0,r.jsx)(ne,{startCount:C,className:`text-h1 text-black ${c&&"is-large"}`,stat:y}),b&&(d?(0,r.jsx)("div",{className:"text-20 text-grey-dark",dangerouslySetInnerHTML:{__html:d}}):(0,r.jsx)(a.A,{content:p,className:"mt-4 font-medium opacity-80 prose-p:leading-[1.4] sm:mt-2"}))]}),x&&(t?(0,r.jsx)(_(),{href:t,children:(0,r.jsx)(eg.Y,{link:{title:w("Read story")},type:"Text Link â Black"})}):(0,r.jsx)(o.A,{...h}))]})},nx=function(e){return(0,r.jsxs)("div",{className:(0,b.A)("h-full overflow-hidden rounded-xl border",e?.borderColour),children:[(0,r.jsx)("div",{className:"relative aspect-[91/51] overflow-hidden rounded-t-xl",children:(0,r.jsx)(G.A,{image:e?.image,className:"absolute inset-0 h-full w-full object-cover",isPriority:!0})}),(0,r.jsxs)("div",{className:"p-5 lg:p-[2.25rem]",children:[e?.heading&&(0,r.jsx)("div",{className:"text-h6",dangerouslySetInnerHTML:{__html:e?.heading}}
182),e?.content&&(0,r.jsx)(a.A,{content:e?.content,className:"prose-18-is-smaller mt-2 opacity-80 prose-p:leading-[1.4] lg:mt-4"}),e?.button?.title?.length>0&&(0,r.jsx)("div",{className:"mt-3 pb-1",children:(0,r.jsx)(o.A,{...e.button})})]})]})};function nw(e){let{layout:t,items:n=[]}=e,a=(0,l.useRef)(null),o=(0,l.useRef)(null),s=(0,l.useRef)(null),[c,u]=(0,l.useState)(0);(0,l.useEffect)(()=>{a.current&&(a.current.swiper.params.navigation.prevEl=o.current,a.current.swiper.params.navigation.nextEl=s.current,a.current.swiper.navigation.init(),a.current.swiper.navigation.update())},[]);let{width:d}=(0,w.A)(),p=1;d>1023?p=3:d>639&&(p=2);let h=Number(n?.length)-Number(p),f=rj(),m=(0,i.$9)(f?.backgroundColor?.name||"White"),g=(0,i.iQ)(f?.backgroundColor?.name||"White");return(0,r.jsxs)("div",{className:"w-full space-y-5 md:space-y-8",children:[(0,r.jsx)(q.RC,{ref:a,slidesPerView:"auto",speed:500,spaceBetween:20,breakpoints:{640:{slidesPerView:2,spaceBetween:20},1024:{slidesPerView:3,spaceBetween:24}},onSlideChange:()=>{a.current&&u(a.current.swiper.activeIndex)},modules:[K.Vx],navigation:{prevEl:o.current,nextEl:s.current},className:"w-full cursor-grab !overflow-visible",children:n.map((e,n)=>(0,r.jsx)(q.qr,{className:"flex !h-auto max-sm:max-w-72",children:(0,r.jsx)(nj,{layout:t,...e,borderColour:m,arrowBorderColour:g})},`slide-item-${n}`))}),(0,r.jsx)("div",{className:(0,b.A)(n?.length>p?"":"hidden"),children:(0,r.jsx)(eU,{activeSlide:c,totalSlides:h,swiperPrevRef:o,swiperNextRef:s})})]})}function nj({layout:e,borderColour:t,arrowBorderColour:n,...i}){let a={Default:eC,"Stat Cards":nb,"Cover Thumbnail":nx,"Platform Thumbnail":eS};if(!e)return null;let o=a[e]||a.Default;return o?(0,r.jsx)(o,{...i,borderColour:t,arrowBorderColour:n,isInSlider:!0}):null}function nC(e){let{items:t=[]}=e,[n,i]=(0,l.useState)(0),o=(0,l.useRef)(null),s=e=>{o.current&&o.current.slideTo(e)};return(0,r.jsxs)("div",{className:"space-y-8",children:[(0,r.jsx)(q.RC,{modules:[K.Ij,K._R],speed:500,spaceBetween:20,effect:"fade",grabCursor:!0,autoplay:{delay:8e3},onSwiper:e=>{o.current=e},onSlideChange:e=>{i(e.activeIndex)},children:t.map(({image:e},t)=>(0,r.jsx)(q.qr,{className:"!h-auto",children:(0,r.jsx)(G.A,{image:e,className:"w-full rounded-lg border border-grey-pastel bg-white"})},`asset-${t}`))}),(0,r.jsx)("div",{className:"hidden auto-cols-fr grid-flow-col gap-x-5 md:grid lg:gap-x-6",children:t.map(({heading:e="",content:t},i)=>(0,r.jsxs)("div",{className:"relative pt-5 lg:pt-8",children:[(0,r.jsx)(nc.F,{features:nu.l,children:(0,r.jsx)("div",{className:"absolute inset-x-0 top-0 h-px bg-black/[.08]",children:n===i&&(0,r.jsx)(na.m.div,{initial:{width:0},animate:{width:"100%"},transition:{duration:8},className:"absolute inset-0 w-full bg-coral-primary"})})}),(0,r.jsxs)("button",{type:"button","aria-label":"Set active slider item",className:(0,b.A)("block space-y-1.5 text-left transition-opacity duration-300 lg:space-y-3",n!==i?"opacity-70":""),onClick:()=>s(i),children:[e&&(0,r.jsx)("div",{className:"text-h7 text-black",dangerouslySetInnerHTML:{__html:e}}),t&&(0,r.jsx)(a.A,{content:t,className:"prose-16 prose"})]})]},`nav-item-${i}`))})]})}function nE(e){let{items:t=[]}=e,n=(0,l.useRef)(null),i=(0,l.useRef)(null),a=(0,l.useRef)(null),[o,s]=(0,l.useState)(0);(0,l.useEffect)(()=>{n.current&&(n.current.swiper.params.navigation.prevEl=i.current,n.current.swiper.params.navigation.nextEl=a.current,n.current.swiper.navigation.init(),n.current.swiper.navigation.update())},[]);let{width:c}=(0,w.A)(),u=1.25;c>639&&(u=2);let d=Number(t?.length)-Number(u);return(0,r.jsxs)("div",{className:"w-full space-y-5 md:space-y-8",children:[(0,r.jsx)(q.RC,{ref:n,slidesPerView:1.25,speed:500,spaceBetween:20,breakpoints:{640:{slidesPerView:2,spaceBetween:24}},onSlideChange:()=>{n.current&&s(n.current.swiper.activeIndex)},modules:[K.Vx],navigation:{prevEl:i.current,nextEl:a.current},className:"w-full cursor-grab !overflow-visible",children:t.map((e,t)=>(0,r.jsx)(q.qr,{className:"!h-auto",children:(0,r.jsx)(nk,{item:e,isInSlider:!0})},`slide-item-${t}`))}),(0,r.jsx)("div",{className:(0,b.A)(t?.length>u?"":"hidden"),children:(0,r.jsx)(eU,{activeSlide:o,totalSlides:d,swiperPrevRef:i,swiperNextRef:a})})]})}
182function nk({item:e,isInSlider:t=!1}){return(0,r.jsxs)("div",{children:[e?.image&&(0,r.jsx)("div",{className:"relative aspect-[558/283] overflow-hidden rounded-lg",children:(0,r.jsx)(g.Ay,{type:"Image",file:e?.image,isPriority:t,isFill:!0})}),(0,r.jsxs)("div",{className:"mt-6 max-w-[26rem] lg:mt-8",children:[e?.heading&&(0,r.jsx)("h3",{className:"text-h6",dangerouslySetInnerHTML:{__html:e?.heading}}),e?.content&&(0,r.jsx)(a.A,{content:e?.content,className:"prose-18-is-smaller prose mt-2 pr-2 opacity-80 prose-p:leading-[1.4]"}),e?.button&&(0,r.jsx)("div",{className:"mt-2 block leading-none lg:mt-4",children:(0,r.jsx)(o.A,{...e?.button})})]})]})}function nS(e){let{items:t=[]}=e,n=(0,l.useRef)(null),a=(0,l.useRef)(null),o=(0,l.useRef)(null),[s,c]=(0,l.useState)(0);(0,l.useEffect)(()=>{n.current&&(n.current.swiper.params.navigation.prevEl=a.current,n.current.swiper.params.navigation.nextEl=o.current,n.current.swiper.navigation.init(),n.current.swiper.navigation.update())},[]);let{width:u}=(0,w.A)(),d=1;u>1023?d=3:u>639&&(d=2);let p=Number(t?.length)-Number(d),h=rj(),f=(0,i.$9)(h?.backgroundColor?.name||"White");return(0,r.jsxs)("div",{className:"w-full space-y-5 md:space-y-8",children:[(0,r.jsx)(q.RC,{ref:n,slidesPerView:"auto",speed:500,spaceBetween:24,breakpoints:{1024:{slidesPerView:3},640:{slidesPerView:2}},onSlideChange:()=>{n.current&&c(n.current.swiper.activeIndex)},modules:[K.Vx],navigation:{prevEl:a.current,nextEl:o.current},className:"w-full cursor-grab !overflow-visible",children:t.map((e,t)=>(0,r.jsxs)(q.qr,{className:"relative !h-auto max-sm:max-w-72",children:[(0,r.jsx)(nA,{...e,isRounded:t%2==0,borderColour:f}),0!==t&&(0,r.jsx)(eh.QF,{borderColour:f,className:1===t?"lg:-translate-y-[50%]":2===t?"":"lg:translate-y-[50%]"})]},`slide-item-${t}`))}),(0,r.jsx)("div",{className:(0,b.A)(t?.length>d?"":"hidden"),children:(0,r.jsx)(eU,{activeSlide:s,totalSlides:p,swiperPrevRef:a,swiperNextRef:o})})]})}function nA({icon:e,heading:t="",subheading:n="",content:i,isRounded:o=!1,borderColour:s}){return(0,r.jsxs)("div",{className:(0,b.A)("h-full border p-6 lg:p-7 xl:p-10",o&&"rounded-2xl",s),children:[e&&(0,r.jsx)(G.A,{image:e,className:"mb-6 w-12",isPriority:!0}),t&&(0,r.jsx)("div",{className:"text-h6",dangerouslySetInnerHTML:{__html:t}}),n&&(0,r.jsx)("div",{className:"text-18 mt-3 font-medium",dangerouslySetInnerHTML:{__html:n}}),i&&(0,r.jsx)(a.A,{content:i,className:"prose-18 prose-opacity-80 mt-2"})]})}function nT(e){let{layout:t="Default"}=e,n={Default:nw,"Stat Cards":nw,"Cover Thumbnail":nw,"Progress Thumbnails":nC,"Large Thumbnail":nE,"Platform Thumbnail":nw,"Connected Thumbnails":nS}[t];return n?(0,r.jsx)(n,{...e}):null}n(47447);let n_=function({colourTheme:e,subheading:t,heading:n,buttons:i,content:a,menu:s,asset:l}){let c=rj(),u=[];"Light / Lilac"===e?u.push("bg-lilac-pastel text-lilac-light"):"Light / Lime"===e?u.push("bg-lime-pastel text-lime-shade/20"):"Pastel / Grey"===e?u.push("bg-grey-pastel text-grey-shade/20"):"Dark / Green"===e?u.push("bg-lime-dark text-lime-primary"):u.push("bg-coral-pastel text-coral-light");let{width:d}=(0,w.A)(),p=l?.type==="Wistia Video Embed"?"z-[60]":"z-[5]";return(0,r.jsxs)("div",{className:"space-y-8 overflow-hidden md:space-y-[4.5rem]",children:[(0,r.jsxs)("div",{className:"container grid md:grid-cols-2 md:items-center md:gap-x-10",children:[(0,r.jsxs)("div",{className:"md:max-w-[32.125rem]",children:[(0,r.jsx)("div",{className:"mb-2 md:mb-4",children:(0,r.jsx)(m,{subheading:t,subheadingBackgroundColor:{name:e}})}),(0,r.jsx)("h1",{className:"text-h2",dangerouslySetInnerHTML:{__html:n}}),i?.length>0&&(0,r.jsx)("div",{className:"mt-6 flex flex-row flex-wrap gap-3 max-md:hidden md:mt-8 md:gap-4",children:i.map((e,t)=>(0,r.jsx)(o.A,{...e},t))})]}),(0,r.jsxs)("div",{className:"md:ml-auto md:max-w-[26.25rem]",children:[(0,r.jsx)("p",{className:"text-18 opacity-80 max-md:mt-5",dangerouslySetInnerHTML:{__html:a}}),i?.length>0&&(0,r.jsx)("div",{className:"mt-6 flex flex-row flex-wrap gap-3 md:mt-8 md:hidden md:gap-4",children:i.map((e,t)=>(0,r.jsx)(o.A,{...e},t))}),s?.length>0&&(0,r.jsx)("ul",{className:"mt-5 flex space-x-3 max-md:hidden md:mt-8 lg:space-x-6",children:s?.map((e,t)=>r.jsx("li",{children:r.jsx(_(),{href:e?.slug,className:"group",children:r.jsx("span",{className:"text-14 font-medium underline transition-colors duration-300 group-hover:text-coral-shade",dangerouslySetInnerHTML:{__html:e?.title}}
182)})},t))})]})]}),(0,r.jsxs)("div",{className:(0,b.A)("relative pt-8 md:pt-24",u?.join(" ")),children:[(0,r.jsx)("div",{className:"absolute inset-0",children:(0,r.jsx)(x.A,{colour:c?.backgroundColor?.name||"White",position:"topLeft",radius:d>767?12:5,hasNoBottomCorner:!0,children:(0,r.jsx)("div",{className:"aspect-[10/1] h-4 max-w-[32.75rem] md:h-10 lg:aspect-[131/10]"})})}),(0,r.jsxs)("div",{className:"container relative",children:[(0,r.jsx)("div",{className:"absolute inset-y-[15%] right-[calc(100%-1.45rem)] flex aspect-[211/366] h-auto justify-end lg:right-[calc(100%-3.2rem)]",children:(0,r.jsx)(U.Hb,{})}),(0,r.jsx)(g.Ay,{...l,isPriority:!0,className:(0,b.A)("relative w-full",p)}),(0,r.jsx)("div",{className:"absolute inset-y-[28%] left-[calc(100%-1.45rem)] flex aspect-[221/224] h-auto justify-start lg:left-[calc(100%-3.2rem)]",children:(0,r.jsx)(U.MI,{})})]})]})]})};function nL(e){let{layout:t="Default"}=e,n={Default:n_}[t];return n?(0,r.jsx)(n,{...e}):null}let nN={White:"from-white",Black:"from-black","Pale Grey":"from-paleGrey","Primary / Coral":"from-coral-primary","Primary / Lilac":"from-lilac-primary","Primary / Lime":"from-lime-primary","Primary / Grey":"from-grey-primary","Shade / Coral":"from-coral-shade","Shade / Lilac":"from-lilac-shade","Shade / Lime":"from-lime-shade","Shade / Grey":"from-grey-shade","Pastel / Coral":"from-coral-pastel","Pastel / Lilac":"from-lilac-pastel","Pastel / Lime":"from-lime-pastel","Pastel / Grey":"from-grey-pastel","Light / Coral":"from-coral-light","Light / Lilac":"from-lilac-light","Light / Lime":"from-lime-light","Light / Grey":"from-grey-light","Dark / Red":"from-coral-dark","Dark / Purple":"from-lilac-dark","Dark / Pine":"from-lime-dark","Dark / Grey":"from-grey-dark","Deep / Burgundy":"from-coral-deep","Deep / Midnight":"from-lilac-deep","Deep / Forest":"from-lime-deep","Deep / Grey":"from-grey-deep"},nP=function({textCard:e,assets:t}){let n=rj(),a=` border ${(0,i.$9)(n?.backgroundColor?.name||"White")} `,o=" absolute inset-y-0 max-xl:max-w-[13.75rem] max-md:inset-x-0 max-md:max-w-none xl:w-1/3 md:w-[20%] z-10 w-full";return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:(0,b.A)("left-0 bg-gradient-to-b max-md:bottom-auto max-md:h-[15%] md:bg-gradient-to-r",nN[n?.backgroundColor?.name||"White"],o)}),(0,r.jsx)("div",{className:(0,b.A)("right-0 bg-gradient-to-t max-md:top-auto max-md:h-[40%] md:bg-gradient-to-l",nN[n?.backgroundColor?.name||"White"],o)}),(0,r.jsxs)("div",{className:"container grid grid-cols-5 gap-x-6 gap-y-5 md:min-h-[35.3125rem] md:grid-cols-12",children:[(0,r.jsx)("div",{className:"relative z-[5] flex justify-end max-md:col-span-2 max-md:hidden",children:(0,r.jsxs)("div",{className:(0,b.A)("relative aspect-[346/506] rounded-[1.25rem] p-6 max-sm:w-full sm:h-full",a),children:[(0,r.jsx)(g.Ay,{...t[0],isPriority:!0}),(0,r.jsx)("div",{className:"max-sm:hidden",children:(0,r.jsx)(eh.Q_,{borderColour:a})})]})}),(0,r.jsxs)("div",{className:(0,b.A)("flex-center relative col-span-5 origin-center max-md:order-first md:col-span-10",a),children:[(0,r.jsx)("div",{className:"",children:(0,r.jsx)("div",{className:"relative z-[20] mx-auto max-w-[45.75rem] p-4 sm:p-6",children:(0,r.jsx)(f,{...e})})}),(0,r.jsx)("div",{className:"absolute right-0 z-[6] h-full max-md:left-auto max-md:w-1/2 md:inset-0 md:w-full",children:(0,r.jsx)(eh.Q_,{borderColour:a})})]}),(0,r.jsxs)("div",{className:(0,b.A)("relative z-[5] rounded-[1.25rem] p-5 max-md:col-span-5 max-md:mx-[-50%] max-md:flex max-md:h-[20rem] max-md:w-[200%] max-md:space-x-4 max-sm:h-[14.25rem] md:aspect-[261/254] md:h-full md:p-6",a),children:[(0,r.jsx)("div",{className:"w-full md:hidden",children:(0,r.jsx)(g.Ay,{...t[0],isPriority:!0})}),(0,r.jsx)(g.Ay,{...t[1],isPriority:!0}),(0,r.jsx)("div",{className:"max-md:hidden",children:(0,r.jsx)(eh.Q_,{borderColour:a})})]})]})]})};var nI=n(17966),nM=n(35446),nO=n(69896),nR=n(10104);function nD(e){return"number"==typeof e?e:parseFloat(e)}function nB(e,t={}){let{isStatic:n}=(0,l.useContext)(nM.Q),r=(0,l.useRef)(null),i=(0,tl.d)((0,nO.S)(e)?nD(e.get()):e),a=(0,l.useRef)(i.get()),o=(0,l.useRef)(()=>{}),s=()=>{let e=r.current;e&&0===e.time&&e.sample(nR.uv.delta),c(),r.current=(0,nI.L)({keyframes:[i.get(),a.current],velocity:i.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:o.current})},c=()=>{r.current&&r.current.stop()};return(0,l.useInsertionEffect)(()=>i.attach((e,t)=>n?t(e):(a.current=e,o.current=t,nR.Gt.update(s),i.get()),c),[JSON.stringify(t)]),(0,ts.E)(()=>
182{if((0,nO.S)(e))return e.on("change",e=>i.set(nD(e)))},[i]),i}function nF(e){let{textBlock1:t="",textBlock2:n="",textBlock3:i="",leftColumnCard:a,rightColumnCard:o}=e,s=(0,l.useRef)(null),{scrollYProgress:c}=(0,M.L)({target:s,offset:["start end","start start"]}),u=(0,ei.G)(c,[0,1],[264,164]),d=(0,ei.G)(c,[0,1],[580,380]);return(0,r.jsxs)("div",{ref:s,className:"flex flex-wrap items-start md:flex-nowrap",children:[(0,r.jsx)("div",{className:"w-1/2 shrink-0 pr-2 sm:pr-3 md:w-1/5 md:max-w-[15.25rem] md:pr-0 xl:w-1/4",children:(0,r.jsx)(nV,{...a,containerScrollRef:s,transform:u})}),(0,r.jsxs)("div",{className:"order-first mb-10 w-full space-y-8 md:order-none md:mx-8 md:mb-0 md:flex-1 md:space-y-20 lg:space-y-28 xl:space-y-40",children:[t&&(0,r.jsx)(nH,{text:t}),n&&(0,r.jsx)(nH,{text:n}),i&&(0,r.jsx)(nH,{text:i})]}),(0,r.jsx)("div",{className:"w-1/2 shrink-0 pl-2 sm:pl-3 md:w-1/5 md:max-w-[15.25rem] md:pl-0 xl:w-1/4",children:(0,r.jsx)(nV,{...o,containerScrollRef:s,isRightColumn:!0,transform:d})})]})}function nH({text:e=""}){let t=(0,l.useRef)(null),{scrollYProgress:n}=(0,M.L)({target:t,offset:["center end","center center"]}),i=(0,ei.G)(n,[0,1],[0,1]);return(0,r.jsx)(nc.F,{features:nu.l,children:(0,r.jsx)(na.m.p,{ref:t,className:"text-28 text-center",style:{opacity:i},dangerouslySetInnerHTML:{__html:e}})})}function nV({icon:e,heading:t="",content:n,button:i,isRightColumn:s,transform:l}){let c=rj(),u=nB(l,{stiffness:100,damping:30});return(0,r.jsx)(nc.F,{features:nu.l,children:(0,r.jsxs)(na.m.div,{className:(0,b.A)("relative flex min-h-44 w-full flex-col rounded-xl p-4 pb-5 max-md:!transform-none lg:min-h-[14.25rem] lg:!p-7",s?"ml-auto bg-[rgba(246,230,233,0.10)] xl:max-w-[13.5rem]":"bg-coral-light"),style:{y:u},children:[e&&(0,r.jsx)(G.A,{image:e,className:"mb-6 w-8 lg:w-10"}),t&&(0,r.jsx)("div",{className:(0,b.A)("text-h2 is-larger-mobile mt-auto",s?"text-coral-primary":"text-coral-deep"),dangerouslySetInnerHTML:{__html:t}}),n&&(0,r.jsx)(a.A,{content:n,className:(0,b.A)("prose-16-is-smaller",s?"text-white":"text-coral-deep")}),i?.title?.length>0&&(0,r.jsx)("div",{className:"mt-4",children:(0,r.jsx)(o.A,{...i})}),(0,r.jsx)(x.A,{colour:c?.backgroundColor?.name||"Deep / Burgundy",position:s?"topRight":"bottomRight",radius:12,hideOnMobile:!0,children:(0,r.jsx)("div",{className:"aspect-[52/36] h-5 xl:h-9"})})]})})}function n$(e){let{items:t=[]}=e,n=rj();return(0,r.jsx)("div",{className:"grid gap-x-5 gap-y-7 sm:grid-cols-2 md:grid-cols-3 lg:gap-x-6 lg:gap-y-8",children:t?.map((e,i)=>i===t.length-1?r.jsx(nz,{...e,sectionBackgroundColor:n?.backgroundColor?.name},`arrow-border-grid-item-${i}`):r.jsx(nU,{...e,sectionBackgroundColor:n?.backgroundColor?.name,index:i},`arrow-border-grid-item-${i}`))})}function nU({image:e,heading:t="",content:n,button:i,sectionBackgroundColor:s="White",index:l}){let{width:c}=(0,w.A)();return(0,r.jsxs)("div",{children:[(c<640?l>0:!e)&&(0,r.jsx)(nW,{}),e?(0,r.jsxs)("div",{className:"relative overflow-hidden rounded-xl",children:[(0,r.jsx)(G.A,{image:e}),(0,r.jsx)(x.A,{colour:s,position:"topLeft",radius:12,children:(0,r.jsx)("h3",{className:"text-h4 pb-1.5 pr-3.5 text-black",dangerouslySetInnerHTML:{__html:t}})})]}):(0,r.jsx)("h3",{className:"text-h4",dangerouslySetInnerHTML:{__html:t}}),n&&(0,r.jsx)(a.A,{content:n,className:"prose-arrow-list prose-16 mt-3 w-full max-w-[19.75rem]"}),i?.title?.length>0&&(0,r.jsx)("div",{className:"mt-3",children:(0,r.jsx)(o.A,{...i})})]})}function nz({image:e,heading:t="",content:n,button:i,sectionBackgroundColor:s="White"}){return(0,r.jsxs)("div",{className:"col-span-full grid gap-6 md:grid-cols-3",children:[(0,r.jsxs)("div",{className:!e&&"col-span-full",children:[(0,r.jsx)(nW,{}),(0,r.jsx)("h3",{className:"text-h4",dangerouslySetInnerHTML:{__html:t}}),n&&(0,r.jsx)(a.A,{content:n,className:`prose-arrow-list prose-16 mt-3 w-full ${e?"max-w-[19.75rem]":"max-w-[30rem]"}`}),i?.title?.length>0&&(0,r.jsx)("div",{className:"mt-3",children:(0,r.jsx)(o.A,{...i})})]}),e&&(0,r.jsxs)("div",{className:"relative overflow-hidden rounded-xl md:col-span-2",children:[(0,r.jsx)(G.A,{image:e}),(0,r.jsx)(x.A,{colour:s,position:"topRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[108/32] h-6 md:h-8"})}
182),(0,r.jsx)(x.A,{colour:s,position:"bottomLeft",radius:12,children:(0,r.jsx)("div",{className:"aspect-[64/40] h-6 md:h-10"})})]})]})}function nW(){return(0,r.jsxs)("div",{className:"flex items-center pb-5 lg:pb-8",children:[(0,r.jsx)("div",{className:"h-px flex-1 bg-grey-pastel"}),(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"6",viewBox:"354 0 10 6",fill:"none",className:"w-2.5 shrink-0 text-grey-pastel",children:(0,r.jsx)("path",{d:"M364 3L359 0.113249V5.88675L364 3ZM0 3.5H359.5V2.5H0V3.5Z",fill:"currentColor"})})]})}var nG=n(10297);let nq=function({heading:e,officeLocations:t}){return(0,r.jsxs)("div",{children:[e&&(0,r.jsx)("h3",{className:"text-h5 mb-8 md:mb-[3.75rem]",dangerouslySetInnerHTML:{__html:e}}),t?.length>0&&(0,r.jsx)("ul",{className:"grid grid-cols-2 gap-x-6 gap-y-8 sm:gap-y-10 md:grid-cols-3 lg:grid-cols-4 lg:gap-y-[4.5rem]",children:t?.filter(e=>e.title).map((e,t)=>r.jsx(nK,{item:e},`office-location-${t}`))})]})};function nK({item:e,isCard:t=!1}){let n=(0,nG.useRouter)();return e?.addressLocale||n?.locale,(0,r.jsxs)("li",{className:(0,b.A)(t?"w-full rounded-lg bg-white p-5 text-black max-sm:rounded-t-none md:absolute md:inset-x-5 md:bottom-5 md:max-w-[21.875rem] lg:bottom-6 lg:left-6 lg:p-6":"lg:pr-5"),children:[(0,r.jsxs)("div",{className:"mb-3 flex items-center gap-x-2.5 lg:mb-6 lg:gap-x-4",children:[e?.icon?.fields?.file?.url?.length>0&&(0,r.jsx)("div",{className:"relative h-6 w-6 shrink-0 overflow-hidden rounded-full",children:(0,r.jsx)(G.A,{image:e?.icon,className:"h-full w-full object-cover"})}),(0,r.jsx)("h4",{className:"text-h6",dangerouslySetInnerHTML:{__html:e?.title}})]}),(0,r.jsxs)("div",{className:(0,b.A)("w-full space-y-2 lg:space-y-3",!t&&"md:max-w-[15.375rem]"),children:[e?.email&&(0,r.jsx)(_(),{href:`mailto:${e?.email}`,className:"text-16 is-smaller inline-block opacity-80 transition-[color,opacity] duration-200 hover:text-coral-primary hover:opacity-100",children:(0,r.jsx)("span",{className:"break-all md:break-normal",dangerouslySetInnerHTML:{__html:e?.email}})}),e?.officeAddress&&(0,r.jsx)(a.A,{className:"prose-opacity-80 prose-16-is-smaller prose-p:my-0",content:e?.officeAddress})]})]})}let nY=function({heading:e,officeLocations:t}){let n=(0,l.useRef)(null),i=(0,l.useRef)(null),a=(0,l.useRef)(null),[o,s]=(0,l.useState)(0);(0,l.useEffect)(()=>{n.current&&(n.current.swiper.params.navigation.prevEl=i.current,n.current.swiper.params.navigation.nextEl=a.current,n.current.swiper.navigation.init(),n.current.swiper.navigation.update())},[]);let c=rj(),u=Number(t?.length)-1;return(0,r.jsxs)("div",{className:"w-full space-y-5 md:space-y-8",children:[(0,r.jsx)(q.RC,{ref:n,slidesPerView:1,speed:500,spaceBetween:20,grabCursor:!0,onSlideChange:()=>{n.current&&s(n.current.swiper.activeIndex)},modules:[K.Vx],navigation:{prevEl:i.current,nextEl:a.current},className:"w-full cursor-grab !overflow-visible",children:t.map((e,t)=>(0,r.jsx)(q.qr,{className:"!h- flex",children:(0,r.jsxs)("div",{className:"relative overflow-hidden rounded-xl",children:[(0,r.jsx)("div",{className:"aspect-[57/32] max-sm:relative",children:e?.coverImage?.fields?.file?.url?.length>0&&(0,r.jsx)(G.A,{image:e?.coverImage,className:"h-full w-full object-cover"})}),(0,r.jsx)(x.A,{colour:c?.backgroundColor?.name||"White",position:"topRight",radius:12,children:(0,r.jsx)("div",{className:"aspect-[15/5] h-6 md:h-11"})}),(0,r.jsx)(nK,{item:e,isCard:!0})]})},`slide-item-${t}`))}),(0,r.jsx)(eU,{activeSlide:o,totalSlides:u,swiperPrevRef:i,swiperNextRef:a})]})};function nX(e){let{layout:t="Slider"}=e,n={Slider:nY,Grid:nq}[t];return n?(0,r.jsx)(n,{...e}):null}function nZ(e){let t=(0,l.useRef)(null),{scrollYProgress:n}=(0,M.L)({target:t,offset:["start end","end start"]}),i={stiffness:150,damping:30},a=nB((0,ei.G)(n,[0,.2,.5],[0,1,0]),i),o=nB((0,ei.G)(n,[.2,.5,.8],[0,1,0]),i),s=nB((0,ei.G)(n,[.5,.8,1.1],[0,1,0]),i);return(0,r.jsx)(nc.F,{features:nu.l,children:(0,r.jsx)("div",{ref:t,className:"relative",children:(0,r.jsxs)("h2",{className:"text-h1 is-large flex flex-col items-center space-y-2 text-center lg:space-y-0",children:[(0,r.jsx)(nJ,{prepend:e?.headingOnePrepend,append:e?.headingOneAppend,icon:e?.headingOneIcon,motion:a}),(0,r.jsx)(nJ,{prepend:e?.headingTwoPrepend,append:e?.headingTwoAppend,icon:e?.headingTwoIcon,motion:o}),(0,r.jsx)(nJ,{prepend:e?.headingThreePrepend,append:e?.headingThreeAppend,icon:e?.headingThreeIcon,motion:s})]})})})}function nJ({prepend:e,append:t,icon:n,motion:i}){return(0,r.jsxs)(na.m.span,{className:"relative z-[1] flex items-center space-x-2.5 md:space-x-5",style:{opacity:i},transition:{ease:"easeOut"},children:[t&&(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:e}}),n?.fields?.file?.url?.length>0&&(0,r.jsx)("div",{className:"relative h-7 w-7 shrink-0 overflow-hidden rounded-full sm:h-8 sm:w-8 lg:h-12 lg:w-12",children:(0,r.jsx)(G.A,{image:n,className:"h-full w-full object-cover"})}),e&&(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:t}})]})}function nQ({heading:e,teamMembers:t}){let n=(0,l.useRef)(null),a=(0,l.useRef)(null),o=(0,l.useRef)(null),[s,c]=(0,l.useState)(0);(0,l.useEffect)(()=>{n.current&&(n.current.swiper.params.navigation.prevEl=a.current,n.current.swiper.params.navigation.nextEl=o.current,n.current.swiper.navigation.init(),n.current.swiper.navigation.update())},[]);let{width:u}=(0,w.A)(),d=1;u>1023?d=3:u>639&&(d=2);let p=Number(t?.length)-Number(d),h=rj(),f=(0,i.$9)(h?.backgroundColor?.name||"Pale Grey");return(0,r.jsxs)("div",{className:"w-full space-y-5 md:space-y-8",children:[e&&(0,r.jsx)("h3",{className:"text-h5",dangerouslySetInnerHTML:{__html:e}}),(0,r.jsx)(q.RC,{ref:n,slidesPerView:"auto",speed:500,spaceBetween:24,breakpoints:{640:{slidesPerView:2},1024:{slidesPerView:3},1280:{slidesPerView:4}},onSlideChange:()=>{n.current&&c(n.current.swiper.activeIndex)},modules:[K.Vx],navigation:{prevEl:a.current,nextEl:o.current},className:"w-full cursor-grab !overflow-visible",children:t.map((e,t)=>(0,r.jsx)(q.qr,{className:"flex !h-auto max-sm:max-w-72",children:(0,r.jsxs)("div",{className:"relative h-full p-5 md:pb-8",children:[(0,r.jsx)("div",{className:(0,b.A)("absolute inset-0 z-[2] border",t%2==1&&"rounded-2xl",f)}),e?.headShot?.fields?.file?.url?.length>0&&(0,r.jsx)("div",{className:"relative mb-6 aspect-[9/10] w-full overflow-hidden rounded-lg md:mb-7",children:(0,r.jsx)(G.A,{image:e?.headShot,className:"h-full w-full object-cover",isPriority:!0})}),(0,r.jsxs)("div",{className:"sm:pl-2",children:[e?.linkedin?(0,r.jsxs)(_(),{href:e?.linkedin,target:"_blank",className:"relative z-[5] inline-flex items-center space-x-2.5 transition-opacity duration-200 hover:opacity-60",children:[(0,r.jsx)("div",{className:"h-3.5 w-3.5 shrink-0",children:(0,r.jsx)(U.B,{})}),(0,r.jsx)("span",{className:"text-h7",dangerouslySetInnerHTML:{__html:e?.name}})]}):(0,r.jsx)("h4",{className:"text-h7",dangerouslySetInnerHTML:{__html:e?.name}}),e?.jobRole&&(0,r.jsx)("span",{className:"text-16 mt-1.5 block opacity-80 sm:mt-2",dangerouslySetInnerHTML:{__html:e?.jobRole}}),0!==t&&(0,r.jsx)(eh.QF,{borderColour:f,className:t%2==1?"lg:-translate-y-10":"lg:translate-y-24"})]})]})},`slide-item-${t}`))}),(0,r.jsx)("div",{className:(0,b.A)(t?.length>d?"":"hidden"),children:(0,r.jsx)(eU,{activeSlide:s,totalSlides:p,swiperPrevRef:a,swiperNextRef:o})})]})}let n0=function({textCard:e,asset:t,assetBottom:n}){let{width:i}=(0,w.A)(),a=rj();return(0,r.jsxs)("div",{className:"relative mx-auto max-w-[61.875rem]",children:[(0,r.jsx)("div",{className:(0,b.A)("absolute inset-y-0 left-0 z-[5] w-1/5 bg-gradient-to-r sm:hidden",nN[a?.backgroundColor?.name||"White"])}),(0,r.jsx)("div",{className:(0,b.A)("absolute inset-y-0 right-0 z-[5] w-1/5 bg-gradient-to-l sm:hidden",nN[a?.backgroundColor?.name||"White"])}),(0,r.jsxs)("div",{className:"grid py-3",children:[(0,r.jsx)("div",{children:(0,r.jsx)(g.Ay,{...t})}),(0,r.jsx)("div",{className:"relative z-10 my-3 flex items-center justify-center max-sm:py-2 sm:my-[-8%] md:my-[-12%]",children:(0,r.jsx)("div",{className:"max-w-[23.125rem]",children:(0,r.jsx)(f,{...e})})}),(0,r.jsx)("div",{children:(0,r.jsx)(g.Ay,{...n})})]})]})},n1=function({textCard:e,logos:t,asset:n}){let{width:i}=(0,w.A)();return(0,r.jsx)("div",{className:"relative",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 gap-y-8 py-3 sm:grid-cols-3 sm:gap-4 md:gap-3",children:[(0,r.jsx)("div",{className:"flex items-center max-sm:justify-center lg:pr-8",children:(0,r.jsx)("div",{className:"max-md:max-w-[14rem]",children:(0,r.jsx)(f,{...e})})}),(0,r.jsx)("div",{className:"max-md:order-first md:col-span-2",children:(0,r.jsx)(g.Ay,{...n})})]})})};var n2=n(94195);let n3=function({textCard:e,logos:t}){let{width:n}=(0,w.A)(),i=n>639,a=rj(),o=[{type:"blank",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"blank",hideMobile:!0},{type:"tile",hideMobile:!1},...t&&t.length>0?t.slice(0,2).map(e=>({type:"logo",data:e})):[],{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!1},...t&&t.length>2?t.slice(2,3).map(e=>({type:"logo",data:e})):[],{type:"tile",hideMobile:!1},{type:"blank",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"blank",hideMobile:!1},...t&&t.length>3?t.slice(3,4).map(e=>({type:"logo",data:e})):[]],s=[...t&&t.length>6?t.slice(4,5).map(e=>({type:"logo",data:e})):[],{type:"blank",hideMobile:!1},{type:"blank",hideMobile:!1},{type:"blank",hideMobile:!0},{type:"blank",hideMobile:!0},{type:"tile",hideMobile:!1},{type:"tile",hideMobile:!1},...t&&t.length>5?t.slice(5,6).map(e=>({type:"logo",data:e,hideMobile:!0})):[],{type:"blank",hideMobile:!1},...t&&t.length>6?t.slice(6,8).map(e=>({type:"logo",data:e})):[],{type:"blank",hideMobile:!0},{type:"blank",hideMobile:!0},{type:"blank",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0},{type:"tile",hideMobile:!0}];return(0,r.jsx)(nc.F,{features:n2.z,children:(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:(0,b.A)("absolute inset-x-0 top-0 z-[11] h-[7rem] max-h-[20%] bg-gradient-to-b",nN[a?.backgroundColor?.name||"White"])}),(0,r.jsx)("div",{className:(0,b.A)("absolute inset-x-0 bottom-0 z-[11] h-[7rem] max-h-[20%] bg-gradient-to-t",nN[a?.backgroundColor?.name||"White"])}),(0,r.jsxs)("div",{className:"grid grid-cols-4 gap-4 py-3 sm:grid-cols-9 sm:grid-rows-6 md:gap-3",children:[o?.map((e,t)=>e?.hideMobile&&!i?null:e?.type==="blank"?r.jsx("div",{},t):e?.type==="logo"?r.jsx(n5,{logo:e?.data,hasConnectionLeft:17===t},t):r.jsx(n4,{},t)),(0,r.jsx)("div",{className:"col-span-4 row-span-3 flex items-center justify-center max-sm:py-2 sm:col-span-5 sm:col-start-3 sm:row-span-2 sm:row-start-3",children:(0,r.jsx)("div",{className:"max-md:max-w-[20rem]",children:(0,r.jsx)(f,{...e})})}),s?.map((e,t)=>e?.hideMobile&&!i?null:e?.type==="blank"?r.jsx("div",{},t):e?.type==="logo"?r.jsx(n5,{logo:e?.data,hasConnectionTop:3===t||12===t,hasConnectionLeft:1===t||12===t},t):r.jsx(n4,{},t))]})]})})};function n5({logo:e,hasConnectionTop:t=!1,hasConnectionLeft:n=!1}){return(0,r.jsxs)("div",{className:"flex-center relative aspect-[1/1] rounded-xl bg-paleGrey",children:[n&&(0,r.jsx)("div",{className:"absolute inset-y-0 right-0 w-[200%] rounded-xl bg-paleGrey max-sm:hidden"}),t&&(0,r.jsx)("div",{className:"absolute inset-x-0 bottom-0 h-[200%] rounded-xl bg-paleGrey max-sm:hidden"}),e?.fields?.file?.url?.length>0?(0,r.jsx)(G.A,{image:e,className:"relative z-10 h-[58%] w-[58%] object-contain"}):null]})}function n4(){return(0,r.jsx)("div",{className:"aspect-[1/1] rounded-xl bg-paleGrey opacity-50"})}function n6(e){let{textCard:t,asset:n,assetBottom:i}=e;return(0,r.jsxs)("section",{className:"flex items-center justify-center rounded-lg bg-paleGrey p-3 md:justify-normal",children:[(0,r.jsx)("div",{className:"hidden select-none pl-2 md:block",children:(0,r.jsx)(g.Ay,{...n})}),(0,r.jsx)("div",{className:"flex max-w-[411px] flex-col justify-center p-4 md:flex-[1_0_411px] md:px-0",children:(0,r.jsx)(f,{...t})}),(0,r.jsx)("div",{className:"hidden select-none md:block",children:(0,r.jsx)(g.Ay,{...i})})]})}function n8(e){let{layout:t="Default"}=e,n={Default:n0,"Two Column":n1,Awards:n3,"Brand Assets Two Column":n6}[t];return n?(0,r.jsx)(n,{...e}):null}let n7=function({featureColumnHeading:e="",comparisonOneLogo:t,comparisonOneName:n="",comparisonTwoLogo:i,comparisonTwoName:a="",featuresList:s=[],linkHeading:l="",links:c=[]}){return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"sticky top-[3.75rem] z-20 grid -translate-y-
182px grid-cols-10 items-center border-b border-grey-pastel bg-white",children:[(0,r.jsx)("div",{className:"col-span-6 px-6 py-6 max-sm:hidden md:py-7",children:(0,r.jsx)("div",{className:"text-h7",dangerouslySetInnerHTML:{__html:e}})}),(0,r.jsx)("div",{className:"col-span-5 flex justify-center p-4 sm:col-span-2",children:t?(0,r.jsx)(G.A,{image:t,className:"max-h-7"}):(0,r.jsx)("div",{className:"text-h7",dangerouslySetInnerHTML:{__html:n}})}),(0,r.jsx)("div",{className:"col-span-5 flex justify-center p-4 sm:col-span-2",children:i?(0,r.jsx)(G.A,{image:i,className:"max-h-7"}):(0,r.jsx)("div",{className:"text-h7",dangerouslySetInnerHTML:{__html:a}})})]}),s?.map((e,t)=>r.jsx(n9,{...e,isLastItem:t===s.length-1},`featuresListItem-${t}`)),c.length>0&&c[0]?.title&&(0,r.jsxs)("div",{className:"mt-8 flex flex-col items-center space-y-3.5",children:[(0,r.jsx)("div",{className:"text-14 text-center",dangerouslySetInnerHTML:{__html:l}}),c?.map(e=>r.jsx(o.A,{...e},e?.id))]})]})};function n9({name:e="",description:t="",comparisonOneRating:n="None",comparisonTwoRating:i="None",isLastItem:a=!1}){let[o,s]=(0,l.useState)(!1),{width:c}=(0,w.A)(),u=c<640,p={Light:"text-green-950",Medium:"text-green-800",Strong:"text-green-600","Very Strong":"text-lime-shade"};return(0,r.jsxs)("div",{className:`grid grid-cols-10 items-center border-grey-pastel ${!a&&"border-b"}`,children:[(0,r.jsx)("div",{className:"col-span-full pb-0 pt-4 sm:col-span-6 sm:px-6 sm:py-5 md:py-6",children:(0,r.jsxs)("div",{className:"flex items-center justify-center gap-x-1.5 sm:justify-start",children:[(0,r.jsx)("div",{className:"text-16 text-center sm:text-left",dangerouslySetInnerHTML:{__html:e}}),t&&(0,r.jsxs)("button",{type:"button","aria-label":"Open description tooltip",className:"relative block",onMouseOver:()=>s(!0),onMouseLeave:()=>s(!1),onFocus:()=>s(!0),onBlur:()=>s(!1),children:[(0,r.jsx)(U.mo,{}),(0,r.jsx)(tO.N,{mode:"wait",children:o&&(0,r.jsxs)(d.P.div,{initial:{opacity:0,x:u?0:-4,y:u?-4:0},animate:{opacity:1,x:0,y:0},exit:{opacity:0,x:u?0:-4,y:u?-4:0},transition:{x:{type:"easeIn"}},className:"absolute -right-5 top-[calc(100%+0.75rem)] w-44 cursor-default rounded-lg border border-grey-pastel sm:-top-5 sm:left-[calc(100%+0.75rem)] sm:right-auto sm:w-64",children:[(0,r.jsx)("div",{className:"relative z-10 h-full w-full rounded-lg bg-white px-2.5 py-2 sm:px-3.5 sm:py-2.5",children:(0,r.jsx)("span",{className:"text-13 tooltip-text block text-left leading-[1.4] opacity-80",dangerouslySetInnerHTML:{__html:t}})}),(0,r.jsx)("div",{className:"absolute -top-2 right-4 h-6 w-6 rotate-45 rounded border border-grey-pastel bg-white sm:-left-1.5 sm:right-auto sm:top-4"})]})})]})]})}),(0,r.jsx)("div",{className:"col-span-5 flex justify-center p-4 sm:col-span-2",children:"None"!==n?(0,r.jsx)("div",{className:`text-16 is-smaller ${p[n]}`,dangerouslySetInnerHTML:{__html:n}}):(0,r.jsx)("div",{className:"h-0.5 w-2.5 bg-black/[.45]"})}),(0,r.jsx)("div",{className:"col-span-5 flex justify-center p-4 sm:col-span-2",children:"None"!==i?(0,r.jsx)("div",{className:`text-16 is-smaller ${p[i]}`,dangerouslySetInnerHTML:{__html:i}}):(0,r.jsx)("div",{className:"h-0.5 w-2.5 bg-black/[.45]"})})]})}var re=n(29804),rt=n(43908);function rn(e){let{sections:t,contentWidth:n="Wide",hideShareButtons:i,publishedDate:o,lastUpdatedDate:s}=e,l=t?.map(e=>({nodeType:"heading-2",content:[{nodeType:"text",value:e.navHeading}]}));return(0,r.jsxs)("article",{className:"container-large container flex flex-col-reverse gap-10 md:flex-row md:gap-6",children:[(0,r.jsx)(re.A,{className:"[&>*:last-child]:mb-0",content:l,hasShareButtons:!i,hasDates:!0,publishDate:o,lastUpdatedDate:s}),(0,r.jsx)("div",{className:"max-w-[47.5rem] flex-1",children:(0,r.jsx)("div",{className:`w-full space-y-16 ${"Wide"===n?"max-w-full":"mx-auto max-w-[38.5rem]"}`,children:t?.map(e=>r.jsx("div",{id:rt.e(e.navHeading),children:r.jsx(a.A,{content:e.content})},`${e.navHeading}-section`))})})]})}let rr=function({index:e,heading:t,description:n,subheading:i,thumbnail:a,setActiveCard:o,buttons:s}){let{t:l}=(0,eZ.Bd)();return(0,r.jsx)("li",{children:(0,r.jsxs)("a",{href:`#slider-modal-${e}`,onClick:()=>o(e),type:"button","aria-label":"Open modal",className:"block aspect-[364/345] w-full max-w-[22.75rem] rounded-[.75rem] text-black",children:[(0,r.jsx)("div",{className:"absolute inset-0 overflow-hidden rounded-[.75rem] bg-coral-dark",children:(0,r.jsx)(G.A,{image:a,className:"h-full w-full object-cover"})}
182),(0,r.jsx)(x.A,{colour:"White",position:"bottomLeft",radius:12,className:"z-[5]",isDisabledAnimation:!0,children:(0,r.jsxs)("div",{className:"flex items-center space-x-2 pl-1 pr-4 pt-2 !text-black md:pr-5",children:[(0,r.jsx)("div",{className:"h-4 w-4 shrink-0 md:h-5 md:w-5",children:(0,r.jsx)(U.c1,{})}),(0,r.jsx)("span",{className:"text-h6",dangerouslySetInnerHTML:{__html:l(t)}})]})})]})})};var ri=n(97619),ra=n(83150);let ro=function({activeCard:e,setActiveCard:t,slides:n}){let{t:i}=(0,ra.useTranslation)(),a=(0,nG.useRouter)();return(0,r.jsx)(ri.A,{modalId:`slider-modal-${e}`,isAspectRatioRemoved:!0,children:(0,r.jsxs)("div",{className:"m-auto w-full max-w-[29.0625rem] space-y-6 overflow-scroll rounded-[.75rem] bg-white p-6 text-black md:p-8",children:[(0,r.jsxs)("div",{className:"relative aspect-[40/38] w-full",children:[(0,r.jsx)(x.A,{colour:"White",position:"topLeft",radius:12,className:"z-[5]",isDisabledAnimation:!0,children:(0,r.jsxs)("div",{className:"flex items-center space-x-2 pb-2 pl-1 pr-4 !text-black md:pb-3 md:pr-5",children:[(0,r.jsx)("button",{type:"button","aria-label":i("Close modal"),onClick:()=>{a.push(a.asPath,void 0,{shallow:!0}),t(null)},className:"h-4 w-4 shrink-0 rotate-45 transition-[transform] duration-200 ease-out hover:scale-[1.1] md:h-5 md:w-5",children:(0,r.jsx)(U.c1,{})}),(0,r.jsx)("span",{className:"text-h6",dangerouslySetInnerHTML:{__html:i(n[e]?.heading)}})]})}),(0,r.jsx)("div",{className:"h-full w-full overflow-hidden rounded-[.75rem] bg-coral-shade",children:(0,r.jsx)(G.A,{image:n[e]?.thumbnail,className:"h-full w-full object-cover"})})]}),(0,r.jsxs)("div",{children:[n[e]?.description&&(0,r.jsx)("p",{className:"text-18 text-black/65",dangerouslySetInnerHTML:{__html:i(n[e]?.description)}}),(0,r.jsx)("div",{className:"my-5 h-px w-full bg-grey-pastel lg:my-8"}),n[e]?.buttons?.length>0&&(0,r.jsxs)("div",{className:"items-center max-md:space-y-2 md:flex md:space-x-3 lg:space-x-5",children:[n[e]?.subheading&&(0,r.jsx)("span",{className:"text-16 !font-[500]",dangerouslySetInnerHTML:{__html:i(n[e]?.subheading)}}),(0,r.jsx)("ul",{className:"flex flex-wrap items-center space-x-3",children:n[e]?.buttons.map(e=>r.jsx(o.A,{...e},e?.id))})]})]})]})})},rs=function({slides:e}){let t=(0,l.useRef)(null),n=(0,l.useRef)(null),i=(0,l.useRef)(null),[a,o]=(0,l.useState)(0);(0,l.useEffect)(()=>{t.current&&(t.current.swiper.params.navigation.prevEl=n.current,t.current.swiper.params.navigation.nextEl=i.current,t.current.swiper.navigation.init(),t.current.swiper.navigation.update())},[]);let{width:s}=(0,w.A)(),c=1.1;s>639&&(c=3.1);let u=Number(e?.length)-Number(c),[d,p]=(0,l.useState)(-1);return(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex w-full max-md:flex-col-reverse md:flex-col",children:[(0,r.jsx)("div",{className:(0,b.A)(e?.length>c?"flex justify-end max-md:mt-8 md:mb-8":"hidden"),children:(0,r.jsx)(eU,{activeSlide:a,totalSlides:u,swiperPrevRef:n,swiperNextRef:i})}),(0,r.jsx)(q.RC,{ref:t,slidesPerView:1.1,speed:500,spaceBetween:20,breakpoints:{640:{slidesPerView:3.1,spaceBetween:24}},onSlideChange:()=>{t.current&&o(t.current.swiper.activeIndex)},modules:[K.Vx],navigation:{prevEl:n.current,nextEl:i.current},className:"w-full cursor-grab !overflow-visible",children:e.map((e,t)=>(0,r.jsx)(q.qr,{className:"!h-auto",children:(0,r.jsx)(rr,{...e,index:t,setActiveCard:p})},`slide-item-${t}`))})]}),-1!==d&&(0,r.jsx)(ro,{activeCard:d,setActiveCard:p,slides:e})]})};function rl({href:e,isExternal:t,children:n,className:i=""}){return e?t?(0,r.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:i,children:n}):(0,r.jsx)(_(),{href:e,className:i,children:n}):(0,r.jsx)("div",{className:i,children:n})}function rc({item:e}){let{t}=(0,eZ.Bd)();e?.tags?.[0];let n=e?.icon?.fields||e?.icon,i=e?.externalUrl||e?.slug||"",a=e?.externalUrl?.length>0,o=e?.subtitle||"";return(0,r.jsx)(rl,{href:i,isExternal:a,className:"group block rounded-lg border border-grey-pastel p-6 sm:p-8",children:(0,r.jsxs)("div",{className:"flex flex-col gap-7",children:[(0,r.jsxs)("div",{className:"flex items-start justify-between gap-3",children:[(0,r.jsx)("div",{className:(0,b.A)("flex h-[36px] w-[36px] items-center justify-center rounded lg:h-[48px] lg:w-[48px]"),children:n?.type?(0,r.jsx)(g.Ay,{...n,className:"h-full w-full overflow-hidden rounded"}):null}),o?(0,r.jsx)("span",{className:"text-16 rounded-full bg-paleGrey px-3 py-2 font-medium leading-[1.2] text-grey-deep",children:o}):null]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("h3",{className:"text-h6 !font-medium",dangerouslySetInnerHTML:{__html:e?.title||""}}),e?.excerpt&&(0,r.jsx)("p",{className:"text-18 !leading-[1.4] text-black/80",dangerouslySetInnerHTML:{__html:e.excerpt}})]}),(0,r.jsx)(eg.Y,{link:{title:"Get started"},type:"Text Link â Black"})]})})}function ru({items:e=[]}){let{t}=(0,eZ.Bd)(),[n,i]=(0,l.useState)("All"),a=(0,l.useMemo)(()=>e?.length>0?e:null,[e]),o=(0,l.useMemo)(()=>["All",...Array.from(new Set(a.flatMap(e=>e?.tags||[])))],[a]),s=(0,l.useMemo)(()=>"All"===n?a:a.filter(e=>e?.tags?.includes(n)),[n,a]);return a?.length?(0,r.jsxs)("section",{className:"not-prose my-8 space-y-8 md:my-12 md:space-y-10 lg:my-16",children:[(0,r.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-3",children:o.map((e,a)=>{let o=e===n;return(0,r.jsx)("button",{type:"button",onClick:()=>i(e),className:(0,b.A)("text-16 rounded-full px-4 py-1.5 font-medium transition-colors duration-200",o?"bg-coral-dark text-white":"bg-paleGrey text-black/45 hover:text-black/80"),children:t(e)},e)})}),(0,r.jsx)("div",{className:"grid gap-6 md:grid-cols-2",children:s.map(e=>(0,r.jsx)(rc,{item:e},e?.slug||e?.externalUrl||`${e?.title||"tool-item"}-${e?.excerpt||""}`))})]}):null}var rd=n(71231);function rp({tabs:e=[]}){let[t,n]=(0,l.useState)(0),a=rj(),o=(0,i.vG)(a?.backgroundColor?.name),s="text-white"===o?"bg-black hover:bg-black/75":"bg-paleGrey hover:bg-[#dedfdd]",c="text-white"===o?"cursor-default bg-white !text-black":"cursor-default bg-[#D2FFB2]",u=e[t]?.cards??[];return(0,r.jsx)(nc.F,{features:nu.l,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:"mb-8 flex flex-wrap justify-center gap-x-[10px] gap-y-4 lg:mb-12",style:{paddingTop:"clamp(10px, 3vh, 22px)"},children:e.map((e,i)=>(0,r.jsx)("button",{type:"button",onClick:()=>
182n(i),className:(0,b.A)("rounded-full px-5 py-2.5 text-[15px] font-medium transition-colors",i===t?c:s,o),children:(0,r.jsx)("span",{className:"whitespace-nowrap",children:e.tabLabel})},e.id??i))}),(0,r.jsx)(tO.N,{mode:"wait",children:(0,r.jsx)(na.m.div,{initial:{opacity:0,y:12},animate:{opacity:1,y:0},exit:{opacity:0,y:-12},transition:{duration:.25,ease:"easeInOut"},className:"grid gap-y-5 sm:grid-cols-2 sm:gap-5 md:grid-cols-3 md:gap-6",children:u.map((e,t)=>(0,r.jsx)(eC,{...e,isGrid:!0},e.id??t))},t)})]})})}function rh({items:e=[],className:t=""}){let{t:n}=(0,eZ.Bd)(),a=(0,nG.useRouter)(),o=rj(),s=e.length>0?function(e=[]){let t=(e||[]).filter(e=>e&&e.title);return t.map((e,n)=>{let r=n===t.length-1,i=e.slug&&""!==e.slug&&"/undefined/"!==e.slug?e.slug:null;return{key:e.id||`crumb-${n}`,label:e.title,href:r?null:i,isCurrent:r}})}(e):function(e="",t=[]){let n=e.split(/[?#]/,1)[0].split("/").filter(Boolean),r=t.some(e=>e.toLocaleLowerCase()===n[0]?.toLocaleLowerCase())?n.slice(1):n;return r.map((e,t)=>{let n=t===r.length-1,i=`/${r.slice(0,t+1).join("/")}/`;return{key:`automatic-crumb-${i}`,label:(function(e){try{return decodeURIComponent(e)}catch{return e}})(e).replace(/[-_]+/g," ").replace(/(^|\s)\S/g,e=>e.toLocaleUpperCase()),href:n?null:i,isCurrent:n}})}(a.asPath,a.locales),l=(0,i.Ay)(o?.backgroundColor?.name||"White").includes("text-white");return 0===s.length?null:(0,r.jsx)("nav",{"aria-label":n("Breadcrumb"),className:(0,b.A)("w-full",t),children:(0,r.jsx)("ol",{className:(0,b.A)("text-14 flex flex-wrap items-center gap-x-2 gap-y-1",l?"text-white/70":"text-grey-primary"),children:s.map((e,t)=>(0,r.jsxs)("li",{className:"flex items-center gap-x-2",children:[e.href?(0,r.jsx)(_(),{href:e.href,className:(0,b.A)("transition-colors duration-200 hover:underline",l?"hover:text-coral-light":"hover:text-coral-shade"),children:n(e.label)}):(0,r.jsx)("span",{className:(0,b.A)(e.isCurrent&&["font-medium",l?"text-white":"text-black"]),...e.isCurrent?{"aria-current":"page"}:{},children:n(e.label)}),t<s.length-1?(0,r.jsx)("span",{"aria-hidden":"true",className:(0,b.A)(l?"text-white/40":"text-grey-light","h-4 w-4"),children:(0,r.jsx)(U.c_,{})}):null]},e.key))})})}function rf({components:e=[],pageId:t=null,sectionBG:n}){let i={textCard:f,asset:g.Ay,heroSection:I,stickyNav:H,componentTestimonials:Q,twoColumns:tQ,customersCTA:ni,postFaq:tJ.A,logoStrip:y.A,accordion:nv,cta:E.A,iconGrid:eI,slider:nT,resourcesCta:eW,menuHero:nL,integrationGridCta:n8,decorativeHero:nP,row:eT,scrollRevealTextBlocksAndCards:nF,arrowBorderGrid:n$,officeLocations:nX,teamSlider:nQ,iconScrollHeading:nZ,comparisonTable:n7,section:rE,twoColumnBlogPostLayout:rn,modalSlider:rs,interactiveToolsGrid:ru,staticComponents:tX,componentHtml:rd.A,componentTabsWithCards:rp,breadcrumbs:rh,textHighlight:tZ.A};return e?.length>0?(0,r.jsx)(r.Fragment,{children:e.map((e,a)=>{let o=i[e?.contentType];return(0,r.jsx)(c().Fragment,{children:o?(0,r.jsx)(o,{...e,sectionBG:n,isInnerSection:e?.contentType==="section"}):(0,r.jsxs)("p",{children:["Component ",e?.contentType," not found"]})},t+e.id+a)})}):null}var rm=n(74123);function rg(e,...t){let n=e.length;return(0,rm.j)(t.filter(nO.S),function(){let r="";for(let i=0;i<n;i++){r+=e[i];let n=t[i];n&&(r+=(0,nO.S)(n)?n.get():n)}return r})}let ry={stiffness:160,damping:20},rv={top:{None:"pt-0",Minimum:"pt-10 md:pt-[3.75rem]",Small:"pt-10 md:pt-20",Medium:"pt-12 md:pt-24",Large:"pt-14 md:pt-32",Maximum:"pt-14 md:pt-36"},bottom:{None:"pb-0",Minimum:"pb-10 md:pb-[3.75rem]",Small:"pb-10 md:pb-20",Medium:"pb-12 md:pb-24",Large:"pb-14 md:pb-32",Maximum:"pb-14 md:pb-36"}},rb=(e="default")=>{switch(e){case"none":default:return"";case"Extra Small":return"space-y-8 md:space-y-10";case"Small":return"space-y-10 md:space-y-[3.75rem]";case"Medium":return"space-y-12 md:space-y-20";case"Large":return"space-y-14 md:space-y-24";case"Extra Large":return"space-y-14 md:space-y-24 lg:space-y-32"}},rx=({paddingTop:e,paddingBottom:t})=>{let n=rv.top[e],r=rv.bottom[t];return`${n} ${r}`},rw=(0,l.createContext)(void 0),rj=()=>(0,l.useContext)(rw);function rC({children:e,value:t}){return(0,r.jsx)(rw.Provider,{value:t,children:e})}
182let rE=function(e){let{components:t=[],id:n="",sectionID:a="",backgroundColor:o,paddingTop:s="Medium",paddingBottom:c="Medium",componentSpacing:u="",classNames:p="",hasContainer:h=!0,hasBorderTop:f=!1,overflow:m=!0,isSticky:g=!1,isRounded:y=!1,className:v="",isFirstSection:x=!1,isAnimated:w=!1,wrapInBoxMobile:j=!1,isInnerSection:C=!1}=e,E=(0,er.I)(),k=(0,l.useRef)(null),{scrollYProgress:S}=(0,M.L)({target:k,offset:["start end","start start"]}),A=nB((0,ei.G)(S,[0,.5],[3,0]),{...ry}),T=nB((0,ei.G)(S,[.3,.5],[4,0]),{...ry}),_=rg`inset(0% ${A}% 0% ${A}% round ${T}px)`,L=(0,b.A)(p,[m?"overflow-visible":"overflow-hidden",(0,i.Ay)(o?.name||"White"),rx({paddingTop:s,paddingBottom:c}),g?"sticky top-0 z-[15]":"",y?(0,b.A)("lg:rounded-lg",C?"":"lg:mx-6"):"",f?"border-t border-grey-pastel":"",v,j?" relative":""]),N=(0,b.A)([j?"overflow-hidden max-md:rounded-lg":""]),P=(0,b.A)([h&&!j?"container":"",rb(u),j?"relative z-10 bg-paleGrey md:bg-transparent max-md:px-5 max-md:py-14 container":""]);return(0,r.jsx)(d.P.section,{id:a||n,className:L,style:w&&!E?{clipPath:_}:{},ref:k,children:(0,r.jsx)(rC,{value:{backgroundColor:o,paddingTop:s,paddingBottom:c,id:n,isFirstSection:x,hasContainer:h},children:(0,r.jsx)("div",{className:N,children:(0,r.jsx)("div",{className:P,children:(0,r.jsx)(rf,{components:t,pageId:n,sectionBG:o})})})})})}},74668:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});let r={skipAnimations:!1,useManualTiming:!1}},74737:(e,t,n)=>{"use strict";n.d(t,{K:()=>i});var r=n(13141);function i(e,t,n){let i=e.getProps();return(0,r.a)(i,t,void 0!==n?n:i.custom,e)}},74765:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r={RFC1738:"RFC1738",RFC3986:"RFC3986"};e.exports={default:r.RFC3986,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r.RFC1738,RFC3986:r.RFC3986}},75338:(e,t,n)=>{"use strict";function r(e){return[e("x"),e("y")]}n.d(t,{X:()=>r})},75489:(e,t,n)=>{"use strict";n.d(t,{I:()=>a});var r=n(74668);let i=["read","resolveKeyframes","update","preRender","render","postRender"];function a(e,t){let n=!1,a=!0,o={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,l=i.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function s(t){a.has(t)&&(l.schedule(t),e()),t(o)}let l={schedule:(e,i=!1,o=!1)=>{let s=o&&r?t:n;return i&&a.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),a.delete(e)},process:e=>{if(o=e,r){i=!0;return}r=!0,[t,n]=[n,t],t.forEach(s),t.clear(),r=!1,i&&(i=!1,l.process(e))}};return l}(s),e),{}),{read:c,resolveKeyframes:u,update:d,preRender:p,render:h,postRender:f}=l,m=()=>{let i=r.W.useManualTiming?o.timestamp:performance.now();n=!1,o.delta=a?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,c.process(o),u.process(o),d.process(o),p.process(o),h.process(o),f.process(o),o.isProcessing=!1,n&&t&&(a=!1,e(m))},g=()=>{n=!0,a=!0,o.isProcessing||e(m)};return{schedule:i.reduce((e,t)=>{let r=l[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<i.length;t++)l[i[t]].cancel(e)},state:o,steps:l}}},75756:(e,t,n)=>{"use strict";n.d(t,{O:()=>c});var r=n(40568);let i=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var a=n(16763),o=n(72443);let s={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},l=o.U.length;function c(e,t,n){let{style:c,vars:u,transformOrigin:d}=e,p=!1,h=!1;for(let e in t){let n=t[e];if(o.f.has(e)){p=!0;continue}if((0,r.j)(e)){u[e]=n;continue}{let t=i(n,a.W[e]);e.startsWith("origin")?(h=!0,d[e]=t):c[e]=t}}if(!t.transform&&(p||n?c.transform=function(e,t,n){let r="",c=!0;for(let u=0;u<l;u++){let l=o.U[u],d=e[l];if(void 0===d)continue;let p=!0;if(!(p="number"==typeof d?d===(l.startsWith("scale")?1:0):0===parseFloat(d))||n){let e=i(d,a.W[l]);if(!p){c=!1;let t=s[l]||l;r+=`${t}(${e}) `}n&&(t[l]=e)}}return r=r.trim(),n?r=n(t,c?"":r):c&&(r="none"),r}(t,e.transform,n):c.transform&&(c.transform="none")),h){let{originX:e="50%",originY:t="50%",originZ:n=0}=d;c.transformOrigin=`${e} ${t} ${n}`}}},75795:(e,t,n)=>{"use strict";var r=n(70453)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r}
182,75955:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(73884),i=n(23500),a=n(78728);let o=(e=250,t=40)=>{let[n,o]=(0,r.useState)(!1),{scrollY:s}=(0,i.L)();return(0,a.L)(s,"change",r=>{r>e&&!n?o(!0):r<e-t&&n&&o(!1)}),n}},76424:(e,t,n)=>{e.exports=n(95616)},77312:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});let r=e=>/^0[^.\s]+$/u.test(e)},77331:(e,t,n)=>{"use strict";n.d(t,{X:()=>i,f:()=>r});let r=e=>1e3*e,i=e=>e/1e3},78072:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});let r=e=>null!==e;function i(e,{repeat:t,repeatType:n="loop"},i){let a=e.filter(r),o=t&&"loop"!==n&&t%2==1?0:a.length-1;return o&&void 0!==i?i:a[o]}},78728:(e,t,n)=>{"use strict";n.d(t,{L:()=>i});var r=n(73884);function i(e,t,n){(0,r.useInsertionEffect)(()=>e.on(t,n),[e,t,n])}},78955:(e,t,n)=>{"use strict";n.d(t,{j:()=>k});var r=n(39713),i=n(8104);function a(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}var o=n(5252),s=n(33735),l=n(72027);function c(e,t){return n=>n>0?t:e}let u=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},d=[o.u,s.B,l.V],p=e=>d.find(t=>t.test(e));function h(e){let t=p(e);if((0,i.$)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===l.V&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,s=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,l=2*n-r;i=a(l,r,e+1/3),o=a(l,r,e),s=a(l,r,e-1/3)}else i=o=s=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*s),alpha:r}}(n)),n}let f=(e,t)=>{let n=h(e),i=h(t);if(!n||!i)return c(e,t);let a={...n};return e=>(a.red=u(n.red,i.red,e),a.green=u(n.green,i.green,e),a.blue=u(n.blue,i.blue,e),a.alpha=(0,r.k)(n.alpha,i.alpha,e),s.B.transform(a))};var m=n(91339),g=n(27739),y=n(30615),v=n(40568);let b=new Set(["none","hidden"]);function x(e,t){return n=>(0,r.k)(e,t,n)}function w(e){return"number"==typeof e?x:"string"==typeof e?(0,v.p)(e)?c:g.y.test(e)?f:E:Array.isArray(e)?j:"object"==typeof e?g.y.test(e)?f:C:c}function j(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>w(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function C(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=w(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let E=(e,t)=>{let n=y.f.createTransformer(t),r=(0,y.V)(e),a=(0,y.V)(t);return r.indexes.var.length===a.indexes.var.length&&r.indexes.color.length===a.indexes.color.length&&r.indexes.number.length>=a.indexes.number.length?b.has(e)&&!a.values.length||b.has(t)&&!r.values.length?function(e,t){return b.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):(0,m.F)(j(function(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let a=0;a<t.values.length;a++){let o=t.types[a],s=e.indexes[o][i[o]],l=null!==(n=e.values[s])&&void 0!==n?n:0;r[a]=l,i[o]++}return r}(r,a),a.values),n):((0,i.$)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),c(e,t))};function k(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?(0,r.k)(e,t,n):w(e)(e,t)}},79001:e=>{var t,n,r=Object.prototype,i=Function.prototype.toString,a=r.hasOwnProperty,o=i.call(Object),s=r.toString,l=(t=Object.getPrototypeOf,n=Object,function(e){return t(n(e))});e.exports=function(e){if(!(e&&"object"==typeof e)||"[object Object]"!=s.call(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e))return!1;var t=l(e);if(null===t)return!0;var n=a.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&i.call(n)==o}},79290:e=>{"use strict";e.exports=RangeError},79538:e=>{"use strict";e.exports=ReferenceError},79794:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>u,QF:()=>h,Q_:()=>p,ay:()=>f});var r=n(58775),i=n(44797),a=n(2050),o=n(74614),s=n(27322),l=n(34164),c=n(83150);let u=function(e){let{isTwoCol:t=!1,layout:n,items:s=[]}=e,c=Number(s?.length)-1,u=(0,o.R1)(),h=(0,a.$9)(u?.backgroundColor?.name||"Pale Grey");return"Connected Borders â With Social Icons"===n?(0,r.jsx)(d,{...e,itemsLength:c}):(0,r.jsx)("ul",{className:(0,l.A)("grid gap-y-5 md:gap-x-6",t?"md:grid-cols-2":"md:grid-cols-3"),children:s?.map((e,a)=>r.jsxs("li",{className:l.A("relative border",a%2!=1&&"rounded-xl",h),children:[r.jsx(i.M,{item:e,layout:n}),(t?a%2!=1:a%3!=2)&&a!==c&&r.jsx(p,{borderColour:h})]},a))})};function d(e){let{isTwoCol:t=!1,layout:n,items:u=[],itemsLength:d}=e,{t:h}=(0,c.useTranslation)(),f=(0,o.R1)(),m=(0,a.$9)(f?.backgroundColor?.name||"Pale Grey");return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsxs)("div",{className:"mb-5 grid gap-y-5 sm:grid-cols-2 md:grid-cols-3 md:gap-x-6",children:[(0,r.jsx)("div",{className:"hidden md:block"}),(0,r.jsx)("div",{}),(0,r.jsxs)("div",{className:"relative flex items-center justify-between rounded-full border px-[31px] py-[22px]",children:[(0,r.jsx)("div",{className:"mr-4 text-[16px] font-medium leading-[1]",dangerouslySetInnerHTML:{__html:h("Connect with us")}}),(0,r.jsx)("div",{children:(0,r.jsx)(s.A,{position:"press-media"})}),(0,r.jsxs)("div",{className:`absolute inset-x-0 top-[100%] z-10 mx-8 ml-auto grid w-1/2 grid-cols-2 gap-x-4 ${(0,a.Ay)(f?.backgroundColor?.name||"White")}`,children:[(0,r.jsx)("div",{className:(0,l.A)("h-[22px] rounded-r-[1.25rem] border border-l-0",m||"border-grey-pastel")}),(0,r.jsx)("div",{className:(0,l.A)("h-[22px] rounded-l-[1.25rem] border border-r-0",m||"border-grey-pastel")})]})]})]}),(0,r.jsx)("ul",{className:(0,l.A)("grid gap-y-5 md:grid-cols-3 md:gap-x-6"),children:u?.map((e,a)=>r.jsxs("li",{className:l.A("relative border",a%2!=1&&"rounded-xl",m),children:[r.jsx(i.M,{item:e,layout:n}),(t?a%2!=1:a%3!=2)&&a!==d&&r.jsx(p,{borderColour:m})]},a))})]})}function p({borderColour:e=""}){let t=(0,o.R1)();return(0,r.jsxs)("div",{className:(0,l.A)("absolute inset-x-0 top-[100%] z-10 grid max-md:mx-8 max-md:grid-cols-2 max-md:gap-x-5 md:inset-y-0 md:left-[100%] md:my-8 md:w-[1.625rem] md:gap-y-8",(0,a.Ay)(t?.backgroundColor?.name||"White")),children:[(0,r.jsx)("div",{className:(0,l.A)("border max-md:h-[1.375rem] max-md:rounded-r-[1.25rem] max-md:border-l-0 md:w-[1.625rem] md:rounded-b-[1.25rem] md:border-t-0",e||"border-grey-pastel")}),(0,r.jsx)("div",{className:(0,l.A)("border max-md:h-[1.375rem] max-md:rounded-l-[1.25rem] max-md:border-r-0 md:w-[1.625rem] md:rounded-t-[1.25rem] md:border-b-0",e||"border-grey-pastel")})]})}function h({borderColour:e="",className:t=""}){let n=(0,o.R1)();return(0,r.jsxs)("div",{className:(0,l.A)("absolute right-[calc(100%-1px)] top-1/2 z-10 -mt-[2.25rem] grid h-[4.5rem] w-[1.625rem] gap-y-8",(0,a.Ay)(n?.backgroundColor?.name||"White"),t),children:[(0,r.jsx)("div",{className:(0,l.A)("w-[1.625rem] rounded-b-[1.25rem] border border-t-0",e||"border-grey-pastel")}),(0,r.jsx)("div",{className:(0,l.A)("w-[1.625rem] rounded-t-[1.25rem] border border-b-0",e||"border-grey-pastel")})]})}function f({borderColour:e="",isEven:t=!1}){let n=(0,o.R1)();return(0,r.jsxs)("div",{className:`absolute inset-x-0 top-[100%] z-10 mx-8 grid w-1/2 grid-cols-2 gap-x-4 ${t?"mr-auto":"ml-auto"} ${(0,a.Ay)(n?.backgroundColor?.name||"White")}`,children:[(0,r.jsx)("div",{className:(0,l.A)("h-[1.15rem] rounded-r-[1.25rem] border border-l-0",e||"border-grey-pastel")}),(0,r.jsx)("div",{className:(0,l.A)("h-[1.15rem] rounded-l-[1.25rem] border border-r-0",e||"border-grey-pastel")})]})}},79940:(e,t)=>{"use strict";
182Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return i},notFound:function(){return r}});let n="NEXT_NOT_FOUND";function r(){let e=Error(n);throw e.digest=n,e}function i(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},80024:e=>{"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(t instanceof n)}},80152:(e,t,n)=>{"use strict";n.d(t,{$:()=>v});var r=n(58775),i=n(73884),a=n(89120),o=n(29473),s=n(23717),l=n(50775),c=n(55269);function u(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let d={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!c.px.test(e))return e;e=parseFloat(e)}let n=u(e,t.target.x),r=u(e,t.target.y);return`${n}% ${r}%`}};var p=n(39713),h=n(30615),f=n(38645),m=n(49268),g=n(10104);class y extends i.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;(0,f.$)(b),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),l.w.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,a=n.projection;return a&&(a.isPresent=i,r||e.layoutDependency!==t||void 0===t?a.willUpdate():this.safeToRemove(),e.isPresent===i||(i?a.promote():a.relegate()||g.Gt.postRender(()=>{let e=a.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),m.k.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function v(e){let[t,n]=(0,a.xQ)(),l=(0,i.useContext)(o.L);return(0,r.jsx)(y,{...e,layoutGroup:l,switchLayoutGroup:(0,i.useContext)(s.N),isPresent:t,safeToRemove:n})}let b={borderRadius:{...d,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:d,borderTopRightRadius:d,borderBottomLeftRadius:d,borderBottomRightRadius:d,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=h.f.parse(e);if(r.length>5)return e;let i=h.f.createTransformer(e),a="number"!=typeof r[0]?1:0,o=n.x.scale*t.x,s=n.y.scale*t.y;r[0+a]/=o,r[1+a]/=s;let l=(0,p.k)(o,s,.5);return"number"==typeof r[2+a]&&(r[2+a]/=l),"number"==typeof r[3+a]&&(r[3+a]/=l),i(r)}}}},80842:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(58775),i=n(9483),a=n(83150),o=n(82638),s=n.n(o),l=n(73884),c=n(34164);let u=function({className:e="",label:t="Share article"}){let{t:o}=(0,a.useTranslation)(),u=s()(()=>n.e(46).then(n.bind(n,51046)).then(e=>e.LinkedinShareButton),{loadableGenerated:{webpack:()=>[null]},ssr:!1}),[d,p]=(0,l.useState)("/");return(0,l.useEffect)(()=>{p(window.location.href)},[]),(0,r.jsxs)("div",{className:(0,c.A)("flex flex-col gap-3 lg:flex-row lg:items-center",e),children:[(0,r.jsx)("div",{className:"text-14 text-black/[.65]",suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:o(t)}}),(0,r.jsx)("div",{className:"flex gap-x-1.5 text-black",children:(0,r.jsx)(u,{url:d,"aria-label":"Share article on LinkedIn",children:(0,r.jsx)("div",{className:"flex h-7 w-7 items-center justify-center rounded bg-black/10 transition-colors duration-300 hover:bg-black/20",children:(0,r.jsx)("div",{className:"w-3.5",children:(0,r.jsx)(i._z,{})})})})})]})}},80939:(e,t,n)=>{"use strict";n.d(t,{P:()=>eN});var r=n(23033),i=n(41533),a=n(24785),o=n(69896),s=n(43206),l=n(94458),c=n(10104),u=n(49268),d=n(44582),p=n(32358);let h=(e,t)=>e.depth-t.depth;class f{constructor(){this.children=[],this.isDirty=!1}add(e){(0,p.Kq)(this.children,e),this.isDirty=!0}remove(e){(0,p.Ai)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(h),this.isDirty=!1,this.children.forEac
182h(e)}}var m=n(42464),g=n(39713),y=n(22606),v=n(14322),b=n(86896),x=n(84868),w=n(55269);let j=["TopLeft","TopRight","BottomLeft","BottomRight"],C=j.length,E=e=>"string"==typeof e?parseFloat(e):e,k=e=>"number"==typeof e||w.px.test(e);function S(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let A=_(0,.5,x.yT),T=_(.5,.95,i.l);function _(e,t,n){return r=>r<e?0:r>t?1:n((0,b.q)(e,t,r))}function L(e,t){e.min=t.min,e.max=t.max}function N(e,t){L(e.x,t.x),L(e.y,t.y)}function P(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var I=n(5673),M=n(55120);function O(e,t,n,r,i){return e-=t,e=(0,I.hq)(e,1/n,r),void 0!==i&&(e=(0,I.hq)(e,1/i,r)),e}function R(e,t,[n,r,i],a,o){!function(e,t=0,n=1,r=.5,i,a=e,o=e){if(w.KN.test(t)&&(t=parseFloat(t),t=(0,g.k)(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let s=(0,g.k)(a.min,a.max,r);e===a&&(s-=t),e.min=O(e.min,t,n,s,i),e.max=O(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,a,o)}let D=["x","scaleX","originX"],B=["y","scaleY","originY"];function F(e,t,n,r){R(e.x,t,D,n?n.x:void 0,r?r.x:void 0),R(e.y,t,B,n?n.y:void 0,r?r.y:void 0)}var H=n(54106);function V(e){return 0===e.translate&&1===e.scale}function $(e){return V(e.x)&&V(e.y)}function U(e,t){return e.min===t.min&&e.max===t.max}function z(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function W(e,t){return z(e.x,t.x)&&z(e.y,t.y)}function G(e){return(0,M.CQ)(e.x)/(0,M.CQ)(e.y)}function q(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class K{constructor(){this.members=[]}add(e){(0,p.Kq)(this.members,e),e.scheduleRender()}remove(e){if((0,p.Ai)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var Y=n(38645),X=n(75338),Z=n(41630),J=n(50775);let Q={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},ee="undefined"!=typeof window&&void 0!==window.MotionDebug,et=["","X","Y","Z"],en={visibility:"hidden"},er=0;function ei(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function ea({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:p}){return class{constructor(e={},n=null==t?void 0:t()){this.id=er++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,ee&&(Q.totalNodes=Q.resolvedTargetDeltas=Q.recalculatedProjection=0),this.nodes.forEach(el),this.nodes.forEach(em),this.nodes.forEach(eg),this.nodes.forEach(ec),ee&&window.MotionDebug.record(Q)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new f)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new y.v),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:i,layout:a,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(a||i)&&(this.isLayoutDirty=!0),e){let n;let r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){let n=d.k.now(),r=({timestamp:t})=>{let i=t-n;i>=250&&((0,c.WG)(r),e(i-250))};return c.Gt.read(r,!0),()=>(0,c.WG)(r)}(r,250),J.w.hasAnimatedSinceResize&&(J.w.hasAnimatedSinceResize=!1,this.nodes.forEac
182h(ef))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||a)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||o.getDefaultTransition()||ej,{onLayoutAnimationStart:s,onLayoutAnimationComplete:l}=o.getProps(),c=!this.targetLayout||!W(this.targetLayout,i)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...(0,r.rU)(a,"layout"),onPlay:s,onComplete:l};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||ef(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,c.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ey),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=(0,l.P)(n);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",c.Gt,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ed);return}this.isUpdating||this.nodes.forEach(ep),this.isUpdating=!1,this.nodes.forEach(eh),this.nodes.forEach(eo),this.nodes.forEach(es),this.clearAllSnapshots();let e=d.k.now();c.uv.delta=(0,m.q)(0,1e3/60,e-c.uv.timestamp),c.uv.timestamp=e,c.uv.isProcessing=!0,c.PP.update.process(c.uv),c.PP.preRender.process(c.uv),c.PP.render.process(c.uv),c.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,u.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(eu),this.sharedNodes.forEach(ev)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,c.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){c.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=(0,H.ge)(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=i(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!p)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!$(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||(0,Z.HD)(this.latestValues)||i)&&(p(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),ek((t=r).x),ek(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return(0,H.ge)();let n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(eA))){let{scroll:e}=this.root;e&&((0,I.Ql)(n.x,e.offset.x),(0,I.Ql)(n.y,e.offset.y))}return n}removeElementScroll(e){var t;let n=(0,H.ge)();if(N(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){let r=this.path[t],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&N(n,e),(0,I.Ql)(n.x,i.offset.x),(0,I.Ql)(n.y,i.offset.y))}return n}applyTransform(e,t=!1){let n=(0,H.ge)();N(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(0,I.Ww)(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),(0,Z.HD)(r.latestValues)&&(0,I.Ww)(n,r.latestValues)}return(0,Z.HD)(this.latestValues)&&(0,I.Ww)(n,this.latestValues),n}removeTransform(e){let t=(0,H.ge)();N(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!(0,Z.HD)(n.latestValues))continue;(0,Z.vk)(n.latestValues)&&n.updateSnapshot();let r=(0,H.ge)();N(r,n.measurePageBox()),F(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return(0,Z.HD)(this.latestValues)&&F(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==c.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;let n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
182haredProjectionDirty);let r=!!this.resumingFrom||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:i,layoutId:a}=this.options;if(this.layout&&(i||a)){if(this.resolvedRelativeTargetAt=c.uv.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,H.ge)(),this.relativeTargetOrigin=(0,H.ge)(),(0,M.jA)(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),N(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target=(0,H.ge)(),this.targetWithTransforms=(0,H.ge)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,M.N)(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):N(this.target,this.layout.layoutBox),(0,I.o4)(this.target,this.targetDelta)):N(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,H.ge)(),this.relativeTargetOrigin=(0,H.ge)(),(0,M.jA)(this.relativeTargetOrigin,this.target,e.target),N(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ee&&Q.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||(0,Z.vk)(this.parent.latestValues)||(0,Z.vF)(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),n=!!this.resumingFrom||this!==t,r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===c.uv.timestamp&&(r=!1),r)return;let{layout:i,layoutId:a}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||a))return;N(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,s=this.treeScale.y;(0,I.OU)(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=(0,H.ge)());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(P(this.prevProjectionDelta.x,this.projectionDelta.x),P(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,M.vb)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===o&&this.treeScale.y===s&&q(this.projectionDelta.x,this.prevProjectionDelta.x)&&q(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),ee&&Q.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,H.xU)(),this.projectionDelta=(0,H.xU)(),this.projectionDeltaWithTransform=(0,H.xU)()}setAnimationOrigin(e,t=!1){let n;let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=(0,H.xU)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=(0,H.ge)(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(ew));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(eb(o.x,e.x,r),eb(o.y,e.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,p,h,f;(0,M.jA)(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,f=this.relativeTargetOrigin,ex(h.x,f.x,s.x,r),ex(h.y,f.y,s.y,r),n&&(c=this.relativeTarget,p=n,U(c.x,p.x)&&U(c.y,p.y))&&(this.isProjectionDirty=!1),n||(n=(0,H.ge)()),N(n,this.relativeTarget)}l&&(this.animationValues=a,function(e,t,n,r,i,a){i?(e.opacity=(0,g.k)(0,void 0!==n.opacity?n.opacity:1,A(r)),e.o
182pacityExit=(0,g.k)(void 0!==t.opacity?t.opacity:1,0,T(r))):a&&(e.opacity=(0,g.k)(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<C;i++){let a=`border${j[i]}Radius`,o=S(t,a),s=S(n,a);(void 0!==o||void 0!==s)&&(o||(o=0),s||(s=0),0===o||0===s||k(o)===k(s)?(e[a]=Math.max((0,g.k)(E(o),E(s),r),0),(w.KN.test(s)||w.KN.test(o))&&(e[a]+="%")):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=(0,g.k)(t.rotate||0,n.rotate||0,r))}(a,i,this.latestValues,r,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,c.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=c.Gt.update(()=>{J.w.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){let r=(0,o.S)(0)?0:(0,a.OQ)(0);return r.start((0,s.f)("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&eS(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||(0,H.ge)();let t=(0,M.CQ)(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=(0,M.CQ)(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}N(t,n),(0,I.Ww)(t,i),(0,M.vb)(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new K),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&ei("z",e,r,this.animationValues);for(let t=0;t<et.length;t++)ei(`rotate${et[t]}`,e,r,this.animationValues),ei(`skew${et[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return en;let r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=(0,v.u)(null==e?void 0:e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;let a=this.getLead();if(!this.projectionDelta||!this.layout||!a.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=(0,v.u)(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!(0,Z.HD)(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let o=a.animationValues||a.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="",i=e.x.translate/t.x,a=e.y.translate/t.y,o=(null==n?void 0:n.z)||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(r+=`scale(${s}, ${l}
182)`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,o),i&&(r.transform=i(o,r.transform));let{x:s,y:l}=this.projectionDelta;for(let e in r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,a.animationValues?r.opacity=a===this?null!==(n=null!==(t=o.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:r.opacity=a===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,Y.H){if(void 0===o[e])continue;let{correct:t,applyTo:n}=Y.H[e],i="none"===r.transform?o[e]:t(o[e],a);if(n){let e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=a===this?(0,v.u)(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(ed),this.root.sharedNodes.clear()}}}function eo(e){e.updateLayout()}function es(e){var t;let n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,a=n.source!==e.layout.source;"size"===i?(0,X.X)(e=>{let r=a?n.measuredBox[e]:n.layoutBox[e],i=(0,M.CQ)(r);r.min=t[e].min,r.max=r.min+i}):eS(i,n.layoutBox,t)&&(0,X.X)(r=>{let i=a?n.measuredBox[r]:n.layoutBox[r],o=(0,M.CQ)(t[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=(0,H.xU)();(0,M.vb)(o,t,n.layoutBox);let s=(0,H.xU)();a?(0,M.vb)(s,e.applyTransform(r,!0),n.measuredBox):(0,M.vb)(s,t,n.layoutBox);let l=!$(o),c=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=(0,H.ge)();(0,M.jA)(o,n.layoutBox,i.layoutBox);let s=(0,H.ge)();(0,M.jA)(s,t,a.layoutBox),W(o,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function el(e){ee&&Q.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ec(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function eu(e){e.clearSnapshot()}function ed(e){e.clearMeasurements()}function ep(e){e.isLayoutDirty=!1}function eh(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ef(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function em(e){e.resolveTargetDelta()}function eg(e){e.calcProjection()}function ey(e){e.resetSkewAndRotation()}function ev(e){e.removeLeadSnapshot()}function eb(e,t,n){e.translate=(0,g.k)(t.translate,0,n),e.scale=(0,g.k)(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ex(e,t,n,r){e.min=(0,g.k)(t.min,n.min,r),e.max=(0,g.k)(t.max,n.max,r)}function ew(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ej={duration:.45,ease:[.4,0,.1,1]},eC=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eE=eC("applewebkit/")&&!eC("chrome/")?Math.round:i.l;function ek(e){e.min=eE(e.min),e.max=eE(e.max)}function eS(e,t,n){return"position"===e||"preserve-aspect"===e&&!(0,M.HQ)(G(t),G(n),.2)}function eA(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}var eT=n(63998);let e_=ea({attachResizeListener:(e,t)=>(0,eT.k)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),eL={current:void 0},eN=ea({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!eL.current){let e=new e_({});e.mount(window),e.setOptions({layoutScroll:!0}),eL.current=e}return eL.current},resetTransform:(e,t)=>
182{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position})},81371:(e,t,n)=>{"use strict";let r;var i=n(65606),a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,c={};((e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})})(c,{HEADERS_VERCEL_CACHE_ITEM_NAME:()=>j,HEADERS_VERCEL_CACHE_STATE:()=>b,HEADERS_VERCEL_CACHE_TAGS:()=>w,HEADERS_VERCEL_REVALIDATE:()=>x,PkgCacheState:()=>v,getCache:()=>g}),e.exports=((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of s(t))l.call(e,i)||i===n||a(e,i,{get:()=>t[i],enumerable:!(r=o(t,i))||r.enumerable});return e})(a({},"__esModule",{value:!0}),c);var u=n(45784),d=n(32489),p=n(50191);let h=e=>{let t=5381;for(let n=0;n<e.length;n++)t=33*t^e.charCodeAt(n);return(t>>>0).toString(16)},f=null,m=null,g=e=>(function(e,t){return{get:n=>e().get(t(n)),set:(n,r,i)=>e().set(t(n),r,i),delete:n=>e().delete(t(n)),expireTag:t=>e().expireTag(t)}})(()=>(0,u.getContext)().cache?(0,u.getContext)().cache:function(e){if(f||(f=ne
182w d.InMemoryCache),"true"===i.env.RUNTIME_CACHE_DISABLE_BUILD_CACHE)return e&&console.log("Using InMemoryCache as build cache is disabled"),f;let{RUNTIME_CACHE_ENDPOINT:t,RUNTIME_CACHE_HEADERS:n}=i.env;if(e&&console.log("Runtime cache environment variables:",{RUNTIME_CACHE_ENDPOINT:t,RUNTIME_CACHE_HEADERS:n}),!t||!n)return y||(console.warn("Runtime Cache unavailable in this environment. Falling back to in-memory cache."),y=!0),f;if(!m){let e={};try{e=JSON.parse(n)}catch(e){return console.error("Failed to parse RUNTIME_CACHE_HEADERS:",e),f}m=new p.BuildCache({endpoint:t,headers:e,onError:e=>console.error(e)})}return m}("true"===i.env.SUSPENSE_CACHE_DEBUG),function(e){let t=e?.keyHashFunction||h;return n=>{if(!e?.namespace)return t(n);let r=e.namespaceSeparator||"$";return`${e.namespace}${r}${t(n)}`}}(e)),y=!1;var v=((r=v||{}).Fresh="fresh",r.Stale="stale",r.Expired="expired",r.NotFound="notFound",r.Error="error",r);let b="x-vercel-cache-state",x="x-vercel-revalidate",w="x-vercel-cache-tags",j="x-vercel-cache-item-name"},81619:(e,t,n)=>{"use strict";n.d(t,{D:()=>o});var r=n(27739),i=n(26044);let a={...n(16763).W,color:r.y,backgroundColor:r.y,outlineColor:r.y,fill:r.y,stroke:r.y,borderColor:r.y,borderTopColor:r.y,borderRightColor:r.y,borderBottomColor:r.y,borderLeftColor:r.y,filter:i.p,WebkitFilter:i.p},o=e=>a[e]},82037:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var r=n(73884),i=n(23033);let a={some:0,all:1};function o(e,{root:t,margin:n,amount:o,once:s=!1}={}){let[l,c]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(!e.current||s&&l)return;let r={root:t&&t.current||void 0,margin:n,amount:o};return function(e,t,{root:n,margin:r,amount:o="some"}={}){let s=(0,i.KJ)(e),l=new WeakMap,c=new IntersectionObserver(e=>{e.forEach(e=>{let n=l.get(e.target);if(!!n!==e.isIntersecting){if(e.isIntersecting){let n=t(e);"function"==typeof n?l.set(e.target,n):c.unobserve(e.target)}else"function"==typeof n&&(n(e),l.delete(e.target))}})},{root:n,rootMargin:r,threshold:"number"==typeof o?o:a[o]});return s.forEach(e=>c.observe(e)),()=>c.disconnect()}(e.current,()=>(c(!0),s?void 0:()=>c(!1)),r)},[t,e,n,s,o]),l}},82392:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});let r="data-"+(0,n(48062).I)("framerAppearId")},82713:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Heading1","definitions":{"Heading1":{"type":"object","properties":{"nodeType":{"type":"string","enum":["heading-1"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},82777:(e,t,n)=>{"use strict";function r(e,t,n,r){let i;let a=e.length,o=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);o<r.length;)(i=r.slice(o,o+1e4)).unshift(t,0),e.splice(...i),o+=1e4,t+=1e4}function i(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:()=>i,m:()=>r})},82944:(e,t,n)=>{"use strict";n.d(t,{X4:()=>a,ai:()=>i,hs:()=>o});var r=n(42464);let i={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},a={...i,transform:e=>(0,r.q)(0,1,e)},o={...i,default:1}},83041:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});let r=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},83953:(e,t,n)=>{"use strict";function r(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}n.d(t,{X:()=>r})},84265:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var r=n(58775),i=n(57608),a=n(9483),o=n(25574),s=n(4853),l=n(5793),c=n(7411),u=n(13073),d=n(73884);
182let p=function(e){let{faqs:t,isInline:n=!1,showFirstItem:p,hasStructuredData:h}=e,[f,m]=(0,d.useState)(void 0===p?0:p?0:-1),g=t[0].fields?"rich-text":"standard";return(0,r.jsx)(l.F,{features:c.l,children:(0,r.jsxs)("div",{className:`${n?"not-prose !my-10 md:!my-[3.75rem]":""}`,children:[h&&t.length>0&&"standard"===g&&(0,r.jsx)(s.Q2,{mainEntity:t.map(e=>({questionName:e.question,acceptedAnswerText:(0,o.l)(e.answer)}))}),h&&t.length>0&&"rich-text"===g&&(0,r.jsx)(s.Q2,{mainEntity:t.map(e=>({questionName:e.fields.question,acceptedAnswerText:(0,o.l)(e.fields.answer)}))}),(0,r.jsx)("ul",{className:"faqs-list space-y-5 md:space-y-6",children:t?.map((e,t)=>{let n=e?.fields?.question??e?.question,o=e?.fields?.answer??e?.answer;return r.jsxs("li",{className:"overflow-hidden rounded-lg border border-grey-pastel !p-0",children:[r.jsxs("button",{type:"button","aria-label":o,className:"faq-button flex w-full items-center justify-between space-x-4 p-4 text-left md:p-6",onClick:()=>m(f===t?-1:t),children:[r.jsx("span",{className:"text-h7",dangerouslySetInnerHTML:{__html:n}}),r.jsx("div",{className:`h-3 w-[.6rem] shrink-0 transition-transform duration-200 ${f===t?"rotate-180":""}`,children:r.jsx(a.yQ,{})})]}),r.jsx(u.m.div,{initial:{height:0,opacity:0,marginTop:0},animate:{height:f===t?"auto":0,opacity:f===t?1:0},transition:{duration:.3,ease:"easeInOut"},"aria-hidden":f!==t,tabIndex:-1,children:o&&r.jsx(i.A,{content:o,className:"prose-opacity-80 prose-16 prose space-y-3 px-4 pb-4 md:space-y-5 md:px-6 md:pb-6"})},"accordion-item-content")]},t)})})]})})}},84409:(e,t,n)=>{"use strict";var r,i,a=n(97346);t.BLOCKS=void 0,function(e){e.DOCUMENT="document",e.PARAGRAPH="paragraph",e.HEADING_1="heading-1",e.HEADING_2="heading-2",e.HEADING_3="heading-3",e.HEADING_4="heading-4",e.HEADING_5="heading-5",e.HEADING_6="heading-6",e.OL_LIST="ordered-list",e.UL_LIST="unordered-list",e.LIST_ITEM="list-item",e.HR="hr",e.QUOTE="blockquote",e.EMBEDDED_ENTRY="embedded-entry-block",e.EMBEDDED_ASSET="embedded-asset-block",e.EMBEDDED_RESOURCE="embedded-resource-block",e.TABLE="table",e.TABLE_ROW="table-row",e.TABLE_CELL="table-cell",e.TABLE_HEADER_CELL="table-header-cell"}(t.BLOCKS||(t.BLOCKS={})),t.INLINES=void 0,function(e){e.ASSET_HYPERLINK="asset-hyperlink",e.EMBEDDED_ENTRY="embedded-entry-inline",e.EMBEDDED_RESOURCE="embedded-resource-inline",e.ENTRY_HYPERLINK="entry-hyperlink",e.HYPERLINK="hyperlink",e.RESOURCE_HYPERLINK="resource-hyperlink"}(t.INLINES||(t.INLINES={})),t.MARKS=void 0,function(e){e.BOLD="bold",e.ITALIC="italic",e.UNDERLINE="underline",e.CODE="code",e.SUPERSCRIPT="superscript",e.SUBSCRIPT="subscript",e.STRIKETHROUGH="strikethrough"}(t.MARKS||(t.MARKS={}));var o=function(e,t){return(o=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function s(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function l(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var c=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE,t.BLOCKS.TABLE],u=[t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],d=[t.BLOCKS.TABLE,t.BLOCKS.TABLE_ROW,t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],p=[t.BLOCKS.HR,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.BLOCKS.EMBEDDED_RESOURCE],h=((r={})[t.BLOCKS.OL_LIST]=[t.BLOCKS.LIST_ITEM],r[t.BLOCKS.UL_LIST]=[t.BLOCKS.LIST_ITEM],r[t.BLOCKS.LIST_ITEM]=u,r[t.BLOCKS.QUOTE]=[t.BLOCKS.PARAGRAPH],r[t.BLOCKS.TABLE]=[t.BLOCKS.TABLE_ROW],r[t.BLOCKS.TABLE_ROW]=[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],r[t.BLOCKS.TABLE_CELL]=[t.BLOCKS.PARAGRAPH,t.BLOCKS.UL_LIST,t.BLOCKS.OL_LIST],r[t.BLOCKS.TABLE_HEADER_CELL]=[t.BLOCKS.PARAGRAPH],r),f=[t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6],m=l([t.BLOCKS.PARAGRAPH],f,!0),g=[t.BLOCKS.DOCUMENT,t.BLOCKS.PARAGRAPH,t.BLOCKS.HEADING_1,t.BLOCKS.HEADING_2,t.BLOCKS.HEADING_3,t.BLOCKS.HEADING_4,t.BLOCKS.HEADING_5,t.BLOCKS.HEADING_6,t.BLOCKS.OL_LIST,t.BLOCKS.UL_LIST,t.BLOCKS.LIST_ITEM,t.BLOCKS.HR,t.BLOCKS.QUOTE,t.BLOCKS.EMBEDDED_ENTRY,t.BLOCKS.EMBEDDED_ASSET,t.INLINES.HYPERLINK,t.INLINES.ENTRY_HYPERLINK,t.INLINES.ASSET_HYPERLINK,t.INLINES.EMBEDDED_ENTRY,"text"],y=[t.MARKS.BOLD,t.MARKS.CODE,t.MARKS.ITALIC,t.MARKS.UNDERLINE],v={nodeType:t.BLOCKS.DOCUMENT,data:{},content:[{nodeType:t.BLOCKS.PARAGRAPH,data:{},content:[{nodeType:"text",value:"",marks:[],data:{}}]}]};function b(e,t){for(var n=0,r=Object.keys(e);n<r.length;n++)if(t===e[r[n]])return!0;return!1}var x=Object.freeze({__proto__:null,isBlock:function(e){return b(t.BLOCKS,e.nodeType)},isInline:function(e){return b(t.INLINES,e.nodeType)},isText:function(e){return"text"===e.nodeType}}),w=function(e){var t=e.path,n=e.property,r=e.typeName,i=e.value;return{details:'The type of "'.concat(n,'" is incorrect, expected type: ').concat(r),name:"type",path:t.toArray(),type:r,value:i}},j=function(e){var t=e.min,n=e.value;return{name:"size",min:t,path:e.path.toArray(),details:"Size must be at least ".concat(t),value:n}},C=function(e){var t=e.max,n=e.value;return{name:"size",max:t,path:e.path.toArray(),details:"Size must be at most ".concat(t),value:n}},E=function(e){var t=e.expected,n=e.value,r=e.path;return{details:"Value must be one of expected values",name:"in",expected:l([],t,!0).sort(),path:r.toArray(),value:n}},k=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is not expected'),name:"unexpected",path:n.toArray()}},S=function(e){var t=e.property,n=e.path;return{details:'The property "'.concat(t,'" is required here'),name:"required",path:n.toArray()}},A=function(){function e(e,t){var n=this;this.obj=e,this.path=t,this._errors=[],this.catch=function(){for(var e,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];(e=n._errors).push.apply(e,t)},this.exists=function(e){return e in n.obj||(n.catch(S({property:e,path:n.path.of(e)})),!1)},this.object=function(e){var t,r=e?n.obj[e]:n.obj;if(e&&!n.exists(e))return!1;if(a(r))return!0;var i=e?n.path.of(e):n.path,o=null!==(t=null!=e?e:n.path.last())&&void 0!==t?t:"value";return n.catch(w({typeName:"Object",property:o,path:i,value:r})),!1},this.string=function(e){var t=n.obj[e];return(!e||!!n.exists(e))&&("string"==typeof t||(n.catch(w({typeName:"String",property:e,path:n.path.of(e),value:t})),!1))},this.number=function(e,t){var r=n.obj[e];return!!t&&!(e in n.obj)||!!n.exists(e)&&(!("number"!=typeof r||Number.isNaN(r))||(n.catch(w({typeName:"Number",property:e,path:n.path.of(e),value:r})),!1))},this.array=function(e){var t=n.obj[e];return(!e||!!n.exists(e))&&(!!Array.isArray(t)||(n.catch(w({typeName:"Array",property:e,path:n.path.of(e),value:t})),!1))},this.enum=function(e,t){var r=n.obj[e];return!!("string"==typeof r&&t.includes(r))||(n.catch(E({expected:t,value:r,path:n.path.of(e)})),!1)},this.empty=function(e){if(!n.array(e))return!1;var t=n.obj[e];return 0===t.length||(n.catch(C({max:0,value:t,path:n.path.of(e)})),!1)},this.minLength=function(e,t){if(!n.array(e))return!1;var r=n.obj[e];return r.length>=t||(n.catch(j({min:t,value:r,path:n.path.of(e)})),!1)},this.noAdditionalProperties=function(e){var t=Object.keys(n.obj).sort().filter(function(t){return!e.includes(t)});return t.forEach(function(e){return n.catch(k({property:e,path:n.path.of(e)}))}),0===t.length},this.each=function(e,t){if(n.array(e)){var r=n.obj[e],i=!1;
182r.forEach(function(r,a){if(!i){var o=t(r,n.path.of(e).of(a));o.length>0&&(i=!0),n.catch.apply(n,o)}})}}}return Object.defineProperty(e.prototype,"errors",{get:function(){var e=this,t=function(e){return JSON.stringify({details:e.details,path:e.path})};return this._errors.filter(function(n,r){return e._errors.findIndex(function(e){return t(n)===t(e)})===r})},enumerable:!1,configurable:!0}),e}(),T=[],_=function(){function e(e,t){this.contentRule=e,this.validateData=t}return e.prototype.assert=function(e,t){var n,r,i=new A(e,t);if(!i.object())return i.errors;i.noAdditionalProperties(["nodeType","data","content"]);var a=Array.isArray(this.contentRule)?{nodeTypes:this.contentRule}:this.contentRule(e,t),o=a.nodeTypes,s=a.min,l=void 0===s?0:s;if(0===o.length&&l>0)throw Error("Invalid content rule. Cannot have enforce a 'min' of ".concat(l," with no nodeTypes"));if(i.minLength("content",l),0===o.length?i.empty("content"):i.each("content",function(e,t){var n=new A(e,t);return n.object()&&n.enum("nodeType",o),n.errors}),i.object("data")){var c=null!==(r=null===(n=this.validateData)||void 0===n?void 0:n.call(this,e.data,t.of("data")))&&void 0!==r?r:[];i.catch.apply(i,c)}return i.errors},e}(),L=function(e){function t(t,n){var r=e.call(this,n,function(e,t){return r.assertLink(e,t)})||this;return r.linkType=t,r.assertLink=function(e,t){var n=new A(e,t);if(n.object("target")){var i=new A(e.target.sys,t.of("target").of("sys"));i.object()&&(i.enum("type",[r.type]),i.enum("linkType",[r.linkType]),"Link"===r.type?(i.string("id"),i.noAdditionalProperties(["type","linkType","id"])):"ResourceLink"===r.type&&(i.string("urn"),i.noAdditionalProperties(["type","linkType","urn"]))),n.catch.apply(n,i.errors)}return n.noAdditionalProperties(["target"]),n.errors},r.type=r.linkType.startsWith("Contentful:")?"ResourceLink":"Link",r}return s(t,e),t}(_),N=function(e){function t(){var t=e.call(this,["text"],function(e,n){return t.assertLink(e,n)})||this;return t.assertLink=function(e,t){var n=new A(e,t);return n.string("uri"),n.noAdditionalProperties(["uri"]),n.errors},t}return s(t,e),t}(_),P=function(e,t){return new _(e,t)},I=function(e,t){return new L(e,t)},M=function e(t){void 0===t&&(t=[]);var n=this;this.path=t,this.of=function(t){return new e(l(l([],n.path,!0),[t],!1))},this.isRoot=function(){return 0===n.path.length},this.last=function(){return n.path[n.path.length-1]},this.toArray=function(){return n.path}},O=P(l(l([],Object.values(t.INLINES),!0),["text"],!1).sort()),R=P([t.BLOCKS.LIST_ITEM]),D=I("Entry",T),B=P(function(){return{nodeTypes:[t.BLOCKS.PARAGRAPH],min:1}},function(e,t){var n=new A(e,t);return n.noAdditionalProperties(["colspan","rowspan"]),n.number("colspan",!0),n.number("rowspan",!0),n.errors}),F=((i={})[t.BLOCKS.DOCUMENT]=P(c),i[t.BLOCKS.PARAGRAPH]=O,i[t.BLOCKS.HEADING_1]=O,i[t.BLOCKS.HEADING_2]=O,i[t.BLOCKS.HEADING_3]=O,i[t.BLOCKS.HEADING_4]=O,i[t.BLOCKS.HEADING_5]=O,i[t.BLOCKS.HEADING_6]=O,i[t.BLOCKS.QUOTE]=P(h[t.BLOCKS.QUOTE]),i[t.BLOCKS.EMBEDDED_ENTRY]=D,i[t.BLOCKS.EMBEDDED_ASSET]=I("Asset",T),i[t.BLOCKS.EMBEDDED_RESOURCE]=I("Contentful:Entry",T),i[t.BLOCKS.HR]=P(T),i[t.BLOCKS.OL_LIST]=R,i[t.BLOCKS.UL_LIST]=R,i[t.BLOCKS.LIST_ITEM]=P(l([],u,!0).sort()),i[t.BLOCKS.TABLE]=P(function(){return{nodeTypes:[t.BLOCKS.TABLE_ROW],min:1}}),i[t.BLOCKS.TABLE_ROW]=P(function(){return{nodeTypes:[t.BLOCKS.TABLE_CELL,t.BLOCKS.TABLE_HEADER_CELL],min:1}}),i[t.BLOCKS.TABLE_CELL]=B,i[t.BLOCKS.TABLE_HEADER_CELL]=B,i[t.INLINES.HYPERLINK]=new N,i[t.INLINES.EMBEDDED_ENTRY]=D,i[t.INLINES.EMBEDDED_RESOURCE]=I("Contentful:Entry",T),i[t.INLINES.ENTRY_HYPERLINK]=I("Entry",["text"]),i[t.INLINES.ASSET_HYPERLINK]=I("Asset",["text"]),i[t.INLINES.RESOURCE_HYPERLINK]=I("Contentful:Entry",["text"]),i);t.CONTAINERS=h,t.EMPTY_DOCUMENT=v,t.HEADINGS=f,t.LIST_ITEM_BLOCKS=u,t.TABLE_BLOCKS=d,t.TEXT_CONTAINERS=m,t.TOP_LEVEL_BLOCKS=c,t.V1_MARKS=y,t.V1_NODE_TYPES=g,t.VOID_BLOCKS=p,t.helpers=x,t.validateRichTextDocument=function(e){var n=new M,r=new A(e,n);return(r.object()&&r.enum("nodeType",[t.BLOCKS.DOCUMENT]),r.errors.length>0)?r.errors:function e(t,n){if("text"===t.nodeType){var r;
182return(r=new A(t,n)).object()&&(r.noAdditionalProperties(["nodeType","data","value","marks"]),r.object("data"),r.each("marks",function(e,t){var n=new A(e,t);return n.object()&&n.string("type"),n.errors}),r.string("value")),r.errors}var i=F[t.nodeType].assert(t,n);if(i.length>0)return i;var a=new A(t,n);return a.each("content",function(t,n){return e(t,n)}),a.errors}(e,n)}},84640:e=>{"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,a={};function o(e,t){if(e?.request?.headers){if(!(e.request.headers instanceof Headers))throw Error("request.headers must be an instance of Headers");let n=[];for(let[r,i]of e.request.headers)t.set("x-middleware-request-"+r,i),n.push(r);t.set("x-middleware-override-headers",n.join(","))}}function s(e,t){let n=new Headers(t?.headers??{});return n.set("x-middleware-rewrite",String(e)),o(t,n),new Response(null,{...t,headers:n})}function l(e){let t=new Headers(e?.headers??{});return t.set("x-middleware-next","1"),o(e,t),new Response(null,{...e,headers:t})}((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(a,{next:()=>l,rewrite:()=>s}),e.exports=((e,a,o,s)=>{if(a&&"object"==typeof a||"function"==typeof a)for(let l of r(a))i.call(e,l)||l===o||t(e,l,{get:()=>a[l],enumerable:!(s=n(a,l))||s.enumerable});return e})(t({},"__esModule",{value:!0}),a)},84868:(e,t,n)=>{"use strict";n.d(t,{po:()=>a,tn:()=>s,yT:()=>o});var r=n(83041),i=n(92946);let a=e=>1-Math.sin(Math.acos(e)),o=(0,i.G)(a),s=(0,r.V)(a)},85152:(e,t,n)=>{var r={"./asset-hyperlink.json":23502,"./blockquote.json":97784,"./document.json":94634,"./embedded-asset-block.json":96188,"./embedded-entry-block.json":74160,"./embedded-entry-inline.json":33290,"./embedded-resource-block.json":97904,"./embedded-resource-inline.json":27242,"./entry-hyperlink.json":40830,"./heading-1.json":82713,"./heading-2.json":33036,"./heading-3.json":58399,"./heading-4.json":21634,"./heading-5.json":18317,"./heading-6.json":62800,"./hr.json":28381,"./hyperlink.json":61203,"./list-item.json":34421,"./ordered-list.json":13867,"./paragraph.json":86311,"./resource-hyperlink.json":7272,"./table-cell.json":85156,"./table-header-cell.json":28132,"./table-row.json":53388,"./table.json":45825,"./text.json":54084,"./unordered-list.json":51464};function i(e){return n(a(e))}function a(e){if(!n.o(r,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}i.keys=function(){return Object.keys(r)},i.resolve=a,e.exports=i,i.id=85152},85156:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/TableCell","definitions":{"TableCell":{"type":"object","properties":{"nodeType":{"enum":["table-cell","table-header-cell"],"type":"string"},"data":{"type":"object","properties":{"colspan":{"type":"number"},"rowspan":{"type":"number"}},"additionalProperties":false},"content":{"minItems":1,"type":"array","items":{"$ref":"#/definitions/Paragraph"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')}
182,85229:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var r=n(58775),i=n(20120),a=n(69373),o=n(30200),s=n(9483),l=n(85742),c=n(73884),u=n.n(c),d=n(8338),p=n(98722),h=n.n(p),f=n(34164);let m=(e,t,n=0)=>t?{animate:{transform:e?"translateX(0px) translateY(0px) scale(1)":"translateX(-10px) translateY(-10px) scale(1)",opacity:e?1:0},transition:{type:"spring",stiffness:150,damping:20,delay:n/15+.2,opacity:{duration:.6,delay:n/15+.2}}}:{animate:{},transition:{}},g=e=>1===e?"lg:w-[52rem] lg:grid-cols-2":2===e?"lg:w-[58rem] lg:grid-cols-3 xl:w-[60rem]":0===e?"lg:w-[30rem] lg:grid-cols-1":"lg:w-[62rem] lg:grid-cols-4 xl:w-[65rem]",y=(e,t)=>1===e?"md:px-5 lg:pl-2 lg:pr-5 lg:pr-6":2!==e||t?2===e?"md:grid-cols-7 lg:pr-6 lg:col-span-2":"md:grid-cols-7 md:pl-2 lg:col-span-2":"md:grid-cols-6 lg:pr-6 lg:col-span-2",v=u().memo(function({platformSubmenu:e}){let{featuredLinkHeading:t,featuredLinkDescription:n,featuredLinkThumbnail:i,featuredLinkNavItem:a}=e;return(0,r.jsxs)("div",{className:"group relative max-lg:flex max-lg:flex-col-reverse lg:p-3",children:[(0,r.jsx)("div",{className:"absolute inset-0",children:(0,r.jsx)("div",{className:"absolute inset-0 !origin-bottom-left scale-0 transform rounded-lg bg-paleGrey opacity-0 transition duration-500 group-hover:scale-100 group-hover:opacity-100"})}),i?.fields?.file?.url?.length>0&&(0,r.jsx)("div",{className:"relative aspect-[353/163] w-full overflow-hidden rounded-[0.375rem] lg:mb-6 lg:aspect-[107/72]",children:(0,r.jsx)(o.A,{image:i,alt:"",className:"h-full w-full object-cover max-lg:object-left-top"})}),(0,r.jsx)(h(),{href:a?.externalUrl||a?.pageLink||"#",className:"heading-link",children:(0,r.jsxs)("div",{className:"relative max-lg:mb-5 max-lg:pr-10",children:[(0,r.jsx)("span",{className:"submenu-card-heading mb-1 max-lg:max-w-[16.25rem] lg:mb-2",dangerouslySetInnerHTML:{__html:t}}),(0,r.jsx)("p",{className:"text-14 opacity-[.65] max-lg:max-w-[16.25rem] lg:mb-4",dangerouslySetInnerHTML:{__html:n}}),(0,r.jsxs)("div",{className:"hidden items-center space-x-2 pr-1 text-black lg:inline-flex",children:[(0,r.jsx)("div",{className:"w-[0.625rem] transition duration-200 ease-in-out group-hover:text-coral-shade","aria-hidden":!0,children:(0,r.jsx)(s.B,{})}),(0,r.jsx)("span",{className:"header-ul-link border-b border-black pb-1 transition-colors duration-200 ease-in-out group-hover:border-coral-shade group-hover:text-coral-shade",dangerouslySetInnerHTML:{__html:a?.title}})]}),(0,r.jsx)("div",{className:"pointer-events-none absolute inset-y-0 right-0 my-auto w-4 text-black lg:hidden","aria-hidden":!0,children:(0,r.jsx)(s.c_,{})})]})})]})}),b=u().memo(function({platformSubmenu:e,isInView:t,animate:n=!0}){let[o,s]=(0,c.useState)(null),[u,p]=(0,c.useState)(!0),[b,x]=(0,c.useState)(null),[w,j]=(0,c.useState)(!0),C=(0,c.useRef)(null),E=()=>{p(!0)},k=()=>{p(!1),C.current=setTimeout(()=>{s(null)},300)},S=e=>{C.current&&clearTimeout(C.current),s(e)},A=e=>{C.current&&clearTimeout(C.current),x(e)},T=(0,c.useMemo)(()=>e?.menus?.filter(e=>!1===e.hideForLocale)||[],[e?.menus]),_=!e?.iconMenu?.hideForLocale&&e?.iconMenu?.menu?.length>0,L=T.length+(_?1:0),N=e?.featuredLinkPlacement==="block",{animate:P,transition:I}=m(t,n),M=!!e?.featuredMenu;return N?(0,r.jsxs)(d.P.menu,{className:"max-lg:border-grey-pale grid overflow-hidden max-lg:border-t max-lg:pt-[1.75rem] lg:w-full lg:grid-cols-1 lg:gap-x-4",children:[(0,r.jsxs)("div",{className:"grid gap-y-6 pb-6 md:grid-cols-3 md:gap-x-4 lg:col-span-full lg:gap-x-6 lg:p-6",children:[_&&(0,r.jsxs)("div",{children:[e?.iconMenu?.heading&&(0,r.jsx)(d.P.div,{className:"border-grey-pastel max-lg:rounded-lg",animate:m(t,n,1).animate,transition:m(t,n,1).transition,children:(0,r.jsx)("span",{className:"submenu-heading mb-2 block opacity-[.65] lg:mb-3 lg:mt-2 lg:pl-[0.625rem]",dangerouslySetInnerHTML:{__html:e?.iconMenu?.heading}}
182)},"column-menu--1"),(0,r.jsx)("ul",{className:"flex-col space-y-3",onMouseEnter:E,onMouseLeave:k,children:e?.iconMenu?.menu?.map((e,a)=>{let{animate:s,transition:l}=m(t,n,a+1);return r.jsx(d.P.li,{animate:s,transition:l,className:"space-y-3 rounded-lg",children:r.jsx(i.A,{layout:N?"bordered":"default",item:e,onMouseEnter:()=>S(a),containerHovered:u,active:o,i:a})},`platform-item-${a}`)})})]}),T.length>0&&T[0]&&(0,r.jsxs)(d.P.div,{className:"",animate:m(t,n,1).animate,transition:m(t,n,1).transition,children:[(0,r.jsx)("span",{className:"submenu-heading mb-2 block opacity-[.65] lg:mb-3 lg:mt-2 lg:pl-[0.625rem]",dangerouslySetInnerHTML:{__html:T[0]?.heading}}),(0,r.jsx)(a.A,{menu:T[0]?.menu})]},"column-menu-0"),_&&T.length>1&&!T[1]?.hideForLocale&&(0,r.jsx)(d.P.div,{animate:m(t,n,(T.length||1)+2).animate,transition:m(t,n,(T.length||1)+2).transition,children:(0,r.jsxs)("div",{className:"relative md:h-full",children:[(0,r.jsx)("span",{className:"submenu-heading mb-2 block opacity-[.65] lg:mb-3 lg:mt-2 lg:pl-[0.625rem]",dangerouslySetInnerHTML:{__html:T[1]?.heading}}),(0,r.jsx)(a.A,{menu:T[1]?.menu})]})})]}),(0,r.jsx)(d.P.div,{className:"relative transition-colors delay-200 duration-200 lg:col-span-full lg:px-6",animate:m(t,n,4).animate,transition:m(t,n,4).transition,children:(0,r.jsx)("div",{className:"border-t border-grey-pastel py-6",children:(0,r.jsx)(i.A,{layout:N?"bordered":"default",item:e?.submenuFooterItem,onMouseEnter:()=>{},containerHovered:!1,active:0,i:-1,maxWidth:"max-w-full"})})}),e?.textLinks?.length>0?(0,r.jsx)(d.P.div,{animate:P,transition:I,className:"flex items-center space-x-6 pb-6 pt-0 lg:px-6",children:e.textLinks.map((e,t)=>(0,r.jsx)(h(),{href:e?.externalUrl||e?.pageLink||"#",className:"",children:(0,r.jsx)(l.Y,{link:e,fontSize:"text-12",type:"Text Link â Black"})},`text-link-${t}`))}):null]}):(0,r.jsxs)(d.P.menu,{className:(0,f.A)("max-lg:border-grey-pale grid overflow-hidden max-lg:border-t max-lg:pt-[1.75rem] lg:gap-x-4",g(L)),children:[M&&(0,r.jsxs)(d.P.div,{className:`relative transition-colors delay-200 duration-200 lg:col-span-1 lg:border-r lg:border-grey-pastel lg:p-3 ${t?"":"!border-transparent"}`,animate:P,transition:I,children:[(0,r.jsx)("div",{className:"my-3",children:(0,r.jsx)("span",{className:"submenu-heading mb-2 opacity-[.65] lg:mb-4 lg:mt-2 lg:pl-[0.625rem]",dangerouslySetInnerHTML:{__html:e?.featuredMenu?.heading}}
182)}),e?.featuredMenu?.menu?.length>0&&_&&(0,r.jsx)("ul",{className:"flex-col space-y-3 md:col-span-4",onMouseEnter:()=>{j(!0)},onMouseLeave:()=>{j(!1),C.current=setTimeout(()=>{x(null)},300)},children:e?.featuredMenu?.menu?.map((e,a)=>{let{animate:o,transition:s}=m(t,n,a+1);return r.jsx(d.P.li,{animate:o,transition:s,className:"relative space-y-3 rounded-lg max-lg:border max-lg:border-grey-pastel max-lg:p-5 max-lg:pb-4",children:r.jsx(i.A,{item:e,onMouseEnter:()=>A(a),containerHovered:w,active:b,i:a})},`platform-featured-item-${a}`)})})]}),e?.featuredLinkHeading&&e?.featuredLinkDescription&&!M&&(0,r.jsx)(d.P.div,{className:`relative transition-colors delay-200 duration-200 lg:col-span-1 lg:border-r lg:border-grey-pastel lg:p-3 ${t?"":"!border-transparent"}`,animate:P,transition:I,children:(0,r.jsx)(v,{platformSubmenu:e})}),0!==L&&(0,r.jsxs)("div",{className:(0,f.A)("grid gap-y-6 py-6 md:gap-x-[1.75rem]",y(L,_)),children:[e?.iconMenu?.menu?.length>0&&_&&(0,r.jsx)("ul",{className:"flex-col space-y-3 md:col-span-4",onMouseEnter:E,onMouseLeave:k,children:e?.iconMenu?.menu?.map((e,a)=>{let{animate:s,transition:l}=m(t,n,a+1);return r.jsx(d.P.li,{animate:s,transition:l,className:"relative space-y-3 rounded-lg max-lg:border max-lg:border-grey-pastel max-lg:p-5 max-lg:pb-4",children:r.jsx(i.A,{item:e,onMouseEnter:()=>S(a),containerHovered:u,active:o,i:a})},`platform-item-${a}`)})}),T.length>0&&T[0]&&T.slice(0,_?1:2).map((e,i)=>{let{animate:o,transition:s}=m(t,n,i+1);return(0,r.jsxs)(d.P.div,{className:"border-grey-pastel max-lg:rounded-lg max-lg:border max-lg:p-5 md:col-span-3",animate:o,transition:s,children:[(0,r.jsx)("span",{className:"submenu-heading mb-2 opacity-[.65] lg:mb-4 lg:mt-2 lg:pl-[0.625rem]",dangerouslySetInnerHTML:{__html:e?.heading}}
182),(0,r.jsx)(a.A,{menu:e?.menu})]},`column-menu-${i}`)})]}),_&&T.length>1&&!T[1]?.hideForLocale&&(0,r.jsx)(d.P.div,{className:"rounded-lg bg-paleGrey p-5 lg:rounded-l-none lg:p-6",animate:m(t,n,(T.length||1)+2).animate,transition:m(t,n,(T.length||1)+2).transition,children:(0,r.jsxs)("div",{className:"relative md:h-full",children:[(0,r.jsx)("span",{className:"submenu-heading mb-2 opacity-[.65] lg:mb-4 lg:mt-2 lg:pl-[0.625rem]",dangerouslySetInnerHTML:{__html:T[1]?.heading}}),(0,r.jsx)(a.A,{menu:T[1]?.menu})]})})]})})},85742:(e,t,n)=>{"use strict";n.d(t,{$:()=>l,Y:()=>c});var r=n(58775),i=n(9483),a=n(34164);n(73884);var o=n(58638),s=n(93627);function l({title:e,type:t,size:n="medium",className:i=""}){let{t:l}=(0,s.Bd)();t?.includes("Solid");let c=[i];if((0,o.I)(),!e)return null;switch(t){case"Button Solid â Deep Grey":c.push("border border-transparent bg-grey-deep text-white hover:bg-coral-dark");break;case"Button Solid â Deep Midnight":c.push("border border-transparent bg-lilac-deep text-white hover:bg-lilac-shade");break;case"Button Solid â Dark Red":c.push("border border-transparent bg-coral-dark text-white hover:bg-coral-shade");break;case"Button Solid â Shade Coral":c.push("border border-transparent bg-coral-shade text-white hover:bg-coral-dark");break;case"Button Solid â White":c.push("border border-transparent bg-white text-black hover:border-white hover:bg-transparent hover:text-white");break;case"Button Solid â Lime":c.push("border border-transparent bg-lime-primary text-black hover:bg-lime-dark hover:text-white");break;case"Button Outline â Black":c.push("border border-black text-black hover:bg-black hover:text-white");break;case"Button Outline â Deep Midnight":c.push("border border-lilac-deep text-lilac-deep hover:bg-lilac-deep hover:text-white");break;case"Button Outline â Deep Burgundy":c.push("border border-coral-deep text-coral-deep hover:bg-coral-deep hover:text-white");break;case"Button Outline â White":c.push("border border-white/40 text-white hover:bg-white hover:border-white hover:text-black");break;default:c.push("bg-coral-shade text-white hover:bg-coral-dark")}return(0,r.jsxs)("div",{className:(0,a.A)("button group relative inline-flex justify-center overflow-hidden whitespace-nowrap rounded-[8rem] px-4 py-[0.6875rem] text-center transition-[background-color,color,opacity,border] duration-300 md:px-5","small"===n?"md:py-[.6875rem]":"md:py-[.8125rem]",c?.join(" ")),children:[(0,r.jsx)("span",{className:"button-type transition-transform duration-200 group-hover:-translate-y-10",dangerouslySetInnerHTML:{__html:l(`${e}`)}}),(0,r.jsx)("div",{className:"absolute inset-0 flex translate-y-full transform items-center justify-center transition-transform duration-200 group-hover:translate-y-0","aria-hidden":"true",children:(0,r.jsx)("span",{className:"button-type",dangerouslySetInnerHTML:{__html:l(`${e}`)}})})]})}function c({className:e="",link:t,children:n,type:o,fontSize:l="text-16"}){let{t:c}=(0,s.Bd)(),u=[""],d=[""],p=[""];return"Text Link â Black"===o?(u.push("text-black hover:text-coral-shade group-hover:text-coral-shade"),d.push("bg-black/10"),p.push("bg-coral-shade")):"Text Link â White"===o?(u.push("text-white "),d.push("bg-white/20"),p.push("bg-white")):(u.push("hover:text-current/10 group-hover:text-current/10"),d.push("bg-current opacity-20"),p.push("bg-current")),(0,r.jsxs)("div",{className:(0,a.A)("group inline-flex items-start gap-x-1.5 transition-colors duration-300",u?.join(" "),e),children:[(0,r.jsx)("div",{className:`w-2.5 shrink-0 ${"text-12"===l?"pt-0":"pt-1"}`,children:(0,r.jsx)(i.B,{})}),(0,r.jsxs)("div",{className:`relative pb-2 font-medium md:!leading-none md:underline-offset-[6px] ${l||"text-16"}`,children:[t?.title&&(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:c(`${t?.title}`)}}),!t?.title&&n&&n,(0,r.jsxs)("div",{className:(0,a.A)("absolute bottom-0 left-0 h-[2px] w-full overflow-hidden"),children:[(0,r.jsx)("div",{className:(0,a.A)("absolute inset-0 overflow-hidden",d?.join(" "))}),(0,r.jsx)("span",{className:(0,a.A)("absolute left-0 right-0 top-0 h-[2px] -translate-x-full transform transition-transform duration-300 ease-in-out group-hover:translate-x-0",p?.join(" "))})]})]})]})}},85804:()=>{}
182,86188:(e,t,n)=>{"use strict";n.d(t,{Wy:()=>i,YZ:()=>r,hq:()=>o,tQ:()=>a});let r=["en","fr-fr","de-de","es-es","it-it","ja-ja"],i={page:"Page",post:"Blog Post",listingPage:"Listing Page",guide:"Guide",ebooksReports:"Ebooks & Reports",eventsWebinars:"Events & Webinars",partnerStory:"Partner Story",surveyTemplate:"Survey Template",productUpdate:"Product Update",customer:"Customer",postTypePress:"Press & Media",postTypeNews:"News"},a=[{id:"7yyrcVmK2Vb2ejdUDXtnFD",name:"en"},{id:"7z31t1FpiVr9JR2KnUwYKw",name:"fr"},{id:"5WhsEvTZYBlFvreyVoo1ik",name:"it"},{id:"3HwnjrF6FFDxIeygDWii9A",name:"de"},{id:"3R0b0b7SjNBRp1bjioTWO0",name:"es"},{id:"5bViQ1PD3w2rIknzsiuXQ2",name:"ja"}],o=a.reduce((e,t)=>({...e,[t.name]:t.id}),{});Object.keys(i)},86297:(e,t,n)=>{"use strict";n.d(t,{N:()=>y});var r=n(58775),i=n(73884),a=n(29473),o=n(28601),s=n(86719),l=n(35446);class c extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){let n=(0,i.useId)(),a=(0,i.useRef)(null),o=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:s}=(0,i.useContext)(l.Q);return(0,i.useInsertionEffect)(()=>{let{width:e,height:r,top:i,left:l}=o.current;if(t||!a.current||!e||!r)return;a.current.dataset.motionPopId=n;let c=document.createElement("style");return s&&(c.nonce=s),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(` 183 [data-motion-pop-id="${n}"] { 184 position: absolute !important; 185 width: ${e}px !important; 186 height: ${r}px !important; 187 top: ${i}px !important; 188 left: ${l}px !important; 189 } 190 `),()=>{document.head.removeChild(c)}},[t]),(0,r.jsx)(c,{isPresent:t,childRef:a,sizeRef:o,children:i.cloneElement(e,{ref:a})})}let d=({children:e,initial:t,isPresent:n,onExitComplete:a,custom:l,presenceAffectsLayout:c,mode:d})=>{let h=(0,o.M)(p),f=(0,i.useId)(),m=(0,i.useCallback)(e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;a&&a()},[h,a]),g=(0,i.useMemo)(()=>({id:f,initial:t,isPresent:n,custom:l,onExitComplete:m,register:e=>(h.set(e,!1),()=>h.delete(e))}),c?[Math.random(),m]:[n,m]);return(0,i.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[n]),i.useEffect(()=>{n||h.size||!a||a()},[n]),"popLayout"===d&&(e=(0,r.jsx)(u,{isPresent:n,children:e})),(0,r.jsx)(s.t.Provider,{value:g,children:e})};function p(){return new Map}var h=n(89120);let f=e=>e.key||"";function m(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}var g=n(25128);let y=({children:e,custom:t,initial:n=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:c="sync",propagate:u=!1})=>{let[p,y]=(0,h.xQ)(u),v=(0,i.useMemo)(()=>m(e),[e]),b=u&&!p?[]:v.map(f),x=(0,i.useRef)(!0),w=(0,i.useRef)(v),j=(0,o.M)(()=>new Map),[C,E]=(0,i.useState)(v),[k,S]=(0,i.useState)(v);(0,g.E)(()=>{x.current=!1,w.current=v;for(let e=0;e<k.length;e++){let t=f(k[e]);b.includes(t)?j.delete(t):!0!==j.get(t)&&j.set(t,!1)}},[k,b.length,b.join("-")]);let A=[];if(v!==C){let e=[...v];for(let t=0;t<k.length;t++){let n=k[t],r=f(n);b.includes(r)||(e.splice(t,0,n),A.push(n))}"wait"===c&&A.length&&(e=A),S(m(e)),E(v);return}let{forceRender:T}=(0,i.useContext)(a.L);return(0,r.jsx)(r.Fragment,{children:k.map(e=>{let i=f(e),a=(!u||!!p)&&(v===k||b.includes(i));return(0,r.jsx)(d,{isPresent:a,initial:(!x.current||!!n)&&void 0,custom:a?void 0:t,presenceAffectsLayout:l,mode:c,onExitComplete:a?void 0:()=>{if(!j.has(i))return;j.set(i,!0);let e=!0;j.forEach(t=>{t||(e=!1)}),e&&(null==T||T(),S(w.current),u&&(null==y||y()),s&&s())},children:e},i)})})}},86311:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Paragraph","definitions":{"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},86719:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});let r=(0,n(73884).createContext)(null)},86896:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});let r=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r}},87053:(e,t,n)=>{"use strict";
190Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return o},RedirectType:function(){return r.RedirectType},notFound:function(){return i.notFound},permanentRedirect:function(){return r.permanentRedirect},redirect:function(){return r.redirect}});let r=n(94626),i=n(79940);class a extends Error{constructor(){super("Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}}class o extends URLSearchParams{append(){throw new a}delete(){throw new a}set(){throw new a}sort(){throw new a}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},88322:(e,t,n)=>{"use strict";var r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.prototype.hasOwnProperty,s={};((e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})})(s,{attachDatabasePool:()=>h.attachDatabasePool,experimental_attachDatabasePool:()=>h.experimental_attachDatabasePool,geolocation:()=>l.geolocation,getCache:()=>p.getCache,getEnv:()=>c.getEnv,ipAddress:()=>l.ipAddress,next:()=>d.next,rewrite:()=>d.rewrite,waitUntil:()=>u.waitUntil}),e.exports=((e,t,n,s)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of a(t))o.call(e,l)||l===n||r(e,l,{get:()=>t[l],enumerable:!(s=i(t,l))||s.enumerable});return e})(r({},"__esModule",{value:!0}),s);var l=n(41400),c=n(7820),u=n(62788),d=n(84640),p=n(81371),h=n(33129)},89120:(e,t,n)=>{"use strict";n.d(t,{xQ:()=>a});var r=n(73884),i=n(86719);function a(e=!0){let t=(0,r.useContext)(i.t);if(null===t)return[!0,null];let{isPresent:n,onExitComplete:a,register:o}=t,s=(0,r.useId)();(0,r.useEffect)(()=>{e&&o(s)},[e]);let l=(0,r.useCallback)(()=>e&&a&&a(s),[s,a,e]);return!n&&a?[!1,l]:[!0]}},89353:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},i=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},a=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var o,s=this;if("function"!=typeof s||"[object Function]"!==t.apply(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l=i(arguments,1),c=n(0,s.length-l.length),u=[],d=0;d<c;d++)u[d]="$"+d;if(o=Function("binder","return function ("+a(u,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var t=s.apply(this,r(l,arguments));return Object(t)===t?t:this}return s.apply(e,r(l,arguments))}),s.prototype){var p=function(){};p.prototype=s.prototype,o.prototype=new p,p.prototype=null}return o}},89652:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});let r=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)},90697:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(58775),a=r(n(96999)),o=n(32235),s=r(n(17587)),l={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"};t.default=function(e){let{html:t,scripts:n,stylesheets:r}=(0,o.YouTubeEmbed)(e);return(0,i.jsx)(s.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==n?void 0:n.map(e=>(0,i.jsx)(a.default,{src:e.url,strategy:l[e.strategy],stylesheets:r},e.url))})}},90777:(e,t,n)=>{"use strict";n.d(t,{A:()=>h,I:()=>p});var r=n(58775),i=n(2050),a=n(9483),o=n(73884),s=n(34164),l=n(82037),c=n(58638),u=n(8338);let d=(e,t,n)=>({topRight:{parentPosition:{top:`${n||0}px`,right:`${t||0}px`},borderRadius:`0 0 0 ${e}px`,cutRotation:"180deg",topCut:{right:"0",top:"100%"},bottomCut:{right:"100%",top:"0"},delay:0},topLeft:{parentPosition:{top:`${n||0}px`,left:`${t||0}px`},borderRadius:`0 0 ${e}px 0`,cutRotation:"90deg",topCut:{left:"0",top:"100%"},bottomCut:{left:"100%",top:"0"},delay:.1},bottomRight:{parentPosition:{bottom:`${n||0}px`,right:`${t||0}px`},borderRadius:`${e}px 0 0 0`,cutRotation:"-90deg",topCut:{right:"0",bottom:"100%"},bottomCut:{right:"100%",bottom:"0"},delay:.3},bottomLeft:{parentPosition:{bottom:`${n||0}px`,left:`${t||0}px`},borderRadius:`0 ${e}px 0 0`,cutRotation:"0deg",topCut:{left:"0",bottom:"100%"},bottomCut:{left:"100%",bottom:"0"},delay:.2}});function p(){return(0,r.jsxs)("div",{className:"absolute right-0 top-[100%] h-12 w-24 rounded-bl-xl bg-white text-lime-deep sm:w-40 lg:h-16 lg:w-24",children:[(0,r.jsx)("div",{className:"absolute text-white",style:{height:12,width:12,transform:"rotate(180deg)",right:"100%",top:"1rem"},children:(0,r.jsx)(a.Sw,{})}),(0,r.jsx)("div",{className:"absolute text-white",style:{height:12,width:12,transform:"rotate(180deg)",right:"0",top:"100%"},children:(0,r.jsx)(a.Sw,{})}),(0,r.jsxs)("div",{className:"absolute inset-0 bottom-4 left-4 bg-lime-deep",style:{borderRadius:"0 0 12px 12px"},children:[(0,r.jsx)("div",{className:"absolute",style:{height:12,width:12,transform:"rotate(180deg)",right:"100%"},children:(0,r.jsx)(a.Sw,{})}),(0,r.jsx)("div",{className:"absolute right-0 h-4 w-full bg-lime-deep",style:{to
190p:"-1rem"}})]})]})}let h=function({colour:e,position:t,width:n,height:p,radius:h,offsetX:f,offsetY:m,hideOnMobile:g=!1,hasNoBottomCorner:y=!1,children:v,className:b,isDisabledAnimation:x=!1}){let{parentPosition:w,borderRadius:j,cutRotation:C,topCut:E,bottomCut:k,delay:S}=d(h,f,m)[t],A=(0,o.useRef)(null),T=(0,l.W)(A,{once:!0}),_=(0,c.I)()||x;return(0,r.jsxs)(u.P.div,{ref:A,className:`absolute z-10 ${v?"!h-fit":""} ${g&&"max-sm:hidden"} ${(0,i.Qm)(e)} ${b||""}`,initial:_?{}:{width:0},animate:_?{}:{width:T?"auto":0,minWidth:T?v?0:`${n}%`:0,transition:{type:"spring",stiffness:180,damping:20,width:{duration:.4,delay:S||.2}}},style:{borderRadius:j,height:p||"2rem",...w},children:[(0,r.jsx)(u.P.div,{className:(0,s.A)("absolute transition-all delay-150 duration-500",y&&"hidden"),initial:{opacity:_?"1":"0"},animate:{opacity:T?"1":"0"},style:{height:h,width:h,transform:`rotate(${C})`,...E},children:(0,r.jsx)(a.Sw,{})}),(0,r.jsx)(u.P.div,{className:(0,s.A)("absolute transition-all delay-150 duration-500"),initial:{opacity:_?"1":"0"},animate:{opacity:T?"1":"0"},style:{height:h,width:h,transform:`rotate(${C})`,...k},children:(0,r.jsx)(a.Sw,{})}),v]})}},91339:(e,t,n)=>{"use strict";n.d(t,{F:()=>i});let r=(e,t)=>n=>t(e(n)),i=(...e)=>e.reduce(r)},92849:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},o=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,d=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(t=arguments[p],null!=t)for(n in t)r=l(d,n),d!==(i=l(t,n))&&(f&&i&&(o(i)||(c=a(i)))?(c?(c=!1,u=r&&a(r)?r:[]):u=r&&o(r)?r:{},s(d,{name:n,newValue:e(f,u,i)})):void 0!==i&&s(d,{name:n,newValue:i}));return d}},92946:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});let r=e=>t=>1-e(1-t)},93310:(e,t,n)=>{"use strict";n(12495),n(65606)},93627:(e,t,n)=>{"use strict";n.d(t,{Zh:()=>L,Bd:()=>r.useTranslation});var r=n(83150);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t,n){var r;return(r=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=a(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"),(t="symbol"==a(r)?r:r+"")in e)?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(73884),l=n.n(s),c=n(4146),u=n.n(c);function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){if(e){if("string"==typeof e)return d(e,t);var n=({}).toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}
190finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||p(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&({}).propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var m={defaultNS:"common",errorStackTraceLimit:0,i18n:{defaultLocale:"en",locales:["en"]},get initImmediate(){return"undefined"!=typeof window},interpolation:{escapeValue:!1},load:"currentOnly",localeExtension:"json",localePath:"./public/locales",localeStructure:"{{lng}}/{{ns}}",react:{useSuspense:!1},reloadOnPrerender:!1,serializeConfig:!0,use:[]},g="undefined"!=typeof window?s.useLayoutEffect:s.useEffect,y=["i18n"],v=["i18n"];function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var w=["backend","detection"],j=function(e){if("string"!=typeof(null==e?void 0:e.lng))throw Error("config.lng was not passed into createConfig");var t,n,r,i=e.i18n,o=f(e,y),s=m.i18n,l=x(x(x(x({},f(m,v)),o),s),i),c=l.defaultNS,u=l.lng,g=l.localeExtension,b=l.localePath,j=l.nonExplicitSupportedLngs,C=l.locales.filter(function(e){return"default"!==e});if("cimode"===u)return l;if(void 0===l.fallbackLng&&(l.fallbackLng=l.defaultLocale,"default"===l.fallbackLng)){var E=h(C,1);l.fallbackLng=E[0]}var k=null==e||null===(t=e.interpolation)||void 0===t?void 0:t.prefix,S=null==e||null===(n=e.interpolation)||void 0===n?void 0:n.suffix,A=null!=k?k:"{{",T=null!=S?S:"}}";"string"!=typeof(null==e?void 0:e.localeStructure)&&(k||S)&&(l.localeStructure="".concat(A,"lng").concat(T,"/").concat(A,"ns").concat(T));var _=l.fallbackLng,L=l.localeStructure;if(j){var N=function(e,t){var n=h(t.split("-"),1)[0];return e[t]=[n],e};if("string"==typeof _)l.fallbackLng=l.locales.filter(function(e){return e.includes("-")}).reduce(N,{default:[_]});else if(Array.isArray(_))l.fallbackLng=l.locales.filter(function(e){return e.includes("-")}).reduce(N,{default:_});else if("object"===a(_))l.fallbackLng=Object.entries(l.fallbackLng).reduce(function(e,t){var n=h(t,2),r=n[0],i=n[1];return e[r]=r.includes("-")?Array.from(new Set([r.split("-")[0]].concat(function(e){if(Array.isArray(e))return d(e)}(i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||p(i)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))):i,e},_);else if("function"==typeof _)throw Error("If nonExplicitSupportedLngs is true, no functions are allowed for fallbackLng")}return(null==e||null===(r=e.use)||void 0===r?void 0:r.some(function(e){return"backend"===e.type}))||("string"==typeof b?l.backend={addPath:"".concat(b,"/").concat(L,".missing.").concat(g),loadPath:"".concat(b,"/").concat(L,".").concat(g)}:"function"!=typeof b||(l.backend={addPath:function(e,t){return b(e,t,!0)},loadPath:function(e,t){return b(e,t,!1)}})),"string"==typeof l.ns||Array.isArray(l.ns)||(l.ns=[c]),w.forEac
190h(function(t){e[t]&&(l[t]=x(x({},l[t]),e[t]))}),l},C=n(51652),E=n.n(C);let k=function(e){void 0===e.ns&&(e.ns=[]);var t,n,r=E().createInstance(e);return r.isInitialized?t=Promise.resolve(E().t):(null==e||null===(n=e.use)||void 0===n||n.forEach(function(e){return r.use(e)}),"function"==typeof e.onPreInitI18next&&e.onPreInitI18next(r),t=r.init(e)),{i18n:r,initPromise:t}};var S=l().createElement;function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var _=function(e,t){if(t&&e.isInitialized)for(var n=0,r=Object.keys(t);n<r.length;n++)for(var i=r[n],a=0,o=Object.keys(t[i]);a<o.length;a++){var s,l=o[a];null!=e&&null!==(s=e.store)&&void 0!==s&&s.data&&e.store.data[i]&&e.store.data[i][l]||e.addResourceBundle(i,l,t[i][l],!0,!0)}},L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return u()(function(n){var a,o,l=(n.pageProps||{})._nextI18Next,c=null!==(a=null==l?void 0:l.initialLocale)&&void 0!==a?a:null==n||null===(o=n.router)||void 0===o?void 0:o.locale,u=null==l?void 0:l.ns,d=(0,s.useRef)(null),p=(0,s.useMemo)(function(){if(!l&&!t)return null;var e,n=null!=t?t:null==l?void 0:l.userConfig;if(!n)throw Error("appWithTranslation was called without a next-i18next config");if(!(null!=n&&n.i18n))throw Error("appWithTranslation was called without config.i18n");if(!(null!=n&&null!==(e=n.i18n)&&void 0!==e&&e.defaultLocale))throw Error("config.i18n does not include a defaultLocale property");var r=(l||{}).initialI18nStore,i=null!=t&&t.resources?t.resources:r;c||(c=n.i18n.defaultLocale);var a=d.current;return a?_(a,i):(_(a=k(T(T(T({},j(T(T({},n),{},{lng:c}))),{},{lng:c},u&&{ns:u}),{},{resources:i})).i18n,i),d.current=a),a},[l,c,u]);return g(function(){p&&c&&p.changeLanguage(c)},[p,c]),null!==p?S(r.I18nextProvider,{i18n:p},S(e,n)):S(e,i({key:c},n))},e)}},93633:(e,t,n)=>{"use strict";n.d(t,{LF:()=>o,LW:()=>i,ZI:()=>s,zG:()=>a});let r=new Map;function i(e){let t=r.get(e);if(t)return t;if(document.querySelector(`script[src="${e}"]`)){let t=Promise.resolve();return r.set(e,t),t}let n=new Promise((t,n)=>{let r=document.createElement("script");r.src=e,r.async=!0,r.onload=()=>t(),r.onerror=n,document.head.appendChild(r)});return r.set(e,n),n}function a(){if(document.querySelector('link[data-wistia-preconnect="true"]'))return;let e=document.createElement("link");e.rel="preconnect",e.href="https://fast.wistia.net",e.crossOrigin="anonymous",e.setAttribute("data-wistia-preconnect","true"),document.head.appendChild(e)}async function o(){return i("https://fast.wistia.net/assets/external/transcript.js")}function s(e){let t=document.querySelector(`[data-transcript-id="${e}"]`);if(!t||t.querySelector("wistia-transcript"))return;let n=document.createElement("div");n.className="h-full",n.innerHTML=` 191 <div class="prose -ml-[8px] max-w-none h-full overflow-y-auto"> 192 <wistia-transcript class="h-full" media-id="${e}"></wistia-transcript> 193 </div> 194 `,t.appendChild(n)}},94195:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var r=n(71830),i=n(61820);let a={...n(7411).l,...r.$,...i.Z}},94458:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});var r=n(82392);function i(e){return e.props[r.n]}},94626:(e,t,n)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return r},getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return f},getRedirectTypeFromError:function(){return h},getURLFromRedirectError:function(){return p},isRedirectError:function(){return d},permanentRedirect:function(){return u},redirect:function(){return c}});let i=n(52619),a=n(46604),o=n(16199),s="NEXT_REDIRECT";function l(e,t,n){void 0===n&&(n=o.RedirectStatusCode.TemporaryRedirect);let r=Error(s);r.digest=s+";"+t+";"+e+";"+n+";";let a=i.requestAsyncStorage.getStore();return a&&(r.mutableCookies=a.mutableCookies),r}function c(e,t){void 0===t&&(t="replace");let n=a.actionAsyncStorage.getStore();throw l(e,t,(null==n?void 0:n.isAction)?o.RedirectStatusCode.SeeOther:o.RedirectStatusCode.TemporaryRedirect)}function u(e,t){void 0===t&&(t="replace");let n=a.actionAsyncStorage.getStore();throw l(e,t,(null==n?void 0:n.isAction)?o.RedirectStatusCode.SeeOther:o.RedirectStatusCode.PermanentRedirect)}function d(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;let[t,n,r,i]=e.digest.split(";",4),a=Number(i);
194return t===s&&("replace"===n||"push"===n)&&"string"==typeof r&&!isNaN(a)&&a in o.RedirectStatusCode}function p(e){return d(e)?e.digest.split(";",3)[2]:null}function h(e){if(!d(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function f(e){if(!d(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}!function(e){e.push="push",e.replace="replace"}(r||(r={})),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},94634:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Document","definitions":{"Document":{"type":"object","properties":{"nodeType":{"type":"string","enum":["document"]},"content":{"type":"array","items":{"$ref":"#/definitions/TopLevelBlock"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"TopLevelBlock":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/TopLevelBlockEnum"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"TopLevelBlockEnum":{"enum":["blockquote","embedded-asset-block","embedded-entry-block","embedded-resource-block","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","hr","ordered-list","paragraph","table","unordered-list"],"type":"string"},"Block":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/BLOCKS"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Block"},{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"BLOCKS":{"description":"Map of all Contentful block types. Blocks contain inline or block nodes.","type":"string","enum":["document","paragraph","heading-1","heading-2","heading-3","heading-4","heading-5","heading-6","ordered-list","unordered-list","list-item","hr","blockquote","embedded-entry-block","embedded-asset-block","embedded-resource-block","table","table-row","table-cell","table-header-cell"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},94805:(e,t,n)=>{"use strict";n.d(t,{L:()=>o,m:()=>a});var r=n(38448),i=n(5673);function a(e,t){return(0,r.FY)((0,r.bS)(e.getBoundingClientRect(),t))}function o(e,t,n){let r=a(e,n),{scroll:o}=t;return o&&((0,i.Ql)(r.x,o.offset.x),(0,i.Ql)(r.y,o.offset.y)),r}},94885:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});let i=n(58775),a=n(32235),o=r(n(17587));t.default=function(e){let{apiKey:t,...n}=e,r={...n,key:t},{html:s}=(0,a.GoogleMapsEmbed)(r);return(0,i.jsx)(o.default,{height:r.height||null,width:r.width||null,html:s,dataNtpc:"GoogleMapsEmbed"})}},95126:function(e,t,n){"use strict";var r,i=this&&this.__spreadArray||function(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))};
194Object.defineProperty(t,"__esModule",{value:!0}),t.V1_MARKS=t.V1_NODE_TYPES=t.TEXT_CONTAINERS=t.HEADINGS=t.CONTAINERS=t.VOID_BLOCKS=t.TABLE_BLOCKS=t.LIST_ITEM_BLOCKS=t.TOP_LEVEL_BLOCKS=void 0;var a=n(60701),o=n(53305),s=n(20493);t.TOP_LEVEL_BLOCKS=[a.BLOCKS.PARAGRAPH,a.BLOCKS.HEADING_1,a.BLOCKS.HEADING_2,a.BLOCKS.HEADING_3,a.BLOCKS.HEADING_4,a.BLOCKS.HEADING_5,a.BLOCKS.HEADING_6,a.BLOCKS.OL_LIST,a.BLOCKS.UL_LIST,a.BLOCKS.HR,a.BLOCKS.QUOTE,a.BLOCKS.EMBEDDED_ENTRY,a.BLOCKS.EMBEDDED_ASSET,a.BLOCKS.EMBEDDED_RESOURCE,a.BLOCKS.TABLE],t.LIST_ITEM_BLOCKS=[a.BLOCKS.PARAGRAPH,a.BLOCKS.HEADING_1,a.BLOCKS.HEADING_2,a.BLOCKS.HEADING_3,a.BLOCKS.HEADING_4,a.BLOCKS.HEADING_5,a.BLOCKS.HEADING_6,a.BLOCKS.OL_LIST,a.BLOCKS.UL_LIST,a.BLOCKS.HR,a.BLOCKS.QUOTE,a.BLOCKS.EMBEDDED_ENTRY,a.BLOCKS.EMBEDDED_ASSET,a.BLOCKS.EMBEDDED_RESOURCE],t.TABLE_BLOCKS=[a.BLOCKS.TABLE,a.BLOCKS.TABLE_ROW,a.BLOCKS.TABLE_CELL,a.BLOCKS.TABLE_HEADER_CELL],t.VOID_BLOCKS=[a.BLOCKS.HR,a.BLOCKS.EMBEDDED_ENTRY,a.BLOCKS.EMBEDDED_ASSET,a.BLOCKS.EMBEDDED_RESOURCE],t.CONTAINERS=((r={})[a.BLOCKS.OL_LIST]=[a.BLOCKS.LIST_ITEM],r[a.BLOCKS.UL_LIST]=[a.BLOCKS.LIST_ITEM],r[a.BLOCKS.LIST_ITEM]=t.LIST_ITEM_BLOCKS,r[a.BLOCKS.QUOTE]=[a.BLOCKS.PARAGRAPH],r[a.BLOCKS.TABLE]=[a.BLOCKS.TABLE_ROW],r[a.BLOCKS.TABLE_ROW]=[a.BLOCKS.TABLE_CELL,a.BLOCKS.TABLE_HEADER_CELL],r[a.BLOCKS.TABLE_CELL]=[a.BLOCKS.PARAGRAPH,a.BLOCKS.UL_LIST,a.BLOCKS.OL_LIST],r[a.BLOCKS.TABLE_HEADER_CELL]=[a.BLOCKS.PARAGRAPH],r),t.HEADINGS=[a.BLOCKS.HEADING_1,a.BLOCKS.HEADING_2,a.BLOCKS.HEADING_3,a.BLOCKS.HEADING_4,a.BLOCKS.HEADING_5,a.BLOCKS.HEADING_6],t.TEXT_CONTAINERS=i([a.BLOCKS.PARAGRAPH],t.HEADINGS,!0),t.V1_NODE_TYPES=[a.BLOCKS.DOCUMENT,a.BLOCKS.PARAGRAPH,a.BLOCKS.HEADING_1,a.BLOCKS.HEADING_2,a.BLOCKS.HEADING_3,a.BLOCKS.HEADING_4,a.BLOCKS.HEADING_5,a.BLOCKS.HEADING_6,a.BLOCKS.OL_LIST,a.BLOCKS.UL_LIST,a.BLOCKS.LIST_ITEM,a.BLOCKS.HR,a.BLOCKS.QUOTE,a.BLOCKS.EMBEDDED_ENTRY,a.BLOCKS.EMBEDDED_ASSET,o.INLINES.HYPERLINK,o.INLINES.ENTRY_HYPERLINK,o.INLINES.ASSET_HYPERLINK,o.INLINES.EMBEDDED_ENTRY,"text"],t.V1_MARKS=[s.MARKS.BOLD,s.MARKS.CODE,s.MARKS.ITALIC,s.MARKS.UNDERLINE]},95616:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return l.ReadonlyURLSearchParams},RedirectType:function(){return l.RedirectType},ServerInsertedHTMLContext:function(){return c.ServerInsertedHTMLContext},notFound:function(){return l.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect},useParams:function(){return h},usePathname:function(){return d},useRouter:function(){return p},useSearchParams:function(){return u},useSelectedLayoutSegment:function(){return m},useSelectedLayoutSegments:function(){return f},useServerInsertedHTML:function(){return c.useServerInsertedHTML}});let r=n(73884),i=n(99016),a=n(51273),o=n(65811),s=n(51208),l=n(87053),c=n(1891);function u(){let e=(0,r.useContext)(a.SearchParamsContext);return(0,r.useMemo)(()=>e?new l.ReadonlyURLSearchParams(e):null,[e])}function d(){return(0,r.useContext)(a.PathnameContext)}function p(){let e=(0,r.useContext)(i.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function h(){return(0,r.useContext)(a.PathParamsContext)}function f(e){void 0===e&&(e="children");let t=(0,r.useContext)(i.LayoutRouterContext);return t?function e(t,n,r,i){let a;if(void 0===r&&(r=!0),void 0===i&&(i=[]),r)a=t[1][n];else{var l;let e=t[1];a=null!=(l=e.children)?l:Object.values(e)[0]}if(!a)return i;let c=a[0],u=(0,o.getSegmentValue)(c);return!u||u.startsWith(s.PAGE_SEGMENT_KEY)?i:(i.push(u),e(a,n,!1,i))}(t.tree,e):null}function m(e){void 0===e&&(e="children");let t=f(e);
194if(!t||0===t.length)return null;let n="children"===e?t[0]:t[t.length-1];return n===s.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96188:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/AssetLinkBlock","definitions":{"AssetLinkBlock":{"type":"object","properties":{"nodeType":{"type":"string","enum":["embedded-asset-block"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/Link<\\"Asset\\">"}},"additionalProperties":false,"required":["target"]},"content":{"maxItems":0,"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Link<\\"Asset\\">":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["Link"]},"linkType":{"type":"string","enum":["Asset"]},"id":{"type":"string"}},"additionalProperties":false,"required":["id","linkType","type"]}},"additionalProperties":false,"required":["sys"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},96438:(e,t,n)=>{"use strict";n.d(t,{pf:()=>tb});var r=n(58775),i=n(73884),a=n.n(i),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t,n){if(n||2==arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var l=n(2833),c=n.n(l),u="-ms-",d="-moz-",p="-webkit-",h="comm",f="rule",m="decl",g="@keyframes",y=Math.abs,v=String.fromCharCode,b=Object.assign;function x(e,t){return(e=t.exec(e))?e[0]:e}function w(e,t,n){return e.replace(t,n)}function j(e,t,n){return e.indexOf(t,n)}function C(e,t){return 0|e.charCodeAt(t)}function E(e,t,n){return e.slice(t,n)}function k(e){return e.length}function S(e,t){return t.push(e),e}function A(e,t){return e.filter(function(e){return!x(e,t)})}var T=1,_=1,L=0,N=0,P=0,I="";function M(e,t,n,r,i,a,o,s){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:T,column:_,length:o,return:"",siblings:s}}function O(e,t){return b(M("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function R(e){for(;e.root;)e=O(e.root,{children:[e]});S(e,e.siblings)}function D(){return P=N<L?C(I,N++):0,_++,10===P&&(_=1,T++),P}function B(){return C(I,N)}function F(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function H(e){var t,n;return(t=N-1,n=function e(t){for(;D();)switch(P){case t:return N;case 34:case 39:34!==t&&39!==t&&e(P);break;case 40:41===t&&e(t);break;case 92:D()}return N}(91===e?e+2:40===e?e+1:e),E(I,t,n)).trim()}function V(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function $(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case m:return e.return=e.return||e.value;case h:return"";case g:return e.return=e.value+"{"+V(e.children,r)+"}";case f:if(!k(e.value=e.props.join(",")))return""}return k(n=V(e.children,r))?e.return=e.value+"{"+n+"}":""}function U(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case m:e.return=function e(t,n,r){var i;switch(i=n,45^C(t,0)?(((i<<2^C(t,0))<<2^C(t,1))<<2^C(t,2))<<2^C(t,3):0){case 5103:return p+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return p+t+t;case 4789:return d+t+t;
vendor: 9,577 bytes, line 194
194case 5349:case 4246:case 4810:case 6968:case 2756:return p+t+d+t+u+t+t;case 5936:switch(C(t,n+11)){case 114:return p+t+u+w(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return p+t+u+w(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return p+t+u+w(t,/[svh]\w+-[tblr]{2}/,"lr")+t}case 6828:case 4268:case 2903:return p+t+u+t+t;case 6165:return p+t+u+"flex-"+t+t;case 5187:return p+t+w(t,/(\w+).+(:[^]+)/,p+"box-$1$2"+u+"flex-$1$2")+t;case 5443:return p+t+u+"flex-item-"+w(t,/flex-|-self/g,"")+(x(t,/flex-|baseline/)?"":u+"grid-row-"+w(t,/flex-|-self/g,""))+t;case 4675:return p+t+u+"flex-line-pack"+w(t,/align-content|flex-|-self/g,"")+t;case 5548:return p+t+u+w(t,"shrink","negative")+t;case 5292:return p+t+u+w(t,"basis","preferred-size")+t;case 6060:return p+"box-"+w(t,"-grow","")+p+t+u+w(t,"grow","positive")+t;case 4554:return p+w(t,/([^-])(transform)/g,"$1"+p+"$2")+t;case 6187:return w(w(w(t,/(zoom-|grab)/,p+"$1"),/(image-set)/,p+"$1"),t,"")+t;case 5495:case 3959:return w(t,/(image-set\([^]*)/,p+"$1$`$1");case 4968:return w(w(t,/(.+:)(flex-)?(.*)/,p+"box-pack:$3"+u+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+p+t+t;case 4200:if(!x(t,/flex-|baseline/))return u+"grid-column-align"+E(t,n)+t;break;case 2592:case 3360:return u+w(t,"template-","")+t;case 4384:case 3616:if(r&&r.some(function(e,t){return n=t,x(e.props,/grid-\w+-end/)}))return~j(t+(r=r[n].value),"span",0)?t:u+w(t,"-start","")+t+u+"grid-row-span:"+(~j(r,"span",0)?x(r,/\d+/):+x(r,/\d+/)-+x(t,/\d+/))+";";return u+w(t,"-start","")+t;case 4896:case 4128:return r&&r.some(function(e){return x(e.props,/grid-\w+-start/)})?t:u+w(w(t,"-end","-span"),"span ","")+t;case 4095:case 3583:case 4068:case 2532:return w(t,/(.+)-inline(.+)/,p+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(k(t)-1-n>6)switch(C(t,n+1)){case 109:if(45!==C(t,n+4))break;case 102:return w(t,/(.+:)(.+)-([^]+)/,"$1"+p+"$2-$3$1"+d+(108==C(t,n+3)?"$3":"$2-$3"))+t;case 115:return~j(t,"stretch",0)?e(w(t,"stretch","fill-available"),n,r)+t:t}break;case 5152:case 5920:return w(t,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(e,n,r,i,a,o,s){return u+n+":"+r+s+(i?u+n+"-span:"+(a?o:+o-+r)+s:"")+t});case 4949:if(121===C(t,n+6))return w(t,":",":"+p)+t;break;case 6444:switch(C(t,45===C(t,14)?18:11)){case 120:return w(t,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+p+(45===C(t,14)?"inline-":"")+"box$3$1"+p+"$2$3$1"+u+"$2box$3")+t;case 100:return w(t,":",":"+u)+t}break;case 5719:case 2647:case 2135:case 3927:case 2391:return w(t,"scroll-","scroll-snap-")+t}return t}(e.value,e.length,n);return;case g:return V([O(e,{value:w(e.value,"@","@"+p)})],r);case f:if(e.length){var i,a;return i=n=e.props,a=function(t){switch(x(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":R(O(e,{props:[w(t,/:(read-\w+)/,":"+d+"$1")]})),R(O(e,{props:[t]})),b(e,{props:A(n,r)});break;case"::placeholder":R(O(e,{props:[w(t,/:(plac\w+)/,":"+p+"input-$1")]})),R(O(e,{props:[w(t,/:(plac\w+)/,":"+d+"$1")]})),R(O(e,{props:[w(t,/:(plac\w+)/,u+"input-$1")]})),R(O(e,{props:[t]})),b(e,{props:A(n,r)})}return""},i.map(a).join("")}}}function z(e,t,n,r,i,a,o,s,l,c,u,d){for(var p=i-1,h=0===i?a:[""],m=h.length,g=0,v=0,b=0;g<r;++g)for(var x=0,j=E(e,p+1,p=y(v=o[g])),C=e;x<m;++x)(C=(v>0?h[x]+" "+j:w(j,/&\f/g,h[x])).trim())&&(l[b++]=C);return M(e,t,n,0===i?f:s,l,c,u,d)}function W(e,t,n,r,i){return M(e,t,n,m,E(e,0,r),E(e,r+1,-1),r,i)}var G={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},q=n(65606),K=void 0!==q&&void 0!==q.env&&(q.env.REACT_APP_SC_ATTR||q.env.SC_ATTR)||"data-styled",Y="active",X="data-styled-version",Z="6.1.13",J="/*!sc*/\n",Q="undefined"!=typeof window&&"HTMLElement"in window,ee=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:void 0!==q&&void 0!==q.env&&void 0!==q.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==q.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==q.env.REACT_APP_SC_DISABLE_SPEEDY&&q.env.REACT_APP_SC_DISABLE_SPEEDY:void 0!==q&&void 0!==q.env&&void 0!==q.env.SC_DISABLE_SPEEDY&&""!==q.env.SC_DISABLE_SPEEDY&&"false"!==q.env.SC_DISABLE_SPEEDY&&q.env.SC_DISABLE_SPEEDY),et=Object.freeze([]),en=Object.freeze({}),er=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),ei=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ea=/(^-|-$)/g;function eo(e){return e.replace(ei,"-").replace(ea,"")}var es=/(a)(d)/gi,el=function(e){return String.fromCharCode(e+(e>25?39:97))};function ec(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=el(t%52)+n;return(el(t%52)+n).replace(es,"$1-$2")}var eu,ed=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},ep=function(e){return ed(5381,e)};function eh(e){return"string"==typeof e}var ef="function"==typeof Symbol&&Symbol.for,em=ef?Symbol.for("react.memo"):60115,eg=ef?Symbol.for("react.forward_ref"):60112,ey={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},ev={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},eb={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},ex=((eu={})[eg]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},eu[em]=eb,eu);function ew(e){return("type"in e&&e.type.$$typeof)===em?eb:"$$typeof"in e?ex[e.$$typeof]:ey}var ej=Object.defineProperty,eC=Object.getOwnPropertyNames,eE=Object.getOwnPropertySymbols,ek=Object.getOwnPropertyDescriptor,eS=Object.getPrototypeOf,eA=Object.prototype;function eT(e){return"function"==typeof e}function e_(e){return"object"==typeof e&&"styledComponentId"in e}function eL(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function eN(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function eP(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function eI(e,t){Object.defineProperty(e,"toString",{value:t})}function eM(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var eO=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,i=r;e>=i;)if((i<<=1)<0)throw eM(16,"".concat(e));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var a=r;a<i;a++)this.groupSizes[a]=0}for(var o=this.indexOfGroup(e+1),s=(a=0,t.length);a<s;a++)this.tag.insertRule(o,t[a])&&(this.groupSizes[e]++,o++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var i=n;i<r;i++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),i=r+n,a=r;a<i;a++)t+="".concat(this.tag.getRule(a)).concat(J);return t},e}(),eR=new Map,eD=new Map,eB=1,eF=function(e){if(eR.has(e))return eR.get(e);for(;eD.has(eB);)eB++;var t=eB++;return eR.set(e,t),eD.set(t,e),t},eH=function(e,t){eB=t+1,eR.set(e,t),eD.set(t,e)},eV="style[".concat(K,"][").concat(X,'="').concat(Z,'"]'),e$=new RegExp("^".concat(K,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),eU=function(e,t,n){for(var r,i=n.split(","),a=0,o=i.length;a<o;a++)(r=i[a])&&e.registerName(t,r)},ez=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(J),i=[],a=0,o=r.length;a<o;a++){var s=r[a].trim();if(s){var l=s.match(e$);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(eH(u,c),eU(e,u,l[3]),e.getTag().insertRules(c,i)),i.length=0}else i.push(s)}}},eW=function(e){for(var t=document.querySelectorAll(eV),n=0,r=t.length;n<r;n++){var i=t[n];
194i&&i.getAttribute(K)!==Y&&(ez(e,i),i.parentNode&&i.parentNode.removeChild(i))}},eG=function(e){var t,r=document.head,i=e||r,a=document.createElement("style"),o=(t=Array.from(i.querySelectorAll("style[".concat(K,"]"))))[t.length-1],s=void 0!==o?o.nextSibling:null;a.setAttribute(K,Y),a.setAttribute(X,Z);var l=n.nc;return l&&a.setAttribute("nonce",l),i.insertBefore(a,s),a},eq=function(){function e(e){this.element=eG(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var i=t[n];if(i.ownerNode===e)return i}throw eM(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),eK=function(){function e(e){this.element=eG(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),eY=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),eX=Q,eZ={isServer:!Q,useCSSOMInjection:!ee},eJ=function(){function e(e,t,n){void 0===e&&(e=en),void 0===t&&(t={});var r=this;this.options=o(o({},eZ),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&Q&&eX&&(eX=!1,eW(this)),eI(this,function(){return function(e){for(var t=e.getTag(),n=t.length,r="",i=0;i<n;i++)(function(n){var i=eD.get(n);if(void 0!==i){var a=e.names.get(i),o=t.getGroup(n);if(void 0!==a&&a.size&&0!==o.length){var s="".concat(K,".g").concat(n,'[id="').concat(i,'"]'),l="";void 0!==a&&a.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),r+="".concat(o).concat(s,'{content:"').concat(l,'"}').concat(J)}}})(i);return r}(r)})}return e.registerId=function(e){return eF(e)},e.prototype.rehydrate=function(){!this.server&&Q&&eW(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(o(o({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){var e,t,n;return this.tag||(this.tag=(t=(e=this.options).useCSSOMInjection,n=e.target,new eO(e.isServer?new eY(n):t?new eq(n):new eK(n))))},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(eF(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(eF(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(eF(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),eQ=/&/g,e0=/^\s*\/\/.*$/gm;function e1(e){var t,n,r,i=void 0===e?en:e,a=i.options,o=void 0===a?en:a,s=i.plugins,l=void 0===s?et:s,c=function(e,r,i){return i.startsWith(n)&&i.endsWith(n)&&i.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===f&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(eQ,n).replace(r,c))}),o.prefix&&u.push(U),u.push($);var d=function(e,i,a,s){void 0===i&&(i=""),void 0===a&&(a=""),void 0===s&&(s="&"),t=s,n=i,r=RegExp("\\".concat(n,"\\b"),"g");var l,c,d,p,f,m,g=e.replace(e0,""),b=(f=function e(t,n,r,i,a,o,s,l,c){for(var u,d=0,p=0,f=s,m=0,g=0,b=0,x=1,A=1,L=1,O=0,R="",V=a,$=o,U=i,G=R;A;)switch(b=O,O=D()){case 40:if(108!=b&&58==C(G,f-1)){-1!=j(G+=w(H(O),"&","&\f"),"&\f",y(d?l[d-1]:0))&&(L=-1);break}case 34:case 39:case 91:G+=H(O);break;case 9:case 10:case 13:case 32:G+=function(e){for(;P=B();)if(P<33)D();else break;return F(e)>2||F(P)>3?"":" "}(b);break;case 92:G+=function(e,t){for(var n;--t&&D()&&!(P<48)&&!(P>102)&&(!(P>
19457)||!(P<65))&&(!(P>70)||!(P<97)););return n=N+(t<6&&32==B()&&32==D()),E(I,e,n)}(N-1,7);continue;case 47:switch(B()){case 42:case 47:S(M(u=function(e,t){for(;D();)if(e+P===57)break;else if(e+P===84&&47===B())break;return"/*"+E(I,t,N-1)+"*"+v(47===e?e:D())}(D(),N),n,r,h,v(P),E(u,2,-2),0,c),c);break;default:G+="/"}break;case 123*x:l[d++]=k(G)*L;case 125*x:case 59:case 0:switch(O){case 0:case 125:A=0;case 59+p:-1==L&&(G=w(G,/\f/g,"")),g>0&&k(G)-f&&S(g>32?W(G+";",i,r,f-1,c):W(w(G," ","")+";",i,r,f-2,c),c);break;case 59:G+=";";default:if(S(U=z(G,n,r,d,p,a,l,R,V=[],$=[],f,o),o),123===O){if(0===p)e(G,n,U,U,V,o,f,l,$);else switch(99===m&&110===C(G,3)?100:m){case 100:case 108:case 109:case 115:e(t,U,U,i&&S(z(t,U,U,0,0,a,l,R,a,V=[],f,$),$),a,$,f,l,i?V:$);break;default:e(G,U,U,U,[""],$,0,l,$)}}}d=p=g=0,x=L=1,R=G="",f=s;break;case 58:f=1+k(G),g=b;default:if(x<1){if(123==O)--x;else if(125==O&&0==x++&&125==(P=N>0?C(I,--N):0,_--,10===P&&(_=1,T--),P))continue}switch(G+=v(O),O*x){case 38:L=p>0?1:(G+="\f",-1);break;case 44:l[d++]=(k(G)-1)*L,L=1;break;case 64:45===B()&&(G+=H(D())),m=B(),p=f=k(R=G+=function(e){for(;!F(B());)D();return E(I,e,N)}(N)),O++;break;case 45:45===b&&2==k(G)&&(x=0)}}return o}("",null,null,null,[""],(d=p=a||i?"".concat(a," ").concat(i," { ").concat(g," }"):g,T=_=1,L=k(I=d),N=0,p=[]),0,[0],p),I="",f);o.namespace&&(b=function e(t,n){return t.map(function(t){return"rule"===t.type&&(t.value="".concat(n," ").concat(t.value),t.value=t.value.replaceAll(",",",".concat(n," ")),t.props=t.props.map(function(e){return"".concat(n," ").concat(e)})),Array.isArray(t.children)&&"@keyframes"!==t.type&&(t.children=e(t.children,n)),t})}(b,o.namespace));var x=[];return V(b,(c=(l=u.concat((m=function(e){return x.push(e)},function(e){!e.root&&(e=e.return)&&m(e)}))).length,function(e,t,n,r){for(var i="",a=0;a<c;a++)i+=l[a](e,t,n,r)||"";return i})),x};return d.hash=l.length?l.reduce(function(e,t){return t.name||eM(15),ed(e,t.name)},5381).toString():"",d}var e2=new eJ,e3=e1(),e5=a().createContext({shouldForwardProp:void 0,styleSheet:e2,stylis:e3}),e4=(e5.Consumer,a().createContext(void 0));function e6(){return(0,i.useContext)(e5)}function e8(e){var t=(0,i.useState)(e.stylisPlugins),n=t[0],r=t[1],o=e6().styleSheet,s=(0,i.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,o]),l=(0,i.useMemo)(function(){return e1({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,i.useEffect)(function(){c()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var u=(0,i.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:s,stylis:l}},[e.shouldForwardProp,s,l]);return a().createElement(e5.Provider,{value:u},a().createElement(e4.Provider,{value:l},e.children))}var e7=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=e3);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,eI(this,function(){throw eM(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=e3),this.name+e.hash},e}();function e9(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;r>="A"&&r<="Z"?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var te=function(e){return null==e||!1===e||""===e},tt=function(e){var t=[];for(var n in e){var r=e[n];e.hasOwnProperty(n)&&!te(r)&&(Array.isArray(r)&&r.isCss||eT(r)?t.push("".concat(e9(n),":"),r,";"):eP(r)?t.push.apply(t,s(s(["".concat(n," {")],tt(r),!1),["}"],!1)):t.push("".concat(e9(n),": ").concat(null==r||"boolean"==typeof r||""===r?"":"number"!=typeof r||0===r||n in G||n.startsWith("--")?String(r).trim():"".concat(r,"px"),";")))}return t};function tn(e,t,n,r){return te(e)?[]:e_(e)?[".".concat(e.styledComponentId)]:eT(e)?!eT(e)||e.prototype&&e.prototype.isReactComponent||!t?[e]:tn(e(t),t,n,r):e instanceof e7?n?(e.inject(n,r),[e.getName(r)]):[e]:eP(e)?tt(e):Array.isArray(e)?Array.prototype.concat.apply(et,e.map(function(e){return tn(e,t,n,r)})):[e.toString()]}function tr(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(eT(n)&&!e_(n))return!1}return!0}var ti=ep(Z),ta=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&tr(e),this.componentId=t,this.baseHash=ed(ti,t),this.baseStyle=n,eJ.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n
194):"";if(this.isStatic&&!n.hash){if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=eL(r,this.staticRulesId);else{var i=eN(tn(this.rules,e,t,n)),a=ec(ed(this.baseHash,i)>>>0);if(!t.hasNameForId(this.componentId,a)){var o=n(i,".".concat(a),void 0,this.componentId);t.insertRules(this.componentId,a,o)}r=eL(r,a),this.staticRulesId=a}}else{for(var s=ed(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var d=eN(tn(u,e,t,n));s=ed(s,d+c),l+=d}}if(l){var p=ec(s>>>0);t.hasNameForId(this.componentId,p)||t.insertRules(this.componentId,p,n(l,".".concat(p),void 0,this.componentId)),r=eL(r,p)}}return r},e}(),to=a().createContext(void 0);to.Consumer;var ts={};function tl(e,t,n){var r,s,l,c,u=e_(e),d=!eh(e),p=t.attrs,h=void 0===p?et:p,f=t.componentId,m=void 0===f?(r=t.displayName,s=t.parentComponentId,ts[l="string"!=typeof r?"sc":eo(r)]=(ts[l]||0)+1,c="".concat(l,"-").concat(ec(ep(Z+l+ts[l])>>>0)),s?"".concat(s,"-").concat(c):c):f,g=t.displayName,y=void 0===g?eh(e)?"styled.".concat(e):"Styled(".concat(e.displayName||e.name||"Component",")"):g,v=t.displayName&&t.componentId?"".concat(eo(t.displayName),"-").concat(t.componentId):t.componentId||m,b
194=u&&e.attrs?e.attrs.concat(h).filter(Boolean):h,x=t.shouldForwardProp;if(u&&e.shouldForwardProp){var w=e.shouldForwardProp;if(t.shouldForwardProp){var j=t.shouldForwardProp;x=function(e,t){return w(e,t)&&j(e,t)}}else x=w}var C=new ta(n,v,u?e.componentStyle:void 0);function E(e,t){return function(e,t,n){var r,s,l=e.attrs,c=e.componentStyle,u=e.defaultProps,d=e.foldedComponentIds,p=e.styledComponentId,h=e.target,f=a().useContext(to),m=e6(),g=e.shouldForwardProp||m.shouldForwardProp,y=(void 0===(r=u)&&(r=en),t.theme!==r.theme&&t.theme||f||r.theme||en),v=function(e,t,n){for(var r,i=o(o({},t),{className:void 0,theme:n}),a=0;a<e.length;a+=1){var s=eT(r=e[a])?r(i):r;for(var l in s)i[l]="className"===l?eL(i[l],s[l]):"style"===l?o(o({},i[l]),s[l]):s[l]}return t.className&&(i.className=eL(i.className,t.className)),i}(l,t,y),b=v.as||h,x={};for(var w in v)void 0===v[w]||"$"===w[0]||"as"===w||"theme"===w&&v.theme===y||("forwardedAs"===w?x.as=v.forwardedAs:g&&!g(w,b)||(x[w]=v[w]));var j=(s=e6(),c.generateAndInjectStyles(v,s.styleSheet,s.stylis)),C=eL(d,p);return j&&(C+=" "+j),v.className&&(C+=" "+v.className),x[eh(b)&&!er.has(b)?"class":"className"]=C,x.ref=n,(0,i.createElement)(b,x)}(k,e,t)}E.displayName=y;var k=a().forwardRef(E);return k.attrs=b,k.componentStyle=C,k.displayName=y,k.shouldForwardProp=x,k.foldedComponentIds=u?eL(e.foldedComponentIds,e.styledComponentId):"",k.styledComponentId=v,k.target=u?e.target:e,Object.defineProperty(k,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=u?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0;r<t.length;r++)(function e(t,n,r){if(void 0===r&&(r=!1),!r&&!eP(t)&&!Array.isArray(t))return n;if(Array.isArray(n))for(var i=0;i<n.length;i++)t[i]=e(t[i],n[i]);else if(eP(n))for(var i in n)t[i]=e(t[i],n[i]);return t})(e,t[r],!0);return e}({},e.defaultProps,t):t}}),eI(k,function(){return".".concat(k.styledComponentId)}),d&&function e(t,n,r){if("string"!=typeof n){if(eA){var i=eS(n);i&&i!==eA&&e(t,i,r)}var a=eC(n);eE&&(a=a.concat(eE(n)));for(var o=ew(t),s=ew(n),l=0;l<a.length;++l){var c=a[l];if(!(c in ev||r&&r[c]||s&&c in s||o&&c in o)){var u=ek(n,c);try{ej(t,c,u)}catch(e){}}}}return t}(k,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),k}function tc(e,t){for(var n=[e[0]],r=0,i=t.length;r<i;r+=1)n.push(t[r],e[r+1]);return n}var tu=function(e){return Object.assign(e,{isCss:!0})};function td(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return eT(e)||eP(e)?tu(tn(tc(et,s([e],t,!0)))):0===t.length&&1===e.length&&"string"==typeof e[0]?tn(e):tu(tn(tc(e,t)))}var tp=function(e){return function e(t,n,r){if(void 0===r&&(r=en),!n)throw eM(1,n);var i=function(e){for(var i=[],a=1;a<arguments.length;a++)i[a-1]=arguments[a];return t(n,r,td.apply(void 0,s([e],i,!1)))};return i.attrs=function(i){return e(t,n,o(o({},r),{attrs:Array.prototype.concat(r.attrs,i).filter(Boolean)}))},i.withConfig=function(i){return e(t,n,o(o({},r),i))},i}(tl,e)};function th(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=eN(td.apply(void 0,s([e],t,!1)));return new e7(ec(ep(r)>>>0),r)}er.forEach(function(e){tp[e]=tp(e)}),function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=tr(e),eJ.registerId(this.componentId+1)}e.prototype.createStyles=function(e,t,n,r){var i=r(eN(tn(this.rules,t,n,r)),""),a=this.componentId+e;n.insertRules(a,a,i)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&eJ.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)}}(),function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var r=n.nc,i=eN([r&&'nonce="'.concat(r,'"'),"".concat(K,'="true"'),"".concat(X,'="').concat(Z,'"')].filter(Boolean)," ");return"<style ".concat(i,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw eM(2);return e._emitSheetCSS()}
194,this.getStyleElement=function(){if(e.sealed)throw eM(2);var t,r=e.instance.toString();if(!r)return[];var i=((t={})[K]="",t[X]=Z,t.dangerouslySetInnerHTML={__html:r},t),s=n.nc;return s&&(i.nonce=s),[a().createElement("style",o({},i,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new eJ({isServer:!0}),this.sealed=!1}e.prototype.collectStyles=function(e){if(this.sealed)throw eM(2);return a().createElement(e8,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw eM(3)}}();let tf="#4fa94d",tm={"aria-busy":!0,role:"progressbar"},tg=tp.div` 195 display: ${e=>e.$visible?"flex":"none"}; 196`,ty=th` 19712.5% { 198 stroke-dasharray: ${33.98873199462888}px, ${242.776657104492}px; 199 stroke-dashoffset: -${26.70543228149412}px; 200} 20143.75% { 202 stroke-dasharray: ${84.97182998657219}px, ${242.776657104492}px; 203 stroke-dashoffset: -${84.97182998657219}px; 204} 205100% { 206 stroke-dasharray: ${2.42776657104492}px, ${242.776657104492}px; 207 stroke-dashoffset: -${240.34889053344708}px; 208} 209`;tp.path` 210 stroke-dasharray: ${2.42776657104492}px, ${242.776657104492}; 211 stroke-dashoffset: 0; 212 animation: ${ty} ${1.6}s linear infinite; 213`;let tv=th` 214to { 215 transform: rotate(360deg); 216 } 217`;tp.svg` 218 animation: ${tv} 0.75s steps(12, end) infinite; 219 animation-duration: 0.75s; 220`,tp.polyline` 221 stroke-width: ${e=>e.width}px; 222 stroke-linecap: round; 223 224 &:nth-child(12n + 0) { 225 stroke-opacity: 0.08; 226 } 227 228 &:nth-child(12n + 1) { 229 stroke-opacity: 0.17; 230 } 231 232 &:nth-child(12n + 2) { 233 stroke-opacity: 0.25; 234 } 235 236 &:nth-child(12n + 3) { 237 stroke-opacity: 0.33; 238 } 239 240 &:nth-child(12n + 4) { 241 stroke-opacity: 0.42; 242 } 243 244 &:nth-child(12n + 5) { 245 stroke-opacity: 0.5; 246 } 247 248 &:nth-child(12n + 6) { 249 stroke-opacity: 0.58; 250 } 251 252 &:nth-child(12n + 7) { 253 stroke-opacity: 0.66; 254 } 255 256 &:nth-child(12n + 8) { 257 stroke-opacity: 0.75; 258 } 259 260 &:nth-child(12n + 9) { 261 stroke-opacity: 0.83; 262 } 263 264 &:nth-child(12n + 11) { 265 stroke-opacity: 0.92; 266 } 267`;let tb=({height:e=80,width:t=80,strokeWidth:n=2,radius:i=1,color:a=tf,ariaLabel:o="tail-spin-loading",wrapperStyle:s,wrapperClass:l,visible:c=!0})=>{let u=parseInt(String(n)),d=u+36,p=u/2,h=p+parseInt(String(i))-1;return(0,r.jsx)(tg,{style:s,$visible:c,className:l,"data-testid":"tail-spin-loading","aria-label":o,...tm,children:(0,r.jsxs)("svg",{width:t,height:e,viewBox:`0 0 ${d} ${d}`,xmlns:"http://www.w3.org/2000/svg","data-testid":"tail-spin-svg",children:[(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{x1:"8.042%",y1:"0%",x2:"65.682%",y2:"23.865%",id:"a",children:[(0,r.jsx)("stop",{stopColor:a,stopOpacity:"0",offset:"0%"}),(0,r.jsx)("stop",{stopColor:a,stopOpacity:".631",offset:"63.146%"}),(0,r.jsx)("stop",{stopColor:a,offset:"100%"})]})}),(0,r.jsx)("g",{fill:"none",fillRule:"evenodd",children:(0,r.jsxs)("g",{transform:`translate(${p} ${p})`,children:[(0,r.jsx)("path",{d:"M36 18c0-9.94-8.06-18-18-18",id:"Oval-2",stroke:a,strokeWidth:n,children:(0,r.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"})}),(0,r.jsx)("circle",{fill:"#fff",cx:"36",cy:"18",r:h,children:(0,r.jsx)("animateTransform",{attributeName:"transform",type:"rotate",from:"0 18 18",to:"360 18 18",dur:"0.9s",repeatCount:"indefinite"})})]})})]})})},tx=th` 268to { 269 stroke-dashoffset: 136; 270 } 271`;tp.polygon` 272 stroke-dasharray: 17; 273 animation: ${tx} 2.5s cubic-bezier(0.35, 0.04, 0.63, 0.95) infinite; 274`,tp.svg` 275 transform-origin: 50% 65%; 276`},96897:(e,t,n)=>{"use strict";var r=n(70453),i=n(30041),a=n(30592)(),o=n(75795),s=n(69675),l=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&o){var u=o(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(a?i(e,"length",t,!0,!0):i(e,"length",t)),e}},96940:function(e,t,n){var r;r=function(){"use strict";var e=Function.prototype.toString,t=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,s=Object.getPrototypeOf,l=Object.prototype,c=l.hasOwnProperty,u=l.propertyIsEnumerable,d="function"==typeof o,p="function"==typeof WeakMap,h=function(){if(p)return function(){return new WeakMap};var e=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}();return function(){return new e}}(),f=function(n,r){var i=n.__proto__||s(n);if(!i)return t(null);var a=i.constructor;if(a===r.Object)return i===r.Object.prototype?{}:t(i);if(~e.call(a).indexOf("[native code]"))try{return new a}catch(e){}return t(i)},m=function(e,t,n,r){var i=f(e,t);for(var a in r.set(e,i),e)c.call(e,a)&&(i[a]=n(e[a],r));if(d)for(var s=o(e),l=0,p=s.length,h=void 0;l<p;++l)h=s[l],u.call(e,h)&&(i[h]=n(e[h],r));return i},g=function(e,t,n,s){var l=f(e,t);s.set(e,l);for(var c=d?a(e).concat(o(e)):a(e),u=0,p=c.length,h=void 0,m=void 0;u<p;++u)if("callee"!==(h=c[u])&&"caller"!==h){if(m=i(e,h)){m.get||m.set||(m.value=n(e[h],s));try{r(l,h,m)}catch(e){l[h]=m.value}}else l[h]=n(e[h],s)}return l},y=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},v=Array.isArray,b=Object.getPrototypeOf,x=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function w(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||x,i=n?g:m,a=function(e,t){if(!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);
276var o,s=e.__proto__||b(e),l=s&&s.constructor;if(!l||l===r.Object)return i(e,r,a,t);if(v(e)){if(n)return g(e,r,a,t);o=new l,t.set(e,o);for(var c=0,u=e.length;c<u;++c)o[c]=a(e[c],t);return o}if(e instanceof r.Date)return new l(e.getTime());if(e instanceof r.RegExp)return(o=new l(e.source,e.flags||y(e))).lastIndex=e.lastIndex,o;if(r.Map&&e instanceof r.Map)return o=new l,t.set(e,o),e.forEach(function(e,n){o.set(n,a(e,t))}),o;if(r.Set&&e instanceof r.Set)return o=new l,t.set(e,o),e.forEach(function(e){o.add(a(e,t))}),o;if(r.Blob&&e instanceof r.Blob)return e.slice(0,e.size,e.type);if(r.Buffer&&r.Buffer.isBuffer(e))return o=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(e.length):new l(e.length),t.set(e,o),e.copy(o),o;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(e))return o=new l(e.buffer.slice(0)),t.set(e,o),o;if(e instanceof r.ArrayBuffer)return o=e.slice(0),t.set(e,o),o}return"function"==typeof e.then||e instanceof Error||r.WeakMap&&e instanceof r.WeakMap||r.WeakSet&&e instanceof r.WeakSet?e:i(e,r,a,t)};return a(e,h())}return w.default=w,w.strict=function(e,t){return w(e,{isStrict:!0,realm:t?t.realm:void 0})},w},e.exports=r()},97142:function(e,t,n){"use strict";let r;var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=t.GoogleTagManager=void 0;let a=n(58775),o=n(73884),s=i(n(96999));t.GoogleTagManager=function(e){let{gtmId:t,dataLayerName:n="dataLayer",auth:i,preview:l,dataLayer:c}=e;void 0===r&&(r=n);let u="dataLayer"!==n?`&l=${n}`:"",d=i?`>m_auth=${i}`:"",p=l?`>m_preview=${l}>m_cookies_win=x`:"";return(0,o.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:` 277 (function(w,l){ 278 w[l]=w[l]||[]; 279 w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'}); 280 ${c?`w[l].push(${JSON.stringify(c)})`:""} 281 })(window,'${n}');`}}),(0,a.jsx)(s.default,{id:"_next-gtm","data-ntpc":"GTM",src:`https://www.googletagmanager.com/gtm.js?id=${t}${u}${d}${p}`})]})},t.sendGTMEvent=e=>{if(void 0===r){console.warn("@next/third-parties: GTM has not been initialized");return}window[r]?window[r].push(e):console.warn(`@next/third-parties: GTM dataLayer ${r} does not exist`)}},97346:e=>{"use strict";e.exports=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}},97415:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var r=n(48062),i=n(59836),a=n(22311);function o(e,t,n,o){for(let n in(0,i.e)(e,t,void 0,o),t.attrs)e.setAttribute(a.e.has(n)?n:(0,r.I)(n),t.attrs[n])}},97471:(e,t,n)=>{"use strict";function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},97619:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(58775),i=n(9483),a=n(73884),o=n(10297),s=n(8338),l=n(34164);let c=function({children:e,modalId:t,onClose:n,isAspectRatioRemoved:c,className:u="",overlayClassName:d="",contentClassName:p="",updateModalState:h=()=>{}}){let[f,m]=(0,a.useState)(!1),g=(0,o.useRouter)(),y=(0,a.useCallback)(()=>{g.push(g?.asPath?.split("#")[0],void 0,{shallow:!0}),m(!1),h(!1),n&&n()},[g,n]);return((0,a.useEffect)(()=>{let e=()=>{m(window.location.hash===`#${t}`),h(window.location.hash===`#${t}`)},n=e=>{"Escape"===e.key&&f&&(y(),h(!1))};return e(),window.addEventListener("hashchange",e),document.addEventListener("keydown",n),()=>{window.removeEventListener("hashchange",e),document.removeEventListener("keydown",n)}},[t,f,y]),f)?(0,r.jsxs)(s.P.div,{className:(0,l.A)("fixed inset-0 z-[60] overflow-y-auto overflow-x-hidden outline-none transition-[transform,opacity] duration-500 focus:outline-none",f?"pointer-events-auto scale-100 opacity-100":"pointer-events-none scale-110 opacity-0",u),role:"dialog","aria-modal":"true",children:[(0,r.jsx)(s.P.div,{initial:{backgroundColor:"rgba(0, 0, 0, 0)"},animate:{backgroundColor:"rgba(0, 0, 0, 0.8)"},exit:{backgroundColor:"rgba(0, 0, 0, 0)"},className:(0,l.A)("fixed inset-0 cursor-pointer bg-black opacity-80",d),onClick:y}
281),(0,r.jsx)("div",{className:"pointer-events-none relative z-[60] flex min-h-full items-center justify-center px-12 py-12",children:(0,r.jsx)(s.P.div,{initial:{opacity:0,transform:"translateY(-80px)"},animate:{opacity:1,transform:"translateY(0px)"},exit:{opacity:0,transform:"translateY(-80px)"},className:(0,l.A)("relative flex max-h-[77%] w-full flex-col overflow-hidden rounded-xl align-middle outline-none focus:outline-none",!c&&"aspect-[16/9]",f?"pointer-events-auto":"pointer-events-none",p),children:(0,r.jsx)(s.P.div,{className:"h-full w-full flex-auto rounded-xl object-cover",initial:{opacity:0},animate:{opacity:1,transition:{delay:.2}},exit:{opacity:0},children:e})})}),(0,r.jsx)("button",{type:"button","aria-label":"Close Modal",onClick:y,"data-modal-close":t,className:"absolute right-2 top-2 z-[1000] w-8 text-white transition-colors duration-300",children:(0,r.jsx)(i.US,{})})]}):null}},97784:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/Quote","definitions":{"Quote":{"type":"object","properties":{"nodeType":{"type":"string","enum":["blockquote"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"$ref":"#/definitions/Paragraph"}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Paragraph":{"type":"object","properties":{"nodeType":{"type":"string","enum":["paragraph"]},"data":{"type":"object","properties":{}},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},97904:e=>{"use strict";e.exports=JSON.parse('{"$ref":"#/definitions/ResourceLinkBlock","definitions":{"ResourceLinkBlock":{"type":"object","properties":{"nodeType":{"type":"string","enum":["embedded-resource-block"]},"data":{"type":"object","properties":{"target":{"$ref":"#/definitions/ResourceLink"}},"additionalProperties":false,"required":["target"]},"content":{"maxItems":0,"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}}},"additionalProperties":false,"required":["content","data","nodeType"]},"ResourceLink":{"type":"object","properties":{"sys":{"type":"object","properties":{"type":{"type":"string","enum":["ResourceLink"]},"linkType":{"type":"string","enum":["Contentful:Entry"]},"urn":{"type":"string"}},"additionalProperties":false,"required":["linkType","type","urn"]}},"additionalProperties":false,"required":["sys"]},"Inline":{"type":"object","properties":{"nodeType":{"$ref":"#/definitions/INLINES"},"content":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Inline"},{"$ref":"#/definitions/Text"}]}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["content","data","nodeType"]},"INLINES":{"description":"Map of all Contentful inline types. Inline contain inline or text nodes.","type":"string","enum":["asset-hyperlink","embedded-entry-inline","embedded-resource-inline","entry-hyperlink","hyperlink","resource-hyperlink"]},"Text":{"type":"object","properties":{"nodeType":{"type":"string","enum":["text"]},"value":{"type":"string"},"marks":{"type":"array","items":{"$ref":"#/definitions/Mark"}},"data":{"$ref":"#/definitions/NodeData"}},"additionalProperties":false,"required":["data","marks","nodeType","value"]},"Mark":{"type":"object","properties":{"type":{"type":"string"}},"additionalProperties":false,"required":["type"]},"NodeData":{"additionalProperties":true,"type":"object"}},"$schema":"http://json-schema.org/draft-07/schema#"}')},98037:function(e,t,n){var r;r=function(){"use strict";var e=Function.prototype.toString,t=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,s=Object.getPrototypeOf,l=Object.prototype,c=l.hasOwnProperty,u=l.propertyIsEnumerable,d="function"==typeof o,p="function"==typeof WeakMap,h=function(){if(p)return function(){return new WeakMap};var e=function(){function e(){this._keys=[],this._values=[]}return e.prototype.has=function(e){return!!~this._keys.indexOf(e)},e.prototype.get=function(e){return this._values[this._keys.indexOf(e)]},e.prototype.set=function(e,t){this._keys.push(e),this._values.push(t)},e}();return function(){return new e}}(),f=function(n,r){var i=n.__proto__||s(n);if(!i)return t(null);var a=i.constructor;if(a===r.Object)return i===r.Object.prototype?{}:t(i);if(~e.call(a).indexOf("[native code]"))try{return new a}catch(e){}return t(i)},m=function(e,t,n,r){var i=f(e,t);for(var a in r.set(e,i),e)c.call(e,a)&&(i[a]=n(e[a],r));if(d)for(var s=o(e),l=0,p=s.length,h=void 0;l<p;++l)h=s[l],u.call(e,h)&&(i[h]=n(e[h],r));return i},g=function(e,t,n,s){var l=f(e,t);s.set(e,l);for(var c=d?a(e).concat(o(e)):a(e),u=0,p=c.length,h=void 0,m=void 0;u<p;++u)if("callee"!==(h=c[u])&&"caller"!==h){if(m=i(e,h)){m.get||m.set||(m.value=n(e[h],s));try{r(l,h,m)}catch(e){l[h]=m.value}}else l[h]=n(e[h],s)}return l},y=function(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},v=Array.isArray,b=Object.getPrototypeOf,x=function(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:(console&&console.error&&console.error('Unable to locate global object, returning "this".'),this)}();function w(e,t){var n=!!(t&&t.isStrict),r=t&&t.realm||x,i=n?g:m,a=function(e,t){if(!e||"object"!=typeof e)return e;if(t.has(e))return t.get(e);
281var o,s=e.__proto__||b(e),l=s&&s.constructor;if(!l||l===r.Object)return i(e,r,a,t);if(v(e)){if(n)return g(e,r,a,t);o=new l,t.set(e,o);for(var c=0,u=e.length;c<u;++c)o[c]=a(e[c],t);return o}if(e instanceof r.Date)return new l(e.getTime());if(e instanceof r.RegExp)return(o=new l(e.source,e.flags||y(e))).lastIndex=e.lastIndex,o;if(r.Map&&e instanceof r.Map)return o=new l,t.set(e,o),e.forEach(function(e,n){o.set(n,a(e,t))}),o;if(r.Set&&e instanceof r.Set)return o=new l,t.set(e,o),e.forEach(function(e){o.add(a(e,t))}),o;if(r.Blob&&e instanceof r.Blob)return e.slice(0,e.size,e.type);if(r.Buffer&&r.Buffer.isBuffer(e))return o=r.Buffer.allocUnsafe?r.Buffer.allocUnsafe(e.length):new l(e.length),t.set(e,o),e.copy(o),o;if(r.ArrayBuffer){if(r.ArrayBuffer.isView(e))return o=new l(e.buffer.slice(0)),t.set(e,o),o;if(e instanceof r.ArrayBuffer)return o=e.slice(0),t.set(e,o),o}return"function"==typeof e.then||e instanceof Error||r.WeakMap&&e instanceof r.WeakMap||r.WeakSet&&e instanceof r.WeakSet?e:i(e,r,a,t)};return a(e,h())}return w.default=w,w.strict=function(e,t){return w(e,{isStrict:!0,realm:t?t.realm:void 0})},w},e.exports=r()},98288:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});let r="undefined"!=typeof window},98636:(e,t,n)=>{"use strict";var r=n(920),i=n(37720),a=n(74765),o=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,p=a.default,h={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:i.encode,encodeValuesOnly:!1,format:p,formatter:a.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},f={},m=function e(t,n,a,o,s,c,d,p,m,g,y,v,b,x,w,j,C,E){for(var k,S,A=t,T=E,_=0,L=!1;void 0!==(T=T.get(f))&&!L;){var N=T.get(t);if(_+=1,void 0!==N){if(N===_)throw RangeError("Cyclic object value");L=!0}void 0===T.get(f)&&(_=0)}if("function"==typeof g?A=g(n,A):A instanceof Date?A=b(A):"comma"===a&&l(A)&&(A=i.maybeMap(A,function(e){return e instanceof Date?b(e):e})),null===A){if(c)return m&&!j?m(n,h.encoder,C,"key",x):n;A=""}if("string"==typeof(k=A)||"number"==typeof k||"boolean"==typeof k||"symbol"==typeof k||"bigint"==typeof k||i.isBuffer(A))return m?[w(j?n:m(n,h.encoder,C,"key",x))+"="+w(m(A,h.encoder,C,"value",x))]:[w(n)+"="+w(String(A))];var P=[];if(void 0===A)return P;if("comma"===a&&l(A))j&&m&&(A=i.maybeMap(A,m)),S=[{value:A.length>0?A.join(",")||null:void 0}];else if(l(g))S=g;else{var I=Object.keys(A);S=y?I.sort(y):I}var M=p?n.replace(/\./g,"%2E"):n,O=o&&l(A)&&1===A.length?M+"[]":M;if(s&&l(A)&&0===A.length)return O+"[]";for(var R=0;R<S.length;++R){var D=S[R],B="object"==typeof D&&void 0!==D.value?D.value:A[D];if(!d||null!==B){var F=v&&p?D.replace(/\./g,"%2E"):D,H=l(A)?"function"==typeof a?a(O,F):O:O+(v?"."+F:"["+F+"]");E.set(t,_);var V=r();V.set(f,E),u(P,e(B,H,a,o,s,c,d,p,"comma"===a&&j&&l(A)?null:m,g,y,v,b,x,w,j,C,V))}}return P},g=function(e){if(!e)return h;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw TypeError("Encoder has to be a function.");var t,n=e.charset||h.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var r=a.default;if(void 0!==e.format){if(!o.call(a.formatters,e.format))throw TypeError("Unknown format option provided.");r=e.format}var i=a.formatters[r],c=h.filter;if(("function"==typeof e.filter||l(e.filter))&&(c=e.filter),t=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":h.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||h.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:h.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:
281h.allowEmptyArrays,arrayFormat:t,charset:n,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:h.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?h.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:h.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:h.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:h.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:h.encodeValuesOnly,filter:c,format:r,formatter:i,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:h.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:h.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:h.strictNullHandling}};e.exports=function(e,t){var n,i=e,a=g(t);"function"==typeof a.filter?i=(0,a.filter)("",i):l(a.filter)&&(n=a.filter);var o=[];if("object"!=typeof i||null===i)return"";var c=s[a.arrayFormat],d="comma"===c&&a.commaRoundTrip;n||(n=Object.keys(i)),a.sort&&n.sort(a.sort);for(var p=r(),h=0;h<n.length;++h){var f=n[h];a.skipNulls&&null===i[f]||u(o,m(i[f],f,c,d,a.allowEmptyArrays,a.strictNullHandling,a.skipNulls,a.encodeDotInKeys,a.encode?a.encoder:null,a.filter,a.sort,a.allowDots,a.serializeDate,a.format,a.formatter,a.encodeValuesOnly,a.charset,p))}var y=o.join(a.delimiter),v=!0===a.addQueryPrefix?"?":"";return a.charsetSentinel&&("iso-8859-1"===a.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),y.length>0?v+y:""}},99627:(e,t,n)=>{"use strict";n.d(t,{oz:()=>ng});var r={};n.r(r),n.d(r,{boolean:()=>y,booleanish:()=>v,commaOrSpaceSeparated:()=>C,commaSeparated:()=>j,number:()=>x,overloadedBoolean:()=>b,spaceSeparated:()=>w});var i={};n.r(i),n.d(i,{attentionMarkers:()=>ty,contentInitial:()=>td,disable:()=>tv,document:()=>tu,flow:()=>th,flowInitial:()=>tp,insideSpan:()=>tg,string:()=>tf,text:()=>tm});var a=n(97471);let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l={};function c(e,t){return((t||l).jsx?s:o).test(e)}let u=/[ \t\n\f\r]/g;function d(e){return""===e.replace(u,"")}class p{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}}function h(e,t){let n={},r={},i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new p(n,r,t)}function f(e){return e.toLowerCase()}p.prototype.property={},p.prototype.normal={},p.prototype.space=null;class m{constructor(e,t){this.property=e,this.attribute=t}}m.prototype.space=null,m.prototype.boolean=!1,m.prototype.booleanish=!1,m.prototype.overloadedBoolean=!1,m.prototype.number=!1,m.prototype.commaSeparated=!1,m.prototype.spaceSeparated=!1,m.prototype.commaOrSpaceSeparated=!1,m.prototype.mustUseProperty=!1,m.prototype.defined=!1;let g=0,y=E(),v=E(),b=E(),x=E(),w=E(),j=E(),C=E();function E(){return 2**++g}let k=Object.keys(r);class S extends m{constructor(e,t,n,i){let a=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",i),"number"==typeof n)for(;++a<k.length;){let e=k[a];!function(e,t,n){n&&(e[t]=n)}(this,k[a],(n&r[e])===r[e])}}}S.prototype.defined=!0;let A={}.hasOwnProperty;function T(e){let t;let n={},r={};for(t in e.properties)if(A.call(e.properties,t)){let i=e.properties[t],a=new S(t,e.transform(e.attributes||{},t),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(t)&&(a.mustUseProperty=!0),n[t]=a,r[f(t)]=t,r[f(a.attribute)]=t}return new p(n,r,e.space)}let _=T({space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),L=T({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function N(e,t){return t in e?e[t]:t}function P(e,t){return N(e,t.toLowerCase())}let I=T({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:P,properties:{xmlns:null,xmlnsXLink:null}}),M=T({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:x,ariaColIndex:x,ariaColSpan:x,ariaControl
281s:w,ariaCurrent:null,ariaDescribedBy:w,ariaDetails:null,ariaDisabled:v,ariaDropEffect:w,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:w,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:w,ariaLevel:x,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:w,ariaPlaceholder:null,ariaPosInSet:x,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:w,ariaRowCount:x,ariaRowIndex:x,ariaRowSpan:x,ariaSelected:v,ariaSetSize:x,ariaSort:null,ariaValueMax:x,ariaValueMin:x,ariaValueNow:x,ariaValueText:null,role:null}}),O=T({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:P,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:j,acceptCharset:w,accessKey:w,action:null,allow:null,allowFullScreen:y,allowPaymentRequest:y,allowUserMedia:y,alt:null,as:null,async:y,autoCapitalize:null,autoComplete:w,autoFocus:y,autoPlay:y,blocking:w,capture:null,charSet:null,checked:y,cite:null,className:w,cols:x,colSpan:null,content:null,contentEditable:v,controls:y,controlsList:w,coords:x|j,crossOrigin:null,data:null,dateTime:null,decoding:null,default:y,defer:y,dir:null,dirName:null,disabled:y,download:b,draggable:v,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:y,formTarget:null,headers:w,height:x,hidden:y,high:x,href:null,hrefLang:null,htmlFor:w,httpEquiv:w,id:null,imageSizes:null,imageSrcSet:null,inert:y,inputMode:null,integrity:null,is:null,isMap:y,itemId:null,itemProp:w,itemRef:w,itemScope:y,itemType:w,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:y,low:x,manifest:null,max:null,maxLength:x,media:null,method:null,min:null,minLength:x,multiple:y,muted:y,name:null,nonce:null,noModule:y,noValidate:y,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:y,optimum:x,pattern:null,ping:w,placeholder:null,playsInline:y,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:y,referrerPolicy:null,rel:w,required:y,reversed:y,rows:x,rowSpan:x,sandbox:w,scope:null,scoped:y,seamless:y,selected:y,shadowRootClonable:y,shadowRootDelegatesFocus:y,shadowRootMode:null,shape:null,size:x,sizes:null,slot:null,span:x,spellCheck:v,src:null,srcDoc:null,srcLang:null,srcSet:null,start:x,step:null,style:null,tabIndex:x,target:null,title:null,translate:null,type:null,typeMustMatch:y,useMap:null,value:v,width:x,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:w,axis:null,background:null,bgColor:null,border:x,borderColor:null,bottomMargin:x,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:y,declare:y,event:null,face:null,frame:null,frameBorder:null,hSpace:x,leftMargin:x,link:null,longDesc:null,lowSrc:null,marginHeight:x,marginWidth:x,noResize:y,noHref:y,noShade:y,noWrap:y,object:null,profile:null,prompt:null,rev:null,rightMargin:x,rules:null,scheme:null,scrolling:v,standby:null,summary:null,text:null,topMargin:x,valueType:null,version:null,vAlign:null,vLink:null,vSpace:x,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:y,disableRemotePlayback:y,prefix:null,property:null,results:x,security:null,unselectable:null}}),R=T({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
281dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:N,properties:{about:C,accentHeight:x,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:x,amplitude:x,arabicForm:null,ascent:x,attributeName:null,attributeType:null,azimuth:x,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:x,by:null,calcMode:null,capHeight:x,className:w,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
281dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:x,diffuseConstant:x,direction:null,display:null,dur:null,divisor:x,dominantBaseline:null,download:y,dx:null,dy:null,edgeMode:null,editable:null,elevation:x,enableBackground:null,end:null,event:null,exponent:x,externalResourcesRequired:null,fill:null,fillOpacity:x,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:j,g2:j,glyphName:j,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:x,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:x,horizOriginX:x,horizOriginY:x,id:null,ideographic:x,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:x,k:x,k1:x,k2:x,k3:x,k4:x,kernelMatrix:C,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:x,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:x,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:x,overlineThickness:x,paintOrder:null,panose1:null,path:null,pathLength:x,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:w,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:x,pointsAtY:x,pointsAtZ:x,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:C,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:C,rev:C,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:C,requiredFeatures:C,requiredFonts:C,requiredFormats:C,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:x,specularExponent:x,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:x,strikethroughThickness:x,string:null,stroke:null,strokeDashArray:C,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:x,strokeOpacity:x,strokeWidth:null,style:null,surfaceScale:x,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:C,tabIndex:x,tableValues:null,target:null,targetX:x,targetY:x,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:C,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:x,underlineThickness:x,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:x,values:null,vAlphabetic:x,vMathematical:x,vectorEffect:null,vHanging:x,vIdeographic:x,version:null,vertAdvY:x,vertOriginX:x,vertOriginY:x,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:x,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),D=h([L,_,I,M,O],"html"),B=h([L,_,I,M,R],"svg"),F=/^data[-\w.:]+$/i,H=/-[a-z]/g,V=/[A-Z]/g;function $(e){return"-"+e.toLowerCase()}function U(e){return e.charAt(1).toUpperCase()}let z={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var W=n(51133);let G=W.default||W,q=Y("end"),K=Y("start");function Y(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function X(e){return e&&"object"==typeof e?"position"in e||"type"in e?J(e.position):"start"in e||"end"in e?J(e):"line"in e||"column"in e?Z(e):"":""}function Z(e){return Q(e&&e.line)+":"+Q(e&&e.column)}function J(e){return Z(e&&e.start)+"-"+Z(e&&e.end)}function Q(e){return e&&"number"==typeof e?e:1}
281class ee extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},a=!1;if(t&&(i="line"in t&&"column"in t?{place:t}:"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(a=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=o?o.line:void 0,this.name=X(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}ee.prototype.file="",ee.prototype.name="",ee.prototype.reason="",ee.prototype.message="",ee.prototype.stack="",ee.prototype.column=void 0,ee.prototype.line=void 0,ee.prototype.ancestors=void 0,ee.prototype.cause=void 0,ee.prototype.fatal=void 0,ee.prototype.place=void 0,ee.prototype.ruleId=void 0,ee.prototype.source=void 0;let et={}.hasOwnProperty,en=new Map,er=/[A-Z]/g,ei=/-([a-z])/g,ea=new Set(["table","tbody","thead","tfoot","tr"]),eo=new Set(["td","th"]),es="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function el(e,t,n){return"element"===t.type?function(e,t,n){let r=e.schema,i=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(i=B,e.schema=i),e.ancestors.push(t);let a=ep(e,t.tagName,!1),o=function(e,t){let n,r;let i={};for(r in t.properties)if("children"!==r&&et.call(t.properties,r)){let a=function(e,t,n){let r=function(e,t){let n=f(t),r=t,i=m;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&F.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(H,U);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!H.test(e)){let n=e.replace(V,$);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=S}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){let n={};try{G(t,function(e,t){let r=e;"--"!==r.slice(0,2)&&("-ms-"===r.slice(0,4)&&(r="ms-"+r.slice(4)),r=r.replace(ei,ef)),n[r]=t})}catch(t){if(!e.ignoreInvalidStyle){let n=new ee("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:t,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=es+"#cannot-parse-style-attribute",n}}return n}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t;let n={};for(t in e)et.call(e,t)&&(n[function(e){let t=e.replace(er,em);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?z[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(a){let[r,o]=a;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof o&&eo.has(t.tagName)?n=o:i[r]=o}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(e,t),s=ed(e,t);return ea.has(t.tagName)&&(s=s.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&d(e.value):d(e))})),ec(e,o,a,t),eu(o,s),e.ancestors.pop(),e.schema=r,e.create(t,a,o,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,a.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}eh(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema,i=r;"svg"===t.name&&"html"===r.space&&(i=B,e.schema=i),e.ancestors.push(t);let o=null===t.name?e.Fragment:ep(e,t.name,!0),s=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type){if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,a.ok)("ExpressionStatement"===t.type);let i=t.expression;
281(0,a.ok)("ObjectExpression"===i.type);let o=i.properties[0];(0,a.ok)("SpreadElement"===o.type),Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else eh(e,t.position)}else{let i;let o=r.name;if(r.value&&"object"==typeof r.value){if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,a.ok)("ExpressionStatement"===t.type),i=e.evaluater.evaluateExpression(t.expression)}else eh(e,t.position)}else i=null===r.value||r.value;n[o]=i}return n}(e,t),l=ed(e,t);return ec(e,s,o,t),eu(s,l),e.ancestors.pop(),e.schema=r,e.create(t,o,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);eh(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return eu(r,ed(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?t.value:void 0}function ec(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function eu(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function ed(e,t){let n=[],r=-1,i=e.passKeys?new Map:en;for(;++r<t.children.length;){let a;let o=t.children[r];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let s=el(e,o,a);void 0!==s&&n.push(s)}return n}function ep(e,t,n){let r;if(n){if(t.includes(".")){let e;let n=t.split("."),i=-1;for(;++i<n.length;){let t=c(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}(0,a.ok)(e,"always a result"),r=e}else r=c(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t}}else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return et.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);eh(e)}function eh(e,t){let n=new ee("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=es+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ef(e,t){return t.toUpperCase()}function em(e){return"-"+e.toLowerCase()}let eg={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ey=n(58775);n(73884);var ev=n(72534),eb=n(82777);class ex{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),Number.POSITIVE_INFINITY);return n&&ew(this.left,n),r.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),ew(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ew(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length)){if(e<this.left.length){let t=this.left.splice(e,Number.POSITIVE_INFINITY);ew(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);ew(this.left,t.reverse())}}}}function ew(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function ej(e){let t,n,r,i,a,o,s;let l={},c=-1,u=new ex(e);for(;++c<u.length;){for(;(c in l);)c=l[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&((r=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[r][1].type&&(r+=2),r<o.length&&"content"===o[r][1].type))for(;++r<o.length&&"content"!==o[r][1].type;)"chunkText"===o[r][1].type&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r;let i=e.get(t)[1],a=e.get(t)[2],o=t-1,s=[],l=i._tokenizer||a.parser[i.contentType](i.start),c=l.events,u=[],d={},p=-1,h=i,f=0,m=0,g=[0];for(;h;){for(;e.get(++o)[1]!==h;);s.push(o),!h._tokenizer&&(n=a.sliceStream(h),h.next||n.push(null),r&&l.defineSki
281p(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=h,h=h.next}for(h=i;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(m=p+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),p=g.length;p--;){let t=c.slice(g[p],g[p+1]),n=s.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),p=-1;++p<u.length;)d[f+u[p][0]]=f+u[p][1],f+=u[p][1]-u[p][0]-1;return d}(u,c)),c=l[c],s=!0);else if(t[1]._container){for(r=c,n=void 0;r--;)if("lineEnding"===(i=u.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(u.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else break;n&&(t[1].end=Object.assign({},u.get(n)[1].start),(a=u.slice(n,c)).unshift(t),u.splice(n,c-n+1,a))}}return(0,eb.m)(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!s}var eC=n(5389),eE=n(40433),ek=n(40574);let eS={tokenize:function(e){let t;let n=e.attempt(this.parser.constructs.contentInitial,function(t){if(null===t){e.consume(t);return}return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,eE.N)(e,n,"linePrefix")},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,ek.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},eA={tokenize:function(e){let t,n,r;let i=this,a=[],o=0;return s;function s(t){if(o<a.length){let n=a[o];return i.containerState=n[1],e.attempt(n[0].continuation,l,c)(t)}return c(t)}function l(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&y();let r=i.events.length,a=r;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){n=i.events[a][1].end;break}g(o);let s=r;for(;s<i.events.length;)i.events[s][1].end=Object.assign({},n),s++;return(0,eb.m)(i.events,a+1,0,i.events.slice(r)),i.events.length=s,c(e)}return s(e)}function c(n){if(o===a.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return f(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(eT,u,d)(n)}function u(e){return t&&y(),g(o),p(e)}function d(e){return i.parser.lazy[i.now().line]=o!==a.length,r=i.now().offset,f(e)}function p(t){return i.containerState={},e.attempt(eT,h,f)(t)}function h(e){return o++,a.push([i.currentConstruct,i.containerState]),p(e)}function f(r){if(null===r){t&&y(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{contentType:"flow",previous:n,_tokenizer:t}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return(0,ek.HP)(n)?(e.consume(n),m(e.exit("chunkFlow")),o=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function m(e,a){let s=i.sliceStream(e);if(a&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,n,a=t.events.length;for(;a--;)if(t.events[a][1].start.offset<r&&(!t.events[a][1].end||t.events[a][1].end.offset>r))return;let s=i.events.length,l=s;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(g(o),a=s;a<i.events.length;)i.events[a][1].end=Object.assign({},n),a++;(0,eb.m)(i.events,l+1,0,i.events.slice(s)),i.events.length=a}}function g(t){let n=a.length;for(;n-- >t;){let t=a[n];i.containerState=t[1],t[0].exit.call(i,e)}a.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},eT={tokenize:function(e,t,n){return(0,eE.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var e_=n(9283);let eL={tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,ek.HP)(t)?e.check(eN,a,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){return ej(e),e}},eN={tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
281(0,eE.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,ek.HP)(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}},partial:!0},eP={tokenize:function(e){let t=this,n=e.attempt(e_.B,function(r){if(null===r){e.consume(r);return}return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n},e.attempt(this.parser.constructs.flowInitial,r,(0,eE.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(eL,r)),"linePrefix")));return n;function r(r){if(null===r){e.consume(r);return}return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n}}},eI={resolveAll:eD()},eM=eR("string"),eO=eR("text");function eR(e){return{tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,o);return a;function a(e){return l(e)?i(e):o(e)}function o(e){if(null===e){t.consume(e);return}return t.enter("data"),t.consume(e),s}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},resolveAll:eD("text"===e?eB:void 0)}}function eD(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function eB(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r;let i=e[n-1][1],a=t.sliceStream(i),o=a.length,s=-1,l=0;for(;o--;){let e=a[o];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{o++;break}}if(l){let a={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-l,offset:i.end.offset-l,_index:i.start._index+o,_bufferIndex:o?s:i.start._bufferIndex+s},end:Object.assign({},i.end)};i.end=Object.assign({},a.start),i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),n+=2)}n++}return e}var eF=n(45535);let eH={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(a){return e.enter("thematicBreak"),r=a,function a(o){return o===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,ek.On)(n)?(0,eE.N)(e,a,"whitespace")(n):a(n))}(o)):i>=3&&(null===o||(0,ek.HP)(o))?(e.exit("thematicBreak"),t(o)):n(o)}(a)}}},eV={name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,ek.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(eH,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,ek.BM)(i)&&++o<10?(e.consume(i),t):(!r.interrupt||o<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),s(i)):n(i)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(e_.B,r.interrupt?n:l,e.attempt(e$,u,c))}
281function l(e){return r.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return(0,ek.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(e_.B,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,eE.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,ek.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eU,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,eE.N)(e,e.attempt(eV,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)}},e$={tokenize:function(e,t,n){let r=this;return(0,eE.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,ek.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},eU={tokenize:function(e,t,n){let r=this;return(0,eE.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)},partial:!0},ez={name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,ek.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,ek.On)(t)?(0,eE.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(ez,t,n)(r)}}},exit:function(e){e.exit("blockQuote")}};function eW(e,t,n,r,i,a,o,s,l){let c=l||Number.POSITIVE_INFINITY,u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),d):null===t||32===t||41===t||(0,ek.JQ)(t)?n(t):(e.enter(r),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t))};function d(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||(0,ek.HP)(t)?n(t):(e.consume(t),92===t?h:p)}function h(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(i){return!u&&(null===i||41===i||(0,ek.Ee)(i))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(r),t(i)):u<c&&40===i?(e.consume(i),u++,f):41===i?(e.consume(i),u--,f):null===i||32===i||40===i||(0,ek.JQ)(i)?n(i):(e.consume(i),92===i?m:f)}function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}function eG(e,t,n,r,i,a){let o;let s=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),c};function c(d){return l>999||null===d||91===d||93===d&&!o||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(a),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):(0,ek.HP)(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(d))}function u(t){return null===t||91===t||93===t||(0,ek.HP)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!(0,ek.On)(t)),92===t?d:u)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function eq(e,t,n,r,i,a){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,s):n(t)};function s(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===o?(e.exit(a),s(o)):null===t?n(t):(0,ek.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
281(0,eE.N)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||(0,ek.HP)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function eK(e,t){let n;return function r(i){return(0,ek.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,ek.On)(i)?(0,eE.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var eY=n(9638);let eX={tokenize:function(e,t,n){return function(t){return(0,ek.Ee)(t)?eK(e,r)(t):n(t)};function r(t){return eq(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,ek.On)(t)?(0,eE.N)(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,ek.HP)(e)?t(e):n(e)}},partial:!0},eZ={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,eE.N)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?a(n):(0,ek.HP)(n)?e.attempt(eJ,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,ek.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},eJ={tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,ek.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,eE.N)(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):(0,ek.HP)(e)?i(e):n(e)}},partial:!0},eQ={name:"setextUnderline",tokenize:function(e,t,n){let r;let i=this;return function(t){let o,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){o="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||o)?(e.enter("setextHeadingLine"),r=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,ek.On)(n)?(0,eE.N)(e,a,"lineSuffix")(n):a(n))}(t)):n(t)};function a(r){return null===r||(0,ek.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let o={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",o,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[i][1].end)):e[n][1]=o,e.push(["exit",o,t]),e}},e0=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],e1=["pre","script","style","textarea"],e2={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(e_.B,t,n)}},partial:!0},e3={tokenize:function(e,t,n){let r=this;return function(t){return(0,ek.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},e5={tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},e4={name:"codeFenced",tokenize:function(e,t,n){let r;let i=this,a={tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};
281function o(t){return e.enter("codeFencedFence"),(0,ek.On)(t)?(0,eE.N)(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a>=s?(e.exit("codeFencedFenceSequence"),(0,ek.On)(i)?(0,eE.N)(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||(0,ek.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0},o=0,s=0;return function(t){return function(t){let a=i.events[i.events.length-1];return o=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,r=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(s++,e.consume(i),t):s<3?n(i):(e.exit("codeFencedFenceSequence"),(0,ek.On)(i)?(0,eE.N)(e,l,"whitespace")(i):l(i))}(t)}(t)};function l(a){return null===a||(0,ek.HP)(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(e5,u,f)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,ek.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):(0,ek.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,eE.N)(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(a))}function c(t){return null===t||(0,ek.HP)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,ek.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function u(t){return e.attempt(a,f,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return o>0&&(0,ek.On)(t)?(0,eE.N)(e,h,"linePrefix",o+1)(t):h(t)}function h(t){return null===t||(0,ek.HP)(t)?e.check(e5,u,f)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,ek.HP)(n)?(e.exit("codeFlowValue"),h(n)):(e.consume(n),t)}(t))}function f(n){return e.exit("codeFenced"),t(n)}},concrete:!0},e6=document.createElement("i");function e8(e){let t="&"+e+";";e6.innerHTML=t;let n=e6.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let e7={name:"characterReference",tokenize:function(e,t,n){let r,i;let a=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=ek.lV,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=ek.ok,
281c):(e.enter("characterReferenceValue"),r=7,i=ek.BM,c(t))}function c(s){if(59===s&&o){let r=e.exit("characterReferenceValue");return i!==ek.lV||e8(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&o++<r?(e.consume(s),c):n(s)}}},e9={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,ek.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},te={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,eE.N)(e,t,"linePrefix")}}},tt={name:"labelEnd",tokenize:function(e,t,n){let r,i;let a=this,o=a.events.length;for(;o--;)if(("labelImage"===a.events[o][1].type||"labelLink"===a.events[o][1].type)&&!a.events[o][1]._balanced){r=a.events[o][1];break}return function(t){return r?r._inactive?u(t):(i=a.parser.defined.includes((0,eY.B)(a.sliceSerialize({start:r.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(tn,c,i?c:u)(t):91===t?e.attempt(tr,c,i?l:u)(t):i?c(t):u(t)}function l(t){return e.attempt(ti,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,i,a,o=e.length,s=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=o);let l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[i][1].end)},u={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[i-2][1].start)};return a=[["enter",l,t],["enter",c,t]],a=(0,eb.V)(a,e.slice(r+1,r+s+3)),a=(0,eb.V)(a,[["enter",u,t]]),a=(0,eb.V)(a,(0,eF.W)(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),a=(0,eb.V)(a,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),a=(0,eb.V)(a,e.slice(i+1)),a=(0,eb.V)(a,[["exit",l,t]]),(0,eb.m)(e,r,e.length,a),e},resolveAll:function(e){let t=-1;for(;++t<e.length;){let n=e[t][1];("labelImage"===n.type||"labelLink"===n.type||"labelEnd"===n.type)&&(e.splice(t+1,"labelImage"===n.type?4:2),n.type="data",t++)}return e}},tn={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,ek.Ee)(t)?eK(e,i)(t):i(t)}function i(t){return 41===t?c(t):eW(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return(0,ek.Ee)(t)?eK(e,s)(t):c(t)}function o(e){return n(e)}function s(t){return 34===t||39===t||40===t?eq(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return(0,ek.Ee)(t)?eK(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},tr={tokenize:function(e,t,n){let r=this;return function(t){return eG.call(r,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,eY.B)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},ti={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},ta={name:"labelStartImage",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:tt.resolveAll};var to=n(10691);let ts={name:"attention",tokenize:function(e,t){let n;let r=this.parser.constructs.attentionMarkers.null,i=this.previous,a=(0,to.S)(i);return function(o){return n=o,e.enter("attentionSequence"),function o(s){if(s===n)return e.consume(s),o;let l=e.exit("attentionSequence"),c=(0,to.S)(s),u=!c||2===c&&a||r.includes(s),d=!a||2===a&&c||r.includes(i);return l._open=!!(42===n?u:u&&(a||!d)),l._close=!!(42===n?d:d&&(c||!u)),t(s)}(o)}},resolveAll:function(e,t){let n,r,i,a,o,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close){for(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
281n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start);tl(d,-s),tl(p,s),a={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},e[n][1].end)},o={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[u][1].start),end:p},i={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},a.start),e[u][1].start=Object.assign({},o.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=(0,eb.V)(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=(0,eb.V)(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",i,t]]),l=(0,eb.V)(l,(0,eF.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),l=(0,eb.V)(l,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=(0,eb.V)(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,(0,eb.m)(e,n-1,u-n+3,l),u=n+l.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}};function tl(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tc={name:"labelStartLink",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},resolveAll:tt.resolveAll},tu={42:eV,43:eV,45:eV,48:eV,49:eV,50:eV,51:eV,52:eV,53:eV,54:eV,55:eV,56:eV,57:eV,62:ez},td={91:{name:"definition",tokenize:function(e,t,n){let r;let i=this;return function(t){return e.enter("definition"),eG.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)};function a(t){return(r=(0,eY.B)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return(0,ek.Ee)(t)?eK(e,s)(t):s(t)}function s(t){return eW(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(eX,c,c)(t)}function c(t){return(0,ek.On)(t)?(0,eE.N)(e,u,"whitespace")(t):u(t)}function u(a){return null===a||(0,ek.HP)(a)?(e.exit("definition"),i.parser.defined.push(r),t(a)):n(a)}}}},tp={[-2]:eZ,[-1]:eZ,32:eZ},th={35:{name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(i){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),function i(a){return 35===a&&r++<6?(e.consume(a),i):null===a||(0,ek.Ee)(a)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,ek.HP)(r)?(e.exit("atxHeading"),t(r)):(0,ek.On)(r)?(0,eE.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,ek.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(i)}},resolve:function(e,t){let n,r,i=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},r={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},(0,eb.m)(e,a,i-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},42:eH,45:[eQ,eH],60:{name:"htmlFlow",tokenize:function(e,t,n){let r,i,a,o,s;let l=this;return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),i=!0,h):63===o?(e.consume(o),r=3,l.interrupt?t:P):(0,ek.CW)(o)?(e.consume(o),a=String.fromCharCode(o),f):n(o)}function u(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,o=0,p):(0,ek.CW)(i)?(e.consume(i),r=4,l.interrupt?t:P):n(i)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:P):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(o++)?(e.consume(r),o===i.length)?l.interrupt?t:E:p:n(r)}function h(t){return(0,ek.CW)(t)?(e.consume(t),a=String.fromCharCode(t),f):n(t)}function f(o){if(null===o||47===o||62===o||(0,ek.Ee)(o)){let s=47===o,c=a.toLowerCase();return!s&&!i&&e1.includes(c)?(r=1,l.interrupt?t(o):E(o)):e0.includes(a.toLowerCase())?(r=6,s)?(e.consume(o),m):l.interrupt?t(o):E(o):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(o):i?function t(n){return(0,ek.On)(n)?(e.consume(n),t):j(n)}(o):g(o))}return 45===o||(0,ek.lV)(o)?(e.consume(o),a+=String.fromCharCode(o),f):n(o)}function m(r){return 62===r?(e.consume(r),l.interrupt?t:E):n(r)}function g(t){return 47===t?(e.consume(t),j):58===t||95===t||(0,ek.CW)(t)?(e.consume(t),y):(0,ek.On)(t)?(e.consume(t),g):j(t)}function y(t){return 45===t||46===t||58===t||95===t||(0,ek.lV)(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),b):(0,ek.On)(t)?(e.consume(t),v):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,x):(0,ek.On)(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,ek.Ee)(n)?v(n):(e.consume(n),t)}(t)}function x(t){return t===s?(e.consume(t),s=null,w):null===t||(0,ek.HP)(t)?n(t):(e.consume(t),x)}function w(e){return 47===e||62===e||(0,ek.On)(e)?g(e):n(e)}function j(t){return 62===t?(e.consume(t),C):n(t)}function C(t){return null===t||(0,ek.HP)(t)?E(t):(0,ek.On)(t)?(e.consume(t),C):n(t)}function E(t){return 45===t&&2===r?(e.consume(t),T):60===t&&1===r?(e.consume(t),_):62===t&&4===r?(e.consume(t),I):63===t&&3===r?(e.consume(t),P):93===t&&5===r?(e.consume(t),N):(0,ek.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(e2,M,k)(t)):null===t||(0,ek.HP)(t)?(e.exit("htmlFlowData"),k(t)):(e.consume(t),E)}function k(t){return e.check(e3,S,M)(t)}function S(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||(0,ek.HP)(t)?k(t):(e.enter("htmlFlowData"),E(t))}function T(t){return 45===t?(e.consume(t),P):E(t)}function _(t){return 47===t?(e.consume(t),a="",L):E(t)}function L(t){if(62===t){let n=a.toLowerCase();return e1.includes(n)?(e.consume(t),I):E(t)}return(0,ek.CW)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),L):E(t)}function N(t){return 93===t?(e.consume(t),P):E(t)}function P(t){return 62===t?(e.consume(t),I):45===t&&2===r?(e.consume(t),P):E(t)}function I(t){return null===t||(0,ek.HP)(t)?(e.exit("htmlFlowData"),M(t)):(e.consume(t),I)}function M(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},61:eQ,95:eH,96:e4,126:e4},tf={38:e7,92:e9},tm={[-5]:te,[-4]:te,[-3]:te,33:ta,38:e7,42:ts,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,ek.CW)(t)?(e.consume(t),a):64===t?n(t):s(t)}function a(t){return 43===t||45===t||46===t||(0,ek.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||(0,ek.lV)(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function o(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,ek.JQ)(r)?n(r):(e.consume(r),o)}function s(t){return 64===t?(e.consume(t),l):(0,ek.cx)(t)?(e.consume(t),s):n(t)}function l(i){return(0,ek.lV)(i)?function i(a){return 46===a?(e.consume(a),r=0,l):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||(0,ek.lV)(a))&&r++<63){let n=45===a?t:i;return e.consume(a),n}return n(a)}(a)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,a;let o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),x):63===t?(e.consume(t),v):(0,ek.CW)(t)?(e.consume(t),j):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,h):(0,ek.CW)(t)?(e.consume(t),y):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function u(t){return null===t?n(t):45===t?(e.consume(t),d):(0,ek.HP)(t)?(a=u,L(t)):(e.consume(t),u)}function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?_(e):45===e?d(e):u(e)}function h(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?f:h):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),m):(0,ek.HP)(t)?(a=f,L(t)):(e.consume(t),f)}function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){return 62===t?_(t):93===t?(e.consume(t),g):f(t)}function y(t){return null===t||62===t?_(t):(0,ek.HP)(t)?(a=y,L(t)):(e.consume(t),y)}function v(t){return null===t?n(t):63===t?(e.consume(t),b):(0,ek.HP)(t)?(a=v,L(t)):(e.consume(t),v)}function b(e){return 62===e?_(e):v(e)}function x(t){return(0,ek.CW)(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||(0,ek.lV)(t)?(e.consume(t),w):function t(n){return(0,ek.HP)(n)?(a=t,L(n)):(0,ek.On)(n)?(e.consume(n),t):_(n)}(t)}function j(t){return 45===t||(0,ek.lV)(t)?(e.consume(t),j):47===t||62===t||(0,ek.Ee)(t)?C(t):n(t)}function C(t){return 47===t?(e.consume(t),_):58===t||95===t||(0,ek.CW)(t)?(e.consume(t),E):(0,ek.HP)(t)?(a=C,L(t)):(0,ek.On)(t)?(e.consume(t),C):_(t)}function E(t){return 45===t||46===t||58===t||95===t||(0,ek.lV)(t)?(e.consume(t),E):function t(n){return 61===n?(e.consume(n),k):(0,ek.HP)(n)?(a=t,L(n)):(0,ek.On)(n)?(e.consume(n),t):C(n)}(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,S):(0,ek.HP)(t)?(a=k,L(t)):(0,ek.On)(t)?(e.consume(t),k):(e.consume(t),A)}function S(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):(0,ek.HP)(t)?(a=S,L(t)):(e.consume(t),S)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,ek.Ee)(t)?C(t):(e.consume(t),A)}function T(e){return 47===e||62===e||(0,ek.Ee)(e)?C(e):n(e)}function _(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function L(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return(0,ek.On)(t)?(0,eE.N)(e,P,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):P(t)}function P(t){return e.enter("htmlTextData"),a(t)}}}],91:tc,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,ek.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},e9],93:tt,95:ts,96:{name:"codeText",tokenize:function(e,t,n){let r,i,a=0;
281return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),o):96===l?(i=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",s(o))}(l)):(0,ek.HP)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||(0,ek.HP)(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),s)}},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}},tg={null:[ts,eI]},ty={null:[42,95]},tv={null:[]},tb=/[\0\t\n\r]/g;function tx(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let tw=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tj(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return tx(n.slice(t?2:1),t?16:10)}return e8(n)||e}let tC={}.hasOwnProperty;function tE(e){return{line:e.line,column:e.column,offset:e.offset}}function tk(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+X({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+X({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+X({start:t.start,end:t.end})+") is still open")}function tS(e){let t=this;t.parser=function(n){var r,a;let o,s,l,c;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(a=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(y),autolinkProtocol:c,autolinkEmail:c,atxHeading:r(f),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:r(h),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(h,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:c,htmlText:r(g,i),htmlTextData:c,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(y),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(v),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(f),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];if(!t.depth){let n=this.sliceSerialize(e).length;t.depth=n}},autolink:o(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t;let n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tx(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=e8(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=tE(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eY.B)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(d),hardBreakTrailing:o(d),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){let t=e.children;n.children=t}else n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(tw,tj),n.identifier=(0,eY.B)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=tE(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
281ype)&&(c.call(this,e),u.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,eY.B)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};(function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(tC.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}})(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},o={stack:[r],tokenStack:[],config:t,enter:a,exit:s,buffer:i,resume:l,data:n},c=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?c.push(u):u=function(e,t,n){let r,i,a,o,s=t-1,l=-1,c=!1;for(;++s<=n;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||o||l||a||(a=s),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let o=s;for(i=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(s,0,["enter",i,t[2]]),s++,n++,a=void 0,o=!0}}}return e[t][1]._spread=c,n}(e,c.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];tC.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},o),e[u][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||tk).call(o,void 0,e[0])}for(r.position={start:tE(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tE(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r};function r(e,t){return function(n){a.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function a(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:tE(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||tk).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+X({start:e.start,end:e.end})+"): itâs not open");n.position.end=tE(e.end)}function l(){return(0,ev.d)(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:tE(e.start),end:void 0},t.push(n)),this.stack.push(n)}function u(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tE(e.end)}function d(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function h(){return{type:"code",lang:null,meta:null,value:""}}function f(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function v(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(a)(function(e){for(;!ej(e););return e}((function(e){let t={defined:[],lazy:{},constructs:(0,eC.y)([i,...(e||{}).extensions||[]]),content:n(eS),document:n(eA),flow:n(eP),string:n(eM),text:n(eO)};return t;function n(e){return function(n){return function(e,t,n){let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1}),i={},a=[],o=[],s=[],l={consume:function(e){(0,ek.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e}
281,enter:function(e,t){let n=t||{};return n.type=e,n.start=p(),c.events.push(["enter",n,c]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=p(),c.events.push(["exit",t,c]),t},attempt:f(function(e,t){m(e,t.from)}),check:f(h),interrupt:f(h,{interrupt:!0})},c={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let a;let o=e[r];if("string"==typeof o)a=o;else switch(o){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(o)}n=-2===o,i.push(a)}return i.join("")}(d(e),t)},now:p,defineSkip:function(e){i[e.line]=e.column,g()},write:function(e){return(o=(0,eb.V)(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),u=u(t)}else u=u(n)}}(),null!==o[o.length-1])?[]:(m(t,0),c.events=(0,eF.W)(a,c.events,c),c.events)}},u=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function d(e){return function(e,t){let n;let r=t.start._index,i=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex;if(r===a)n=[e[r].slice(i,o)];else{if(n=e.slice(r,a),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}o>0&&n.push(e[a].slice(0,o))}return n}(o,e)}function p(){let{line:e,column:t,offset:n,_index:i,_bufferIndex:a}=r;return{line:e,column:t,offset:n,_index:i,_bufferIndex:a}}function h(e,t){t.restore()}function f(e,t){return function(n,i,a){let o,u,d,h;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){let t=null!==e&&n[e],r=null!==e&&n.null;return f([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)};function f(e){return(o=e,u=0,0===e.length)?a:m(e[u])}function m(e){return function(n){return(h=function(){let e=p(),t=c.previous,n=c.currentConstruct,i=c.events.length,a=Array.from(s);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=i,s=a,g()},from:i}}(),d=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?v(n):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,y,v)(n)}}function y(t){return e(d,h),i}function v(e){return(h.restore(),++u<o.length)?m(o[u]):a}}}function m(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&(0,eb.m)(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(a).document().write((s=1,l="",c=!0,function(e,t,n){let r,i,a,u,d;let p=[];for(e=l+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),a=0,l="",c&&(65279===e.charCodeAt(0)&&a++,c=void 0);a<e.length;){if(tb.lastIndex=a,u=(r=tb.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(u),!r){l=e.slice(a);break}if(10===d&&a===u&&o)p.push(-3),o=void 0;else switch(o&&(p.push(-5),o=void 0),a<u&&(p.push(e.slice(a,u)),s+=u-a),d){case 0:p.push(65533),s++;break;case 9:for(i=4*Math.ceil(s/4),p.push(-2);s++<i;)p.push(-1);break;case 10:p.push(-4),s=1;break;default:o=!0,s=1}a=u+1}return n&&(o&&p.push(-5),l&&p.push(l),p.push(null)),p})(n,r,!0))))}}let tA="object"==typeof self?self:globalThis,tT=(e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case -1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(new tA[e](t),i)}case 8:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i)}return n(new tA[a](o),i)};return r},t_=e=>tT(new Map,e)(0),{toString:tL}={},{keys:tN}=Object,tP=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=tL.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},tI=([e,t])=>0===e&&("function"===t||"symbol"===t),tM=(e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},a=r=>{if(n.has(r))return n.get(r);let[o,s]=tP(r);switch(o){case 0:{let t=r;switch(s){case"bigint":o=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+s);t=null;break;case"undefined":return i([-1],r)}return i([o,t],r)}case 1:{if(s)return i([s,[...r]],r);let e=[],t=i([o,e],r);for(let t of r)e.push(a(t));return t}case 2:{if(s)switch(s){case"BigInt":return i([s,r.toString()],r);case"Boolean":case"Number":case"String":return i([s,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON());let n=[],l=i([o,n],r);for(let t of tN(r))(e||!tI(tP(r[t])))&&n.push([a(t),a(r[t])]);return l}case 3:return i([o,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([o,{source:e,flags:t}],r)}case 5:{let t=[],n=i([o,t],r);
281for(let[n,i]of r)(e||!(tI(tP(n))||tI(tP(i))))&&t.push([a(n),a(i)]);return n}case 6:{let t=[],n=i([o,t],r);for(let n of r)(e||!tI(tP(n)))&&t.push(a(n));return n}}let{message:l}=r;return i([o,{name:s,message:l}],r)};return a},tO=(e,{json:t,lossy:n}={})=>{let r=[];return tM(!(t||n),!!t,new Map,r)(e),r},tR="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?t_(tO(e,t)):structuredClone(e):(e,t)=>t_(tO(e,t));function tD(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let a=e.charCodeAt(n),o="";if(37===a&&(0,ek.lV)(e.charCodeAt(n+1))&&(0,ek.lV)(e.charCodeAt(n+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function tB(e,t){let n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function tF(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var tH=n(47970);function tV(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&"text"===o.type?o.value+=r:i.push({type:"text",value:r}),i}function t$(e){let t=e.spread;return null==t?e.children.length>1:t}function tU(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let tz={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n;let r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=tD(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),s=e.footnoteCounts.get(i);void 0===s?(s=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=o+1,s+=1,e.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tV(e,t);let i={src:tD(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:tD(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tV(e,t);let i={href:tD(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:tD(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=t$(n[r])}return t}(n):t$(t),a={},o=[];if("boolean"==typeof t.checked){let e;let n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s<r.length;){let e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&o.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:a,children:o};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=K(t.children[1]),o=q(t.children[t.children.length-1]);a&&o&&(r.position={start:a,end:o}),i.push(r)}let a={type:"element",tagName:"table",properties:{}
281,children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,o=a?a.length:t.children.length,s=-1,l=[];for(;++s<o;){let n=t.children[s],r={},o=a?a[s]:void 0;o&&(r.align=o);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(tU(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(tU(t.slice(i),i>0,!1)),a.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tW,yaml:tW,definition:tW,footnoteDefinition:tW};function tW(){}let tG={}.hasOwnProperty,tq={};function tK(e,t){e.position&&(t.position=function(e){let t=K(e),n=q(e);if(t&&n)return{start:t,end:n}}(e))}function tY(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,tR(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function tX(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function tZ(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function tJ(e,t){let n=function(e,t){let n=t||tq,r=new Map,i=new Map,a={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=a.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=tZ(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=tZ(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:tY,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...tz,...n.handlers},one:function(e,t){let n=e.type,r=a.handlers[n];if(tG.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=tR(n);return r.children=a.all(e),r}return tR(e)}return(a.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(tG.call(n,"hProperties")||tG.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(a,e,t)},options:n,patch:tK,wrap:tX};return(0,tH.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),a}(e,t),r=n.one(e,void 0),i=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tB,r=e.options.footnoteBackLabel||tF,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),c=tD(o.toLowerCase()),u=0,d=[],p=e.footnoteCounts.get(o);for(;void 0!==p&&++u<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let h=a[a.length-1];if(h&&"element"===h.type&&"p"===h.tagName){let e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...d)}else a.push(...d);let f={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(i,f),s.push(f)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...tR(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)}
281,{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&((0,a.ok)("children"in o),o.children.push({type:"text",value:"\n"},i)),o}function tQ(e,t){return e&&"run"in e?async function(n,r){let i=tJ(n,{file:r,...t});await e.run(i,r)}:function(n,r){return tJ(n,{file:r,...e||t})}}function t0(e){if(e)throw e}var t1=n(92849);function t2(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let t3={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');t5(e);let r=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(i=a):(s=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(t5(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;t5(e);let n=e.length,r=-1,i=0,a=-1,o=0;for(;n--;){let s=e.codePointAt(n);if(47===s){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?a<0?a=n:1!==o&&(o=1):a>-1&&(o=-1)}return a<0||r<0||0===o||1===o&&a===r-1&&a===i+1?"":e.slice(a,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)t5(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){t5(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",a=0,o=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(o===l-1||1===s);else if(o!==l-1&&2===s){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=l,s=0;continue}}else if(i.length>0){i="",a=0,o=l,s=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(o+1,l):i=e.slice(o+1,l),a=l-o-1;o=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function t5(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let t4={cwd:function(){return"/"}};function t6(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let t8=["history","path","basename","stem","extname","dirname"];class t7{constructor(e){let t,n;t=e?t6(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":t4.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<t8.length;){let e=t8[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)t8.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?t3.basename(this.path):void 0}set basename(e){ne(e,"basename"),t9(e,"basename"),this.path=t3.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?t3.dirname(this.path):void 0}set dirname(e){nt(this.basename,"dirname"),this.path=t3.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?t3.extname(this.path):void 0}set extname(e){if(t9(e,"extname"),nt(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=t3.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){t6(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!t6(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),ne(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?t3.basename(this.path,this.extname):void 0}set stem(e){ne(e,"stem"),t9(e,"stem"),this.path=t3.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new ee(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function t9(e,t){if(e&&e.includes(t3.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+t3.sep+"`")}function ne(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function nt(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let nn=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},nr={}.hasOwnProperty;
281class ni extends nn{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);(function i(a,...o){let s=e[++n],l=-1;if(a){r(a);return}for(;++l<t.length;)(null===o[l]||void 0===o[l])&&(o[l]=t[l]);t=o,s?(function(e,t){let n;return function(...t){let a;let o=e.length>t.length;o&&t.push(r);try{a=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(a&&a.then&&"function"==typeof a.then?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(s,i)(...o):r(null,...o)})(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new ni,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(t1(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(nl("data",this.frozen),this.namespace[e]=t,this):nr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(nl("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();let t=nd(e),n=this.parser||this.Parser;return no("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),no("process",this.parser||this.Parser),ns("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let o=nd(e),s=n.parse(o);function l(e,n){e||!n?i(e):r?r(n):((0,a.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(s,o,function(e,t,r){if(e||!t||!r)return l(e);let i=n.stringify(t,r);"string"==typeof i||i&&"object"==typeof i&&"byteLength"in i&&"byteOffset"in i?r.value=i:r.result=i,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),no("processSync",this.parser||this.Parser),ns("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,t0(e),t=r}),nu("processSync","process",n),(0,a.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){nc(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,o){(0,a.ok)("function"!=typeof t,"`file` canât be a `done` anymore, we checked");let s=nd(t);r.run(e,s,function(t,r,s){let l=r||e;t?o(t):i?i(l):((0,a.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,l,s))})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){t0(e),n=t,r=!0}),nu("runSync","run",r),(0,a.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=nd(t),r=this.compiler||this.Compiler;return ns("stringify",r),nc(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(nl("use",this.frozen),null==e);else if("function"==typeof e)o(e,t);else if("object"==typeof e)Array.isArray(e)?a(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");a(e.plugins),e.settings&&(r.settings=t1(!0,r.settings,e.settings))}function a(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)o(e,[]);else if("object"==typeof e){if(Array.isArray(e)){let[t,...n]=e;o(t,n)}else i(e)}else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function o(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=n[i][1];t2(o)&&t2(r)&&(r=t1(!0,o,r)),n[i]=[e,r,...a]}}}}let na=new ni().freeze();function no(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function ns(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function nl(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nc(e){if(!t2(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function nu(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}
281function nd(e){return e&&"object"==typeof e&&"message"in e&&"messages"in e?e:new t7(e)}let np=[],nh={allowDangerousHtml:!0},nf=/^(https?|ircs?|mailto|xmpp)$/i,nm=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function ng(e){let t=function(e){let t=e.rehypePlugins||np,n=e.remarkPlugins||np,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...nh}:nh;return na().use(tS).use(n).use(tQ,r).use(t)}(e),n=function(e){let t=e.children||"",n=new t7;return"string"==typeof t?n.value=t:(0,a.HB)("Unexpected value `"+t+"` for `children` prop, expected `string`"),n}(e);return function(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,s=t.skipHtml,l=t.unwrapDisallowed,c=t.urlTransform||ny;for(let e of nm)Object.hasOwn(t,e.from)&&(0,a.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return n&&o&&(0,a.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,tH.YR)(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return s?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in eg)if(Object.hasOwn(eg,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=eg[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=c(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!o&&o.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,i)),a&&i&&"number"==typeof t)return l&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i;let a;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=t.jsxDEV,a=function(e,t,r,i){let a=Array.isArray(r.children),s=K(e);return n(t,r,i,a,{columnNumber:s?s.column-1:void 0,fileName:o,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
281if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");r=t.jsx,i=t.jsxs,a=function(e,t,n,a){let o=Array.isArray(n.children)?i:r;return a?o(t,n,a):o(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?B:D,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},l=el(s,e,void 0);return l&&"string"!=typeof l?l:s.create(e,s.Fragment,{children:l||void 0},void 0)}(e,{Fragment:ey.Fragment,components:i,ignoreInvalidStyle:!0,jsx:ey.jsx,jsxs:ey.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function ny(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||nf.test(e.slice(0,t))?e:""}},99699:e=>{"use strict";e.exports=JSON.parse('{"id":"youtube-embed","description":"Embed a YouTube embed on your webpage.","website":"https://github.com/paulirish/lite-youtube-embed","html":{"element":"lite-youtube","attributes":{"videoid":null,"playlabel":null}},"stylesheets":["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],"scripts":[{"url":"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js","strategy":"idle","location":"head","action":"append"}]}')},99741:e=>{e.exports={style:{fontFamily:"'__NewEdgeRounded_5045de', '__NewEdgeRounded_Fallback_5045de'"},className:"__className_5045de",variable:"__variable_5045de"}}},e=>{var t=t=>e(e.s=t);_N_E=Promise.all([e.f.consumes||function(e,t){},e.f.remotes||function(e,t){}].reduce((e,t)=>(t("636",e),e),[])).then(()=>e.X(0,[792],()=>(t(18424),t(54402))))}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.