1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19481,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={formatUrl:function(){return o},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});let s=e.r(44066)._(e.r(10144)),a=/https?|ftp|gopher|file/;function o(e){let{auth:t,hostname:r}=e,i=e.protocol||"",n=e.pathname||"",o=e.hash||"",l=e.query||"",u=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?u=t+e.host:r&&(u=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(u+=":"+e.port)),l&&"object"==typeof l&&(l=String(s.urlQueryToSearchParams(l)));let c=e.search||l&&`?${l}`||"";return i&&!i.endsWith(":")&&(i+=":"),e.slashes||(!i||a.test(i))&&!1!==u?(u="//"+(u||""),n&&"/"!==n[0]&&(n="/"+n)):u||(u=""),o&&"#"!==o[0]&&(o="#"+o),c&&"?"!==c[0]&&(c="?"+c),n=n.replace(/[?#]/g,encodeURIComponent),c=c.replace("#","%23"),`${i}${u}${n}${c}${o}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(e){return o(e)}},18533,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return n}});let i=e.r(62560);function n(e,t){let r=(0,i.useRef)(null),n=(0,i.useRef)(null);return(0,i.useCallback)(i=>{if(null===i){let e=r.current;e&&(r.current=null,e());let t=n.current;t&&(n.current=null,t())}else e&&(r.current=s(e,i)),t&&(n.current=s(t,i))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},27619,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return s}});let i=e.r(16829),n=e.r(70169);function s(e){if(!(0,i.isAbsoluteUrl)(e))return!0;try{let t=(0,i.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,n.hasBasePath)(r.pathname)}catch(e){return!1}}},53286,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return i}});let i=e=>{}},98558,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var i={default:function(){return y},useLinkStatus:function(){return w}};for(var n in i)Object.defineProperty(r,n,{enumerable:!0,get:i[n]});let s=e.r(44066),a=e.r(72525),o=s._(e.r(62560)),l=e.r(19481),u=e.r(90359),c=e.r(18533),h=e.r(16829),d=e.r(3440);e.r(97986);let m=e.r(78248),f=e.r(53680),p=e.r(27619),g=e.r(80901);function y(t){var r,i;let n,s,y,[w,b]=(0,o.useOptimistic)(f.IDLE_LINK_STATUS),x=(0,o.useRef)(null),{href:T,as:_,children:S,prefetch:k=null,passHref:E,replace:C,shallow:P,scroll:$,onClick:A,onMouseEnter:L,onTouchStart:I,legacyBehavior:O=!1,onNavigate:M,transitionTypes:R,ref:j,unstable_dynamicOnHover:D,...N}=t;n=S,O&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let F=o.default.useContext(u.AppRouterContext),V=!1!==k,B=!1!==k?null===(i=k)||"auto"===i?g.FetchStrategy.PPR:g.FetchStrategy.Full:g.FetchStrategy.PPR,q="string"==typeof(r=_||T)?r:(0,l.formatUrl)(r);if(O){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=o.default.Children.only(n)}let U=O?s&&"object"==typeof s&&s.ref:j,W=o.default.useCallback(e=>(null!==F&&(x.current=(0,f.mountLinkInstance)(e,q,F,B,V,b)),()=>{x.current&&((0,f.unmountLinkForCurrentNavigation)(x.current),x.current=null),(0,f.unmountPrefetchableInstance)(e)}),[V,q,F,B,b]),H={ref:(0,c.useMergedRef)(W,U),onClick(t){O||"function"!=typeof A||A(t),O&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!F||t.defaultPrevented||function(t,r,i,n,s,a,l){if("u">typeof window){let u,{nodeName:c}=t.currentTarget;if("A"===c.toUpperCase()&&((u=t.currentTarget.getAttribute("target"))&&"_self"!==u||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,p.isLocalURL)(r)){n&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),a){let e=!1;if(a({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:h}=e.r(4909);o.default.startTransition(()=>{h(r,n?"replace":"push",!1===s?m.ScrollBehavior.NoScroll:m.ScrollBehavior.Default,i.current,l)})}}(t,q,x,C,$,M,R)},onMouseEnter(e){O||"function"!=typeof L||L(e),O&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),F&&V&&
1(0,f.onNavigationIntent)(e.currentTarget,!0===D)},onTouchStart:function(e){O||"function"!=typeof I||I(e),O&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),F&&V&&(0,f.onNavigationIntent)(e.currentTarget,!0===D)}};return(0,h.isAbsoluteUrl)(q)?H.href=q:O&&!E&&("a"!==s.type||"href"in s.props)||(H.href=(0,d.addBasePath)(q)),y=O?o.default.cloneElement(s,H):(0,a.jsx)("a",{...N,...H,children:n}),(0,a.jsx)(v.Provider,{value:w,children:y})}e.r(53286);let v=(0,o.createContext)(f.IDLE_LINK_STATUS),w=()=>(0,o.useContext)(v);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},80177,e=>{"use strict";var t=e.i(72525),r=e.i(98558);let i=(0,e.i(62560).forwardRef)(function({...e},i){return"a"===e.element?e.href.startsWith("/")||e.href.startsWith("#")?(0,t.jsx)(r.default,{ref:i,...e}):(0,t.jsx)("a",{target:"_blank",ref:i,...e}):"button"===e.element?(0,t.jsx)("button",{ref:i,...e}):(0,t.jsx)("div",{ref:i,...e})});e.s(["LinkWrapper",0,i])},7284,e=>{"use strict";e.s(["default",0,function(){for(var e,t,r=0,i="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=function e(t){var r,i,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t)if(Array.isArray(t)){var s=t.length;for(r=0;r<s;r++)t[r]&&(i=e(t[r]))&&(n&&(n+=" "),n+=i)}else for(i in t)t[i]&&(n&&(n+=" "),n+=i);return n}(e))&&(i&&(i+=" "),i+=t);return i}])},18594,(e,t,r)=>{var i={675:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],i=t[1];return(r+i)*3/4-i},t.toByteArray=function(e){var t,r,s=l(e),a=s[0],o=s[1],u=new n((a+o)*3/4-o),c=0,h=o>0?a-4:a;for(r=0;r<h;r+=4)t=i[e.charCodeAt(r)]<<18|i[e.charCodeAt(r+1)]<<12|i[e.charCodeAt(r+2)]<<6|i[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;return 2===o&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,u[c++]=255&t),1===o&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t),u},t.fromByteArray=function(e){for(var t,i=e.length,n=i%3,s=[],a=0,o=i-n;a<o;a+=16383)s.push(function(e,t,i){for(var n,s=[],a=t;a<i;a+=3)n=(e[a]<<16&0xff0000)+(e[a+1]<<8&65280)+(255&e[a+2]),s.push(r[n>>18&63]+r[n>>12&63]+r[n>>6&63]+r[63&n]);return s.join("")}(e,a,a+16383>o?o:a+16383));return 1===n?s.push(r[(t=e[i-1])>>2]+r[t<<4&63]+"=="):2===n&&s.push(r[(t=(e[i-2]<<8)+e[i-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),s.join("")};for(var r=[],i=[],n="u">typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=s.length;a<o;++a)r[a]=s[a],i[s.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var i=r===t?0:4-r%4;return[r,i]}i[45]=62,i[95]=63},72:function(e,t,r){"use strict";var i=r(675),n=r(783),s="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,o.prototype),t}function o(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return c(e)}return l(e,t,r)}function l(e,t,r){if("string"==typeof e){var i=e,n=t;if(("string"!=typeof n||""===n)&&(n="utf8"),!o.isEncoding(n))throw TypeError("Unknown encoding: "+n);var s=0|m(i,n),l=a(s),u=l.write(i,n);return u!==s&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(e))return h(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)||"u">typeof SharedArrayBuffer&&($(e,SharedArrayBuffer)||e&&$(e.buffer,SharedArrayBuffer)))return function(e,t,r){var i;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(i=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),o.prototype),i}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var c=e.valueOf&&e.valueOf();if(null!=c&&c!==e)return o.from(c,t,r);var f=function(e){if(o.isBuffer(e)){var t=0|d(e.length),r=a(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?a(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(f)return f;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return o.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');
vendor: 16,459 bytes, line 1
1if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),a(e<0?0:0|d(e))}function h(e){for(var t=e.length<0?0:0|d(e.length),r=a(t),i=0;i<t;i+=1)r[i]=255&e[i];return r}t.Buffer=o,t.SlowBuffer=function(e){return+e!=e&&(e=0),o.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,o.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}}(),!o.TYPED_ARRAY_SUPPORT&&"u">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(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}}),o.poolSize=8192,o.from=function(e,t,r){return l(e,t,r)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array),o.alloc=function(e,t,r){return(u(e),e<=0)?a(e):void 0!==t?"string"==typeof r?a(e).fill(t,r):a(e).fill(t):a(e)},o.allocUnsafe=function(e){return c(e)},o.allocUnsafeSlow=function(e){return c(e)};function d(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function m(e,t){if(o.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 r=e.length,i=arguments.length>2&&!0===arguments[2];if(!i&&0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return k(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(e).length;default:if(n)return i?-1:k(e).length;t=(""+t).toLowerCase(),n=!0}}function f(e,t,r){var n,s,a,o=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var i=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>i)&&(r=i);for(var n="",s=t;s<r;++s)n+=A[e[s]];return n}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n)i+=String.fromCharCode(127&e[n]);return i}(this,t,r);case"latin1":case"binary":return function(e,t,r){var i="";r=Math.min(e.length,r);for(var n=t;n<r;++n)i+=String.fromCharCode(e[n]);return i}(this,t,r);case"base64":return n=this,s=t,a=r,0===s&&a===n.length?i.fromByteArray(n):i.fromByteArray(n.slice(s,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var i=e.slice(t,r),n="",s=0;s<i.length;s+=2)n+=String.fromCharCode(i[s]+256*i[s+1]);return n}(this,t,r);default:if(o)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function p(e,t,r){var i=e[t];e[t]=e[r],e[r]=i}function g(e,t,r,i,n){var s;if(0===e.length)return -1;if("string"==typeof r?(i=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(s=r*=1)!=s&&(r=n?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(n)return -1;else r=e.length-1;else if(r<0)if(!n)return -1;else r=0;if("string"==typeof t&&(t=o.from(t,i)),o.isBuffer(t))return 0===t.length?-1:y(e,t,r,i,n);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(n)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return y(e,[t],r,i,n)}throw TypeError("val must be string, number or Buffer")}function y(e,t,r,i,n){var s,a=1,o=e.length,l=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return -1;a=2,o/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(n){var c=-1;for(s=r;s<o;s++)if(u(e,s)===u(t,-1===c?0:s-c)){if(-1===c&&(c=s),s-c+1===l)return c*a}else -1!==c&&(s-=s-c),c=-1}else for(r+l>o&&(r=o-l),s=r;s>=0;s--){for(var h=!0,d=0;d<l;d++)if(u(e,s+d)!==u(t,d)){h=!1;break}if(h)return s}return -1}o.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==o.prototype},o.compare=function(e,t){if($(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),$(t,Uint8Array)&&(t=o.from(t,t.offset,t.byteLength)),!o.isBuffer(e)||!o.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,i=t.length,n=0,s=Math.min(r,i);n<s;++n)if(e[n]!==t[n]){r=e[n],i=t[n];break}return r<i?-1:+(i<r)},o.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}},o.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,i=o.allocUnsafe(t),n=0;for(r=0;r<e.length;++r){var s=e[r];if($(s,Uint8Array)&&(s=o.from(s)),!o.isBuffer(s))throw TypeError('"list" argument must be an Array of Buffers');s.copy(i,n),n+=s.length}return i},o.byteLength=m,o.prototype._isBuffer=!0,o.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)p(this,t,t+1);return this},o.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)p(this,t,t+3),p(this,t+1,t+2);return this},o.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)p(this,t,t+7),p(this,t+1,t+6),p(this,t+2,t+5),p(this,t+3,t+4);return this},o.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):f.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(e){if(!o.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},s&&(o.prototype[s]=o.prototype.inspect),o.prototype.compare=function(e,t,r,i,n){if($(e,Uint8Array)&&(e=o.from(e,e.offset,e.byteLength)),!o.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===r&&(r=e?e.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),t<0||r>e.length||i<0||n>this.length)throw RangeError("out of range index");if(i>=n&&t>=r)return 0;if(i>=n)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,i>>>=0,n>>>=0,this===e)return 0;for(var s=n-i,a=r-t,l=Math.min(s,a),u=this.slice(i,n),c=e.slice(t,r),h=0;h<l;++h)if(u[h]!==c[h]){s=u[h],a=c[h];break}return s<a?-1:+(a<s)},o.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},o.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},o.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)};function v(e,t,r){r=Math.min(e.length,r);for(var i=[],n=t;n<r;){var s,a,o,l,u=e[n],c=null,h=u>239?4:u>223?3:u>191?2:1;if(n+h<=r)switch(h){case 1:u<128&&(c=u);break;case 2:(192&(s=e[n+1]))==128&&(l=(31&u)<<6|63&s)>127&&(c=l);break;case 3:s=e[n+1],a=e[n+2],(192&s)==128&&(192&a)==128&&(l=(15&u)<<12|(63&s)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:s=e[n+1],a=e[n+2],o=e[n+3],(192&s)==128&&(192&a)==128&&(192&o)==128&&(l=(15&u)<<18|(63&s)<<12|(63&a)<<6|63&o)>65535&&l<1114112&&(c=l)}null===c?(c=65533,h=1):c>65535&&(c-=65536,i.push(c>>>10&1023|55296),c=56320|1023&c),i.push(c),n+=h}var d=i,m=d.length;if(m<=4096)return String.fromCharCode.apply(String,d);for(var f="",p=0;p<m;)f+=String.fromCharCode.apply(String,d.slice(p,p+=4096));return f}function w(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function b(e,t,r,i,n,s){if(!o.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>n||t<s)throw RangeError('"value" argument is out of bounds');if(r+i>e.length)throw RangeError("Index out of range")}function x(e,t,r,i,n,s){if(r+i>e.length||r<0)throw RangeError("Index out of range")}function T(e,t,r,i,s){return t*=1,r>>>=0,s||x(e,t,r,4,34028234663852886e22,-34028234663852886e22),n.write(e,t,r,i,23,4),r+4}function _(e,t,r,i,s){return t*=1,r>>>=0,s||x(e,t,r,8,17976931348623157e292,-17976931348623157e292),n.write(e,t,r,i,52,8),r+8}o.prototype.write=function(e,t,r,i){if(void 0===t)i="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)i=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===i&&(i="utf8")):(i=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var n,s,a,o,l,u,c,h,d=this.length-t;if((void 0===r||r>d)&&(r=d),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var m=!1;;)switch(i){case"hex":return function(e,t,r,i){r=Number(r)||0;var n=e.length-r;i?(i=Number(i))>n&&(i=n):i=n;var s=t.length;i>s/2&&(i=s/2);for(var a=0;a<i;++a){var o,l=parseInt(t.substr(2*a,2),16);if((o=l)!=o)break;e[r+a]=l}return a}(this,e,t,r);case"utf8":case"utf-8":return n=t,s=r,P(k(e,this.length-n),this,n,s);case"ascii":return a=t,o=r,P(E(e),this,a,o);case"latin1":case"binary":return function(e,t,r,i){return P(E(t),e,r,i)}(this,e,t,r);case"base64":return l=t,u=r,P(C(e),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return c=t,h=r,P(function(e,t){for(var r,i,n=[],s=0;s<e.length&&!((t-=2)<0);++s)i=(r=e.charCodeAt(s))>>8,n.push(r%256),n.push(i);return n}(e,this.length-c),this,c,h);default:if(m)throw TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),m=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},o.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var i=this.subarray(e,t);return Object.setPrototypeOf(i,o.prototype),i},o.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var i=this[e],n=1,s=0;++s<t&&(n*=256);)i+=this[e+s]*n;return i},o.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var i=this[e+--t],n=1;t>0&&(n*=256);)i+=this[e+--t]*n;return i},o.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},o.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var i=this[e],n=1,s=0;++s<t&&(n*=256);)i+=this[e+s]*n;return i>=(n*=128)&&(i-=Math.pow(2,8*t)),i},o.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||w(e,t,this.length);for(var i=t,n=1,s=this[e+--i];i>0&&(n*=256);)s+=this[e+--i]*n;return s>=(n*=128)&&(s-=Math.pow(2,8*t)),s},o.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},o.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},o.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return e>>>=0,t||w(e,4,this.length),n.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),n.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),n.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),n.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,r,i){if(e*=1,t>>>=0,r>>>=0,!i){var n=Math.pow(2,8*r)-1;b(this,e,t,r,n,0)}var s=1,a=0;for(this[t]=255&e;++a<r&&(s*=256);)this[t+a]=e/s&255;return t+r},o.prototype.writeUIntBE=function(e,t,r,i){if(e*=1,t>>>=0,r>>>=0,!i){var n=Math.pow(2,8*r)-1;b(this,e,t,r,n,0)}var s=r-1,a=1;for(this[t+s]=255&e;--s>=0&&(a*=256);)this[t+s]=e/a&255;return t+r},o.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,1,255,0),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},o.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeIntLE=function(e,t,r,i){if(e*=1,t>>>=0,!i){var n=Math.pow(2,8*r-1);b(this,e,t,r,n-1,-n)}var s=0,a=1,o=0;for(this[t]=255&e;++s<r&&(a*=256);)e<0&&0===o&&0!==this[t+s-1]&&(o=1),this[t+s]=(e/a|0)-o&255;return t+r},o.prototype.writeIntBE=function(e,t,r,i){if(e*=1,t>>>=0,!i){var n=Math.pow(2,8*r-1);b(this,e,t,r,n-1,-n)}var s=r-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a|0)-o&255;return t+r},o.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},o.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},o.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},o.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||b(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},o.prototype.writeFloatLE=function(e,t,r){return T(this,e,t,!0,r)},o.prototype.writeFloatBE=function(e,t,r){return T(this,e,t,!1,r)},o.prototype.writeDoubleLE=function(e,t,r){return _(this,e,t,!0,r)},o.prototype.writeDoubleBE=function(e,t,r){return _(this,e,t,!1,r)},o.prototype.copy=function(e,t,r,i){if(!o.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),i||0===i||(i=this.length),t>=e.length&&(t=e.length),t||(t=0),i>0&&i<r&&(i=r),i===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(i<0)throw RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),e.length-t<i-r&&(i=e.length-t+r);var n=i-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,i);else if(this===e&&r<t&&t<i)for(var s=n-1;s>=0;--s)e[s+t]=this[s+r];else Uint8Array.prototype.set.call(e,this.subarray(r,i),t);return n},o.prototype.fill=function(e,t,r,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,r=this.length):"string"==typeof r&&(i=r,r=this.length),void 0!==i&&"string"!=typeof i)throw TypeError("encoding must be a string");if("string"==typeof i&&!o.isEncoding(i))throw TypeError("Unknown encoding: "+i);if(1===e.length){var n,s=e.charCodeAt(0);("utf8"===i&&s<128||"latin1"===i)&&(e=s)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(n=t;n<r;++n)this[n]=e;
1else{var a=o.isBuffer(e)?e:o.from(e,i),l=a.length;if(0===l)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(n=0;n<r-t;++n)this[n+t]=a[n%l]}return this};var S=/[^+/0-9A-Za-z-_]/g;function k(e,t){t=t||1/0;for(var r,i=e.length,n=null,s=[],a=0;a<i;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!n){if(r>56319||a+1===i){(t-=3)>-1&&s.push(239,191,189);continue}n=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),n=r;continue}r=(n-55296<<10|r-56320)+65536}else n&&(t-=3)>-1&&s.push(239,191,189);if(n=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return s}function E(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function C(e){return i.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(S,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function P(e,t,r,i){for(var n=0;n<i&&!(n+r>=t.length)&&!(n>=e.length);++n)t[n+r]=e[n];return n}function $(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var A=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var i=16*r,n=0;n<16;++n)t[i+n]=e[r]+e[n];return t}()},783:function(e,t){t.read=function(e,t,r,i,n){var s,a,o=8*n-i-1,l=(1<<o)-1,u=l>>1,c=-7,h=r?n-1:0,d=r?-1:1,m=e[t+h];for(h+=d,s=m&(1<<-c)-1,m>>=-c,c+=o;c>0;s=256*s+e[t+h],h+=d,c-=8);for(a=s&(1<<-c)-1,s>>=-c,c+=i;c>0;a=256*a+e[t+h],h+=d,c-=8);if(0===s)s=1-u;else{if(s===l)return a?NaN:1/0*(m?-1:1);a+=Math.pow(2,i),s-=u}return(m?-1:1)*a*Math.pow(2,s-i)},t.write=function(e,t,r,i,n,s){var a,o,l,u=8*s-n-1,c=(1<<u)-1,h=c>>1,d=5960464477539062e-23*(23===n),m=i?0:s-1,f=i?1:-1,p=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(o=+!!isNaN(t),a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+h>=1?t+=d/l:t+=d*Math.pow(2,1-h),t*l>=2&&(a++,l/=2),a+h>=c?(o=0,a=c):a+h>=1?(o=(t*l-1)*Math.pow(2,n),a+=h):(o=t*Math.pow(2,h-1)*Math.pow(2,n),a=0));n>=8;e[r+m]=255&o,m+=f,o/=256,n-=8);for(a=a<<n|o,u+=n;u>0;e[r+m]=255&a,m+=f,a/=256,u-=8);e[r+m-f]|=128*p}}},n={};function s(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}},a=!0;try{i[e](r,r.exports,s),a=!1}finally{a&&delete n[e]}return r.exports}s.ab="/ROOT/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/buffer/",t.exports=s(72)},62530,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(62560);function n(e){return"function"==typeof i.default.use?{fetchPriority:e}:{fetchpriority:e}}let s="https://example.com/";var a=Object.defineProperty,o=new Map,l=new WeakMap,u=0,c=void 0;i.Component;var h=e.i(18594);let d="u"<typeof window,m=!d&&!!window.IntersectionObserver,f={position:"absolute",left:0,top:0,width:"100%",height:"100%",maxWidth:"none",maxHeight:"none"},p=(0,i.forwardRef)(({className:e,fadeInDuration:t=500,intersectionTreshold:r,intersectionThreshold:a,intersectionMargin:p,pictureClassName:g,imgClassName:y,style:v,pictureStyle:w,imgStyle:b,layout:x="intrinsic",objectFit:T,objectPosition:_,data:S,onLoad:k,usePlaceholder:E=!0,priority:C=!1,sizes:P,srcSetCandidates:$=[.25,.5,.75,1,1.5,2,3,4],placeholderClassName:A,placeholderStyle:L,referrerPolicy:I="no-referrer-when-downgrade"},O)=>{var M,R,j,D,N,F,V,B,q;let U=(0,i.useRef)(null),[W,H]=function(e,t){let[r,n]=(0,i.useState)(!1);function s(){n(!0),null==t||t()}return(0,i.useEffect)(()=>{e.current&&e.current.complete&&e.current.naturalWidth&&s()},[]),[r,s]}(U,k),[z,G]=function({threshold:e,delay:t,trackVisibility:r,rootMargin:n,root:s,triggerOnce:a,skip:h,initialInView:d,fallbackInView:m,onChange:f}={}){var p;let[g,y]=i.useState(null),v=i.useRef(f),[w,b]=i.useState({inView:!!d,entry:void 0});v.current=f,i.useEffect(()=>{let i;if(!h&&g)return i=function(e,t,r={},i=c){if(void 0===window.IntersectionObserver&&void 0!==i){let n=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:n,intersectionRect:n,rootBounds:n}
1),()=>{}}let{id:n,observer:s,elements:a}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var r;return`${t}_${"root"===t?!(r=e.root)?"0":(l.has(r)||(u+=1,l.set(r,u.toString())),l.get(r)):e[t]}`}).toString(),r=o.get(t);if(!r){let i,n=new Map,s=new IntersectionObserver(t=>{t.forEach(t=>{var r;let s=t.isIntersecting&&i.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=s),null==(r=n.get(t.target))||r.forEach(e=>{e(s,t)})})},e);i=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:s,elements:n},o.set(t,r)}return r}(r),h=a.get(e)||[];return a.has(e)||a.set(e,h),h.push(t),s.observe(e),function(){h.splice(h.indexOf(t),1),0===h.length&&(a.delete(e),s.unobserve(e)),0===a.size&&(s.disconnect(),o.delete(n))}}(g,(e,t)=>{b({inView:e,entry:t}),v.current&&v.current(e,t),t.isIntersecting&&a&&i&&(i(),i=void 0)},{root:s,rootMargin:n,threshold:e,trackVisibility:r,delay:t},m),()=>{i&&i()}},[Array.isArray(e)?e.toString():e,g,s,n,a,h,r,m,t]);let x=null==(p=w.entry)?void 0:p.target,T=i.useRef(void 0);g||!x||a||h||T.current===x||(T.current=x,b({inView:!!d,entry:void 0}));let _=[y,w.inView,w.entry];return _.ref=_[0],_.inView=_[1],_.entry=_[2],_}({threshold:a||r||0,rootMargin:p||"0px 0px 0px 0px",triggerOnce:!0,fallbackInView:!0}),Z=function(...e){return(0,i.useCallback)(t=>{for(let r=0;r<e.length;r++){let i=e[r];"function"==typeof i?i(t):i&&"object"==typeof i&&(i.current=t)}},e)}(O,z),Y=(({priority:e,inView:t,loaded:r})=>!!e||!d&&(!m||t||r))({priority:C,inView:G,loaded:W}),K=(({priority:e,loaded:t})=>!!e||!d&&(!m||t))({priority:C,inView:G,loaded:W}),J=null!=(M=null!=P?P:S.sizes)?M:C?void 0:"auto, 100vw",X=S.webpSrcSet&&i.default.createElement("source",{srcSet:S.webpSrcSet,sizes:null!=(V=null!=J?J:S.sizes)?V:void 0,type:"image/webp"}),Q=i.default.createElement("source",{srcSet:null!=(B=S.srcSet)?B:((e,t,r)=>{if(e&&t)return r.map(r=>{let i=new URL(e,s);if(1!==r){i.searchParams.set("dpr",`${r}`);let e=i.searchParams.get("max-h"),t=i.searchParams.get("max-w");e&&i.searchParams.set("max-h",`${Math.floor(Number.parseInt(e)*r)}`),t&&i.searchParams.set("max-w",`${Math.floor(Number.parseInt(t)*r)}`)}let n=Math.floor(t*r);return n<50?null:`${i.toString().replace(s,"/")} ${n}w`}).filter(Boolean).join(",")})(S.src,S.width,$),sizes:null!=(q=null!=J?J:S.sizes)?q:void 0}),ee=t>0?`opacity ${t}ms`:void 0,et=Object.assign({transition:ee,opacity:+!K,position:"absolute",left:"-5%",top:"-5%",width:"110%",height:S.base64?"auto":"110%",maxWidth:"none",maxHeight:"none"},L),er=E&&S.base64?i.default.createElement("img",{"aria-hidden":"true",alt:"",src:S.base64,className:A,style:Object.assign({objectFit:T,objectPosition:_},et)}):E&&S.bgColor?i.default.createElement("div",{className:A,style:Object.assign({backgroundColor:S.bgColor},et)}):null,{width:ei,aspectRatio:en}=S,es=null!=(R=S.height)?R:en?ei/en:0,ea=`<svg xmlns="http://www.w3.org/2000/svg" width="${ei}" height="${es}"></svg>`,eo="fill"!==x?i.default.createElement("img",{className:y,style:Object.assign({display:"block",width:"100%"},b),src:`data:image/svg+xml;base64,${d?h.Buffer.from(ea.toString(),"binary").toString("base64"):window.btoa(ea)}`,"aria-hidden":"true",alt:""}):null;return i.default.createElement("div",{ref:Z,className:e,style:Object.assign(Object.assign({overflow:"hidden"},"fill"===x?f:"intrinsic"===x?{position:"relative",width:"100%",maxWidth:ei}:"fixed"===x?{position:"relative",width:ei}:{position:"relative",width:"100%"}),v)},eo,er,Y&&i.default.createElement("picture",{className:g,style:w},X,Q,S.src&&i.default.createElement("img",Object.assign({ref:U,src:S.src,alt:null!=(j=S.alt)?j:"",title:null!=(D=S.title)?D:void 0,onLoad:H,sizes:J,loading:C?void 0:"lazy"},n(C?"high":void 0),{className:y,style:Object.assign(Object.assign(Object.assign({opacity:+!!K,transition:ee},f),{objectFit:T,objectPosition:_}),b),referrerPolicy:I}))),i.default.createElement("noscript",null,i.default.createElement("picture",{className:g,style:w},X,Q,S.src&&i.default.createElement("img",Object.assign({src:S.src,alt:null!=(N=S.alt)?N:"",title:null!=(F=S.title)?F:void 0,className:y,style:Object.assign(Object.assign(Object.assign({},f),{objectFit:T,objectPosition:_}),b),loading:C?void 0:"lazy"},n(C?"high":void 0),{referrerPolicy:I})))))}),g=CSS.supports("container-type","size");e.s(["DatoImageDynamic",0,function({data:e,clientSideFocalPoint:n,className:s,rounded:a=!1,...o}){let l=(0,i.useRef)(null),[u,c]=(0,i.useState)([0,0]);(0,i.useEffect)(()=>
1{if(!n||g||!l.current)return;let{width:e,height:t}=l.current.getBoundingClientRect();function r(){c([e,t])}return c(r=>0===r[0]&&0===r[1]?[e,t]:r),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[n,l]);let h={"--crop-focus-x":n?.[0],"--crop-focus-y":n?.[1],"--container-width":g?"100cqw":String(u[0])+"px","--container-height":g?"100cqh":String(u[1])+"px"};return(0,t.jsx)(p,{ref:l,data:e,className:(0,r.default)(n&&"dynamicFocalpoint",a&&"rounded-2xl",s),style:h,...o})}],62530)},53299,e=>{"use strict";var t=e.i(62560),r={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=t.default.createContext&&t.default.createContext(r),n=["attr","size","title"];function s(){return(s=Object.assign.bind()).apply(null,arguments)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,i)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){var i,n,s;i=e,n=t,s=r[t],(n=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!=typeof i)return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(n))in i?Object.defineProperty(i,n,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[n]=s}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e){var a=r=>{var i,{attr:a,size:l,title:u}=e,c=function(e,t){if(null==e)return{};var r,i,n=function(e,t){if(null==e)return{};var r={};for(var i in e)if(({}).hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;r[i]=e[i]}return r}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(i=0;i<s.length;i++)r=s[i],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}(e,n),h=l||r.size||"1em";return r.className&&(i=r.className),e.className&&(i=(i?i+" ":"")+e.className),t.default.createElement("svg",s({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},r.attr,a,c,{className:i,style:o(o({color:e.color||r.color},r.style),e.style),height:h,width:h,xmlns:"http://www.w3.org/2000/svg"}),u&&t.default.createElement("title",null,u),e.children)};return void 0!==i?t.default.createElement(i.Consumer,null,e=>a(e)):a(r)}e.s(["GenIcon",0,function(e){return r=>t.default.createElement(l,s({attr:o({},e.attr)},r),function e(r){return r&&r.map((r,i)=>t.default.createElement(r.tag,o({key:i},r.attr),e(r.child)))}(e.child))}],53299)},87931,e=>{"use strict";var t=e.i(53299);e.s(["PiArrowRightBold",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"},child:[]}]})(e)},"PiArrowSquareOutLight",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"},child:[]}]})(e)},"PiGlobe",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M128,24h0A104,104,0,1,0,232,128,104.12,104.12,0,0,0,128,24Zm88,104a87.61,87.61,0,0,1-3.33,24H174.16a157.44,157.44,0,0,0,0-48h38.51A87.61,87.61,0,0,1,216,128ZM102,168H154a115.11,115.11,0,0,1-26,45A115.27,115.27,0,0,1,102,168Zm-3.9-16a140.84,140.84,0,0,1,0-48h59.88a140.84,140.84,0,0,1,0,48ZM40,128a87.61,87.61,0,0,1,3.33-24H81.84a157.44,157.44,0,0,0,0,48H43.33A87.61,87.61,0,0,1,40,128ZM154,88H102a115.11,115.11,0,0,1,26-45A115.27,115.27,0,0,1,154,88Zm52.33,0H170.71a135.28,135.28,0,0,0-22.3-45.6A88.29,88.29,0,0,1,206.37,88ZM107.59,42.4A135.28,135.28,0,0,0,85.29,88H49.63A88.29,88.29,0,0,1,10
17.59,42.4ZM49.63,168H85.29a135.28,135.28,0,0,0,22.3,45.6A88.29,88.29,0,0,1,49.63,168Zm98.78,45.6a135.28,135.28,0,0,0,22.3-45.6h35.66A88.29,88.29,0,0,1,148.41,213.6Z"},child:[]}]})(e)},"PiMagnifyingGlass",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"},child:[]}]})(e)},"PiMinusBold",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M228,128a12,12,0,0,1-12,12H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128Z"},child:[]}]})(e)},"PiPlusBold",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 256 256",fill:"currentColor"},child:[{tag:"path",attr:{d:"M228,128a12,12,0,0,1-12,12H140v76a12,12,0,0,1-24,0V140H40a12,12,0,0,1,0-24h76V40a12,12,0,0,1,24,0v76h76A12,12,0,0,1,228,128Z"},child:[]}]})(e)}])},620,31835,e=>{"use strict";var t=e.i(62560);function r(e){let[r,i]=(0,t.useState)(0);return(0,t.useEffect)(()=>{function t(){e.current?.offsetHeight&&i(e.current.offsetHeight)}return r||t(),addEventListener("resize",t),()=>{removeEventListener("resize",t)}},[r,e]),r?{"--element-height":`${r}px`}:void 0}e.s(["useElementHeightCSSProperty",0,r],620);var i=e.i(72525),n=e.i(7284),s=e.i(87931),a=e.i(80177);e.s(["Button",0,function({outline:e,purple:o,externalLink:l,children:u,contrast:c,...h}){let d=(0,t.useRef)(null),m=r(d);return(0,i.jsxs)(a.LinkWrapper,{ref:d,style:m,className:(0,n.default)("group/Button","flex min-h-[42px] w-fit cursor-pointer items-center gap-8 rounded-[100px] px-12 py-8 text-center text-almarai-16 leading-[normal] tracking-[1px] outline-none ring-0 transition-colors duration-150 ease-in-out md:px-16 md:py-12",e?"light"===c?"bg-transparent focus:border-purple-600 focus:text-purple-600 active:border-purple-700 active:text-purple-700 disabled:border-grey-400 disabled:text-grey-400 border border-solid border-eclipse-900 text-eclipse-900 hover:border-purple-500 hover:text-purple-500":"bg-transparent border border-solid border-white text-white hover:border-amethyst-200 hover:text-amethyst-200 focus:border-amethyst-400 focus:text-amethyst-400 active:border-amethyst-400 active:text-amethyst-400 disabled:border-grey-700 disabled:text-grey-700":o?"focus:bg-purple-600 active:bg-purple-600 bg-purple-500 text-white hover:bg-purple-400 disabled:bg-grey-700":"bg-eclipse-900 text-white hover:bg-eclipse-700 focus:bg-eclipse-800 active:bg-eclipse-800 disabled:bg-grey-700"),...h,children:[u,l&&(0,i.jsx)(s.PiArrowSquareOutLight,{})]})}],31835)},95156,e=>{"use strict";var t=e.i(53299);e.s(["IoChevronForward",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"48",d:"m184 112 144 144-144 144"},child:[]}]})(e)},"IoPlaySharp",0,function(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"m96 448 320-192L96 64v384z"},child:[]}]})(e)}])},85929,e=>{e.v({videoContainer:"VideoEmbed-module__YJWDLq__videoContainer"})},60123,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(62560),n=e.i(95156),s=e.i(85929);let a=e=>{let a,o,{variant:l="section"}=e,u=i.default.useRef(null),c=i.default.useRef(null),[h,d]=i.default.useState(!1),[m,f]=i.default.useState(!1);i.default.useEffect(()=>{let e=()=>{window.Cookiebot&&d(window.Cookiebot.consent.marketing)};e();let t=()=>{e()};return window.addEventListener("CookiebotOnAccept",t),window.addEventListener("CookiebotOnDecline",t),()=>{window.removeEventListener("CookiebotOnAccept",t),window.removeEventListener("CookiebotOnDecline",t)}},[]);let p=e.width||640,g=e.height||360;switch(e.provider){case"youtube":{let r="default.jpg";p&&(p>120&&(r="mqdefault.jpg"),p>320&&(r="hqdefault.jpg"),p>480&&(r="sddefault.jpg"),p>640&&(r="maxresdefault.jpg")),o=e.thumbnailUrl&&e.thumbnailUrl.substring(0,e.thumbnailUrl.lastIndexOf("/"))+"/"+r,a=(0,t.jsx)("iframe",{allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen",ref:u,title:e.title,src:`https://${h?"www.youtube.com":"www.youtube-nocookie.com"}/embed/${e.providerUid}?`,sandbox:h?void 0:"allow-scripts allow-same-origin",width:p,height:g,frameBorder:"0",allowFullScreen:!0,loading:"lazy",tabIndex:m?0:-1});break}case"vimeo":o=e.thumbnailUrl&&e.thumbnailUrl.split("-d_")[0]+"-d_"+p+"x"+g,a=(0,t.jsx)("iframe",{ref:u,title:e.title,src:`https://player.vimeo.com/video/${e.providerUid}?${h?"":"dnt=1"}`,width:p,height:g,frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0,loading:"lazy",tabIndex:m?0:-1});break;default:console.warn(`Unhandled VideoEmbed provider: ${e.provider}`)}return(0,t.jsxs)("div",{className:(0,r.default)("section"===l&&"!mx-auto flex w-full max-w-[900px] flex-col gap-32 justify-self-center px-24 py-16 md:mx-48 md:my-32 lg:mx-0 lg:my-48 lg:px-0 lg:py-0","within-block"===l&&["flex w-full max-w-[900px] flex-col rounded-2xl bg-grey-200 p-16"]),children:[e.sectionTitle&&(0,t.jsx)("h2",{className:"font-almarai text-almarai-34 lg:text-almarai-40",children:e.sectionTitle}),(0,t.jsxs)("div",{className:(0,r.default)("relative flex h-full w-full items-center justify-center bg-black"),children:[(0,t.jsx)("div",{className:s.default.videoContainer,children:a}),!m&&o&&(0,t.jsxs)("button",{ref:c,"aria-label":"Play video",title:"Play video",onClick:()=>
1{if(u.current)switch(e.provider){case"vimeo":case"youtube":u.current.src+="&autoplay=1"}f(!0)},children:[(0,t.jsx)("img",{src:o,alt:"",loading:"lazy"}),(0,t.jsx)(n.IoPlaySharp,{})]})]})]})};e.s(["VideoEmbed",0,a,"default",0,a])},60524,e=>{"use strict";var t=e.i(72525),r=e.i(62560);let i=r.default.createContext(void 0);e.s(["AccordionProvider",0,function({initialState:e=[],children:n,closeEventName:s}){let[a,o]=(0,r.useState)(e);return(0,r.useEffect)(()=>{if(!s)return;let e=()=>{o([])};return document.addEventListener(s,e),()=>{document.removeEventListener(s,e)}},[s]),(0,t.jsx)(i.Provider,{value:{onSummaryClick:function({level:e,index:t}){0===e&&o(e=>{let r=[];return e[0]!==t&&(r[0]=t),r}),1===e&&o(e=>{let r=[...e];return e[1]===t&&(r[1]=void 0),e[1]!==t&&(r[1]=t),r.length=2,r}),2===e&&o(e=>{let r=[...e];return e[2]===t&&(r[2]=void 0),e[2]!==t&&(r[2]=t),r})},accordionState:a},children:n})},"AccordionStateContext",0,i,"useAccordionItem",0,function({level:e,index:t}){let n=r.default.useContext(i);if(void 0===n)throw Error("useAccordionItem must be used within a AccordionProvider");let{open:s,hasChildOpen:a,isChild:o}=function({level:e,index:t,accordionState:r}){return{open:t===r[e],hasChildOpen:void 0!==r[1],isChild:e>0}}({accordionState:n.accordionState,level:e,index:t});return{open:s,hasChildOpen:a,isChild:o,onSummaryClick:n.onSummaryClick}}])},47373,e=>{e.v({accordion:"AccordionItem-module__LcKFcq__accordion"})},45962,e=>{"use strict";var t=e.i(72525),r=e.i(60524),i=e.i(7284),n=e.i(62560),s=e.i(87931),a=e.i(47373);function o({title:e,headingTag:r="h4",body:l,children:u,onClick:c,onSummaryClick:h,open:d}){let m=(0,n.useRef)(null),f=void 0!==u,[p,g]=(0,n.useState)("74px"),[y,v]=(0,n.use
1State)("74px");return(0,n.useEffect)(()=>{m.current&&(d&&(m.current.open=!0,g(`${m.current.scrollHeight}px`),v(`${m.current.scrollHeight}px`)),d||g("74px"))},[d]),(0,t.jsxs)("details",{ref:m,role:"presentation",className:(0,i.default)("border-b-[1px] border-grey-500",a.default.accordion),style:{height:p,maxHeight:y},"data-open":d,children:[(0,t.jsxs)("summary",{className:(0,i.default)("flex cursor-pointer flex-row justify-between",f?"py-4":"py-12"),onClick:function(e){e.preventDefault(),h()},children:[(0,t.jsx)("div",{className:"flex flex-col justify-center",children:(0,t.jsx)(r,{className:(0,i.default)("font-almarai text-almarai-18",d&&"text-purple-500"),children:e})}),(0,t.jsx)("span",{className:"ml-2 text-[24px]",children:(0,t.jsx)("button",{className:(0,i.default)("flex h-48 w-48 items-center justify-end"),type:"button",onClick:c,children:d?(0,t.jsx)(s.PiMinusBold,{className:(0,i.default)("h-16 w-16"),color:"#69188E"}):(0,t.jsx)(s.PiPlusBold,{className:(0,i.default)("h-16 w-16"),color:"#69188E"})})})]}),(0,t.jsx)("div",{className:(0,i.default)("pb-20"),children:l}),u]})}e.s(["GeneralAccordionItem",0,function({title:e,headingTag:i,level:n,index:s,slug:a,body:l,children:u}){let{onSummaryClick:c,open:h,hasChildOpen:d,isChild:m}=(0,r.useAccordionItem)({level:n,index:s});return(0,t.jsx)(o,{title:e,headingTag:i,open:h,hasChildOpen:d,isChild:m,onSummaryClick:()=>{c({level:n,index:s,slug:a})},body:l,children:u})}],45962)},75415,e=>{"use strict";e.s(["TOP_NAVIGATION_ID",0,"top-navigation"])},50564,59778,8983,28076,34771,13968,8027,70080,49997,86968,50764,70826,25542,95905,20194,19372,87067,7953,20986,33836,26935,10246,71929,61866,12126,47553,6470,10514,50252,30142,91662,37259,54012,20802,98361,64355,8578,43646,61749,86645,55458,81103,44473,6778,33186,40109,41330,75342,97225,70110,39190,5020,67052,74302,9846,97002,e=>{"use strict";let t,r,i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set([...i,"pathRotation"]);e.s(["transformPropOrder",0,i,"transformProps",0,n],59778);let s=(e,t,r)=>r>t?t:r<e?e:r;e.s(["clamp",0,s],8983);let a={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...a,transform:e=>s(0,1,e)},l={...a,default:1},u=e=>Math.round(1e5*e)/1e5,c=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,h=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,d=(e,t)=>r=>!!("string"==typeof r&&h.test(r)&&r.startsWith(e)||t&&null!=r&&Object.prototype.hasOwnProperty.call(r,t)),m=(e,t,r)=>i=>{if("string"!=typeof i)return i;let[n,s,a,o]=i.match(c);return{[e]:parseFloat(n),[t]:parseFloat(s),[r]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},f={...a,transform:e=>Math.round(s(0,255,e))},p={test:d("rgb","red"),parse:m("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+f.transform(e)+", "+f.transform(t)+", "+f.transform(r)+", "+u(o.transform(i))+")"};e.s(["rgba",0,p],28076);let g={test:d("#"),parse:function(e){let t="",r="",i="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,i+=i,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alpha:n?parseInt(n,16)/255:1}},transform:p.transform};e.s(["hex",0,g],34771);let y=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),v=y("deg"),w=y("%"),b=y("px"),x=y("vh"),T=y("vw"),_={...w,parse:e=>w.parse(e)/100,transform:e=>w.transform(100*e)};e.s(["degrees",0,v,"percent",0,w,"progressPercentage",0,_,"px",0,b,"vh",0,x,"vw",0,T],13968);let S={test:d("hsl","hue"),parse:m("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+w.transform(u(t))+", "+w.transform(u(r))+", "+u(o.transform(i))+")"};e.s(["hsla",0,S],8027);let k={test:e=>p.test(e)||g.test(e)||S.test(e),parse:e=>p.test(e)?p.parse(e):S.test(e)?S.parse(e):g.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?p.transform(e):S.transform(e),getAnimatableNone:e=>{let t=k.parse(e);return t.alpha=0,k.transform(t)}};e.s(["color",0,k],70080);let E=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,C="number",P="color",$=/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 A(e){let t=e.toString(),r=[],i={color:[],number:[],var:[]},n=[],s=0,a=t.replace($,e=>(k.test(e)?(i.color.push(s),n.push(P),r.push(k.parse(e))):e.startsWith("var(")?(i.var.push(s),n.push("var"),r.push(e)):(i.number.push(s),n.push(C),r.push(parseFloat(e))),++s,"${}")).split("${}");return{values:r,split:a,indexes:i,types:n}}function L({split:e,types:t}){let r=e.length;return i=>{let n="";for(let s=0;s<r;s++)if(n+=e[s],void 0!==i[s]){let e=t[s];e===C?n+=u(i[s]):e===P?n+=k.transform(i[s]):n+=i[s]}return n}}let I={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(c)?.length||0)+(e.match(E)?.length||0)>0},parse:function(e){return A(e).values},createTransformer:function(e){return L(A(e))},getAnimatableNone:function(e){let t=A(e);return L(t)(t.values.map((e,r)=>((e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:"number"==typeof e?0:k.test(e)?k.getAnimatableNone(e):e)(e,t.split[r])))}};e.s(["analyseComplexValue",0,A,"complex",0,I],49997);let O=new Set(["brightness","contrast","saturate","opacity"]);function M(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=r.match(c)||[];
1if(!i)return e;let n=r.replace(i,""),s=+!!O.has(t);return i!==r&&(s*=100),t+"("+s+n+")"}let R=/\b([a-z-]*)\(.*?\)/gu,j={...I,getAnimatableNone:e=>{let t=e.match(R);return t?t.map(M).join(" "):e}},D={...I,getAnimatableNone:e=>{let t=I.parse(e);return I.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},N={...a,transform:Math.round},F={borderWidth:b,borderTopWidth:b,borderRightWidth:b,borderBottomWidth:b,borderLeftWidth:b,borderRadius:b,borderTopLeftRadius:b,borderTopRightRadius:b,borderBottomRightRadius:b,borderBottomLeftRadius:b,width:b,maxWidth:b,height:b,maxHeight:b,top:b,right:b,bottom:b,left:b,inset:b,insetBlock:b,insetBlockStart:b,insetBlockEnd:b,insetInline:b,insetInlineStart:b,insetInlineEnd:b,padding:b,paddingTop:b,paddingRight:b,paddingBottom:b,paddingLeft:b,paddingBlock:b,paddingBlockStart:b,paddingBlockEnd:b,paddingInline:b,paddingInlineStart:b,paddingInlineEnd:b,margin:b,marginTop:b,marginRight:b,marginBottom:b,marginLeft:b,marginBlock:b,marginBlockStart:b,marginBlockEnd:b,marginInline:b,marginInlineStart:b,marginInlineEnd:b,fontSize:b,backgroundPositionX:b,backgroundPositionY:b,rotate:v,pathRotation:v,rotateX:v,rotateY:v,rotateZ:v,scale:l,scaleX:l,scaleY:l,scaleZ:l,skew:v,skewX:v,skewY:v,distance:b,translateX:b,translateY:b,translateZ:b,x:b,y:b,z:b,perspective:b,transformPerspective:b,opacity:o,originX:_,originY:_,originZ:b,zIndex:N,fillOpacity:o,strokeOpacity:o,numOctaves:N},V={...F,color:k,backgroundColor:k,outlineColor:k,fill:k,stroke:k,borderColor:k,borderTopColor:k,borderRightColor:k,borderBottomColor:k,borderLeftColor:k,filter:j,WebkitFilter:j,mask:D,WebkitMask:D},B=e=>V[e],q=()=>({translate:0,scale:1,origin:0,originPoint:0}),U=()=>({min:0,max:0}),W=()=>({x:U(),y:U()});e.s(["createBox",0,W,"createDelta",0,()=>({x:q(),y:q()})],86968);let H=e=>!!(e&&e.getVelocity);e.s(["isMotionValue",0,H],50764);let z=new Set(["width","height","top","left","right","bottom",...i]);e.s(["positionalKeys",0,z],70826);let G=e=>t=>t.test(e),Z=[a,b,w,v,T,x,{test:e=>"auto"===e,parse:e=>e}],Y=e=>Z.find(G(e));var K=e.i(2277);let J=()=>{};K.default,e.s(["invariant",0,J,"warning",0,()=>{}],25542);let X=e=>t=>"string"==typeof t&&t.startsWith(e),Q=X("--"),ee=X("var(--"),et=e=>!!ee(e)&&er.test(e.split("/*")[0].trim()),er=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ei(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}e.s(["containsCSSVariable",0,ei,"isCSSVariableName",0,Q,"isCSSVariableToken",0,et],95905);let en=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,es=e=>180*e/Math.PI,ea=e=>el(es(Math.atan2(e[1],e[0]))),eo={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:ea,rotateZ:ea,skewX:e=>es(Math.atan(e[1])),skewY:e=>es(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},el=e=>((e%=360)<0&&(e+=360),e),eu=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),ec=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),eh={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eu,scaleY:ec,scale:e=>(eu(e)+ec(e))/2,rotateX:e=>el(es(Math.atan2(e[6],e[5]))),rotateY:e=>el(es(Math.atan2(-e[2],e[0]))),rotateZ:ea,rotate:ea,skewX:e=>es(Math.atan(e[4])),skewY:e=>es(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ed(e){return+!!e.includes("scale")}function em(e,t){let r,i;if(!e||"none"===e)return ed(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)r=eh,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=eo,i=t}if(!i)return ed(t);let s=r[t],a=i[1].split(",").map(ef);return"function"==typeof s?s(a):a[s]}function ef(e){return parseFloat(e.trim())}let ep=e=>e===a||e===b,eg=new Set(["x","y","z"]),ey=i.filter(e=>!eg.has(e)),ev={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:i})=>{let n=e.max-e.min;return"border-box"===i?n:n-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:i})=>{let n=e.max-e.min;return"border-box"===i?n:n-parseFloat(t)-parseFloat(r)},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:(e,{transform:t})=>em(t,"x"),y:(e,{transform:t})=>em(t,"y")};ev.translateX=ev.x,ev.translateY=ev.y;let ew=e=>e;e.s(["noop",0,ew],20194);let eb={};
1e.s(["MotionGlobalConfig",0,eb],19372);let ex=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],eT={value:null,addProjectionMetrics:null};function e_(e,t){let r=!1,i=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>r=!0,a=ex.reduce((e,r)=>(e[r]=function(e,t){let r=new Set,i=new Set,n=!1,s=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function u(t){a.has(t)&&(c.schedule(t),e()),l++,t(o)}let c={schedule:(e,t=!1,s=!1)=>{let o=s&&n?r:i;return t&&a.add(e),o.add(e),e},cancel:e=>{i.delete(e),a.delete(e)},process:e=>{if(o=e,n){s=!0;return}n=!0;let a=r;r=i,i=a,r.forEach(u),t&&eT.value&&eT.value.frameloop[t].push(l),l=0,r.clear(),n=!1,s&&(s=!1,c.process(e))}};return c}(s,t?r:void 0),e),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:c,update:h,preRender:d,render:m,postRender:f}=a,p=()=>{let s=eb.useManualTiming,a=s?n.timestamp:performance.now();r=!1,s||(n.delta=i?1e3/60:Math.max(Math.min(a-n.timestamp,40),1)),n.timestamp=a,n.isProcessing=!0,o.process(n),l.process(n),u.process(n),c.process(n),h.process(n),d.process(n),m.process(n),f.process(n),n.isProcessing=!1,r&&t&&(i=!1,e(p))};return{schedule:ex.reduce((t,s)=>{let o=a[s];return t[s]=(t,s=!1,a=!1)=>(!r&&(r=!0,i=!0,n.isProcessing||e(p)),o.schedule(t,s,a)),t},{}),cancel:e=>{for(let t=0;t<ex.length;t++)a[ex[t]].cancel(e)},state:n,steps:a}}e.s(["statsBuffer",0,eT],87067);let{schedule:eS,cancel:ek,state:eE,steps:eC}=e_("u">typeof requestAnimationFrame?requestAnimationFrame:ew,!0);e.s(["cancelFrame",0,ek,"frame",0,eS,"frameData",0,eE,"frameSteps",0,eC],7953);let eP=new Set,e$=!1,eA=!1,eL=!1;function eI(){if(eA){let e=Array.from(eP).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t,i=(t=[],ey.forEach(r=>{let i=e.getValue(r);void 0!==i&&(t.push([r,i.get()]),i.set(+!!r.startsWith("scale")))}),t);i.length&&(r.set(e,i),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eA=!1,e$=!1,eP.forEach(e=>e.complete(eL)),eP.clear()}function eO(){eP.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eA=!0)})}class eM{constructor(e,t,r,i,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(eP.add(this),e$||(e$=!0,eS.read(eO),eS.resolveKeyframes(eI))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:i}=this;if(null===e[0]){let n=i?.get(),s=e[e.length-1];if(void 0!==n)e[0]=n;else if(r&&t){let i=r.readValue(t,s);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=s),i&&void 0===n&&i.set(e[0])}for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eP.delete(this)}cancel(){"scheduled"===this.state&&(eP.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}e.s(["KeyframeResolver",0,eM,"flushKeyframeResolvers",0,function(){eL=!0,eO(),eI(),eL=!1}],20986);let eR=new Set([j,D]);function ej(e,t){let r=B(e);return eR.has(r)||(r=I),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let eD=new Set(["auto","none","0"]);class eN extends eM{constructor(e,t,r,i,n){super(e,t,r,i,n,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let i=e[r];if("string"==typeof i&&et(i=i.trim())){let n=function e(t,r,i=1){J(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(e){let t=en.exec(e);if(!t)return[,];let[,r,i,n]=t;return[`--${r??i}`,n]}(t);if(!n)return;let a=window.getComputedStyle(r).getPropertyValue(n);if(a){let e=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return et(s)?e(s,r,i+1):s}(i,t.current);void 0!==n&&(e[r]=n),r===e.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!z.has(r)||2!==e.length)return;let[i,n]=e,s=Y(i),a=Y(n);if(ei(i)!==ei(n)&&ev[r]){this.needsMeasurement=!0;return}if(s!==a)if(ep(s)&&ep(a))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else ev[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)(null===e[t]||function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)}(e[t]))&&r.push(t);r.length&&function(e,t,r){let i,n=0;for(;n<e.length&&!i;){let t=e[n];"string"==typeof t&&!eD.has(t)&&A(t).values.length&&(i=e[n]),n++}if(i&&r)for(let n of t)e[n]=ej(r,i)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=ev[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let i=t[t.length-1];void 0!==i&&e.getValue(r,i).jump(i,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let i=e.getValue(t);i&&i.jump(this.measuredOrigin,!1);let n=r.length-1,s=r[n];r[n]=ev[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let eF=e=>1e3*e,eV=e=>e/1e3;function eB(e,t){-1===e.indexOf(t)&&e.push(t)}function eq(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}e.s(["millisecondsToSeconds",0,eV,"secondsToMilliseconds",0,eF],33836),e.s(["addUniqueItem",0,eB,"removeItem",0,eq],26935);class eU{constructor(){this.subscriptions=[]}add(e){return eB(this.subscriptions,e),()=>eq(this.subscriptions,e)}notify(e,t,r){let i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,r);else for(let n=0;n<i;n++){let i=this.subscriptions[n];i&&i(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function eW(e,t,r){t.startsWith("--")?e.style.setProperty(t,r):e.style[t]=r}function eH(e){let t;return()=>(void 0===t&&(t=e()),t)}e.s(["SubscriptionManager",0,eU],10246),e.s(["setStyle",0,eW],71929),e.s(["memo",0,eH],61866);let ez={};function eG(e,t){let r=eH(e);return()=>ez[t]??r()}let eZ=eG(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),eY=e=>null!==e;function eK(e,{repeat:t,repeatType:r="loop"},i,n=1){let s=e.filter(eY),a=n<0||t&&"loop"!==r&&t%2==1?0:s.length-1;return a&&void 0!==i?i:s[a]}e.s(["getFinalKeyframe",0,eK],12126);class eJ{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}e.s(["WithPromise",0,eJ],47553);let eX={layout:0,mainThread:0,waapi:0};e.s(["activeAnimations",0,eX],6470);let eQ=e=>Array.isArray(e)&&"number"==typeof e[0];e.s(["isBezierDefinition",0,eQ],10514);let e0=eG(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),e1=(e,t,r=10)=>{let i="",n=Math.max(Math.round(t/r),2);for(let t=0;t<n;t++)i+=Math.round(1e4*e(t/(n-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`};e.s(["generateLinearEasing",0,e1],50252);let e2=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,e6={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:e2([0,.65,.55,1]),circOut:e2([.55,0,1,.45]),backIn:e2([.31,.01,.66,-.59]),backOut:e2([.33,1.53,.69,.99])};function e3(e){return"function"==typeof e&&"applyToOptions"in e}e.s(["isGenerator",0,e3],30142);class e5 extends eJ{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:r,keyframes:i,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:a,onComplete:o}=e;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=e,J("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:e,...t}){return e3(e)&&e0()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}(e);this.animation=function(e,t,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let c={[t]:r};l&&(c.offset=l);let h=function e(t,r){if(t)return"function"==typeof t?e0()?e1(t,r):"ease-out":eQ(t)?e2(t):Array.isArray(t)?t.map(t=>e(t,r)||e6.easeOut):e6[t]}(o,n);Array.isArray(h)&&(c.easing=h),eT.value&&eX.waapi++;let d={delay:i,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};u&&(d.pseudoElement=u);let m=e.animate(c,d);return eT.value&&m.finished.finally(()=>{eX.waapi--}),m}(t,r,i,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let e=eK(i,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(e),eW(t,r,e),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return eV(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+eV(e)}get time(){return eV(Number(this.animation.currentTime)||0)}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=eF(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:i}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&eZ())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),ew):i(this)}}e.s(["NativeAnimation",0,e5],91662);let e4=new Set(["opacity","clipPath","filter","transform"]);e.s(["acceleratedValues",0,e4],37259);let{schedule:e8}=e_(queueMicrotask,!1);function e7(){r=void 0}e.s(["microtask",0,e8],54012);let e9={now:()=>(void 0===r&&e9.set(eE.isProcessing||eb.useManualTiming?eE.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(e7)}};e.s(["time",0,e9],20802);let te=(e,t)=>t?1e3/t*e:0;e.s(["velocityPerSecond",0,te],98361);class tt{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=e9.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=e9.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(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 eU);let r=this.events[e].add(t);return"change"===e?()=>{r(),eS.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return t&&t.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=e9.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return te(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.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tr(e,t){return new tt(e,t)}e.s(["motionValue",0,tr],64355);let ti=[...Z,k,I],tn=new WeakMap;function ts(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function ta(e){return"string"==typeof e||Array.isArray(e)}e.s(["isAnimationControls",0,ts],8578),e.s(["isVariantLabel",0,ta],43646);let to=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tl=["initial",...to];function tu(e){return ts(e.animate)||tl.some(t=>ta(e[t]))}function tc(e){return!!(tu(e)||e.variants)}e.s(["variantPriorityOrder",0,to,"variantProps",0,tl],61749),e.s(["isControllingVariants",0,tu,"isVariantNode",0,tc],86645);let th={current:null},td={current:!1},tm="u">typeof window;function tf(e){let t=[{},{}];
1return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function tp(e,t,r,i){if("function"==typeof t){let[n,s]=tf(i);t=t(void 0!==r?r:e.custom,n,s)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[n,s]=tf(i);t=t(void 0!==r?r:e.custom,n,s)}return t}e.s(["resolveVariantFromProps",0,tp],55458);let tg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ty={};class tv{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:i,skipAnimations:n,blockInitialAnimation:s,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=eM,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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=e9.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eS.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=u,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=n,this.options=o,this.blockInitialAnimation=!!s,this.isControllingVariants=tu(t),this.isVariantNode=tc(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:c,...h}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in h){const t=h[e];void 0!==l[e]&&H(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,tn.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.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(td.current||function(){if(td.current=!0,tm)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>th.current=e.matches;e.addEventListener("change",t),t()}else th.current=!1}(),this.shouldReduceMotion=th.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),ek(this.notifyUpdate),ek(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(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}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&e4.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:i,times:n,ease:s,duration:a}=t.accelerate,o=new e5({element:this.current,name:e,keyframes:i,times:n,ease:s,duration:eF(a)}),l=r(o);this.valueSubscriptions.set(e,()=>{l(),o.cancel()});return}let i=n.has(e);i&&this.onBindTransform&&this.onBindTransform();let s=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eS.preRender(this.notifyUpdate),i&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{s(),r&&r()})}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 ty){let t=ty[e];if(!t)continue;let{isEnabled:r,Feature:i}=t;if(!this.features[e]&&i&&r(this.props)&&(this.features[e]=new i(this)),this.features[e]){let t=this.features[e];
1t.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):W()}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<tg.length;t++){let r=tg[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i=e["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(e,t,r){for(let i in t){let n=t[i],s=r[i];if(H(n))e.addValue(i,n);else if(H(s))e.addValue(i,tr(n,{owner:e}));else if(s!==n)if(e.hasValue(i)){let t=e.getValue(i);!0===t.liveStyle?t.jump(n):t.hasAnimated||t.set(n)}else{let t=e.getStaticValue(i);e.addValue(i,tr(void 0!==t?t:n,{owner:e}))}}for(let i in r)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}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 r=this.values.get(e);t!==r&&(r&&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 r=this.values.get(e);return void 0===r&&void 0!==t&&(r=tr(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){let i,n;if("string"==typeof r&&(i=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(i)||(n=r,/^0[^.\s]+$/u.test(n))))r=parseFloat(r);else{let i;i=r,!ti.find(G(i))&&I.test(t)&&(r=ej(e,t))}this.setBaseTarget(e,H(r)?r.get():r)}return H(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=tp(this.props,r,this.presenceContext?.custom);i&&(t=i[e])}if(r&&void 0!==t)return t;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||H(i)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new eU),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){e8.render(this.render)}}e.s(["VisualElement",0,tv,"getFeatureDefinitions",0,function(){return ty},"setFeatureDefinitions",0,function(e){ty=e}],81103);class tw extends tv{constructor(){super(...arguments),this.KeyframeResolver=eN}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;H(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function tb(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}e.s(["camelToDash",0,tb],44473);let tx=(e,t)=>t&&"number"==typeof e?t.transform(e):e,tT={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},t_=i.length;function tS(e,t,r){let{style:s,vars:a,transformOrigin:o}=e,l=!1,u=!1;for(let e in t){let r=t[e];if(n.has(e)){l=!0;continue}if(Q(e)){a[e]=r;continue}{let t=tx(r,F[e]);e.startsWith("origin")?(u=!0,o[e]=t):s[e]=t}}if(!t.transform&&(l||r?s.transform=function(e,t,r){let n="",s=!0;for(let a=0;a<t_;a++){let o=i[a],l=e[o];if(void 0===l)continue;let u=!0;
1if("number"==typeof l)u=l===+!!o.startsWith("scale");else{let e=parseFloat(l);u=o.startsWith("scale")?1===e:0===e}if(!u||r){let e=tx(l,F[o]);if(!u){s=!1;let t=tT[o]||o;n+=`${t}(${e}) `}r&&(t[o]=e)}}let a=e.pathRotation;return a&&(s=!1,n+=`rotate(${tx(a,F.pathRotation)}) `),n=n.trim(),r?n=r(t,s?"":n):s&&(n="none"),n}(t,e.transform,r):s.transform&&(s.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=o;s.transformOrigin=`${e} ${t} ${r}`}}e.s(["buildHTMLStyles",0,tS],6778);let tk={offset:"stroke-dashoffset",array:"stroke-dasharray"},tE={offset:"strokeDashoffset",array:"strokeDasharray"},tC=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tP(e,{attrX:t,attrY:r,attrScale:i,pathLength:n,pathSpacing:s=1,pathOffset:a=0,...o},l,u,c){if(tS(e,o,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:h,style:d}=e;for(let e of(h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=c?.transformBox??"fill-box",delete h.transformBox),tC))void 0!==h[e]&&(d[e]=h[e],delete h[e]);void 0!==t&&(h.x=t),void 0!==r&&(h.y=r),void 0!==i&&(h.scale=i),void 0!==n&&function(e,t,r=1,i=0,n=!0){e.pathLength=1;let s=n?tk:tE;e[s.offset]=`${-i}`,e[s.array]=`${t} ${r}`}(h,n,s,a,!1)}e.s(["buildSVGAttrs",0,tP],33186);let t$=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"]),tA=e=>"string"==typeof e&&"svg"===e.toLowerCase();function tL(e,{style:t,vars:r},i,n){let s,a=e.style;for(s in t)a[s]=t[s];for(s in n?.applyProjectionStyles(a,i),r)a.setProperty(s,r[s])}function tI(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}e.s(["isSVGTag",0,tA],40109);let tO={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!b.test(e))return e;else e=parseFloat(e);let r=tI(e,t.target.x),i=tI(e,t.target.y);return`${r}% ${i}%`}},tM=(e,t,r)=>e+(t-e)*r;e.s(["mixNumber",0,tM],41330);let tR={borderRadius:{...tO,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:tO,borderTopRightRadius:tO,borderBottomLeftRadius:tO,borderBottomRightRadius:tO,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let i=I.parse(e);if(i.length>5)return e;let n=I.createTransformer(e),s=+("number"!=typeof i[0]),a=r.x.scale*t.x,o=r.y.scale*t.y;i[0+s]/=a,i[1+s]/=o;let l=tM(a,o,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),n(i)}}};function tj(e,{layout:t,layoutId:r}){return n.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!tR[e]||"opacity"===e)}function tD(e,t,r){let i=e.style,n=t?.style,s={};if(!i)return s;for(let t in i)(H(i[t])||n&&H(n[t])||tj(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(s[t]=i[t]);return s}function tN(e,t,r){let n=tD(e,t,r);for(let r in e)(H(e[r])||H(t[r]))&&(n[-1!==i.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}e.s(["scaleCorrectors",0,tR],75342),e.s(["isForcedMotionValue",0,tj],97225),e.s(["scrapeMotionValuesFromProps",0,tD],70110),e.s(["scrapeMotionValuesFromProps",0,tN],39190);class tF extends tw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=W}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(n.has(t)){let e=B(t);return e&&e.default||0}return t=t$.has(t)?t:tb(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return tN(e,t,r)}build(e,t,r){tP(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,i){for(let r in tL(e,t,void 0,i),t.attrs)e.setAttribute(t$.has(r)?r:tb(r),t.attrs[r])}mount(e){this.isSVGTag=tA(e.tagName),super.mount(e)}}function tV({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function tB(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}function tq(e){return void 0===e||1===e}function tU({scale:e,scaleX:t,scaleY:r}){return!tq(e)||!tq(t)||!tq(r)}function tW(e){return tU(e)||tH(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function tH(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function tz(e,t,r){return r+t*(e-r)}
1function tG(e,t,r,i,n){return void 0!==n&&(e=tz(e,n,i)),tz(e,r,i)+t}function tZ(e,t=0,r=1,i,n){e.min=tG(e.min,t,r,i,n),e.max=tG(e.max,t,r,i,n)}function tY(e,{x:t,y:r}){tZ(e.x,t.translate,t.scale,t.originPoint),tZ(e.y,r.translate,r.scale,r.originPoint)}function tK(e,t){e.min+=t,e.max+=t}function tJ(e,t,r,i,n=.5){let s=tM(e.min,e.max,n);tZ(e,t,r,s,i)}function tX(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function tQ(e,t,r){let i=r??e;tJ(e.x,tX(t.x,i.x),t.scaleX,t.scale,t.originX),tJ(e.y,tX(t.y,i.y),t.scaleY,t.scale,t.originY)}function t0(e,t){return tV(tB(e.getBoundingClientRect(),t))}e.s(["convertBoundingBoxToBox",0,tV,"convertBoxToBoundingBox",0,function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}},"transformBoxPoints",0,tB],5020),e.s(["has2DTranslate",0,tH,"hasScale",0,tU,"hasTransform",0,tW],67052),e.s(["applyBoxDelta",0,tY,"applyTreeDeltas",0,function(e,t,r,i=!1){let n,s,a=r.length;if(a){t.x=t.y=1;for(let o=0;o<a;o++){s=(n=r[o]).projectionDelta;let{visualElement:a}=n.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(i&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(tK(e.x,-n.scroll.offset.x),tK(e.y,-n.scroll.offset.y)),s&&(t.x*=s.x.scale,t.y*=s.y.scale,tY(e,s)),i&&tW(n.latestValues)&&tQ(e,n.latestValues,n.layout?.layoutBox))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}},"scalePoint",0,tz,"transformBox",0,tQ,"translateAxis",0,tK],74302),e.s(["measurePageBox",0,function(e,t,r){let i=t0(e,r),{scroll:n}=t;return n&&(tK(i.x,n.offset.x),tK(i.y,n.offset.y)),i},"measureViewportBox",0,t0],9846);class t1 extends tw{constructor(){super(...arguments),this.type="html",this.renderInstance=tL}readValueFromInstance(e,t){if(n.has(t))return this.projection?.isProjecting?ed(t):((e,t)=>{let{transform:r="none"}=getComputedStyle(e);return em(r,t)})(e,t);{let r=window.getComputedStyle(e),i=(Q(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return t0(e,t)}build(e,t,r){tS(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return tD(e,t,r)}}var t2=e.i(62560);let t6=["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 t3(e){if("string"!=typeof e||e.includes("-"));else if(t6.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}e.s(["isSVGComponent",0,t3],97002),e.s(["createDomVisualElement",0,(e,t)=>t.isSVG??t3(e)?new tF(t):new t1(t,{allowProjection:e!==t2.Fragment})],50564)},3379,e=>{"use strict";let t=(0,e.i(62560).createContext)({});e.s(["LayoutGroupContext",0,t])},29087,e=>{"use strict";let t=(0,e.i(62560).createContext)({strict:!1});e.s(["LazyContext",0,t])},51347,e=>{"use strict";let t=(0,e.i(62560).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",0,t])},85432,98412,25265,66901,50692,72889,74032,e=>{"use strict";var t,r=e.i(62560);let i=(0,r.createContext)({});e.s(["MotionContext",0,i],85432);var n=e.i(86645),s=e.i(43646);function a(e){return Array.isArray(e)?e.join(" "):e}e.s(["useCreateMotionContext",0,function(e){let{initial:t,animate:o}=function(e,t){if((0,n.isControllingVariants)(e)){let{initial:t,animate:r}=e;return{initial:!1===t||(0,s.isVariantLabel)(t)?t:void 0,animate:(0,s.isVariantLabel)(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,r.useContext)(i));return(0,r.useMemo)(()=>({initial:t,animate:o}),[a(t),a(o)])}],98412);var o=e.i(50764),l=e.i(97225),u=e.i(6778);let c=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function h(e,t,r){for(let i in t)(0,o.isMotionValue)(t[i])||(0,l.isForcedMotionValue)(i,r)||(e[i]=t[i])}e.s(["createHtmlRenderState",0,c],25265);var d=e.i(33186),m=e.i(40109);let f=()=>({...c(),attrs:{}});e.s(["createSvgRenderState",0,f],66901);let p=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","propagate","ignoreStrict","viewport"]);function g(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||p.has(e)}let y=e=>!g(e);try{t=(()=>{let e=Error("Cannot find module '@emotion/is-prop-valid'");throw e.code="MODULE_NOT_FOUND",e})().default,"function"==typeof t&&(y=e=>e.startsWith("on")?!g(e):t(e))}catch{}var v=e.i(97002);e.s(["useRender",0,function(e,t,i,{latestValues:n},s,a=!1,l){let p=(l??(0,v.isSVGComponent)(e)?function(e,t,i,n){let s=(0,r.useMemo)(()=>{let r=f();return(0,d.buildSVGAttrs)(r,t,(0,m.isSVGTag)(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};h(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,t){let i,n,s={},a=(i=e.style||{},h(n={},i,e),Object.assign(n,function({transformTemplate:e},t){return(0,r.useMemo)(()=>{let r=c();return(0,u.buildHTMLStyles)(r,t,e),Object.assign({},r.vars,r.style)}
1,[t])}(e,t)),n);return e.drag&&!1!==e.dragListener&&(s.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(s.tabIndex=0),s.style=a,s})(t,n,s,e),w=function(e,t,r){let i={};for(let n in e)("values"!==n||"object"!=typeof e.values)&&!(0,o.isMotionValue)(e[n])&&(y(n)||!0===r&&g(n)||!t&&!g(n)||e.draggable&&n.startsWith("onDrag"))&&(i[n]=e[n]);return i}(t,"string"==typeof e,a),b=e!==r.Fragment?{...w,...p,ref:i}:{},{children:x}=t,T=(0,r.useMemo)(()=>(0,o.isMotionValue)(x)?x.get():x,[x]);return(0,r.createElement)(e,{...b,children:T})}],50692);var w=e.i(70110);e.s(["scrapeHTMLMotionValuesFromProps",()=>w.scrapeMotionValuesFromProps],72889),e.s(["resolveMotionValue",0,function(e){return(0,o.isMotionValue)(e)?e.get():e}],74032)},43777,e=>{"use strict";let t=(0,e.i(62560).createContext)(null);e.s(["PresenceContext",0,t])},893,e=>{"use strict";var t=e.i(62560);e.s(["useConstant",0,function(e){let r=(0,t.useRef)(null);return null===r.current&&(r.current=e()),r.current}])},48257,51148,29663,99639,82307,5863,54653,55243,94447,e=>{"use strict";var t=e.i(72889),r=e.i(74032),i=e.i(86645),n=e.i(8578),s=e.i(55458),a=e.i(62560),o=e.i(85432),l=e.i(43777),u=e.i(893);let c=e=>(t,c)=>{let h=(0,a.useContext)(o.MotionContext),d=(0,a.useContext)(l.PresenceContext),m=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},a,o,l){return{latestValues:function(e,t,a,o){let l={},u=o(e,{});for(let e in u)l[e]=(0,r.resolveMotionValue)(u[e]);let{initial:c,animate:h}=e,d=(0,i.isControllingVariants)(e),m=(0,i.isVariantNode)(e);t&&m&&!d&&!1!==e.inherit&&(void 0===c&&(c=t.initial),void 0===h&&(h=t.animate));let f=!!a&&!1===a.initial,p=(f=f||!1===c)?h:c;if(p&&"boolean"!=typeof p&&!(0,n.isAnimationControls)(p)){let t=Array.isArray(p)?p:[p];for(let r=0;r<t.length;r++){let i=(0,s.resolveVariantFromProps)(e,t[r]);if(i){let{transitionEnd:e,transition:t,...r}=i;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=f?t.length-1:0;t=t[e]}null!==t&&(l[e]=t)}for(let t in e)l[t]=e[t]}}}return l}(a,o,l,e),renderState:t()}})(e,t,h,d);return c?m():(0,u.useConstant)(m)};var h=e.i(25265);let d=c({scrapeMotionValuesFromProps:t.scrapeHTMLMotionValuesFromProps,createRenderState:h.createHtmlRenderState});e.s(["useHTMLVisualState",0,d],48257);var m=e.i(39190),m=m,f=e.i(66901);let p=c({scrapeMotionValuesFromProps:m.scrapeMotionValuesFromProps,createRenderState:f.createSvgRenderState});e.s(["useSVGVisualState",0,p],51148);var g=e.i(81103);let y={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"]},v=!1;function w(){return!function(){if(v)return;let e={};for(let t in y)e[t]={isEnabled:e=>y[t].some(t=>!!e[t])};(0,g.setFeatureDefinitions)(e),v=!0}(),(0,g.getFeatureDefinitions)()}e.s(["getInitializedFeatureDefinitions",0,w],29663),e.s(["loadFeatures",0,function(e){let t=w();for(let r in e)t[r]={...t[r],...e[r]};(0,g.setFeatureDefinitions)(t)}],99639);let b=Symbol.for("motionComponentSymbol");e.s(["motionComponentSymbol",0,b],82307),e.s(["useMotionRef",0,function(e,t,r){let i=(0,a.useRef)(r);(0,a.useInsertionEffect)(()=>{i.current=r});let n=(0,a.useRef)(null);return(0,a.useCallback)(r=>{r&&e.onMount?.(r),t&&(r?t.mount(r):t.unmount());let s=i.current;if("function"==typeof s)if(r){let e=s(r);"function"==typeof e&&(n.current=e)}else n.current?(n.current(),n.current=null):s(r);else s&&(s.current=r)},[t])}],5863);let x="data-"+(0,e.i(44473).camelToDash)("framerAppearId");e.s(["optimizedAppearDataAttribute",0,x],54653);let T=(0,a.createContext)({});e.s(["SwitchLayoutGroupContext",0,T],55243),e.s(["isRefObject",0,function(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}],94447)},78146,e=>{"use strict";var t=e.i(62560);let r="u">typeof window?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",0,r],78146)},78492,38976,33278,23301,74794,15645,509,70934,90350,42777,87935,8821,10927,66532,10401,e=>{"use strict";e.i(2277);var t=e.i(72525),r=e.i(62560),i=e.i(3379),n=e.i(29087),s=e.i(51347),a=e.i(85432),o=e.i(98412),l=e.i(50692),u=e.i(97002),c=e.i(48257),h=e.i(51148),d=e.i(29663),m=e.i(99639),f=e.i(82307),p=e.i(5863),g=e.i(54653),y=e.i(43777),v=e.i(55243),w=e.i(94447),b=e.i(78146);function x(e,{forwardMotionProps:T=!1,type:_}={},S,k){S&&(0,m.loadFeatures)(S);let E=_?"svg"===_:(0,u.isSVGComponent)(e),C=E?h.useSVGVisualState:c.useHTMLVisualState;function P(u,c){let h,m={...(0,r.useContext)(s.MotionConfigContext),...u,layoutId:function({layoutId:e}){let t=(0,r.useContext)(i.LayoutGroupContext).id;return t&&void 0!==e?t+"-"+e:e}(u)},{isStatic:f}=m,x=(0,o.useCreateMotionContext)(u),_=C(u,f);if(!f&&"u">typeof window){(0,r.useContext)(n.LazyContext).strict;let t=function(e){let{drag:t,layout:r}=(0,d.getInitializedFeatureDefinitions)();if(!t&&!r)return{};let i={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}
1(m);h=t.MeasureLayout,x.visualElement=function(e,t,i,o,l,u){let{visualElement:c}=(0,r.useContext)(a.MotionContext),h=(0,r.useContext)(n.LazyContext),d=(0,r.useContext)(y.PresenceContext),m=(0,r.useContext)(s.MotionConfigContext),f=m.reducedMotion,p=m.skipAnimations,x=(0,r.useRef)(null),T=(0,r.useRef)(!1);o=o||h.renderer,!x.current&&o&&(x.current=o(e,{visualState:t,parent:c,props:i,presenceContext:d,blockInitialAnimation:!!d&&!1===d.initial,reducedMotionConfig:f,skipAnimations:p,isSVG:u}),T.current&&x.current&&(x.current.manuallyAnimateOnMount=!0));let _=x.current,S=(0,r.useContext)(v.SwitchLayoutGroupContext);_&&!_.projection&&l&&("html"===_.type||"svg"===_.type)&&function(e,t,r,i){let{layoutId:n,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:h}=t;e.projection=new r(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:n,layout:s,alwaysMeasureLayout:!!a||o&&(0,w.isRefObject)(o),visualElement:e,animationType:"string"==typeof s?s:"both",initialPromotionConfig:i,crossfade:h,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}(x.current,i,l,S);let k=(0,r.useRef)(!1);(0,r.useInsertionEffect)(()=>{_&&k.current&&_.update(i,d)});let E=i[g.optimizedAppearDataAttribute],C=(0,r.useRef)(!!E&&"u">typeof window&&!window.MotionHandoffIsComplete?.(E)&&window.MotionHasOptimisedAnimation?.(E));return(0,b.useIsomorphicLayoutEffect)(()=>{T.current=!0,_&&(k.current=!0,window.MotionIsMounted=!0,_.updateFeatures(),_.scheduleRenderMicrotask(),C.current&&_.animationState&&_.animationState.animateChanges())}),(0,r.useEffect)(()=>{_&&(!C.current&&_.animationState&&_.animationState.animateChanges(),C.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(E)}),C.current=!1),_.enteringChildren=void 0)}),_}(e,_,m,k,t.ProjectionNode,E)}return(0,t.jsxs)(a.MotionContext.Provider,{value:x,children:[h&&x.visualElement?(0,t.jsx)(h,{visualElement:x.visualElement,...m}):null,(0,l.useRender)(e,u,(0,p.useMotionRef)(_,x.visualElement,c),_,f,T,E)]})}P.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let $=(0,r.forwardRef)(P);return $[f.motionComponentSymbol]=e,$}e.s(["createMotionProxy",0,function(e,t){if("u"<typeof Proxy)return x;let r=new Map,i=(r,i)=>x(r,i,e,t);return new Proxy((e,t)=>i(e,t),{get:(n,s)=>"create"===s?i:(r.has(s)||r.set(s,x(s,void 0,e,t)),r.get(s))})}],78492);class T{constructor(e){this.isMounted=!1,this.node=e}update(){}}e.s(["Feature",0,T],38976);var _=e.i(55458);function S(e,t,r){let i=e.getProps();return(0,_.resolveVariantFromProps)(i,t,void 0!==r?r:i.custom,e)}function k(e,t){if(e?.inherit&&t){let{inherit:r,...i}=e;return{...t,...i}}return e}function E(e,t){let r=e?.[t]??e?.default??e;return r!==e?k(r,e):r}e.s(["getValueTransition",0,E],33278);var C=e.i(70826),P=e.i(64355);let $=e=>Array.isArray(e);var A=e.i(19372),L=e.i(50764);function I(e,t){let r=e.getValue("willChange");if((0,L.isMotionValue)(r)&&r.add)return r.add(t);if(!r&&A.MotionGlobalConfig.WillChange){let r=new A.MotionGlobalConfig.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function O(e){return e.props[g.optimizedAppearDataAttribute]}e.s(["addValueToWillChange",0,I],23301),e.s(["getOptimisedAppearId",0,O],74794);var M=e.i(33836),R=e.i(20194),j=e.i(20802);let D=(...e)=>e.reduce((e,t)=>r=>t(e(r)));e.s(["pipe",0,D],15645);var N=e.i(8983),F=e.i(6470),V=e.i(25542),B=e.i(95905),q=e.i(70080),U=e.i(49997),W=e.i(34771),H=e.i(8027);function z(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}var G=e.i(28076);function Z(e,t){return r=>r>0?t:e}var Y=e.i(41330);let K=(e,t,r)=>{let i=e*e,n=r*(t*t-i)+i;return n<0?0:Math.sqrt(n)},J=[W.hex,G.rgba,H.hsla];function X(e){let t=J.find(t=>t.test(e));if((0,V.warning)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===H.hsla&&(r=function({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,r/=100;let n=0,s=0,a=0;if(t/=100){let i=r<.5?r*(1+t):r+t-r*t,o=2*r-i;n=z(o,i,e+1/3),s=z(o,i,e),a=z(o,i,e-1/3)}else n=s=a=r;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*a),alpha:i}}(r)),r}let Q=(e,t)=>{let r=X(e),i=X(t);if(!r||!i)return Z(e,t);let n={...r};return e=>(n.red=K(r.red,i.red,e),n.green=K(r.green,i.green,e),n.blue=K(r.blue,i.blue,e),n.alpha=(0,Y.mixNumber)(r.alpha,i.alpha,e),G.rgba.transform(n))},ee=new Set(["none","hidden"]);function et(e,t){return r=>(0,Y.mixNumber)(e,t,r)}function er(e){return"number"==typeof e?et:"string"==typeof e?(0,B.isCSSVariableToken)(e)?Z:q.color.test(e)?Q:es:Array.isArray(e)?ei:"object"==typeof e?q.color.test(e)?Q:en:Z}function ei(e,t){let r=[...e],i=r.length,n=e.map((e,r)=>er(e)(e,t[r]));return e=>{for(let t=0;t<i;t++)r[t]=n[t](e);return r}}function en(e,t){let r={...e,...t},i={};for(let n in r)void 0!==e[n]&&void 0!==t[n]&&(i[n]=er(e[n])(e[n],t[n]));return e=>{for(let t in i)r[t]=i[t](e);return r}}let es=(e,t)=>{let r=U.complex.createTransformer(t),i=(0,U.analyseComplexValue)(e),n=(0,U.analyseComplexValue)(t);if(!(i.indexes.var.length===n.indexes.var.length&&i.indexes.color.length===n.indexes.color.length&&i.indexes.number.length>=n.indexes.number.length))return(0,V.warning)(!0,`Complex values '${e}' and '${t}
1' 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.`,"complex-values-different"),Z(e,t);if(ee.has(e)&&!n.values.length||ee.has(t)&&!i.values.length)return ee.has(e)?r=>r<=0?e:t:r=>r>=1?t:e;return D(ei(function(e,t){let r=[],i={color:0,var:0,number:0};for(let n=0;n<t.values.length;n++){let s=t.types[n],a=e.indexes[s][i[s]],o=e.values[a]??0;r[n]=o,i[s]++}return r}(i,n),n.values),r)};function ea(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?(0,Y.mixNumber)(e,t,r):er(e)(e,t)}var eo=e.i(7953);let el=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eo.frame.update(t,e),stop:()=>(0,eo.cancelFrame)(t),now:()=>eo.frameData.isProcessing?eo.frameData.timestamp:j.time.now()}};var eu=e.i(50252);function ec(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}let eh=.01,ed=2,em=.005,ef=.5;function ep(e,t){return e*Math.sqrt(1-t*t)}let eg=["duration","bounce"],ey=["stiffness","damping","mass"];function ev(e,t){return t.some(t=>void 0!==e[t])}function ew(e=.3,t=.3){let r,i,n,s,a,o,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:u,restDelta:c}=l,h=l.keyframes[0],d=l.keyframes[l.keyframes.length-1],m={done:!1,value:h},{stiffness:f,damping:p,mass:g,duration:y,velocity:v,isResolvedFromDuration:w}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ev(e,ey)&&ev(e,eg))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),i=r*r,n=2*(0,N.clamp)(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:1,stiffness:i,damping:n}}else{let r=function({duration:e=800,bounce:t=.3,velocity:r=0,mass:i=1}){let n,s;(0,V.warning)(e<=(0,M.secondsToMilliseconds)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=(0,N.clamp)(.05,1,a),e=(0,N.clamp)(.01,10,(0,M.millisecondsToSeconds)(e)),a<1?(n=t=>{let i=t*a,n=i*e;return .001-(i-r)/ep(t,a)*Math.exp(-n)},s=t=>{let i=t*a*e,s=Math.pow(a,2)*Math.pow(t,2)*e,o=Math.exp(-i),l=ep(Math.pow(t,2),a);return(i*r+r-s)*o*(-n(t)+.001>0?-1:1)/l}):(n=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),s=t=>e*e*(r-t)*Math.exp(-t*e));let o=function(e,t,r){let i=r;for(let r=1;r<12;r++)i-=e(i)/t(i);return i}(n,s,5/e);if(e=(0,M.secondsToMilliseconds)(e),isNaN(o))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(o,2)*i;return{stiffness:t,damping:2*a*Math.sqrt(i*t),duration:e}}}({...e,velocity:0});(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...l,velocity:-(0,M.millisecondsToSeconds)(l.velocity||0)}),b=v||0,x=p/(2*Math.sqrt(f*g)),T=d-h,_=(0,M.millisecondsToSeconds)(Math.sqrt(f/g)),S=5>Math.abs(T);if(u||(u=S?eh:ed),c||(c=S?em:ef),x<1)n=ep(_,x),s=(b+x*_*T)/n,r=e=>d-Math.exp(-x*_*e)*(s*Math.sin(n*e)+T*Math.cos(n*e)),a=x*_*s+T*n,o=x*_*T-s*n,i=e=>Math.exp(-x*_*e)*(a*Math.sin(n*e)+o*Math.cos(n*e));else if(1===x){r=e=>d-Math.exp(-_*e)*(T+(b+_*T)*e);let e=b+_*T;i=t=>Math.exp(-_*t)*(_*e*t-b)}else{let e=_*Math.sqrt(x*x-1);r=t=>{let r=Math.exp(-x*_*t),i=Math.min(e*t,300);return d-r*((b+x*_*T)*Math.sinh(i)+e*T*Math.cosh(i))/e};let t=(b+x*_*T)/e,n=x*_*t-T*e,s=x*_*T-t*e;i=t=>{let r=Math.exp(-x*_*t),i=Math.min(e*t,300);return r*(n*Math.sinh(i)+s*Math.cosh(i))}}let k={calculatedDuration:w&&y||null,velocity:e=>(0,M.secondsToMilliseconds)(i(e)),next:e=>{if(!w&&x<1){let t=Math.exp(-x*_*e),r=Math.sin(n*e),i=Math.cos(n*e),l=d-t*(s*r+T*i);return m.done=Math.abs((0,M.secondsToMilliseconds)(t*(a*r+o*i)))<=u&&Math.abs(d-l)<=c,m.value=m.done?d:l,m}let t=r(e);return w?m.done=e>=y:m.done=Math.abs((0,M.secondsToMilliseconds)(i(e)))<=u&&Math.abs(d-t)<=c,m.value=m.done?d:t,m},toString:()=>{let e=Math.min(ec(k),2e4),t=(0,eu.generateLinearEasing)(t=>k.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return k}ew.applyToOptions=e=>{let t=function(e,t=100,r){let i=r({...e,keyframes:[0,t]}),n=Math.min(ec(i),2e4);return{type:"keyframes",ease:e=>i.next(n*e).value/t,duration:(0,M.millisecondsToSeconds)(n)}}(e,100,ew);return e.ease=t.ease,e.duration=(0,M.secondsToMilliseconds)(t.duration),e.type="keyframes",e};var eb=e.i(98361);function ex(e,t,r){let i=Math.max(t-5,0);return(0,eb.velocityPerSecond)(r-e(i),t-i)}function eT({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:c}){let h,d,m=e[0],f={done:!1,value:m},p=r*t,g=m+p,y=void 0===a?g:a(g);y!==g&&(p=y-m);let v=e=>-p*Math.exp(-e/i),w=e=>y+v(e),b=e=>{let t=v(e),r=w(e);f.done=Math.abs(t)<=u,f.value=f.done?y:r},x=e=>{let t;if(t=f.value,void 0!==o&&t<o||void 0!==l&&t>l){var r;
1h=e,d=ew({keyframes:[f.value,(r=f.value,void 0===o?l:void 0===l||Math.abs(o-r)<Math.abs(l-r)?o:l)],velocity:ex(w,e,f.value),damping:n,stiffness:s,restDelta:u,restSpeed:c})}};return x(0),{calculatedDuration:null,next:e=>{let t=!1;return(d||void 0!==h||(t=!0,b(e),x(e)),void 0!==h&&e>=h)?d.next(e-h):(t||b(e),f)}}}let e_=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function eS(e,t,r,i){return e===t&&r===i?R.noop:n=>0===n||1===n?n:e_(function(e,t,r,i,n){let s,a,o=0;do(s=e_(a=t+(r-t)/2,i,n)-e)>0?r=a:t=a;while(Math.abs(s)>1e-7&&++o<12)return a}(n,0,1,e,r),t,i)}let ek=eS(.42,0,1,1),eE=eS(0,0,.58,1),eC=eS(.42,0,.58,1),eP=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,e$=e=>t=>1-e(1-t),eA=eS(.33,1.53,.69,.99),eL=e$(eA),eI=eP(eL),eO=e=>e>=1?1:(e*=2)<1?.5*eL(e):.5*(2-Math.pow(2,-10*(e-1))),eM=e=>1-Math.sin(Math.acos(e)),eR=e$(eM),ej=eP(eM);e.s(["circIn",0,eM,"circInOut",0,ej,"circOut",0,eR],509);var eD=e.i(10514);let eN={linear:R.noop,easeIn:ek,easeInOut:eC,easeOut:eE,circIn:eM,circInOut:ej,circOut:eR,backIn:eL,backInOut:eI,backOut:eA,anticipate:eO},eF=e=>{if((0,eD.isBezierDefinition)(e)){(0,V.invariant)(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,i,n]=e;return eS(t,r,i,n)}return"string"==typeof e?((0,V.invariant)(void 0!==eN[e],`Invalid easing type '${e}'`,"invalid-easing-type"),eN[e]):e},eV=(e,t,r)=>{let i=t-e;return i?(r-e)/i:1};function eB({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){var n;let s,a=Array.isArray(i)&&"number"!=typeof i[0]?i.map(eF):eF(i),o={done:!1,value:t[0]},l=function(e,t,{clamp:r=!0,ease:i,mixer:n}={}){let s=e.length;if((0,V.invariant)(s===t.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];let a=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,r){let i=[],n=r||A.MotionGlobalConfig.mix||ea,s=e.length-1;for(let r=0;r<s;r++){let s=n(e[r],e[r+1]);t&&(s=D(Array.isArray(t)?t[r]||R.noop:t,s)),i.push(s)}return i}(t,i,n),l=o.length,u=r=>{if(a&&r<e[0])return t[0];let i=0;if(l>1)for(;i<e.length-2&&!(r<e[i+1]);i++);let n=eV(e[i],e[i+1],r);return o[i](n)};return r?t=>u((0,N.clamp)(e[0],e[s-1],t)):u}((n=r&&r.length===t.length?r:(!function(e,t){let r=e[e.length-1];for(let i=1;i<=t;i++){let n=eV(0,t,i);e.push((0,Y.mixNumber)(r,1,n))}}(s=[0],t.length-1),s),n.map(t=>t*e)),t,{ease:Array.isArray(a)?a:t.map(()=>a||eC).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(o.value=l(t),o.done=t>=e,o)}}e.s(["progress",0,eV],70934);var eq=e.i(12126);let eU={decay:eT,inertia:eT,tween:eB,keyframes:eB,spring:ew};function eW(e){"string"==typeof e.type&&(e.type=eU[e.type])}var eH=e.i(47553);let ez=e=>e/100;class eG extends eH.WithPromise{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==j.time.now()&&this.tick(j.time.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},F.activeAnimations.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;eW(e);let{type:t=eB,repeat:r=0,repeatDelay:i=0,repeatType:n,velocity:s=0}=e,{keyframes:a}=e,o=t||eB;o!==eB&&"number"!=typeof a[0]&&(this.mixKeyframes=D(ez,ea(a[0],a[1])),a=[0,100]);let l=o({...e,keyframes:a});"mirror"===n&&(this.mirroredGenerator=o({...e,keyframes:[...a].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=ec(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r,{generator:i,totalDuration:n,mixKeyframes:s,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:c,repeat:h,repeatType:d,repeatDelay:m,type:f,onUpdate:p,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-n/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>n;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let w=this.currentTime,b=i;if(h){let e=Math.min(this.currentTime,n)/o,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,h+1))%2&&("reverse"===d?(r=1-r,m&&(r-=m/o)):"mirror"===d&&(b=a)),w=(0,N.clamp)(0,1,r)*o}v?(this.delayState.value=c[0],r=this.delayState):r=b.next(w),s&&!v&&(r.value=s(r.value));let{done:x}=r;v||null===l||(x=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let T=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return T&&f!==eT&&(r.value=(0,eq.getFinalKeyframe)(c,this.options,g,this.speed)),p&&p(r.value),T&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return(0,M.millisecondsToSeconds)(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+(0,M.millisecondsToSeconds)(e)}get time(){return(0,M.millisecondsToSeconds)(this.currentTime)}set time(e){e=(0,M.secondsToMilliseconds)(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return ex(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(j.time.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=(0,M.millisecondsToSeconds)(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=el,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(j.time.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,F.activeAnimations.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}var eZ=e.i(20986),eY=e.i(71929),eK=e.i(91662);let eJ={anticipate:eO,backInOut:eI,circInOut:ej};class eX extends eK.NativeAnimation{constructor(e){!function(e){"string"==typeof e.ease&&e.ease in eJ&&(e.ease=eJ[e.ease])}(e),eW(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:i,element:n,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let a=new eG({...s,autoplay:!1}),o=Math.max(10,j.time.now()-this.startTime),l=(0,N.clamp)(0,10,o-10),u=a.sample(o).value,{name:c}=this.options;
1n&&c&&(0,eY.setStyle)(n,c,u),t.setWithVelocity(a.sample(Math.max(0,o-l)).value,u,l),a.stop()}}var eQ=e.i(30142);let e0=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(U.complex.test(e)||"0"===e)&&!e.startsWith("url("));function e1(e){e.duration=0,e.type="keyframes"}var e2=eH,e6=e.i(61866),e3=e.i(37259);let e5=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,e4=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),e8=(0,e6.memo)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class e7 extends e2.WithPromise{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:s="loop",keyframes:a,name:o,motionValue:l,element:u,...c}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=j.time.now();const h={autoplay:e,delay:t,type:r,repeat:i,repeatDelay:n,repeatType:s,name:o,motionValue:l,element:u,...c},d=u?.KeyframeResolver||eZ.KeyframeResolver;this.keyframeResolver=new d(a,(e,t,r)=>this.onKeyframesResolved(e,t,h,!r),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,i){let n;this.keyframeResolver=void 0;let{name:s,type:a,velocity:o,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=j.time.now();let h=!0;!function(e,t,r,i){let n=e[0];if(null===n)return!1;if("display"===t||"visibility"===t)return!0;let s=e[e.length-1],a=e0(n,t),o=e0(s,t);return(0,V.warning)(a===o,`You are trying to animate ${t} from "${n}" to "${s}". "${a?s:n}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||("spring"===r||(0,eQ.isGenerator)(r))&&i)}(e,s,a,o)&&(h=!1,(A.MotionGlobalConfig.instantAnimations||!l)&&c?.((0,eq.getFinalKeyframe)(e,r,t)),e[0]=e[e.length-1],e1(r),r.repeat=0);let d={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},m=h&&!u&&function(e){let{motionValue:t,name:r,repeatDelay:i,repeatType:n,damping:s,type:a,keyframes:o}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=t.owner.getProps();return e8()&&r&&(e3.acceleratedValues.has(r)||e4.has(r)&&function(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&e5.test(e[t]))return!0;return!1}(o))&&("transform"!==r||!u)&&!l&&!i&&"mirror"!==n&&0!==s&&"inertia"!==a}(d),f=d.motionValue?.owner?.current;if(m)try{n=new eX({...d,element:f})}catch{n=new eG(d)}else n=new eG(d);n.finished.then(()=>{this.notifyFinished()}).catch(R.noop),this.pendingTimeline&&(this.stopTimeline=n.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=n}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),(0,eZ.flushKeyframeResolvers)()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}var e9=e.i(59778);let te={type:"spring",stiffness:500,damping:25,restSpeed:10},tt={type:"keyframes",duration:.8},tr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ti=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),tn=(e,t,r,i={},n,s)=>a=>{let o=E(i,e)||{},l=o.delay||i.delay||0,{elapsed:u=0}=i;u-=(0,M.secondsToMilliseconds)(l);let c={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...o,delay:-u,onUpdate:e=>{t.set(e),o.onUpdate&&o.onUpdate(e)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:e,motionValue:t,element:s?void 0:n};!function(e){for(let t in e)if(!ti.has(t))return!0;return!1}(o)&&Object.assign(c,((e,{keyframes:t})=>t.length>2?tt:e9.transformProps.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:te:tr)(e,c)),c.duration&&(c.duration=(0,M.secondsToMilliseconds)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,M.secondsToMilliseconds)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let h=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(e1(c),0===c.delay&&(h=!0)),(A.MotionGlobalConfig.instantAnimations||A.MotionGlobalConfig.skipAnimations||n?.shouldSkipAnimations||o.skipAnimations)&&(h=!0,e1(c),c.delay=0),c.allowFlatten=!o.type&&!o.ease,h&&!s&&void 0!==t.get()){let e=(0,eq.getFinalKeyframe)(c.keyframes,o);if(void 0!==e)return void eo.frame.update(()=>{c.onUpdate(e),c.onComplete()})}return o.isSync?new eG(c):new e7(c)};function ts(e,t,{delay:r=0,transitionOverride:i,type:n}={}){let{transition:s,transitionEnd:a,...o}=t,l=e.getDefaultTransition();s=s?k(s,l):l;let u=s?.reduceMotion,c=s?.skipAnimations;i&&(s=i);let h=[],d=n&&e.animationState&&e.animationState.getState()[n],m=s?.path;for(let t in m&&m.animateVisualElement(e,o,s,r,h),o){let i=e.getValue(t,e.latestValues[t]??null),n=o[t];if(void 0===n||d&&function({protectedKeys:e,needsAnimating:t},r){let i=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,i}(d,t))continue;let a={delay:r,...E(s||{},t)};c&&(a.skipAnimations=!0);let l=i.get();if(void 0!==l&&!i.isAnimating()&&!Array.isArray(n)&&n===l&&!a.velocity){eo.frame.update(()=>i.set(n));continue}let m=!1;if(window.MotionHandoffAnimation){let r=O(e);if(r){let e=window.MotionHandoffAnimation(r,t,eo.frame);null!==e&&(a.startTime=e,m=!0)}}I(e,t);let f=u??e.shouldReduceMotion;i.start(tn(t,i,n,f&&C.positionalKeys.has(t)?{type:!1}:a,e,m));let p=i.animation;p&&h.push(p)}if(a){let t=()=>eo.frame.update(()=>{a&&function(e,t){let{transitionEnd:r={},transition:i={},...n}=S(e,t)||{};for(let t in n={...n,...r}){var s;let r=$(s=n[t])?s[s.length-1]||0:s;e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,(0,P.motionValue)(r))}}(e,a)});h.length?Promise.all(h).then(t):t()}return h}function ta(e,t,r,i=0,n=1){let s=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),a=e.size,o=(a-1)*i;return"function"==typeof r?r(s,a):1===n?s*i:o-s*i}function to(e,t,r={}){let i=S(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:n=e.getDefaultTransition()||{}}=i||{};r.transitionOverride&&(n=r.transitionOverride);let s=i?()=>Promise.all(ts(e,i,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=n;return function(e,t,r=0,i=0,n=0,s=1,a){let o=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),o.push(to(l,t,{...a,delay:r+("function"==typeof i?0:i)+ta(e.variantChildren,l,i,n,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(o)}(e,t,i,s,a,o,r)}:()=>Promise.resolve(),{when:o}=n;if(!o)return Promise.all([s(),a(r.delay)]);{let[e,t]="beforeChildren"===o?[s,a]:[a,s];return e().then(()=>t())}}e.s(["animateMotionValue",0,tn],90350);var tl=e.i(43646),tu=e.i(61749);let tc=tu.variantProps.length;var th=e.i(8578);function td(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}let tm=[...tu.variantPriorityOrder].reverse(),tf=tu.variantPriorityOrder.length;function tp(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function tg(){return{animate:tp(!0),whileInView:tp(),whileHover:tp(),whileTap:tp(),whileDrag:tp(),whileFocus:tp(),exit:tp()}}let ty=0;e.s(["animations",0,{animation:{Feature:class extends T{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t))i=Promise.all(t.map(t=>to(e,t,r)));else if("string"==typeof t)i=to(e,t,r);else{let n="function"==typeof t?S(e,t,r.custom):t;i=Promise.all(ts(e,n,r))}return i.then(()=>{e.notify("AnimationComplete",t)})})(e,t,r))),r=tg(),i=!0,n=!1,s=t=>(r,i)=>{let n=S(e,i,"exit"===t?e.presenceContext?.custom:void 0);if(n){let{transition:e,transitionEnd:t,...i}=n;r={...r,...i,...t}}return r};function a(a){let{props:o}=e,l=function e(t){if(!t)return;if(!t.isControllingVariants){let r=t.parent&&e(t.parent)||{};return void 0!==t.props.initial&&(r.initial=t.props.initial),r}let r={};for(let e=0;e<tc;e++){let i=tu.variantProps[e],n=t.props[i];((0,tl.isVariantLabel)(n)||!1===n)&&(r[i]=n)}return r}(e.parent)||{},u=[],c=new Set,h={},d=1/0;for(let t=0;t<tf;t++){var m,f;let p=tm[t],g=r[p],y=void 0!==o[p]?o[p]:l[p],v=(0,tl.isVariantLabel)(y),w=p===a?g.isActive:null;!1===w&&(d=t);let b=y===l[p]&&y!==o[p]&&v;if(b&&(i||n)&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...h},!g.isActive&&null===w||!y&&!g.prevProp||(0,th.isAnimationControls)(y)||"boolean"==typeof y)continue;if("exit"===p&&g.isActive&&!0!==w){g.prevResolvedValues&&(h={...h,...g.prevResolvedValues});continue}let x=(m=g.prevProp,"string"==typeof(f=y)?f!==m:!!Array.isArray(f)&&!td(f,m)),T=x||p===a&&g.isActive&&!b&&v||t>d&&v,_=!1,k=Array.isArray(y)?y:[y],E=k.reduce(s(p),{});!1===w&&(E={});let{prevResolvedValues:C={}}=g,P={...C,...E},A=t=>{T=!0,c.has(t)&&(_=!0,c.delete(t)),g.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in P){let t=E[e],r=C[e];if(!h.hasOwnProperty(e))($(t)&&$(r)?!td(t,r)||x:t!==r)?null!=t?A(e):c.add(e):void 0!==t&&c.has(e)?A(e):g.protectedKeys[e]=!0}g.prevProp=y,g.prevResolvedValues=E,g.isActive&&(h={...h,...E}),(i||n)&&e.blockInitialAnimation&&(T=!1);let L=b&&x,I=!L||_;T&&I&&u.push(...k.map(t=>{let r={type:p};if("string"==typeof t&&(i||n)&&!L&&e.manuallyAnimateOnMount&&e.parent){let{parent:i}=e,n=S(i,t);if(i.enteringChildren&&n){let{delayChildren:t}=n.transition||{};r.delay=ta(i.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(c.size){let t={};if("boolean"!=typeof o.initial){let r=S(e,Array.isArray(o.initial)?o.initial[0]:o.initial);r&&r.transition&&(t.transition=r.transition)}c.forEach(r=>{let i=e.getBaseTarget(r),n=e.getValue(r);n&&(n.liveStyle=!0),t[r]=i??null}),u.push({animation:t})}let p=!!u.length;return i&&(!1===o.initial||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(p=!1),i=!1,n=!1,p?t(u):Promise.resolve()}
1return{animateChanges:a,setActive:function(t,i){if(r[t].isActive===i)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,i)),r[t].isActive=i;let n=a(t);for(let e in r)r[e].protectedKeys={};return n},setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=tg(),n=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();(0,th.isAnimationControls)(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(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends T{constructor(){super(...arguments),this.id=ty++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;if(e&&!1===r){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){let r=S(this.node,e,t);if(r){let{transition:e,transitionEnd:t,...i}=r;for(let e in i)this.node.getValue(e)?.jump(i[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}}],42777),e.s(["eachAxis",0,function(e){return[e("x"),e("y")]}],87935),e.s(["addDomEvent",0,function(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}],8821);let tv={x:!1,y:!1};e.s(["isDragActive",0,function(){return tv.x||tv.y},"isDragging",0,tv],10927),e.s(["setDragLock",0,function(e){if("x"===e||"y"===e)if(tv[e])return null;else return tv[e]=!0,()=>{tv[e]=!1};return tv.x||tv.y?null:(tv.x=tv.y=!0,()=>{tv.x=tv.y=!1})}],66532);function tw(e){return e.max-e.min}function tb(e,t,r,i=.5){e.origin=i,e.originPoint=(0,Y.mixNumber)(t.min,t.max,e.origin),e.scale=tw(r)/tw(t),e.translate=(0,Y.mixNumber)(r.min,r.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 tx(e,t,r,i=0){e.min=(i?(0,Y.mixNumber)(r.min,r.max,i):r.min)+t.min,e.max=e.min+tw(t)}function tT(e,t,r,i=0){let n=i?(0,Y.mixNumber)(r.min,r.max,i):r.min;e.min=t.min-n,e.max=e.min+tw(t)}e.s(["calcBoxDelta",0,function(e,t,r,i){tb(e.x,t.x,r.x,i?i.originX:void 0),tb(e.y,t.y,r.y,i?i.originY:void 0)},"calcLength",0,tw,"calcRelativeBox",0,function(e,t,r,i){tx(e.x,t.x,r.x,i?.x),tx(e.y,t.y,r.y,i?.y)},"calcRelativePosition",0,function(e,t,r,i){tT(e.x,t.x,r.x,i?.x),tT(e.y,t.y,r.y,i?.y)},"isNear",0,function(e,t,r){return Math.abs(e-t)<=r}],10401)},25465,e=>{"use strict";e.s(["isObject",0,e=>"object"==typeof e&&null!==e])},9302,70899,88133,96584,58904,36725,1272,84047,e=>{"use strict";let t,r;var i=e.i(38976),n=e.i(20194),s=e.i(86968),a=e.i(7953),o=e.i(87935),l=e.i(9846),u=e.i(5020),c=e.i(23301),h=e.i(90350),d=e.i(41330),m=e.i(8821),f=e.i(66532),p=e.i(13968),g=e.i(10401),y=e.i(25465);function v(e){return(0,y.isObject)(e)&&"ownerSVGElement"in e}function w(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let i=document;t&&(i=t.current);let n=r?.[e]??i.querySelectorAll(e);return n?Array.from(n):[]}return Array.from(e).filter(e=>null!=e)}e.s(["isSVGElement",0,v],70899),e.s(["resolveElements",0,w],88133);let b=new WeakMap,x=(e,t,r)=>(i,n)=>n&&n[0]?n[0][e+"Size"]:v(i)&&"getBBox"in i?i.getBBox()[t]:i[r],T=x("inline","width","offsetWidth"),_=x("block","height","offsetHeight");function S({target:e,borderBoxSize:t}){b.get(e)?.forEach(r=>{r(e,{get width(){return T(e,t)},get height(){return _(e,t)}})})}function k(e){e.forEach(S)}let E=new Set;function C(e,i){let n;return"function"==typeof e?(E.add(e),r||(r=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};
1E.forEach(t=>t(e))},window.addEventListener("resize",r)),()=>{E.delete(e),E.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):(!t&&"u">typeof ResizeObserver&&(t=new ResizeObserver(k)),(n=w(e)).forEach(e=>{let r=b.get(e);r||(r=new Set,b.set(e,r)),r.add(i),t?.observe(e)}),()=>{n.forEach(e=>{let r=b.get(e);r?.delete(i),r?.size||t?.unobserve(e)})})}let P=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),$=new Set(["INPUT","SELECT","TEXTAREA"]);function A(e){return $.has(e.tagName)||!0===e.isContentEditable}e.s(["isElementKeyboardAccessible",0,function(e){return P.has(e.tagName)||!0===e.isContentEditable},"isElementTextInput",0,A],96584);var L=e.i(25542);let I=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function O(e){return{point:{x:e.pageX,y:e.pageY}}}e.s(["isPrimaryPointer",0,I],58904);let M=e=>t=>I(t)&&e(t,O(t));function R(e,t,r,i){return(0,m.addDomEvent)(e,t,M(r),i)}e.s(["addPointerInfo",0,M,"extractEventInfo",0,O],36725);let j=({current:e})=>e?e.ownerDocument.defaultView:null;var D=e.i(94447),N=e.i(15645),F=e.i(33836);let V=(e,t)=>Math.abs(e-t),B=new Set(["auto","scroll"]);class q{constructor(e,t,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:n=!1,distanceThreshold:s=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=U(this.lastRawMoveEventInfo,this.transformPagePoint));let r=H(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,n=(e=r.offset,t={x:0,y:0},Math.sqrt(V(e.x,t.x)**2+V(e.y,t.y)**2)>=this.distanceThreshold);if(!i&&!n)return;let{point:s}=r,{timestamp:o}=a.frameData;this.history.push({...s,timestamp:o});let{onStart:l,onMove:u}=this.handlers;
1i||(l&&l(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),u&&u(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=U(t,this.transformPagePoint),a.frame.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:i,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=H("pointercancel"===e.type?this.lastMoveEventInfo:U(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,s),i&&i(e,s)},!I(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=s,this.contextWindow=i||window;const l=U(O(e),this.transformPagePoint),{point:u}=l,{timestamp:c}=a.frameData;this.history=[{...u,timestamp:c}];const{onSessionStart:h}=t;h&&h(e,H(l,this.history)),this.removeListeners=(0,N.pipe)(R(this.contextWindow,"pointermove",this.handlePointerMove),R(this.contextWindow,"pointerup",this.handlePointerUp),R(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(B.has(e.overflowX)||B.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},n={x:i.x-t.x,y:i.y-t.y};(0!==n.x||0!==n.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(e,i),a.frame.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,a.cancelFrame)(this.updatePoint)}}function U(e,t){return t?{point:t(e.point)}:e}function W(e,t){return{x:e.x-t.x,y:e.y-t.y}}function H({point:e},t){return{point:e,delta:W(e,z(t)),offset:W(e,t[0]),velocity:function(e){if(e.length<2)return{x:0,y:0};let t=e.length-1,r=null,i=z(e);for(;t>=0&&(r=e[t],!(i.timestamp-r.timestamp>(0,F.secondsToMilliseconds)(.1)));)t--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>2*(0,F.secondsToMilliseconds)(.1)&&(r=e[1]);let n=(0,F.millisecondsToSeconds)(i.timestamp-r.timestamp);if(0===n)return{x:0,y:0};let s={x:(i.x-r.x)/n,y:(i.y-r.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t)}}function z(e){return e[e.length-1]}var G=e.i(70934),Z=e.i(8983);function Y(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function K(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function J(e,t,r){return{min:X(e,t),max:X(e,r)}}function X(e,t){return"number"==typeof e?e:e[t]||0}let Q=new WeakMap;class ee{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,s.createBox)(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let n=e=>{t&&this.snapToCursor(O(e).point),this.stopAnimation()},s=(e,t)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock=(0,f.setDragLock)(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,o.eachAxis)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(p.percent.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[e];i&&(t=(0,g.calcLength)(i)*(parseFloat(t)/100))}}this.originPoint[e]=t}),n&&a.frame.update(()=>n(e,t),!1,!0),(0,c.addValueToWillChange)(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},l=(e,t)=>
1{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:s}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:o}=t;if(i&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&a.frame.update(()=>s(e,t),!1,!0)},u=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:d}=this.getProps();this.panSession=new q(e,{onSessionStart:n,onStart:s,onMove:l,onSessionEnd:u,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:d,distanceThreshold:r,contextWindow:j(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,i=t||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!i||!r)return;let{velocity:s}=i;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&a.frame.postRender(()=>o(r,i))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:i}=this.getProps();if(!r||!er(e,i,this.currentDirection))return;let n=this.getAxisMotionValue(e),s=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:r},i){return void 0!==t&&e<t?e=i?(0,d.mixNumber)(t,e,i.min):Math.max(e,t):void 0!==r&&e>r&&(e=i?(0,d.mixNumber)(r,e,i.max):Math.min(e,r)),e}(s,this.constraints[e],this.elastic[e])),n.set(s)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;e&&(0,D.isRefObject)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=function(e,{top:t,left:r,bottom:i,right:n}){return{x:Y(e.x,r,n),y:Y(e.y,t,i)}}(r.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:J(e,"left","right"),y:J(e,"top","bottom")}}(t),i!==this.constraints&&!(0,D.isRefObject)(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&(0,o.eachAxis)(e=>{var t,i;let n;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],i=this.constraints[e],n={},void 0!==i.min&&(n.min=i.min-t.min),void 0!==i.max&&(n.max=i.max-t.min),n))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!(0,D.isRefObject)(t))return!1;let i=t.current;(0,L.invariant)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;n.root&&(n.root.scroll=void 0,n.root.updateScroll());let s=(0,l.measurePageBox)(i,n.root,this.visualElement.getTransformPagePoint()),a=(e=n.layout.layoutBox,{x:K(e.x,s.x),y:K(e.y,s.y)});if(r){let e=r((0,u.convertBoxToBoundingBox)(a));this.hasMutatedConstraints=!!e,e&&(a=(0,u.convertBoundingBoxToBox)(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{};return Promise.all((0,o.eachAxis)(a=>{if(!er(a,t,this.currentDirection))return;let o=l&&l[a]||{};(!0===s||s===a)&&(o={min:0,max:0});let u={type:"inertia",velocity:r?e[a]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...o};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return(0,c.addValueToWillChange)(this.visualElement,e),r.start((0,h.animateMotionValue)(e,r,0,t,this.visualElement,!1))}stopAnimation(){(0,o.eachAxis)(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){(0,o.eachAxis)(t=>{let{drag:r}=this.getProps();if(!er(t,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(t);if(i&&i.layout){let{min:r,max:s}=i.layout.layoutBox[t],a=n.get()||0;n.set(e[t]-(0,d.mixNumber)(r,s,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!(0,D.isRefObject)(t)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};(0,o.eachAxis)(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var r,n;let s,a,o,l=t.get();i[e]=(r={min:l,max:l},n=this.constraints[e],s=.5,a=(0,g.calcLength)(r),(o=(0,g.calcLength)(n))>a?s=(0,G.progress)(n.min,n.max-a,r.min):a>o&&(s=(0,G.progress)(r.min,r.max-o,n.min)),(0,Z.clamp)(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),(0,o.eachAxis)(t=>{if(!er(t,e,null))return;let r=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];r.set((0,d.mixNumber)(n,s,i[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;Q.set(this.visualElement,this);let t=this.visualElement.current,r=R(t,"pointerdown",e=>{let{drag:r,dragListener:i=!0}=this.getProps(),n=e.target,s=n!==t&&A(n);r&&i&&!s&&this.start(e)}),i=()=>{var r,i,n;let s,a,{dragConstraints:o}=this.getProps();(0,D.isRefObject)(o)&&o.current&&(this.constraints=this.resolveRefConstraints(),e||(r=t,
1i=o.current,s=C(r,et(n=()=>this.scalePositionWithinConstraints())),a=C(i,et(n)),e=()=>{s(),a()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",i);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),a.frame.read(i);let l=(0,m.addDomEvent)(window,"resize",()=>this.scalePositionWithinConstraints()),u=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,o.eachAxis)(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{l(),r(),s(),u&&u(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:s,dragMomentum:a}}}function et(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function er(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class ei extends i.Feature{constructor(e){super(e),this.removeGroupControls=n.noop,this.removeListeners=n.noop,this.controls=new ee(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||n.noop}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}e.s(["DragGesture",0,ei],9302);var en=i;let es=e=>(t,r)=>{e&&a.frame.update(()=>e(t,r),!1,!0)};class ea extends en.Feature{constructor(){super(...arguments),this.removePointerDownListener=n.noop}onPointerDown(e){this.session=new q(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:j(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:es(e),onStart:es(t),onMove:es(r),onEnd:(e,t)=>{delete this.session,i&&a.frame.postRender(()=>i(e,t))}}}mount(){this.removePointerDownListener=R(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}e.s(["PanGesture",0,ea],1272),e.s(["globalProjectionState",0,{hasAnimatedSinceResize:!0,hasEverUpdated:!1}],84047)},26309,e=>{"use strict";var t=e.i(62560),r=e.i(43777);e.s(["usePresence",0,function(e=!0){let i=(0,t.useContext)(r.PresenceContext);if(null===i)return[!0,null];let{isPresent:n,onExitComplete:s,register:a}=i,o=(0,t.useId)();(0,t.useEffect)(()=>{if(e)return a(o)},[e]);let l=(0,t.useCallback)(()=>e&&s&&s(o),[o,s,e]);return!n&&s?[!1,l]:[!0]}])},20947,73642,15990,67454,16039,5753,e=>{"use strict";var t=e.i(9302),r=e.i(1272),i=e.i(72525),n=e.i(84047),s=e.i(7953),a=e.i(54012),o=e.i(62560),l=e.i(26309),u=e.i(3379),c=e.i(55243);let h=!1;class d extends o.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=e;s&&(t.group&&t.group.add(s),r&&r.register&&i&&r.register(s),h&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),n.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:i,isPresent:n}=this.props,{projection:a}=r;return a&&(a.isPresent=n,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),h=!0,i||e.layoutDependency!==t||void 0===t||e.isPresent!==n?a.willUpdate():this.safeToRemove(),e.isPresent!==n&&(n?a.promote():a.relegate()||s.frame.postRender(()=>{let e=a.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:r}=e;r&&(r.options.layoutAnchor=t,r.root.didUpdate(),a.microtask.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:i}=e;h=!0,i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function m(e){let[t,r]=(0,l.usePresence)(),n=(0,o.useContext)(u.LayoutGroupContext);return(0,i.jsx)(d,{...e,layoutGroup:n,switchLayoutGroup:(0,o.useContext)(c.SwitchLayoutGroupContext),isPresent:t,safeToRemove:r})}e.s(["MeasureLayout",0,m],73642);var f=e.i(10246),p=e.i(8983),g=e.i(20194),y=e.i(90350),v=e.i(64355),w=e.i(50764),b=e.i(74794),x=e.i(33278),T=e.i(20802),_=e.i(75342),S=e.i(6470),k=e.i(87067);e.i(33836);var E=e.i(70899),C=e.i(41330),P=e.i(74032),$=e.i(13968),A=e.i(70934),L=e.i(509);let I=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],O=I.length,M=e=>"string"==typeof e?parseFloat(e):e,R=e=>"number"==typeof e||$.px.test(e);function j(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let D=F(0,.5,L.circOut),N=F(.5,.95,g.noop);function F(e,t,r){return i=>i<e?0:i>t?1:r((0,A.progress)(e,t,i))}function V(e,t){e.min=t.min,e.max=t.max}function B(e,t){V(e.x,t.x),V(e.y,t.y)}function q(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var U=e.i(74302),W=e.i(10401);function H(e,t,r,i,n){return e-=t,e=(0,U.scalePoint)(e,1/r,i),void 0!==n&&(e=(0,U.scalePoint)(e,1/n,i)),e}function z(e,t,[r,i,n],s,a){!function(e,t=0,r=1,i=.5,n,s=e,a=e){if($.percent.test(t)&&(t=parseFloat(t),t=(0,C.mixNumber)(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;
1let o=(0,C.mixNumber)(s.min,s.max,i);e===s&&(o-=t),e.min=H(e.min,t,r,o,n),e.max=H(e.max,t,r,o,n)}(e,t[r],t[i],t[n],t.scale,s,a)}let G=["x","scaleX","originX"],Z=["y","scaleY","originY"];function Y(e,t,r,i){z(e.x,t,G,r?r.x:void 0,i?i.x:void 0),z(e.y,t,Z,r?r.y:void 0,i?i.y:void 0)}var K=e.i(86968);function J(e){return 0===e.translate&&1===e.scale}function X(e){return J(e.x)&&J(e.y)}function Q(e,t){return e.min===t.min&&e.max===t.max}function ee(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function et(e,t){return ee(e.x,t.x)&&ee(e.y,t.y)}function er(e){return(0,W.calcLength)(e.x)/(0,W.calcLength)(e.y)}function ei(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var en=e.i(26935);class es{constructor(){this.members=[]}add(e){(0,en.addUniqueItem)(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let i=r.instance;i&&!1!==i.isConnected||r.snapshot||((0,en.removeItem)(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if((0,en.removeItem)(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){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:i}=r.options,{layoutDependency:n}=e.options;(void 0===i||i!==n)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}var ea=e.i(87935);let eo=(e,t)=>e.depth-t.depth;class el{constructor(){this.children=[],this.isDirty=!1}add(e){(0,en.addUniqueItem)(this.children,e),this.isDirty=!0}remove(e){(0,en.removeItem)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(eo),this.isDirty=!1,this.children.forEach(e)}}var eu=e.i(67052);let ec={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},eh=["","X","Y","Z"],ed=0;function em(e,t,r,i){let{latestValues:n}=t;n[e]&&(r[e]=n[e],t.setStaticValue(e,0),i&&(i[e]=0))}function ef({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:o}){return class{constructor(e={},r=t?.()){this.id=ed++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,k.statsBuffer.value&&(ec.nodes=ec.calculatedTargetDeltas=ec.calculatedProjections=0),this.nodes.forEach(ey),this.nodes.forEach(eE),this.nodes.forEach(eC),this.nodes.forEach(ev),k.statsBuffer.addProjectionMetrics&&k.statsBuffer.addProjectionMetrics(ec)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new el)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new f.SubscriptionManager),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=(0,E.isSVGElement)(t)&&(!(0,E.isSVGElement)(t)||"svg"!==t.tagName),this.instance=t;let{layoutId:r,layout:i,visualElement:a}=this.options;if(a&&!a.current&&a.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(i||r)&&(this.isLayoutDirty=!0),e){let r,i=0,a=()=>this.root.updateBlockedByResize=!1;s.frame.read(()=>{i=window.innerWidth}),e(t,()=>{let e=window.innerWidth;if(e!==i){let t,o;i=e,this.root.updateBlockedByResize=!0,r&&r(),t=T.time.now(),o=({timestamp:e})=>{let r=e-t;r>=250&&((0,s.cancelFrame)(o),a(r-250))},s.frame.setup(o,!0),r=()=>(0,s.cancelFrame)(o),n.globalProjectionState.hasAnimatedSinceResize&&(n.globalProjectionState.hasAnimatedSinceResize=!1,this.nodes.forEac
1h(ek))}})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&a&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||a.getDefaultTransition()||eO,{onLayoutAnimationStart:s,onLayoutAnimationComplete:o}=a.getProps(),l=!this.targetLayout||!et(this.targetLayout,i),u=!t&&r;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...(0,x.getValueTransition)(n,"layout"),onPlay:s,onComplete:o};(a.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u,t.path)}else t||ek(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,this.eventHandlers.clear(),(0,s.cancelFrame)(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(eP),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:r}=t.options;if(!r)return;let i=(0,b.getOptimisedAppearId)(r);if(window.MotionHasOptimisedAnimation(i,"transform")){let{layout:e,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(i,"transform",s.frame,!(e||r))}let{parent:n}=t;n&&!n.hasCheckedOptimisedAppear&&e(n)}(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,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(ex),this.nodes.forEach(eb);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(eT);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(e_),this.nodes.forEach(eS),this.nodes.forEach(ep),this.nodes.forEach(eg)):this.nodes.forEach(eT),this.clearAllSnapshots();let e=T.time.now();s.frameData.delta=(0,p.clamp)(0,1e3/60,e-s.frameData.timestamp),s.frameData.timestamp=e,s.frameData.isProcessing=!0,s.frameSteps.update.process(s.frameData),s.frameSteps.preRender.process(s.frameData),s.frameSteps.render.process(s.frameData),s.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,a.microtask.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(ew),this.sharedNodes.forEach(e$)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,s.frame.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){s.frame.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||(0,W.calcLength)(this.snapshot.measuredBox.x)||(0,W.calcLength)(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}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.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=(0,K.createBox)()),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&&this.instance){let t=i(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!X(this.projectionDelta),r=this.getTransformTemplate(),i=r?r(this.latestValues,""):void 0,n=i!==this.prevTransformTemplateValue;e&&this.instance&&(t||(0,eu.hasTransform)(this.latestValues)||n)&&(o(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),i=this.removeElementScroll(r);return e&&(i=this.removeTransform(i)),ej((t=i).x),ej(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return(0,K.createBox)();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(eN))){let{scroll:e}=this.root;e&&((0,U.translateAxis)(t.x,e.offset.x),(0,U.translateAxis)(t.y,e.offset.y))}return t}removeElementScroll(e){let t=(0,K.createBox)();if(B(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let i=this.path[r],{scroll:n,options:s}=i;i!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&B(t,e),(0,U.translateAxis)(t.x,n.offset.x),(0,U.translateAxis)(t.y,n.offset.y))}return t}applyTransform(e,t=!1,r){let i=r||(0,K.createBox)();B(i,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,U.translateAxis)(i.x,-r.scroll.offset.x),(0,U.translateAxis)(i.y,-r.scroll.offset.y)),(0,eu.hasTransform)(r.latestValues)&&(0,U.transformBox)(i,r.latestValues,r.layout?.layoutBox)}return(0,eu.hasTransform)(this.latestValues)&&(0,U.transformBox)(i,this.latestValues,this.layout?.layoutBox),i}removeTransform(e){let t=(0,K.createBox)();B(t,e);for(let e=0;e<this.path.length;e++){let r,i=this.path[e];(0,eu.hasTransform)(i.latestValues)&&(i.instance&&((0,eu.hasScale)(i.latestValues)&&i.updateSnapshot(),B(r=(0,K.createBox)(),i.measurePageBox())),Y(t,i.latestValues,i.snapshot?.layoutBox,r))}return(0,eu.hasTransform)(this.latestValues)&&Y(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!==s.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
1isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:i,layoutId:n}=this.options;if(!this.layout||!(i||n))return;this.resolvedRelativeTargetAt=s.frameData.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=(0,K.createBox)(),this.targetWithTransforms=(0,K.createBox)()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),(0,W.calcRelativeBox)(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):B(this.target,this.layout.layoutBox),(0,U.applyBoxDelta)(this.target,this.targetDelta)):B(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&1!==this.animationProgress?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),k.statsBuffer.value&&ec.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||(0,eu.hasScale)(this.parent.latestValues)||(0,eu.has2DTranslate)(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=(0,K.createBox)(),this.relativeTargetOrigin=(0,K.createBox)(),(0,W.calcRelativePosition)(this.relativeTargetOrigin,t,r,this.options.layoutAnchor||void 0),B(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===s.frameData.timestamp&&(r=!1),r)return;let{layout:i,layoutId:n}=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||n))return;B(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;(0,U.applyTreeDeltas)(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=(0,K.createBox)());let{target:l}=e;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(q(this.prevProjectionDelta.x,this.projectionDelta.x),q(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),(0,W.calcBoxDelta)(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===o&&ei(this.projectionDelta.x,this.prevProjectionDelta.x)&&ei(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),k.statsBuffer.value&&ec.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=(0,K.createDelta)(),this.projectionDelta=(0,K.createDelta)(),this.projectionDeltaWithTransform=(0,K.createDelta)()}setAnimationOrigin(e,t=!1,r){let i,n=this.snapshot,s=n?n.latestValues:{},a={...this.latestValues},o=(0,K.createDelta)();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let l=(0,K.createBox)(),u=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),h=!c||c.members.length<=1,d=!!(u&&!h&&
1!0===this.options.crossfade&&!this.path.some(eI));this.animationProgress=0;let m=r?.interpolateProjection(e);this.mixTargetDelta=t=>{let r=t/1e3,n=m?.(r);if(n?(o.x.translate=n.x,o.x.scale=(0,C.mixNumber)(e.x.scale,1,r),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=n.y,o.y.scale=(0,C.mixNumber)(e.y.scale,1,r),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(eA(o.x,e.x,r),eA(o.y,e.y,r)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var c,f,p,g,y,v;(0,W.calcRelativePosition)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),p=this.relativeTarget,g=this.relativeTargetOrigin,y=l,v=r,eL(p.x,g.x,y.x,v),eL(p.y,g.y,y.y,v),i&&(c=this.relativeTarget,f=i,Q(c.x,f.x)&&Q(c.y,f.y))&&(this.isProjectionDirty=!1),i||(i=(0,K.createBox)()),B(i,this.relativeTarget)}u&&(this.animationValues=a,function(e,t,r,i,n,s){n?(e.opacity=(0,C.mixNumber)(0,r.opacity??1,D(i)),e.opacityExit=(0,C.mixNumber)(t.opacity??1,0,N(i))):s&&(e.opacity=(0,C.mixNumber)(t.opacity??1,r.opacity??1,i));for(let n=0;n<O;n++){let s=I[n],a=j(t,s),o=j(r,s);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||R(a)===R(o)?(e[s]=Math.max((0,C.mi
1xNumber)(M(a),M(o),i),0),($.percent.test(o)||$.percent.test(a))&&(e[s]+="%")):e[s]=o)}(t.rotate||r.rotate)&&(e.rotate=(0,C.mixNumber)(t.rotate||0,r.rotate||0,i))}(a,s,this.latestValues,r,d,h)),n&&void 0!==n.rotate&&(this.animationValues||(this.animationValues=a),this.animationValues.pathRotation=n.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,s.cancelFrame)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=s.frame.update(()=>{var t,r,i;let s;n.globalProjectionState.hasAnimatedSinceResize=!0,S.activeAnimations.layout++,this.motionValue||(this.motionValue=(0,v.motionValue)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(t=this.motionValue,r=[0,1e3],i={...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{S.activeAnimations.layout--},onComplete:()=>{S.activeAnimations.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}},(s=(0,w.isMotionValue)(t)?t:(0,v.motionValue)(t)).start((0,y.animateMotionValue)("",s,r,i)),s.animation),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:r,layout:i,latestValues:n}=e;if(t&&r&&i){if(this!==e&&this.layout&&i&&eD(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||(0,K.createBox)();let t=(0,W.calcLength)(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let i=(0,W.calcLength)(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+i}B(t,r),(0,U.transformBox)(t,n),(0,W.calcBoxDelta)(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new es),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),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:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let i={};r.z&&em("z",e,i,this.animationValues);for(let t=0;t<eh.length;t++)em(`rotate${eh[t]}`,e,i,this.animationValues),em(`skew${eh[t]}`,e,i,this.animationValues);for(let t in e.render(),i)e.setStaticValue(t,i[t]),this.animationValues&&(this.animationValues[t]=i[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=(0,P.resolveMotionValue)(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=(0,P.resolveMotionValue)(t?.pointerEvents)||""),this.hasProjected&&!(0,eu.hasTransform)(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let n=i.animationValues||i.latestValues;this.applyTransformsToTarget();let s=function(e,t,r){let i="",n=e.x.translate/t.x,s=e.y.translate/t.y,a=r?.z||0;if((n||s||a)&&(i=`translate3d(${n}px, ${s}px, ${a}px) `),(1!==t.x||1!==t.y)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,pathRotation:n,rotateX:s,rotateY:a,skewX:o,skewY:l}=r;e&&(i=`perspective(${e}px) ${i}`),t&&(i+=`rotate(${t}deg) `),n&&(i+=`rotate(${n}deg) `),s&&(i+=`rotateX(${s}deg) `),a&&(i+=`rotateY(${a}deg) `),o&&(i+=`skewX(${o}deg) `),l&&(i+=`skewY(${l}deg) `)}let o=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==o||1!==l)&&(i+=`scale(${o}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);r&&(s=r(n,s)),e.transform=s;let{x:a,y:o}=this.projectionDelta;for(let t in e.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,i.animationValues?e.opacity=i===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:e.opacity=i===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,_.scaleCorrectors){if
1(void 0===n[t])continue;let{correct:r,applyTo:a,isCSSVariable:o}=_.scaleCorrectors[t],l="none"===s?n[t]:r(n[t],i);if(a){let t=a.length;for(let r=0;r<t;r++)e[a[r]]=l}else o?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=i===this?(0,P.resolveMotionValue)(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(eb),this.root.sharedNodes.clear()}}}function ep(e){e.updateLayout()}function eg(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:i}=e.layout,{animationType:n}=e.options,s=t.source!==e.layout.source;if("size"===n)(0,ea.eachAxis)(e=>{let i=s?t.measuredBox[e]:t.layoutBox[e],n=(0,W.calcLength)(i);i.min=r[e].min,i.max=i.min+n});else if("x"===n||"y"===n){let e="x"===n?"y":"x";V(s?t.measuredBox[e]:t.layoutBox[e],r[e])}else eD(n,t.layoutBox,r)&&(0,ea.eachAxis)(i=>{let n=s?t.measuredBox[i]:t.layoutBox[i],a=(0,W.calcLength)(r[i]);n.max=n.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+a)});let a=(0,K.createDelta)();(0,W.calcBoxDelta)(a,r,t.layoutBox);let o=(0,K.createDelta)();s?(0,W.calcBoxDelta)(o,e.applyTransform(i,!0),t.measuredBox):(0,W.calcBoxDelta)(o,r,t.layoutBox);let l=!X(a),u=!1;if(!e.resumeFrom){let i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:s}=i;if(n&&s){let a=e.options.layoutAnchor||void 0,o=(0,K.createBox)();(0,W.calcRelativePosition)(o,t.layoutBox,n.layoutBox,a);let l=(0,K.createBox)();(0,W.calcRelativePosition)(l,r,s.layoutBox,a),et(o,l)||(u=!0),i.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=o,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function ey(e){k.statsBuffer.value&&ec.nodes++,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 ev(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ew(e){e.clearSnapshot()}function eb(e){e.clearMeasurements()}function ex(e){e.isLayoutDirty=!0,e.updateLayout()}function eT(e){e.isLayoutDirty=!1}function e_(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function eS(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ek(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function eE(e){e.resolveTargetDelta()}function eC(e){e.calcProjection()}function eP(e){e.resetSkewAndRotation()}function e$(e){e.removeLeadSnapshot()}function eA(e,t,r){e.translate=(0,C.mixNumber)(t.translate,0,r),e.scale=(0,C.mixNumber)(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function eL(e,t,r,i){e.min=(0,C.mixNumber)(t.min,r.min,i),e.max=(0,C.mixNumber)(t.max,r.max,i)}function eI(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let eO={duration:.45,ease:[.4,0,.1,1]},eM=e=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),eR=eM("applewebkit/")&&!eM("chrome/")?Math.round:g.noop;function ej(e){e.min=eR(e.min),e.max=eR(e.max)}function eD(e,t,r){return"position"===e||"preserve-aspect"===e&&!(0,W.isNear)(er(t),er(r),.2)}function eN(e){return e!==e.root&&e.scroll?.wasRoot}var eF=e.i(8821);let eV=ef({attachResizeListener:(e,t)=>(0,eF.addDomEvent)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),eB={current:void 0},eq=ef({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!eB.current){let e=new eV({});e.mount(window),e.setOptions({layoutScroll:!0}),eB.current=e}return eB.current},resetTransform:(e,t)=>
1{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});e.s(["HTMLProjectionNode",0,eq],15990);let eU={pan:{Feature:r.PanGesture},drag:{Feature:t.DragGesture,ProjectionNode:eq,MeasureLayout:m}};e.s(["drag",0,eU],20947);var eW=e.i(38976),eH=e.i(10927),ez=e.i(88133);function eG(e,t){let r=(0,ez.resolveElements)(e),i=new AbortController;return[r,{passive:!0,...t,signal:i.signal},()=>i.abort()]}e.s(["setupGesture",0,eG],67454);var eZ=e.i(36725);function eY(e,t,r){let{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover","Start"===r);let n=i["onHover"+r];n&&s.frame.postRender(()=>n(t,(0,eZ.extractEventInfo)(t)))}class eK extends eW.Feature{mount(){let{current:e}=this.node;e&&(this.unmount=function(e,t,r={}){let[i,n,s]=eG(e,r);return i.forEach(e=>{let r,i=!1,s=!1,a=t=>{r&&(r(t),r=void 0),e.removeEventListener("pointerleave",l)},o=e=>{i=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),s&&(s=!1,a(e))},l=e=>{if("touch"!==e.pointerType){if(i){s=!0;return}a(e)}};e.addEventListener("pointerenter",i=>{if("touch"===i.pointerType||(0,eH.isDragActive)())return;s=!1;let a=t(e,i);"function"==typeof a&&(r=a,e.addEventListener("pointerleave",l,n))},n),e.addEventListener("pointerdown",()=>{i=!0,window.addEventListener("pointerup",o,n),window.addEventListener("pointercancel",o,n)},n)}),s}(e,(e,t)=>(eY(this.node,t,"Start"),e=>eY(this.node,e,"End"))))}unmount(){}}e.s(["HoverGesture",0,eK],16039);var eJ=eW,eX=e.i(15645);class eQ extends eJ.Feature{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,eX.pipe)((0,eF.addDomEvent)(this.node.current,"focus",()=>this.onFocus()),(0,eF.addDomEvent)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}e.s(["FocusGesture",0,eQ],5753)},61427,e=>{"use strict";var t=e.i(25465);e.s(["isHTMLElement",0,function(e){return(0,t.isObject)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}])},7524,e=>{"use strict";var t=e.i(50564),r=e.i(78492),i=e.i(42777),n=e.i(20947),s=e.i(16039),a=e.i(5753),o=e.i(38976),l=e.i(61427),u=e.i(10927);let c=(e,t)=>!!t&&(e===t||c(e,t.parentElement));var h=e.i(58904),d=e.i(67454),m=e.i(96584);let f=new WeakSet;function p(e){return t=>{"Enter"===t.key&&e(t)}}function g(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function y(e){return(0,h.isPrimaryPointer)(e)&&!(0,u.isDragActive)()}let v=new WeakSet;var w=e.i(7953),b=e.i(36725);function x(e,t,r){let{props:i}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap","Start"===r);let n=i["onTap"+("End"===r?"":r)];n&&w.frame.postRender(()=>n(t,(0,b.extractEventInfo)(t)))}class T extends o.Feature{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=function(e,t,r={}){let[i,n,s]=(0,d.setupGesture)(e,r),a=e=>{let i=e.currentTarget;if(!y(e)||v.has(e))return;f.add(i),r.stopPropagation&&v.add(e);let s=t(i,e),a=(e,t)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),f.has(i)&&f.delete(i),y(e)&&"function"==typeof s&&s(e,{success:t})},o=e=>{a(e,i===window||i===document||r.useGlobalTarget||c(i,e.target))},l=e=>{a(e,!1)};window.addEventListener("pointerup",o,n),window.addEventListener("pointercancel",l,n)};return i.forEach(e=>{(r.useGlobalTarget?window:e).addEventListener("pointerdown",a,n),(0,l.isHTMLElement)(e)&&(e.addEventListener("focus",e=>((e,t)=>{let r=e.currentTarget;if(!r)return;let i=p(()=>{if(f.has(r))return;g(r,"down");let e=p(()=>{g(r,"up")});r.addEventListener("keyup",e,t),r.addEventListener("blur",()=>g(r,"cancel"),t)});r.addEventListener("keydown",i,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",i),t)}
1)(e,n)),(0,m.isElementKeyboardAccessible)(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),s}(e,(e,t)=>(x(this.node,t,"Start"),(e,{success:t})=>x(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:r?.tap===!1})}unmount(){}}var _=o;let S=new WeakMap,k=new WeakMap,E=e=>{let t=S.get(e.target);t&&t(e)},C=e=>{e.forEach(E)},P={some:0,all:1};class $ extends _.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.stopObserver?.();let{viewport:r={}}=this.node.getProps(),{root:i,margin:n,amount:s="some",once:a}=r,o={root:i?i.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:P[s]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),n=t?r:i;n&&n(e)};this.stopObserver=(e=this.node.current,t=function({root:e,...t}){let r=e||document;k.has(r)||k.set(r,{});let i=k.get(r),n=JSON.stringify(t);return i[n]||(i[n]=new IntersectionObserver(C,{root:e,...t})),i[n]}(o),S.set(e,l),t.observe(e),()=>{S.delete(e),t.unobserve(e)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let A={inView:{Feature:$},tap:{Feature:T},focus:{Feature:a.FocusGesture},hover:{Feature:s.HoverGesture}};var L=e.i(15990),I=e.i(73642);let O={layout:{ProjectionNode:L.HTMLProjectionNode,MeasureLayout:I.MeasureLayout}},M={...i.animations,...A,...n.drag,...O},R=(0,r.createMotionProxy)(M,t.createDomVisualElement);e.s(["motion",0,R],7524)},50847,e=>{"use strict";var t=e.i(72525),r=e.i(62560),i=e.i(7284),n=e.i(7524),s=e.i(95156);function a({active:e,number:r,direction:o,disabled:l,more:u,passive:c=!1,onClick:h,optional:d=!1}){let m=function({direction:e,number:t,active:r,more:i}){return"previous"===e?"Previous page":"next"===e?"Next page":"number"==typeof t?r?`Current page, page ${t}`:`Go to page ${t}`:i?"More pages":void 0}({active:e,direction:o,more:u,number:r}),f=(0,i.default)("relative flex h-40 items-center justify-center rounded-full font-almarai text-almarai-16 transition-colors duration-150 ease-in-out",u?"w-24":"w-40",e&&!l&&!c&&["bg-eclipse-900 text-white shadow-sm","hover:bg-purple-500 focus-visible:bg-purple-500"],!e&&!l&&!c&&["text-eclipse-900 hover:bg-purple-500/10 hover:text-purple-500","focus-visible:bg-purple-500/10 focus-visible:text-purple-500"],l&&"cursor-not-allowed text-grey-500 opacity-60",c&&"cursor-default text-grey-700",d&&"hidden [@media(min-width:368px)]:flex"),p=(0,t.jsxs)(t.Fragment,{children:["number"==typeof r&&r,o&&(0,t.jsx)(s.IoChevronForward,{className:(0,i.default)("h-[18px] w-[18px]","previous"===o&&"rotate-180"),"aria-hidden":"true"}),u&&(0,t.jsx)("span",{"aria-hidden":"true",children:"..."})]});return c?(0,t.jsx)("span",{className:f,"aria-label":m,"aria-hidden":u?"true":void 0,children:p}):(0,t.jsx)(n.motion.button,{type:"button",className:f,disabled:l,onClick:h,"aria-label":m,"aria-current":e?"page":void 0,whileHover:l?void 0:{y:-1},whileTap:l?void 0:{scale:.96},transition:{duration:.14,ease:"easeOut"},children:p})}let o=({start:e,end:t,currentPage:r,lastPage:i,optionalInteriorPages:n=!0})=>Array.from({length:t-e+1},(t,s)=>{let a=s+e;return n&&a!==r&&a>1&&a<i&&3!==i?a.toString():a});e.s(["Pagination",0,function({totalPageCount:e,totalCount:i,pageSize:n,initialPage:s,onClick:l}){let[u,c]=(0,r.useState)(s||1),h=function(e){let t,{totalPageCount:r,totalResultsCount:i,pageSize:n}=e;return"number"==typeof r&&(t=r),"number"==typeof i&&"number"==typeof n&&(t=Math.ceil(i/n)),t}({totalPageCount:e,totalResultsCount:i,pageSize:n}),d=(0,r.useMemo)(()=>(function({pageCount:e,currentPage:t,siblingCount:r=1}){if(void 0===e)return;if(e<=2*r+5)return o({start:1,end:e,currentPage:t,lastPage:e,optionalInteriorPages:!1});let i=Math.max(t-r,1),n=Math.min(t+r,e),s=i>2,a=n<e-1;return!s&&a?[...o({start:1,end:3+2*r,currentPage:t,lastPage:e}),"...",e]:s&&!a?[1,"...",...o({start:e-(3+2*r)+1,end:e,currentPage:t,lastPage:e})]:s&&a?[1,"...",...o({start:i,end:n,currentPage:t,lastPage:e}),"...",e]:void 0})({pageCount:h,currentPage:u}),[h,u]);if("number"!=typeof h||h<=1)return null;function m({type:e,page:t,pageCount:r}){switch(e){case"next":if(u+1<=r){let e=u+1;c(e),l?.(e)}break;case"previous":if(u-1>=1){let e=u-1;c(e),l?.(e)}break;case"page":"number"==typeof t&&(c(t),l?.(t))}}let f=1===u,p=u===h;return(0,t.jsx)("nav",{className:"flex justify-self-center","aria-label":"Pagination","data-datocms-noindex":!0,children:(0,t.jsxs)("ul",{className:"flex items-center gap-2",children:[(0,t.jsx)("li",{children:(0,t.jsx)(a,{direction:"previous",disabled:f,onClick:()=>{m({type:"previous",pageCount:h})}})}),d?.map((e,r)=>{let i=`paginationItemIndex${r}`;switch(typeof e){case"number":{let r=e===u;return(0,t.jsx)("li",{children:(0,t.jsx)(a,{number:e,active:r,onClick:()=>{m({type:"page",page:e,pageCount:h})}})},i)}case"string":if("..."===e){let e=u>1&&u<h;return(0,t.jsx)("li",{children:(0,t.jsx)(a,{more:!0,optional:e,passive:!0})},i)}{let r=parseInt(e);return(0,t.jsx)("li",{children:(0,t.jsx)(a,{number:r,optional:!0,onClick:()=>{m({type:"page",page:r,pageCount:h})}})},i)}}}),(0,t.jsx)("li",{children:(0,t.jsx)(a,{direction:"next",disabled:p,onClick:()=>{m({type:"next",pageCount:h})}})})]})})}],50847)},24439,e=>{"use strict";var t=e.i(72525),r=e.i(7284);e.s(["Section",0,function({id:e,children:i,contentWidth:n="normal",sectionRef:s,paddingX:a,paddingY:o="normal"}){return(0,t.jsx)("section",{id:e,ref:s,className:(0,r.default)("small"===a&&"px-32","small"===o&&"py-32","normal"===o&&"py-32 md:py-64",("normal"===n||"narrow"===n)&&["grid-breakable gap-y-32","narrow"===n&&"grid-breakable-narrow"],"justified"===n&&"flex justify-center"),children:i})}])},70958,e=>{"use strict";let t={src:e.i(44373).default,width:516,height:540,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAjElEQVR42nWOsQrGIBCDff8Ha4cOpbRQWnERcVCcBLWi5O8dSKf/IJBLviGi1vrgz1EnxlNKgbWWRX6cGOV1Xdj3nUV+QAx47zkMIaC1BqUUnHMfkHNmwBjDxX3fSCl9wDsGWmuc58kiTxkDvXdIKTFNE47jYM3zzBl1Isb4LMuCdV15y/tj2zZQRt0PMT7w0H9NKdMAAAAASUVORK5CYII="},r={src:e.i(62093).default,width:980,height:653,blurWidth:8,blurHeight:5,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAFAAgDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDy+W7tzb+T9hiDj/lruO7/AAr1ak4fyhfQ/9k="},i={src:e.i(51129).default,width:186,height:186,blurWidth:8,blurHeight:8,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA/0lEQVR42nWPO2vCUACF0/hoo7dtAk1vTYOF2lQMYksfgVIsfQyhhaoQQVHURQcVBEVcnCSog6MEN3FxUQRdBMHJRRwc/DEOPiBqxEXwm85w4JwPQQ5wtEYJKpVaAwAODTRjfv1whW7ZLx+k7hgDvL5SCtiJDlit3LcjXBwlpf6y0hjP8+X28PnJ/oId6zDkgX2z/3z6RY5PL4JiV5aqQ7nWmiwc7kTq3mShEUhSpPAfyTo94jwQrculwkDOiZ0Z9y7EgP4UV2bgJWX0euI9129mGgxJU+Ev3mQZ2yNJkNsf+DlBMCaLmaZZ3nhj44H+7EKr0apRFN2aoJu009pjBcjxN+rJrcJLAAAAAElFTkSuQmCC"}
1,n={responsiveImage:{src:r.src,sizes:"(max-width: 980px) 100vw, 980px",width:980,height:653,aspectRatio:.618,base64:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI5ODAiIGhlaWdodD0iNjA2Ij48L3N2Zz4="},focalpoints:{x:.5,y:.5}};t.src;let s={responsiveImage:{src:t.src,sizes:"(max-width: 128px) 128px",width:128,height:128,aspectRatio:1},focalpoints:{x:.5,y:.5}};i.src,e.s(["defaultAvatar",0,s,"spaceImage",0,n],70958)},46320,e=>{e.v({container:"ArrowButton-module__cYO1fq__container",wrapper:"ArrowButton-module__cYO1fq__wrapper"})},68976,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(87931),n=e.i(46320);e.s(["ArrowButton",0,function({label:e}){return(0,t.jsx)("div",{"aria-label":e&&e,children:(0,t.jsx)("div",{className:(0,r.default)("group/Button","flex h-36 min-h-44 w-48 cursor-pointer rounded-[12px] bg-sky-400 py-8 text-center",n.default.container),children:(0,t.jsx)("span",{className:(0,r.default)(n.default.wrapper),children:(0,t.jsx)(i.PiArrowRightBold,{color:"#000"})})})})}])},11500,e=>{e.v({button:"ResourceCard-module__F63ixa__button",buttonWrapper:"ResourceCard-module__F63ixa__buttonWrapper",container:"ResourceCard-module__F63ixa__container",wrapper:"ResourceCard-module__F63ixa__wrapper"})},84765,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(62560),n=e.i(70958),s=e.i(80177),a=e.i(68976),o=e.i(62530);function l({children:e,serverContext:i}){let n=i.locale;return"fi"===n&&(e=(e=(e=(e=(e=(e=(e=(e=e.replace("blog","blogi")).replace("news","uutinen")).replace("whitepaper","whitepaper")).replace("guide","opas")).replace("career_story","uratarina")).replace("event","tapahtuma")).replace("webinar","webinaari")).replace("on-demand","tallenne")),"sv"===n&&(e=(e=(e=(e=(e=(e=(e=e.replace("blog","blogg")).replace("news","nyheter")).replace("whitepaper","whitepaper")).replace("guide","guide")).replace("career_story","karriärberättelser")).replace("event","event")).replace("on-demand","inspelning")),(0,t.jsx)("div",{className:(0,r.default)("w-fit rounded-[100px] bg-cloud-100 px-20 py-8 font-splineSansMono text-spline-sans-mono-12 uppercase"),children:e.replace("_"," ")})}var u=e.i(11500);e.s(["ResourceCard",0,function({title:e,image:c,date:h,location:d,tag:m,customer:f,serverContext:p,...g}){let y=(0,i.useRef)(null);return(0,t.jsx)("div",{className:(0,r.default)("flex flex-col gap-16 font-almarai",u.default.wrapper),children:(0,t.jsxs)(s.LinkWrapper,{ref:y,...g,className:"grid gap-y-16",children:[(0,t.jsxs)("div",{className:(0,r.default)("relative flex h-[230px] cursor-pointer flex-col justify-end rounded-[16px] bg-grey-100 p-24 md:h-[200px] lg:h-[270px]",u.default.container),children:[c||(0,t.jsx)(o.DatoImageDynamic,{data:n.spaceImage.responsiveImage,clientSideFocalPoint:[n.spaceImage.focalpoints.x,n.spaceImage.focalpoints.y],layout:"fill",objectFit:"cover"}),(0,t.jsxs)("div",{className:(0,r.default)("absolute",u.default.buttonWrapper),children:[(0,t.jsx)("svg",{id:"Bottom_corner",className:(0,r.default)("absolute z-[5] fill-white"),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 78 69",width:"78",height:"69",children:(0,t.jsx)("path",{d:"M0 69L77 69L77 4.89059C77.0937 3.12497 77 1.41665 77 -6.73155e-06L77 4.89059C76.7188 10.1875 74.75 16 63.5 16L29.5 16C24.6667 16.5 15 18.7 15 29.5L15 54C15 61 10.8 69 0 69Z"})}),(0,t.jsx)("div",{className:(0,r.default)(u.default.button),children:(0,t.jsx)(a.ArrowButton,{})})]})]}),(0,t.jsxs)("div",{className:(0,r.default)("mt-12 flex flex-col gap-16"),children:[f&&(0,t.jsx)("p",{children:f}),(0,t.jsx)("h3",{className:(0,r.default)("font-almarai text-almarai-20"),children:e}),(h||d)&&(0,t.jsxs)("div",{className:(0,r.default)("flex flex-col gap-8 font-splineSansMono text-spline-sans-mono-14 uppercase"),children:[h&&(0,t.jsx)("p",{children:h}),d&&(0,t.jsx)("p",{children:d})]}),m&&(0,t.jsx)(l,{serverContext:p,children:m})]})]})})}],84765)},45371,e=>{"use strict";var t=e.i(72525),r=e.i(62560);let i=r.default.createContext(void 0);e.s(["FetchCacheProvider",0,function({children:e}){let[n,s]=(0,r.useState)({}),[a,o]=(0,r.useState)({});function l(e,t){o(r=>{let i={...r};return i[e]=t,i})}return(0,t.jsx)(i.Provider,{value:{getCacheItem:function(e){return{cache:n[e],status:a[e]}},setCacheItem:function(e,t){s(r=>{let i={...r};return i[e]=t,i}),l(e,"fulfilled")},setQueryStatus:l},children:e})},"useFetchCache",0,function(){let e=r.default.useContext(i);if(void 0===e)throw Error("useFetchCache must be used within a FetchCacheProvider");return e}])},73351,46647,e=>{"use strict";let t,r;var i=e.i(72525);function n(e,...t){let r="";for(let[i,n]of e.entries())r+=n,i in t&&(r+=t[i]);return r}let s=n` 2 fragment Cookiebot on CookiebotRecord { 3 __typename 4 id 5 } 6`,a=n` 7 fragment CustomerCaseLink on CustomerCaseRecord { 8 __typename 9 id 10 title 11 _locales 12 _allSlugLocales { 13 locale 14 value 15 } 16 } 17`,o=n` 18 fragment ResponsiveImageFields on ResponsiveImage { 19 src 20 srcSet 21 webpSrcSet 22 sizes 23 width 24 height 25 aspectRatio 26 base64 27 title 28 alt 29 } 30`,l=n` 31 fragment FocalPoint on focalPoint { 32 x 33 y 34 } 35`,u=n` 36 fragment FrontpageRecordLink on FrontpageRecord { 37 __typename 38 id 39 title 40 _locales 41 } 42`,c=n` 43 fragment PageRecordLink on PageRecord { 44 __typename 45 id 46 title 47 _locales 48 _allSlugLocales { 49 locale 50 value 51 } 52 parentPage { 53 ... on FrontpageRecord { 54 __typename 55 title 56 } 57 ... on PageRecord { 58 id 59 _allSlugLocales { 60 locale 61 value 62 } 63 title 64 parentPage { 65 ... on FrontpageRecord { 66 __typename 67 title 68 } 69 ... on PageRecord { 70 id 71 _allSlugLocales { 72 locale 73 value 74 } 75 title 76 parentPage { 77 ... on FrontpageRecord { 78 __typename 79 title 80 } 81 } 82 } 83 } 84 } 85 } 86 } 87`,h=n` 88 fragment ArticleType on ArticleTypeRecord { 89 id 90 __typename 91 label 92 } 93`,d=n` 94 fragment ArticleLink on ArticleRecord { 95 __typename 96 id 97 title 98 _locales 99 _allSlugLocales { 100 locale 101 value 102 } 103 articleTypeRef {
104 ...ArticleType 105 } 106 } 107`,m=n` 108 fragment EventLink on EventRecord { 109 __typename 110 id 111 title 112 eventType 113 _locales 114 _allSlugLocales { 115 locale 116 value 117 } 118 } 119`,f=n` 120 fragment InternalLink on InternalLinkRecord { 121 __typename 122 id 123 label 124 link { 125 ...FrontpageRecordLink 126 ...PageRecordLink 127 ...CustomerCaseLink 128 ...ArticleLink 129 ...EventLink 130 } 131 } 132`,p=n` 133 fragment ExternalLink on ExternalLinkRecord { 134 __typename 135 id 136 label 137 url 138 } 139`,g=n` 140 fragment AnchorLink on AnchorLinkRecord { 141 __typename 142 id 143 anchorSlug 144 link { 145 ...InternalLink 146 } 147 } 148`,y=n` 149 fragment AnchorLinkBlock on AnchorLinkBlockRecord { 150 __typename 151 id 152 anchorLink { 153 ...AnchorLink 154 } 155 } 156`,v=n` 157 fragment OverlayText on OverlayTextRecord { 158 __typename 159 id 160 title 161 } 162`,w=n` 163 fragment PageHero on PageHeroRecord { 164 __typename 165 id 166 title 167 body { 168 value 169 links { 170 ...FrontpageRecordLink 171 ...PageRecordLink 172 } 173 } 174 image { 175 responsiveImage(imgixParams: { fm: webp }) { 176 ...ResponsiveImageFields 177 } 178 focalPoint { 179 ...FocalPoint 180 } 181 } 182 cta { 183 ...InternalLink 184 ...ExternalLink 185 ...AnchorLinkBlock 186 } 187 overlayText { 188 ...OverlayText 189 } 190 overlayImage { 191 responsiveImage(imgixParams: { fm: webp }) { 192 ...ResponsiveImageFields 193 } 194 focalPoint { 195 ...FocalPoint 196 } 197 } 198 overlayImageInCorner 199 } 200`,b=n` 201 fragment Tag on TagRecord { 202 __typename 203 id 204 title 205 } 206`,x=n` 207 fragment CustomerCaseCard on CustomerCaseRecord { 208 __typename 209 id 210 title 211 _firstPublishedAt 212 ...CustomerCaseLink 213 title 214 customer 215 seo { 216 image { 217 responsiveImage(imgixParams: { w: 640, fm: webp }) { 218 ...ResponsiveImageFields 219 } 220 focalPoint { 221 ...FocalPoint 222 } 223 } 224 } 225 hero { 226 ...PageHero 227 } 228 tags { 229 ...Tag 230 } 231 } 232`,T=n` 233 fragment NavSubLink on NavSubLinkRecord { 234 __typename 235 id 236 label 237 link { 238 ...FrontpageRecordLink 239 ...PageRecordLink 240 } 241 subLinks { 242 ...InternalLink 243 } 244 } 245`,_=n` 246 fragment SubLinkGroup on SubLinkGroupRecord { 247 __typename 248 id 249 title 250 subLinks { 251 ...NavSubLink 252 } 253 } 254`,S=n` 255 fragment NavigationGroup on NavigationGroupRecord { 256 __typename 257 id 258 parentLink { 259 ...InternalLink 260 } 261 subLinks { 262 ...SubLinkGroup 263 } 264 } 265`,k=n` 266 fragment ServiceCard on ServiceCardRecord { 267 __typename 268 id 269 title 270 body { 271 value 272 } 273 mandatoryCta: cta { 274 ...InternalLink 275 } 276 } 277`,E=n` 278 fragment ServiceCollection on ServiceCollectionRecord { 279 __typename 280 id 281 tagline 282 title 283 leadText { 284 value 285 } 286 image { 287 responsiveImage(imgixParams: { fm: webp }) { 288 ...ResponsiveImageFields 289 } 290 focalPoint { 291 ...FocalPoint 292 } 293 } 294 cards { 295 ...ServiceCard 296 } 297 additionalInfo(markdown: true) 298 additionalLinks { 299 ...InternalLink 300 ...AnchorLinkBlock 301 } 302 } 303`,C=n` 304 fragment ServiceBlock on ServiceBlockRecord { 305 __typename 306 id 307 serviceCollection { 308 ...ServiceCollection 309 } 310 } 311`,P=n` 312 fragment FrontPageHero on FrontPageHeroRecord { 313 __typename 314 id 315 title 316 backgroundImage { 317 responsiveImage(imgixParams: { fm: webp }) { 318 ...ResponsiveImageFields 319 } 320 focalPoint { 321 ...FocalPoint 322 } 323 } 324 cta { 325 ...InternalLink 326 ...ExternalLink 327 ...AnchorLinkBlock 328 } 329 body { 330 value 331 } 332 overlayText { 333 ...OverlayText 334 } 335 decorativeImage { 336 responsiveImage(imgixParams: { fm: webp }) { 337 ...ResponsiveImageFields 338 } 339 focalPoint { 340 ...FocalPoint 341 } 342 } 343 } 344`,$=n` 345 fragment DatoSeoMetaTags on Tag { 346 __typename 347 attributes 348 content 349 tag 350 } 351`,A=n` 352 fragment TextHighlight on TextHighlightRecord { 353 __typename 354 id 355 tagline 356 body { 357 value 358 } 359 cta { 360 ...InternalLink 361 ...ExternalLink 362 } 363 } 364`,L=n` 365 fragment TextBlock on TextBlockRecord { 366 __typename 367 id 368 tagline 369 title 370 body { 371 value 372 links { 373 ...FrontpageRecordLink 374 ...PageRecordLink 375 ...CustomerCaseLink 376 } 377 } 378 cta { 379 ...InternalLink 380 ...ExternalLink 381 ...AnchorLinkBlock 382 } 383 } 384`,I=n` 385 fragment ImageRichText on ImageRecord { 386 __typename 387 id 388 image { 389 url 390 id 391 title 392 responsiveImage(imgixParams: { fm: webp }) { 393 ...ResponsiveImageFields 394 } 395 focalPoint { 396 ...FocalPoint 397 } 398 } 399 fullWidth 400 alignCenter 401 showCaption 402 } 403`,O=n` 404 fragment VideoField on VideoField { 405 height 406 provider 407 providerUid 408 thumbnailUrl 409 title 410 url 411 width 412 } 413`,M=n` 414 fragment VideoEmbed on VideoEmbedRecord { 415 __typename 416 id 417 optionalTitle: title 418 video { 419 ...VideoField 420 } 421 } 422`,R=n` 423 fragment Table on TableRecord { 424 __typename 425 id 426 table 427 } 428`,j=n` 429 fragment RichText on RichTextRecord { 430 __typename 431 id 432 text { 433 value 434 links { 435 ...FrontpageRecordLink 436 ...PageRecordLink 437 ...CustomerCaseLink 438 ...AnchorLink
439 ...ArticleLink 440 ...EventLink 441 } 442 blocks { 443 ...ImageRichText 444 ...VideoEmbed 445 ...Table 446 } 447 } 448 anchor { 449 ...AnchorLink 450 } 451 } 452`,D=n` 453 fragment ImageHighlight on ImageHighlightRecord { 454 __typename 455 id 456 image { 457 responsiveImage(imgixParams: { fm: webp }) { 458 ...ResponsiveImageFields 459 } 460 focalPoint { 461 ...FocalPoint 462 } 463 } 464 } 465`,N=n` 466 fragment ImageWithText on ImageWithTextRecord { 467 __typename 468 id 469 tagline 470 title 471 body { 472 value 473 } 474 cta { 475 ...InternalLink 476 ...ExternalLink 477 } 478 image { 479 responsiveImage(imgixParams: { fm: webp }) { 480 ...ResponsiveImageFields 481 } 482 focalPoint { 483 ...FocalPoint 484 } 485 } 486 imageFirst 487 fitFullImage 488 } 489`,F=n` 490 fragment Icon on IconRecord { 491 __typename 492 id 493 title 494 icon { 495 url 496 } 497 } 498`,V=n` 499 fragment ListItem on ListItemRecord { 500 __typename 501 id 502 title 503 body { 504 value 505 } 506 icon { 507 ...Icon 508 } 509 } 510`,B=n` 511 fragment IconListWithImage on IconListWithImageRecord { 512 __typename 513 id 514 image { 515 responsiveImage(imgixParams: { fm: webp }) { 516 ...ResponsiveImageFields 517 } 518 focalPoint { 519 ...FocalPoint 520 } 521 } 522 tagline 523 title 524 iconList { 525 ...ListItem 526 } 527 } 528`,q=n` 529 fragment CtaHighlight on CtaHighlightRecord { 530 __typename 531 id 532 tagline 533 title 534 body { 535 value 536 } 537 mandatoryCta: cta { 538 ...InternalLink 539 ...ExternalLink 540 ...AnchorLinkBlock 541 } 542 image { 543 responsiveImage(imgixParams: { fm: webp }) { 544 ...ResponsiveImageFields 545 } 546 focalPoint { 547 ...FocalPoint 548 } 549 } 550 fitFullImage 551 } 552`,U=n` 553 fragment AccordionItem on AccordionItemRecord { 554 __typename 555 id 556 title 557 body { 558 value 559 } 560 } 561`,W=n` 562 fragment Accordion on AccordionRecord { 563 __typename 564 id 565 tagline 566 title 567 leadText { 568 value 569 } 570 cta { 571 ...InternalLink 572 ...ExternalLink 573 } 574 accordion { 575 ...AccordionItem 576 } 577 } 578`,H=n` 579 fragment Faq on FaqRecord { 580 __typename 581 id 582 tagline 583 title 584 leadText { 585 value 586 } 587 cta { 588 ...InternalLink 589 ...ExternalLink 590 } 591 faq { 592 ...AccordionItem 593 } 594 } 595`,z=n` 596 fragment InfoCard on InfoCardRecord { 597 __typename 598 id 599 title 600 body { 601 value 602 } 603 image { 604 responsiveImage(imgixParams: { fm: webp }) { 605 ...ResponsiveImageFields 606 } 607 focalPoint { 608 ...FocalPoint 609 } 610 } 611 cta { 612 ...InternalLink 613 ...ExternalLink 614 } 615 } 616`,G=n` 617 fragment InfoCardGrid on InfoCardGridRecord { 618 __typename 619 id 620 tagline 621 richTitle: title { 622 value 623 } 624 leadText { 625 value 626 } 627 cards { 628 ...InfoCard 629 } 630 } 631`,Z=n` 632 fragment ResultItem on ResultItemRecord { 633 __typename 634 id 635 title 636 description 637 } 638`,Y=n` 639 fragment ResultBlock on ResultBlockRecord { 640 __typename 641 id 642 title 643 optionalBody: body { 644 value 645 } 646 results { 647 ...ResultItem 648 } 649 } 650`,K=n` 651 fragment Stepper on StepperRecord { 652 __typename 653 id 654 tagline 655 title 656 leadText { 657 value 658 } 659 image { 660 responsiveImage(imgixParams: { fm: webp }) { 661 ...ResponsiveImageFields 662 } 663 focalPoint { 664 ...FocalPoint 665 } 666 } 667 steps { 668 ...ListItem 669 } 670 } 671`,J=n` 672 fragment HighlightableListItem on HighlightableListItemRecord { 673 __typename 674 id 675 body { 676 value 677 } 678 } 679`,X=n` 680 fragment ChallengeAndSolution on ChallengeAndSolutionRecord { 681 __typename 682 id 683 challenge { 684 ...HighlightableListItem 685 } 686 solution { 687 ...HighlightableListItem 688 } 689 } 690`,Q=n` 691 fragment ChallengesAndSolutionsBlock on ChallengesAndSolutionsBlockRecord { 692 __typename 693 id 694 challengesTitle 695 solutionsTitle 696 items { 697 ...ChallengeAndSolution 698 } 699 } 700`,ee=n` 701 fragment Testimonial on TestimonialRecord { 702 __typename 703 id 704 author 705 title 706 image { 707 responsiveImage(imgixParams: { fm: webp }) { 708 ...ResponsiveImageFields 709 } 710 focalPoint { 711 ...FocalPoint 712 } 713 } 714 quote(markdown: true) 715 relatedCase { 716 ...CustomerCaseLink 717 } 718 } 719`,et=n` 720 fragment TestimonialList on TestimonialListRecord { 721 __typename 722 id 723 tagline 724 testimonialTitle: title 725 testimonials { 726 ...Testimonial 727 } 728 } 729`,er=n` 730 fragment MultipleLinksSection on MultipleLinksSectionRecord { 731 __typename 732 id 733 tagline 734 title 735 leadText { 736 value 737 } 738 links { 739 ...ExternalLink 740 ...InternalLink 741 ...AnchorLinkBlock 742 } 743 } 744`,ei=n` 745 fragment StarianContact on StarianContactRecord { 746 __typename 747 id 748 name 749 title 750 location
751 phone 752 linkedin 753 image { 754 responsiveImage(imgixParams: { fm: webp }) { 755 ...ResponsiveImageFields 756 } 757 focalPoint { 758 ...FocalPoint 759 } 760 } 761 bookMeetingLink 762 } 763`,en=n` 764 fragment Expert on ExpertRecord { 765 __typename 766 id 767 name 768 title 769 company 770 phone 771 linkedin 772 image { 773 responsiveImage(imgixParams: { fm: webp }) { 774 ...ResponsiveImageFields 775 } 776 focalPoint { 777 ...FocalPoint 778 } 779 } 780 } 781`,es=n` 782 fragment FeaturedPeopleBlock on FeaturedPeopleBlockRecord { 783 __typename 784 id 785 tagline 786 title 787 leadText { 788 value 789 } 790 people { 791 ...StarianContact 792 ...Expert 793 } 794 } 795`,ea=n` 796 fragment EventList on EventListRecord { 797 __typename 798 id 799 title 800 eventType 801 linkToAll { 802 ...InternalLink 803 ...AnchorLinkBlock 804 } 805 displayAll 806 blockAnchor { 807 ...AnchorLinkBlock 808 } 809 } 810`,eo=n` 811 fragment EventCard on EventRecord { 812 __typename 813 id 814 title 815 eventType 816 _firstPublishedAt 817 startDate 818 endDate 819 location 820 ...EventLink 821 title 822 seo { 823 image { 824 responsiveImage(imgixParams: { w: 640, fm: webp }) { 825 ...ResponsiveImageFields 826 } 827 focalPoint { 828 ...FocalPoint 829 } 830 } 831 } 832 hero { 833 ...PageHero 834 } 835 } 836`,el=n` 837 fragment ArticleCard on ArticleRecord { 838 __typename 839 id 840 title 841 articleTypeRef { 842 ...ArticleType 843 } 844 _firstPublishedAt 845 ...ArticleLink 846 title 847 seo { 848 image { 849 responsiveImage(imgixParams: { w: 640, fm: webp }) { 850 ...ResponsiveImageFields 851 } 852 focalPoint { 853 ...FocalPoint 854 } 855 } 856 } 857 hero { 858 ...PageHero 859 } 860 tags { 861 ...Tag 862 } 863 } 864`,eu=n` 865 fragment ResourceCollection on ResourceCollectionRecord { 866 __typename 867 id 868 optionalTitle: title 869 resources { 870 ...EventCard 871 ...ArticleCard 872 } 873 link { 874 ...InternalLink 875 ...AnchorLinkBlock 876 } 877 } 878`,ec=n` 879 fragment HubspotForm on HubspotFormRecord { 880 __typename 881 id 882 tagline 883 optionalTitle: title 884 optionalBody: body { 885 value 886 links { 887 ...FrontpageRecordLink 888 ...PageRecordLink 889 ...CustomerCaseLink 890 } 891 } 892 formId 893 anchor { 894 ...AnchorLink 895 } 896 } 897`,eh=n` 898 fragment CtaCard on CtaCardRecord { 899 __typename 900 id 901 body { 902 value 903 } 904 image { 905 responsiveImage(imgixParams: { fm: webp }) { 906 ...ResponsiveImageFields 907 } 908 focalPoint { 909 ...FocalPoint 910 } 911 } 912 linkedPage { 913 ...PageRecordLink 914 ...FrontpageRecordLink 915 } 916 } 917`,ed=n` 918 fragment CtaCollection on CtaCollectionRecord { 919 __typename 920 id 921 cards { 922 ...CtaCard 923 } 924 } 925`,em=n` 926 fragment CtaGroup on CtaGroupRecord { 927 __typename 928 id 929 ctaCollection { 930 ...CtaCollection 931 } 932 } 933`,ef=n` 934 fragment TeamListing on TeamListingRecord { 935 __typename 936 id 937 tagline 938 location 939 leadText { 940 value 941 } 942 anchor { 943 ...AnchorLink 944 } 945 } 946`,ep=n` 947 fragment LogoList on LogoListRecord { 948 __typename 949 id 950 title 951 logos { 952 url 953 id 954 customData 955 responsiveImage(imgixParams: { fm: webp }) { 956 ...ResponsiveImageFields 957 } 958 } 959 } 960`,eg=n` 961 fragment Region on RegionRecord { 962 id 963 __typename 964 label 965 } 966`,ey=n` 967 fragment SolutionArea on SolutionAreaRecord { 968 id 969 __typename 970 label 971 } 972`,ev=n` 973 fragment CustomerCaseList on CustomerCaseListRecord { 974 __typename 975 id 976 title 977 blockAnchor { 978 ...AnchorLinkBlock 979 } 980 regions { 981 ...Region 982 } 983 solutionAreas { 984 ...SolutionArea 985 } 986 } 987`,ew=n` 988 fragment ArticleList on ArticleListRecord { 989 __typename 990 id 991 title 992 linkToAll { 993 ...InternalLink 994 ...AnchorLinkBlock 995 } 996 displayAll 997 showAllByDefault 998 blockAnchor { 999 ...AnchorLinkBlock 1000 } 1001 articleTypes { 1002 ...ArticleType 1003 } 1004 solutionAreas { 1005 ...SolutionArea 1006 } 1007 } 1008`,eb=n` 1009 fragment MediaKitItem on MediaKitItemRecord { 1010 __typename 1011 id 1012 image { 1013 url 1014 responsiveImage(imgixParams: { fm: webp }) { 1015 ...ResponsiveImageFields 1016 } 1017 } 1018 infoText(markdown: true) 1019 noDownloadButton 1020 } 1021`,ex=n` 1022 fragment MediaKitItemGroup on MediaKitItemGroupRecord { 1023 __typename 1024 id 1025 title 1026 images { 1027 id 1028 url 1029 title 1030 } 1031 } 1032`,eT=n` 1033 fragment MediaKitList on MediaKitListRecord { 1034 __typename 1035 id 1036 optionalTitle: title 1037 fourColumns 1038 items { 1039 ...MediaKitItem 1040 } 1041 groups { 1042 ...MediaKitItemGroup 1043 } 1044 } 1045`,e_=n` 1046 fragment Break on BreakRecord { 1047 __typename 1048 id 1049 } 1050`,eS=n` 1051 fragment Speaker on SpeakerRecord { 1052 __typename 1053 id 1054 title 1055 name 1056 image { 1057 responsiveImage( 1058 imgixParams: { fm: webp, w: 200, h: 200, fit: crop, ar: "1:1" } 1059 ) { 1060 ...ResponsiveImageFields 1061 } 1062 focalPoint { 1063 ...FocalPoint 1064 } 1065 } 1066 } 1067`,ek=n` 1068 fragment AgendaItem on AgendaItemRecord { 1069 __typename 1070 id 1071 time 1072 content { 1073 value 1074 blocks { 1075 ...Speaker 1076 } 1077 } 1078 } 1079`,eE=n` 1080 fragment Agenda on AgendaRecord { 1081 __typename 1082 id 1083 optTitle: title 1084 agendaItems { 1085 ...AgendaItem 1086 } 1087 } 1088`,eC=n` 1089 fragment TwoColumnSection on TwoColumnSectionRecord { 1090 id 1091 __typename 1092 columnOne { 1093 ...RichText 1094 ...HubspotForm 1095 } 1096 columnTwo { 1097 ...RichText 1098 ...HubspotForm 1099 } 1100 } 1101`,eP=n` 1102 fragment CtaHighlightDark on CtaHighlightDarkRecord { 1103 __typename 1104 id 1105 ctaHighlightDarkTagline: tagline 1106 title 1107 body { 1108 value 1109 links { 1110 ...PageRecordLink 1111 } 1112 } 1113 ctaHighlightDarkCta: cta { 1114 ...InternalLink 1115 ...ExternalLink 1116 ...AnchorLinkBlock 1117 } 1118 } 1119`,e$=n` 1120 fragment HighlightBox on HighlightBoxRecord { 1121 __typename 1122 id 1123 tagline 1124 title 1125 body { 1126 value 1127 } 1128 cta { 1129 ...InternalLink 1130 ...ExternalLink 1131 ...AnchorLinkBlock 1132 } 1133 image { 1134 responsiveImage(imgixParams: { fm: webp }) { 1135 ...ResponsiveImageFields 1136 } 1137 focalPoint { 1138 ...FocalPoint 1139 } 1140 } 1141 } 1142`,eA=n` 1143 fragment TwoColumnSectionWideAndNarrow on TwoColumnSectionWideAndNarrowRecord { 1144 id 1145 __typename 1146 narrowColumn { 1147 ...HighlightBox 1148 } 1149 wideColumn { 1150 ...RichText 1151 } 1152 narrowFirst 1153 } 1154`,eL=n` 1155 fragment ImageSimple on ImageSimpleRecord { 1156 __typename 1157 id 1158 image { 1159 responsiveImage(imgixParams: { fm: webp }) { 1160 ...ResponsiveImageFields 1161 } 1162 focalPoint { 1163 ...FocalPoint 1164 } 1165 } 1166 cover 1167 } 1168`,eI=n` 1169 fragment Video on VideoRecord { 1170 __typename 1171 id 1172 video { 1173 ...VideoField 1174 } 1175 } 1176`,eO=n` 1177 fragment MediaWithText on MediaWithTextRecord { 1178 __typename 1179 id 1180 tagline 1181 title 1182 body { 1183 value 1184 } 1185 cta { 1186 ...InternalLink 1187 ...ExternalLink 1188 } 1189 media { 1190 ...ImageSimple 1191 ...Video 1192 } 1193 mediaFirst 1194 } 1195`,eM=n` 1196 fragment Event on EventRecord { 1197 __typename 1198 id 1199 title 1200 ...EventLink 1201 startDate 1202 endDate 1203 location 1204 eventType 1205 eventType 1206 timezone 1207 tags { 1208 ...Tag 1209 } 1210 _seoMetaTags { 1211 ...DatoSeoMetaTags 1212 } 1213 hero { 1214 ...PageHero 1215 } 1216 content { 1217 ...TextHighlight 1218 ...TextBlock 1219 ...RichText 1220 ...ImageHighlight 1221 ...ImageWithText 1222 ...IconListWithImage 1223 ...CtaHighlight 1224 ...Accordion 1225 ...Faq 1226 ...InfoCardGrid 1227 ...ResultBlock 1228 ...Stepper 1229 ...ChallengesAndSolutionsBlock 1230 ...TestimonialList 1231 ...MultipleLinksSection 1232 ...FeaturedPeopleBlock 1233 ...EventList 1234 ...ResourceCollection 1235 ...HubspotForm 1236 ...CtaGroup 1237 ...VideoEmbed 1238 ...TeamListing 1239 ...LogoList 1240 ...CustomerCaseList
1241 ...ArticleList 1242 ...MediaKitList 1243 ...Break 1244 ...Agenda 1245 ...TwoColumnSection 1246 ...CtaHighlightDark 1247 ...TwoColumnSectionWideAndNarrow 1248 ...MediaWithText 1249 ... on RecordInterface { 1250 __typename 1251 id 1252 } 1253 } 1254 } 1255`,eR=n` 1256 fragment FrontpageSitemapEntry on FrontpageRecord { 1257 _publishedAt 1258 ...FrontpageRecordLink 1259 } 1260`,ej=n` 1261 fragment PageSitemapEntry on PageRecord { 1262 _publishedAt 1263 ...PageRecordLink 1264 } 1265`,eD=n` 1266 fragment ArticleSitemapEntry on ArticleRecord { 1267 _publishedAt 1268 ...ArticleLink 1269 } 1270`,eN=n` 1271 fragment CustomerCaseSitemapEntry on CustomerCaseRecord { 1272 _publishedAt 1273 ...CustomerCaseLink 1274 } 1275`,eF=n` 1276 fragment EventSitemapEntry on EventRecord { 1277 _publishedAt 1278 ...EventLink 1279 } 1280`,eV=n` 1281 query ArticleList( 1282 $first: IntType! 1283 $skip: IntType! 1284 $locale: SiteLocale! 1285 $solutionAreas: [ItemId] 1286 $articleTypes: [ItemId] 1287 ) { 1288 allArticles( 1289 first: $first 1290 skip: $skip 1291 locale: $locale 1292 filter: { 1293 articleTypeRef: { in: $articleTypes } 1294 solutionAreas: { anyIn: $solutionAreas } 1295 _locales: { anyIn: [$locale] } 1296 } 1297 orderBy: [_firstPublishedAt_DESC] 1298 ) { 1299 ...ArticleCard 1300 } 1301 _allArticlesMeta( 1302 filter: { 1303 articleTypeRef: { in: $articleTypes } 1304 solutionAreas: { anyIn: $solutionAreas } 1305 _locales: { anyIn: [$locale] } 1306 } 1307 locale: $locale 1308 ) { 1309 count 1310 } 1311 } 1312 ${el} 1313 ${h} 1314 ${d} 1315 ${o} 1316 ${l} 1317 ${w} 1318 ${u} 1319 ${c} 1320 ${f} 1321 ${a} 1322 ${m} 1323 ${p} 1324 ${y} 1325 ${g} 1326 ${v} 1327 ${b} 1328`,eB=n` 1329 query CustomerCaseList( 1330 $first: IntType! 1331 $skip: IntType! 1332 $locale: SiteLocale! 1333 $regions: [ItemId] 1334 $solutionAreas: [ItemId] 1335 ) { 1336 allCustomerCases( 1337 first: $first 1338 skip: $skip 1339 locale: $locale 1340 filter: { 1341 _locales: { anyIn: [$locale] } 1342 regions: { anyIn: $regions } 1343 solutionAreas: { anyIn: $solutionAreas } 1344 } 1345 orderBy: [_firstPublishedAt_DESC] 1346 ) { 1347 ...CustomerCaseCard 1348 } 1349 _allCustomerCasesMeta( 1350 filter: { 1351 _locales: { anyIn: [$locale] } 1352 regions: { anyIn: $regions } 1353 solutionAreas: { anyIn: $solutionAreas } 1354 } 1355 locale: $locale 1356 ) { 1357 count 1358 } 1359 } 1360 ${x} 1361 ${a} 1362 ${o} 1363 ${l} 1364 ${w} 1365 ${u} 1366 ${c} 1367 ${f} 1368 ${d} 1369 ${h} 1370 ${m} 1371 ${p} 1372 ${y} 1373 ${g} 1374 ${v} 1375 ${b} 1376`,eq=n` 1377 query EventList( 1378 $first: IntType! 1379 $skip: IntType! 1380 $eventType: String 1381 $locale: SiteLocale! 1382 $now: DateTimeFilter 1383 ) { 1384 allEvents( 1385 first: $first 1386 skip: $skip 1387 locale: $locale 1388 filter: { 1389 _status: { eq: published } 1390 eventType: { eq: $eventType } 1391 _locales: { anyIn: [$locale] } 1392 startDate: $now 1393 } 1394 orderBy: [_firstPublishedAt_DESC] 1395 ) { 1396 ...EventCard 1397 } 1398 _allEventsMeta( 1399 locale: $locale 1400 filter: { 1401 _status: { eq: published } 1402 eventType: { eq: $eventType } 1403 _locales: { anyIn: [$locale] } 1404 startDate: $now 1405 } 1406 ) { 1407 count 1408 } 1409 } 1410 ${eo} 1411 ${m} 1412 ${o} 1413 ${l} 1414 ${w} 1415 ${u} 1416 ${c} 1417 ${f} 1418 ${a} 1419 ${d} 1420 ${h} 1421 ${p} 1422 ${y} 1423 ${g} 1424 ${v} 1425`;n` 1426 query SiteMeta { 1427 siteMeta: _site { 1428 favicon { 1429 url 1430 } 1431 } 1432 } 1433`,n` 1434 query TagsInCategory($categoryId: ItemId!) { 1435 allTags(filter: { categories: { anyIn: [$categoryId] } }) { 1436 id 1437 } 1438 } 1439`,n` 1440 query allStarianContacts( 1441 $locale: SiteLocale! 1442 $skip: IntType! 1443 $first: IntType! 1444 ) { 1445 records: allStarianContacts( 1446 locale: $locale 1447 orderBy: name_ASC 1448 filter: { _status: { eq: published } } 1449 skip: $skip 1450 first: $first 1451 ) { 1452 __typename 1453 id 1454 name 1455 title 1456 location 1457 phone 1458 linkedin 1459 image { 1460 responsiveImage(imgixParams: { fm: webp }) { 1461 ...ResponsiveImageFields 1462 } 1463 focalPoint { 1464 ...FocalPoint 1465 } 1466 } 1467 bookMeetingLink 1468 } 1469 meta: _allStarianContactsMeta(filter: { _status: { eq: published } }) { 1470 count 1471 } 1472 } 1473 ${o} 1474 ${l} 1475`,n`
1476 query Article($slug: String!, $locale: SiteLocale!) { 1477 article(filter: { slug: { eq: $slug } }, locale: $locale) { 1478 __typename 1479 id 1480 title 1481 _publishedAt 1482 _updatedAt 1483 ...ArticleLink 1484 tags { 1485 ...Tag 1486 } 1487 author { 1488 ...Expert 1489 ...StarianContact 1490 } 1491 _seoMetaTags { 1492 ...DatoSeoMetaTags 1493 } 1494 hero { 1495 ...PageHero 1496 } 1497 content { 1498 ...ImageHighlight 1499 ...TextHighlight 1500 ...TextBlock 1501 ...ImageWithText 1502 ...CtaHighlight 1503 ...Accordion 1504 ...Faq 1505 ...InfoCardGrid 1506 ...ResultBlock 1507 ...IconListWithImage 1508 ...Stepper 1509 ...ChallengesAndSolutionsBlock 1510 ...TestimonialList 1511 ...MultipleLinksSection 1512 ...RichText 1513 ...FeaturedPeopleBlock 1514 ...ArticleList 1515 ...ResourceCollection 1516 ...HubspotForm 1517 ...CtaGroup 1518 ...TeamListing 1519 ...LogoList 1520 ...CustomerCaseList 1521 ...EventList 1522 ...MediaKitList 1523 ...VideoEmbed 1524 ...ServiceBlock 1525 ...Break 1526 ...TwoColumnSection 1527 ...CtaHighlightDark 1528 ...TwoColumnSectionWideAndNarrow 1529 ...MediaWithText 1530 ... on RecordInterface { 1531 __typename 1532 id 1533 } 1534 } 1535 } 1536 } 1537 ${d} 1538 ${h} 1539 ${b} 1540 ${en} 1541 ${o} 1542 ${l} 1543 ${ei} 1544 ${$} 1545 ${w} 1546 ${u} 1547 ${c} 1548 ${f} 1549 ${a} 1550 ${m} 1551 ${p} 1552 ${y} 1553 ${g} 1554 ${v} 1555 ${D} 1556 ${A} 1557 ${L} 1558 ${N} 1559 ${q} 1560 ${W} 1561 ${U} 1562 ${H} 1563 ${G} 1564 ${z} 1565 ${Y} 1566 ${Z} 1567 ${B} 1568 ${V} 1569 ${F} 1570 ${K} 1571 ${Q} 1572 ${X} 1573 ${J} 1574 ${et} 1575 ${ee} 1576 ${er} 1577 ${j} 1578 ${I} 1579 ${M} 1580 ${O} 1581 ${R} 1582 ${es} 1583 ${ew} 1584 ${ey} 1585 ${eu} 1586 ${eo} 1587 ${el} 1588 ${ec} 1589 ${em} 1590 ${ed} 1591 ${eh} 1592 ${ef} 1593 ${ep} 1594 ${ev} 1595 ${eg} 1596 ${ea} 1597 ${eT} 1598 ${eb} 1599 ${ex} 1600 ${C} 1601 ${E} 1602 ${k} 1603 ${e_} 1604 ${eC} 1605 ${eP} 1606 ${eA} 1607 ${e$} 1608 ${eO} 1609 ${eL} 1610 ${eI} 1611`,n` 1612 query CustomerCase($slug: String!, $locale: SiteLocale!) { 1613 customerCase(filter: { slug: { eq: $slug } }, locale: $locale) { 1614 __typename 1615 id 1616 title 1617 customer 1618 ...CustomerCaseLink 1619 tags { 1620 ...Tag 1621 } 1622 _seoMetaTags { 1623 ...DatoSeoMetaTags 1624 } 1625 hero { 1626 ...PageHero 1627 } 1628 content { 1629 ...ImageHighlight 1630 ...TextHighlight 1631 ...TextBlock 1632 ...ImageWithText 1633 ...CtaHighlight 1634 ...Accordion 1635 ...Faq 1636 ...InfoCardGrid 1637 ...ResultBlock 1638 ...ServiceBlock 1639 ...IconListWithImage 1640 ...Stepper 1641 ...ChallengesAndSolutionsBlock 1642 ...TestimonialList 1643 ...MultipleLinksSection 1644 ...RichText 1645 ...CtaGroup 1646 ...LogoList 1647 ...FeaturedPeopleBlock 1648 ...ResourceCollection 1649 ...HubspotForm 1650 ...VideoEmbed 1651 ...TeamListing 1652 ...EventList
1653 ...ArticleList 1654 ...CustomerCaseList 1655 ...MediaKitList 1656 ...Break 1657 ...TwoColumnSection 1658 ...CtaHighlightDark 1659 ...TwoColumnSectionWideAndNarrow 1660 ...MediaWithText 1661 ... on RecordInterface { 1662 __typename 1663 id 1664 } 1665 } 1666 } 1667 } 1668 ${a} 1669 ${b} 1670 ${$} 1671 ${w} 1672 ${u} 1673 ${c} 1674 ${o} 1675 ${l} 1676 ${f} 1677 ${d} 1678 ${h} 1679 ${m} 1680 ${p} 1681 ${y} 1682 ${g} 1683 ${v} 1684 ${D} 1685 ${A} 1686 ${L} 1687 ${N} 1688 ${q} 1689 ${W} 1690 ${U} 1691 ${H} 1692 ${G} 1693 ${z} 1694 ${Y} 1695 ${Z} 1696 ${C} 1697 ${E} 1698 ${k} 1699 ${B} 1700 ${V} 1701 ${F} 1702 ${K} 1703 ${Q} 1704 ${X} 1705 ${J} 1706 ${et} 1707 ${ee} 1708 ${er} 1709 ${j} 1710 ${I} 1711 ${M} 1712 ${O} 1713 ${R} 1714 ${em} 1715 ${ed} 1716 ${eh} 1717 ${ep} 1718 ${es} 1719 ${ei} 1720 ${en} 1721 ${eu} 1722 ${eo} 1723 ${el} 1724 ${ec} 1725 ${ef} 1726 ${ea} 1727 ${ew} 1728 ${ey} 1729 ${ev} 1730 ${eg} 1731 ${eT} 1732 ${eb} 1733 ${ex} 1734 ${e_} 1735 ${eC} 1736 ${eP} 1737 ${eA} 1738 ${e$} 1739 ${eO} 1740 ${eL} 1741 ${eI} 1742`,n` 1743 query ErrorPage($locale: SiteLocale!) { 1744 errorPage(locale: $locale) { 1745 __typename 1746 id 1747 hero { 1748 ...PageHero 1749 } 1750 content { 1751 ...CtaGroup 1752 } 1753 } 1754 } 1755 ${w} 1756 ${u} 1757 ${c} 1758 ${o} 1759 ${l} 1760 ${f} 1761 ${a} 1762 ${d} 1763 ${h} 1764 ${m} 1765 ${p} 1766 ${y} 1767 ${g} 1768 ${v} 1769 ${em} 1770 ${ed} 1771 ${eh} 1772`,n` 1773 query Event($slug: String!, $locale: SiteLocale!) { 1774 event(filter: { slug: { eq: $slug } }, locale: $locale) { 1775 ...Event 1776 } 1777 } 1778 ${eM} 1779 ${m} 1780 ${b} 1781 ${$} 1782 ${w} 1783 ${u} 1784 ${c} 1785 ${o} 1786 ${l} 1787 ${f} 1788 ${a} 1789 ${d} 1790 ${h} 1791 ${p} 1792 ${y} 1793 ${g} 1794 ${v} 1795 ${A} 1796 ${L} 1797 ${j} 1798 ${I} 1799 ${M} 1800 ${O} 1801 ${R} 1802 ${D} 1803 ${N} 1804 ${B} 1805 ${V} 1806 ${F} 1807 ${q} 1808 ${W} 1809 ${U} 1810 ${H} 1811 ${G} 1812 ${z} 1813 ${Y} 1814 ${Z} 1815 ${K} 1816 ${Q} 1817 ${X} 1818 ${J} 1819 ${et} 1820 ${ee} 1821 ${er} 1822 ${es} 1823 ${ei} 1824 ${en} 1825 ${ea} 1826 ${eu} 1827 ${eo} 1828 ${el} 1829 ${ec} 1830 ${em} 1831 ${ed} 1832 ${eh} 1833 ${ef} 1834 ${ep} 1835 ${ev} 1836 ${eg} 1837 ${ey} 1838 ${ew} 1839 ${eT} 1840 ${eb} 1841 ${ex} 1842 ${e_} 1843 ${eE} 1844 ${ek} 1845 ${eS} 1846 ${eC} 1847 ${eP} 1848 ${eA} 1849 ${e$} 1850 ${eO} 1851 ${eL} 1852 ${eI} 1853`,n` 1854 query Footer($locale: SiteLocale!) { 1855 footer(locale: $locale) { 1856 __typename 1857 id 1858 title 1859 linkSections { 1860 id 1861 title 1862 links { 1863 ...ExternalLink 1864 ...InternalLink 1865 } 1866 } 1867 copyright 1868 legalLinks { 1869 ...ExternalLink 1870 ...InternalLink 1871 } 1872 subscribeForm { 1873 ...HubspotForm 1874 } 1875 } 1876 } 1877 ${p} 1878 ${f} 1879 ${u} 1880 ${c} 1881 ${a} 1882 ${d} 1883 ${h} 1884 ${m} 1885 ${ec} 1886 ${g} 1887`,n` 1888 query FrontPage($locale: SiteLocale!) { 1889 frontpage(locale: $locale) { 1890 ...FrontpageRecordLink 1891 _seoMetaTags { 1892 ...DatoSeoMetaTags 1893 } 1894 hero { 1895 ...FrontPageHero 1896 } 1897 content { 1898 ...TextHighlight 1899 ...TextBlock 1900 ...ImageHighlight 1901 ...ImageWithText 1902 ...CtaHighlight 1903 ...Accordion 1904 ...Faq 1905 ...InfoCardGrid 1906 ...ResultBlock 1907 ...ServiceBlock 1908 ...IconListWithImage 1909 ...Stepper 1910 ...ChallengesAndSolutionsBlock 1911 ...TestimonialList 1912 ...MultipleLinksSection 1913 ...CtaGroup 1914 ...LogoList 1915 ...FeaturedPeopleBlock 1916 ...EventList 1917 ...HubspotForm
1918 ...ArticleList 1919 ...TeamListing 1920 ...RichText 1921 ...CustomerCaseList 1922 ...ResourceCollection 1923 ...MediaKitList 1924 ...VideoEmbed 1925 ...Break 1926 ...TwoColumnSection 1927 ...CtaHighlightDark 1928 ...TwoColumnSectionWideAndNarrow 1929 ...MediaWithText 1930 ... on RecordInterface { 1931 __typename 1932 id 1933 } 1934 } 1935 } 1936 } 1937 ${u} 1938 ${$} 1939 ${P} 1940 ${o} 1941 ${l} 1942 ${f} 1943 ${c} 1944 ${a} 1945 ${d} 1946 ${h} 1947 ${m} 1948 ${p} 1949 ${y} 1950 ${g} 1951 ${v} 1952 ${A} 1953 ${L} 1954 ${D} 1955 ${N} 1956 ${q} 1957 ${W} 1958 ${U} 1959 ${H} 1960 ${G} 1961 ${z} 1962 ${Y} 1963 ${Z} 1964 ${C} 1965 ${E} 1966 ${k} 1967 ${B} 1968 ${V} 1969 ${F} 1970 ${K} 1971 ${Q} 1972 ${X} 1973 ${J} 1974 ${et} 1975 ${ee} 1976 ${er} 1977 ${em} 1978 ${ed} 1979 ${eh} 1980 ${ep} 1981 ${es} 1982 ${ei} 1983 ${en} 1984 ${ea} 1985 ${ec} 1986 ${ew} 1987 ${ey} 1988 ${ef} 1989 ${j} 1990 ${I} 1991 ${M} 1992 ${O} 1993 ${R} 1994 ${ev} 1995 ${eg} 1996 ${eu} 1997 ${eo} 1998 ${w} 1999 ${el} 2000 ${b} 2001 ${eT} 2002 ${eb} 2003 ${ex} 2004 ${e_} 2005 ${eC} 2006 ${eP} 2007 ${eA} 2008 ${e$} 2009 ${eO} 2010 ${eL} 2011 ${eI} 2012`,n` 2013 query Global { 2014 global { 2015 logo { 2016 url 2017 } 2018 logoLight { 2019 url 2020 } 2021 facebookUrl 2022 instagramUrl 2023 xUrl 2024 linkedinUrl 2025 } 2026 } 2027`,n` 2028 query Navigation($locale: SiteLocale!) { 2029 navigation(locale: $locale) { 2030 __typename 2031 id 2032 linkGroup { 2033 ...NavigationGroup 2034 } 2035 primaryLink { 2036 ...InternalLink 2037 } 2038 } 2039 } 2040 ${S} 2041 ${f} 2042 ${u} 2043 ${c} 2044 ${a} 2045 ${d} 2046 ${h} 2047 ${m} 2048 ${_} 2049 ${T} 2050`,n` 2051 query Page($slug: String!, $locale: SiteLocale!) { 2052 page( 2053 filter: { slug: { eq: $slug }, _locales: { anyIn: [$locale] } } 2054 locale: $locale 2055 ) { 2056 __typename 2057 id 2058 _seoMetaTags { 2059 ...DatoSeoMetaTags 2060 } 2061 ...PageRecordLink 2062 hero { 2063 ...PageHero 2064 } 2065 content { 2066 ...ImageHighlight 2067 ...TextHighlight 2068 ...TextBlock 2069 ...ImageWithText 2070 ...CtaHighlight 2071 ...Accordion 2072 ...Faq 2073 ...InfoCardGrid 2074 ...ResultBlock 2075 ...ServiceBlock 2076 ...IconListWithImage 2077 ...Stepper 2078 ...ChallengesAndSolutionsBlock 2079 ...TestimonialList 2080 ...TeamListing 2081 ...MultipleLinksSection 2082 ...RichText 2083 ...CtaGroup 2084 ...LogoList 2085 ...FeaturedPeopleBlock 2086 ...EventList 2087 ...CustomerCaseList
2088 ...ArticleList 2089 ...ResourceCollection 2090 ...HubspotForm 2091 ...MediaKitList 2092 ...VideoEmbed 2093 ...Cookiebot 2094 ...Break 2095 ...TwoColumnSection 2096 ...TwoColumnSectionWideAndNarrow 2097 ...CtaHighlightDark 2098 ...TwoColumnSectionWideAndNarrow 2099 ...MediaWithText 2100 ... on RecordInterface { 2101 __typename 2102 id 2103 } 2104 } 2105 } 2106 } 2107 ${$} 2108 ${c} 2109 ${w} 2110 ${u} 2111 ${o} 2112 ${l} 2113 ${f} 2114 ${a} 2115 ${d} 2116 ${h} 2117 ${m} 2118 ${p} 2119 ${y} 2120 ${g} 2121 ${v} 2122 ${D} 2123 ${A} 2124 ${L} 2125 ${N} 2126 ${q} 2127 ${W} 2128 ${U} 2129 ${H} 2130 ${G} 2131 ${z} 2132 ${Y} 2133 ${Z} 2134 ${C} 2135 ${E} 2136 ${k} 2137 ${B} 2138 ${V} 2139 ${F} 2140 ${K} 2141 ${Q} 2142 ${X} 2143 ${J} 2144 ${et} 2145 ${ee} 2146 ${ef} 2147 ${er} 2148 ${j} 2149 ${I} 2150 ${M} 2151 ${O} 2152 ${R} 2153 ${em} 2154 ${ed} 2155 ${eh} 2156 ${ep} 2157 ${es} 2158 ${ei} 2159 ${en} 2160 ${ea} 2161 ${ev} 2162 ${eg} 2163 ${ey} 2164 ${ew} 2165 ${eu} 2166 ${eo} 2167 ${el} 2168 ${b} 2169 ${ec} 2170 ${eT} 2171 ${eb} 2172 ${ex} 2173 ${s} 2174 ${e_} 2175 ${eC} 2176 ${eA} 2177 ${e$} 2178 ${eP} 2179 ${eO} 2180 ${eL} 2181 ${eI} 2182`,n` 2183 query SearchPage($locale: SiteLocale!) { 2184 searchPage(locale: $locale) { 2185 __typename 2186 id 2187 hero { 2188 ...PageHero 2189 } 2190 } 2191 } 2192 ${w} 2193 ${u} 2194 ${c} 2195 ${o} 2196 ${l} 2197 ${f} 2198 ${a} 2199 ${d} 2200 ${h} 2201 ${m} 2202 ${p} 2203 ${y} 2204 ${g} 2205 ${v} 2206`,n` 2207 query frontpageSitemap($locale: SiteLocale!) { 2208 frontpage(locale: $locale) { 2209 ...FrontpageSitemapEntry 2210 } 2211 } 2212 ${eR} 2213 ${u} 2214`,n` 2215 query AllPagesSitemap( 2216 $skip: IntType! 2217 $first: IntType! 2218 $locale: SiteLocale! 2219 ) { 2220 records: allPages( 2221 skip: $skip 2222 first: $first 2223 filter: { _status: { eq: published }, _locales: { anyIn: [$locale] } } 2224 locale: $locale 2225 ) { 2226 ...PageSitemapEntry 2227 } 2228 meta: _allPagesMeta( 2229 filter: { _status: { eq: published }, _locales: { anyIn: [$locale] } } 2230 locale: $locale 2231 ) { 2232 count 2233 } 2234 } 2235 ${ej} 2236 ${c} 2237`,n` 2238 query allArticlesSitemap( 2239 $skip: IntType! 2240 $first: IntType! 2241 $locale: SiteLocale! 2242 ) { 2243 records: allArticles( 2244 skip: $skip 2245 first: $first 2246 filter: { _status: { eq: published }, _locales: { anyIn: [$locale] } } 2247 locale: $locale 2248 ) { 2249 ...ArticleSitemapEntry 2250 } 2251 meta: _allArticlesMeta( 2252 filter: { _status: { eq: published }, _locales: { anyIn: [$locale] } } 2253 locale: $locale 2254 ) { 2255 count 2256 } 2257 } 2258 ${eD} 2259 ${d} 2260 ${h} 2261`,n` 2262 query allCustomerCasesSitemap( 2263 $skip: IntType! 2264 $first: IntType! 2265 $locale: SiteLocale! 2266 ) { 2267 records: allCustomerCases( 2268 skip: $skip 2269 first: $first 2270 filter: { _status: { eq: published }, _locales: { anyIn: [$locale] } } 2271 locale: $locale 2272 ) { 2273 ...CustomerCaseSitemapEntry 2274 } 2275 meta: _allCustomerCasesMeta( 2276 filter: { _status: { eq: published }, _locales: { anyIn: [$locale] } } 2277 locale: $locale 2278 ) { 2279 count 2280 } 2281 } 2282 ${eN} 2283 ${a} 2284`,n` 2285 query allEventsSitemap( 2286 $skip: IntType! 2287 $first: IntType! 2288 $locale: SiteLocale! 2289 ) { 2290 records: allEvents( 2291 skip: $skip 2292 first: $first 2293 filter: { _status: { eq: published }, _locales: { anyIn: [$locale] } } 2294 locale: $locale 2295 ) { 2296 ...EventSitemapEntry 2297 } 2298 meta: _allEventsMeta( 2299 filter: { _status: { eq: published }, _locales: { anyIn: [$locale] } } 2300 locale: $locale 2301 ) { 2302 count 2303 } 2304 } 2305 ${eF} 2306 ${m} 2307`,n` 2308 query StarianContact($locale: SiteLocale!) { 2309 starianContact(locale: $locale) { 2310 __typename 2311 id 2312 name 2313 title 2314 location 2315 phone 2316 linkedin 2317 image { 2318 responsiveImage(imgixParams: { fm: webp }) { 2319 ...ResponsiveImageFields 2320 } 2321 focalPoint { 2322 ...FocalPoint 2323 } 2324 } 2325 bookMeetingLink 2326 } 2327 } 2328 ${o} 2329 ${l} 2330`;var eU=e.i(62560);function eW({value:e,release:t,delay:r=300}){let[i,n]=(0,eU.useState)("hold");if((0,eU.useEffect)(()=>{t||"release"!==i||n("hold"),"hold"===i&&t&&setTimeout(()=>{n("release")},r)},[r,i,e,t]),"hold"!==i)return e}class eH extends Error{}class ez extends eH{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}}class eG extends eH{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}}class eZ extends eH{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}}class eY extends eH{}class eK extends eH{constructor(e){super(`Invalid unit ${e}`)}}class eJ extends eH{}class eX extends eH{constructor(){super("Zone is an abstract class")}}
2330let eQ="numeric",e0="short",e1="long",e2={year:eQ,month:eQ,day:eQ},e6={year:eQ,month:e0,day:eQ},e3={year:eQ,month:e0,day:eQ,weekday:e0},e5={year:eQ,month:e1,day:eQ},e4={year:eQ,month:e1,day:eQ,weekday:e1},e8={hour:eQ,minute:eQ},e7={hour:eQ,minute:eQ,second:eQ},e9={hour:eQ,minute:eQ,second:eQ,timeZoneName:e0},te={hour:eQ,minute:eQ,second:eQ,timeZoneName:e1},tt={hour:eQ,minute:eQ,hourCycle:"h23"},tr={hour:eQ,minute:eQ,second:eQ,hourCycle:"h23"},ti={hour:eQ,minute:eQ,second:eQ,hourCycle:"h23",timeZoneName:e0},tn={hour:eQ,minute:eQ,second:eQ,hourCycle:"h23",timeZoneName:e1},ts={year:eQ,month:eQ,day:eQ,hour:eQ,minute:eQ},ta={year:eQ,month:eQ,day:eQ,hour:eQ,minute:eQ,second:eQ},to={year:eQ,month:e0,day:eQ,hour:eQ,minute:eQ},tl={year:eQ,month:e0,day:eQ,hour:eQ,minute:eQ,second:eQ},tu={year:eQ,month:e0,day:eQ,weekday:e0,hour:eQ,minute:eQ},tc={year:eQ,month:e1,day:eQ,hour:eQ,minute:eQ,timeZoneName:e0},th={year:eQ,month:e1,day:eQ,hour:eQ,minute:eQ,second:eQ,timeZoneName:e0},td={year:eQ,month:e1,day:eQ,weekday:e1,hour:eQ,minute:eQ,timeZoneName:e1},tm={year:eQ,month:e1,day:eQ,weekday:e1,hour:eQ,minute:eQ,second:eQ,timeZoneName:e1};class tf{get type(){throw new eX}get name(){throw new eX}get ianaName(){return this.name}get isUniversal(){throw new eX}offsetName(e,t){throw new eX}formatOffset(e,t){throw new eX}offset(e){throw new eX}equals(e){throw new eX}get isValid(){throw new eX}}let tp=null;class tg extends tf{static get instance(){return null===tp&&(tp=new tg),tp}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return rk(e,t,r)}formatOffset(e,t){return r$(this.offset(e),t)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return"system"===e.type}get isValid(){return!0}}let ty=new Map,tv={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6},tw=new Map;class tb extends tf{static create(e){let t=tw.get(e);return void 0===t&&tw.set(e,t=new tb(e)),t}static resetCache(){tw.clear(),ty.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch(e){return!1}}constructor(e){super(),this.zoneName=e,this.valid=tb.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:t,locale:r}){return rk(e,t,r,this.name)}formatOffset(e,t){return r$(this.offset(e),t)}offset(e){var t;let r;if(!this.valid)return NaN;let i=new Date(e);if(isNaN(i))return NaN;let n=(t=this.name,void 0===(r=ty.get(t))&&(r=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),ty.set(t,r)),r),[s,a,o,l,u,c,h]=n.formatToParts?function(e,t){let r=e.formatToParts(t),i=[];for(let e=0;e<r.length;e++){let{type:t,value:n}=r[e],s=tv[t];"era"===t?i[s]=n:rn(s)||(i[s]=parseInt(n,10))}return i}(n,i):function(e,t){let r=e.format(t).replace(/\u200E/g,""),[,i,n,s,a,o,l,u]=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r);return[s,i,n,a,o,l,u]}(n,i);"BC"===l&&(s=-Math.abs(s)+1);let d=rx({year:s,month:a,day:o,hour:24===u?0:u,minute:c,second:h,millisecond:0}),m=+i,f=m%1e3;return(d-(m-=f>=0?f:1e3+f))/6e4}equals(e){return"iana"===e.type&&e.name===this.name}get isValid(){return this.valid}}let tx={},tT=new Map;function t_(e,t={}){let r=JSON.stringify([e,t]),i=tT.get(r);return void 0===i&&(i=new Intl.DateTimeFormat(e,t),tT.set(r,i)),i}let tS=new Map,tk=new Map,tE=null,tC=new Map;function tP(e){let t=tC.get(e);return void 0===t&&(t=new Intl.DateTimeFormat(e).resolvedOptions(),tC.set(e,t)),t}let t$=new Map;
2330function tA(e,t,r,i){let n=e.listingMode();return"error"===n?null:"en"===n?r(t):i(t)}class tL{constructor(e,t,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:i,floor:n,...s}=r;if(!t||Object.keys(s).length>0){const t={useGrouping:!1,...r};r.padTo>0&&(t.minimumIntegerDigits=r.padTo),this.inf=function(e,t={}){let r=JSON.stringify([e,t]),i=tS.get(r);return void 0===i&&(i=new Intl.NumberFormat(e,t),tS.set(r,i)),i}(e,t)}}format(e){if(!this.inf)return rm(this.floor?Math.floor(e):ry(e,3),this.padTo);{let t=this.floor?Math.floor(e):e;return this.inf.format(t)}}}class tI{constructor(e,t,r){let i;if(this.opts=r,this.originalZone=void 0,this.opts.timeZone)this.dt=e;else if("fixed"===e.zone.type){const t=-1*(e.offset/60),r=t>=0?`Etc/GMT+${t}`:`Etc/GMT${t}`;0!==e.offset&&tb.create(r).valid?(i=r,this.dt=e):(i="UTC",this.dt=0===e.offset?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else"system"===e.zone.type?this.dt=e:"iana"===e.zone.type?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);const n={...this.opts};n.timeZone=n.timeZone||i,this.dtf=t_(t,n)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(e=>{if("timeZoneName"!==e.type)return e;{let t=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...e,value:t}}}):e}resolvedOptions(){return this.dtf.resolvedOptions()}}class tO{constructor(e,t,r){this.opts={style:"long",...r},!t&&ro()&&(this.rtf=function(e,t={}){let{base:r,...i}=t,n=JSON.stringify([e,i]),s=tk.get(n);return void 0===s&&(s=new Intl.RelativeTimeFormat(e,t),tk.set(n,s)),s}(e,r))}format(e,t){return this.rtf?this.rtf.format(e,t):function(e,t,r="always",i=!1){let n={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=-1===["hours","minutes","seconds"].indexOf(e);if("auto"===r&&s){let r="days"===e;switch(t){case 1:return r?"tomorrow":`next ${n[e][0]}`;case -1:return r?"yesterday":`last ${n[e][0]}`;case 0:return r?"today":`this ${n[e][0]}`}}let a=Object.is(t,-0)||t<0,o=Math.abs(t),l=1===o,u=n[e],c=i?l?u[1]:u[2]||u[1]:l?n[e][0]:e;return a?`${o} ${c} ago`:`in ${o} ${c}`}(t,e,this.opts.numeric,"long"!==this.opts.style)}formatToParts(e,t){return this.rtf?this.rtf.formatToParts(e,t):[]}}let tM={firstDay:1,minimalDays:4,weekend:[6,7]};class tR{static fromOpts(e){return tR.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,t,r,i,n=!1){let s=e||tQ.defaultLocale;return new tR(s||(n?"en-US":tE||(tE=new Intl.DateTimeFormat().resolvedOptions().locale)),t||tQ.defaultNumberingSystem,r||tQ.defaultOutputCalendar,rh(i)||tQ.defaultWeekSettings,s)}static resetCache(){tE=null,tT.clear(),tS.clear(),tk.clear(),tC.clear(),t$.clear()}static fromObject({locale:e,numberingSystem:t,outputCalendar:r,weekSettings:i}={}){return tR.create(e,t,r,i)}constructor(e,t,r,i,n){const[s,a,o]=function(e){let t=e.indexOf("-x-");-1!==t&&(e=e.substring(0,t));let r=e.indexOf("-u-");if(-1===r)return[e];{let t,i;try{t=t_(e).resolvedOptions(),i=e}catch(s){let n=e.substring(0,r);t=t_(n).resolvedOptions(),i=n}let{numberingSystem:n,calendar:s}=t;return[i,n,s]}}(e);this.locale=s,this.numberingSystem=t||a||null,this.outputCalendar=r||o||null,this.weekSettings=i,this.intl=function(e,t,r){return(r||t)&&(e.includes("-u-")||(e+="-u"),r&&(e+=`-ca-${r}`),t&&(e+=`-nu-${t}`)),e}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=n,this.fastNumbersCached=null}get fastNumbers(){return null==this.fastNumbersCached&&(this.fastNumbersCached=(!this.numberingSystem||"latn"===this.numberingSystem)&&("latn"===this.numberingSystem||!this.locale||this.locale.startsWith("en")||"latn"===tP(this.locale).numberingSystem)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),t=(null===this.numberingSystem||"latn"===this.numberingSystem)&&(null===this.outputCalendar||"gregory"===this.outputCalendar);return e&&t?"en":"intl"}clone(e){return e&&0!==Object.getOwnPropertyNames(e).length?tR.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,rh(e.weekSettings)||this.weekSettings,e.defaultToEN||!1):this}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,t=!1){return tA(this,e,rM,()=>{let r="ja"===this.intl||this.intl.startsWith("ja-"),i=(t&=!r)?{month:e,day:"numeric"}:{month:e},n=t?"format":"standalone";if(!this.monthsCache[n][e]){let t=r?e=>
2330this.dtFormatter(e,i).format():e=>this.extract(e,i,"month");this.monthsCache[n][e]=function(e){let t=[];for(let r=1;r<=12;r++){let i=ny.utc(2009,r,1);t.push(e(i))}return t}(t)}return this.monthsCache[n][e]})}weekdays(e,t=!1){return tA(this,e,rN,()=>{let r=t?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=t?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=function(e){let t=[];for(let r=1;r<=7;r++){let i=ny.utc(2016,11,13+r);t.push(e(i))}return t}(e=>this.extract(e,r,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return tA(this,void 0,()=>rF,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[ny.utc(2016,11,13,9),ny.utc(2016,11,13,19)].map(t=>this.extract(t,e,"dayperiod"))}return this.meridiemCache})}eras(e){return tA(this,e,rU,()=>{let t={era:e};return this.eraCache[e]||(this.eraCache[e]=[ny.utc(-40,1,1),ny.utc(2017,1,1)].map(e=>this.extract(e,t,"era"))),this.eraCache[e]})}extract(e,t,r){let i=this.dtFormatter(e,t).formatToParts().find(e=>e.type.toLowerCase()===r);return i?i.value:null}numberFormatter(e={}){return new tL(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,t={}){return new tI(e,this.intl,t)}relFormatter(e={}){return new tO(this.intl,this.isEnglish(),e)}listFormatter(e={}){return function(e,t={}){let r=JSON.stringify([e,t]),i=tx[r];return i||(i=new Intl.ListFormat(e,t),tx[r]=i),i}(this.intl,e)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||tP(this.intl).locale.startsWith("en-us")}getWeekSettings(){if(this.weekSettings)return this.weekSettings;if(!rl())return tM;var e=this.locale;let t=t$.get(e);if(!t){let r=new Intl.Locale(e);"minimalDays"in(t="getWeekInfo"in r?r.getWeekInfo():r.weekInfo)||(t={...tM,...t}),t$.set(e,t)}return t}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let tj=null;class tD extends tf{static get utcInstance(){return null===tj&&(tj=new tD(0)),tj}static instance(e){return 0===e?tD.utcInstance:new tD(e)}static parseSpecifier(e){if(e){let t=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(t)return new tD(rE(t[1],t[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${r$(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${r$(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,t){return r$(this.fixed,t)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return"fixed"===e.type&&e.fixed===this.fixed}get isValid(){return!0}}class tN extends tf{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function tF(e,t){if(rn(e)||null===e)return t;if(e instanceof tf)return e;if("string"==typeof e){let r=e.toLowerCase();return"default"===r?t:"local"===r||"system"===r?tg.instance:"utc"===r||"gmt"===r?tD.utcInstance:tD.parseSpecifier(r)||tb.create(e)}if(rs(e))return tD.instance(e);if("object"==typeof e&&"offset"in e&&"function"==typeof e.offset)return e;else return new tN(e)}let tV={arab:"[Ù -Ù©]",arabext:"[Û°-Û¹]",bali:"[á-á]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[ï¼-ï¼]",gujr:"[૦-૯]",hanidec:"[ã|ä¸|äº|ä¸|å|äº|å
|ä¸|å
«|ä¹]",khmr:"[á -á©]",knda:"[೦-೯]",laoo:"[à»-à»]",limb:"[á¥-á¥]",mlym:"[൦-൯]",mong:"[á -á ]",mymr:"[á-á]",orya:"[à¦-à¯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[à¹-à¹]",tibt:"[༠-༩]",latn:"\\d"},tB={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},tq=tV.hanidec.replace(/[\[|\]]/g,"").split(""),tU=new Map;function tW({numberingSystem:e},t=""){let r=e||"latn",i=tU.get(r);void 0===i&&(i=new Map,tU.set(r,i));let n=i.get(t);return void 0===n&&(n=RegExp(`${tV[r]}${t}`),i.set(t,n)),n}let tH=()=>Date.now(),tz="system",tG=null,tZ=null,tY=null,tK=60,tJ,tX=null;class tQ{static get now(){return tH}static set now(e){tH=e}static set defaultZone(e){tz=e}static get defaultZone(){return tF(tz,tg.instance)}static get defaultLocale(){return tG}static set defaultLocale(e){tG=e}static get defaultNumberingSystem(){return tZ}static set defaultNumberingSystem(e){tZ=e}
2330static get defaultOutputCalendar(){return tY}static set defaultOutputCalendar(e){tY=e}static get defaultWeekSettings(){return tX}static set defaultWeekSettings(e){tX=rh(e)}static get twoDigitCutoffYear(){return tK}static set twoDigitCutoffYear(e){tK=e%100}static get throwOnInvalid(){return tJ}static set throwOnInvalid(e){tJ=e}static resetCaches(){tR.resetCache(),tb.resetCache(),ny.resetCache(),tU.clear()}}class t0{constructor(e,t){this.reason=e,this.explanation=t}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}let t1=[0,31,59,90,120,151,181,212,243,273,304,334],t2=[0,31,60,91,121,152,182,213,244,274,305,335];function t6(e,t){return new t0("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function t3(e,t,r){let i=new Date(Date.UTC(e,t-1,r));e<100&&e>=0&&i.setUTCFullYear(i.getUTCFullYear()-1900);let n=i.getUTCDay();return 0===n?7:n}function t5(e,t){let r=rv(e)?t2:t1,i=r.findIndex(e=>e<t),n=t-r[i];return{month:i+1,day:n}}function t4(e,t){return(e-t+7)%7+1}function t8(e,t=4,r=1){let{year:i,month:n,day:s}=e,a=s+(rv(i)?t2:t1)[n-1],o=t4(t3(i,n,s),r),l=Math.floor((a-o+14-t)/7),u;return l<1?l=r_(u=i-1,t,r):l>r_(i,t,r)?(u=i+1,l=1):u=i,{weekYear:u,weekNumber:l,weekday:o,...rA(e)}}function t7(e,t=4,r=1){let{weekYear:i,weekNumber:n,weekday:s}=e,a=t4(t3(i,1,t),r),o=rw(i),l=7*n+s-a-7+t,u;l<1?l+=rw(u=i-1):l>o?(u=i+1,l-=rw(i)):u=i;let{month:c,day:h}=t5(u,l);return{year:u,month:c,day:h,...rA(e)}}function t9(e){let{year:t,month:r,day:i}=e,n=i+(rv(t)?t2:t1)[r-1];return{year:t,ordinal:n,...rA(e)}}function re(e){let{year:t,ordinal:r}=e,{month:i,day:n}=t5(t,r);return{year:t,month:i,day:n,...rA(e)}}function rt(e,t){if(!(!rn(e.localWeekday)||!rn(e.localWeekNumber)||!rn(e.localWeekYear)))return{minDaysInFirstWeek:4,startOfWeek:1};if(!rn(e.weekday)||!rn(e.weekNumber)||!rn(e.weekYear))throw new eY("Cannot mix locale-based week fields with ISO-based week fields");return rn(e.localWeekday)||(e.weekday=e.localWeekday),rn(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),rn(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}function rr(e){let t=ra(e.year),r=rd(e.month,1,12),i=rd(e.day,1,rb(e.year,e.month));return t?r?!i&&t6("day",e.day):t6("month",e.month):t6("year",e.year)}function ri(e){let{hour:t,minute:r,second:i,millisecond:n}=e,s=rd(t,0,23)||24===t&&0===r&&0===i&&0===n,a=rd(r,0,59),o=rd(i,0,59),l=rd(n,0,999);return s?a?o?!l&&t6("millisecond",n):t6("second",i):t6("minute",r):t6("hour",t)}function rn(e){return void 0===e}function rs(e){return"number"==typeof e}function ra(e){return"number"==typeof e&&e%1==0}function ro(){try{return"u">typeof Intl&&!!Intl.RelativeTimeFormat}catch(e){return!1}}function rl(){try{return"u">typeof Intl&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch(e){return!1}}function ru(e,t,r){if(0!==e.length)return e.reduce((e,i)=>{let n=[t(i),i];return e&&r(e[0],n[0])===e[0]?e:n},null)[1]}function rc(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function rh(e){if(null==e)return null;if("object"!=typeof e)throw new eJ("Week settings must be an object");if(!rd(e.firstDay,1,7)||!rd(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(e=>!rd(e,1,7)))throw new eJ("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function rd(e,t,r){return ra(e)&&e>=t&&e<=r}
2330function rm(e,t=2){return e<0?"-"+(""+-e).padStart(t,"0"):(""+e).padStart(t,"0")}function rf(e){if(!rn(e)&&null!==e&&""!==e)return parseInt(e,10)}function rp(e){if(!rn(e)&&null!==e&&""!==e)return parseFloat(e)}function rg(e){if(!rn(e)&&null!==e&&""!==e)return Math.floor(1e3*parseFloat("0."+e))}function ry(e,t,r="round"){let i=10**t;switch(r){case"expand":return e>0?Math.ceil(e*i)/i:Math.floor(e*i)/i;case"trunc":return Math.trunc(e*i)/i;case"round":return Math.round(e*i)/i;case"floor":return Math.floor(e*i)/i;case"ceil":return Math.ceil(e*i)/i;default:throw RangeError(`Value rounding ${r} is out of range`)}}function rv(e){return e%4==0&&(e%100!=0||e%400==0)}function rw(e){return rv(e)?366:365}function rb(e,t){var r;let i=(r=t-1)-12*Math.floor(r/12)+1;return 2===i?rv(e+(t-i)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][i-1]}function rx(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t)).setUTCFullYear(e.year,e.month-1,e.day),+t}function rT(e,t,r){return-t4(t3(e,1,t),r)+t-1}function r_(e,t=4,r=1){let i=rT(e,t,r),n=rT(e+1,t,r);return(rw(e)-i+n)/7}function rS(e){return e>99?e:e>tQ.twoDigitCutoffYear?1900+e:2e3+e}function rk(e,t,r,i=null){let n=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};i&&(s.timeZone=i);let a={timeZoneName:t,...s},o=new Intl.DateTimeFormat(r,a).formatToParts(n).find(e=>"timezonename"===e.type.toLowerCase());return o?o.value:null}function rE(e,t){let r=parseInt(e,10);Number.isNaN(r)&&(r=0);let i=parseInt(t,10)||0,n=r<0||Object.is(r,-0)?-i:i;return 60*r+n}function rC(e){let t=Number(e);if("boolean"==typeof e||""===e||!Number.isFinite(t))throw new eJ(`Invalid unit value ${e}`);return t}function rP(e,t){let r={};for(let i in e)if(rc(e,i)){let n=e[i];if(null==n)continue;r[t(i)]=rC(n)}return r}function r$(e,t){let r=Math.trunc(Math.abs(e/60)),i=Math.trunc(Math.abs(e%60)),n=e>=0?"+":"-";switch(t){case"short":return`${n}${rm(r,2)}:${rm(i,2)}`;case"narrow":return`${n}${r}${i>0?`:${i}`:""}`;case"techie":return`${n}${rm(r,2)}${rm(i,2)}`;default:throw RangeError(`Value format ${t} is out of range for property format`)}}function rA(e){return["hour","minute","second","millisecond"].reduce((t,r)=>(t[r]=e[r],t),{})}let rL=["January","February","March","April","May","June","July","August","September","October","November","December"],rI=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],rO=["J","F","M","A","M","J","J","A","S","O","N","D"];function rM(e){switch(e){case"narrow":return[...rO];case"short":return[...rI];case"long":return[...rL];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}let rR=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],rj=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],rD=["M","T","W","T","F","S","S"];function rN(e){switch(e){case"narrow":return[...rD];case"short":return[...rj];case"long":return[...rR];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}let rF=["AM","PM"],rV=["Before Christ","Anno Domini"],rB=["BC","AD"],rq=["B","A"];function rU(e){switch(e){case"narrow":return[...rq];case"short":return[...rB];case"long":return[...rV];default:return null}}function rW(e,t){let r="";for(let i of e)i.literal?r+=i.val:r+=t(i.val);return r}let rH={D:e2,DD:e6,DDD:e5,DDDD:e4,t:e8,tt:e7,ttt:e9,tttt:te,T:tt,TT:tr,TTT:ti,TTTT:tn,f:ts,ff:to,fff:tc,ffff:td,F:ta,FF:tl,FFF:th,FFFF:tm};class rz{static create(e,t={}){return new rz(e,t)}static parseFormat(e){let t=null,r="",i=!1,n=[];for(let s=0;s<e.length;s++){let a=e.charAt(s);"'"===a?((r.length>0||i)&&n.push({literal:i||/^\s+$/.test(r),val:""===r?"'":r}),t=null,r="",i=!i):i||a===t?r+=a:(r.length>0&&n.push({literal:/^\s+$/.test(r),val:r}),r=a,t=a)}return r.length>0&&n.push({literal:i||/^\s+$/.test(r),val:r}),n}static macroTokenToFormatOpts(e){return rH[e]}constructor(e,t){this.opts=t,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,t){return null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem(
2330)),this.systemLoc.dtFormatter(e,{...this.opts,...t}).format()}dtFormatter(e,t={}){return this.loc.dtFormatter(e,{...this.opts,...t})}formatDateTime(e,t){return this.dtFormatter(e,t).format()}formatDateTimeParts(e,t){return this.dtFormatter(e,t).formatToParts()}formatInterval(e,t){return this.dtFormatter(e.start,t).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,t){return this.dtFormatter(e,t).resolvedOptions()}num(e,t=0,r){if(this.opts.forceSimple)return rm(e,t);let i={...this.opts};return t>0&&(i.padTo=t),r&&(i.signDisplay=r),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,t){let r="en"===this.loc.listingMode(),i=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,n=(t,r)=>this.loc.extract(e,t,r),s=t=>e.isOffsetFixed&&0===e.offset&&t.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,t.format):"",a=(t,i)=>r?rM(t)[e.month-1]:n(i?{month:t}:{month:t,day:"numeric"},"month"),o=(t,i)=>r?rN(t)[e.weekday-1]:n(i?{weekday:t}:{weekday:t,month:"long",day:"numeric"},"weekday"),l=t=>{let r=rz.macroTokenToFormatOpts(t);return r?this.formatWithSystemDefault(e,r):t},u=t=>r?rU(t)[e.year<0?0:1]:n({era:t},"era"),c=t=>{switch(t){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12==0?12:e.hour%12);case"hh":return this.num(e.hour%12==0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return r?rF[e.hour<12?0:1]:n({hour:"numeric",hourCycle:"h12"},"dayperiod");case"d":return i?n({day:"numeric"},"day"):this.num(e.day);case"dd":return i?n({day:"2-digit"},"day"):this.num(e.day,2);case"c":case"E":return this.num(e.weekday);case"ccc":return o("short",!0);case"cccc":return o("long",!0);case"ccccc":return o("narrow",!0);case"EEE":return o("short",!1);case"EEEE":return o("long",!1);case"EEEEE":return o("narrow",!1);case"L":return i?n({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?n({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return a("short",!0);case"LLLL":return a("long",!0);case"LLLLL":return a("narrow",!0);case"M":return i?n({month:"numeric"},"month"):this.num(e.month);case"MM":return i?n({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return a("short",!1);case"MMMM":return a("long",!1);case"MMMMM":return a("narrow",!1);case"y":return i?n({year:"numeric"},"year"):this.num(e.year);case"yy":return i?n({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?n({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?n({year:"numeric"},"year"):this.num(e.year,6);case"G":return u("short");case"GG":return u("long");case"GGGGG":return u("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return l(t)}};return rW(rz.parseFormat(t),c)}formatDurationFromString(e,t){let r="negativeLargestOnly"===this.opts.signMode?-1:1,i=e=>{switch(e[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";
2330case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},n=(e,t)=>n=>{let s=i(n);if(!s)return n;{let i,a=t.isNegativeDuration&&s!==t.largestUnit?r:1;return i="negativeLargestOnly"===this.opts.signMode&&s!==t.largestUnit?"never":"all"===this.opts.signMode?"always":"auto",this.num(e.get(s)*a,n.length,i)}},s=rz.parseFormat(t),a=s.reduce((e,{literal:t,val:r})=>t?e:e.concat(r),[]),o=e.shiftTo(...a.map(i).filter(e=>e)),l={isNegativeDuration:o<0,largestUnit:Object.keys(o.values)[0]};return rW(s,n(o,l))}}let rG=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function rZ(...e){let t=e.reduce((e,t)=>e+t.source,"");return RegExp(`^${t}$`)}function rY(...e){return t=>e.reduce(([e,r,i],n)=>{let[s,a,o]=n(t,i);return[{...e,...s},a||r,o]},[{},null,1]).slice(0,2)}function rK(e,...t){if(null==e)return[null,null];for(let[r,i]of t){let t=r.exec(e);if(t)return i(t)}return[null,null]}function rJ(...e){return(t,r)=>{let i,n={};for(i=0;i<e.length;i++)n[e[i]]=rf(t[r+i]);return[n,null,r+i]}}let rX=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,rQ=`(?:${rX.source}?(?:\\[(${rG.source})\\])?)?`,r0=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,r1=RegExp(`${r0.source}${rQ}`),r2=RegExp(`(?:[Tt]${r1.source})?`),r6=rJ("weekYear","weekNumber","weekDay"),r3=rJ("year","ordinal"),r5=RegExp(`${r0.source} ?(?:${rX.source}|(${rG.source}))?`),r4=RegExp(`(?: ${r5.source})?`);function r8(e,t,r){let i=e[t];return rn(i)?r:rf(i)}function r7(e,t){return[{hours:r8(e,t,0),minutes:r8(e,t+1,0),seconds:r8(e,t+2,0),milliseconds:rg(e[t+3])},null,t+4]}function r9(e,t){let r=!e[t]&&!e[t+1],i=rE(e[t+1],e[t+2]);return[{},r?null:tD.instance(i),t+3]}function ie(e,t){return[{},e[t]?tb.create(e[t]):null,t+1]}let it=RegExp(`^T?${r0.source}$`),ir=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ii(e){let[t,r,i,n,s,a,o,l,u]=e,c="-"===t[0],h=l&&"-"===l[0],d=(e,t=!1)=>void 0!==e&&(t||e&&c)?-e:e;return[{years:d(rp(r)),months:d(rp(i)),weeks:d(rp(n)),days:d(rp(s)),hours:d(rp(a)),minutes:d(rp(o)),seconds:d(rp(l),"-0"===l),milliseconds:d(rg(u),h)}]}let is={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ia(e,t,r,i,n,s,a){let o={year:2===t.length?rS(rf(t)):rf(t),month:rI.indexOf(r)+1,day:rf(i),hour:rf(n),minute:rf(s)};return a&&(o.second=rf(a)),e&&(o.weekday=e.length>3?rR.indexOf(e)+1:rj.indexOf(e)+1),o}let io=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function il(e){let[,t,r,i,n,s,a,o,l,u,c,h]=e;return[ia(t,n,i,r,s,a,o),new tD(l?is[l]:u?0:rE(c,h))]}let iu=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,ic=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,ih=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function id(e){let[,t,r,i,n,s,a,o]=e;return[ia(t,n,i,r,s,a,o),tD.utcInstance]}function im(e){let[,t,r,i,n,s,a,o]=e;return[ia(t,o,r,i,n,s,a),tD.utcInstance]}let ip=rZ(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,r2),ig=rZ(/(\d{4})-?W(\d\d)(?:-?(\d))?/,r2),iy=rZ(/(\d{4})-?(\d{3})/,r2),iv=rZ(r1),iw=rY(function(e,t){return[{year:r8(e,t),month:r8(e,t+1,1),day:r8(e,t+2,1)},null,t+3]},r7,r9,ie),ib=rY(r6,r7,r9,ie),ix=rY(r3,r7,r9,ie),iT=rY(r7,r9,ie),i_=rY(r7),iS=rZ(/(\d{4})-(\d\d)-(\d\d)/,r4),ik=rZ(r5),iE=rY(r7,r9,ie),iC="Invalid Duration",iP={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},i$={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...iP},iA={years:{quarters:4,months:12,weeks:52.1775,days:365.2425,hours:8765.82,minutes:525949.2,seconds:0x1e18558,milliseconds:31556952e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:7889238,milliseconds:7889238e3},months:{weeks:30.436875/7,days:30.436875,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...iP},iL=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],iI=iL.slice(0).reverse();function iO(e,t,r=!1){return new iD({values:r?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix})}function iM(e,t){let r=t.milliseconds??0;for(let i of iI.slice(1))t[i]&&(r+=t[i]*e[i].milliseconds);return r}function iR(e,t){let r=0>iM(e,t)?-1:1;iL.reduceRight((i,n)=>{if(rn(t[n]))return i;if(i){let s=t[i]*r,a=e[n][i],o=Math.floor(s/a);t[n]+=o*r,t[i]-=o*a*r}return n},null),iL.reduce((r,i)=>{if(rn(t[i]))return r;if(r){let n=t[r]%1;t[r]-=n,t[i]+=n*e[r][i]}return i},null)}function ij(e){let t={};for(let[r,i]of Object.entries(e))0!==i&&(t[r]=i);return t}class iD{constructor(e){const t="longterm"===e.conversionAccuracy;let r=t?iA:i$;e.matrix&&(r=e.matrix),this.values=e.values,this.loc=e.loc||tR.create(),this.conversionAccuracy=t?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(e,t){return iD.fromObject({milliseconds:e},t)}static fromObject(e,t={}){if(null==e||"object"!=typeof e)throw new eJ(`Duration.fromObject: argument expected to be an object, got ${null===e?"null":typeof e}`);return new iD({values:rP(e,iD.normalizeUnit),loc:tR.fromObject(t),conversionAccuracy:t.conversionAccuracy,matrix:t.matrix})}static fromDurationLike(e){if(rs(e))return iD.fromMillis(e);if(iD.isDuration(e))return e;if("object"==typeof e)return iD.fromObject(e);throw new eJ(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,t){let[r]=rK(e,[ir,ii]);return r?iD.fromObject(r,t):iD.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,t){let[r]=rK(e,[it,i_]);return r?iD.fromObject(r,t):iD.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}
2330static invalid(e,t=null){if(!e)throw new eJ("need to specify a reason the Duration is invalid");let r=e instanceof t0?e:new t0(e,t);if(!tQ.throwOnInvalid)return new iD({invalid:r});throw new eZ(r)}static normalizeUnit(e){let t={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e?e.toLowerCase():e];if(!t)throw new eK(e);return t}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,t={}){let r={...t,floor:!1!==t.round&&!1!==t.floor};return this.isValid?rz.create(this.loc,r).formatDurationFromString(this,e):iC}toHuman(e={}){if(!this.isValid)return iC;let t=!1!==e.showZeros,r=iL.map(r=>{let i=this.values[r];return rn(i)||0===i&&!t?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:r.slice(0,-1)}).format(i)}).filter(e=>e);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(r)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return 0!==this.years&&(e+=this.years+"Y"),(0!==this.months||0!==this.quarters)&&(e+=this.months+3*this.quarters+"M"),0!==this.weeks&&(e+=this.weeks+"W"),0!==this.days&&(e+=this.days+"D"),(0!==this.hours||0!==this.minutes||0!==this.seconds||0!==this.milliseconds)&&(e+="T"),0!==this.hours&&(e+=this.hours+"H"),0!==this.minutes&&(e+=this.minutes+"M"),(0!==this.seconds||0!==this.milliseconds)&&(e+=ry(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===e&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let t=this.toMillis();return t<0||t>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},ny.fromMillis(t,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?iM(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let t=iD.fromDurationLike(e),r={};for(let e of iL)(rc(t.values,e)||rc(this.values,e))&&(r[e]=t.get(e)+this.get(e));return iO(this,{values:r},!0)}minus(e){if(!this.isValid)return this;let t=iD.fromDurationLike(e);return this.plus(t.negate())}mapUnits(e){if(!this.isValid)return this;let t={};for(let r of Object.keys(this.values))t[r]=rC(e(this.values[r],r));return iO(this,{values:t},!0)}get(e){return this[iD.normalizeUnit(e)]}set(e){return this.isValid?iO(this,{values:{...this.values,...rP(e,iD.normalizeUnit)}}):this}reconfigure({locale:e,numberingSystem:t,conversionAccuracy:r,matrix:i}={}){return iO(this,{loc:this.loc.clone({locale:e,numberingSystem:t}),matrix:i,conversionAccuracy:r})}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return iR(this.matrix,e),iO(this,{values:e},!0)}rescale(){return this.isValid?iO(this,{values:ij(this.normalize().shiftToAll().toObject())},!0):this}shiftTo(...e){let t;if(!this.isValid||0===e.length)return this;e=e.map(e=>iD.normalizeUnit(e));let r={},i={},n=this.toObject();for(let s of iL)if(e.indexOf(s)>=0){t=s;let e=0;for(let t in i)e+=this.matrix[t][s]*i[t],i[t]=0;rs(n[s])&&(e+=n[s]);let a=Math.trunc(e);r[s]=a,i[s]=(1e3*e-1e3*a)/1e3}else rs(n[s])&&(i[s]=n[s]);for(let e in i)0!==i[e]&&(r[t]+=e===t?i[e]:i[e]/this.matrix[t][e]);return iR(this.matrix,r),iO(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let t of Object.keys(this.values))e[t]=0===this.values[t]?0:-this.values[t];return iO(this,{values:e},!0)}removeZeros(){return this.isValid?iO(this,{values:ij(this.values)},!0):this}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;for(let i of iL){var t,r;if(t=this.values[i],r=e.values[i],void 0===t||0===t?void 0!==r&&0!==r:t!==r)return!1}return!0}}let iN="Invalid Interval";class iF{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}
2330static invalid(e,t=null){if(!e)throw new eJ("need to specify a reason the Interval is invalid");let r=e instanceof t0?e:new t0(e,t);if(!tQ.throwOnInvalid)return new iF({invalid:r});throw new eG(r)}static fromDateTimes(e,t){var r,i;let n=nv(e),s=nv(t),a=(r=n,i=s,r&&r.isValid?i&&i.isValid?i<r?iF.invalid("end before start",`The end of an interval must be after its start, but you had start=${r.toISO()} and end=${i.toISO()}`):null:iF.invalid("missing or invalid end"):iF.invalid("missing or invalid start"));return null==a?new iF({start:n,end:s}):a}static after(e,t){let r=iD.fromDurationLike(t),i=nv(e);return iF.fromDateTimes(i,i.plus(r))}static before(e,t){let r=iD.fromDurationLike(t),i=nv(e);return iF.fromDateTimes(i.minus(r),i)}static fromISO(e,t){let[r,i]=(e||"").split("/",2);if(r&&i){let e,n,s,a;try{n=(e=ny.fromISO(r,t)).isValid}catch(e){n=!1}try{a=(s=ny.fromISO(i,t)).isValid}catch(e){a=!1}if(n&&a)return iF.fromDateTimes(e,s);if(n){let r=iD.fromISO(i,t);if(r.isValid)return iF.after(e,r)}else if(a){let e=iD.fromISO(r,t);if(e.isValid)return iF.before(s,e)}}return iF.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",t){let r;if(!this.isValid)return NaN;let i=this.start.startOf(e,t);return Math.floor((r=(r=t?.useLocaleWeeks?this.end.reconfigure({locale:i.locale}):this.end).startOf(e,t)).diff(i,e).get(e))+(r.valueOf()!==this.end.valueOf())}hasSame(e){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,e))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return!!this.isValid&&this.s>e}isBefore(e){return!!this.isValid&&this.e<=e}contains(e){return!!this.isValid&&this.s<=e&&this.e>e}set({start:e,end:t}={}){return this.isValid?iF.fromDateTimes(e||this.s,t||this.e):this}splitAt(...e){if(!this.isValid)return[];let t=e.map(nv).filter(e=>this.contains(e)).sort((e,t)=>e.toMillis()-t.toMillis()),r=[],{s:i}=this,n=0;for(;i<this.e;){let e=t[n]||this.e,s=+e>+this.e?this.e:e;r.push(iF.fromDateTimes(i,s)),i=s,n+=1}return r}splitBy(e){let t=iD.fromDurationLike(e);if(!this.isValid||!t.isValid||0===t.as("milliseconds"))return[];let{s:r}=this,i=1,n,s=[];for(;r<this.e;){let e=this.start.plus(t.mapUnits(e=>e*i));n=+e>+this.e?this.e:e,s.push(iF.fromDateTimes(r,n)),r=n,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return!!this.isValid&&+this.e==+e.s}abutsEnd(e){return!!this.isValid&&+e.e==+this.s}engulfs(e){return!!this.isValid&&this.s<=e.s&&this.e>=e.e}equals(e){return!!this.isValid&&!!e.isValid&&this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let t=this.s>e.s?this.s:e.s,r=this.e<e.e?this.e:e.e;return t>=r?null:iF.fromDateTimes(t,r)}union(e){if(!this.isValid)return this;let t=this.s<e.s?this.s:e.s,r=this.e>e.e?this.e:e.e;return iF.fromDateTimes(t,r)}static merge(e){let[t,r]=e.sort((e,t)=>e.s-t.s).reduce(([e,t],r)=>t?t.overlaps(r)||t.abutsStart(r)?[e,t.union(r)]:[e.concat([t]),r]:[e,r],[[],null]);return r&&t.push(r),t}static xor(e){let t=null,r=0,i=[],n=e.map(e=>[{time:e.s,type:"s"},{time:e.e,type:"e"}]);for(let e of Array.prototype.concat(...n).sort((e,t)=>e.time-t.time))1===(r+="s"===e.type?1:-1)?t=e.time:(t&&+t!=+e.time&&i.push(iF.fromDateTimes(t,e.time)),t=null);return iF.merge(i)}difference(...e){return iF.xor([this].concat(e)).map(e=>this.intersection(e)).filter(e=>e&&!e.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} â ${this.e.toISO()})`:iN}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}
2330toLocaleString(e=e2,t={}){return this.isValid?rz.create(this.s.loc.clone(t),e).formatInterval(this):iN}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:iN}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:iN}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:iN}toFormat(e,{separator:t=" â "}={}){return this.isValid?`${this.s.toFormat(e)}${t}${this.e.toFormat(e)}`:iN}toDuration(e,t){return this.isValid?this.e.diff(this.s,e,t):iD.invalid(this.invalidReason)}mapEndpoints(e){return iF.fromDateTimes(e(this.s),e(this.e))}}class iV{static hasDST(e=tQ.defaultZone){let t=ny.now().setZone(e).set({month:12});return!e.isUniversal&&t.offset!==t.set({month:6}).offset}static isValidIANAZone(e){return tb.isValidZone(e)}static normalizeZone(e){return tF(e,tQ.defaultZone)}static getStartOfWeek({locale:e=null,locObj:t=null}={}){return(t||tR.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:t=null}={}){return(t||tR.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:t=null}={}){return(t||tR.create(e)).getWeekendDays().slice()}static months(e="long",{locale:t=null,numberingSystem:r=null,locObj:i=null,outputCalendar:n="gregory"}={}){return(i||tR.create(t,r,n)).months(e)}static monthsFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:i=null,outputCalendar:n="gregory"}={}){return(i||tR.create(t,r,n)).months(e,!0)}static weekdays(e="long",{locale:t=null,numberingSystem:r=null,locObj:i=null}={}){return(i||tR.create(t,r,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:t=null,numberingSystem:r=null,locObj:i=null}={}){return(i||tR.create(t,r,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return tR.create(e).meridiems()}static eras(e="short",{locale:t=null}={}){return tR.create(t,null,"gregory").eras(e)}static features(){return{relative:ro(),localeWeek:rl()}}}function iB(e,t){let r=e=>e.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),i=r(t)-r(e);return Math.floor(iD.fromMillis(i).as("days"))}function iq(e,t=e=>e){return{regex:e,deser:([e])=>t(function(e){let t=parseInt(e,10);if(!isNaN(t))return t;t="";for(let r=0;r<e.length;r++){let i=e.charCodeAt(r);if(-1!==e[r].search(tV.hanidec))t+=tq.indexOf(e[r]);else for(let e in tB){let[r,n]=tB[e];i>=r&&i<=n&&(t+=i-r)}}return parseInt(t,10)}(e))}}let iU=String.fromCharCode(160),iW=`[ ${iU}]`,iH=RegExp(iW,"g");function iz(e){return e.replace(/\./g,"\\.?").replace(iH,iW)}function iG(e){return e.replace(/\./g,"").replace(iH," ").toLowerCase()}function iZ(e,t){return null===e?null:{regex:RegExp(e.map(iz).join("|")),deser:([r])=>e.findIndex(e=>iG(r)===iG(e))+t}}function iY(e,t){return{regex:e,deser:([,e,t])=>rE(e,t),groups:t}}function iK(e){return{regex:e,deser:([e])=>e}}
2330let iJ={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}},iX=null;function iQ(e,t){return Array.prototype.concat(...e.map(e=>(function(e,t){if(e.literal)return e;let r=i2(rz.macroTokenToFormatOpts(e.val),t);return null==r||r.includes(void 0)?e:r})(e,t)))}class i0{constructor(e,t){if(this.locale=e,this.format=t,this.tokens=iQ(rz.parseFormat(t),e),this.units=this.tokens.map(t=>{let r,i,n,s,a,o,l,u,c,h,d,m,f;return r=tW(e),i=tW(e,"{2}"),n=tW(e,"{3}"),s=tW(e,"{4}"),a=tW(e,"{6}"),o=tW(e,"{1,2}"),l=tW(e,"{1,3}"),u=tW(e,"{1,6}"),c=tW(e,"{1,9}"),h=tW(e,"{2,4}"),d=tW(e,"{4,6}"),m=e=>({regex:RegExp(e.val.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")),deser:([e])=>e,literal:!0}),(f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return iZ(e.eras("short"),0);case"GG":return iZ(e.eras("long"),0);case"y":return iq(u);case"yy":case"kk":return iq(h,rS);case"yyyy":case"kkkk":return iq(s);case"yyyyy":return iq(d);case"yyyyyy":return iq(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return iq(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return iq(i);case"MMM":return iZ(e.months("short",!0),1);case"MMMM":return iZ(e.months("long",!0),1);case"LLL":return iZ(e.months("short",!1),1);case"LLLL":return iZ(e.months("long",!1),1);case"o":case"S":return iq(l);case"ooo":case"SSS":return iq(n);case"u":return iK(c);case"uu":return iK(o);case"uuu":case"E":case"c":return iq(r);case"a":return iZ(e.meridiems(),0);case"EEE":return iZ(e.weekdays("short",!1),1);case"EEEE":return iZ(e.weekdays("long",!1),1);case"ccc":return iZ(e.weekdays("short",!0),1);case"cccc":return iZ(e.weekdays("long",!0),1);case"Z":case"ZZ":return iY(RegExp(`([+-]${o.source})(?::(${i.source}))?`),2);case"ZZZ":return iY(RegExp(`([+-]${o.source})(${i.source})?`),2);case"z":return iK(/[a-z_+-/]{1,256}?/i);case" ":return iK(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"}).token=t,f}),this.disqualifyingUnit=this.units.find(e=>e.invalidReason),!this.disqualifyingUnit){const[e,t]=function(e){let t=e.map(e=>e.regex).reduce((e,t)=>`${e}(${t.source})`,"");return[`^${t}$`,e]}(this.units);this.regex=RegExp(e,"i"),this.handlers=t}}explainFromTokens(e){if(!this.isValid)return{input:e,tokens:this.tokens,invalidReason:this.invalidReason};{let t,r,[i,n]=function(e,t,r){let i=e.match(t);if(!i)return[i,{}];{let e={},t=1;for(let n in r)if(rc(r,n)){let s=r[n],a=s.groups?s.groups+1:1;!s.literal&&s.token&&(e[s.token.val[0]]=s.deser(i.slice(t,t+a))),t+=a}return[i,e]}}(e,this.regex,this.handlers),[s,a,o]=n?(r=null,rn(n.z)||(r=tb.create(n.z)),rn(n.Z)||(r||(r=new tD(n.Z)),t=n.Z),rn(n.q)||(n.M=(n.q-1)*3+1),rn(n.h)||(n.h<12&&1===n.a?n.h+=12:12===n.h&&0===n.a&&(n.h=0)),0===n.G&&n.y&&(n.y=-n.y),rn(n.u)||(n.S=rg(n.u)),[Object.keys(n).reduce((e,t)=>{let r=(e=>{switch(e){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(t);return r&&(e[r]=n[t]),e},{}),r,t]):[null,null,void 0];if(rc(n,"a")&&rc(n,"H"))throw new eY("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:i,matches:n,result:s,zone:a,specificOffset:o}}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invali
2330dReason:null}}function i1(e,t,r){return new i0(e,r).explainFromTokens(t)}function i2(e,t){if(!e)return null;let r=rz.create(t,e).dtFormatter((iX||(iX=ny.fromMillis(0x16a2e5618e3)),iX)),i=r.formatToParts(),n=r.resolvedOptions();return i.map(t=>(function(e,t,r){let{type:i,value:n}=e;if("literal"===i){let e=/^\s+$/.test(n);return{literal:!e,val:e?" ":n}}let s=t[i],a=i;"hour"===i&&(a=null!=t.hour12?t.hour12?"hour12":"hour24":null!=t.hourCycle?"h11"===t.hourCycle||"h12"===t.hourCycle?"hour12":"hour24":r.hour12?"hour12":"hour24");let o=iJ[a];if("object"==typeof o&&(o=o[s]),o)return{literal:!1,val:o}})(t,e,n))}let i6="Invalid DateTime";function i3(e){return new t0("unsupported zone",`the zone "${e.name}" is not supported`)}function i5(e){return null===e.weekData&&(e.weekData=t8(e.c)),e.weekData}function i4(e){return null===e.localWeekData&&(e.localWeekData=t8(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function i8(e,t){let r={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new ny({...r,...t,old:r})}function i7(e,t,r){let i=e-60*t*1e3,n=r.offset(i);if(t===n)return[i,t];i-=(n-t)*6e4;let s=r.offset(i);return n===s?[i,n]:[e-60*Math.min(n,s)*1e3,Math.max(n,s)]}function i9(e,t){let r=new Date(e+=60*t*1e3);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function ne(e,t){let r=e.o,i=e.c.year+Math.trunc(t.years),n=e.c.month+Math.trunc(t.months)+3*Math.trunc(t.quarters),s={...e.c,year:i,month:n,day:Math.min(e.c.day,rb(i,n))+Math.trunc(t.days)+7*Math.trunc(t.weeks)},a=iD.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),[o,l]=i7(rx(s),r,e.zone);return 0!==a&&(o+=a,l=e.zone.offset(o)),{ts:o,o:l}}function nt(e,t,r,i,n,s){let{setZone:a,zone:o}=r;if((!e||0===Object.keys(e).length)&&!t)return ny.invalid(new t0("unparsable",`the input "${n}" can't be parsed as ${i}`));{let i=ny.fromObject(e,{...r,zone:t||o,specificOffset:s});return a?i:i.setZone(o)}}function nr(e,t,r=!0){return e.isValid?rz.create(tR.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(e,t):null}function ni(e,t,r){let i=e.c.year>9999||e.c.year<0,n="";if(i&&e.c.year>=0&&(n+="+"),n+=rm(e.c.year,i?6:4),"year"===r)return n;if(t){if(n+="-",n+=rm(e.c.month),"month"===r)return n;n+="-"}else if(n+=rm(e.c.month),"month"===r)return n;return n+rm(e.c.day)}function nn(e,t,r,i,n,s,a){let o=!r||0!==e.c.millisecond||0!==e.c.second,l="";switch(a){case"day":case"month":case"year":break;default:if(l+=rm(e.c.hour),"hour"===a)break;if(t){if(l+=":",l+=rm(e.c.minute),"minute"===a)break;o&&(l+=":",l+=rm(e.c.second))}else{if(l+=rm(e.c.minute),"minute"===a)break;o&&(l+=rm(e.c.second))}if("second"===a)break;o&&(!i||0!==e.c.millisecond)&&(l+=".",l+=rm(e.c.millisecond,3))}return n&&(e.isOffsetFixed&&0===e.offset&&!s?l+="Z":e.o<0?(l+="-",l+=rm(Math.trunc(-e.o/60)),l+=":",l+=rm(Math.trunc(-e.o%60))):(l+="+",l+=rm(Math.trunc(e.o/60)),l+=":",l+=rm(Math.trunc(e.o%60)))),s&&(l+="["+e.zone.ianaName+"]"),l}let ns={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},na={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},no={ordinal:1,hour:0,minute:0,second:0,millisecond:0},nl=["year","month","day","hour","minute","second","millisecond"],nu=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],nc=["year","ordinal","hour","minute","second","millisecond"];function nh(e){let t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new eK(e);return t}
2330function nd(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return nh(e)}}function nm(e,r){let i,n,s=tF(r.zone,tQ.defaultZone);if(!s.isValid)return ny.invalid(i3(s));let a=tR.fromObject(r);if(rn(e.year))i=tQ.now();else{for(let t of nl)rn(e[t])&&(e[t]=ns[t]);let r=rr(e)||ri(e);if(r)return ny.invalid(r);let a=function(e){if(void 0===t&&(t=tQ.now()),"iana"!==e.type)return e.offset(t);let r=e.name,i=ng.get(r);return void 0===i&&(i=e.offset(t),ng.set(r,i)),i}(s);[i,n]=i7(rx(e),a,s)}return new ny({ts:i,zone:s,loc:a,o:n})}function nf(e,t,r){let i=!!rn(r.round)||r.round,n=rn(r.rounding)?"trunc":r.rounding,s=(e,s)=>(e=ry(e,i||r.calendary?0:2,r.calendary?"round":n),t.loc.clone(r).relFormatter(r).format(e,s)),a=i=>r.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i);if(r.unit)return s(a(r.unit),r.unit);for(let e of r.units){let t=a(e);if(Math.abs(t)>=1)return s(t,e)}return s(e>t?-0:0,r.units[r.units.length-1])}function np(e){let t={},r;return e.length>0&&"object"==typeof e[e.length-1]?(t=e[e.length-1],r=Array.from(e).slice(0,e.length-1)):r=Array.from(e),[t,r]}let ng=new Map;class ny{constructor(e){const t=e.zone||tQ.defaultZone;let r=e.invalid||(Number.isNaN(e.ts)?new t0("invalid input"):null)||(t.isValid?null:i3(t));this.ts=rn(e.ts)?tQ.now():e.ts;let i=null,n=null;if(!r)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(t))[i,n]=[e.old.c,e.old.o];else{const s=rs(e.o)&&!e.old?e.o:t.offset(this.ts);i=(r=Number.isNaN((i=i9(this.ts,s)).year)?new t0("invalid input"):null)?null:i,n=r?null:s}this._zone=t,this.loc=e.loc||tR.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=i,this.o=n,this.isLuxonDateTime=!0}static now(){return new ny({})}static local(){let[e,t]=np(arguments),[r,i,n,s,a,o,l]=t;return nm({year:r,month:i,day:n,hour:s,minute:a,second:o,millisecond:l},e)}static utc(){let[e,t]=np(arguments),[r,i,n,s,a,o,l]=t;return e.zone=tD.utcInstance,nm({year:r,month:i,day:n,hour:s,minute:a,second:o,millisecond:l},e)}static fromJSDate(e,t={}){let r="[object Date]"===Object.prototype.toString.call(e)?e.valueOf():NaN;if(Number.isNaN(r))return ny.invalid("invalid input");let i=tF(t.zone,tQ.defaultZone);return i.isValid?new ny({ts:r,zone:i,loc:tR.fromObject(t)}):ny.invalid(i3(i))}static fromMillis(e,t={}){if(rs(e))if(e<-864e13||e>864e13)return ny.invalid("Timestamp out of range");else return new ny({ts:e,zone:tF(t.zone,tQ.defaultZone),loc:tR.fromObject(t)});throw new eJ(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,t={}){if(rs(e))return new ny({ts:1e3*e,zone:tF(t.zone,tQ.defaultZone),loc:tR.fromObject(t)});throw new eJ("fromSeconds requires a numerical input")}static fromObject(e,t={}){var r;let i,n;e=e||{};let s=tF(t.zone,tQ.defaultZone);if(!s.isValid)return ny.invalid(i3(s));let a=tR.fromObject(t),o=rP(e,nd),{minDaysInFirstWeek:l,startOfWeek:u}=rt(o,a),c=tQ.now(),h=rn(t.specificOffset)?s.offset(c):t.specificOffset,d=!rn(o.ordinal),m=!rn(o.year),f=!rn(o.month)||!rn(o.day),p=m||f,g=o.weekYear||o.weekNumber;if((p||d)&&g)throw new eY("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&d)throw new eY("Can't mix ordinal dates with month/day");let y=g||o.weekday&&!p,v,w,b=i9(c,h);y?(v=nu,w=na,b=t8(b,l,u)):d?(v=nc,w=no,b=t9(b)):(v=nl,w=ns);let x=!1;for(let e of v)rn(o[e])?x?o[e]=w[e]:o[e]=b[e]:x=!0;let T=(y?function(e,t=4,r=1){let i=ra(e.weekYear),n=rd(e.weekNumber,1,r_(e.weekYear,t,r)),s=rd(e.weekday,1,7);return i?n?!s&&t6("weekday",e.weekday):t6("week",e.weekNumber):t6("weekYear",e.weekYear)}(o,l,u):d?(i=ra(o.year),n=rd(o.ordinal,1,rw(o.year)),i?!n&&t6("ordinal",o.ordinal):t6("year",o.year)):rr(o))||ri(o);if(T)return ny.invalid(T);let[_,S]=(r=y?t7(o,l,u):d?re(o):o,i7(rx(r),h,s)),k=new ny({ts:_,zone:s,o:S,loc:a});return o.weekday&&p&&e.weekday!==k.weekday?ny.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${k.toISO()}`):k.isValid?k:ny.invalid(k.invalid)}static fromISO(e,t={}){let[r,i]=rK(e,[ip,iw],[ig,ib],[iy,ix],[iv,iT]);return nt(r,i,t,"ISO 8601",e)}static fromRFC2822(e,t={}){let[r,i]=rK(e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim(),[io,il]);return nt(r,i,t,"RFC 2822",e)}static fromHTTP(e,t={}){let[r,i]=rK(e,[iu,id],[ic,id],[ih,im]);return nt(r,i,t,"HTTP",t)}static fromFormat(e,t,r={}){if(rn(e)||rn(t))throw new eJ("fromFormat requires an input string and a format");let{locale:i=null,numberingSystem:n=null}=r,[s,a,o,l]=function(e,t,r){let{result:i,zone:n,specificOffset:s,invalidReason:a}=i1(e,t,r);return[i,n,s,a]}(tR.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0}),e,t);return l?ny.invalid(l):nt(s,a,r,`format ${t}`,e,o)}static fromString(e,t,r={}){return ny.fromFormat(e,t,r)}static fromSQL(e,t={}){let[r,i]=rK(e,[iS,iw],[ik,iE]);return nt(r,i,t,"SQL",e)}
2330static invalid(e,t=null){if(!e)throw new eJ("need to specify a reason the DateTime is invalid");let r=e instanceof t0?e:new t0(e,t);if(!tQ.throwOnInvalid)return new ny({invalid:r});throw new ez(r)}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,t={}){let r=i2(e,tR.fromObject(t));return r?r.map(e=>e?e.val:null).join(""):null}static expandFormat(e,t={}){return iQ(rz.parseFormat(e),tR.fromObject(t)).map(e=>e.val).join("")}static resetCache(){t=void 0,ng.clear()}get(e){return this[e]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?i5(this).weekYear:NaN}get weekNumber(){return this.isValid?i5(this).weekNumber:NaN}get weekday(){return this.isValid?i5(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?i4(this).weekday:NaN}get localWeekNumber(){return this.isValid?i4(this).weekNumber:NaN}get localWeekYear(){return this.isValid?i4(this).weekYear:NaN}get ordinal(){return this.isValid?t9(this.c).ordinal:NaN}get monthShort(){return this.isValid?iV.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?iV.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?iV.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?iV.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=rx(this.c),t=this.zone.offset(e-864e5),r=this.zone.offset(e+864e5),i=this.zone.offset(e-6e4*t),n=this.zone.offset(e-6e4*r);if(i===n)return[this];let s=e-6e4*i,a=e-6e4*n,o=i9(s,i),l=i9(a,n);return o.hour===l.hour&&o.minute===l.minute&&o.second===l.second&&o.millisecond===l.millisecond?[i8(this,{ts:s}),i8(this,{ts:a})]:[this]}get isInLeapYear(){return rv(this.year)}get daysInMonth(){return rb(this.year,this.month)}get daysInYear(){return this.isValid?rw(this.year):NaN}get weeksInWeekYear(){return this.isValid?r_(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?r_(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:t,numberingSystem:r,calendar:i}=rz.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:t,numberingSystem:r,outputCalendar:i}}toUTC(e=0,t={}){return this.setZone(tD.instance(e),t)}toLocal(){return this.setZone(tQ.defaultZone)}setZone(e,{keepLocalTime:t=!1,keepCalendarTime:r=!1}={}){if((e=tF(e,tQ.defaultZone)).equals(this.zone))return this;{if(!e.isValid)return ny.invalid(i3(e));let n=this.ts;if(t||r){var i;let t=e.offset(this.ts),r=this.toObject();[n]=(i=e,i7(rx(r),t,i))}return i8(this,{ts:n,zone:e})}}reconfigure({locale:e,numberingSystem:t,outputCalendar:r}={}){return i8(this,{loc:this.loc.clone({locale:e,numberingSystem:t,outputCalendar:r})})}setLocale(e){return this.reconfigure({locale:e})}set(e){var t,r,i;let n;if(!this.isValid)return this;let s=rP(e,nd),{minDaysInFirstWeek:a,startOfWeek:o}=rt(s,this.loc),l=!rn(s.weekYear)||!rn(s.weekNumber)||!rn(s.weekday),u=!rn(s.ordinal),c=!rn(s.year),h=!rn(s.month)||!rn(s.day),d=s.weekYear||s.weekNumber;if((c||h||u)&&d)throw new eY("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(h&&u)throw new eY("Can't mix ordinal dates with month/day");l?n=t7({...t8(this.c,a,o),...s},a,o):rn(s.ordinal)?(n={...this.toObject(),...s},rn(s.day)&&(n.day=Math.min(rb(n.year,n.month),n.day))):n=re({...t9(this.c),...s});let[m,f]=(t=n,r=this.o,i=this.zone,i7(rx(t),r,i));return i8(this,{ts:m,o:f})}plus(e){return this.isValid?i8(this,ne(this,iD.fromDurationLike(e))):this}minus(e){return this.isValid?i8(this,ne(this,iD.fromDurationLike(e).negate())):this}startOf(e,{useLocaleWeeks:t=!1}={}){if(!this.isValid)return this;let r={},i=iD.normalizeUnit(e);switch(i){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0}if("weeks"===i)if(t){let e=this.loc.getStartOfWeek(),{weekday:t}=this;t<e&&(r.weekNumber=this.weekNumber-1),r.weekday=e}else r.weekday=1;return"quarters"===i&&(r.month=(Math.ceil(this.month/3)-1)*3+1),this.set(r)}endOf(e,t){return this.isValid?this.plus({[e]:1}).startOf(e,t).minus(1):this}toFormat(e,t={}){return this.isValid?rz.create(this.loc.redefaultToEN(t)).formatDateTimeFromString(this,e):i6}
2330toLocaleString(e=e2,t={}){return this.isValid?rz.create(this.loc.clone(t),e).formatDateTime(this):i6}toLocaleParts(e={}){return this.isValid?rz.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:t=!1,suppressMilliseconds:r=!1,includeOffset:i=!0,extendedZone:n=!1,precision:s="milliseconds"}={}){if(!this.isValid)return null;s=nh(s);let a="extended"===e,o=ni(this,a,s);return nl.indexOf(s)>=3&&(o+="T"),o+=nn(this,a,t,r,i,n,s)}toISODate({format:e="extended",precision:t="day"}={}){return this.isValid?ni(this,"extended"===e,nh(t)):null}toISOWeekDate(){return nr(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:t=!1,includeOffset:r=!0,includePrefix:i=!1,extendedZone:n=!1,format:s="extended",precision:a="milliseconds"}={}){return this.isValid?(a=nh(a),(i&&nl.indexOf(a)>=3?"T":"")+nn(this,"extended"===s,t,e,r,n,a)):null}toRFC2822(){return nr(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return nr(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?ni(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:t=!1,includeOffsetSpace:r=!0}={}){let i="HH:mm:ss.SSS";return(t||e)&&(r&&(i+=" "),t?i+="z":e&&(i+="ZZ")),nr(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():i6}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let t={...this.c};return e.includeConfig&&(t.outputCalendar=this.outputCalendar,t.numberingSystem=this.loc.numberingSystem,t.locale=this.loc.locale),t}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,t="milliseconds",r={}){if(!this.isValid||!e.isValid)return iD.invalid("created by diffing an invalid DateTime");let i={locale:this.locale,numberingSystem:this.numberingSystem,...r},n=(Array.isArray(t)?t:[t]).map(iD.normalizeUnit),s=e.valueOf()>this.valueOf(),a=function(e,t,r,i){let[n,s,a,o]=function(e,t,r){let i,n,s={},a=e;for(let[o,l]of[["years",(e,t)=>t.year-e.year],["quarters",(e,t)=>t.quarter-e.quarter+(t.year-e.year)*4],["months",(e,t)=>t.month-e.month+(t.year-e.year)*12],["weeks",(e,t)=>{let r=iB(e,t);return(r-r%7)/7}],["days",iB]])r.indexOf(o)>=0&&(i=o,s[o]=l(e,t),(n=a.plus(s))>t?(s[o]--,(e=a.plus(s))>t&&(n=e,s[o]--,e=a.plus(s))):e=n);return[e,s,n,i]}(e,t,r),l=t-n,u=r.filter(e=>["hours","minutes","seconds","milliseconds"].indexOf(e)>=0);0===u.length&&(a<t&&(a=n.plus({[o]:1})),a!==n&&(s[o]=(s[o]||0)+l/(a-n)));let c=iD.fromObject(s,i);return u.length>0?iD.fromMillis(l,i).shiftTo(...u).plus(c):c}(s?this:e,s?e:this,n,i);return s?a.negate():a}diffNow(e="milliseconds",t={}){return this.diff(ny.now(),e,t)}until(e){return this.isValid?iF.fromDateTimes(this,e):this}hasSame(e,t,r){if(!this.isValid)return!1;let i=e.valueOf(),n=this.setZone(e.zone,{keepLocalTime:!0});return n.startOf(t,r)<=i&&i<=n.endOf(t,r)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let t=e.base||ny.fromObject({},{zone:this.zone}),r=e.padding?this<t?-e.padding:e.padding:0,i=["years","months","days","hours","minutes","seconds"],n=e.unit;return Array.isArray(e.unit)&&(i=e.unit,n=void 0),nf(t,this.plus(r),{...e,numeric:"always",units:i,unit:n})}toRelativeCalendar(e={}){return this.isValid?nf(e.base||ny.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(ny.isDateTime))throw new eJ("min requires all arguments be DateTimes");return ru(e,e=>e.valueOf(),Math.min)}static max(...e){if(!e.every(ny.isDateTime))throw new eJ("max requires all arguments be DateTimes");return ru(e,e=>e.valueOf(),Math.max)}static fromFormatExplain(e,t,r={}){let{locale:i=null,numberingSystem:n=null}=r;return i1(tR.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0}),e,t)}static fromStringExplain(e,t,r={}){return ny.fromFormatExplain(e,t,r)}static buildFormatParser(e,t={}){let{locale:r=null,numberingSystem:i=null}=t;return new i0(tR.fromOpts({locale:r,numberingSystem:i,defaultToEN:!0}),e)}static fromFormatParser(e,t,r={}){if(rn(e)||rn(t))throw new eJ("fromFormatParser requires an input string and a format parser");let{locale:i=null,numberingSystem:n=null}=r,s=tR.fromOpts({locale:i,numberingSystem:n,defaultToEN:!0});if(!s.equals(t.locale))throw new eJ(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${t.locale}`);let{result:a,zone:o,specificOffset:l,invalidReason:u}=t.explainFromTokens(e);return u?ny.invalid(u):nt(a,o,r,`format ${t.format}`,e,l)}static get DATE_SHORT(){return e2}static get DATE_MED(){return e6}static get DATE_MED_WITH_WEEKDAY(){return e3}static get DATE_FULL(){return e5}static get DATE_HUGE(){return e4}static get TIME_SIMPLE(){return e8}static get TIME_WITH_SECONDS(){return e7}static get TIME_WITH_SHORT_OFFSET(){return e9}static get TIME_WITH_LONG_OFFSET(){return te}static get TIME_24_SIMPLE(){return tt}static get TIME_24_WITH_SECONDS(){return tr}static get TIME_24_WITH_SHORT_OFFSET(){return ti}static get TIME_24_WITH_LONG_OFFSET(){return tn}static get DATETIME_SHORT(){return ts}static get DATETIME_SHORT_WITH_SECONDS(){return ta}static get DATETIME_MED(){return to}static get DATETIME_MED_WITH_SECONDS(){return tl}static get DATETIME_MED_WITH_WEEKDAY(){return tu}static get DATETIME_FULL(){return tc}static get DATETIME_FULL_WITH_SECONDS(){return th}static get DATETIME_HUGE(){return td}static get DATETIME_HUGE_WITH_SECONDS(){return tm}}function nv(e){if(ny.isDateTime(e))return e;if(e&&e.valueOf&&rs(e.valueOf()))return ny.fromJSDate(e);if(e&&"object"==typeof e)return ny.fromObject(e);throw new eJ(`Unknown datetime argument: ${e}, of type ${typeof e}`)}function nw({isoTime:e,siteLocale:t}){return ny.fromISO(e).toFormat("fi"===t?"d.L.yyyy":"d LLL yyyy")}function nb({date:e}){let t=new Date(e);return t.setDate(t.getDate()-1),t.toISOString()}e.s(["createEventCardDate",0,function({eventType:e,start:t,end:r,locale:i,onDemandMicrocopy:n,now:s}){if(!(r&&t))return;if("webinar"===e&&r&&new Date(r)<(s||new Date))return n;let a=t&&nw({isoTime:t,siteLocale:i}),o=r&&nw({isoTime:r,siteLocale:i});return r&&t&&a===o?a:new Date(t).getMonth()===new Date(r).getMonth()?function({start:e,end:t,siteLocale:r}){return"fi"===r?`${ny.fromISO(e,{zone:"utc"}).toFormat("dd")} - ${ny.fromISO(t,{zone:"utc"}).toFormat("dd")}.${ny.fromISO(e,{zone:"utc"}).toFormat("L")}.${ny.fromISO(t,{zone:"utc"}).toFormat("yyyy")}`:`${ny.fromISO(e,{zone:"utc"}).toFormat("dd")} - ${ny.fromISO(t,{zone:"utc"}).toFormat("dd")} ${ny.fromISO(e,{zone:"utc"}).toFormat("LLL")} ${ny.fromISO(t,{zone:"utc"}).toFormat("yyyy")}`}({start:t,end:r,siteLocale:i}):`${a} - ${o}`},"oneDayAgo",0,nb],46647),e.i(2277);var nx=e.i(45371);async function nT(e,t,r){let i,n=0,s=!0,a;try{for(;!i?.ok&&s;)if(n++,i=await fetch(e,t),s=!!(r&&await r({res:i,tries:n})),a=await i.json(),i.ok)return{data:a};throw Error("Unknown error during fetch",{cause:{url:e,options:t,res:i}})}catch(e){if(e instanceof SyntaxError)return console.error("Fetch SyntaxError",e),{error:{message:"JSON parsing failed"}};if("object"==typeof a)return console.error(a),e instanceof Response&&console.error(e.status,e.statusText),{error:a};return console.error("Something when wrong",e),{error:e}}}function n_({url:e,query:t,variables:r,options:i,revalidate:n=!1,block:s=!1}){let a=function({url:e,options:t,revalidate:r=!1,block:i=!1}){let{getCacheItem:n,setCacheItem:s,setQueryStatus:a}=(0,nx.useFetchCache)(),o=(0,eU.useMemo)(()=>JSON.stringify({url:e,options:t}),[e,t]),{cache:l,status:u}=n(o);return(0,eU.useEffect)(()=>{i||"pending"===u||(!l||r)&&(a(o,"pending"),nT(e,t).then(e=>{s(o,JSON.stringify(e))}))},[o,r,i,u]),l?JSON.parse(l):void 0}({url:e,options:{...i,body:JSON.stringify({query:t,variables:r})},revalidate:n,block:s});if(!a)return{response:void 0};let o="data"in a?a.data:void 0;if(!o)return{response:void 0};let l="errors"in o?o.errors:void 0;return l&&console.warn("GraphQL request response contains errors",l,e,i),{data:"data"in o?o.data:void 0,error:l}}let nS=eU.default.createContext(void 0);function nk({fragment:e,page:t,locale:r,selectedFilters:i,now:n}){let{url:s,options:a}=function({endpoint:e}){if("dato"===e)return{url:"https://graphql.datocms.com/environments/main",options:{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer a086cc37e645c1a0f88b84019f4b7f","X-Exclude-Invalid":"true"}}}}({endpoint:"dato"}),{selectedRegions:o,selectedSolutionAreas:l,selectedArticleTypes:u}=function({filters:e}){return e.reduce((e,t)=>
2330{switch(t.__typename){case"ArticleTypeRecord":e.selectedArticleTypes.push(t.id);break;case"SolutionAreaRecord":e.selectedSolutionAreas.push(t.id);break;case"RegionRecord":e.selectedRegions.push(t.id)}return e},{selectedArticleTypes:[],selectedSolutionAreas:[],selectedRegions:[]})}({filters:i});switch(e.__typename){case"EventListRecord":{let i=e.displayAll?9:3;return{gqlParams:{blockTypename:e.__typename,url:s,query:eq,variables:{first:i,skip:(t-1)*i,locale:r,eventType:e.eventType,now:"event"===e.eventType?{gt:n}:void 0},options:a},pageSize:i}}case"ArticleListRecord":{let i=e.displayAll?9:3,n=e.articleTypes.length&&0===l.length?e.articleTypes.map(e=>e.id):void 0;u.length&&(n=u);let o=e.solutionAreas.length&&0===u.length&&!e.showAllByDefault?e.solutionAreas.map(e=>e.id):void 0;return l.length&&(o=l),{gqlParams:{blockTypename:e.__typename,url:s,query:eV,variables:{first:i,skip:(t-1)*i,locale:r,articleTypes:n,solutionAreas:o},options:a},pageSize:i}}case"CustomerCaseListRecord":{let i=e.regions.length?e.regions.map(e=>e.id):void 0;o.length&&(i=o);let n=e.solutionAreas.length?e.solutionAreas.map(e=>e.id):void 0;return l.length&&(n=l),{gqlParams:{blockTypename:e.__typename,url:s,query:eB,variables:{first:9,skip:(t-1)*9,locale:r,regions:i,solutionAreas:n},options:a},pageSize:9}}}}e.s(["HighlightListProvider",0,function(e){let[t,n]=(0,eU.useState)(1),[s,a]=(0,eU.useState)([]),o=(0,eU.useMemo)(()=>{let t=[];switch(e.fragment.__typename){case"ArticleListRecord":t.push({type:"ArticleTypeRecord",label:e.microcopy.articleTypeFilterLabel,filters:e.fragment.articleTypes}),t.push({type:"SolutionAreaRecord",label:e.microcopy.solutionAreaFilterLabel,filters:e.fragment.solutionAreas});break;case"CustomerCaseListRecord":t.push({type:"RegionRecord",label:e.microcopy.regionFilterLabel,filters:e.fragment.regions}),t.push({type:"SolutionAreaRecord",label:e.microcopy.solutionAreaFilterLabel,filters:e.fragment.solutionAreas})}return t},[e.fragment,e.microcopy]),l=e.locale,{cards:u,totalCount:c,error:h,pageSize:d}=function({props:e,page:t,locale:i,selectedFilters:n}){let s=(0,eU.useMemo)(()=>nb({date:new Date}),[]),{fragment:a}=e;switch(a.__typename){case"EventListRecord":{let{gqlParams:e,pageSize:o}=nk({fragment:a,page:t,locale:i,selectedFilters:n,now:s}),l=n_(e),u=eW({value:l,release:!!(l.data||l.error)});return u?.data?._allEventsMeta.count&&(r=u.data._allEventsMeta.count),{cards:u?.data?.allEvents.sort((e,t)=>{let r="webinar"===e.eventType,i="webinar"===t.eventType;return r&&i?e.startDate&&t.startDate?new Date(e.startDate).getTime()-new Date(t.startDate).getTime():e.startDate?-1:+!!t.startDate:e.startDate&&t.startDate?new Date(e.startDate).getTime()-new Date(t.startDate).getTime():e._firstPublishedAt||t._firstPublishedAt?e._firstPublishedAt?t._firstPublishedAt?new Date(e._firstPublishedAt).getTime()-new Date(t._firstPublishedAt).getTime():-1:1:0}),totalCount:r,error:!!u?.error,pageSize:o}}case"ArticleListRecord":{let{gqlParams:e,pageSize:o}=nk({fragment:a,page:t,locale:i,selectedFilters:n,now:s}),l=n_(e),u=eW({value:l,release:!!(l.data||l.error)});return u?.data?._allArticlesMeta.count&&(r=u.data._allArticlesMeta.count),{cards:u?.data?.allArticles,totalCount:r,error:!!u?.error,pageSize:o}}case"CustomerCaseListRecord":{let{gqlParams:e,pageSize:o}=nk({fragment:a,page:t,locale:i,selectedFilters:n,now:s}),l=n_(e),u=eW({value:l,release:!!(l.data||l.error)});return u?.data?._allCustomerCasesMeta.count&&(r=u.data._allCustomerCasesMeta.count),{cards:u?.data?.allCustomerCases,totalCount:r,error:!!u?.error,pageSize:o}}}}({props:e,page:t,locale:l,selectedFilters:s}),m=(0,eU.useMemo)(()=>new Map(o.reduce((e,t)=>e.concat(t.filters.map(e=>[e.id,e])),[])),[o]),f=!u,p=u?.length!==0,g="EventListRecord"!==e.fragment.__typename&&"ArticleListRecord"!==e.fragment.__typename||e.fragment.displayAll;return(0,i.jsx)(nS.Provider,{value:{cards:u,error:h,totalCount:c,page:t,setPage:n,pageSize:d,loading:f,hasResults:p,showPagination:g&&!!c&&
2330c>d,showSeeAll:!g&&p&&!!c&&c>3,locale:l,filters:o,selectedFilters:s,filterChangeHandler:function(e){a(t=>{let r=[...t],i=m.get(e);if(!i)return t;let n=r.findIndex(t=>t.id===e);return -1===n?r.push(i):r.splice(n,1),r})},microcopy:e.microcopy,resetFilters:function(){a([]),n(1)}},children:e.children})},"useHighlightList",0,function(){let e=eU.default.useContext(nS);if(void 0===e)throw Error("useHighlightList must be used within a HighlightListProvider");return e}],73351)},36043,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(62560),n=e.i(75415);function s({size:e="md",weight:i="regular",children:n,theme:a="light"}){return(0,t.jsx)("p",{className:(0,r.default)("h-fit font-almarai","xs"===e&&"text-almarai-14","sm"===e&&"text-almarai-16","md"===e&&"text-almarai-16 md:text-almarai-18","lg"===e&&"text-almarai-18 md:text-almarai-20","xl"===e&&"text-almarai-20 md:text-almarai-24","higlight"===e&&"text-almarai-28 md:text-almarai-34","light"===i&&"font-almarai-light","bold"===i&&"font-almarai-bold","dark"===a&&"text-white","light"===a&&"text-black"),children:n})}var a=e.i(31835),o=e.i(53299);function l(e){return(0,o.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"},child:[]}]})(e)}function u(e){return(0,o.GenIcon)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"},child:[]}]})(e)}let c=({label:e,options:n,onSelectionChange:s})=>{let[a,o]=(0,i.useState)(!1),c=(0,i.useRef)(null);return(0,i.useEffect)(()=>{let e=e=>{c.current&&!c.current.contains(e.target)&&o(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,t.jsxs)("div",{className:"relative inline-block text-left",ref:c,children:[(0,t.jsx)("div",{children:(0,t.jsxs)("button",{type:"button",className:(0,r.default)("inline-flex w-full items-center justify-between gap-10 rounded-md bg-white p-10 font-almarai text-almarai-16 shadow-sm hover:bg-sky-300 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky-300 focus-visible:ring-offset-2 focus-visible:ring-offset-white",a&&"!border-cloud-300 !bg-sky-400"),id:"options-menu","aria-haspopup":"true","aria-expanded":a,onClick:()=>{o(!a)},children:[e,(0,t.jsx)(u,{className:(0,r.default)("h-16 w-16 -mr-1 ml-2 transform transition-transform duration-200",a&&"rotate-180"),"aria-hidden":"true"})]})}),a&&(0,t.jsx)("div",{className:"absolute left-0 top-full z-10 mt-2 w-auto min-w-full origin-top-right translate-y-4 rounded-md bg-white shadow-lg ring-1 ring-grey-200 focus:outline-none",role:"menu","aria-orientation":"vertical","aria-labelledby":"options-menu",children:(0,t.jsx)("div",{className:"py-1",role:"none",children:n.map(e=>(0,t.jsxs)("button",{onClick:()=>{s(e.id)},className:"flex w-full cursor-pointer select-none items-center gap-10 text-nowrap rounded-md p-10 font-almarai text-almarai-14 text-grey-700 hover:bg-grey-100 hover:text-eclipse-900 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sky-300 focus-visible:ring-offset-2 focus-visible:ring-offset-white",role:"menuitemcheckbox","aria-checked":e.selected,children:[(0,t.jsx)("div",{className:"flex h-20 items-center",children:(0,t.jsx)("div",{className:(0,r.default)("mr-12 flex h-16 w-16 shrink-0 items-center justify-center rounded-sm border",e.selected?"border-eclipse-900 bg-black":"border-grey-500 bg-grey-100"),children:e.selected&&(0,t.jsx)(l,{className:"h-8 w-8 text-white"})})}),e.label]},e.id))})})]})};var h=e.i(50847),d=e.i(24439);function m({children:e,largeColGap:i}){return(0,t.jsx)("div",{className:(0,r.default)("row grid w-full gap-32 md:grid-cols-3 md:gap-16",i&&"md:gap-20 lg:gap-32"),children:e})}var f=e.i(46647);let p={en:{EventRecord:"events",CustomerCaseRecord:"customers",ArticleRecord:"articles"},fi:{EventRecord:"tapahtumat",CustomerCaseRecord:"asiakkaat",ArticleRecord:"artikkelit"},sv:{EventRecord:"events",CustomerCaseRecord:"kunder",ArticleRecord:"artiklar"},no:{EventRecord:"events",CustomerCaseRecord:"customers",ArticleRecord:"articles"}},g=(e,t)=>{let{__typename:r}=e;switch(r){case"InternalLinkRecord":return g(e.link,t);case"AnchorLinkBlockRecord":return g(e.anchorLink,t);case"ExternalLinkRecord":return e.url;case"FrontpageRecord":return`${"en"!==t?`/${t}`:""}/`;case"PageRecord":return`${"en"!==t?`/${t}`:""}/${function({page:e,locale:t}){let r=[];return!function e(i){let n;if(i){if("_allSlugLocales"in i){let e=i._allSlugLocales;if(e){for(let r of e)if(r.locale===t&&r.value){n=r.value;break}}}n&&(r.push(n),e(i.parentPage))}}(e),r.reverse().join("/")}({page:e,locale:t})}`;case"CustomerCaseRecord":case"ArticleRecord":case"EventRecord":return`${"en"!==t?`/${t}`:""}/${p[t][e.__typename]}/${function({allSlugLocales:e,locale:t}){return e?.find(e=>e.locale===t)?.value}({allSlugLocales:e._allSlugLocales,locale:t})}`;case"AnchorLinkRecord":{let r=g(e.link,t),i=e.anchorSlug;return`${r}#${i}`}}};var y=e.i(62530),v=e.i(84765),w=e.i(73351);function b({serverContext:e}){let{cards:r,microcopy:i}=(0,w.useHighlightList)();return r?.map(r=>{switch(r.__typename){case"EventRecord":return(0,t.jsx)(v.ResourceCard,{title:r.title,serverContext:e,image:(0,t.jsx)(y.DatoImageDynamic,{data:r.hero.image.responsiveImage,clientSideFocalPoint:[r.hero.image.focalPoint.x,r.hero.image.focalPoint.y],layout:"fill",objectFit:"cover"}),date:(0,f.createEventCardDate)({eventType:r.eventType,start:r.startDate,end:r.endDate,locale:e.locale,onDemandMicrocopy:i.onDemandLabel}),location:r.location??void 0,tag:r.eventType,href:g(r,e.locale),element:"a"},r.id);case"ArticleRecord":return(0,t.jsx)(v.ResourceCard,{title:r.title,image:(0,t.jsx)(y.DatoImageDynamic,{data:r.hero.image.responsiveImage,clientSideFocalPoint:[r.hero.image.focalPoint.x,r.hero.image.focalPoint.y],layout:"fill",objectFit:"cover"}),href:g(r,e.locale),element:"a",tag:r.articleTypeRef.label,serverContext:e},r.id);case"CustomerCaseRecord":return(0,t.jsx)(v.ResourceCard,{title:r.title,customer:r.customer,serverContext:e,image:(0,t.jsx)(y.DatoImageDynamic,{data:r.hero.image.responsiveImage,clientSideFocalPoint:[r.hero.image.focalPoint.x,r.hero.image.focalPoint.y],layout:"fill",objectFit:"cover"}),href:g(r,e.locale),element:"a"},r.id)}})}function x({serverContext:e,title:o,ctaHref:l,ctaLabel:u,anchorLink:f}){let{loading:p,totalCount:g,pageSize:y,page:v,setPage:T,hasResults:_,showPagination:S,filters:k,selectedFilters:E,filterChangeHandler:C,microcopy:P,resetFilters:$}=(0,w.useHighlightList)(),A=(0,i.useRef)(null);return(0,t.jsx)(d.Section,{children:(0,t.jsxs)("div",{ref:A,className:"flex flex-col gap-24 md:gap-36",children:[(0,t.jsx)("div",{className:(0,r.default)("md:text-almarai-48 mt-12 font-almarai text-almarai-34"),id:f,children:o}),(0,t.jsx)("div",{className:"flex w-full flex-col gap-12 md:flex-row md:items-center",children:k.map(e=>e.filters.length<=1?null:(0,t.jsx)(c,{label:e.label,options:e.filters.map(e=>({id:e.id,label:e.label,selected:!!E.find(t=>
2330t.id===e.id)})),onSelectionChange:C},e.type))}),(p||_)&&(0,t.jsxs)(m,{children:[p&&Array.from({length:3}).map((e,r)=>(0,t.jsx)(x.Placeholder,{},r)),_&&(0,t.jsx)(b,{serverContext:e})]}),!p&&!_&&(0,t.jsx)(x.Placeholder,{fullWidth:!0,children:(0,t.jsxs)("div",{className:"grid justify-items-center gap-y-16",children:[(0,t.jsx)(s,{children:P.noResults}),(0,t.jsx)(a.Button,{element:"button",onClick:$,children:P.noResultsResetLabel})]})}),S?(0,t.jsx)("div",{className:"flex w-full justify-center",children:(0,t.jsx)(h.Pagination,{totalCount:g,pageSize:y,initialPage:v,onClick:e=>{T(e);let t=document.getElementById(n.TOP_NAVIGATION_ID)?.clientHeight;if(A.current&&t){var r;window.scrollY-A.current.offsetTop+t>0&&(r=t+16,A?.current&&window.scrollTo({top:r?A.current.offsetTop-r:A.current.offsetTop,behavior:"smooth"}))}}})}):(0,t.jsx)(t.Fragment,{children:!!u&&!!l&&(0,t.jsx)("div",{className:"flex w-full justify-center",children:(0,t.jsx)(a.Button,{element:"a",href:l,children:u})})})]})})}x.Placeholder=function({children:e,pulse:i,bg:n=!0,fullWidth:s=!1}){return(0,t.jsx)("div",{className:(0,r.default)("flex h-384 items-center justify-center rounded-2xl",s&&"w-full",n&&"bg-grey-100",i&&"animate-pulse"),children:e})},e.s(["HighlightList",0,x],36043)},96086,e=>{"use strict";var t=e.i(72525),r=e.i(24439),i=e.i(62560);e.s(["DatoBlockCookiebot",0,function(){let e=(0,i.useRef)(null);return(0,i.useEffect)(()=>{if(!e.current)return;let t=document.createElement("script");return t.id="CookieDeclaration",t.src="https://consent.cookiebot.com/193d1caf-a692-4a81-8e36-36f4c49d606f/cd.js",t.async=!0,t.type="text/javascript",e.current.appendChild(t),()=>{t.remove()}},[]),(0,t.jsx)(r.Section,{contentWidth:"narrow",children:(0,t.jsx)("div",{ref:e})})}])},68886,e=>{e.v({buttonWrapper:"CtaCard-module__yi70ra__buttonWrapper",container:"CtaCard-module__yi70ra__container",textContainer:"CtaCard-module__yi70ra__textContainer"})},5075,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(62560),n=e.i(80177),s=e.i(68976),a=e.i(68886);e.s(["CtaCard",0,function({title:e,body:o,image:l,...u}){let c=(0,i.useRef)(null),[h,d]=(0,i.useState)(!1);return(0,t.jsx)("div",{className:(0,r.default)("relative grid h-[180px] rounded-[16px] transition-all duration-[0.4s] ease-[ease-in-out] md:h-[450px] lg:h-[560px] xl:h-[600px] 2xl:h-[650px]",a.default.container),onMouseOver:function(){d(!0)},onMouseOut:()=>{d(!h)},children:(0,t.jsx)(n.LinkWrapper,{ref:c,...u,children:(0,t.jsxs)("div",{className:(0,r.default)("flex h-full flex-col justify-end",a.default.container),children:[(0,t.jsx)("div",{className:(0,r.default)("absolute inset-0 transition-opacity duration-300",!h&&"opacity-0"),children:l}),(0,t.jsxs)("div",{className:(0,r.default)("z-[5] p-20 font-almarai lg:p-32"),children:[(0,t.jsx)("h3",{className:(0,r.default)("mb-8 text-almarai-28 lg:text-almarai-34 xl:text-almarai-40",h&&"transition-[color] duration-[0.3s] ease-[ease] md:text-white"),children:e}),(0,t.jsx)("div",{className:(0,r.default)("md:text-white",a.default.textContainer),"data-active":h,children:o})]}),(0,t.jsxs)("div",{className:(0,r.default)("absolute",a.default.buttonWrapper),children:[(0,t.jsx)("svg",{id:"Top_corner",className:(0,r.default)("absolute z-[5] fill-white"),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 78 69",width:"78",height:"69",children:(0,t.jsx)("path",{d:"M0 0H77V64.1094C77.0938 65.875 77 67.5833 77 69V64.1094C76.7188 58.8125 74.75 53 63.5 53H29.5C24.6667 52.5 15 50.3 15 39.5V15C15 8 10.8 0 0 0Z"})}),(0,t.jsx)("div",{className:(0,r.default)("absolute right-0 top-0 z-[5]"),children:(0,t.jsx)(s.ArrowButton,{})})]})]})})})}])},7985,e=>{"use strict";var t=e.i(72525),r=e.i(80177);e.s(["SiteLogo",0,function({logoUrl:e,locale:i}){return(0,t.jsx)(r.LinkWrapper,{element:"a",href:"en"!=i?`/${i}`:"/",className:"flex h-full w-auto shrink-0","aria-label":"Staria logo",children:(0,t.jsx)("img",{src:e,alt:"Staria logo",className:"h-full max-h-64 min-h-[30px] w-auto min-w-[133px] max-xl:min-h-[30px] max-xl:w-[80px] max-xl:min-w-[1px]"})})}])},31545,e=>{e.v({desktopSvgBottom:"FrontPageHero-module__h3AZLG__desktopSvgBottom",desktopSvgBottomCorner:"FrontPageHero-module__h3AZLG__desktopSvgBottomCorner",desktopSvgTop:"FrontPageHero-module__h3AZLG__desktopSvgTop",desktopSvgTopCorner:"FrontPageHero-module__h3AZLG__desktopSvgTopCorner",hero:"FrontPageHero-module__h3AZLG__hero",imageContainer:"FrontPageHero-module__h3AZLG__imageContainer",logoWrapper:"FrontPageHero-module__h3AZLG__logoWrapper",mobileSvgBottom:"FrontPageHero-module__h3AZLG__mobileSvgBottom",mobileSvgTop:"FrontPageHero-module__h3AZLG__mobileSvgTop",overlayTextContainer:"FrontPageHero-module__h3AZLG__overlayTextContainer",tabletSvgBottom:"FrontPageHero-module__h3AZLG__tabletSvgBottom"})},37059,e=>{"use strict";
2330var t=e.i(72525),r=e.i(7284),i=e.i(62560),n=e.i(620),s=e.i(31835),a=e.i(7985),o=e.i(31545);e.s(["FrontPageHero",0,function({title:e,body:l,backgroundImage:u,ctaHref:c,ctaLabel:h,externalLink:d,decorativeImage:m,overlayText:f,logoUrl:p,serverContext:g}){let y=(0,i.useRef)(null),v=(0,n.useElementHeightCSSProperty)(y);return(0,t.jsxs)("header",{ref:y,style:v,className:(0,r.default)("mx-20 flex flex-col",o.default.hero),children:[(0,t.jsx)("div",{className:(0,r.default)("relative flex h-[600px] flex-col items-center md:h-[500px] xl:h-[600px]"),children:(0,t.jsxs)("div",{className:(0,r.default)("relative h-full w-full max-w-[1700px] md:pb-0",v,o.default.imageContainer),children:[(0,t.jsx)("div",{className:(0,r.default)("absolute left-20 top-20 z-[30] h-fit w-112 xl:left-32",o.default.logoWrapper),children:(0,t.jsx)(a.SiteLogo,{locale:g.locale,logoUrl:p})}),(0,t.jsx)("svg",{id:"Top_corner_mobile",className:(0,r.default)("absolute z-[5] fill-white",o.default.mobileSvgTop),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 60 47",children:(0,t.jsx)("path",{d:"M13.5 16.5C13.5 4.1 4.83333 0.333333 0.5 0H43C57 0 60.1667 11.6667 60 17.5V46.5C60 36.1 52 32.5 48 32H27C15.4 32 13.1667 21.6667 13.5 16.5Z"})}),(0,t.jsx)("svg",{id:"Top_corner_desktop",className:(0,r.default)("absolute z-[5] fill-white",o.default.desktopSvgTopCorner),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{d:"M30 32C29.5 21 21 3.87879 0 1.93939V0H32V32H30Z"})}),(0,t.jsx)("svg",{id:"Bottom_long_desktop",className:(0,r.default)("absolute z-[5] translate-y-[0.5px] fill-white",o.default.desktopSvgBottom),width:"617",height:"49",viewBox:"0 0 617 49",shapeRendering:"crispEdges",children:(0,t.jsx)("path",{d:"M595.5 24.7526C595.5 6.56701 580.333 0.67354 573 0H0V49H617C609.667 48.4948 595.5 42.9381 595.5 24.7526Z"})}),(0,t.jsx)("svg",{id:"Bottom_long_tablet",className:(0,r.default)("absolute z-[5] translate-y-[0.5px] fill-white",o.default.tabletSvgBottom),width:"335",height:"49",viewBox:"0 0 335 49",shapeRendering:"crispEdges",children:(0,t.jsx)("path",{d:"M313.5 24.7526C313.5 6.56701 298.333 0.67354 291 0H0V49H335C327.667 48.4949 313.5 42.9381 313.5 24.7526Z"})}),(0,t.jsx)("svg",{id:"Bottom_long_mobile",className:(0,r.default)("absolute z-[5] fill-white",o.default.mobileSvgBottom),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 157 51",children:(0,t.jsx)("path",{d:"M14 14.5C3.6 14.5 0.333333 5.16667 0 0.5V51H157C146.2 51 143.5 38.6667 143.5 32.5C143.5 18.1 134.5 14.5 130 14.5H14Z"})}),(0,t.jsx)("svg",{id:"Bottom_corner_desktop",className:(0,r.default)("absolute z-[5] fill-white",o.default.desktopSvgBottomCorner),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 32 32",children:(0,t.jsx)("path",{d:"M2 -2.62268e-06C2.5 11 11 28.1212 32 30.0606L32 32L0 32L2.79753e-06 -2.79753e-06L2 -2.62268e-06Z"})}),(0,t.jsx)("div",{className:(0,r.default)("relative w-full md:pb-0",o.default.imageContainer)}),u,f&&(0,t.jsx)("div",{className:(0,r.default)("relative h-full w-full",o.default.overlayTextContainer),children:f.map(e=>e)}),(0,t.jsx)("div",{className:"absolute left-0 top-0 flex min-h-[600px] w-full items-end justify-center py-48 text-center md:min-h-[500px] md:p-32 md:py-80 xl:md:h-[600px]",children:(0,t.jsxs)("div",{className:"flex flex-col gap-24 px-20 pb-32 font-almarai text-white md:w-[70%] lg:w-[40%] xl:pb-64",children:[(0,t.jsx)("h1",{className:"text-almarai-34 lg:text-almarai-44",children:e}),!!h&&!!c&&(0,t.jsx)("div",{className:"flex justify-center",children:(0,t.jsx)(s.Button,{element:"a",href:c,outline:!0,externalLink:d,children:h})})]})}),(0,t.jsx)("div",{className:"pointer-events-none absolute -bottom-1/2 right-96 z-10 h-[412px] w-[412px] -translate-y-1/4 max-[1160px]:bottom-0 max-[1160px]:h-[162px] max-[1160px]:w-[162px] max-[1160px]:translate-y-1/2 max-[540px]:right-40",children:m})]})}),(0,t.jsx)("div",{className:"mx-auto w-full max-w-[1700px] pl-0 pt-10 min-[940px]:pl-[60px]",children:(0,t.jsx)("div",{className:"max-w-[500px] pb-48 max-[940px]:max-w-full max-[940px]:py-96",children:l})})]})}])},71980,e=>{e.v({richText:"RichText-module__n5QfTa__richText"})},10598,e=>{"use strict";var t=e.i(72525),r=e.i(7284);e.s(["Tagline",0,function({decorative:e,children:i,theme:n="light"}){return(0,t.jsxs)("div",{className:(0,r.default)("flex w-fit flex-row items-center font-splineSansMono font-almarai-light uppercase",e?"gap-20 text-spline-sans-mono-12 tracking-[1px] text-white opacity-80":"gap-16 text-spline-sans-mono-14 tracking-[1px]"),children:[(0,t.jsx)("div",{className:(0,r.default)("h-10 w-10 bg-sky-4
233000",e?"bg-sky-300":"bg-sky-400")}),(0,t.jsx)("p",{className:(0,r.default)("dark"===n?"text-white":"text-black"),children:i})]})}])},62689,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(62560),n=e.i(71980);function s({children:e,spacing:i="md"}){return(0,t.jsx)("div",{className:(0,r.default)("grid","sm"===i&&"gap-y-8","md"===i&&"gap-y-20",n.default.richText),children:e})}var a=e.i(10598);e.s(["HubspotForm",0,function({tagline:e,title:n,body:o,formId:l,anchorLink:u,variant:c="within-section"}){return(0,i.useEffect)(()=>{let e=document.createElement("script");e.src="//js.hsforms.net/forms/embed/v2.js",document.body.append(e),e.addEventListener("load",()=>{window.hbspt&&window.hbspt.forms.create({region:"na1",portalId:"2550450",formId:l,target:"#hubspot-form-"+l})})},[l]),(0,t.jsxs)("div",{className:(0,r.default)("flex flex-col gap-20","within-block"===c&&"rounded-2xl bg-cloud-100 px-16 py-32 md:px-32 md:py-48"),id:u,children:[e&&(0,t.jsx)(a.Tagline,{children:e}),n&&(0,t.jsx)("h2",{className:(0,r.default)("text-almarai-28 md:text-almarai-34"),children:n}),o&&(0,t.jsx)(s,{spacing:"md",children:o}),(0,t.jsx)("div",{id:"hubspot-form-"+l,className:(0,r.default)("within-section"===c&&"hubspot-form-light","within-block"===c&&"hubspot-form-cloud","hubspot-form")})]})}],62689)},69961,e=>{e.v({animateIn:"InlineSvg-module__IdMxeG__animateIn"})},27399,e=>{e.v({iconContainer:"ListItem-module__Wi2d5W__iconContainer"})},44205,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(62560);e.i(2277);var n=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],s={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",
2330nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode
2330-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function a(e,t,r){let i=[...e].map((e,i)=>l(e,{...r,index:i,level:t+1})).filter(Boolean);return i.length?i:null}function o(e,t={}){return"string"==typeof e?function(e,t={}){if(!e||"string"!=typeof e)return null;let{includeAllNodes:r=!1,nodeOnly:i=!1,selector:n="body > *",type:s="text/html"}=t;try{let a=new DOMParser().parseFromString(e,s);if(r){let{childNodes:e}=a.body;if(i)return e;return[...e].map(e=>l(e,t))}let o=a.querySelector(n)||a.body.childNodes[0];if(!(o instanceof Node))throw TypeError("Error parsing input");if(i)return o;return l(o,t)}catch(e){}return null}(e,t):e instanceof Node?l(e,t):null}function l(e,t={}){if(!e||!(e instanceof Node))return null;let{actions:r=[],index:o=0,level:u=0,randomKey:c}=t,h=e,d=`${u}-${o}`,m=[];return(c&&0===u&&(d=`${function(e=6){let t="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",r="";for(let i=e;i>0;--i)r+=t[Math.round(Math.random()*(t.length-1))];return r}()}-${d}`),Array.isArray(r)&&r.forEach(t=>{t.condition(h,d,u)&&("function"==typeof t.pre&&((h=t.pre(h,d,u))instanceof Node||(h=e)),"function"==typeof t.post&&m.push(t.post(h,d,u)))}),m.length)?m:function(e,t){let{key:r,level:o,...l}=t;switch(e.nodeType){case 1:var u;return i.createElement((u=e.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(u)?u:u.toLowerCase()),function(e,t){let r={key:t};if(e instanceof Element){let t=e.getAttribute("class");t&&(r.className=t),[...e.attributes].forEach(e=>{switch(e.name){case"class":break;case"style":var t;r[e.name]="string"!=typeof(t=e.value)?{}:t.split(/ ?; ?/).reduce((e,t)=>{let[r,i]=t.split(/ ?: ?/).map((e,t)=>0===t?e.replace(/\s+/g,""):e.trim());if(r&&i){let t=r.replace(/(\w)-(\w)/g,(e,t,r)=>`${t}${r.toUpperCase()}`),n=i.trim();Number.isNaN(Number(i))||(n=Number(i)),e[r.startsWith("-")?r:t]=n}return e},{});break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":r[s[e.name]||e.name]=!0;break;default:r[s[e.name]||e.name]=e.value}})}return r}(e,r),a(e.childNodes,o,l));case 3:{let t=e.nodeValue?.toString()??"";if(!l.allowWhiteSpaces&&/^\s+$/.test(t)&&!/[\u00A0\u202F]/.test(t))return null;if(!e.parentNode)return t;let r=e.parentNode.nodeName.toLowerCase();if(n.includes(r))return/\S/.test(t)&&console.warn(`A textNode is not allowed inside '${r}'. Your text "${t}" will be ignored`),null;return t}case 8:default:return null;case 11:return a(e.childNodes,o,t)}}(h,{key:d,level:u,...t})}var u=Object.defineProperty,c=(e,t,r)=>{let i;return(i="symbol"!=typeof t?t+"":t)in e?u(e,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[i]=r}
2330,h="idle",d="loading",m="loaded",f="failed",p="ready",g="unsupported";function y(){return!!("u">typeof window&&window.document?.createElement)}async function v(e,t){let r=await fetch(e,t),[i]=(r.headers.get("content-type")??"").split(/ ?; ?/);if(r.status>299)throw Error("Not found");if(!["image/svg+xml","text/plain"].some(e=>i.includes(e)))throw Error(`Content type isn't valid: ${i}`);return r.text()}var w=class{constructor(e={}){c(this,"cacheApi"),c(this,"cacheStore"),c(this,"subscribers",[]),c(this,"isReady",!1);const{name:t="react-inlinesvg",persistent:r=!1}=e;this.cacheStore=new Map,r&&y()&&"caches"in window?caches.open(t).then(e=>{this.cacheApi=e}).catch(e=>{console.error(`Failed to open cache: ${e.message}`),this.cacheApi=void 0}).finally(()=>{this.isReady=!0;let e=[...this.subscribers];this.subscribers.length=0,e.forEach(e=>{try{e()}catch(e){console.error(`Error in CacheStore subscriber callback: ${e.message}`)}})}):this.isReady=!0}onReady(e){return this.isReady?(e(),()=>{}):(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);t>=0&&this.subscribers.splice(t,1)})}waitForReady(){return this.isReady?Promise.resolve():new Promise(e=>{this.onReady(e)})}async get(e,t){return await this.fetchAndCache(e,t),this.cacheStore.get(e)?.content??""}getContent(e){return this.cacheStore.get(e)?.content??""}set(e,t){this.cacheStore.set(e,t)}isCached(e){return this.cacheStore.get(e)?.status===m}async fetchAndCache(e,t){this.isReady||await this.waitForReady();let r=this.cacheStore.get(e);if(r?.status!==m){if(r?.status===d){await this.handleLoading(e,t?.signal||void 0,async()=>{this.cacheStore.set(e,{content:"",status:h}),await this.fetchAndCache(e,t)});let r=this.cacheStore.get(e);if(r?.status===f){if(r.error)throw r.error;this.cacheStore.delete(e),await this.fetchAndCache(e,t)}return}this.cacheStore.set(e,{content:"",status:d});try{let r=this.cacheApi?await this.fetchFromPersistentCache(e,t):await v(e,t);this.cacheStore.set(e,{content:r,status:m})}catch(r){let t=r?.name==="AbortError";throw this.cacheStore.set(e,{content:"",error:t?void 0:r,status:f}),r}}}async fetchFromPersistentCache(e,t){let r=await this.cacheApi?.match(e);if(r)return r.text();await this.cacheApi?.add(new Request(e,t));let i=await this.cacheApi?.match(e);return await i?.text()??""}async handleLoading(e,t,r){for(let r=0;r<10;r++){if(t?.aborted)throw t.reason instanceof Error?t.reason:new DOMException("The operation was aborted.","AbortError");if(this.cacheStore.get(e)?.status!==d)return;await function(e=1){return new Promise(t=>{setTimeout(t,1e3*e)})}(.1)}await r()}keys(){return[...this.cacheStore.keys()]}data(){return[...this.cacheStore.entries()].map(([e,t])=>({[e]:t}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){let e=await this.cacheApi.keys();await Promise.allSettled(e.map(e=>this.cacheApi.delete(e)))}this.cacheStore.clear()}};function b(e){let t=(0,i.useRef)(void 0);return(0,i.useEffect)(()=>{t.current=e}),t.current}function x(e){let{baseURL:t,content:r,description:i,handleError:n,hash:s,preProcessor:a,title:l,uniquifyIDs:u=!1}=e;try{var c,h;let e,n=a?a(r):r;u&&(c=n,h=t??"",n=(e=[...new Set([...c.matchAll(/\bid=(["'])([^"']+)\1/g)].map(e=>e[2]))]).length?(e.sort((e,t)=>t.length-e.length),c.replace(/<style[^>]*>([\S\s]*?)<\/style>/gi,(t,r)=>{let i=r;for(let t of e){let e=t.replace(/[$()*+.?[\\\]^{|}]/g,"\\$&");i=(i=i.replace(RegExp(`url\\((['"]?)#${e}\\1\\)`,"g"),`url($1${h}#${t}__${s}$1)`)).replace(RegExp(`#${e}(?![a-zA-Z0-9_-])`,"g"),`#${t}__${s}`)}return t.replace(r,i)})):c);let d=o(n,{nodeOnly:!0});if(!d||!(d instanceof SVGSVGElement))throw Error("Could not convert the src to a DOM Node");let m=function e(t,r){let{baseURL:i="",hash:n,uniquifyIDs:s}=r,a=["id","href","xlink:href","xlink:role","xlink:arcrole"],o=["href","xlink:href"];return s&&[...t.children].forEach(t=>{if(t.attributes?.length){let e=Object.values(t.attributes).map(e=>{let t=/url\((.*?)\)/.exec(e.value);return t?.[1]&&(e.value=e.value.replace(t[0],`url(${i}${t[1]}__${n})`)),e});a.forEach(t=>{let r,i=e.find(e=>e.name===t);i&&(r=i.value,!o.includes(t)||!r||r.includes("#"))&&(i.value=`${i.value}__${n}`)})}return t.children.length?e(t,r):t}),t}(d,{baseURL:t,hash:s,uniquifyIDs:u});if(i){let e=m.querySelector("desc");e?.parentNode&&e.parentNode.removeChild(e);let t=document.createElementNS("http://www.w3.org/2000/svg","desc");t.innerHTML=i,m.prepend(t)}if(void 0!==l){let e=m.querySelector("title");if(e?.parentNode&&e.parentNode.removeChild(e),l){let e=document.createElementNS("http://www.w3.org/2000/svg","title");
2330e.innerHTML=l,m.prepend(e)}}return m}catch(e){return n(e)}}var T=(0,i.createContext)(null),_=new w;function S(e){let{children:t=null,innerRef:r,loader:n=null}=e,{element:s,status:a}=function(e,t){var r;let{baseURL:n,cacheRequests:s=!0,description:a,fetchOptions:l,onError:u,onLoad:c,preProcessor:w,src:T,title:_,uniqueHash:S,uniquifyIDs:k}=e,E=(0,i.useRef)(S??function(){let e="abcdefghijklmnopqrstuvwxyz",t=`${e}${e.toUpperCase()}1234567890`,r="";for(let e=0;e<8;e++)r+=t[Math.floor(Math.random()*t.length)];return r}()),C=(0,i.useRef)(l),P=(0,i.useRef)(u),$=(0,i.useRef)(c),A=(0,i.useRef)(w);C.current=l,P.current=u,$.current=c,A.current=w;let[L,I]=(0,i.useReducer)((e,t)=>({...e,...t}),{content:"",element:null,isCached:!1,status:h},r=>{if(!(s&&t.isCached(T)))return r;let n=t.getContent(T);try{let t=x({...e,handleError:()=>{},hash:E.current,content:n});if(!t)return{...r,content:n,isCached:!0,status:m};let s=o(t);if(s&&(0,i.isValidElement)(s))return{content:n,element:s,isCached:!0,status:p}}catch{}return{...r,content:n,isCached:!0,status:m}}),{content:O,element:M,isCached:R,status:j}=L,D=b(e),N=b(L),F=(0,i.useRef)(!1),V=(0,i.useRef)(!1),B=(0,i.useCallback)(e=>{F.current&&(I({status:"Browser does not support SVG"===e.message?g:f}),P.current?.(e))},[]),q=(0,i.useCallback)(()=>{try{let e=x({baseURL:n,content:O,description:a,handleError:B,hash:E.current,preProcessor:A.current,src:T,title:_,uniquifyIDs:k}),t=o(e);if(!t||!(0,i.isValidElement)(t))throw Error("Could not convert the src to a React element");I({element:t,status:p})}catch(e){B(e)}},[n,O,a,B,T,_,k]);return r=()=>{if(F.current=!0,y()&&!V.current){try{if(j===p)$.current?.(T,R);else if(j===h){if(!(function(){if(!document)return!1;let e=document.createElement("div");e.innerHTML="<svg />";let t=e.firstChild;return!!t&&"http://www.w3.org/2000/svg"===t.namespaceURI}()&&"u">typeof window&&null!==window))throw Error("Browser does not support SVG");if(!T)throw Error("Missing src");I({content:"",element:null,isCached:!1,status:d})}}catch(e){B(e)}return V.current=!0,()=>{F.current=!1}}},(0,i.useEffect)(r,[]),(0,i.useEffect)(()=>{if(y()&&D&&D.src!==T){if(!T)return void B(Error("Missing src"));I({content:"",element:null,isCached:!1,status:d})}},[B,D,T]),(0,i.useEffect)(()=>{if(j!==d)return;let e=new AbortController,r=!0;return(async()=>{try{let i,n,a=/^data:image\/svg[^,]*?(;base64)?,(.*)/.exec(T);if(a?i=a[1]?window.atob(a[2]):decodeURIComponent(a[2]):T.includes("<svg")&&(i=T),i){r&&I({content:i,isCached:!1,status:m});return}let o={...C.current,signal:e.signal},l=!1;s?(l=t.isCached(T),n=await t.get(T,o)):n=await v(T,o),r&&I({content:n,isCached:l,status:m})}catch(e){r&&"AbortError"!==e.name&&B(e)}})(),()=>{r=!1,e.abort()}},[s,t,B,T,j]),(0,i.useEffect)(()=>{j===m&&O&&q()},[O,q,j]),(0,i.useEffect)(()=>{y()&&D&&D.src===T&&(D.title!==_||D.description!==a)&&q()},[a,q,D,T,_]),(0,i.useEffect)(()=>{N&&j===p&&N.status!==p&&$.current?.(T,R)},[R,N,T,j]),{element:M,status:j}}(e,(0,i.useContext)(T)??_);return y()?s?(0,i.cloneElement)(s,{ref:r,...function(e,...t){let r={};for(let i in e)({}).hasOwnProperty.call(e,i)&&!t.includes(i)&&(r[i]=e[i]);return r}(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs")}):[g,f].includes(a)?t:n:n}var k=e.i(69961);function E({url:e,className:i,loaderColor:n="white",fillWithCurrentColor:s=!0}){return(0,t.jsx)(S,{className:(0,r.default)("w-full h-full",k.default.animateIn,i),src:e,loader:(0,t.jsx)("div",{className:(0,r.default)("w-full h-full rounded-full animate-pulse","white"===n&&"bg-white/25","grey"===n&&"bg-grey-300")}),cacheRequests:!0,preProcessor:e=>
2330s?e.replace(/fill=".*?"/g,'fill="currentColor"'):e,width:24,height:24})}var C=e.i(27399);e.s(["ListItem",0,function({title:e,body:n,icon:s,isStepper:a}){let o=(0,i.useRef)(null),[l,u]=(0,i.useState)(null);return(0,i.useEffect)(()=>{o.current&&u(o.current.offsetHeight)},[]),(0,t.jsxs)("li",{className:(0,r.default)("flex items-start gap-32"),children:[(0,t.jsxs)("div",{className:(0,r.default)("relative flex-shrink-0",C.default.iconContainer),children:[s&&(0,t.jsx)(E,{url:s}),!s&&a&&(0,t.jsx)("svg",{width:"37",height:"37",viewBox:"0 0 37 37",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{d:"M34.1667 18.2221C34.1704 18.6892 34.0284 19.1459 33.7605 19.5286C33.4926 19.9113 33.1121 20.201 32.672 20.3575L23.6406 23.6418L20.3578 32.6717C20.196 33.1076 19.9046 33.4836 19.5229 33.7491C19.1412 34.0146 18.6873 34.1569 18.2223 34.1569C17.7574 34.1569 17.3035 34.0146 16.9218 33.7491C16.5401 33.4836 16.2487 33.1076 16.0869 32.6717L12.8041 23.6404L3.77274 20.3575C3.33683 20.1957 2.96087 19.9044 2.69539 19.5226C2.4299 19.1409 2.2876 18.6871 2.2876 18.2221C2.2876 17.7571 2.4299 17.3033 2.69539 16.9216C2.96087 16.5398 3.33683 16.2485 3.77274 16.0867L12.8041 12.8039L16.0869 3.77249C16.2487 3.33658 16.5401 2.96063 16.9218 2.69514C17.3035 2.42966 17.7574 2.28735 18.2223 2.28735C18.6873 2.28735 19.1412 2.42966 19.5229 2.69514C19.9046 2.96063 20.196 3.33658 20.3578 3.77249L23.642 12.8039L32.672 16.0867C33.1121 16.2432 33.4926 16.5329 33.7605 16.9156C34.0284 17.2983 34.1704 17.755 34.1667 18.2221Z",fill:"#69188E"})}),a&&(0,t.jsx)("span",{className:(0,r.default)("absolute left-2/4 top-[150%] w-1 bg-grey-500"),style:{height:`${l}px`}})]}),(0,t.jsxs)("div",{className:(0,r.default)("flex flex-col gap-14"),children:[(0,t.jsx)("h3",{className:(0,r.default)("text-almarai-18 font-almarai-bold text-purple-500"),children:e}),(0,t.jsx)("div",{className:(0,r.default)("flex h-auto flex-col gap-20",a&&"min-h-[90px]"),ref:o,children:n})]})]})}],44205)},56807,(e,t,r)=>{"use strict";var i;Object.defineProperty(r,"__esModule",{value:!0}),r.TaskCollisionStrategy=void 0,(i=r.TaskCollisionStrategy||(r.TaskCollisionStrategy={}))[i.DEFAULT=0]="DEFAULT",i[i.KEEP_THIS=1]="KEEP_THIS",i[i.KEEP_OTHER=2]="KEEP_OTHER",i[i.KEEP_BOTH=3]="KEEP_BOTH",i[i.RESOLVE_THIS=4]="RESOLVE_THIS",i[i.RESOLVE_OTHER=5]="RESOLVE_OTHER"},52141,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=class{constructor(e,t){this._code=e,this._message=t}get code(){return this._code}get message(){return this._message}}},31815,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.mutexEquality=r.mutexBitwiseAnd=void 0,r.mutexBitwiseAnd=function(e,t){return(e&t)!=0},r.mutexEquality=function(e,t){return e===t}},80039,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=class{constructor(e,t){this._meta=void 0,this._task=e,this._scheduler=t}withDescriptor(e){return this._descriptor=e,this}withMutex(e){return this._mutex=e,this}withMeta(e){return this._meta=e,this}runBeforeExecuting(e){return this._onPreExecute=e,this}handleCollisions(e){return this._onTaskCollision=e,this}execute(e){return this._scheduler.enqueue({priority:e,mutex:this._mutex,descriptor:this._descriptor,meta:this._meta,execute:this._task,onPreExecute:this._onPreExecute,onTaskCollision:this._onTaskCollision})}}},5946,(e,t,r)=>{"use strict";var i,n,s=e.e&&e.e.__awaiter||function(e,t,r,i){return new(r||(r=Promise))(function(n,s){function a(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((i=i.apply(e,t||[])).next())})},a=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0});let o=e.r(56807),l=a(e.r(52141)),u=e.r(31815),c=a(e.r(80039));function h(e,t){for(let r of e.listeners)r.reject(t)}(i=n||(n={}))[i.PENDING=0]="PENDING",i[i.EXECUTING=1]="EXECUTING",i[i.TERMINATED=2]="TERMINATED",r.default=class{constructor(e,t={}){this._queue=[],this._isExecuting=!1,this._idleListeners=[],this._maxConcurrentTasks=e,this._samePriorityMutex=!!t.samePriorityMutex,this._mutexStrategy=t.mutexStrategy||u.mutexEquality,t.disableLogging?this._errorLog=()=>{}:this._errorLog=console.error}enqueue(e){return new Promise((t,r)=>{"function"==typeof e&&(e={priority:0,execute:e});let i=this._checkMutexes(e,t,r);i.task?this._addTask(i.task):i.canceled&&r(this.createCanceledError())})}prepare(e){return new c.default(e,this)}_addTask(e){this._queue.push(e),this._applyPriorities(),this._isExecuting||(this._isExecuting=!0,setTimeout(this._executeNextTasks.bind(this)))}get executingTasks(){return this._queue.reduce((e,t)=>
2330t.state===n.EXECUTING?e+1:e,0)}createCanceledError(){return new l.default(50,"Task has been canceled in favor of another task")}_findFirstPendingTask(){return this._queue.find(e=>e.state===n.PENDING)}_isIdle(){return 0===this._queue.length||!this._queue.find(e=>e.state!==n.TERMINATED)}_removeTaskAt(e){this._queue.splice(e,1)}_executeTask(e){return s(this,void 0,void 0,function*(){try{return e.task.onPreExecute&&e.task.onPreExecute(),yield e.task.execute()}catch(e){throw e}finally{e.state=n.TERMINATED;let t=this._queue.indexOf(e);this._removeTaskAt(t),this._executeNextTasks()}})}_executeNextTasks(){let e=this.executingTasks;if(e>=this._maxConcurrentTasks)return;let t=this._maxConcurrentTasks-e;for(let e=0;e<t;e++){let e=this._findFirstPendingTask();if(!e){this._isIdle()&&this._switchToIdle();return}e.state=n.EXECUTING,this._executeTask(e).then(t=>{for(let{resolve:r}of e.listeners)try{r(t)}catch(e){this._errorLog("An error occurred while resolving listener",e)}}).catch(t=>{for(let{reject:r}of e.listeners)try{r(t)}catch(e){this._errorLog("An error occurred while rejecting listener",e)}})}}_switchToIdle(){this._isExecuting=!1;let e=this._idleListeners;for(let{resolve:t}of(this._idleListeners=[],e))try{t()}catch(e){}}waitForIdle(){return this._isExecuting?new Promise((e,t)=>{this._idleListeners.push({resolve:e,reject:t})}):Promise.resolve()}_applyPriorities(){this._queue.sort((e,t)=>t.task.priority-e.task.priority)}_checkMutexes(e,t,r){for(let i=0;i<this._queue.length;i++){let s,a,l=this._queue[i];if(l.state!==n.TERMINATED&&(!this._samePriorityMutex||l.task.priority==e.priority)&&l.task.mutex&&e.mutex&&this._mutexStrategy(l.task.mutex,e.mutex)){if(l.task.onTaskCollision){if((s=l.task.onTaskCollision(e))===o.TaskCollisionStrategy.KEEP_OTHER&&l.state!==n.EXECUTING){this._removeTaskAt(i--),h(l,this.createCanceledError());continue}if(s===o.TaskCollisionStrategy.KEEP_THIS)return{canceled:!0};if(s===o.TaskCollisionStrategy.RESOLVE_OTHER)return this._removeTaskAt(i--),{canceled:!1,task:{task:e,state:n.PENDING,listeners:[{resolve:t,reject:r},...l.listeners]}};else if(s===o.TaskCollisionStrategy.RESOLVE_THIS)return l.listeners=[...l.listeners,{resolve:t,reject:r}],{canceled:!1}}if(e.onTaskCollision){if((a=e.onTaskCollision(l.task))===o.TaskCollisionStrategy.KEEP_OTHER)return{canceled:!0};if(a===o.TaskCollisionStrategy.KEEP_THIS){this._removeTaskAt(i--),h(l,this.createCanceledError());continue}if(a===o.TaskCollisionStrategy.RESOLVE_OTHER)return l.listeners=[...l.listeners,{resolve:t,reject:r}],{canceled:!1};else if(a===o.TaskCollisionStrategy.RESOLVE_THIS)return this._removeTaskAt(i--),{canceled:!1,task:{task:e,state:n.PENDING,listeners:[{resolve:t,reject:r},...l.listeners]}}}if(s!==o.TaskCollisionStrategy.KEEP_BOTH||a!==o.TaskCollisionStrategy.KEEP_BOTH)return{canceled:!0}}}return{canceled:!1,task:{task:e,state:n.PENDING,listeners:[{resolve:t,reject:r}]}}}}},26909,(e,t,r)=>{"use strict";var i=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.mutexEquality=r.mutexBitwiseAnd=r.SchedulerError=r.TaskCollisionStrategy=r.Scheduler=void 0,r.Scheduler=i(e.r(5946)).default;let n=e.r(56807);Object.defineProperty(r,"TaskCollisionStrategy",{enumerable:!0,get:function(){return n.TaskCollisionStrategy}}),r.SchedulerError=i(e.r(52141)).default;let s=e.r(31815);Object.defineProperty(r,"mutexBitwiseAnd",{enumerable:!0,get:function(){return s.mutexBitwiseAnd}}),Object.defineProperty(r,"mutexEquality",{enumerable:!0,get:function(){return s.mutexEquality}})},76594,e=>{e.v({SearchWidget:"SearchWidget-module__i0L4Mq__SearchWidget",resultBody:"SearchWidget-module__i0L4Mq__resultBody",resultTitle:"SearchWidget-module__i0L4Mq__resultTitle",textContainer:"SearchWidget-module__i0L4Mq__textContainer"})},7609,e=>{e.v({desktopSvgBottom:"PageHero-module__tKgKma__desktopSvgBottom",desktopSvgBottomCorner:"PageHero-module__tKgKma__desktopSvgBottomCorner",desktopSvgTop:"PageHero-module__tKgKma__desktopSvgTop",desktopSvgTopCorner:"PageHero-module__tKgKma__desktopSvgTopCorner",hero:"PageHero-module__tKgKma__hero",imageContainer:"PageHero-module__tKgKma__imageContainer",imageWrapper:"PageHero-module__tKgKma__imageWrapper",logoWrapper:"PageHero-module__tKgKma__logoWrapper",mobileSvgBottom:"PageHero-module__tKgKma__mobileSvgBottom",mobileSvgBottomCorner:"PageHero-module__tKgKma__mobileSvgBottomCorner",mobileSvgTop:"PageHero-module__tKgKma__mobileSvgTop",overlayTextContainer:"PageHero-module__tKgKma__overlayTextContainer"})},26646,e=>{"use strict";var t,r,i,n,s=e.i(72525);
2330class a extends Error{constructor(e){super("API Error!"),Object.setPrototypeOf(this,new.target.prototype),"captureStackTrace"in Error?Error.captureStackTrace(this,o):this.stack=Error().stack,this.request=e.request,this.preCallStack=e.preCallStack,this.message=`${e.request.method} ${e.request.url}: Timeout error`,this.preCallStack&&(this.stack+=` 2331Caused By: 2332${this.preCallStack}`)}}class o extends Error{constructor(e){super("API Error!"),Object.setPrototypeOf(this,new.target.prototype),"captureStackTrace"in Error?Error.captureStackTrace(this,o):this.stack=Error().stack,this.request=e.request,this.response=e.response,this.preCallStack=e.preCallStack;let t=`${e.request.method} ${e.request.url}: ${this.response.status} ${this.response.statusText}`;this.errors.length>0&&(t+=` 2333 2334${JSON.stringify(this.errors,null,2)}`),this.message=t,this.preCallStack&&(this.stack+=` 2335Caused By: 2336${this.preCallStack}`)}get errors(){return!function(e){if("object"!=typeof e||null===e||!("data"in e)||!Array.isArray(e.data)||0===e.data.length)return!1;let t=e.data[0];return"object"==typeof t&&null!==t&&"id"in t&&"type"in t&&"attributes"in t&&"api_error"===t.type}(this.response.body)?[]:this.response.body.data}findError(e,t){let r=Array.isArray(e)?e:[e];return this.errors.find(e=>r.includes(e.attributes.code)&&(!t||("function"==typeof t?t(e.attributes.details):Object.entries(t).every(([t,r])=>e.attributes.details[t]===r))))}}function l(e){return new Promise(t=>{setTimeout(t,e)})}var u=e.i(26909);function c(e){return"object"==typeof e&&!!e&&"data"in e}function h({__itemTypeId:e,id:t,type:r,attributes:i,relationships:n,meta:s}){return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},e?{__itemTypeId:e}:{}),t?{id:t}:{}),r?{type:r}:{}),i||{}),n?Object.fromEntries(Object.entries(n).map(([e,t])=>[e,null==t?void 0:t.data])):{}),s?{meta:s}:{})}function d(e){if(!c(e))throw Error("Invalid body!");return Array.isArray(e.data)?e.data.map(h):h(e.data)}function m(e){return!!(e&&"object"==typeof e&&"type"in e&&"item"===e.type)}function f(e){if(!m(e))return e;let t=e.attributes?function e(t){if(Array.isArray(t))return t.map(e);if(t&&"object"==typeof t){if(m(t))return f(t);let r={};for(let[i,n]of Object.entries(t))r[i]=e(n);return r}return t}(e.attributes):e.attributes;return Object.assign(Object.assign({},e),{attributes:t,__itemTypeId:e.relationships.item_type.data.id})}function p(e){let t,r;if(!c(e))throw Error("Invalid body!");return t=Array.isArray(e.data)?e.data.map(f):f(e.data),"object"==typeof e&&e&&"included"in e&&(r=e.included.map(f)),Object.assign(Object.assign(Object.assign({},e),{data:t}),r?{included:r}:{})}var g=function(e){return this instanceof g?(this.v=e,this):new g(e)},y=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(t){return new Promise(function(r,i){s.push([e,t,r,i])>1||o(e,t)})})}function o(e,t){try{var r;(r=n[e](t)).value instanceof g?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}};function v(e,t,r,i){return y(this,arguments,function*(){let n=(null==r?void 0:r.perPage)||e.defaultLimit;if(n>e.maxLimit)throw Error(`perPage option cannot exceed maximum value of ${e.maxLimit}`);let s=(null==r?void 0:r.concurrency)||1;if(s>10)throw Error("concurrency option cannot exceed maximum value of 10");let a=yield g(t({limit:n,offset:0}));for(let e of a.data)yield yield g(e);let o=a.meta.total_count,l=new u.Scheduler(s),c=[];for(let e=n;e<o;e+=n)c.push(l.enqueue(()=>t({limit:n,offset:e})));for(;c.length>0;)for(let e of(yield g(c.shift())).data)yield yield g(i?f(e):e)})}function w(e){e&&"page"in e&&console.warn("Passing a `page` query param on paged iterators has no effect: use the `perPage` option instead.")}let b="__ARRAY_INDEX__";class x extends Error{constructor(){super("Promise canceled!"),Object.setPrototypeOf(this,new.target.prototype)}}function T(e,t){let r=null,i=new Promise((i,n)=>{r=()=>{try{t&&t(),n(new x)}catch(e){n(e)}},("function"==typeof e?e():e).then(i,n)});return r&&(i.cancel=r),i}let _="u">typeof window&&void 0!==window.document;function S(e,t,r,i,n,s,a){var o;let l;return{request:{url:t,method:e,headers:r,body:i},response:{status:n.status,statusText:n.statusText,headers:(o=n.headers,l={},o.forEach((e,t)=>{l[t]=e}),l),body:s},preCallStack:a}}(t=r||(r={}))[t.NONE=0]="NONE",t[t.BASIC=1]="BASIC",t[t.BODY=2]="BODY",t[t.BODY_AND_HEADERS=3]="BODY_AND_HEADERS";let k=1;var E=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r};function C(e){return"object"==typeof e&&!!e&&"id"in e&&"type"in e}function P(e){return Array.isArray(e)&&e.every(C)}function $(e,t){if("object"!=typeof e||!e)throw Error("Invalid body!");if(Array.isArray(e))return{data:e.map(e=>{var r;return null==(r=$(e,t))?void 0:r.data})};let{id:r,type:i,meta:n}=e,s=E(e,["id","type","meta"]),a={},o={};if("*"===t.attributes)for(let[e,r]of Object.entries(s))if(t.relationships.includes(e))if(C(r)){let{id:t,type:i}=r;o[e]={data:{id:t,type:i}}}else P(r)?o[e]={data:r.map(({id:e,type:t})=>({id:e,type:t}))}:o[e]={data:null};else a[e]=r;else if("*"===t.relationships)for(let[e,r]of Object.entries(s))if(t.attributes.includes(e))a[e]=r;else if(C(r)){let{id:t,type:i}=r;o[e]={data:{id:t,type:i}}}else P(r)?o[e]={data:r.map(({id:e,type:t})=>({id:e,type:t}))}:o[e]={data:null};else{for(let[e,r]of Object.entries(s))if(t.attributes.includes(e))a[e]=r;else if(t.relationships.includes(e))if(C(r)){let{id:t,type:i}=r;o[e]={data:{id:t,type:i}}}else P(r)?o[e]={data:r.map(({id:e,type:t})=>({id:e,type:t}))}:o[e]={data:null};t.attributes.includes("type")&&(a.type=i)}return{data:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},r||t.id?{id:r||t.id}:{}),{type:t.type}),Object.keys(a).length>0?{attributes:a}:{}),Object.keys(o).length>0?{relationships:o}:{}),n?{meta:n}:{})}}function A(e){if(!e||"object"!=typeof e)return e;let{__itemTypeId:t}=e,r=E(e,["__itemTypeId"]),i={};for(let[e,t]of Object.entries(r))i[e]=function e(t){if(Array.isArray(t))return t.map(e);if(t&&"object"==typeof t){let r={};for(let[i,n]of Object.entries(t))"__itemTypeId"!==i&&(r[i]=e(n));return r}return t}(t);return i}function L(e){return e&&"data"in e?Array.isArray(e.data)?Object.assign(Object.assign({},e),{data:e.data.map(A)}):Object.assign(Object.assign({},e),{data:A(e.data)}):e}function I(e){return"string"==typeof e?e:e.id}class O{constructor(e){this.client=e}}class M extends O{create(e){return this.rawCreate($(e,{type:"role",attributes:["name","can_edit_favicon","can_edit_site","can_edit_schema","can_manage_menu","can_edit_environment","can_promote_environments","environments_access","can_manage_users","can_manage_shared_filters","can_manage_search_indexes","can_manage_upload_collections","can_manage_build_triggers","can_manage_webhooks","can_manage_environments","can_manage_sso","can_access_audit_log","can_manage_workflows","can_manage_access_tokens","can_perform_site_search","can_access_build_events_log","can_access_search_index_events_log","positive_item_type_permissions","negative_item_type_permissions","positive_upload_permissions","negative_upload_permissions","positive_build_trigger_permissions","negative_build_trigger_permissions","positive_search_index_permissions","negative_search_index_permissions"],relationships:["inherits_permissions_from"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/roles",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"role",attributes:["name","can_edit_favicon","can_edit_site","can_edit_schema","can_manage_menu","can_edit_environment","can_promote_environments","environments_access","can_manage_users","can_manage_shared_filters","can_manage_search_indexes","can_manage_upload_collections","can_manage_build_triggers","can_manage_webhooks","can_manage_environments","can_manage_sso","can_access_audit_log","can_manage_workflows","can_manage_access_tokens","can_perform_site_search","can_access_build_events_log","can_access_search_index_events_log","positive_item_type_permissions","negative_item_type_permissions","positive_upload_permissions","negative_upload_permissions","positive_build_trigger_permissions","negative_build_trigger_permissions","positive_search_index_permissions","negative_search_index_permissions"],relationships:["inherits_permissions_from"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/roles/${e}`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/roles"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/roles/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/roles/${e}`})}duplicate(e){return this.rawDuplicate(I(e)).then(e=>d(e))}rawDuplicate(e){return this.client.request({method:"POST",url:`/roles/${e}/duplicate`})}}function R(e,t){return null==e&&null==t||e===t}function j(e,t,r,i){if(!t)return e;let{add:n,remove:s}=t;return[...s?s.reduce((e,t)=>
2336{let n=Object.assign(Object.assign({},t),{environment:r}),s=e.find(e=>(function(e,t){for(let r in e)if(!R(e[r],t[r]))return!1;for(let r in t)if(!R(e[r],t[r]))return!1;return!0})(e,n));if(!s)throw Error(`Cannot find rule ${JSON.stringify(n)} to remove in ${i}!`);return e.filter(e=>e!==s)},e):e,...n?n.map(e=>Object.assign({environment:r},e)):[]]}M.TYPE="role";class D extends M{updateCurrentEnvironmentPermissions(e,t){var r,i,n,s;return r=this,i=void 0,n=void 0,s=function*(){let r=this.client.config.environment||(yield this.client.environments.list()).find(e=>e.meta.primary).id,i=yield this.find(e),n=!!(t.positive_item_type_permissions||t.negative_item_type_permissions),s=!!(t.positive_upload_permissions||t.negative_upload_permissions),a=Object.assign(Object.assign({},n?{positive_item_type_permissions:j(i.positive_item_type_permissions,t.positive_item_type_permissions,r,"positive_item_type_permissions"),negative_item_type_permissions:j(i.negative_item_type_permissions,t.negative_item_type_permissions,r,"negative_item_type_permissions")}:{}),s?{positive_upload_permissions:j(i.positive_upload_permissions,t.positive_upload_permissions,r,"positive_upload_permissions"),negative_upload_permissions:j(i.negative_upload_permissions,t.negative_upload_permissions,r,"negative_upload_permissions")}:{});return this.update(e,a)},new(n||(n=Promise))(function(e,t){function a(e){try{l(s.next(e))}catch(e){t(e)}}function o(e){try{l(s.throw(e))}catch(e){t(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof n?r:new n(function(e){e(r)})).then(a,o)}l((s=s.apply(r,i||[])).next())})}}class N extends O{update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"user",attributes:["is_active"],relationships:["role"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/users/${e}`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/users"})}find(e,t){return this.rawFind(I(e),t).then(e=>d(e))}rawFind(e,t){return this.client.request({method:"GET",url:`/users/${e}`,queryParams:t})}findMe(e){return this.rawFindMe(e).then(e=>d(e))}rawFindMe(e){return this.client.request({method:"GET",url:"/users/me",queryParams:e})}destroy(e,t){return this.rawDestroy(I(e),t).then(e=>d(e))}rawDestroy(e,t){return this.client.request({method:"DELETE",url:`/users/${e}`,queryParams:t})}}N.TYPE="user";class F extends O{list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/sso-users"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/sso-users/${e}`})}copyUsers(){return this.rawCopyUsers().then(e=>d(e))}rawCopyUsers(){return this.client.request({method:"POST",url:"/sso-users/copy-users"})}destroy(e,t){return this.rawDestroy(I(e),t).then(e=>d(e))}rawDestroy(e,t){return this.client.request({method:"DELETE",url:`/sso-users/${e}`,queryParams:t})}}F.TYPE="sso_user";class V extends O{query(e){return this.rawQuery($(e,{type:"audit_log_query",attributes:["since","before","filter","next_token","detailed_log"],relationships:[]})).then(e=>d(e))}rawQuery(e){return this.client.request({method:"POST",url:"/audit-log-events/query",body:e})}}V.TYPE="audit_log_event";class B extends O{create(e){return this.rawCreate($(e,{type:"menu_item",attributes:["label","external_url","position","open_in_new_tab"],relationships:["item_type","item_type_filter","parent"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/menu-items",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"menu_item",attributes:["label","external_url","position","open_in_new_tab"],relationships:["item_type","item_type_filter","parent"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/menu-items/${e}`,body:t})}list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/menu-items",queryParams:e})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/menu-items/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/menu-items/${e}`})}reorder(e){return this.rawReorder($(e,{type:"menu_item",attributes:["position"],relationships:["parent"]})).then(e=>d(e))}rawReorder(e){return this.client.request({method:"POST",url:"/menu-items/reorder",body:e})}}B.TYPE="menu_item";class q extends O{create(e){return this.rawCreate($(e,{type:"schema_menu_item",attributes:["label","position","kind"],relationships:["item_type","parent"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/schema-menu-items",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"schema_menu_item",attributes:["label","position","kind"],relationships:["item_type","parent","children"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/schema-menu-items/${e}`,body:t})}list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/schema-menu-items",queryParams:e})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/schema-menu-items/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/schema-menu-items/${e}`})}reorder(e){return this.rawReorder($(e,{type:"schema_menu_item",attributes:["position"],relationships:["parent"]})).then(e=>d(e))}rawReorder(e){return this.client.request({method:"POST",url:"/schema-menu-items/reorder",body:e})}}q.TYPE="schema_menu_item";class U extends O{create(e){return this.rawCreate($(e,{type:"upload_collection",attributes:["label","position"],relationships:["parent"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/upload-collections",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"upload_collection",attributes:["label","position"],relationships:["parent","children"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/upload-collections/${e}`,body:t})}list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/upload-collections",queryParams:e})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/upload-collections/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/upload-collections/${e}`})}reorder(e){return this.rawReorder($(e,{type:"upload_collection",attributes:["position"],relationships:["parent"]})).then(e=>d(e))}rawReorder(e){return this.client.request({method:"POST",url:"/upload-collections/reorder",body:e})}}U.TYPE="upload_collection";class W extends O{create(e,t){return this.rawCreate($(e,{type:"item_type",attributes:["name","api_key","singleton","all_locales_required","sortable","modular_block","draft_mode_active","draft_saving_active","tree","ordering_direction","ordering_meta","collection_appeareance","collection_appearance","hint","inverse_relationships_enabled"],relationships:["ordering_field","presentation_title_field","presentation_image_field","title_field","image_preview_field","excerpt_field","workflow"]}),t).then(e=>d(e))}rawCreate(e,t){return this.client.request({method:"POST",url:"/item-types",body:e,queryParams:t})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"item_type",attributes:["name","api_key","collection_appeareance","collection_appearance","singleton","all_locales_required","sortable","modular_block","draft_mode_active","draft_saving_active","tree","ordering_direction","ordering_meta","has_singleton_item","hint","inverse_relationships_enabled"],relationships:["ordering_field","presentation_title_field","presentation_image_field","title_field","image_preview_field","excerpt_field","workflow"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/item-types/${e}`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/item-types"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/item-types/${e}`})}duplicate(e){return this.rawDuplicate(I(e)).then(e=>d(e))}rawDuplicate(e){return this.client.request({method:"POST",url:`/item-types/${e}/duplicate`})}destroy(e,t){return this.rawDestroy(I(e),t).then(e=>d(e))}rawDestroy(e,t){return this.client.request({method:"DELETE",url:`/item-types/${e}`,queryParams:t})}referencing(e){return this.rawReferencing(I(e)).then(e=>d(e))}rawReferencing(e){return this.client.request({method:"GET",url:`/item-types/${e}/referencing`})}rawReorderFieldsAndFieldsets(e,t){return this.client.request({method:"POST",url:`/item-types/${e}/reorder-fields-and-fieldsets`,body:t})}}W.TYPE="item_type";class H extends O{create(e,t){return this.rawCreate(I(e),$(t,{type:"field",attributes:["label","field_type","api_key","localized","validators","appeareance","appearance","position","hint","default_value","deep_filtering_enabled"],relationships:["fieldset"]})).then(e=>d(e))}rawCreate(e,t){return this.client.request({method:"POST",url:`/item-types/${e}/fields`,body:t})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"field",attributes:["default_value","label","api_key","localized","validators","appeareance","appearance","position","field_type","hint","deep_filtering_enabled"],relationships:["fieldset"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/fields/${e}`,body:t})}list(e){return this.rawList(I(e)).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:`/item-types/${e}/fields`})}referencing(e){return this.rawReferencing(I(e)).then(e=>d(e))}rawReferencing(e){return this.client.request({method:"GET",url:`/item-types/${e}/fields/referencing`})}related(e){return this.rawRelated(I(e)).then(e=>d(e))}rawRelated(e){return this.client.request({method:"GET",url:`/item-types/${e}/fields/related`})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/fields/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/fields/${e}`})}duplicate(e){return this.rawDuplicate(I(e)).then(e=>d(e))}rawDuplicate(e){return this.client.request({method:"POST",url:`/fields/${e}/duplicate`})}}H.TYPE="field";class z extends O{create(e,t){return this.rawCreate(I(e),$(t,{type:"fieldset",attributes:["title","hint","position","collapsible","start_collapsed"],relationships:[]})).then(e=>d(e))}rawCreate(e,t){return this.client.request({method:"POST",url:`/item-types/${e}/fieldsets`,body:t})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"fieldset",attributes:["title","hint","position","collapsible","start_collapsed"],relationships:[]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/fieldsets/${e}`,body:t})}list(e){return this.rawList(I(e)).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:`/item-types/${e}/fieldsets`})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/fieldsets/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/fieldsets/${e}`})}}z.TYPE="fieldset";class G extends O{create(e){return this.rawCreate($(e,{type:"email_credentials",attributes:["email","password","otp_code"],relationships:[]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/sessions",body:e})}destroy(){return this.rawDestroy()}rawDestroy(){return this.client.request({method:"DELETE",url:"/session"})}}G.TYPE="session";class Z extends O{create(e){return this.rawCreate($(e,{type:"access_token",attributes:["name","can_access_cda","can_access_cda_preview","can_access_cma"],relationships:["role"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/access_tokens",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"access_token",attributes:["name","can_access_cda","can_access_cda_preview","can_access_cma"],relationships:["role"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/access_tokens/${e}`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/access_tokens"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/access_tokens/${e}`})}regenerateToken(e){return this.rawRegenerateToken(I(e)).then(e=>d(e))}rawRegenerateToken(e){return this.client.request({method:"POST",url:`/access_tokens/${e}/regenerate_token`})}destroy(e,t){return this.rawDestroy(I(e),t).then(e=>d(e))}rawDestroy(e,t){return this.client.request({method:"DELETE",url:`/access_tokens/${e}`,queryParams:t})}}Z.TYPE="access_token";class Y extends O{create(e){return this.rawCreate($(e,{type:"plugin",attributes:["package_name","name","description","url","permissions","plugin_type","field_types","parameter_definitions","package_version"],relationships:[]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/plugins",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"plugin",attributes:["name","description","url","parameters","package_version","permissions"],relationships:[]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/plugins/${e}`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/plugins"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/plugins/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/plugins/${e}`})}fields(e){return this.rawFields(I(e)).then(e=>d(e))}rawFields(e){return this.client.request({method:"GET",url:`/plugins/${e}/fields`})}}Y.TYPE="plugin";class K extends O{find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/job-results/${e}`})}}K.TYPE="job_result";class J extends O{list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/subscription-limits"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/subscription-limits/${e}`})}}J.TYPE="subscription_limit";class X extends O{list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/subscription-features"})}}X.TYPE="subscription_feature";var Q=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(t){return new Promise(function(i,n){var s,a,o;s=i,a=n,o=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:o})},a)})}}},ee=function(e){return this instanceof ee?(this.v=e,this):new ee(e)},et=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(t){return new Promise(function(r,i){s.push([e,t,r,i])>1||o(e,t)})})}function o(e,t){try{var r;(r=n[e](t)).value instanceof ee?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}};class er extends O{list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/build-events",queryParams:e})}listPagedIterator(e,t){return et(this,arguments,function*(){var r,i,n,s;try{for(var a,o=!0,l=Q(this.rawListPagedIterator(e,t));!(r=(a=yield ee(l.next())).done);){s=a.value,o=!1;try{yield yield ee(h(s))}finally{o=!0}}}catch(e){i={error:e}}finally{try{!o&&!r&&(n=l.return)&&(yield ee(n.call(l)))}finally{if(i)throw i.error}}})}rawListPagedIterator(e,t){return w(e),v({defaul
2336tLimit:30,maxLimit:500},t=>this.rawList(Object.assign(Object.assign({},e),{page:t})),t)}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/build-events/${e}`})}}er.TYPE="build_event";var ei=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(t){return new Promise(function(i,n){var s,a,o;s=i,a=n,o=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:o})},a)})}}},en=function(e){return this instanceof en?(this.v=e,this):new en(e)},es=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(t){return new Promise(function(r,i){s.push([e,t,r,i])>1||o(e,t)})})}function o(e,t){try{var r;(r=n[e](t)).value instanceof en?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}};class ea extends O{list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/search-index-events",queryParams:e})}listPagedIterator(e,t){return es(this,arguments,function*(){var r,i,n,s;try{for(var a,o=!0,l=ei(this.rawListPagedIterator(e,t));!(r=(a=yield en(l.next())).done);){s=a.value,o=!1;try{yield yield en(h(s))}finally{o=!0}}}catch(e){i={error:e}}finally{try{!o&&!r&&(n=l.return)&&(yield en(n.call(l)))}finally{if(i)throw i.error}}})}rawListPagedIterator(e,t){return w(e),v({defaultLimit:30,maxLimit:500},t=>this.rawList(Object.assign(Object.assign({},e),{page:t})),t)}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/search-index-events/${e}`})}}ea.TYPE="search_index_event";var eo=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(t){return new Promise(function(i,n){var s,a,o;s=i,a=n,o=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:o})},a)})}}},el=function(e){return this instanceof el?(this.v=e,this):new el(e)},eu=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(t){return new Promise(function(r,i){s.push([e,t,r,i])>1||o(e,t)})})}function o(e,t){try{var r;(r=n[e](t)).value instanceof el?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}};class ec extends O{list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/items",queryParams:e}).then(p)}listPagedIterator(e,t){return eu(this,arguments,function*(){var r,i,n,s;try{for(var a,o=!0,l=eo(this.rawListPagedIterator(e,t));!(r=(a=yield el(l.next())).done);){s=a.value,o=!1;try{yield yield el(h(s))}finally{o=!0}}}catch(e){i={error:e}}finally{try{!o&&!r&&(n=l.return)&&(yield el(n.call(l)))}finally{if(i)throw i.error}}})}rawListPagedIterator(e,t){return w(e),v({defaultLimit:30,maxLimit:500},t=>this.rawList(Object.assign(Object.assign({},e),{page:t})),t,!0)}validateExisting(e,t){return this.rawValidateExisting(I(e),$(t,{id:I(e),type:"item",attributes:"*",relationships:["item_type","creator"]}))}rawValidateExisting(e,t){return this.client.request({method:"POST",url:`/items/${e}/validate`,body:L(t)})}validateNew(e){return this.rawValidateNew($(e,{type:"item",attributes:"*",relationships:["item_type","creator"]}))}rawValidateNew(e){return this.client.request({method:"POST",url:"/items/validate",body:L(e)})}create(e){return this.rawCreate($(e,{type:"item",attributes:"*",relationships:["item_type","creator"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/items",body:L(e)}).then(p)}duplicate(e){return this.rawDuplicate(I(e)).then(e=>d(e))}rawDuplicate(e){return this.client.request({method:"POST",url:`/items/${e}/duplicate`}).then(p)}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"item",attributes:"*",relationships:["item_type","creator"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/items/${e}`,body:L(t)}).then(p)}references(e,t){return this.rawReferences(I(e),t).then(e=>d(e))}rawReferences(e,t){return this.client.request({method:"GET",url:`/items/${e}/references`,queryParams:t}).then(p)}find(e,t){return this.rawFind(I(e),t).then(e=>d(e))}rawFind(e,t){return this.client.request({method:"GET",url:`/items/${e}`,queryParams:t}).then(p)}currentVsPublishedState(e){return this.rawCurrentVsPublishedState(I(e)).then(e=>d(e))}rawCurrentVsPublishedState(e){return this.client.request({method:"GET",url:`/items/${e}/current-vs-published-state`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/items/${e}`}).then(p)}publish(e,t,r){return this.rawPublish(I(e),t?$(t,{type:"selective_publish_operation",attributes:["content_in_locales","non_localized_content"],relationships:[]}):null,r).then(e=>d(e))}rawPublish(e,t,r){return this.client.request({method:"PUT",url:`/items/${e}/publish`,body:t,queryParams:r}).then(p)}unpublish(e,t,r){return this.rawUnpublish(I(e),t?$(t,{type:"selective_unpublish_operation",attributes:["content_in_locales"],relationships:[]}):null,r).then(e=>d(e))}rawUnpublish(e,t,r){return this.client.request({method:"PUT",url:`/items/${e}/unpublish`,body:t,queryParams:r}).then(p)}bulkPublish(e){return this.rawBulkPublish($(e,{type:"item_bulk_publish_operation",attributes:[],relationships:["items"]})).then(e=>d(e))}rawBulkPublish(e){return this.client.request({method:"POST",url:"/items/bulk/publish",body:e})}bulkUnpublish(e){return this.rawBulkUnpublish($(e,{type:"item_bulk_unpublish_operation",attributes:[],relationships:["items"]})).then(e=>d(e))}rawBulkUnpublish(e){return this.client.request({method:"POST",url:"/items/bulk/unpublish",body:e})}bulkDestroy(e){return this.rawBulkDestroy($(e,{type:"item_bulk_destroy_operation",attributes:[],relationships:["items"]})).then(e=>d(e))}rawBulkDestroy(e){return this.client.request({method:"POST",url:"/items/bulk/destroy",body:e})}bulkMoveToStage(e){return this.rawBulkMoveToStage($(e,{type:"item_bulk_move_to_stage_operation",attributes:["stage"],relationships:["items"]})).then(e=>d(e))}rawBulkMoveToStage(e){return this.client.request({method:"POST",url:"/items/bulk/move-to-stage",body:e})}}ec.TYPE="item";var eh=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(t){return new Promise(function(i,n){var s,a,o;s=i,a=n,o=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:o})},a)})}}},ed=function(e){return this instanceof ed?(this.v=e,this):new ed(e)},em=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(t){return new Promise(function(r,i){s.push([e,t,r,i])>1||o(e,t)})})}function o(e,t){try{var r;(r=n[e](t)).value instanceof ed?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}};class ef extends O{restore(e){return this.rawRestore(I(e)).then(e=>d(e))}rawRestore(e){return this.client.request({method:"POST",url:`/versions/${e}/restore`})}list(e,t){return this.rawList(I(e),t).then(e=>d(e))}rawList(e,t){return this.client.request({method:"GET",url:`/items/${e}/versions`,queryParams:t})}listPagedIterator(e,t,r){return em(this,arguments,function*(){var i,n,s,a;try{for(var o,l=!0,u=eh(this.rawListPagedIterator(I(e),t,r));!(i=(o=yield ed(u.next())).done);){a=o.value,l=!1;try{yield yield ed(h(a))}finally{l=!0}}}catch(e){n={error:e}}
2336finally{try{!l&&!i&&(s=u.return)&&(yield ed(s.call(u)))}finally{if(n)throw n.error}}})}rawListPagedIterator(e,t,r){return w(t),v({defaultLimit:15,maxLimit:50},r=>this.rawList(e,Object.assign(Object.assign({},t),{page:r})),r)}find(e,t){return this.rawFind(I(e),t).then(e=>d(e))}rawFind(e,t){return this.client.request({method:"GET",url:`/versions/${e}`,queryParams:t})}}ef.TYPE="item_version";var ep=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(t){return new Promise(function(i,n){var s,a,o;s=i,a=n,o=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:o})},a)})}}},eg=function(e){return this instanceof eg?(this.v=e,this):new eg(e)},ey=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(t){return new Promise(function(r,i){s.push([e,t,r,i])>1||o(e,t)})})}function o(e,t){try{var r;(r=n[e](t)).value instanceof eg?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}};class ev extends O{create(e){return this.rawCreate($(e,{type:"upload",attributes:["path","copyright","author","notes","default_field_metadata","tags"],relationships:["upload_collection"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/uploads",body:e})}list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/uploads",queryParams:e})}listPagedIterator(e,t){return ey(this,arguments,function*(){var r,i,n,s;try{for(var a,o=!0,l=ep(this.rawListPagedIterator(e,t));!(r=(a=yield eg(l.next())).done);){s=a.value,o=!1;try{yield yield eg(h(s))}finally{o=!0}}}catch(e){i={error:e}}finally{try{!o&&!r&&(n=l.return)&&(yield eg(n.call(l)))}finally{if(i)throw i.error}}})}rawListPagedIterator(e,t){return w(e),v({defaultLimit:30,maxLimit:500},t=>this.rawList(Object.assign(Object.assign({},e),{page:t})),t)}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/uploads/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/uploads/${e}`})}update(e,t,r){return this.rawUpdate(I(e),$(t,{id:I(e),type:"upload",attributes:["path","basename","copyright","author","notes","tags","default_field_metadata"],relationships:["creator","upload_collection"]}),r).then(e=>d(e))}rawUpdate(e,t,r){return this.client.request({method:"PUT",url:`/uploads/${e}`,body:t,queryParams:r})}references(e,t){return this.rawReferences(I(e),t).then(e=>d(e))}rawReferences(e,t){return this.client.request({method:"GET",url:`/uploads/${e}/references`,queryParams:t}).then(p)}bulkTag(e){return this.rawBulkTag($(e,{type:"upload_bulk_tag_operation",attributes:["tags"],relationships:["uploads"]})).then(e=>d(e))}rawBulkTag(e){return this.client.request({method:"POST",url:"/uploads/bulk/tag",body:e})}bulkSetUploadCollection(e){return this.rawBulkSetUploadCollection($(e,{type:"upload_bulk_set_upload_collection_operation",attributes:[],relationships:["upload_collection","uploads"]})).then(e=>d(e))}rawBulkSetUploadCollection(e){return this.client.request({method:"POST",url:"/uploads/bulk/set-upload-collection",body:e})}bulkDestroy(e){return this.rawBulkDestroy($(e,{type:"upload_bulk_destroy_operation",attributes:[],relationships:["uploads"]})).then(e=>d(e))}rawBulkDestroy(e){return this.client.request({method:"POST",url:"/uploads/bulk/destroy",body:e})}}ev.TYPE="upload";class ew extends ev{}class eb extends O{create(e){return this.rawCreate($(e,{type:"upload_request",attributes:["filename"],relationships:["upload_collection"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/upload-requests",body:e})}}eb.TYPE="upload_request";class ex extends O{create(e,t){return this.rawCreate(I(e),$(t,{type:"upload_track",attributes:["url_or_upload_request_id","type","name","language_code","closed_captions"],relationships:[]})).then(e=>d(e))}rawCreate(e,t){return this.client.request({method:"POST",url:`/uploads/${e}/tracks`,body:t})}list(e){return this.rawList(I(e)).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:`/uploads/${e}/tracks`})}destroy(e,t){return this.rawDestroy(I(e),I(t)).then(e=>d(e))}rawDestroy(e,t){return this.client.request({method:"DELETE",url:`/uploads/${e}/tracks/${t}`})}generateSubtitles(e,t){return this.rawGenerateSubtitles(I(e),$(t,{type:"upload_track",attributes:["name","language_code"],relationships:[]})).then(e=>d(e))}rawGenerateSubtitles(e,t){return this.client.request({method:"POST",url:`/uploads/${e}/tracks/generate-subtitles`,body:t})}}ex.TYPE="upload_track";class eT extends O{create(e,t){return this.rawCreate(I(e),$(t,{type:"scheduled_publication",attributes:["publication_scheduled_at","selective_publication"],relationships:[]})).then(e=>d(e))}rawCreate(e,t){return this.client.request({method:"POST",url:`/items/${e}/scheduled-publication`,body:t})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/items/${e}/scheduled-publication`}).then(p)}}eT.TYPE="scheduled_publication";class e_ extends O{create(e,t){return this.rawCreate(I(e),$(t,{type:"scheduled_unpublishing",attributes:["unpublishing_scheduled_at","content_in_locales"],relationships:[]})).then(e=>d(e))}rawCreate(e,t){return this.client.request({method:"POST",url:`/items/${e}/scheduled-unpublishing`,body:t})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/items/${e}/scheduled-unpublishing`}).then(p)}}e_.TYPE="scheduled_unpublishing";var eS=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(t){return new Promise(function(i,n){var s,a,o;s=i,a=n,o=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:o})},a)})}}},ek=function(e){return this instanceof ek?(this.v=e,this):new ek(e)},eE=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(t){return new Promise(function(r,i){s.push([e,t,r,i])>1||o(e,t)})})}function o(e,t){try{var r;(r=n[e](t)).value instanceof ek?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}};class eC extends O{list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/search-results",queryParams:e})}listPagedIterator(e,t){return eE(this,arguments,function*(){var r,i,n,s;try{for(var a,o=!0,l=eS(this.rawListPagedIterator(e,t));!(r=(a=yield ek(l.next())).done);){s=a.value,o=!1;try{yield yield ek(h(s))}finally{o=!0}}}catch(e){i={error:e}}finally{try{!o&&!r&&(n=l.return)&&(yield ek(n.call(l)))}finally{if(i)throw i.error}}})}rawListPagedIterator(e,t){return w(e),v({defaultLimit:20,maxLimit:100},t=>this.rawList(Object.assign(Object.assign({},e),{page:t})),t)}}eC.TYPE="search_result";class eP extends O{fork(e,t,r){return this.rawFork(I(e),$(t,{id:I(e),type:"environment",attributes:[],relationships:[]}),r).then(e=>d(e))}rawFork(e,t,r){return this.client.request({method:"POST",url:`/environments/${e}/fork`,body:t,queryParams:r})}promote(e){return this.rawPromote(I(e)).then(e=>d(e))}rawPromote(e){return this.client.request({method:"PUT",url:`/environments/${e}/promote`})}rename(e,t){return this.rawRename(I(e),$(t,{id:I(e),type:"environment",attributes:[],relationships:[]})).then(e=>d(e))}rawRename(e,t){return this.client.request({method:"PUT",url:`/environments/${e}/rename`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/environments"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/environments/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/environments/${e}`})}}eP.TYPE="environment";class e$ extends O{find(){return this.rawFind().then(e=>d(e))}rawFind(){return this.client.request({method:"GET",url:"/maintenance-mode"})}activate(e){return this.rawActivate(e).then(e=>d(e))}rawActivate(e){return this.client.request({method:"PUT",url:"/maintenance-mode/activate",queryParams:e})}deactivate(){return this.rawDeactivate().then(e=>d(e))}rawDeactivate(){return this.client.request({method:"PUT",url:"/maintenance-mode/deactivate"})}}e$.TYPE="maintenance_mode";class eA extends O{create(e){return this.rawCreate($(e,{type:"webhook",attributes:["name","url","custom_payload","headers","events","http_basic_user","http_basic_password","enabled","payload_api_version","nested_items_in_payload","auto_retry"],relationships:[]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/webhooks",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"webhook",attributes:["name","url","custom_payload","headers","events","http_basic_user","http_basic_password","enabled","payload_api_version","nested_items_in_payload","auto_retry"],relationships:[]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/webhooks/${e}`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/webhooks"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/webhooks/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/webhooks/${e}`})}}eA.TYPE="webhook";var eL=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(t){return new Promise(function(i,n){var s,a,o;s=i,a=n,o=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:o})},a)})}}},eI=function(e){return this instanceof eI?(this.v=e,this):new eI(e)},eO=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(t){return new Promise(function(r,i){s.push([e,t,r,i])>1||o(e,t)})})}function o(e,t){try{var r;(r=n[e](t)).value instanceof eI?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}};class eM extends O{list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/webhook_calls",queryParams:e})}listPagedIterator(e,t){return eO(this,arguments,function*(){var r,i,n,s;try{for(var a,o=!0,l=eL(this.rawListPagedIterator(e,t));!(r=(a=yield eI(l.next())).done);){s=a.value,o=!1;try{yield yield eI(h(s))}finally{o=!0}}}catch(e){i={error:e}}finally{try{!o&&!r&&(n=l.return)&&(yield eI(n.call(l)))}finally{if(i)throw i.error}}})}rawListPagedIterator(e,t){return w(e),v({defaultLimit:30,maxLimit:500},t=>this.rawList(Object.assign(Object.assign({},e),{page:t})),t)}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/webhook_calls/${e}`})}resendWebhook(e){return this.rawResendWebhook(I(e))}rawResendWebhook(e){return this.client.request({method:"POST",url:`/webhook_calls/${e}/resend_webhook`})}}eM.TYPE="webhook_call";class eR extends O{list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/build-triggers"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/build-triggers/${e}`})}create(e){return this.rawCreate($(e,{type:"build_trigger",attributes:["name","webhook_token","adapter","indexing_enabled","enabled","frontend_url","autotrigger_on_scheduled_publications","adapter_settings"],relationships:[]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/build-triggers",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"build_trigger",attributes:["name","adapter","indexing_enabled","enabled","frontend_url","autotrigger_on_scheduled_publications","adapter_settings"],relationships:[]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/build-triggers/${e}`,body:t})}trigger(e){return this.rawTrigger(I(e))}rawTrigger(e){return this.client.request({method:"POST",url:`/build-triggers/${e}/trigger`})}abort(e){return this.rawAbort(I(e))}rawAbort(e){return this.client.request({method:"DELETE",url:`/build-triggers/${e}/abort`})}abortIndexing(e){return this.rawAbortIndexing(I(e))}rawAbortIndexing(e){return this.client.request({method:"DELETE",url:`/build-triggers/${e}/abort_indexing`})}reindex(e){return this.rawReindex(I(e))}rawReindex(e){return this.client.request({method:"PUT",url:`/build-triggers/${e}/reindex`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/build-triggers/${e}`})}}eR.TYPE="build_trigger";class ej extends O{list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/search-indexe
2336s"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/search-indexes/${e}`})}create(e){return this.rawCreate($(e,{type:"search_index",attributes:["name","enabled","frontend_url","user_agent_suffix"],relationships:["build_triggers"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/search-indexes",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"search_index",attributes:["name","enabled","frontend_url","user_agent_suffix"],relationships:["build_triggers"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/search-indexes/${e}`,body:t})}trigger(e){return this.rawTrigger(I(e))}rawTrigger(e){return this.client.request({method:"POST",url:`/search-indexes/${e}/trigger`})}abort(e){return this.rawAbort(I(e))}rawAbort(e){return this.client.request({method:"DELETE",url:`/search-indexes/${e}/abort`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/search-indexes/${e}`})}}ej.TYPE="search_index";class eD extends O{create(e){return this.rawCreate($(e,{type:"item_type_filter",attributes:["name","filter","columns","order_by","shared"],relationships:["item_type"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/item-type-filters",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"item_type_filter",attributes:["name","columns","order_by","shared","filter"],relationships:["item_type"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/item-type-filters/${e}`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/item-type-filters"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/item-type-filters/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/item-type-filters/${e}`})}}eD.TYPE="item_type_filter";class eN extends O{create(e){return this.rawCreate($(e,{type:"upload_filter",attributes:["name","filter","shared"],relationships:[]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/upload-filters",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"upload_filter",attributes:["name","shared","filter"],relationships:[]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/upload-filters/${e}`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/upload-filters"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/upload-filters/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/upload-filters/${e}`})}}eN.TYPE="upload_filter";class eF extends O{create(e){return this.rawCreate($(e,{type:"site_invitation",attributes:["email"],relationships:["role"]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/site-invitations",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"site_invitation",attributes:[],relationships:["role"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/site-invitations/${e}`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/site-invitations"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/site-invitations/${e}`})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/site-invitations/${e}`})}resend(e){return this.rawResend(I(e)).then(e=>d(e))}rawResend(e){return this.client.request({method:"POST",url:`/site-invitations/${e}/resend`})}}eF.TYPE="site_invitation";class eV extends O{list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/editing-sessions"})}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/editing-sessions/${e}`,body:t})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/editing-sessions/${e}`})}}eV.TYPE="editing_session";class eB extends O{list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/sso-groups"})}copyRoles(e){return this.rawCopyRoles(I(e)).then(e=>d(e))}rawCopyRoles(e){return this.client.request({method:"POST",url:`/sso-groups/${e}/copy-roles`})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"sso_group",attributes:["priority"],relationships:["role"]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/sso-groups/${e}`,body:t})}destroy(e){return this.rawDestroy(I(e)).then(e=>d(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/sso-groups/${e}`})}}eB.TYPE="sso_group";class eq extends O{find(){return this.rawFind().then(e=>d(e))}rawFind(){return this.client.request({method:"GET",url:"/sso-settings"})}generateToken(){return this.rawGenerateToken().then(e=>d(e))}rawGenerateToken(){return this.client.request({method:"PUT",url:"/sso-settings/generate-token"})}update(e){return this.rawUpdate($(e,{type:"sso_settings",attributes:["idp_saml_metadata_url","idp_saml_metadata_xml"],relationships:["default_role"]})).then(e=>d(e))}rawUpdate(e){return this.client.request({method:"PUT",url:"/sso-settings",body:e})}}eq.TYPE="sso_settings";class eU extends O{find(e){return this.rawFind(e).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:"/emoji-suggestions",queryParams:e})}}eU.TYPE="emoji_suggestions";class eW extends O{find(){return this.rawFind().then(e=>d(e))}rawFind(){return this.client.request({method:"GET",url:"/white-label-settings"})}update(e){return this.rawUpdate($(e,{type:"white_label_settings",attributes:["custom_i18n_messages_template_url"],relationships:[]})).then(e=>d(e))}rawUpdate(e){return this.client.request({method:"PUT",url:"/white-label-settings",body:e})}}eW.TYPE="white_label_settings";class eH extends O{find(){return this.rawFind().then(e=>d(e))}rawFind(){return this.client.request({method:"GET",url:"/public-info"})}}eH.TYPE="public_info";class ez extends O{list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/daily-site-us
2336ages"})}}ez.TYPE="daily_usage";class eG extends O{find(e,t){return this.rawFind(I(e),t).then(e=>d(e))}rawFind(e,t){return this.client.request({method:"GET",url:`/usage-log-counters/${e}`,queryParams:t})}}eG.TYPE="usage_counter";var eZ=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(t){return new Promise(function(i,n){var s,a,o;s=i,a=n,o=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:o})},a)})}}},eY=function(e){return this instanceof eY?(this.v=e,this):new eY(e)},eK=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(t){return new Promise(function(r,i){s.push([e,t,r,i])>1||o(e,t)})})}function o(e,t){try{var r;(r=n[e](t)).value instanceof eY?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}};class eJ extends O{list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/upload-tags",queryParams:e})}listPagedIterator(e,t){return eK(this,arguments,function*(){var r,i,n,s;try{for(var a,o=!0,l=eZ(this.rawListPagedIterator(e,t));!(r=(a=yield eY(l.next())).done);){s=a.value,o=!1;try{yield yield eY(h(s))}finally{o=!0}}}catch(e){i={error:e}}finally{try{!o&&!r&&(n=l.return)&&(yield eY(n.call(l)))}finally{if(i)throw i.error}}})}rawListPagedIterator(e,t){return w(e),v({defaultLimit:50,maxLimit:500},t=>this.rawList(Object.assign(Object.assign({},e),{page:t})),t)}create(e){return this.rawCreate($(e,{type:"upload_tag",attributes:["name"],relationships:[]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/upload-tags",body:e})}}eJ.TYPE="upload_tag";var eX=function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e="function"==typeof __values?__values(e):e[Symbol.iterator](),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(r){t[r]=e[r]&&function(t){return new Promise(function(i,n){var s,a,o;s=i,a=n,o=(t=e[r](t)).done,Promise.resolve(t.value).then(function(e){s({value:e,done:o})},a)})}}},eQ=function(e){return this instanceof eQ?(this.v=e,this):new eQ(e)},e0=function(e,t,r){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(e,t||[]),s=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){n[e]&&(i[e]=function(t){return new Promise(function(r,i){s.push([e,t,r,i])>1||o(e,t)})})}function o(e,t){try{var r;(r=n[e](t)).value instanceof eQ?Promise.resolve(r.value.v).then(l,u):c(s[0][2],r)}catch(e){c(s[0][3],e)}}function l(e){o("next",e)}function u(e){o("throw",e)}function c(e,t){e(t),s.shift(),s.length&&o(s[0][0],s[0][1])}};class e1 extends O{list(e){return this.rawList(e).then(e=>d(e))}rawList(e){return this.client.request({method:"GET",url:"/upload-smart-tags",queryParams:e})}listPagedIterator(e,t){return e0(this,arguments,function*(){var r,i,n,s;try{for(var a,o=!0,l=eX(this.rawListPagedIterator(e,t));!(r=(a=yield eQ(l.next())).done);){s=a.value,o=!1;try{yield yield eQ(h(s))}finally{o=!0}}}catch(e){i={error:e}}finally{try{!o&&!r&&(n=l.return)&&(yield eQ(n.call(l)))}finally{if(i)throw i.error}}})}rawListPagedIterator(e,t){return w(e),v({defaultLimit:50,maxLimit:500},t=>this.rawList(Object.assign(Object.assign({},e),{page:t})),t)}}e1.TYPE="upload_smart_tag";class e2 extends O{find(e){return this.rawFind(e).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:"/site",queryParams:e})}update(e){return this.rawUpdate($(e,{type:"site",attributes:["no_index","favicon","global_seo","name","theme","locales","timezone","require_2fa","ip_tracking_enabled","force_use_of_sandbox_environments"],relationships:["sso_default_role"]})).then(e=>d(e))}rawUpdate(e){return this.client.request({method:"PUT",url:"/site",body:e})}activateImprovedTimezoneManagement(){return this.rawActivateImprovedTimezoneManagement().then(e=>d(e))}rawActivateImprovedTimezoneManagement(){return this.client.request({method:"PUT",url:"/site/activate-improved-timezone-management"})}activateImprovedHexManagement(){return this.rawActivateImprovedHexManagement().then(e=>d(e))}rawActivateImprovedHexManagement(){return this.client.request({method:"PUT",url:"/site/activate-improved-
2336hex-management"})}activateImprovedGqlMultilocaleFields(){return this.rawActivateImprovedGqlMultilocaleFields().then(e=>d(e))}rawActivateImprovedGqlMultilocaleFields(){return this.client.request({method:"PUT",url:"/site/activate-improved-gql-multilocale-fields"})}activateImprovedGqlVisibilityControl(){return this.rawActivateImprovedGqlVisibilityControl().then(e=>d(e))}rawActivateImprovedGqlVisibilityControl(){return this.client.request({method:"PUT",url:"/site/activate-improved-gql-visibility-control"})}activateImprovedBooleanFields(){return this.rawActivateImprovedBooleanFields().then(e=>d(e))}rawActivateImprovedBooleanFields(){return this.client.request({method:"PUT",url:"/site/activate-improved-boolean-fields"})}activateDraftModeAsDefault(){return this.rawActivateDraftModeAsDefault().then(e=>d(e))}rawActivateDraftModeAsDefault(){return this.client.request({method:"PUT",url:"/site/activate-draft-mode-as-default"})}activateImprovedValidationAtPublishing(){return this.rawActivateImprovedValidationAtPublishing().then(e=>d(e))}rawActivateImprovedValidationAtPublishing(){return this.client.request({method:"PUT",url:"/site/activate-improved-validation-at-publishing"})}activateImprovedExposureOfInlineBlocksInCda(){return this.rawActivateImprovedExposureOfInlineBlocksInCda().then(e=>d(e))}rawActivateImprovedExposureOfInlineBlocksInCda(){return this.client.request({method:"PUT",url:"/site/activate-improved-exposure-of-inline-blocks-in-cda"})}activateImprovedItemsListing(){return this.rawActivateImprovedItemsListing().then(e=>d(e))}rawActivateImprovedItemsListing(){return this.client.request({method:"PUT",url:"/site/activate-improved-items-listing"})}activateMillisecondsInDatetime(){return this.rawActivateMillisecondsInDatetime().then(e=>d(e))}rawActivateMillisecondsInDatetime(){return this.client.request({method:"PUT",url:"/site/activate-milliseconds-in-datetime"})}activateNonLocalizedFocalPoints(){return this.rawActivateNonLocalizedFocalPoints().then(e=>d(e))}rawActivateNonLocalizedFocalPoints(){return this.client.request({method:"PUT",url:"/site/activate-non-localized-focal-points"})}updateAssetsCdnDefaultSettings(e){return this.rawUpdateAssetsCdnDefaultSettings($(e,{type:"assets-cdn-default-settings",attributes:["assets_cdn_default_settings"],relationships:[]})).then(e=>d(e))}rawUpdateAssetsCdnDefaultSettings(e){return this.client.request({method:"PUT",url:"/site/assets-cdn-default-settings",body:e})}}e2.TYPE="site";class e6 extends O{create(e){return this.rawCreate($(e,{type:"workflow",attributes:["name","api_key","stages"],relationships:[]})).then(e=>d(e))}rawCreate(e){return this.client.request({method:"POST",url:"/workflows",body:e})}update(e,t){return this.rawUpdate(I(e),$(t,{id:I(e),type:"workflow",attributes:["name","api_key","stages"],relationships:[]})).then(e=>d(e))}rawUpdate(e,t){return this.client.request({method:"PUT",url:`/workflows/${e}`,body:t})}list(){return this.rawList().then(e=>d(e))}rawList(){return this.client.request({method:"GET",url:"/workflows"})}find(e){return this.rawFind(I(e)).then(e=>d(e))}rawFind(e){return this.client.request({method:"GET",url:`/workflows/${e}`})}destroy(e){return this.rawDestroy(I(e))}rawDestroy(e){return this.client.request({method:"DELETE",url:`/workflows/${e}`})}}e6.TYPE="workflow",e.s([],27668);class e3{constructor(e){this.config=e,this.roles=new D(this),this.users=new N(this),this.ssoUsers=new F(this),this.auditLogEvents=new V(this),this.menuItems=new B(this),this.schemaMenuItems=new q(this),this.uploadCollections=new U(this),this.itemTypes=new W(this),this.fields=new H(this),this.fieldsets=new z(this),this.session=new G(this),this.accessTokens=new Z(this),this.plugins=new Y(this),this.jobResults=new K(this),this.subscriptionLimits=new J(this),this.subscriptionFeatures=new X(this),this.buildEvents=new er(this),this.searchIndexEvents=new ea(this),this.items=new ec(this),this.itemVersions=new ef(this),this.uploads=new ew(this),this.uploadRequest=new eb(this),this.uploadTracks=new ex(this),this.scheduledPublication=new eT(this),this.scheduledUnpublishing=new e_(this),this.searchResults=new eC(this),this.environments=new eP(this),this.maintenanceMode=new e$(this),this.webhooks=new eA(this),this.webhookCalls=new eM(this),this.buildTriggers=new eR(this),this.searchIndexes=new ej(this),this.itemTypeFilters=new eD(this),this.uploadFilters=new eN(this),this.siteInvitations=new eF(this),this.editingSessions=new eV(this),this.ssoGroups=new eB(this),this.ssoSettings=new eq(this),this.emojiSuggestions=new eU(this),this.whiteLabelSettings=new eW(this),this.publicInfo=new eH(this),this.dailyUsages=new ez(this),this.usageCounters=new eG(this),this.uploadTags=new eJ(this),this.uploadSmartTags=new e1(this),this.site=new e2(this),this.workflows=new e6(this)}get baseUrl(){return this.config.baseUrl||e3.defaultBaseUrl}request(e){return function e(t){var i,n,s,u,c;return n=this,s=void 0,u=void 0,c=function*(){var n,s,u,c,h;let d=k;k+=1;let m=function(e){let t=e||("u"<typeof fetch?void 0:fetch)||("u"<typeof globalThis?void 0:globalThis.fetch);if(void 0===t)throw Error("fetch() is not available: either polyfill it globally, or provide it as fetchFn option.");return t}(t.fetchFn),f=t.preCallStack,p=t.userAgent||"@datocms/rest-client-utils",g=t.retryCount||1,y=t.logLevel||r.NONE,v=!("autoRetry"in t)||t.autoRetry,w=t.logFn||(()=>!0),E=Object.assign({"content-type":"application/json",accept:"application/json",authorization:`Bearer ${t.apiToken}`,"user-agent":p},t.extraHeaders?Object.fromEntries(Object.entries(t.extraHeaders).map(([e,t])=>[e.toLowerCase(),t])):{});_&&delete E["user-agent"];let C=t.baseUrl.replace(/\/$/,""),P=t.body?JSON.stringify(t.body,null,2):void 0,$=t.queryParams&&Object.keys(t.queryParams).length>0?`?${new URLSearchParams(function e(t,r=[]){let i=[];if("number"==typeof t||"string"==typeof t||"boolean"==typeof t)i.push([r.reduce((e,t,r)=>0===r?t:t===b?`${e}[]`:`${e}[${t}]`,""),function(e){if("number"==typeof e||"string"==typeof e)return e.toString();if(!0===e)return"true";if(!1===e)return"false";throw`Don't know how to serialize param value ${JSON.stringify(e)}`}(t)]);else if("object"==typeof t){if(Array.isArray(t))for(let n of t)for(let t of e(n,[...r,b]))i.push(t);else if(t)for(let[n,s]of Object.entries(t))for(let t of e(s,[...r,n]))i.push(t)}return i}(t.queryParams)).toString()}`:"",A=`${C}${t.url}${$}`;if(y>=r.BASIC){if(w(`[${d}] ${t.method} ${A}`),y>=r.BODY_AND_HEADERS)for(let[e,t]of Object.entries(E||{}))w(`[${d}] ${e}: ${t}`);y>=r.BODY&&P&&w(`[${d}] ${P}`)}try{let a=T(m(A,{method:t.method,headers:E,body:P})),h=setTimeout(()=>{a.cancel()},t.requestTimeout||3e4),p=yield a;clearTimeout(h);let b=p.headers.get("Content-Type"),x=b&&!b.includes("application/json");if(429===p.status||x){if(!v||x&&"GET"!==t.method)throw new o(S(t.method,A,E,t.body,p,void 0,f));let i=p.headers.has("X-RateLimit-Reset")?Number.parseInt(p.headers.get("X-RateLimit-Reset"),10):g;return y>=r.BASIC&&w(429===p.status?`[${d}] Rate limit exceeded, wait ${i} seconds then retry...`:`[${d}] Invalid response content type "${b}" (status ${p.status}). Wait ${i} seconds then retry...`),yield l(1e3*i),e(Object.assign(Object.assign({},t),{retryCount:g+1}))}if(y>=r.BASIC&&(w(`[${d}] Status: ${p.status} (${p.statusText})`),y>=r.BODY_AND_HEADERS))for(let e of["x-api-version","x-environment","x-queue-time","x-ratelimit-remaining","x-request-id","cf-ray"]){let t=p.headers.get(e);t&&w(`[${d}] ${e}: ${t}`)}let _=204===p.status?void 0:yield p.json();if(y>=r.BODY&&_&&w(`[${d}] ${JSON.stringify(_,null,2)}`),202===p.status){let e=yield t.fetchJobResult(_.data.id);if(e.status<200||e.status>=300)throw new o((n=t.method,s=t.body,u=e.status,c=e.payload,{request:{url:A,method:n,headers:E,body:s},response:{status:u,statusText:"N/A",headers:{},body:c},preCallStack:f}));_=e.payload}if(p.status>=200&&p.status<300)return _;let k=new o(S(t.method,A,E,t.body,p,_,f)),C=null==(i=k.errors.find(e=>e.attributes.transient))?void 0:i.attributes.code;if(v&&C)return y>=r.BASIC&&w(`[${d}] ${C}, wait ${g} seconds then retry...`),yield l(1e3*g),e(Object.assign(Object.assign({},t),{retryCount:g+1}));throw k}catch(i){if(i instanceof x||"object"==typeof i&&i&&"code"in i&&i.code.includes("ETIMEDOUT")){
2336if(v&&g<5)return y>=r.BASIC&&w(`[${d}] Timeout error, wait ${g} seconds then retry...`),yield l(1e3*g),e(Object.assign(Object.assign({},t),{retryCount:g+1}));throw new a((h=t.method,{request:{url:A,method:h,headers:E,body:t.body},preCallStack:f}))}throw i}},new(u||(u=Promise))(function(e,t){function r(e){try{a(c.next(e))}catch(e){t(e)}}function i(e){try{a(c.throw(e))}catch(e){t(e)}}function a(t){var n;t.done?e(t.value):((n=t.value)instanceof u?n:new u(function(e){e(n)})).then(r,i)}a((c=c.apply(n,s||[])).next())})}(Object.assign(Object.assign(Object.assign({},this.config),e),{logFn:this.config.logFn||console.log,userAgent:"@datocms/cma-client v5.5.3",baseUrl:this.baseUrl,preCallStack:Error().stack,extraHeaders:Object.assign(Object.assign(Object.assign({},this.config.extraHeaders||{}),this.config.environment?{"X-Environment":this.config.environment}:{}),{"X-API-Version":"3"}),fetchJobResult:e=>this.jobResultsFetcher?this.jobResultsFetcher(e):function(e){var t,r,i,n;return t=this,r=void 0,i=void 0,n=function*(){let t,r=0;do try{r+=1,yield l(1e3*r),t=yield e()}catch(e){if(!(e instanceof o)||404!==e.response.status)throw e}while(!t)return t},new(i||(i=Promise))(function(e,s){function a(e){try{l(n.next(e))}catch(e){s(e)}}function o(e){try{l(n.throw(e))}catch(e){s(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(a,o)}l((n=n.apply(t,r||[])).next())})}(()=>this.jobResults.find(e))}))}eventsChannelName(){var e,t,r,i;return e=this,t=void 0,r=void 0,i=function*(){if(this.cachedEventsChannelName)return this.cachedEventsChannelName;let{data:e}=yield this.site.rawFind();return this.cachedEventsChannelName=this.config.environment?`private-site-${e.id}-environment-${this.config.environment}`:`private-site-${e.id}`,this.cachedEventsChannelName},new(r||(r=Promise))(function(n,s){function a(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((i=i.apply(e,t||[])).next())})}}function e5(e){if("object"!=typeof e||null===e||Array.isArray(e))return!1;let t=Object.keys(e);if(0===t.length)return!1;let r=/^[A-Za-z]{2,4}(-[A-Za-z]{4})?(-([A-Za-z]{2}|[0-9]{3}))?$/;return t.every(e=>r.test(e))}function e4(e){return null===e||e5(e)&&"upload_id"in e&&"alt"in e&&"title"in e&&"custom_data"in e&&"focal_point"in e}function e8(e){return null===e||"object"==typeof e&&null!==e&&"upload_id"in e}e3.defaultBaseUrl="https://site-api.datocms.com";var e7=e.i(18594);function e9(e){let t;if(/^\d+$/.test(e))return 0xffffffffffff>=BigInt(e);try{let r;r=e.replace(/-/g,"+").replace(/_/g,"/"),t=void 0===e7.Buffer?Uint8Array.from(atob(r),e=>e.charCodeAt(0)):new Uint8Array(e7.Buffer.from(r,"base64"))}catch(e){return!1}return 16===t.length&&(192&t.at(8))==128&&4==t.at(6)>>4}function te(e){return"string"==typeof e}function tt(e){return"object"==typeof e&&null!==e&&"type"in e&&"item"===e.type&&"attributes"in e&&"relationships"in e&&"id"in e&&"string"==typeof e.id}function tr(e){return"object"==typeof e&&null!==e&&"type"in e&&"item"===e.type&&"attributes"in e}var ti=function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var i=Array(e),n=0,t=0;t<r;t++)for(var s=arguments[t],a=0,o=s.length;a<o;a++,n++)i[n]=s[a];return i};function tn(e){return"object"==typeof e&&null!==e&&"schema"in e&&"dast"===e.schema&&"document"in e?e.document:e}var ts="blockquote",ta="block",to="inlineBlock",tl="code",tu="heading",tc="inlineItem",th="itemLink",td="link",tm="listItem",tf="list",tp="paragraph",tg="root",ty="span",tv="thematicBreak";function tw(e){return e.type===ta}function tb(e){return e.type===to}function tx(e){return!!("object"==typeof e&&e&&"schema"in e&&"document"in e&&"dast"===e.schema)}function tT(e,t){var r,i,n;return r=e=>!(tw(e)||tb(e))||t(e),void 0===i&&(i=null),void 0===n&&(n=[]),!function e(t,r,i,n){void 0===i&&(i=null),void 0===n&&(n=[]);var s=tn(t);if(r(s,i,n))return!0;if("object"==typeof s&&null!==s&&"children"in s&&Array.isArray(s.children)){for(var a=0;a<s.children.length;a++)if(e(s.children[a],r,s,ti(n,["children",a])))return!0}return!1}(tn(e),function(e,t,i){return!r(e,t,i)},i,n)}(i={})[ts]=[tp],i[ta]=[],i[to]=[],i[tl]=[],i[tu]="inlineNodes",i[tc]=[],i[th]="inlineNodes",i[td]="inlineNodes",i[tm]=[tp,tf],i[tf]=[tm],i[tp]="inlineNodes",i[tg]=[ts,tl,tf,tp,tu,ta,tv],i[ty]=[],i[tv]=[],(n={})[ts]=["children","attribution"],n[ta]=["item"],n[to]=["item"],n[tl]=["language","highlight","code"],n[tu]=["level","children","style"],n[tc]=["item"],n[th]=["item","children","meta"],n[td]=["url","children","meta"],n[tm]=["children"],n[tf]=["style","children"],n[tp]=["children","style"],n[tg]=["children"],n[ty]=["value","marks"],n[tv]=[];function t_(e,t){return e.length<=t?e:e.substring(0,t-3)+"..."}var tS=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r};let tk=[{guard:function(e){return"boolean"==typeof e||null===e},inspect:function(e){return JSON.stringify(e)}},{guard:function(e){return"number"==typeof e||null===e},inspect:function(e){return null===e?"null":e.toString()}},{guard:function(e){return"number"==typeof e||null===e},inspect:function(e){return null===e?"null":e.toString()}},{guard:function(e){return null===e||"object"==typeof e&&null!==e&&"red"in e&&"green"in e&&"blue"in e&&"alpha"in e},inspect:function(e){if(null===e)return"null";let{red:t,green:r,blue:i,alpha:n}=e,s=`#${t.toString(16).padStart(2,"0").toUpperCase()}${r.toString(16).padStart(2,"0").toUpperCase()}${i.toString(16).padStart(2,"0").toUpperCase()}`;if(255===n)return s;let a=Math.round(n/255*100);return`${s} ${a}%`}},{guard:function(e){return null===e||"string"==typeof e&&/^\d{4}-\d{2}-\d{2}$/.test(e)},inspect:function(e){return null===e?"null":e}},{guard:function(e){return null===e||"string"==typeof e&&/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(e)},inspect:function(e){return null===e?"null":e}},{guard:function(e){return Array.isArray(e)&&e.every(e4)},inspect:tL},{guard:function(e){return Array.isArray(e)&&e.every(e8)}
2336,inspect:tL},{guard:e4,inspect:tA},{guard:e8,inspect:tA},{guard:function(e){if(null===e)return!0;if("string"!=typeof e)return!1;try{return JSON.parse(e),!0}catch(e){return!1}},inspect:function(e,t){return null===e?"null":tI(JSON.stringify(JSON.parse(e)),(null==t?void 0:t.maxWidth)||80)}},{guard:function(e){return null===e||"string"==typeof e},inspect:function(e,t){return null===e?"null":JSON.stringify(tI(e,(null==t?void 0:t.maxWidth)||80))}},{guard:function(e){return"string"==typeof e||null===e},inspect:function(e,t){return null===e?"null":JSON.stringify(tI(e,(null==t?void 0:t.maxWidth)||80))}},{guard:function(e){return"string"==typeof e||null===e},inspect:function(e,t){return null===e?"null":JSON.stringify(tI(e,(null==t?void 0:t.maxWidth)||80))}},{guard:function(e){return null===e||"object"==typeof e&&null!==e&&"latitude"in e&&"longitude"in e},inspect:function(e){return null===e?"null":[{label:`latitude: ${e.latitude}`},{label:`longitude: ${e.longitude}`}]}},{guard:function(e){return"string"==typeof e&&e9(e)||null===e},inspect:function(e){return null===e?"null":JSON.stringify(e)}},{guard:function(e){return Array.isArray(e)&&e.every(e=>"string"==typeof e&&e9(e))},inspect:function(e){return null===e?"null":e.map((e,t)=>({label:`[${t}]: ${JSON.stringify(e)}`}))}},{guard:function(e){return null===e||"object"==typeof e&&null!==e&&("title"in e||"description"in e||"image"in e||"twitter_card"in e||"no_index"in e)},inspect:function(e,t){if(null===e)return"null";let r=[];return e.title&&r.push({label:`title: ${JSON.stringify(tI(e.title,(null==t?void 0:t.maxWidth)||80))}`}),e.description&&r.push({label:`description: ${JSON.stringify(tI(e.description,(null==t?void 0:t.maxWidth)||80))}`}),e.image&&r.push({label:`image: ${e.image}`}),e.twitter_card&&r.push({label:`twitter_card: ${e.twitter_card}`}),void 0!==e.no_index&&r.push({label:`no_index: ${e.no_index}`}),r}},{guard:function(e){return null===e||"object"==typeof e&&null!==e&&"provider"in e&&"provider_uid"in e&&"url"in e},inspect:function(e,t){if(null===e)return"null";let r=[];return r.push({label:`provider: ${e.provider}`}),r.push({label:`provider_uid: ${e.provider_uid}`}),r.push({label:`url: ${e.url}`}),r.push({label:`size: ${e.width}⨯${e.height}px`}),r.push({label:`thumbnail_url: ${e.thumbnail_url}`}),e.title&&r.push({label:`title: ${JSON.stringify(tI(e.title,(null==t?void 0:t.maxWidth)||80))}`}),r}},{guard:function(e){return null===e||!!tx(e)&&tT(e.document,e=>"string"==typeof e.item&&e9(e.item))},inspect:tC},{guard:function(e){return null===e||!!tx(e)&&tT(e.document,e=>{let t=e.item;return!!te(t)||tr(t)})},inspect:tC},{guard:function(e){return null===e||!!tx(e)&&tT(e.document,e=>tt(e.item))},inspect:tC},{guard:function(e){return"string"==typeof e&&e9(e)||null===e},inspect:tP},{guard:function(e){return!!(null===e||te(e))||tr(e)},inspect:tP},{guard:function(e){return null===e||tt(e)},inspect:tP},{guard:function(e){return Array.isArray(e)&&e.every(e=>"string"==typeof e&&e9(e))},inspect:t$},{guard:function(e){return null===e||!!Array.isArray(e)&&e.every(e=>!!te(e)||tr(e))},inspect:t$},{guard:function(e){return!!Array.isArray(e)&&e.every(e=>tt(e))},inspect:t$}];function tE(e,t){var r,i;let n,s=function(e){if("attributes"in e)return e;let{__itemTypeId:t}=e;return $(tS(e,["__itemTypeId"]),{type:ec.TYPE,attributes:"*",relationships:["item_type","creator"]}).data}(e);if("relationships"in s&&s.relationships){let e=s.relationships;(null==(i=null==(r=e.item_type)?void 0:r.data)?void 0:i.id)&&(n=e.item_type.data.id)}let a=["Item","id"in e?JSON.stringify(s.id):null,n?`(item_type: ${JSON.stringify(n)})`:null].filter(Boolean).join(" "),o=[];if("attributes"in s)for(let[e,r]of Object.entries(s.attributes)){let i=function(e,t){if(e5(e)){for(let r of tk)if(Object.values(e).every(e=>r.guard(e)))return Object.entries(e).sort(([e],[t])=>e.localeCompare(t)).map(([e,i])=>{let n=r.inspect(i,t);return"string"==typeof n?{label:`${e}: ${n}`}:Array.isArray(n)?{label:e,nodes:n}:{label:e,nodes:[n]}})}for(let r of tk)if(r.guard(e))return r.inspect(e,t);return`UNKNOWN: ${JSON.stringify(e)}`}(r,t);o.push("string"==typeof i?{label:`${e}: ${i}`}:Array.isArray(i)?{label:e,nodes:i}:{label:e,nodes:[i]})}return{label:a,nodes:o.length>0?o:void 0}}function tC(e,t){if(null===e)return"null";var r={maxWidth:(null==t?void 0:t.maxWidth)||80,blockFormatter:(e,r)=>"string"==typeof e?JSON.stringify(e):tE(e,t)};void 0===r&&(r={});var i=function e(t,r){var i,n,s=Math.max(20,(null!=(n=r.maxWidth)?n:80)-8),a={label:function(e,t,r){var i=[],n="";if(e.type===ty)e.marks&&e.marks.length>0&&i.push("marks: "+e.marks.join(", ")),n=' "'+t_(e.value,r)+'"';else if(e.type===tl)e.language&&i.push('language: "'+e.language+'"'),n=' "'+t_(e.code,r)+'"';else if(e.type===tu)i.push("level: "+e.level);else if(e.type===tf)i.push("style: "+e.style);else if(e.type===td){if(i.push('url: "'+e.url+'"'),e.meta&&e.meta.length>0){var s=e.meta.map(function(e){return e.id+'="'+e.value+'"'}).join(", ");i.push("meta: {"+s+"}")}}else if(e.type===th){if(i.push('item: "'+e.item+'"'),e.meta&&e.meta.length>0){var s=e.meta.map(function(e){return e.id+'="'+e.value+'"'}).join(", ");i.push("meta: {"+s+"}")}}else if(tw(e)||tb(e)){var a=(t.blockFormatter||function(e){return"(item: "+JSON.stringify(e)+")"})(e.item,r);"string"==typeof a&&(n=" "+a.replace(/\n/g," ").trim())}else e.type===tp&&e.style&&i.push('style: "'+e.style+'"');var o=i.length>0?" ("+i.join(", ")+")":"";return""+e.type+o+n}(t,r,s)};if("children"in t){var o=t.children;if(o.length>0){a.nodes=[];for(var l=0;l<o.length;l++){var u=o[l];a.nodes.push(e(u,r))}}}if((tw(t)||tb(t))&&r.blockFormatter){var c=r.blockFormatter(t.item,
2336s);"string"!=typeof c&&(a.nodes||(a.nodes=[]),Array.isArray(c)?(i=a.nodes).push.apply(i,c):a.nodes.push(c))}return a}(tx(e)?e.document:e,r);return i.nodes&&i.nodes.length>0?1===i.nodes.length?i.nodes[0]:{label:"",nodes:i.nodes}:{label:""}}function tP(e,t){return null===e?"null":"string"==typeof e?JSON.stringify(e):tE(e,t)}function t$(e,t){return null===e?"null":e.map((e,r)=>{let i=tP(e,t);return"string"==typeof i?{label:`[${r}] ${i}`}:(i.label=`[${r}] ${i.label}`,i)})}function tA(e,t){if(null===e)return"null";let r=[];if(r.push({label:`upload_id: ${JSON.stringify(e.upload_id)}`}),e.alt&&r.push({label:`alt: ${JSON.stringify(tI(e.alt,(null==t?void 0:t.maxWidth)||80))}`}),e.title&&r.push({label:`title: ${JSON.stringify(tI(e.title,(null==t?void 0:t.maxWidth)||80))}`}),e.custom_data&&Object.keys(e.custom_data).length>0&&r.push({label:`custom_data: ${tI(JSON.stringify(e.custom_data),(null==t?void 0:t.maxWidth)||80)}`}),e.focal_point){let t=100*e.focal_point.x,i=100*e.focal_point.y;r.push({label:`focal_point: x=${t}% y=${i}%`})}return r}function tL(e,t){return e&&0!==e.length?e.map((e,r)=>{let i=[];if(i.push({label:`upload_id: ${JSON.stringify(e.upload_id)}`}),e.alt&&i.push({label:`alt: ${JSON.stringify(tI(e.alt,(null==t?void 0:t.maxWidth)||80))}`}),e.title&&i.push({label:`title: ${JSON.stringify(tI(e.title,(null==t?void 0:t.maxWidth)||80))}`}),e.custom_data&&Object.keys(e.custom_data).length>0&&i.push({label:`custom_data: ${tI(JSON.stringify(e.custom_data),(null==t?void 0:t.maxWidth)||80)}`}),e.focal_point){let t=100*e.focal_point.x,r=100*e.focal_point.y;i.push({label:`focal_point: x=${t}% y=${r}%`})}return{label:`[${r}]`,nodes:i}}):"[]"}function tI(e,t){return e.length<=t?e:`${e.slice(0,t-3)}...`}e.i(27668),e.s(["AccessToken",()=>Z,"AuditLogEvent",()=>V,"BuildEvent",()=>er,"BuildTrigger",()=>eR,"DailyUsage",()=>ez,"EditingSession",()=>eV,"EmojiSuggestions",()=>eU,"Environment",()=>eP,"Field",()=>H,"Fieldset",()=>z,"Item",()=>ec,"ItemType",()=>W,"ItemTypeFilter",()=>eD,"ItemVersion",()=>ef,"JobResult",()=>K,"MaintenanceMode",()=>e$,"MenuItem",()=>B,"Plugin",()=>Y,"PublicInfo",()=>eH,"Role",()=>D,"ScheduledPublication",()=>eT,"ScheduledUnpublishing",()=>e_,"SchemaMenuItem",()=>q,"SearchIndex",()=>ej,"SearchIndexEvent",()=>ea,"SearchResult",()=>eC,"Session",()=>G,"Site",()=>e2,"SiteInvitation",()=>eF,"SsoGroup",()=>eB,"SsoSettings",()=>eq,"SsoUser",()=>F,"SubscriptionFeature",()=>X,"SubscriptionLimit",()=>J,"Upload",()=>ew,"UploadCollection",()=>U,"UploadFilter",()=>eN,"UploadRequest",()=>eb,"UploadSmartTag",()=>e1,"UploadTag",()=>eJ,"UploadTrack",()=>ex,"UsageCounter",()=>eG,"User",()=>N,"Webhook",()=>eA,"WebhookCall",()=>eM,"WhiteLabelSettings",()=>eW,"Workflow",()=>e6],955);var tO=e.i(955),tO=tO,tO=tO;function tM(e,t,r={}){let i,n=r.filename||("name"in t?t.name:void 0);if(!n)throw Error("Missing filename, please provide it as an option!");let s=!1;return T(()=>{var a,o,l,u;return a=this,o=void 0,l=void 0,u=function*(){r.onProgress&&(null==r||r.onProgress({type:"REQUESTING_UPLOAD_URL",payload:{filename:n}}));let{id:a,url:o,request_headers:l}=yield e.uploadRequest.create({filename:n});if(s)throw new x;return r.onProgress&&r.onProgress({type:"UPLOADING_FILE",payload:{progress:0}}),i=function(e,t,{onProgress:r,additionalHeaders:i}={}){let n=new XMLHttpRequest;return T(new Promise((s,a)=>{if(r&&n.upload&&(n.upload.onprogress=e=>{e.lengthComputable&&r({type:"UPLOADING_FILE",payload:{progress:Math.round(e.loaded/e.total*100)}})}),n.onreadystatechange=()=>{4===n.readyState&&(200===n.status?s():a(Error(`Status ${n.status}`)))},n.addEventListener("error",a,!1),n.open("PUT",t,!0),i)for(let[e,t]of Object.entries(i))n.setRequestHeader(e,t);n.send(e)}),()=>{n.onreadystatechange=null,n.abort()})}(t,o,Object.assign(Object.assign({},r),{additionalHeaders:l})),yield i,a},new(l||(l=Promise))(function(e,t){function r(e){try{n(u.next(e))}catch(e){t(e)}}function i(e){try{n(u.throw(e))}catch(e){t(e)}}function n(t){var n;t.done?e(t.value):((n=t.value)instanceof l?n:new l(function(e){e(n)})).then(r,i)}n((u=u.apply(a,o||[])).next())})},()=>{i?i.cancel():s=!0})}var tR=function(e,t,r,i){return new(r||(r=Promise))(function(n,s){function a(e){try{l(i.next(e))}catch(e){s(e)}}function o(e){try{l(i.throw(e))}catch(e){s(e)}}function l(e){var t;e.done?n(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,o)}l((i=i.apply(e,t||[])).next())})},tj=function(e,t){var r={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&0>t.indexOf(i)&&(r[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)0>t.indexOf(i[n])&&Object.prototype.propertyIsEnumerable.call(e,i[n])&&(r[i[n]]=e[i[n]]);return r};class tD extends tO.Upload{createFromFileOrBlob(e){let t,r=!1;return T(()=>tR(this,void 0,void 0,function*(){if(r)throw new x;let{fileOrBlob:i,filename:n,onProgress:s}=e,a=tj(e,["fileOrBlob","filename","onProgress"]);
2336t=tM(this.client,i,{filename:n,onProgress:s});let o=yield t;return s&&s({type:"CREATING_UPLOAD_OBJECT"}),this.create(Object.assign(Object.assign({},a),{path:o}))}),()=>{t?t.cancel():r=!0})}updateFromFileOrBlob(e,t){let r,i=!1;return T(()=>tR(this,void 0,void 0,function*(){if(i)throw new x;let{fileOrBlob:n,filename:s,onProgress:a}=t,o=tj(t,["fileOrBlob","filename","onProgress"]);r=tM(this.client,n,{filename:s,onProgress:a});let l=yield r;return a&&a({type:"CREATING_UPLOAD_OBJECT"}),this.update(e,Object.assign(Object.assign({},o),{path:l}))}),()=>{r?r.cancel():i=!0})}}var tO=tO;tO.UploadTrack,tO.Role,tO.User,tO.SsoUser,tO.AuditLogEvent,tO.MenuItem,tO.SchemaMenuItem,tO.UploadCollection,tO.ItemType,tO.Field,tO.Fieldset,tO.Session,tO.AccessToken,tO.Plugin,tO.JobResult,tO.SubscriptionLimit,tO.SubscriptionFeature,tO.BuildEvent,tO.SearchIndexEvent,tO.Item,tO.ItemVersion,tO.UploadRequest,tO.ScheduledPublication,tO.ScheduledUnpublishing,tO.SearchResult,tO.Environment,tO.MaintenanceMode,tO.Webhook,tO.WebhookCall,tO.BuildTrigger,tO.SearchIndex,tO.ItemTypeFilter,tO.UploadFilter,tO.SiteInvitation,tO.EditingSession,tO.SsoGroup,tO.SsoSettings,tO.EmojiSuggestions,tO.WhiteLabelSettings,tO.PublicInfo,tO.DailyUsage,tO.UsageCounter,tO.UploadTag,tO.UploadSmartTag,tO.Site,tO.Workflow;var tN=e.i(7284),tF=e.i(62560),tV=e.i(620),tB=e.i(31835),tq=e.i(53299);function tU(e){return(0,tq.GenIcon)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm19 304h-38.2V207.9H275V352zm-19.1-159.8c-11.3 0-20.5-8.6-20.5-20s9.3-19.9 20.5-19.9c11.4 0 20.7 8.5 20.7 19.9s-9.3 20-20.7 20z"},child:[]}]})(e)}var tW=e.i(76594),tH=e.i(50847);let tz=function({data:e,error:t,page:r,setPage:i,state:n,SEARCH_PAGE_SIZE:a,isLoading:o}){let l=(0,tF.useRef)(null);return(0,s.jsxs)("div",{className:(0,tN.default)(tW.default.SearchWidget,"mt-32 flex w-[100%] max-w-[1200px] flex-col gap-16 md:gap-32 lg:gap-48 xl:gap-64"),ref:l,children:[o&&(0,s.jsx)("p",{children:"Loading results..."}),t&&(0,s.jsxs)("p",{children:["Error! ",t]}),e&&n.query&&(0,s.jsxs)(s.Fragment,{children:[e.totalResults>0?(0,s.jsxs)("p",{className:"self-start pt-12",children:["Total results: ",e.totalResults]}):(0,s.jsxs)("div",{className:(0,tN.default)("flex flex-col items-center",tW.default.textContainer),children:[(0,s.jsx)(tU,{color:"#69188e"}),(0,s.jsxs)("p",{className:tW.default.noResults,children:['No results with "',n.query,'"']}),(0,s.jsx)("span",{children:"Try another keyword."})]}),e.pageResults.map(e=>(0,s.jsxs)("a",{href:e.url,children:[(0,s.jsx)("h3",{className:(0,tN.default)("text-almarai-18 font-almarai-bold",tW.default.resultTitle),children:e.title}),(0,s.jsx)("div",{className:(0,tN.default)("pt-16 text-almarai-16 font-almarai-light",tW.default.resultBody),children:e.bodyExcerpt}),(0,s.jsx)("div",{className:(0,tN.default)("pt-8 text-almarai-14 font-almarai-bold text-eclipse-900 underline"),children:e.url})]},e.id)),(0,s.jsx)("div",{className:"flex w-full justify-center",children:(0,s.jsx)(tH.Pagination,{totalCount:e.totalResults,pageSize:a,initialPage:r,onClick:e=>{if(i(e),!l.current)return}})})]})]})},tG=e=>{window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"search",searchTerm:e})};function tZ({query:e,setQuery:t,state:r}){let i=(0,tF.useRef)(null),n=(0,tF.useRef)(void 0);return(0,tF.useEffect)(()=>()=>{n.current&&clearTimeout(n.current)},[n]),(0,s.jsx)("div",{className:tW.default.SearchWidget,ref:i,children:(0,s.jsx)("form",{onSubmit:t=>{t.preventDefault(),r.setQuery(e),tG(e)},className:tW.default.form,children:(0,s.jsx)("input",{type:"search",value:e,placeholder:"Search from website",onChange:e=>{let i=e.target.value;t(i),n.current&&clearTimeout(n.current),n.current=setTimeout(()=>{i.trim()&&(tG(i),r.setQuery(i))},2e3)},className:"w-full rounded-[100px] border-[0.5px] border-solid border-cloud-600 p-16 md:w-[90%] lg:w-[70%]"})})})}var tY=e.i(7985),tK=e.i(10598),tJ=e.i(7609);let tX=new class e extends e3{constructor(e){super(e),this.uploads=new tD(this)}}({apiToken:"f20f7a4a0096b286e4e4cc8da69593"});e.s(["PageHero",0,function({title:e,body:t,image:r,ctaHref:i,ctaLabel:n,externalLink:a,overlayText:o,overlayImage:l,overlayImageInCorner:u,location:c,date:h,logoUrl:d,serverContext:m,hasSearch:f}){let p=(0,tF.useRef)(null),g=(0,tV.useElementHeightCSSProperty)(p),[y,v]=(0,tF.useState)(""),[w,b]=(0,tF.useState)(1),[x,T]=(0,tF.useState)(),[_,S]=(0,tF.useState)(!1),[k,E]=(0,tF.useState)();(0,tF.useEffect)(()=>{!async function(){if(y){S(!0);try{let{data:e,meta:t}=await tX.searchResults.rawList({filter:{query:y,build_trigger_id:"348
233618",locale:m.locale,fuzzy:!0},page:{limit:10,offset:(w-1)*10}});T({totalResults:t.total_count,pageResults:e.map(e=>({id:e.id,title:e.attributes.title,url:e.attributes.url,bodyExcerpt:e.attributes.body_excerpt}))})}catch(e){E(e instanceof Error?e.message:"Search failed")}finally{S(!1)}}}()},[y,w,m.locale]);let C={query:y,setQuery:e=>{v(e),b(1)}};return(0,s.jsxs)("header",{ref:p,style:g,className:(0,tN.default)("mx-16 mb-32 flex flex-col items-center overflow-hidden xl:mx-36 xl:mb-64 2xl:mb-80",tJ.default.hero),children:[(0,s.jsxs)("div",{className:"grid w-[100%] max-w-[1700px] gap-16 md:grid-cols-2 md:gap-32 lg:gap-48 xl:gap-64",children:[(0,s.jsxs)("div",{className:(0,tN.default)("relative flex h-[350px] flex-col gap-24 md:h-[400px] lg:h-[500px]",tJ.default.imageWrapper),children:[(0,s.jsx)("div",{className:(0,tN.default)("absolute left-20 top-20 z-[30] h-fit w-112 cursor-pointer xl:left-32",tJ.default.logoWrapper),children:(0,s.jsx)(tY.SiteLogo,{locale:m.locale,logoUrl:d})}),(0,s.jsx)("svg",{id:"Top_corner_mobile",className:(0,tN.default)("absolute z-[5] fill-white",tJ.default.mobileSvgTop),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 60 47",children:(0,s.jsx)("path",{d:"M13.5 16.5C13.5 4.1 4.83333 0.333333 0.5 0H43C57 0 60.1667 11.6667 60 17.5V46.5C60 36.1 52 32.5 48 32H27C15.4 32 13.1667 21.6667 13.5 16.5Z"})}),(0,s.jsx)("svg",{id:"Top_corner_desktop",className:(0,tN.default)("absolute z-[5] fill-white",tJ.default.desktopSvgTopCorner),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 32 32",children:(0,s.jsx)("path",{d:"M30 32C29.5 21 21 3.87879 0 1.93939V0H32V32H30Z"})}),(0,s.jsx)("svg",{id:"Bottom_long_desktop",className:(0,tN.default)("absolute z-[5] fill-white",tJ.default.desktopSvgBottom),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 335 49",children:(0,s.jsx)("path",{d:"M313 24.7526C313 6.56701 298.333 0.67354 291 0H0V49L335 49C327.667 48.4949 313 42.9381 313 24.7526Z"})}),(0,s.jsx)("svg",{id:"Bottom_long_mobile",className:(0,tN.default)("absolute z-[5] fill-white",tJ.default.mobileSvgBottom),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 157 51",children:(0,s.jsx)("path",{d:"M14 14.5C3.6 14.5 0.333333 5.16667 0 0.5V51H157C146.2 51 143.5 38.6667 143.5 32.5C143.5 18.1 134.5 14.5 130 14.5H14Z"})}),(0,s.jsx)("svg",{id:"Bottom_corner_desktop",className:(0,tN.default)("absolute z-[5] fill-white",tJ.default.desktopSvgBottomCorner),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 32 32",children:(0,s.jsx)("path",{d:"M2 -2.62268e-06C2.5 11 11 28.1212 32 30.0606L32 32L0 32L2.79753e-06 -2.79753e-06L2 -2.62268e-06Z"})}),(0,s.jsxs)("div",{className:(0,tN.default)("relative h-[350px] w-full overflow-hidden rounded-2xl md:h-[400px] md:pb-0 lg:h-[500px]",tJ.default.imageContainer),children:[r,(o||l)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:(0,tN.default)("relative h-full w-full",tJ.default.overlayTextContainer),children:o?.map(e=>(0,s.jsx)(tK.Tagline,{decorative:!0,theme:"dark",children:e},e))}),l&&(0,s.jsx)("div",{className:(0,tN.default)("absolute z-[15]",u?"bottom-12 right-32 h-[150px] w-[150px] xl:bottom-20 xl:h-[180px] xl:w-[180px]":"left-1/2 top-1/2 h-[220px] w-[220px] -translate-x-1/2 -translate-y-1/2 md:h-[200px] md:w-[200px] xl:h-[250px] xl:w-[250px] 2xl:h-[300px] 2xl:w-[300px]"),children:l})]})]})]}),(0,s.jsxs)("div",{className:(0,tN.default)("relative flex flex-col justify-center gap-20 pb-16 pr-32 pt-32 md:pb-64 md:pr-32 lg:pr-80 lg:pt-64 xl:pt-80"),children:[h&&(0,s.jsx)("p",{className:(0,tN.default)("font-splineSansMono text-spline-sans-mono-16 uppercase"),children:h}),(0,s.jsx)("h1",{className:(0,tN.default)("mt-4 text-almarai-28 font-almarai-regular md:text-almarai-44"),children:e}),c&&(0,s.jsx)("p",{className:(0,tN.default)("font-splineSansMono text-spline-sans-mono-16 uppercase"),children:c}),(0,s.jsx)("div",{className:(0,tN.default)("flex flex-col gap-20"),children:t}),!!n&&!!i&&(0,s.jsx)("div",{className:"",children:(0,s.jsx)(tB.Button,{element:"a",href:i,externalLink:a,children:n})}),f&&(0,s.jsx)(tZ,{query:y,setQuery:v,state:C,data:x,error:k,page:w,setPage:b})]})]}),f&&(0,s.jsx)(tz,{data:x,error:k,page:w,setPage:b,query:y,state:C,SEARCH_PAGE_SIZE:10,isLoading:_})]})}],26646)},82285,e=>{e.v({button:"ServiceCard-module__2aZoUq__button",buttonWrapper:"ServiceCard-module__2aZoUq__buttonWrapper",card:"ServiceCard-module__2aZoUq__card"})},96755,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(62560),n=e.i(80177),s=e.i(68976),a=e.i(82285);e.s(["ServiceCard",0,function({title:e,body:o,...l}){let u=(0,i.useRef)(null);return(0,t.jsxs)("div",{className:(0,r.default)("flex max-w-[360px] flex-col gap-16 font-almarai lg:w-full xl:max-w-[500px]"),children:[(0,t.jsx)(n.LinkWrapper,{ref:u,...l,children:(0,t.jsxs)("div",{className:(0,r.default)("relative flex h-[170px] flex-col justify-end rounded-[16px] bg-grey-100 p-24",a.default.card),children:[(0,t.jsx)("h3",{className:(0,r.default)("w-[85%] text-almarai-24 lg:text-almarai-28"),children:e}),(0,t.jsxs)("div",{className:(0,r.default)("absolute",a.default.buttonWrapper),children:[(0,t.jsx)("svg",{id:"Bottom_corner",className:(0,r.default)("absolute z-[5] fill-white"),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 78 69",width:"78",height:"69",children:(0,t.jsx)("path",{d:"M0 69L77 69L77 4.89059C77.0937 3.12497 77 1.41665 77 -6.73155e-06L77 4.89059C76.7188 10.1875 74.75 16 63.5 16L29.5 16C24.6667 16.5 15 18.7 15 29.5L15 54C15 61 10.8 69 0 69Z"})}),(0,t.jsx)("div",{className:(0,r.default)(a.default.button),children:(0,t.jsx)(s.ArrowButton,{})})]})]})}),(0,t.jsx)("div",{className:(0,r.default)("ml-10"),children:o})]})}])},44711,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(62560);let n=(e,t,r)=>
2336Math.min(Math.max(r,e),t);e.s(["TableScroll",0,function({children:e}){let s=(0,i.useRef)(null),a=(0,i.useRef)(null),o=(0,i.useRef)(null),l=function(){let[e,t]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{function e(e){requestAnimationFrame(()=>{t(e)})}return window.addEventListener("mousedown",()=>{e(!0)}),window.addEventListener("mouseup",()=>{e(!1)}),()=>{window.removeEventListener("mousedown",()=>e),window.removeEventListener("mouseup",()=>e)}},[]),e}(),[u=0,c=0]=function(){let[e,t]=(0,i.useState)([0,0]);return(0,i.useEffect)(()=>{function e(e){requestAnimationFrame(()=>{t([e.clientX,e.clientY])})}return window.addEventListener("mousemove",t=>{e(t)}),()=>{window.removeEventListener("mousemove",()=>e)}},[]),e}(),[h,d]=(0,i.useState)(!1),[m,f]=(0,i.useState)(!1),[p,g]=(0,i.useState)(0);return(0,i.useEffect)(()=>{let e=a.current;if(e){if(!l)return void d(!1);if(!h){let t=e.getBoundingClientRect();u>=t.left&&u<=t.left+t.width&&c>=t.top&&c<=t.top+t.height&&d(!0)}if(h){let e=s.current;if(e){let{scrollWidth:t}=e,{width:r,left:i,right:s}=e.getBoundingClientRect();e.scrollLeft=(t-r)*n(0,1,(u-i)/(s-i))}}}},[u,c,l,a,h]),(0,i.useEffect)(()=>{if(s.current){let e=s.current;e.offsetWidth===e.scrollWidth&&f(!0)}},[s]),(0,t.jsxs)("div",{className:"relative mx-auto max-w-[896px]",children:[(0,t.jsx)("div",{className:"outline-grey-400 relative mx-auto flex w-full overflow-hidden rounded-2xl outline outline-1 -outline-offset-1",children:(0,t.jsx)("div",{ref:s,onScroll:function(e){if(s.current&&a.current&&o.current){let{scrollWidth:t,scrollLeft:r}=e.currentTarget,i=n(0,1,r/(t-e.currentTarget.getBoundingClientRect().width));g((a.current.getBoundingClientRect().width-o.current.getBoundingClientRect().width)*i)}},className:"scrollbar-hide flex w-full overflow-x-scroll",children:(0,t.jsx)("div",{className:"flex h-full w-full",children:e})})}),(0,t.jsx)("div",{className:"flex h-12 w-full cursor-pointer items-center",children:(0,t.jsx)("div",{className:(0,r.default)("full",m&&"hidden"),children:(0,t.jsxs)("div",{ref:a,className:"0 relative flex h-full w-full items-center",children:[(0,t.jsx)("div",{className:"h-2 w-full rounded-full bg-grey-500"}),(0,t.jsx)("div",{ref:o,style:{transform:`translateX(${p}px)`},className:"absolute left-0 top-0 flex h-full w-1/4 items-center will-change-transform",children:(0,t.jsx)("div",{className:"bg-gr-blue-500 h-2 w-full rounded-full"})})]})})})]})}],44711)},18933,e=>{e.v({button:"TestimonialCard-module__au6UaW__button",buttonWrapper:"TestimonialCard-module__au6UaW__buttonWrapper",card:"TestimonialCard-module__au6UaW__card",imageContainer:"TestimonialCard-module__au6UaW__imageContainer",name:"TestimonialCard-module__au6UaW__name",quote:"TestimonialCard-module__au6UaW__quote"})},48521,e=>{"use strict";var t=e.i(72525),r=e.i(7284),i=e.i(62560),n=e.i(70958),s=e.i(80177),a=e.i(68976),o=e.i(62530),l=e.i(18933);function u({author:e,title:i,image:s,quote:c,caseUrl:h}){return(0,t.jsxs)("div",{className:(0,r.default)("relative flex min-h-[250px] flex-1 flex-shrink-0 flex-col gap-32 rounded-[16px] bg-grey-100 p-32",l.default.card),children:[(0,t.jsxs)("div",{className:(0,r.default)("relative h-[128px] w-[128px] self-center rounded-[100px] font-almarai",l.default.imageContainer),children:[s||(0,t.jsx)(o.DatoImageDynamic,{data:n.defaultAvatar.responsiveImage,layout:"fill",objectFit:"cover"}),s]}),(0,t.jsxs)("blockquote",{className:(0,r.default)("flex flex-col gap-32"),children:[c&&(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:c},className:(0,r.default)("flex w-[95%] flex-col gap-16 text-almarai-16 font-almarai-light lg:text-almarai-18",l.default.quote)}),(0,t.jsxs)("footer",{className:(0,r.default)(l.default.name,"text-almarai-16 font-almarai-bold"),children:[(0,t.jsx)("cite",{children:e+","}),(0,t.jsx)("p",{className:"pl-20 pr-24",children:i})]})]}),(0,t.jsxs)("div",{className:(0,r.default)("absolute",l.default.buttonWrapper),children:[(0,t.jsx)("svg",{id:"Bottom_corner",className:(0,r.default)("absolute z-[5] fill-white"),version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 78 69",width:"78",height:"69",children:(0,t.jsx)("path",{d:"M0 69L77 69L77 4.89059C77.0937 3.12497 77 1.41665 77 -6.73155e-06L77 4.89059C76.7188 10.1875 74.75 16 63.5 16L29.5 16C24.6667 16.5 15 18.7 15 29.5L15 54C15 61 10.8 69 0 69Z"})}),h&&(0,t.jsx)("div",{className:(0,r.default)(l.default.button),children:(0,t.jsx)(a.ArrowButton,{})})]})]})}e.s(["TestimonialCard",0,function({author:e,title:n,image:a,quote:o,caseUrl:l,...c}){let h=(0,i.useRef)(null);return(0,t.jsx)("div",{className:(0,r.default)("mt-64 flex flex-1 flex-shrink-0 flex-col"),children:l?(0,t.jsx)(s.LinkWrapper,{ref:h,...c,children:(0,t.jsx)(u,{author:e,title:n,quote:o,image:a,caseUrl:l})}):(0,t.jsx)(u,{author:e,title:n,quote:o,image:a,caseUrl:l})})}])}]);
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.