1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{34:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useMergedRef",{enumerable:!0,get:function(){return n}});let r=i(4343);function n(t,e){let i=(0,r.useRef)(null),n=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let t=i.current;t&&(i.current=null,t());let e=n.current;e&&(n.current=null,e())}else t&&(i.current=s(t,r)),e&&(n.current=s(e,r))},[t,e])}function s(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},405:(t,e,i)=>{"use strict";i.d(e,{$:()=>m});var r=i(5383),n=i(5749),s=i(3001);i(4343);var o=i(1828),a=i(9193),l=i(6192);let h=({title:t,children:e})=>t&&e?(0,r.jsxs)(u.FooterNav,{columns:{tablet:3},children:[(0,r.jsx)(u.Title,{children:t}),(0,r.jsx)(u.List,{children:e})]}):null,u={FooterNav:(0,o.Ay)(s.E).withConfig({componentId:"sc-cc576187-0"})(["margin-bottom:42px;@media (min-width:","){margin:0;}"],l.fi.minTablet),Title:o.Ay.div.withConfig({componentId:"sc-cc576187-1"})(["",";margin-bottom:",";font-weight:600;color:",";"],(0,a.Ig)(20,24),(0,a.yF)(8),l.Tj.white),List:o.Ay.div.withConfig({componentId:"sc-cc576187-2"})(["display:flex;flex-direction:column;gap:8px;"])};var c=i(4084);let d=({link:t,linkText:e})=>t&&e?(0,r.jsx)(p.Link,{to:t,children:e}):null,p={Link:(0,o.Ay)(c.N).withConfig({componentId:"sc-72c7c530-0"})(["",";width:fit-content;color:",";transition:opacity "," 0.2s;&:hover{opacity:0.7;}"],(0,a.Ig)(14,16),l.Tj.white,l.WT.defaultEase)},f=({title:t,items:e})=>(0,r.jsx)(h,{title:t,children:e?.map((t,e)=>t.link&&t.link_text?(0,r.jsx)(d,{link:(0,n.z)(t.link),linkText:t.link_text},e):null)}),m=t=>{let e=t.primary,i=t.items;if(!e)return null;let n=e.footer_group_title??null;return n&&i?(0,r.jsx)(f,{title:n,items:i}):null}},517:t=>{t.exports={style:{fontFamily:"'mulish', 'mulish Fallback'"},className:"__className_63ce40"}},618:(t,e,i)=>{"use strict";let r,n;i.d(e,{X:()=>f});var s=i(9007),o=i(4643);let a=new WeakMap,l=(t,e,i)=>(r,n)=>n&&n[0]?n[0][t+"Size"]:(0,s.x)(r)&&"getBBox"in r?r.getBBox()[e]:r[i],h=l("inline","width","offsetWidth"),u=l("block","height","offsetHeight");function c({target:t,borderBoxSize:e}){a.get(t)?.forEach(i=>{i(t,{get width(){return h(t,e)},get height(){return u(t,e)}})})}function d(t){t.forEach(c)}let p=new Set;function f(t,e){let i;return"function"==typeof t?(p.add(t),n||(n=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};p.forEach(e=>e(t))},window.addEventListener("resize",n)),()=>{p.delete(t),p.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!r&&"u">typeof ResizeObserver&&(r=new ResizeObserver(d)),(i=(0,o.K)(t)).forEach(t=>{let i=a.get(t);i||(i=new Set,a.set(t,i)),i.add(e),r?.observe(t)}),()=>{i.forEach(t=>{let i=a.get(t);i?.delete(e),i?.size||r?.unobserve(t)})})}},641:(t,e,i)=>{"use strict";i.d(e,{q:()=>r});class r{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}},658:(t,e,i)=>{t.exports=i(5405)},742:t=>{t.exports={style:{fontFamily:"'merriweather', 'merriweather Fallback'"},className:"__className_7d387e"}},839:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"useIntersection",{enumerable:!0,get:function(){return l}});let r=i(4343),n=i(5234),s="function"==typeof IntersectionObserver,o=new Map,a=[];function l({rootRef:t,rootMargin:e,disabled:i}){let h=i||!s,[u,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),p=(0,r.useCallback)(t=>{d.current=t},[]);return(0,r.useEffect)(()=>{if(s){if(h||u)return;let i=d.current;if(i&&i.tagName)return function(t,e,i){let{id:r,observer:n,elements:s}=function(t){let e,i={root:t.root||null,margin:t.rootMargin||""},r=a.find(t=>t.root===i.root&&t.margin===i.margin);if(r&&(e=o.get(r)))return e;let n=new Map;return e={id:i,observer:new IntersectionObserver(t=>{t.forEach(t=>{let e=n.get(t.target),i=t.isIntersecting||t.intersectionRatio>0;e&&i&&e(i)})},t),elements:n},a.push(i),o.set(i,e),e}(i);return s.set(t,e),n.observe(t),function(){if(s.delete(t),n.unobserve(t),0===s.size){n.disconnect(),o.delete(r);let t=a.findIndex(t=>t.root===r.root&&t.margin===r.margin);t>-1&&a.splice(t,1)}}}(i,t=>t&&c(t),{root:t?.current,rootMargin:e})}else if(!u){let t=(0,n.requestIdleCallback)(()=>c(!0));return()=>(0,n.cancelIdleCallback)(t)}},[h,e,t,u,d.current]),[p,u,(0,r.useCallback)(()=>{c(!1)},[])]}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esMo
1dule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},879:(t,e,i)=>{t.exports=i(4228)},964:(t,e,i)=>{"use strict";i.d(e,{t:()=>r});let r=(0,i(4343).createContext)(null)},1020:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(t,e)=>i(2189).normalizeLocalePath(t,e);("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},1056:(t,e,i)=>{"use strict";i.d(e,{u:()=>n});var r=i(8593);let n={test:(0,i(9829).$)("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}},transform:r.B.transform}},1137:(t,e,i)=>{"use strict";i.d(e,{i:()=>y});var r=i(9220);let n=(0,r.A)(.42,0,1,1),s=(0,r.A)(0,0,.58,1),o=(0,r.A)(.42,0,.58,1);var a=i(4598),l=i(9847),h=i(5217),u=i(9184),c=i(1156),d=i(9821);let p={linear:l.l,easeIn:n,easeInOut:o,easeOut:s,circIn:c.po,circInOut:c.tn,circOut:c.yT,backIn:u.dg,backInOut:u.ZZ,backOut:u.Sz,anticipate:h.b},f=t=>{if((0,d.D)(t)){(0,a.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return(0,r.A)(e,i,n,s)}return"string"==typeof t?((0,a.V)(void 0!==p[t],`Invalid easing type '${t}'`,"invalid-easing-type"),p[t]):t};var m=i(5348),g=i(8126);function y({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s=Array.isArray(r)&&"number"!=typeof r[0]?r.map(f):f(r),a={done:!1,value:e[0]},l=(n=i&&i.length===e.length?i:(0,g.Z)(e),n.map(e=>e*t)),h=(0,m.G)(l,e,{ease:Array.isArray(s)?s:e.map(()=>s||o).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=h(e),a.done=e>=t,a)}}},1156:(t,e,i)=>{"use strict";i.d(e,{po:()=>s,tn:()=>a,yT:()=>o});var r=i(5621),n=i(5920);let s=t=>1-Math.sin(Math.acos(t)),o=(0,n.G)(s),a=(0,r.V)(s)},1242:(t,e,i)=>{"use strict";i.d(e,{E:()=>n});var r=i(4343);let n="u">typeof window?r.useLayoutEffect:r.useEffect},1461:(t,e,i)=>{"use strict";i.d(e,{V:()=>u,f:()=>d});var r=i(9051);let n=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;var s=i(3813),o=i(6692);let a="number",l="color",h=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function u(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],o=0,u=e.replace(h,t=>(r.y.test(t)?(n.color.push(o),s.push(l),i.push(r.y.parse(t))):t.startsWith("var(")?(n.var.push(o),s.push("var"),i.push(t)):(n.number.push(o),s.push(a),i.push(parseFloat(t))),++o,"${}")).split("${}");return{values:i,split:u,indexes:n,types:s}}function c({split:t,types:e}){let i=t.length;return n=>{let s="";for(let h=0;h<i;h++)if(s+=t[h],void 0!==n[h]){let t=e[h];t===a?s+=(0,o.a)(n[h]):t===l?s+=r.y.transform(n[h]):s+=n[h]}return s}}let d={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(s.S)?.length||0)+(t.match(n)?.length||0)>0},parse:function(t){return u(t).values},createTransformer:function(t){return c(u(t))},getAnimatableNone:function(t){let e=u(t);return c(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:r.y.test(t)?r.y.getAnimatableNone(t):t)(t,e.split[i])))}}},1499:(t,e,i)=>{"use strict";i.d(e,{X:()=>n,f:()=>r});let r=t=>1e3*t,n=t=>t/1e3},1571:t=>{!function(){"use strict";var e={114:function(t){function e(t){if("string"!=typeof t)throw TypeError("Path must be a string. Received "+JSON.stringify(t))}function i(t,e){for(var i,r="",n=0,s=-1,o=0,a=0;a<=t.length;++a){if(a<t.length)i=t.charCodeAt(a);else if(47===i)break;else i=47;if(47===i){if(s===a-1||1===o);else if(s!==a-1&&2===o){if(r.length<2||2!==n||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2)){if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",n=0):n=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),s=a,o=0;continue}}else if(2===r.length||1===r.length){r="",n=0,s=a,o=0;continue}}e&&(r.length>0?r+="/..":r="..",n=2)}else r.length>0?r+="/"+t.slice(s+1,a):r=t.slice(s+1,a),n=a-s-1;s=a,o=0}else 46===i&&-1!==o?++o:o=-1}return r}var r={resolve:function(){for(var t,r,n="",s=!1,o=arguments.length-1;o>=-1&&!s;o--)o>=0?r=arguments[o]:(void 0===t&&(t=""),r=t),e(r),0!==r.length&&(n=r+"/"+n,s=47===r.charCodeAt(0));if(n=i(n,!s),s)if(n.length>0)return"/"+n;else return"/";return n.length>0?n:"."},normalize:function(t){if(e(t),0===t.length)return".";var r=47===t.charCodeAt(0),n=47===t.charCodeAt(t.length-1);return(0!==(t=i(t,!r)).length||r||(t="."),t.length>0&&n&&(t+="/"),r)?"/"+t:t},isAbsolute:function(t){return e(t),t.length>0&&47===t.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var t,i=0;i<arguments.length;++i){var n=arguments[i];e(n),n.length>0&&(void 0===t?t=n:t+="/"+n)}return void 0===t?".":r.normalize(t)},relative:function(t,i){if(e(t),e(i),t===i||(t=r.resolve(t))===(i=r.resolve(i)))return"";for(var n=1;n<t.length&&47===t.charCodeAt(n);++n);for(var s=t.length,o=s-n,a=1;a<i.length&&47===i.charCodeAt(a);++a);for(var l=i.length-a,h=o<l?o:l,u=-1,c=0;c<=h;++c){if(c===h){if(l>h){if(47===i.charCodeAt(a+c))return i.slice(a+c+1);else if(0===c)return i.slice(a+c)}else o>h&&(47===t.charCodeAt(n+c)?u=c:0===c&&(u=0));break}var d=t.charCodeAt(n+c);if(d!==i.charCodeAt(a+c))break;47===d&&(u=c)}var p="";for(c=n+u+1;c<=s;++c)(c===s||47===t.charCodeAt(c))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+i.slice(a+u):(a+=u,47===i.charCodeAt(a)&&++a,i.slice(a))},_makeLong:function(t){return t},dirname:function(t){if(e(t),0===t.length)return".";for(var i=t.charCodeAt(0),r=47===i,n=-1,s=!0,o=t.length-1;o>=1;--o)if(47===(i=t.charCodeAt(o))){if(!s){n=o;break}}else s=!1;return -1===n?r?"/":".":r&&1===n?"//":t.slice(0,n)},basename:function(t,i){if(void 0!==i&&"string"!=typeof i)throw TypeError('"ext" argument must be a string');e(t);var r,n=0,s=-1,o=!0;if(void 0!==i&&i.length>0&&i.length<=t.length){if(i.length===t.length&&i===t)return"";var a=i.length-1,l=-1;for(r=t.length-1;r>=0;--r){var h=t.charCodeAt(r);if(47===h){if(!o){n=r+1;break}}else -1===l&&(o=!1,l=r+1),a>=0&&(h===i.charCodeAt(a)?-1==--a&&(s=r):(a=-1,s=l))}return n===s?s=l:-1===s&&(s=t.length),t.slice(n,s)}for(r=t.length-1;r>=0;--r)if(47===t.charCodeAt(r)){if(!o){n=r+1;break}}else -1===s&&(o=!1,s=r+1);return -1===s?"":t.slice(n,s)},extname:function(t){e(t);for(var i=-1,r=0,n=-1,s=!0,o=0,a=t.length-1;a>=0;--a){var l=t.charCodeAt(a);if(47===l){if(!s){r=a+1;break}continue}-1===n&&(s=!1,n=a+1),46===l?-1===i?i=a:1!==o&&(o=1):-1!==i&&(o=-1)}return -1===i||-1===n||0===o||1===o&&i===n-1&&i===r+1?"":t.slice(i,n)},format:function(t){var e,i;if(null===t||"object"!=typeof t)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof t);return e=t.dir||t.root,i=t.base||(t.name||"")+(t.ext||""),e?e===t.root?e+i:e+"/"+i:i},parse:function(t){e(t);var i,r={root:"",dir:"",base:"",ext:"",name:""};if(0===t.length)return r;var n=t.charCodeAt(0),s=47===n;s?(r.root="/",i=1):i=0;for(var o=-1,a=0,l=-1,h=!0,u=t.length-1,c=0;u>=i;--u){if(47===(n=t.charCodeAt(u))){if(!h){a=u+1;break}continue}-1===l&&(h=!1,l=u+1),46===n?-1===o?o=u:1!==c&&(c=1):-1!==o&&(c=-1)}return -1===o||-1===l||0===c||1===c&&o===l-1&&o===a+1?-1!==l&&(0===a&&s?r.base
1=r.name=t.slice(1,l):r.base=r.name=t.slice(a,l)):(0===a&&s?(r.name=t.slice(1,o),r.base=t.slice(1,l)):(r.name=t.slice(a,o),r.base=t.slice(a,l)),r.ext=t.slice(o,l)),a>0?r.dir=t.slice(0,a-1):s&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,t.exports=r}},i={};function r(t){var n=i[t];if(void 0!==n)return n.exports;var s=i[t]={exports:{}},o=!0;try{e[t](s,s.exports,r),o=!1}finally{o&&delete i[t]}return s.exports}r.ab="//",t.exports=r(114)}()},1828:(t,e,i)=>{"use strict";i.d(e,{NP:()=>ea,DU:()=>ev,AH:()=>ef,Ay:()=>eg});var r,n,s=i(4343),o="-ms-",a="-moz-",l="-webkit-",h="comm",u="rule",c="decl",d="@keyframes",p=Math.abs,f=String.fromCharCode,m=Object.assign;function g(t,e){return(t=e.exec(t))?t[0]:t}function y(t,e,i){return t.replace(e,i)}function v(t,e,i){return t.indexOf(e,i)}function b(t,e){return 0|t.charCodeAt(e)}function x(t,e,i){return t.slice(e,i)}function w(t){return t.length}function S(t,e){return e.push(t),t}function T(t,e){return t.filter(function(t){return!g(t,e)})}var E=1,A=1,P=0,C=0,k=0,M="";function I(t,e,i,r,n,s,o,a){return{value:t,root:e,parent:i,type:r,props:n,children:s,line:E,column:A,length:o,return:"",siblings:a}}function B(t,e){return m(I("",null,null,"",null,null,0,t.siblings),t,{length:-t.length},e)}function R(t){for(;t.root;)t=B(t.root,{children:[t]});S(t,t.siblings)}function L(){return k=C<P?b(M,C++):0,A++,10===k&&(A=1,E++),k}function j(){return b(M,C)}function D(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function N(t){var e,i;return(e=C-1,i=function t(e){for(;L();)switch(k){case e:return C;case 34:case 39:34!==e&&39!==e&&t(k);break;case 40:41===e&&t(e);break;case 92:L()}return C}(91===t?t+2:40===t?t+1:t),x(M,e,i)).trim()}function H(t,e){for(var i="",r=0;r<t.length;r++)i+=e(t[r],r,t,e)||"";return i}function O(t,e,i,r){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case"@namespace":case c:return t.return=t.return||t.value;case h:return"";case d:return t.return=t.value+"{"+H(t.children,r)+"}";case u:if(!w(t.value=t.props.join(",")))return""}return w(i=H(t.children,r))?t.return=t.value+"{"+i+"}":""}function _(t,e,i,r){if(t.length>-1&&!t.return)switch(t.type){case c:t.return=function t(e,i,r){var n;switch(n=i,45^b(e,0)?(((n<<2^b(e,0))<<2^b(e,1))<<2^b(e,2))<<2^b(e,3):0){case 5103:return l+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return l+e+e;case 4855:return l+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return a+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return l+e+a+e+o+e+e;case 5936:switch(b(e,i+11)){case 114:return l+e+o+y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return l+e+o+y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return l+e+o+y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return l+e+o+e+e;case 6165:return l+e+o+"flex-"+e+e;case 5187:return l+e+y(e,/(\w+).+(:[^]+)/,l+"box-$1$2"+o+"flex-$1$2")+e;case 5443:return l+e+o+"flex-item-"+y(e,/flex-|-self/g,"")+(g(e,/flex-|baseline/)?"":o+"grid-row-"+y(e,/flex-|-self/g,""))+e;case 4675:return l+e+o+"flex-line-pack"+y(e,/align-content|flex-|-self/g,"")+e;case 5548:return l+e+o+y(e,"shrink","negative")+e;case 5292:return l+e+o+y(e,"basis","preferred-size")+e;case 6060:return l+"box-"+y(e,"-grow","")+l+e+o+y(e,"grow","positive")+e;case 4554:return l+y(e,/([^-])(transform)/g,"$1"+l+"$2")+e;case 6187:return y(y(y(e,/(zoom-|grab)/,l+"$1"),/(image-set)/,l+"$1"),e,"")+e;case 5495:case 3959:return y(e,/(image-set\([^]*)/,l+"$1$`$1");case 4968:return y(y(e,/(.+:)(flex-)?(.*)/,l+"box-pack:$3"+o+"flex-pack:$3"),/space-between/,"justify")+l+e+e;case 4200:if(!g(e,/flex-|baseline/))return o+"grid-column-align"+x(e,i)+e;break;case 2592:case 3360:return o+y(e,"template-","")+e;case 4384:case 3616:if(r&&r.some(function(t,e){return i=e,g(t.props,/grid-\w+-end/)}))return~v(e+(r=r[i].value),"span",0)?e:o+y(e,"-start","")+e+o+"grid-row-span:"+(~v(r,"
1span",0)?g(r,/\d+/):g(r,/\d+/)-g(e,/\d+/))+";";return o+y(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(t){return g(t.props,/grid-\w+-start/)})?e:o+y(y(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return y(e,/(.+)-inline(.+)/,l+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(w(e)-1-i>6)switch(b(e,i+1)){case 109:if(45!==b(e,i+4))break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1"+l+"$2-$3$1"+a+(108==b(e,i+3)?"$3":"$2-$3"))+e;case 115:return~v(e,"stretch",0)?t(y(e,"stretch","fill-available"),i,r)+e:e}break;case 5152:case 5920:return y(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,i,r,n,s,a,l){return o+i+":"+r+l+(n?o+i+"-span:"+(s?a:a-r)+l:"")+e});case 4949:if(121===b(e,i+6))return y(e,":",":"+l)+e;break;case 6444:switch(b(e,45===b(e,14)?18:11)){case 120:return y(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+l+(45===b(e,14)?"inline-":"")+"box$3$1"+l+"$2$3$1"+o+"$2box$3")+e;case 100:return y(e,":",":"+o)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return y(e,"scroll-","scroll-snap-")+e}return e}(t.value,t.length,i);return;case d:return H([B(t,{value:y(t.value,"@","@"+l)})],r);case u:if(t.length){var n,s;return n=i=t.props,s=function(e){switch(g(e,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":R(B(t,{props:[y(e,/:(read-\w+)/,":"+a+"$1")]})),R(B(t,{props:[e]})),m(t,{props:T(i,r)});break;case"::placeholder":R(B(t,{props:[y(e,/:(plac\w+)/,":"+l+"input-$1")]})),R(B(t,{props:[y(e,/:(plac\w+)/,":"+a+"$1")]})),R(B(t,{props:[y(e,/:(plac\w+)/,o+"input-$1")]})),R(B(t,{props:[e]})),m(t,{props:T(i,r)})}return""},n.map(s).join("")}}}function F(t,e,i,r,n,s,o,a,l,h,c,d){for(var f=n-1,m=0===n?s:[""],g=m.length,v=0,b=0,w=0;v<r;++v)for(var S=0,T=x(t,f+1,f=p(b=o[v])),E=t;S<g;++S)(E=(b>0?m[S]+" "+T:y(T,/&\f/g,m[S])).trim())&&(l[w++]=E);return I(t,e,i,0===n?u:a,l,h,c,d)}function V(t,e,i,r,n){return I(t,e,i,c,x(t,0,r),x(t,r+1,-1),r,n)}var $=i(2272);let G=void 0!==$&&void 0!==$.env&&($.env.REACT_APP_SC_ATTR||$.env.SC_ATTR)||"data-styled",z="active",U="data-styled-version",W="6.4.4",q="/*!sc*/\n",X="u">typeof window&&"u">typeof document;function K(t){if(void 0!==$&&void 0!==$.env){let e=$.env[t];if(void 0!==e&&""!==e)return"false"!==e}}let Y=!!("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:null!=(n=null!=(r=K("REACT_APP_SC_DISABLE_SPEEDY"))?r:K("SC_DISABLE_SPEEDY"))?n:void 0!==$&&void 0!==$.env&&!1),Z={};function Q(t,...e){return Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${t} for more information.${e.length>0?` Args: ${e.join(", ")}`:""}`)}let J=new Map,tt=new Map,te=1,ti=t=>{if(J.has(t))return J.get(t);for(;tt.has(te);)te++;let e=te++;return J.set(t,e),tt.set(e,t),e},tr=t=>tt.get(t),tn=(t,e)=>{te=e+1,J.set(t,e),tt.set(e,t)},ts=Object.freeze([]),to=Object.freeze({});function ta(t,e,i=to){return t.theme!==i.theme&&t.theme||e||i.theme}let tl=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,th=/(^-|-$)/g;function tu(t){return t.replace(tl,"-").replace(th,"")}let tc=/(a)(d)/gi,td=t=>String.fromCharCode(t+(t>25?39:97));function tp(t){let e,i="";for(e=Math.abs(t);e>52;e=e/52|0)i=td(e%52)+i;return(td(e%52)+i).replace(tc,"$1-$2")}let tf=(t,e)=>{let i=e.length;for(;i;)t=33*t^e.charCodeAt(--i);return t};function tm(t){return tp(tf(5381,t)>>>0)}function tg(t){return"string"==typeof t}let ty=Symbol.for("react.memo"),tv=Symbol.for("react.forward_ref"),tb={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},tx={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},tw={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},tS={[tv]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[ty]:tw};function tT(t){return("type"in t&&t.type.$$typeof)===ty?tw:"$$typeof"in t?tS[t.$$typeof]:tb}let tE=Object.defineProperty,tA=Object.getOwnPropertyNames,tP=Object.getOwnPropertySymbols,tC=Object.getOwnPropertyDescriptor,tk=Object.getPrototypeOf,tM=Object.prototype;function tI(t){return"function"==typeof t}let tB=Symbol.for("react.forward_ref");function tR(t){return null!=t&&("object"==typeof t||"function"==typeof t)&&t.$$typeof===tB&&"styledComponentId"in t}function tL(t,e){return t&&e?t+" "+e:t||e||""}function tj(t,e){return t.join(e||"")}function tD(t){return null!==t&&"object"==typeof t&&t.constructor.name===Object.name&&!("props"in t&&t.$$typeof)}function tN(t,e){Object.defineProperty(t,"toString",{value:e})}let tH=class{constructor(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t,this._cGroup=0,this._cIndex=0}indexOfGroup(t){if(t===this._cGroup)return this._cIndex;let e=this._cIndex;if(t>this._cGroup)for(let i=this._cGroup;i<t;i++)e+=this.groupSizes[i];else for(let i=this._cGroup-1;i>=t;i--)e-=this.groupSizes[i];return this._cGroup=t,this._cIndex=e,e}insertRules(t,e){if(t>=this.groupSizes.length){let e=this.groupSizes,i=e.length,r=i;for(;t>=r;)if((r<<=1)<0)throw Q(16,`${t}`);this.groupSizes=new Uint32Array(r),this.groupSizes.set(e),this.length=r;for(let t=i;t<r;t++)this.groupSizes[t]=0}let i=this.indexOfGroup(t+1),r=0;for(let n=0,s=e.length;n<s;n++)this.tag.insertRule(i,e[n])&&(this.groupSizes[t]++,i++,r++);r>0&&this._cGroup>t&&(this._cIndex+=r)}clearGroup(t){if(t<this.length){let e=this.groupSizes[t],i=this.indexOfGroup(t),r=i+e;this.groupSizes[t]=0;for(let t=i;t<r;t++)this.tag.deleteRule(i);e>0&&this._cGroup>t&&(this._cIndex-=e)}}getGroup(t){let e="";if(t>=this.length||0===this.groupSizes[t])return e;let i=this.groupSizes[t],r=this.indexOfGroup(t),n=r+i;for(let t=r;t<n;t++)e+=this.tag.getRule(t)+q;return e}},tO=`style[${G}][${U}="${W}"]`,t_=RegExp(`^${G}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),tF=t=>"u">typeof ShadowRoot&&t instanceof ShadowRoot||"host"in t&&11===t.nodeType,tV=t=>{if(!t)return document;if(tF(t))return t;if("getRootNode"in t){let e=t.getRootNode();if(tF(e))return e}return document},t$=(t,e,i)=>{let r,n=i.split(",");for(let i=0,s=n.length;i<s;i++)(r=n[i])&&t.registerName(e,r)},tG=(t,e)=>{var i;let r=(null!=(i=e.textContent)?i:"").split(q),n=[];for(let e=0,i=r.length;e<i;e++){let i=r[e].trim();if(!i)continue;let s=i.match(t_);if(s){let e=0|parseInt(s[1],10),i=s[2];
10!==e&&(tn(i,e),t$(t,i,s[3]),t.getTag().insertRules(e,n)),n.length=0}else n.push(i)}},tz=t=>{let e=tV(t.options.target).querySelectorAll(tO);for(let i=0,r=e.length;i<r;i++){let r=e[i];r&&r.getAttribute(G)!==z&&(tG(t,r),r.parentNode&&r.parentNode.removeChild(r))}},tU=!1,tW=(t,e)=>{let r,n=document.head,s=t||n,o=document.createElement("style"),a=(r=Array.from(s.querySelectorAll(`style[${G}]`)))[r.length-1],l=void 0!==a?a.nextSibling:null;o.setAttribute(G,z),o.setAttribute(U,W);let h=e||function(){if(!1!==tU)return tU;if("u">typeof document){let t=document.head.querySelector('meta[property="csp-nonce"]');if(t)return tU=t.nonce||t.getAttribute("content")||void 0;let e=document.head.querySelector('meta[name="sc-nonce"]');if(e)return tU=e.getAttribute("content")||void 0}return tU=i.nc}();return h&&o.setAttribute("nonce",h),s.insertBefore(o,l),o},tq=class{constructor(t,e){this.element=tW(t,e),this.element.appendChild(document.createTextNode("")),this.sheet=(t=>{var e;if(t.sheet)return t.sheet;let i=null!=(e=t.getRootNode().styleSheets)?e:document.styleSheets;for(let e=0,r=i.length;e<r;e++){let r=i[e];if(r.ownerNode===t)return r}throw Q(17)})(this.element),this.length=0}insertRule(t,e){try{return this.sheet.insertRule(e,t),this.length++,!0}catch(t){return!1}}deleteRule(t){this.sheet.deleteRule(t),this.length--}getRule(t){let e=this.sheet.cssRules[t];return e&&e.cssText?e.cssText:""}},tX=class{constructor(t,e){this.element=tW(t,e),this.nodes=this.element.childNodes,this.length=0}insertRule(t,e){if(t<=this.length&&t>=0){let i=document.createTextNode(e);return this.element.insertBefore(i,this.nodes[t]||null),this.length++,!0}return!1}deleteRule(t){this.element.removeChild(this.nodes[t]),this.length--}getRule(t){return t<this.length?this.nodes[t].textContent:""}},tK=X,tY={isServer:!X,useCSSOMInjection:!Y};class tZ{static registerId(t){return ti(t)}constructor(t=to,e={},i){this.options=Object.assign(Object.assign({},tY),t),this.gs=e,this.keyframeIds=new Set,this.names=new Map(i),this.server=!!t.isServer,!this.server&&X&&tK&&(tK=!1,tz(this)),tN(this,()=>(t=>{let e=t.getTag(),{length:i}=e,r="";for(let n=0;n<i;n++){let i=tr(n);if(void 0===i)continue;let s=t.names.get(i);if(void 0===s||!s.size)continue;let o=e.getGroup(n);if(0===o.length)continue;let a=G+".g"+n+'[id="'+i+'"]',l="";for(let t of s)t.length>0&&(l+=t+",");r+=o+a+'{content:"'+l+'"}'+q}return r})(this))}rehydrate(){!this.server&&X&&tz(this)}reconstructWithOptions(t,e=!0){let i=new tZ(Object.assign(Object.assign({},this.options),t),this.gs,e&&this.names||void 0);return i.keyframeIds=new Set(this.keyframeIds),!this.server&&X&&t.target!==this.options.target&&tV(this.options.target)!==tV(t.target)&&tz(i),i}allocateGSInstance(t){return this.gs[t]=(this.gs[t]||0)+1}getTag(){return this.tag||(this.tag=new tH((({useCSSOMInjection:t,target:e,nonce:i})=>t?new tq(e,i):new tX(e,i))(this.options)))}hasNameForId(t,e){var i,r;return null!=(r=null==(i=this.names.get(t))?void 0:i.has(e))&&r}registerName(t,e){ti(t),t.startsWith("sc-keyframes-")&&this.keyframeIds.add(t);let i=this.names.get(t);i?i.add(e):this.names.set(t,new Set([e]))}insertRules(t,e,i){this.registerName(t,e),this.getTag().insertRules(ti(t),i)}clearNames(t){this.names.has(t)&&this.names.get(t).clear()}clearRules(t){this.getTag().clearGroup(ti(t)),this.clearNames(t)}clearTag(){this.tag=void 0}}let tQ=new WeakSet,tJ={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function t0(t){if(45===t.charCodeAt(0)&&45===t.charCodeAt(1))return t;let e="";for(let i=0;i<t.length;i++){let r=t.charCodeAt(i);e+=r>=65&&r<=90?"-"+String.fromCharCode(r+32):t[i]}return e.startsWith("ms-")?"-"+e:e}let t1=Symbol.for("sc-keyframes");function t2(t){return tI(t)&&!(t.prototype&&t.prototype.isReactComponent)}let t3=t=>null==t||!1===t||""===t,t4=Symbol.for("react.client.reference");function t5(t){return t.$$typeof===t4}function t8(t,e,i,r,n=[]){if(t3(t))return n;let s=typeof t;if("string"===s)return n.push(t),n;if("function"===s)return t5(t)?n:t2(t)&&e?t8(t(e),e,i,r,n):(n.push(t),n);if(Array.isArray(t)){for(let s=0;s<t.length;s++)t8(t[s],e,i,r,n);return n}return tR(t)?n.push(`.${t.styledComponentId}`):"object"==typeof t&&null!==t&&t1 in t?i?(t.inject(i,r),n.push(t.getName(r))):n.push(t):t5(t)||(tD(t)?t.toString!==Object.prototype.toString?n.push(t.toString()):function t(e,i){for(let r in e){let n=e[r];e.hasOwnProperty(r)&&!t3(n)&&(Array.isArray(n)&&tQ.has(n)||tI(n)?i.push(t0(r)+":",n,";"):tD(n)?(i.push(r+" {"),t(n,i),i.push("}")):i.push(t0(r)+": "+(null==n||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||r in tJ||r.startsWith("--")?String(n).trim():n+"px")+";"))}}(t,n):n.push(t.toString())),n}let t9=tf(5381,W);class t6{constructor(t,e,i){this.rules=t,this.componentId=e,this.baseHash=tf(t9,e),this.baseStyle=i,tZ.registerId(e)}generateAndInjectStyles(t,e,i){let r=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,e,i):"";{let n="";for(let r=0;r<this.rules.length;r++){let s=this.rules[r];if("string"==typeof s)n+=s;else if(s)if(t2(s)){let r=s(t);"string"==typeof r?n+=r:null!=r&&!1!==r&&(n+=tj(t8(r,t,e,i)))}else n+=tj(t8(s,t,e,i))}
1if(n){this.dynamicNameCache||(this.dynamicNameCache=new Map);let t=i.hash?i.hash+n:n,s=this.dynamicNameCache.get(t);if(!s){if(s=tp(tf(tf(this.baseHash,i.hash),n)>>>0),this.dynamicNameCache.size>=200){let t=this.dynamicNameCache.keys().next().value;void 0!==t&&this.dynamicNameCache.delete(t)}this.dynamicNameCache.set(t,s)}if(!e.hasNameForId(this.componentId,s)){let t=i(n,"."+s,void 0,this.componentId);e.insertRules(this.componentId,s,t)}r=tL(r,s)}}return r}}let t7=/&/g;function et(t,e){let i=0;for(;--e>=0&&92===t.charCodeAt(e);)i++;return!(1&~i)}function ee(t){let e=t.length,i="",r=0,n=0,s=0,o=!1,a=!1;for(let l=0;l<e;l++){let h=t.charCodeAt(l);if(0!==s||o||47!==h||42!==t.charCodeAt(l+1))if(o)42===h&&47===t.charCodeAt(l+1)&&(o=!1,l++);else if(34!==h&&39!==h||et(t,l)){if(0===s)if(123===h)n++;else if(125===h){if(--n<0){a=!0;let i=l+1;for(;i<e;){let e=t.charCodeAt(i);if(59===e||10===e)break;i++}i<e&&59===t.charCodeAt(i)&&i++,n=0,l=i-1,r=i;continue}0===n&&(i+=t.substring(r,l+1),r=l+1)}else 59===h&&0===n&&(i+=t.substring(r,l+1),r=l+1)}else 0===s?s=h:s===h&&(s=0);else o=!0,l++}return a||0!==n||0!==s?(r<e&&0===n&&0===s&&(i+=t.substring(r)),i):t}let ei=new tZ,er=function({options:t=to,plugins:e=ts}=to){var i,r,n;let s,o,a,l=(t,e,i)=>i.startsWith(o)&&i.endsWith(o)&&i.replaceAll(o,"").length>0?`.${s}`:t,c=e.slice();c.push(t=>{t.type===u&&t.value.includes("&")&&(a||(a=RegExp(`\\${o}\\b`,"g")),t.props[0]=t.props[0].replace(t7,o).replace(a,l))}),t.prefix&&c.push(_),c.push(O);let d=[],m=(n=(r=c.concat((i=t=>d.push(t),function(t){!t.root&&(t=t.return)&&i(t)}))).length,function(t,e,i,s){for(var o="",a=0;a<n;a++)o+=r[a](t,e,i,s)||"";return o}),g=(e,i="",r="",n="&")=>{var l,u,c;s=n,o=i,a=void 0;let g=function(t){let e=-1!==t.indexOf("//"),i=-1!==t.indexOf("}");if(!e&&!i)return t;if(!e)return ee(t);let r=t.length,n="",s=0,o=0,a=0,l=0,h=0,u=!1;for(;o<r;){let e=t.charCodeAt(o);if(34!==e&&39!==e||et(t,o))if(0===a)if(47===e&&o+1<r&&42===t.charCodeAt(o+1)){for(o+=2;o+1<r&&(42!==t.charCodeAt(o)||47!==t.charCodeAt(o+1));)o++;o+=2}else if(40!==e)if(41!==e)if(l>0)o++;else if(42===e&&o+1<r&&47===t.charCodeAt(o+1))n+=t.substring(s,o),o+=2,
1s=o,u=!0;else if(47===e&&o+1<r&&47===t.charCodeAt(o+1)){for(n+=t.substring(s,o);o<r&&10!==t.charCodeAt(o);)o++;s=o,u=!0}else 123===e?h++:125===e&&h--,o++;else l>0&&l--,o++;else l++,o++;else o++;else 0===a?a=e:a===e&&(a=0),o++}return u?(s<r&&(n+=t.substring(s)),0===h?n:ee(n)):0===h?t:ee(t)}(e),T=(c=function t(e,i,r,n,s,o,a,l,u){for(var c,d,m,g,T=0,P=0,B=a,R=0,H=0,O=0,_=1,$=1,G=1,z=0,U="",W=s,q=o,X=n,K=U;$;)switch(O=z,z=L()){case 40:if(108!=O&&58==b(K,B-1)){-1!=v(K+=y(N(z),"&","&\f"),"&\f",p(T?l[T-1]:0))&&(G=-1);break}case 34:case 39:case 91:K+=N(z);break;case 9:case 10:case 13:case 32:K+=function(t){for(;k=j();)if(k<33)L();else break;return D(t)>2||D(k)>3?"":" "}(O);break;case 92:K+=function(t,e){for(var i;--e&&L()&&!(k<48)&&!(k>102)&&(!(k>57)||!(k<65))&&(!(k>70)||!(k<97)););return i=C+(e<6&&32==j()&&32==L()),x(M,t,i)}(C-1,7);continue;case 47:switch(j()){case 42:case 47:S((c=function(t,e){for(;L();)if(t+k===57)break;else if(t+k===84&&47===j())break;return"/*"+x(M,e,C-1)+"*"+f(47===t?t:L())}(L(),C),d=i,m=r,g=u,I(c,d,m,h,f(k),x(c,2,-2),0,g)),u),(5==D(O||1)||5==D(j()||1))&&w(K)&&" "!==x(K,-1,void 0)&&(K+=" ");break;default:K+="/"}break;case 123*_:l[T++]=w(K)*G;case 125*_:case 59:case 0:switch(z){case 0:case 125:$=0;case 59+P:-1==G&&(K=y(K,/\f/g,"")),H>0&&(w(K)-B||0===_&&47===O)&&S(H>32?V(K+";",n,r,B-1,u):V(y(K," ","")+";",n,r,B-2,u),u);break;case 59:K+=";";default:if(S(X=F(K,i,r,T,P,s,l,U,W=[],q=[],B,o),o),123===z)if(0===P)t(K,i,X,X,W,o,B,l,q);else{switch(R){case 99:if(110===b(K,3))break;case 108:if(97===b(K,2))break;default:P=0;case 100:case 109:case 115:}P?t(e,X,X,n&&S(F(e,X,X,0,0,s,l,U,s,W=[],B,q),q),s,q,B,l,n?W:q):t(K,X,X,X,[""],q,0,l,q)}}T=P=H=0,_=G=1,U=K="",B=a;break;case 58:B=1+w(K),H=O;default:if(_<1){if(123==z)--_;else if(125==z&&0==_++&&125==(k=C>0?b(M,--C):0,A--,10===k&&(A=1,E--),k))continue}switch(K+=f(z),z*_){case 38:G=P>0?1:(K+="\f",-1);break;case 44:l[T++]=(w(K)-1)*G,G=1;break;case 64:45===j()&&(K+=N(L())),R=j(),P=B=w(U=K+=function(t){for(;!D(j());)L();return x(M,t,C)}(C)),z++;break;case 45:45===O&&2==w(K)&&(_=0)}}return o}("",null,null,null,[""],(u=l=r||i?r+" "+i+" { "+g+" }":g,E=A=1,P=w(M=u),C=0,l=[]),0,[0],l),M="",c);return t.namespace&&(T=function t(e,i){let r=i+" ",n=","+r;for(let s=0;s<e.length;s++){let o=e[s];if("rule"===o.type){o.value=(r+o.value).replaceAll(",",n);let t=o.props,e=[];for(let i=0;i<t.length;i++)e[i]=r+t[i];o.props=e}Array.isArray(o.children)&&"@keyframes"!==o.type&&t(o.children,i)}return e}(T,t.namespace)),d=[],H(T,m),d},T=5381;for(let t=0;t<e.length;t++)e[t].name||Q(15),T=tf(T,e[t].name);return(null==t?void 0:t.namespace)&&(T=tf(T,t.namespace)),(null==t?void 0:t.prefix)&&(T=tf(T,"p")),g.hash=5381!==T?T.toString():"",g}(),en=s.createContext({shouldForwardProp:void 0,styleSheet:ei,stylis:er,stylisPlugins:void 0});function es(){return s.useContext(en)}en.Consumer;let eo=s.createContext(void 0);function ea(t){let e=s.useContext(eo),i=s.useMemo(()=>(function(t,e){if(!t)throw Q(14);if(tI(t))return t(e);if(Array.isArray(t)||"object"!=typeof t)throw Q(8);return e?Object.assign(Object.assign({},e),t):t})(t.theme,e),[t.theme,e]);return t.children?s.createElement(eo.Provider,{value:i},t.children):null}eo.Consumer;let el=Object.prototype.hasOwnProperty,eh={};function eu(t,e,i){var r,n;let o,a,l=tR(t),h=!tg(t),{attrs:u=ts,componentId:c=(r=e.displayName,n=e.parentComponentId,eh[o="string"!=typeof r?"sc":tu(r)]=(eh[o]||0)+1,a=o+"-"+tm(W+o+eh[o]),n?n+"-"+a:a),displayName:d=tg(t)?`styled.${t}`:`Styled(${t.displayName||t.name||"Component"})`}=e,p=e.displayName&&e.componentId?tu(e.displayName)+"-"+e.componentId:e.componentId||c,f=l&&t.attrs?t.attrs.concat(u).filter(Boolean):u,{shouldForwardProp:m}=e;if(l&&t.shouldForwardProp){let i=t.shouldForwardProp;if(e.shouldForwardProp){let t=e.shouldForwardProp;m=(e,r)=>i(e,r)&&t(e,r)}else m=i}let g=new t6(i,p,l?t.componentStyle:void 0);function y(t,e){return function(t,e,i){let r,n,{attrs:o,componentStyle:a,defaultProps:l,foldedComponentIds:h,styledComponentId:u,target:c}=t,d=s.useContext(eo),p=es(),f=t.shouldForwardProp||p.shouldForwardProp,m=ta(e,d,l)||to;{let t=s.useRef(null),i=t.current;if(null!==i&&i[1]===m&&i[2]===p.styleSheet&&i[3]===p.stylis&&i[7]===a&&function(t,e,
1i){let r=0;for(let i in e)if(el.call(e,i)&&(r++,t[i]!==e[i]))return!1;return r===i}(i[0],e,i[4]))r=i[5],n=i[6];else{var g,y,v;r=function(t,e,i){let r=Object.assign(Object.assign({},e),{className:void 0,theme:i}),n=t.length>1;for(let i=0;i<t.length;i++){let s=t[i],o=tI(s)?s(n?Object.assign({},r):r):s;for(let t in o)"className"===t?r.className=tL(r.className,o[t]):"style"===t?r.style=Object.assign(Object.assign({},r.style),o[t]):t in e&&void 0===e[t]||(r[t]=o[t])}return"className"in e&&"string"==typeof e.className&&(r.className=tL(r.className,e.className)),r}(o,e,m),g=r,y=p.styleSheet,v=p.stylis,n=a.generateAndInjectStyles(g,y,v);let i=0;for(let t in e)el.call(e,t)&&i++;t.current=[e,m,p.styleSheet,p.stylis,i,r,n,a]}}let b=r.as||c,x=function(t,e,i,r){let n={};for(let s in t)void 0===t[s]||"$"===s[0]||"as"===s||"theme"===s&&t.theme===i||("forwardedAs"===s?n.as=t.forwardedAs:r&&!r(s,e)||(n[s]=t[s]));return n}(r,b,m,f),w=tL(h,u);return n&&(w+=" "+n),r.className&&(w+=" "+r.className),x[tg(b)&&b.includes("-")?"class":"className"]=w,i&&(x.ref=i),(0,s.createElement)(b,x)}(v,t,e)}y.displayName=d;let v=s.forwardRef(y);return v.attrs=f,v.componentStyle=g,v.displayName=d,v.shouldForwardProp=m,v.foldedComponentIds=l?tL(t.foldedComponentIds,t.styledComponentId):"",v.styledComponentId=p,v.target=l?t.target:t,Object.defineProperty(v,"defaultProps",{get(){return this._foldedDefaultProps},set(e){this._foldedDefaultProps=l?function(t,...e){for(let i of e)!function t(e,i,r=!1){if(!r&&!tD(e)&&!Array.isArray(e))return i;if(Array.isArray(i))for(let r=0;r<i.length;r++)e[r]=t(e[r],i[r]);else if(tD(i))for(let r in i)e[r]=t(e[r],i[r]);return e}(t,i,!0);return t}({},t.defaultProps,e):e}}),tN(v,()=>`.${v.styledComponentId}`),h&&function t(e,i,r){if("string"!=typeof i){let n=tk(i);n&&n!==tM&&t(e,n,r);let s=tA(i).concat(tP(i)),o=tT(e),a=tT(i);for(let t=0;t<s.length;++t){let n=s[t];if(!(n in tx||r&&r[n]||a&&n in a||o&&n in o)){let t=tC(i,n);try{tE(e,n,t)}catch(t){}}}}return e}(v,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),v}var ec=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]);function ed(t,e){let i=[t[0]];for(let r=0,n=e.length;r<n;r+=1)i.push(e[r],t[r+1]);return i}let ep=t=>(tQ.add(t),t);function ef(t,...e){return tI(t)||tD(t)?ep(t8(ed(ts,[t,...e]))):0===e.length&&1===t.length&&"string"==typeof t[0]?t8(t):ep(t8(ed(t,e)))}let em=t=>(function t(e,i,r=to){if(!i)throw Q(1,i);let n=(t,...n)=>e(i,r,ef(t,...n));return n.attrs=n=>t(e,i,Object.assign(Object.assign({},r),{attrs:Array.prototype.concat(r.attrs,n).filter(Boolean)})),n.withConfig=n=>t(e,i,Object.assign(Object.assign({},r),n)),n})(eu,t),eg=em;ec.forEach(t=>{eg[t]=em(t)});class ey{constructor(t,e){this.instanceRules=new Map,this.rules=t,this.componentId=e,this.isStatic=function(t){for(let e=0;e<t.length;e+=1){let i=t[e];if(tI(i)&&!tR(i))return!1}return!0}(t),tZ.registerId(this.componentId)}removeStyles(t,e){this.instanceRules.delete(t),this.rebuildGroup(e)}renderStyles(t,e,i,r){let n=this.componentId;if(this.isStatic){if(i.hasNameForId(n,n+t))this.instanceRules.has(t)||this.computeRules(t,e,i,r);else{let s=this.computeRules(t,e,i,r);i.insertRules(n,s.name,s.rules)}return}let s=this.instanceRules.get(t);
1if(this.computeRules(t,e,i,r),!i.server&&s){let e=s.rules,i=this.instanceRules.get(t).rules;if(e.length===i.length){let t=!0;for(let r=0;r<e.length;r++)if(e[r]!==i[r]){t=!1;break}if(t)return}}this.rebuildGroup(i)}computeRules(t,e,i,r){let n=tj(t8(this.rules,e,i,r)),s={name:this.componentId+t,rules:r(n,"")};return this.instanceRules.set(t,s),s}rebuildGroup(t){let e=this.componentId;for(let i of(t.clearRules(e),this.instanceRules.values()))t.insertRules(e,i.name,i.rules)}}function ev(t,...e){let i=ef(t,...e),r=`sc-global-${tm(JSON.stringify(i))}`,n=new ey(i,r),o=t=>{let e,i=es(),o=s.useContext(eo);{let t=s.useRef(null);null===t.current&&(t.current=i.styleSheet.allocateGSInstance(r)),e=t.current}i.styleSheet.server&&a(e,t,i.styleSheet,o,i.stylis);{let l=n.isStatic?[e,i.styleSheet,n]:[e,t,i.styleSheet,o,i.stylis,n],h=s.useRef(n);s.useLayoutEffect(()=>{i.styleSheet.server||(h.current!==n&&(i.styleSheet.clearRules(r),h.current=n),a(e,t,i.styleSheet,o,i.stylis))},l),s.useLayoutEffect(()=>()=>{i.styleSheet.server||n.removeStyles(e,i.styleSheet)},[e,i.styleSheet,n])}return i.styleSheet.server&&n.instanceRules.delete(e),null};function a(t,e,i,r,s){if(n.isStatic)n.renderStyles(t,Z,i,s);else{let a=Object.assign(Object.assign({},e),{theme:ta(e,r,o.defaultProps)});n.renderStyles(t,a,i,s)}}return s.memo(o)}},2028:(t,e,i)=>{"use strict";i.d(e,{X4:()=>s,ai:()=>n,hs:()=>o});var r=i(9238);let n={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},s={...n,transform:t=>(0,r.q)(0,1,t)},o={...n,default:1}},2055:(t,e,i)=>{"use strict";i.d(e,{t:()=>s});var r=i(7493),n=i(4343);let s=()=>(0,n.useContext)(r.k)},2175:(t,e,i)=>{"use strict";i.d(e,{W:()=>r});let r={}},2218:(t,e,i)=>{"use strict";i.d(e,{s:()=>v});var r=i(7155),n=i(9238),s=i(1499),o=i(5962),a=i(4689),l=i(6312);let h=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>l.Gt.update(e,t),stop:()=>(0,l.WG)(e),now:()=>l.uv.isProcessing?l.uv.timestamp:o.k.now()}};var u=i(2415),c=i(1137),d=i(5395),p=i(7086),f=i(8265),m=i(4611),g=i(641);let y=t=>t/100;class v extends g.q{constructor(t){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:t}=this.options;t&&t.updatedAt!==o.k.now()&&this.tick(o.k.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;(0,m.E)(t);let{type:e=c.i,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:o=0}=t,{keyframes:l}=t,h=e||c.i;h!==c.i&&"number"!=typeof l[0]&&(this.mixKeyframes=(0,r.F)(y,(0,a.j)(l[0],l[1])),l=[0,100]);let u=h({...t,keyframes:l});"mirror"===s&&(this.mirroredGenerator=h({...t,keyframes:[...l].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=(0,d.t)(u));let{calculatedDuration:p}=u;this.calculatedDuration=p,this.resolvedDuration=p+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=u}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:r,totalDuration:s,mixKeyframes:o,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:h}=this;if(null===this.startTime)return r.next(0);let{delay:c=0,keyframes:d,repeat:p,repeatType:m,repeatDelay:g,type:y,onUpdate:v,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let x=this.currentTime-c*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?x<0:x>s;this.currentTime=Math.max(x,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let S=this.currentTime,T=r;if(p){let t=Math.min(this.currentTime,s)/l,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,p+1))%2&&("reverse"===m?(i=1-i,g&&(i-=g/l)):"mirror"===m&&(T=a)),S=(0,n.q)(0,1,i)*l}w?(this.delayState.value=d[0],i=this.delayState):i=T.next(S),o&&!w&&(i.value=o(i.value));let{done:E}=i;w||null===h||(E=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&E);return A&&y!==u.B&&(i.value=(0,f.X)(d,this.options,b,this.speed)),v&&v(i.value),A&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return(0,s.X)(this.calculatedDuration)}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,s.X)(t)}get time(){return(0,s.X)(this.currentTime)}set time(t){t=(0,s.f)(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;
1if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return(0,p.z)(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(o.k.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=(0,s.X)(this.currentTime))}play(){if(this.isStopped)return;let{driver:t=h,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"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(o.k.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}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}},2304:()=>{},2413:(t,e,i)=>{"use strict";i.d(e,{j4:()=>n,pG:()=>o,rm:()=>l});let r=t=>e=>"string"==typeof e&&e.startsWith(t),n=r("--"),s=r("var(--"),o=t=>!!s(t)&&a.test(t.split("/*")[0].trim()),a=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function l(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}},2415:(t,e,i)=>{"use strict";i.d(e,{B:()=>s});var r=i(7050),n=i(7086);function s({keyframes:t,velocity:e=0,power:i=.8,timeConstant:o=325,bounceDamping:a=10,bounceStiffness:l=500,modifyTarget:h,min:u,max:c,restDelta:d=.5,restSpeed:p}){let f,m,g=t[0],y={done:!1,value:g},v=i*e,b=g+v,x=void 0===h?b:h(b);x!==b&&(v=x-g);let w=t=>-v*Math.exp(-t/o),S=t=>x+w(t),T=t=>{let e=w(t),i=S(t);y.done=Math.abs(e)<=d,y.value=y.done?x:i},E=t=>{let e;if(e=y.value,void 0!==u&&e<u||void 0!==c&&e>c){var i;f=t,m=(0,r.o)({keyframes:[y.value,(i=y.value,void 0===u?c:void 0===c||Math.abs(u-i)<Math.abs(c-i)?u:c)],velocity:(0,n.z)(S,t,y.value),damping:a,stiffness:l,restDelta:d,restSpeed:p})}};return E(0),{calculatedDuration:null,next:t=>{let e=!1;return(m||void 0!==f||(e=!0,T(t),E(t)),void 0!==f&&t>=f)?m.next(t-f):(e||T(t),y)}}}},2573:(t,e,i)=>{"use strict";function r(t){let e;return()=>(void 0===e&&(e=t()),e)}i.d(e,{p:()=>r})},2585:(t,e,i)=>{"use strict";i.d(e,{KN:()=>s,gQ:()=>h,px:()=>o,uj:()=>n,vh:()=>a,vw:()=>l});let r=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),n=r("deg"),s=r("%"),o=r("px"),a=r("vh"),l=r("vw"),h={...s,parse:t=>s.parse(t)/100,transform:t=>s.transform(100*t)}},3001:(t,e,i)=>{"use strict";i.d(e,{E:()=>a});var r=i(5383);i(4343);var n=i(1828),s=i(9193),o=i(6192);let a=({offset:t,columns:e,debug:i,bleed:n,className:s,style:a,children:h})=>(0,r.jsx)(l.GridItem,{$offset:t,$columns:e,$gridColumnCount:n?o.Ay.grid.columnCount+2:o.Ay.grid.columnCount,$debug:i,$bleed:n,className:s,style:a,children:h}),l={GridItem:n.Ay.div.withConfig({componentId:"sc-2bd8e4ae-0"})(["",""],({$offset:t,$columns:e,$gridColumnCount:i,$debug:r,$bleed:a})=>(0,n.AH)(["border:",";"," @media (min-width:",") and (max-width:","){","}@media (min-width:",") and (max-width:","){","}@media (min-width:",") and (max-width:","){","}@media (min-width:","){","}"],r?"2px dashed #f59794":"none",s.vE.gridItem({gridColumnCount:i}),a?0:o.Ay.breakpoints.minMobile,o.Ay.breakpoints.maxTablet,s.vE.gridItem({offset:t?.mobile,columns:e?.mobile,gridColumnCount:i}),o.Ay.breakpoints.minTablet,o.Ay.breakpoints.maxDesktop,s.vE.gridItem({offset:t?.tablet??t?.mobile,columns:e?.tablet??e?.mobile,gridColumnCount:i}),o.Ay.breakpoints.minDesktop,o.Ay.breakpoints.maxWide,s.vE.gridItem({offset:t?.desktop??t?.tablet??t?.mobile,columns:e?.desktop??e?.tablet??e?.mobile,gridColumnCount:i}),o.Ay.breakpoints.minWide,s.vE.gridItem({offset:t?.wide??t?.desktop??t?.tablet??t?.mobile,columns:e?.wide??e?.desktop??e?.tablet??e?.mobile,gridColumnCount:i})))}},3116:t=>{t.exports={style:{fontFamily:"'aleo', 'aleo Fallback'"},className:"__className_b9815a"}}
1,3457:(t,e,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return i(7733)}])},3500:(t,e,i)=>{"use strict";i.d(e,{x:()=>a});var r=i(5383);i(4343);var n=i(1828),s=i(9193),o=i(6192);let a=({options:t,className:e,children:i})=>(0,r.jsx)(l.Grid,{$gridColumnCount:o.Ay.grid.columnCount,$direction:"ltr",$gridRowGap:0,$gridColumnGap:o.Ay.grid.gutter,$container:!0,$alignItems:"flex-start",className:e,...t,children:i}),l={Grid:n.Ay.div.withConfig({componentId:"sc-38f5dc9b-0"})([""," display:grid;align-items:",";gap:"," 0;grid-template-rows:auto;grid-template-columns:repeat(",",minmax(0,1fr));flex:none;direction:",";width:100%;@media (min-width:","){gap:",";}"],({$container:t})=>t&&s.vE.container(),({$alignItems:t})=>t,({$gridRowGap:t})=>t,({$gridColumnCount:t})=>t,({$direction:t})=>t,o.Ay.breakpoints.minMobile,({$gridRowGap:t,$gridColumnGap:e})=>`${t} ${e}`)}},3565:(t,e,i)=>{"use strict";i.d(e,{V:()=>a});var r=i(2028),n=i(2585),s=i(6692),o=i(9829);let a={test:(0,o.$)("hsl","hue"),parse:(0,o.q)("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:o=1})=>"hsla("+Math.round(t)+", "+n.KN.transform((0,s.a)(e))+", "+n.KN.transform((0,s.a)(i))+", "+(0,s.a)(r.X4.transform(o))+")"}},3813:(t,e,i)=>{"use strict";i.d(e,{S:()=>r});let r=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu},3899:(t,e,i)=>{"use strict";i.d(e,{J:()=>s});var r=i(2573);let n={};function s(t,e){let i=(0,r.p)(t);return()=>n[e]??i()}},3909:t=>{t.exports={style:{fontFamily:"'lato', 'lato Fallback'"},className:"__className_94e552"}},4084:(t,e,i)=>{"use strict";i.d(e,{N:()=>a});var r=i(5383),n=i(2055),s=i(879),o=i.n(s);let a=({children:t,to:e,...i})=>{let{setUiState:s}=(0,n.t)();return e&&/^((https?:)?\/\/|[0-9a-zA-Z]+:)/.test(e||"")?(0,r.jsx)("a",{target:"_blank",rel:"noopener noreferrer",href:e,...i,children:t}):(0,r.jsx)(o(),{href:e,...i,onClick:()=>{s({isNavOpen:!1})},children:t})}},4228:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={default:function(){return E},useLinkStatus:function(){return T}};for(var n in r)Object.defineProperty(e,n,{enumerable:!0,get:r[n]});let s=i(8781),o=i(5383),a=s._(i(4343)),l=i(8770),h=i(216),u=i(9089),c=i(6311),d=i(6424),p=i(5753),f=i(839),m=i(4908),g=i(8493),y=i(34);i(6956);let v=new Set;function b(t,e,i,r){if((0,h.isLocalURL)(e)){if(!r.bypassPrefetchedCheck){let n=e+"%"+i+"%"+(void 0!==r.locale?r.locale:"locale"in t?t.locale:void 0);if(v.has(n))return;v.add(n)}t.prefetch(e,i,r).catch(t=>{})}}function x(t){return"string"==typeof t?t:(0,u.formatUrl)(t)}let w=a.default.forwardRef(function(t,e){let i,r,{href:n,as:s,children:u,prefetch:v=null,passHref:w,replace:S,shallow:T,scroll:E,locale:A,onClick:P,onNavigate:C,onMouseEnter:k,onTouchStart:M,legacyBehavior:I=!1,transitionTypes:B,...R}=t;i=u,I&&("string"==typeof i||"number"==typeof i)&&(i=(0,o.jsx)("a",{children:i}));let L=a.default.useContext(p.RouterContext),j=!1!==v,{href:D,as:N}=a.default.useMemo(()=>{if(!L){let t=x(n);return{href:t,as:s?x(s):t}}let[t,e]=(0,l.resolveHref)(L,n,!0);return{href:t,as:s?(0,l.resolveHref)(L,s):e||t}},[L,n,s]),H=a.default.useRef(D),O=a.default.useRef(N);I&&(r=a.default.Children.only(i));let _=I?r&&"object"==typeof r&&r.ref:e,[F,V,$]=(0,f.useIntersection)({rootMargin:"200px"}),G=a.default.useCallback(t=>{(O.current!==N||H.current!==D)&&($(),O.current=N,H.current=D),F(t)},[N,D,$,F]),z=(0,y.useMergedRef)(G,_);a.default.useEffect(()=>{!L||V&&j&&b(L,D,N,{locale:A})},[N,D,V,A,j,L?.locale,L]);let U={ref:z,onClick(t){I||"function"!=typeof P||P(t),I&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(t),!L||t.defaultPrevented||function(t,e,i,r,n,s,o,a,l){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"))){if(!(0,h.isLocalURL)(i)){n&&(t.preventDefault(),location.replace(i));return}t.preventDefault(),(()=>{if(l){let t=!1;if(l({preventDefault:()=>{t=!0}}),t)return}let t=o??!0;"beforePopState"in e?e[n?"replace":"push"](i,r,{shallow:s,locale:a,scroll:t}):e[n?"replace":"push"](r||i,{scroll:t})})()}}(t,L,D,N,S,T,E,A,C)},onMouseEnter(t){I||"function"!=typeof k||k(t),I&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(t),L&&b(L,D,N,{locale:A,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(t){I||"function"!=typeof M||M(t),I&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(t),L&&b(L,D,N,{locale:A,priority:!0,bypassPrefetchedCheck:!0})}};if((0,c.isAbsoluteUrl)(N))U.href=N;else if(!I||w||"a"===r.type&&!("href"in r.props)){let t=void 0!==A?A:L?.locale;U.href=L?.isLocaleDomain&&(0,m.getDomainLocale)(N,t,L?.locales,L?.domainLocales)||
1(0,g.addBasePath)((0,d.addLocale)(N,t,L?.defaultLocale))}return I?a.default.cloneElement(r,U):(0,o.jsx)("a",{...R,...U,children:i})}),S=(0,a.createContext)({pending:!1}),T=()=>(0,a.useContext)(S),E=w;("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4297:(t,e,i)=>{"use strict";i.d(e,{Kq:()=>a});var r=i(5383),n=i(1571);let s=({src:t,formats:e,width:i,height:n,alt:s,lazy:o=!0,draggable:a,className:l,imagePosition:h})=>{let u={};h&&Object.entries(h).forEach(([t,e])=>{let i={[`--object-${t}`]:e};u={...u,...i}});let c=(0,r.jsx)("img",{className:l,src:t,width:i,height:n,alt:s??"",loading:o?"lazy":"eager",draggable:a,style:u});if(!e)return c;let d=[];return(0,r.jsxs)("picture",{children:[(Object.entries(e).forEach(([t,e])=>{e?.mobile&&d.push({formatType:t,srcSet:`${e.mobile}`,media:"(max-width: 719px)"}),e?.desktop&&d.push({formatType:t,srcSet:`${e.desktop}`,media:"(min-width: 720px)"}),d.push(e?.x2?{formatType:t,srcSet:`${e.x1} 1x, ${e.x2} 2x`,media:"(min-width: 720px)"}:{formatType:t,srcSet:`${e?.x1} 1x`})}),d.map((t,e)=>(0,r.jsx)("source",{srcSet:t.srcSet,media:t.media??void 0,type:`image/${t.formatType}`},e))),c]})};function o({image:t,width:e,height:i,multiplier:r=1,isMobile:s=!1,compress:a=!0,webp:l=!1,facepad:h}){let u;if(!t)return null;function c(t,e){return Math.round(e*((t.dimensions?.height??0)/(t.dimensions?.width??0)))}let d=600;e&&(d=t.dimensions?.width&&e>t.dimensions?.width?t.dimensions?.width:e>1440&&s?1440:e),u=i&&i<=(t.dimensions?.height??0)?i:c(t,d);let p=new URL(t.url),f=p.searchParams,m=(0,n.extname)(p.pathname).split(".")[1]??"jpg";return r>1&&d*r>(t.dimensions?.width??0)?null:(d*r>3e3?(f.set("w","3000"),f.set("h",c(t,3e3).toString())):(f.set("w",(d*r).toString()),f.set("h",(u*r).toString())),f.set("auto",a?"format, compress":"format"),l&&f.set("fm","webp"),h&&!isNaN(h)&&(f.set("facepad",h.toString()),f.set("fit","facearea")),{src:p.href,extension:m,width:d,height:u})}function a({image:t,className:e,width:i,height:n,lazy:l,compress:h=!0,imagePosition:u,facepad:c}){if(!t||!t.url)return null;let d=o({image:t,width:i,height:n,compress:h,facepad:c}),p=o({image:t,width:i,height:n,multiplier:2,compress:h,facepad:c}),f=o({image:t,width:i,height:n,compress:h,isMobile:!0}),m={};return d&&p&&(m[d.extension]={x1:d.src,x2:p.src,mobile:f?.src}),(0,r.jsx)(s,{src:d?.src??"",width:d?.width,height:d?.height,alt:t.alt??"",formats:m,className:e,lazy:l,imagePosition:u})}},4440:t=>{t.exports={style:{fontFamily:"'nunito', 'nunito Fallback'"},className:"__className_613868"}},4598:(t,e,i)=>{"use strict";i.d(e,{$:()=>r,V:()=>n}),i(2272);let r=()=>{},n=()=>{}},4611:(t,e,i)=>{"use strict";i.d(e,{E:()=>a});var r=i(2415),n=i(1137),s=i(7050);let o={decay:r.B,inertia:r.B,tween:n.i,keyframes:n.i,spring:s.o};function a(t){"string"==typeof t.type&&(t.type=o[t.type])}},4632:(t,e,i)=>{"use strict";function r(t,e){-1===t.indexOf(e)&&t.push(e)}function n(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}i.d(e,{Ai:()=>n,Kq:()=>r})},4643:(t,e,i)=>{"use strict";function r(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let n=i?.[t]??r.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(t=>null!=t)}i.d(e,{K:()=>r})},4689:(t,e,i)=>{"use strict";i.d(e,{j:()=>E});var r=i(7155),n=i(4598),s=i(2413),o=i(9051),a=i(1461),l=i(1056),h=i(3565);function u(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}var c=i(8593);function d(t,e){return i=>i>0?e:t}var p=i(7363);let f=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},m=[l.u,c.B,h.V];function g(t){let e=m.find(e=>e.test(t));if((0,n.$)(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===h.V&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=u(a,r,t+1/3),s=u(a,r,t),o=u(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let y=(t,e)=>{let i=g(t),r=g(e);
1if(!i||!r)return d(t,e);let n={...i};return t=>(n.red=f(i.red,r.red,t),n.green=f(i.green,r.green,t),n.blue=f(i.blue,r.blue,t),n.alpha=(0,p.k)(i.alpha,r.alpha,t),c.B.transform(n))},v=new Set(["none","hidden"]);function b(t,e){return i=>(0,p.k)(t,e,i)}function x(t){return"number"==typeof t?b:"string"==typeof t?(0,s.pG)(t)?d:o.y.test(t)?y:T:Array.isArray(t)?w:"object"==typeof t?o.y.test(t)?y:S:d}function w(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>x(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function S(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=x(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let T=(t,e)=>{let i=a.f.createTransformer(e),s=(0,a.V)(t),o=(0,a.V)(e);if(!(s.indexes.var.length===o.indexes.var.length&&s.indexes.color.length===o.indexes.color.length&&s.indexes.number.length>=o.indexes.number.length))return(0,n.$)(!0,`Complex values '${t}' and '${e}' 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"),d(t,e);if(v.has(t)&&!o.values.length||v.has(e)&&!s.values.length)return v.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return(0,r.F)(w(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][r[s]],a=t.values[o]??0;i[n]=a,r[s]++}return i}(s,o),o.values),i)};function E(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?(0,p.k)(t,e,i):x(t)(t,e)}},4908:(t,e,i)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getDomainLocale",{enumerable:!0,get:function(){return n}});let r=i(6466);function n(t,e,n,s){{let o=i(1020).normalizeLocalePath,a=i(9167).detectDomainLocale,l=e||o(t,n).detectedLocale,h=a(s,void 0,l);if(h){let e=`http${h.http?"":"s"}://`,i=l===h.defaultLocale?"":`/${l}`;return`${e}${h.domain}${(0,r.normalizePathTrailingSlash)(`${i}${t}`)}`}return!1}}("function"==typeof e.default||"object"==typeof e.default&&null!==e.default)&&void 0===e.default.__esModule&&(Object.defineProperty(e.default,"__esModule",{value:!0}),Object.assign(e.default,e),t.exports=e.default)},4970:(t,e,i)=>{"use strict";i.d(e,{q:()=>r});let r=(t,e,i)=>{let r=e-t;return r?(i-t)/r:1}},5018:(t,e,i)=>{"use strict";i.d(e,{M:()=>n});var r=i(4343);function n(t){let e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},5217:(t,e,i)=>{"use strict";i.d(e,{b:()=>n});var r=i(9184);let n=t=>t>=1?1:(t*=2)<1?.5*(0,r.dg)(t):.5*(2-Math.pow(2,-10*(t-1)))},5348:(t,e,i)=>{"use strict";i.d(e,{G:()=>u});var r=i(2175),n=i(9847),s=i(7155),o=i(4598),a=i(4970),l=i(9238),h=i(4689);function u(t,e,{clamp:i=!0,ease:c,mixer:d}={}){let p=t.length;if((0,o.V)(p===e.length,"Both input and output ranges must be the same length","range-length"),1===p)return()=>e[0];if(2===p&&e[0]===e[1])return()=>e[1];let f=t[0]===t[1];t[0]>t[p-1]&&(t=[...t].reverse(),e=[...e].reverse());let m=function(t,e,i){let o=[],a=i||r.W.mix||h.j,l=t.length-1;for(let i=0;i<l;i++){let r=a(t[i],t[i+1]);if(e){let t=Array.isArray(e)?e[i]||n.l:e;r=(0,s.F)(t,r)}o.push(r)}return o}(e,c,d),g=m.length,y=i=>{if(f&&i<t[0])return e[0];let r=0;if(g>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=(0,a.q)(t[r],t[r+1],i);return m[r](n)};return i?e=>y((0,l.q)(t[0],t[p-1],e)):y}},5395:(t,e,i)=>{"use strict";i.d(e,{Y:()=>r,t:()=>n});let r=2e4;function n(t){let e=0,i=t.next(e);for(;!i.done&&e<r;)e+=50,i=t.next(e);return e>=r?1/0:e}},5406:t=>{t.exports={style:{fontFamily:"'montserrat', 'montserrat Fallback'"},className:"__className_097e46"}},5430:(t,e,i)=>{"use strict";i.d(e,{L:()=>r});let r=(0,i(4343).createContext)({})},5621:(t,e,i)=>{"use strict";i.d(e,{V:()=>r});let r=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2},5749:(t,e,i)=>{"use strict";i.d(e,{z:()=>n});let r="Document",n=(t,...e)=>{let i;if(!t)return null;let n="link_type"in t?t:{link_type:r,id:t.id,uid:t.uid||void 0,type:t.type,tags:t.tags,lang:t.lang,url:null==t.url?void 0:t.url,slug:t.slugs?.[0],...t.data&&Object.keys(t.data).length>0?{data:t.data}:{}},[s]=e;switch(i="function"==typeof s||null==s?{linkResolver:s}:{...s},n.link_type){case"Media":case"Web":return"url"in n?n.url:null;case r:if("id"in n&&i.linkResolver){let t=i.linkResolver(n);if(null!=t)return t}if("url"in n&&n.url)return n.url;return null;default:return null}}},5883:t=>{t.exports={style:{fontFamily:"'asapCondensed', 'asapCondensed Fallback'"},className:"__className_bc6b56"}},5920:(t,e,i)=>{"use strict";i.d(e,{G:()=>r});let r=t=>e=>1-t(1-e)},5962:(t,e,i)=>{"use strict";let r;i.d(e,{k:()=>a});var n=i(2175),s=i(6312);function o(){r=void 0}let a={now:()=>(void 0===r&&a.set(s.uv.isProcessing||n.W.useManualTiming?s.uv.timestamp:performance.now()),r),set:t=>{r=t,queueMicrotask(o)}}},6003:(t,e,i)=>{"use strict";i.d(e,{G:()=>r});let r=t=>"object"==typeof t&&null!==t},6140:t=>{t.exports={style:{fontFamily:"'poppins', 'poppins Fallback'"},className:"__className_daab03"}},6192:(t,e,i)=>{"use strict";i.d(e,{Ay:()=>s,Eo:()=>d,GR:()=>u,Lr:()=>f,Tj:()=>o,WT:()=>c,fE:()=>p,fi:()=>l,kL:()=>a,r8:()=>m,uW:()=>h});var r=i(6447);let n={grid:{gutter:"30px",columnCount:12,columnWidth:"calc((100% / var(--grid-column-count)) - var(--gutter))"},colors:{primary:"#008080",secondary:"#9764c7",background:"#f8f7f2",black:"#000000",white:"#ffffff",red:"red",gridOverlay:"hsla(204, 80%, 72%, 0.25)",header:"#000000dc",link:"#8c651d",heading:"#000000",font:"#000000",footer
1:"#0a0b0e"},container:{pageWidth:"1500px",containerGutterMin:"20px",containerGutterMax:"80px",containerGutter:"clamp(var(--container-gutter-min), 7vw, var(--container-gutter-max))"},breakpoints:{minMobile:"480px",maxMobile:"479px",minTablet:"720px",maxTablet:"719px",minDesktop:"1080px",maxDesktop:"1079px",minWide:"1312px",maxWide:"1311px"},section:{paddingMobile:"90px",padding:"120px"},fontSizes:{default:"20px",defaultMin:"18px",small:"16px",smallMin:"15px",button:"16px",buttonMin:"14px",h1:"60px",h1Min:"48px",h2:"48px",h2Min:"40px",h3:"40px",h3Min:"32px",h4:"32px",h4Min:"26px",h5:"26px",h5Min:"22px",h6:"22px",h6Min:"20px"},fonts:{fontFamilyJost:[i.n(r)().style.fontFamily],lineHeight:1.5},animations:{defaultEase:"cubic-bezier(0.65, 0, 0.35, 1)",smoothEase:"cubic-bezier(0.04, 0.62, 0.23, 0.98)",easeOutCubic:"cubic-bezier(0.33, 1, 0.68, 1)",easeInOutQuad:"cubic-bezier(0.45, 0, 0.55, 1)",defaultDuration:"300ms",smoothDuration:"600ms"},shadows:{material:"rgb(0 0 0 / 20%) 0px 8px 10px -5px, rgb(0 0 0 / 14%) 0px 16px 24px 2px, rgb(0 0 0 / 12%) 0px 6px 30px 5px;"},zIndex:{header:5,mobileMenu:4},misc:{headerHeight:"100px"},radius:{default:"16px",buttonRadius:"4px"}},s=n;n.grid;let o=n.colors,a=n.container,l=n.breakpoints,h=n.section,u=n.fontSizes;n.fonts;let c=n.animations,d=n.shadows,p=n.zIndex,f=n.misc,m=n.radius},6204:(t,e,i)=>{"use strict";i.d(e,{K:()=>r});let r=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`}},6312:(t,e,i)=>{"use strict";i.d(e,{Gt:()=>n,PP:()=>a,WG:()=>s,uv:()=>o});var r=i(9847);let{schedule:n,cancel:s,state:o,steps:a}=(0,i(7535).I)("u">typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},6447:t=>{t.exports={style:{fontFamily:"'jost', 'jost Fallback'"},className:"__className_10b78c"}},6536:(t,e,i)=>{"use strict";i.d(e,{S:()=>r});let r=t=>!!(t&&t.getVelocity)},6692:(t,e,i)=>{"use strict";i.d(e,{a:()=>r});let r=t=>Math.round(1e5*t)/1e5},6703:(t,e,i)=>{"use strict";i.d(e,{f:()=>r});let r=(t,e)=>e?1e3/e*t:0},6800:t=>{t.exports={style:{fontFamily:"'roboto', 'roboto Fallback'"},className:"__className_ee2b92"}},6956:(t,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"errorOnce",{enumerable:!0,get:function(){return i}});let i=t=>{}},7050:(t,e,i)=>{"use strict";i.d(e,{o:()=>g});var r=i(4598),n=i(1499),s=i(9238),o=i(6204),a=i(5395);let l=.01,h=2,u=.005,c=.5;function d(t,e){return t*Math.sqrt(1-e*e)}let p=["duration","bounce"],f=["stiffness","damping","mass"];function m(t,e){return e.some(e=>void 0!==t[e])}function g(t=.3,e=.3){let i,y,v,b,x,w,S="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:T,restDelta:E}=S,A=S.keyframes[0],P=S.keyframes[S.keyframes.length-1],C={done:!1,value:A},{stiffness:k,damping:M,mass:I,duration:B,velocity:R,isResolvedFromDuration:L}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!m(t,f)&&m(t,p))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*(0,s.q)(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:n}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:o=1}){let a,l;(0,r.$)(t<=(0,n.f)(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let h=1-e;h=(0,s.q)(.05,1,h),t=(0,s.q)(.01,10,(0,n.X)(t)),h<1?(a=e=>{let r=e*h,n=r*t;return .001-(r-i)/d(e,h)*Math.exp(-n)},l=e=>{let r=e*h*t,n=Math.pow(h,2)*Math.pow(e,2)*t,s=Math.exp(-r),o=d(Math.pow(e,2),h);return(r*i+i-n)*s*(-a(e)+.001>0?-1:1)/o}):(a=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),l=e=>t*t*(i-e)*Math.exp(-e*t));let u=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(a,l,5/t);if(t=(0,n.f)(t),isNaN(u))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(u,2)*o;return{stiffness:e,damping:2*h*Math.sqrt(o*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...S,velocity:-(0,n.X)(S.velocity||0)}),j=R||0,D=M/(2*Math.sqrt(k*I)),N=P-A,H=(0,n.X)(Math.sqrt(k/I)),O=5>Math.abs(N);if(T||(T=O?l:h),E||(E=O?u:c),D<1)v=d(H,D),b=(j+D*H*N)/v,i=t=>P-Math.exp(-D*H*t)*(b*Math.sin(v*t)+N*Math.cos(v*t)),x=D*H*b+N*v,w=D*H*N-b*v,y=t=>Math.exp(-D*H*t)*(x*Math.sin(v*t)+w*Math.cos(v*t));else if(1===D){i=t=>P-Math.exp(-H*t)*(N+(j+H*N)*t);let t=j+H*N;y=e=>Math.exp(-H*e)*(H*t*e-j)}
1else{let t=H*Math.sqrt(D*D-1);i=e=>{let i=Math.exp(-D*H*e),r=Math.min(t*e,300);return P-i*((j+D*H*N)*Math.sinh(r)+t*N*Math.cosh(r))/t};let e=(j+D*H*N)/t,r=D*H*e-N*t,n=D*H*N-e*t;y=e=>{let i=Math.exp(-D*H*e),s=Math.min(t*e,300);return i*(r*Math.sinh(s)+n*Math.cosh(s))}}let _={calculatedDuration:L&&B||null,velocity:t=>(0,n.f)(y(t)),next:t=>{if(!L&&D<1){let e=Math.exp(-D*H*t),i=Math.sin(v*t),r=Math.cos(v*t),s=P-e*(b*i+N*r);return C.done=Math.abs((0,n.f)(e*(x*i+w*r)))<=T&&Math.abs(P-s)<=E,C.value=C.done?P:s,C}let e=i(t);return L?C.done=t>=B:C.done=Math.abs((0,n.f)(y(t)))<=T&&Math.abs(P-e)<=E,C.value=C.done?P:e,C},toString:()=>{let t=Math.min((0,a.t)(_),a.Y),e=(0,o.K)(e=>_.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return _}g.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),s=Math.min((0,a.t)(r),a.Y);return{type:"keyframes",ease:t=>r.next(s*t).value/e,duration:(0,n.X)(s)}}(t,100,g);return t.ease=e.ease,t.duration=(0,n.f)(e.duration),t.type="keyframes",t}},7086:(t,e,i)=>{"use strict";i.d(e,{z:()=>n});var r=i(6703);function n(t,e,i){let n=Math.max(e-5,0);return(0,r.f)(i-t(n),e-n)}},7145:(t,e,i)=>{"use strict";i.d(e,{J:()=>n,d:()=>s});var r=i(3899);let n=(0,r.J)(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),s=(0,r.J)(()=>void 0!==window.ViewTimeline,"viewTimeline")},7155:(t,e,i)=>{"use strict";i.d(e,{F:()=>r});let r=(...t)=>t.reduce((t,e)=>i=>e(t(i)))},7363:(t,e,i)=>{"use strict";i.d(e,{k:()=>r});let r=(t,e,i)=>t+(e-t)*i},7473:(t,e,i)=>{"use strict";i.d(e,{Q:()=>r});let r=(0,i(4343).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},7493:(t,e,i)=>{"use strict";i.d(e,{c:()=>a,k:()=>o});var r=i(5383),n=i(4343);let s={isNavOpen:!1},o=(0,n.createContext)({uiState:s,setUiState:()=>null}),a=({children:t})=>{let[e,i]=(0,n.useState)(s),a=(0,n.useCallback)(t=>{i(e=>({...e,...t}))},[]),l=(0,n.useCallback)((t,e)=>{document.documentElement.classList[t?"add":"remove"](e?"nav-open":"scroll-disabled")},[]);return(0,n.useEffect)(()=>
1{l(e.isNavOpen??!1,!0)},[e.isNavOpen,l]),(0,r.jsx)(o.Provider,{value:{uiState:e,setUiState:a},children:t})}},7535:(t,e,i)=>{"use strict";i.d(e,{I:()=>s});var r=i(2175);let n=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function s(t,e){let i=!1,s=!0,o={delta:0,timestamp:0,isProcessing:!1},a=()=>i=!0,l=n.reduce((t,e)=>(t[e]=function(t){let e=new Set,i=new Set,r=!1,n=!1,s=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1};function a(e){s.has(e)&&(l.schedule(e),t()),e(o)}let l={schedule:(t,n=!1,o=!1)=>{let a=o&&r?e:i;return n&&s.add(t),a.add(t),t},cancel:t=>{i.delete(t),s.delete(t)},process:t=>{if(o=t,r){n=!0;return}r=!0;let s=e;e=i,i=s,e.forEach(a),e.clear(),r=!1,n&&(n=!1,l.process(t))}};return l}(a),t),{}),{setup:h,read:u,resolveKeyframes:c,preUpdate:d,update:p,preRender:f,render:m,postRender:g}=l,y=()=>{let n=r.W.useManualTiming,a=n?o.timestamp:performance.now();i=!1,n||(o.delta=s?1e3/60:Math.max(Math.min(a-o.timestamp,40),1)),o.timestamp=a,o.isProcessing=!0,h.process(o),u.process(o),c.process(o),d.process(o),p.process(o),f.process(o),m.process(o),g.process(o),o.isProcessing=!1,i&&e&&(s=!1,t(y))};return{schedule:n.reduce((e,r)=>{let n=l[r];return e[r]=(e,r=!1,a=!1)=>(!i&&(i=!0,s=!0,o.isProcessing||t(y)),n.schedule(e,r,a)),e},{}),cancel:t=>{for(let e=0;e<n.length;e++)l[n[e]].cancel(t)},state:o,steps:l}}},7648:(t,e,i)=>{"use strict";i.d(e,{s:()=>n});var r=i(6003);function n(t){return(0,r.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},7733:(t,e,i)=>{"use strict";i.r(e),i.d(e,{default:()=>im});var r,n,s,o,a,l,h,u,c,d,p,f,m,g,y=i(5383);i(2304);var v=i(4343),b=i(1828),x=i(6192);b.Ay.div.withConfig({componentId:"sc-69faf0e-0"})(["position:fixed;z-index:1000;inset:0;margin-right:auto;margin-left:auto;width:calc(100% - (2 * var(--container-gutter)));max-width:var(--page-width);min-height:100vh;pointer-events:none;background-color:var(--color-grid-overlay);@media (min-width:","){background-color:transparent;background-image:repeating-linear-gradient( to right,var(--color-grid-overlay),var(--color-grid-overlay) var(--grid-column-width),transparent var(--grid-column-width),transparent calc(100% / var(--grid-column-count)) );background-size:calc(100% + var(--gutter)) 100%;}"],x.Ay.breakpoints.minMobile);var w=i(658);let S=()=>{let{asPath:t}=(0,w.useRouter)();return(0,y.jsxs)(T.ExitPreview,{children:[(0,y.jsx)("div",{children:"Preview is enabled"}),(0,y.jsx)(T.ExitButton,{href:`/api/exit-preview${t?"?redirect="+t:""}`,children:"Exit preview"})]})},T={ExitPreview:b.Ay.div.withConfig({componentId:"sc-de397cad-0"})(["display:flex;align-items:center;gap:16px;position:fixed;right:10px;bottom:10px;z-index:1000;padding:10px 20px;border-radius:8px;font-size:",";font-weight:bold;background-color:black;box-shadow:0 0 10px rgba(0,0,0,0.15);color:",";"],x.Ay.fontSizes.small,x.Ay.colors.white),ExitButton:b.Ay.a.withConfig({componentId:"sc-de397cad-1"})(["display:inline-block;padding:6px 16px;border-radius:8px;font-size:",";font-weight:bold;text-decoration:none;background-color:",";color:",";transition:background-color 0.3s;&:hover,&:focus{background-color:#ffffffe3;}"],x.Ay.fontSizes.small,x.Ay.colors.white,x.Ay.colors.font)};function E(){return(E=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(null,arguments)}var A=i(8050),P=i(3500),C=i(3001),k=i(9193);let M=({copyrightText:t,children:e,logo:i,footerLogoWidth:r,overrideFooterLogoSize:n,className:s})=>(0,y.jsx)(y.Fragment,{children:(0,y.jsxs)(I.Footer,{className:s,children:[(0,y.jsxs)(P.x,{children:[(0,y.jsx)(C.E,{children:i&&(0,y.jsx)(I.LogoWrap,{$footerLogoWidth:r,$overrideFooterLogoSize:n,children:i})}),e]}),(0,y.jsxs)(I.BottomContainer,{children:[(0,y.jsx)(I.Copyright,{children:t}),(0,y.jsx)(I.DineoutDesign,{})]})]})}),I={Footer:b.Ay.footer.withConfig({componentId:"sc-df96a71-0"})(["display:flex;flex-direction:column;justify-content:space-between;padding-top:clamp(32px,min(14vh,10vw),32px);padding-bottom:clamp(48px,min(14vh,10vw),48px);min-height:360px;background-color:",";color:",";"],x.Tj.footer,x.Tj.white),LogoWrap:b.Ay.div.withConfig({componentId:"sc-df96a71-1"})(["margin-bottom:40px;width:100%;max-width:",";
1path{fill:",";}@media (min-width:","){margin-bottom:32px;}"],t=>t.$overrideFooterLogoSize&&t.$footerLogoWidth?t.$footerLogoWidth:"80px",x.Tj.white,x.fi.minTablet),Copyright:(0,b.Ay)(C.E).withConfig({componentId:"sc-df96a71-2"})(["",";opacity:0.4;text-align:center;color:",";@media (min-width:","){text-align:start;}"],(0,k.Ig)(15,16),x.Tj.white,x.fi.minTablet),BottomContainer:(0,b.Ay)(A.m).withConfig({componentId:"sc-df96a71-3"})(["display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:",";@media (min-width:","){flex-direction:row;justify-content:space-between;}"],(0,k.yF)(48,16),x.fi.minTablet),DineoutDesign:(0,b.Ay)(function(t){return v.createElement("svg",E({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 196 36"},t),l||(l=v.createElement("path",{fill:"currentColor",d:"M152.69 33.404q-.848 0-1.337-.836c-.489-.836-.49-1.333-.49-2.327q0-1.495.479-2.343c.479-.848.759-.847 1.32-.847q.418 0 .721.209.308.204.566.693h.088a17 17 0 0 1-.066-1.172v-2.046h1.463v8.559h-1.089l-.247-.798h-.05q-.467.908-1.358.908m.473-1.238a.62.62 0 0 0 .594-.368q.186-.374.203-1.353v-.193q0-1.067-.192-1.501-.187-.435-.622-.435-.406 0-.594.5-.181.495-.181 1.447c0 .952.062 1.111.187 1.43q.186.474.605.473M162.42 33.404q-1.149 0-1.815-.814-.66-.82-.66-2.316 0-1.518.6-2.37.599-.853 1.672-.853 1.001 0 1.579.731.577.727.577 2.041v.781h-2.943q.016.82.336 1.221.32.396.88.396.715 0 1.463-.445v1.205q-.704.423-1.689.423m-.214-5.226q-.313 0-.517.336-.204.33-.237 1.029h1.486q-.012-.672-.204-1.018c-.192-.346-.304-.347-.528-.347M172.12 31.501q0 .897-.528 1.403-.523.5-1.546.5-.907 0-1.501-.357v-1.271q.302.21.704.347.406.137.715.137.34 0 .517-.165a.58.58 0 0 0 .181-.445.7.7 0 0 0-.187-.49q-.187-.21-.687-.512-.666-.396-.957-.841a1.94 1.94 0 0 1-.286-1.062q0-.78.533-1.237.539-.457 1.474-.457a2.95 2.95 0 0 1 1.535.43l-.479 1.05q-.588-.32-1.034-.32-.28 0-.423.15a.51.51 0 0 0-.138.362q0 .248.171.44.175.193.649.479.572.346.803.588.231.243.357.55.127.309.127.721M178.01 33.294h-1.463v-6.128h1.463zm-1.523-7.728q0-.363.209-.572.215-.215.594-.215.357 0 .572.215.214.209.214.572 0 .373-.22.583a.8.8 0 0 1-.566.203q-.363 0-.583-.203-.22-.21-.22-.583M187.17 27.177v.858l-.731.165q.214.386.214.968 0 .974-.528 1.524c-.528.55-.843.55-1.474.55q-.275 0-.407-.044-.105.093-.198.209c-.093.116-.094.172-.094.286q0 .385.666.385h.886q.78 0 1.199.424.423.417.423 1.265 0 1.066-.715 1.65t-2.057.583q-1.017 0-1.568-.445-.55-.441-.55-1.26a1.4 1.4 0 0 1 .314-.902q.313-.386.869-.561a1.1 1.1 0 0 1-.462-.341.86.86 0 0 1-.176-.54q0-.186.055-.335a1 1 0 0 1 .154-.286q.104-.137.418-.402-.38-.23-.6-.71a2.5 2.5 0 0 1-.22-1.06q0-1.007.528-1.557c.528-.55.857-.55 1.513-.55q.188 0 .429.044.242.038.369.082zm-3.603 7.008q0 .363.226.555.231.198.654.198.666 0 .996-.253a.82.82 0 0 0 .336-.693q0-.345-.182-.49-.175-.142-.666-.142h-.709a.59.59 0 0 0-.479.22q-.176.225-.176.605m.451-5.017q0 1.084.611 1.084.594 0 .594-1.095 0-1.122-.594-1.122-.61 0-.611 1.133M194.45 33.294v-3.652q0-.666-.159-1.007c-.159-.341-.279-.341-.517-.341q-.474 0-.693.473-.22.468-.22 1.584v2.943h-1.463v-6.128h1.16l.176.787h.094q.198-.424.566-.66a1.54 1.54 0 0 1 .864-.242q.835 0 1.249.572.418.572.418 1.672v3.999z"})),h||(h=v.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M46.01 20.026h3.215c1.513 0 2.648-.476 3.593-1.332q1.419-1.427 1.419-3.424c0-1.997-.473-2.474-1.419-3.425s-2.08-1.332-3.593-1.332H46.01zm-2.08 1.903V8.61h5.295c2.08 0 3.782.57 5.106 1.902 1.324 1.237 2.08 2.854 2.08 4.757s-.756 3.615-2.08 4.756c-1.324 1.332-3.026 1.903-5.012 1.903zm23.26 0h2.27V8.61h-2.27zm14.185 0V8.61h2.175l7.28 9.988V8.611h2.08v13.318h-2.269l-7.375-9.989v9.989zm23.262 0V8.61h9.834v1.902h-7.754v3.805h6.619v1.713h-6.62v3.995h7.944v1.903zm23.639-3.235c.946.951 1.89 1.427 3.404 1.427s2.459-.285 3.404-1.237q1.419-1.425 1.419-3.424c0-2-.473-2.378-1.42-3.33q-1.417-1.427-3.403-1.427c-1.418 0-2.553.38-3.498 1.332-.946.951-1.324 2.093-1.324 3.425s.567 2.473 1.513 3.424zm8.605 1.712c-1.418 1.332-3.026 1.903-5.012 1.903-1.891 0-3.782-.57-5.011-1.903-1.42-1.331-2.08-2.853-2.08-4.946 0-1.903.66-3.615 1.89-4.947 1.419-1.332 3.12-1.903 5.107-1.903 1.89 0 3.593.571 4.917 1.903 1.418
11.332 2.08 2.854 2.08 4.947s-.662 3.615-2.08 4.946zm22.694.286q-1.702 1.712-4.255 1.712c-1.513 0-2.837-.57-4.066-1.712-1.135-.951-1.702-2.569-1.702-4.28V8.61h2.08v7.61c0 1.142.473 2.094 1.135 2.855.756.666 1.607.951 2.836.951 1.23 0 1.892-.285 2.554-.951.756-.761.945-1.713.945-2.854V8.61h2.269v7.61c0 1.712-.472 3.234-1.607 4.28zm12.009-10.18V8.61h11.914v1.903h-4.917v11.416h-2.175V10.513zM15.184 29.539c7.834 0 14.184-6.389 14.184-14.269S23.018 1.001 15.184 1.001 1 7.39 1 15.27s6.35 14.269 14.184 14.269m0-1.861c6.5 0 11.826-5.06 12.3-11.478H22.44c-.211 1.479-.904 2.786-1.975 3.711-1.3 1.31-2.971 1.872-4.921 1.872h-3.905v-1.86h3.546v-.012h.266c1.486 0 2.6-.468 3.528-1.31q1.037-1.045 1.302-2.401H6.937v-1.861h13.359q-.25-1.404-1.316-2.479c-.929-.936-2.043-1.31-3.529-1.31h-.266v-.011h-3.546V8.677h3.812c2.043 0 3.714.562 5.014 1.873 1.089 1.019 1.787 2.3 1.985 3.789h5.035c-.473-6.419-5.8-11.478-12.3-11.478C8.373 2.86 2.85 8.416 2.85 15.269s5.522 12.408 12.334 12.408z",clipRule:"evenodd"})),u||(u=v.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.638 21.784v-1.861h3.546v-.011h.266c1.486 0 2.6-.468 3.529-1.31q.995-1.004 1.279-2.295l.022-.107H6.936v-1.86h13.36l-.021-.108q-.27-1.338-1.296-2.371c-.928-.936-2.043-1.31-3.528-1.31h-.267v-.012H11.64V8.678h3.812c2.043 0 3.714.562 5.014 1.872 1.088 1.02 1.786 2.3 1.984 3.79h5.035l-.008-.108c-.524-6.367-5.827-11.37-12.291-11.37C8.373 2.862 2.85 8.418 2.85 15.27c0 6.853 5.522 12.408 12.334 12.408 6.464 0 11.767-5.003 12.29-11.37q.005-.053.009-.107H22.44c-.211 1.479-.904 2.786-1.975 3.712-1.3 1.31-2.971 1.872-4.921 1.872zm8.899-1.794c-1.324 1.333-3.024 1.901-4.994 1.901h-4.011v-2.075h3.546v-.011h.372c1.459 0 2.547-.458 3.455-1.281q.964-.974 1.244-2.217H6.829v-2.075h13.336q-.267-1.292-1.262-2.295c-.904-.912-1.988-1.28-3.453-1.28h-.373v-.01H11.53V8.57h3.919c2.062 0 3.763.568 5.088 1.902 1.081 1.013 1.784 2.284 2.003 3.76h4.827c-.524-6.309-5.78-11.264-12.184-11.264C8.43 2.97 2.957 8.477 2.957 15.27S8.43 27.571 15.184 27.571c6.405 0 11.66-4.955 12.184-11.264H22.53c-.23 1.464-.926 2.759-1.994 3.683zm8.937-4.72c0 7.94-6.398 14.376-14.29 14.376S.894 23.209.894 15.27C.894 7.33 7.292.894 15.184.894s14.29 6.436 14.29 14.376m-.106 0c0 7.88-6.35 14.269-14.184 14.269S1 23.15 1 15.269 7.35 1.002 15.184 1.002 29.368 7.389 29.368 15.27",clipRule:"evenodd"})))}).withConfig({componentId:"sc-df96a71-4"})(["max-width:200px;width:100%;color:",";"],x.Tj.white)};var B=i(4297),R=i(405);let L=t=>{let{slices:e=[]}=t;return e?(0,y.jsx)(y.Fragment,{children:e.map((t,e)=>{let i=`slice-${t.slice_type}-${e}`;if("footer_group"===t.slice_type)return(0,y.jsx)(v.Fragment,{children:(0,R.$)(t)},i);console.info(`unknown slice type ${t.slice_type}`,t)})}):null},j=({layout:t,className:e})=>{let i=t?.slices3?.slice(0,4),r=t?.footer_override_logo_size??!1,n=`${t?.footer_logo_width}px`;return(0,y.jsx)(M,{copyrightText:t?.footer_copyright_text?t?.footer_copyright_text:void 0,logo:t?.footer_logo?(0,y.jsx)(B.Kq,{image:t?.footer_logo}):void 0,overrideFooterLogoSize:r,footerLogoWidth:n,className:e,children:(0,y.jsx)(L,{slices:i})})};var D=i(5749),N=i(2055);let H=()=>{let{uiState:t,setUiState:e}=(0,N.t)();return(0,y.jsxs)(O.Burger,{onClick:()=>{e({isNavOpen:!t.isNavOpen})},$isNavOpen:t.isNavOpen??!1,children:[(0,y.jsx)(O.Line,{}),(0,y.jsx)(O.Line,{})]})},O={Burger:b.Ay.div.withConfig({componentId:"sc-109a2791-0"})(["display:flex;flex-direction:column;justify-content:space-between;gap:10px;margin:-24px;padding:24px;cursor:pointer;"," @media (min-width:","){display:none;}"],({$isNavOpen:t})=>t&&(0,b.AH)(["gap:12px;span:first-child{transform:rotate(45deg) translate(5px,5px);}span:last-child{transform:rotate(-45deg) translate(5px,-5px);}"]),x.fi.minTablet),Line:b.Ay.span.withConfig({componentId:"sc-109a2791-1"})(["width:30px;height:2px;pointer-events:none;background-color:",";transition:transform "," ",";"],x.Tj.white,x.WT.smoothEase,x.WT.defaultDuration)};function _(){return(_=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(null,arguments)}let F=function(t){return v.createElement("svg",_({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},t),c||(c=v.createElement("circle",{cx:256,cy:256,r:256,fill:"#f0f0f0"})),d||(d=v.createElement("path",{fill:"#0052b4",d:"M52.92 100.14c-20.109 26.163-35.272 56.318-44.101 89.077h133.18L52.922 100.14zm450.26 89.077c-8.829-32.758-23.993-62.913-44.101-89.076l-89.075 89.076h133.18zM8.82 322.777c8.83 32.758 23.993 62.913 44.101 89.075l89.074-89.075H8.815zm403.04-269.86c-26.163-20.109-56.317-35.272-89.076-44.102v133.18L411.86 52.92zm-311.72 406.16c26.163 20.109 56.318 35.272 89.076 44.102v-133.18l-89.076 89.074zm89.075-450.26c-32.758 8.83-62.913 23.993-89.075 44.101l89.075 89.075V8.813zm133.57 494.36c32.758-8.83 62.913-23.993 89.075-44.101l-89.075-89.075v133.18zm47.222-180.4 89.075 89.076c20.108-26.162 35.272-56.318 44.101-89.076h-133.18z"})),p||(p=v.createElement("g",{fill:"#d80027"},v.createElement("path",{d:"M509.833 222.609H289.392V2.167A259 259 0 0 0 256 0c-11.319 0-22.461.744-33.391 2.167v220.441H2.167A259 259 0 0 0 0 256c0 11.319.744 22.461 2.167 33.391h220.441v220.442a258.4 258.4 0 0 0 66.783 0V289.392h220.442A259 259 0 0 0 512 256c0-11.317-.744-22.461-2.167-33.391"}),v.createElement("path",{d:"m322.78 322.78 114.24 114.24a257 257 0 0 0 15.048-16.435l-97.802-97.802h-31.482v.001zm-133.57 0h-.002L74.968 437.02a257 257 0 0 0 16.435 15.048l97.802-97.804v-31.479zm0-133.56v-.002L74.97 74.978a257 257 0 0 0-15.048 16.435l97.803 97.803h31.481zm133.57 0L437.02 74.98a256 256 0 0 0-16.435-15.047l-97.802 97.803v31.482z"}))))};function V(){return(V=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)({}).hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t}).apply(null,arguments)}let $=function(t){return v.createElement("svg",V({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},t),f||(f=v.createElement("circle",{cx:256,cy:256,r:256,fill:"#f0f0f0"})),m||(m=v.createElement("path",{fill:"#0052b4",d:"M8.819 322.783c14.812 54.959 47.457 102.593 91.355 136.322V322.783zm224.92 188.243A259 259 0 0 0 256 512c118.279 0 217.805-80.221 247.181-189.217H233.739zm269.442-321.809C473.805 80.221 374.279 0 256 0c-7.502 0-14.923.342-22.261.974v188.243zM100.174 52.895c-43.898 33.73-76.543 81.363-91.355 136.322h91.355z"})),g||(g=v.createElement("path",{fill:"#d80027",d:"M509.833 222.609H200.348V6.085a254.3 254.3 0 0 0-66.783 25.042v
1191.481H2.167C.742 233.539 0 244.683 0 256s.742 22.461 2.167 33.391h131.398v191.481a254.3 254.3 0 0 0 66.783 25.042V289.392h309.485C511.256 278.461 512 267.317 512 256s-.744-22.461-2.167-33.391"})))},G=()=>{let t=(0,w.useRouter)(),e=e=>{switch(e){case"is":t.push("/",void 0,{locale:"is"});break;case"en":t.push("/en",void 0,{locale:"en"});break;default:return null}};return(0,y.jsxs)(z.LanguageSwitcher,{children:[(0,y.jsx)(z.Button,{onClick:()=>e("is"),children:(0,y.jsx)($,{})}),(0,y.jsx)(z.Button,{onClick:()=>e("en"),children:(0,y.jsx)(F,{})})]})},z={LanguageSwitcher:b.Ay.div.withConfig({componentId:"sc-3be989d-0"})(["display:flex;gap:16px;"]),Button:b.Ay.button.withConfig({componentId:"sc-3be989d-1"})(["width:26px;height:26px;@media (min-width:","){width:28px;height:28px;}"],x.fi.minTablet)},U=({children:t,headerTheme:e,showBurger:i,className:r})=>(0,y.jsx)(W.Header,{$headerTheme:e,className:r,children:(0,y.jsx)(P.x,{children:(0,y.jsxs)(W.GridItem,{children:[(0,y.jsx)(W.DesktopMenu,{children:t}),i?(0,y.jsx)(H,{}):(0,y.jsx)("div",{}),(0,y.jsx)(G,{})]})})}),W={Header:b.Ay.header.withConfig({componentId:"sc-e354e4ba-0"})(["display:flex;align-items:center;top:0;right:0;left:0;z-index:",";position:relative;width:100%;height:",";color:",";",";"],x.fE.header,x.Lr.headerHeight,x.Tj.white,t=>{switch(t.$headerTheme){case"black":default:return(0,b.AH)(["background-color:",";"],x.Tj.black);case"transparent":return(0,b.AH)(["position:absolute;background-color:transparent;"])}}),GridItem:(0,b.Ay)(C.E).withConfig({componentId:"sc-e354e4ba-1"})(["display:flex;justify-content:space-between;align-items:center;"]),DesktopMenu:b.Ay.div.withConfig({componentId:"sc-e354e4ba-2"})(["display:none;gap:30px;@media (min-width:","){display:flex;}"],x.fi.minTablet)};var q=i(4084);let X=({link:t,linkText:e})=>t?(0,y.jsx)(q.N,{to:t,children:(0,y.jsx)(K.HeaderItem,{children:e})}):null,K={HeaderItem:b.Ay.div.withConfig({componentId:"sc-20d002c9-0"})(["position:relative;padding:10px 0;width:fit-content;cursor:pointer;font-weight:500;&:hover::before{width:100%;transform:scaleX(1);}&::before{content:'';position:absolute;bottom:6px;width:100%;height:2px;border-bottom:1px solid ",";background-color:",";transform:scaleX(0);transform-origin:0;transition:transform ",";}"],x.Tj.white,x.Tj.white,x.WT.defaultDuration)},Y=({groupTitle:t,links:e})=>{let[i,r]=(0,v.useState)(!1);return e&&0!==e.length?(0,y.jsxs)(Z.Wrapper,{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1),children:[(0,y.jsxs)(Z.Trigger,{children:[(0,y.jsx)("span",{children:t}),(0,y.jsx)(Z.Chevron,{$open:i,viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:(0,y.jsx)("path",{d:"M6 9l6 6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,y.jsx)(Z.Dropdown,{$open:i,children:e.map((t,e)=>(0,y.jsx)(X,{link:(0,D.z)(t.link),linkText:t.link_text},e))})]}):null},Z={Wrapper:b.Ay.div.withConfig({componentId:"sc-8325bec-0"})(["position:relative;"]),Trigger:b.Ay.div.withConfig({componentId:"sc-8325bec-1"})(["display:flex;align-items:center;gap:6px;padding:10px 0;cursor:pointer;font-weight:500;"]),Chevron:b.Ay.svg.withConfig({componentId:"sc-8325bec-2"})(["width:16px;height:16px;transform:rotate(",");transition:transform ",";"],t=>t.$open?"180deg":"0deg",x.WT.defaultDuration),Dropdown:b.Ay.div.withConfig({componentId:"sc-8325bec-3"})(["display:flex;flex-direction:column;gap:4px;position:absolute;top:calc(100% - 4px);left:0;z-index:",";padding:12px 20px;min-width:max-content;pointer-events:",";opacity:",";background-color:",";box-shadow:",";transform:translateY(",");transition:opacity ",",transform ",";"],x.fE.header,t=>t.$open?"auto":"none",t=>+!!t.$open,x.Tj.header,x.Eo.material,t=>t.$open?"0":"-8px",x.WT.defaultDuration,x.WT.defaultDuration)},Q=({children:t,className:e})=>{let{uiState:i}=(0,N.t)(),{isNavOpen:r}=i;return(0,y.jsx)(J.MobileMenu,{$isNavOpen:r,className:e,children:(0,y.jsx)(J.List,{children:t})})},J={MobileMenu:b.Ay.div.withConfig({componentId:"sc-bdfc80c0-0"})(["display:flex;flex-direction:column;align-items:center;position:fixed;z-index:",";inset:0;width:100%;height:100%;overflow-y:auto;background-color:",";transform:",";transition:transform 0.4s;-webkit-overflow-scrolling:touch;backdrop-filter:blur(8px);"],x.fE.mobileMenu,x.Tj.header,t=>t.$isNavOpen?"translateX(0)":"translateX(100%)"),List:b.Ay.div.withConfig({componentId:"sc-bdfc80c0-1"})(["display:flex;flex-direction:column;align-items:center;gap:15px;margin:auto 0;padding:calc("," + 20px) calc("," * 2) 40px;width:100%;"],x.Lr.headerHeight,x.kL.containerGutter)},tt=t=>{let{link:e,linkText:i,nested:r}=t;return e?(0,y.jsx)(te.MobileMenuItem,{$nested:r,children:(0,y.jsx)(q.N,{to:e,children:(0,y.jsx)(te.LinkText,{$nested:r,children:i})})}):null},te={MobileMenuItem:b.Ay.div.withConfig({componentId:"sc-a2c77da8-0"})(["display:flex;justify-content:center;padding-bottom:",";max-width:400px;width:100%;border-bottom:",";"],t=>t.$nested?"0":"calc(var(--gutter) * 0.5)",t=>t.$nested?"none":"1px solid #424242"),LinkText:b.Ay.div.withConfig({componentId:"sc-a2c77da8-1"})(["",";padding:",";width:max-content;cursor:pointer;font-weight:",";text-transform:uppercase;color:",";"],t=>t.$nested?(0,k.Ig)(x.GR.small,x.GR.defaultMin):(0,k.Ig)(x.GR.defaultMin,x.GR.default),t=>t.$nested?"4px 0":"0",t=>t.$nested?500:700,x.Tj.white)};var ti=i(5430),tr=i(5018),tn=i(1242),ts=i(964),to=i(7648),ta=i(7473);function tl(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class th extends v.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,to.s)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,
1i=(0,to.s)(t)&&t.offsetWidth||0,r=(0,to.s)(t)&&t.offsetHeight||0,n=getComputedStyle(e),s=this.props.sizeRef.current;s.height=parseFloat(n.height),s.width=parseFloat(n.width),s.top=e.offsetTop,s.left=e.offsetLeft,s.right=i-s.width-s.left,s.bottom=r-s.height-s.top,s.direction=n.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function tu({children:t,isPresent:e,anchorX:i,anchorY:r,root:n,pop:s}){let o=(0,v.useId)(),a=(0,v.useRef)(null),l=(0,v.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:h}=(0,v.useContext)(ta.Q),u=function(...t){return v.useCallback(function(...t){return e=>{let i=!1,r=t.map(t=>{let r=tl(t,e);return i||"function"!=typeof r||(i=!0),r});if(i)return()=>{for(let e=0;e<r.length;e++){let i=r[e];"function"==typeof i?i():tl(t[e],null)}}}}(...t),t)}(a,t.props?.ref??t?.ref);return(0,v.useInsertionEffect)(()=>{let{width:t,height:u,top:c,left:d,right:p,bottom:f,direction:m}=l.current;if(e||!1===s||!a.current||!t||!u)return;let g="rtl"===m,y="left"===i?g?`right: ${p}`:`left: ${d}`:g?`left: ${d}`:`right: ${p}`,v="bottom"===r?`bottom: ${f}`:`top: ${c}`;a.current.dataset.motionPopId=o;let b=document.createElement("style");h&&(b.nonce=h);let x=n??document.head;return x.appendChild(b),b.sheet&&b.sheet.insertRule(` 2 [data-motion-pop-id="${o}"] { 3 position: absolute !important; 4 width: ${t}px !important; 5 height: ${u}px !important; 6 ${y}px !important; 7 ${v}px !important; 8 } 9 `),()=>{a.current?.removeAttribute("data-motion-pop-id"),x.contains(b)&&x.removeChild(b)}},[e]),(0,y.jsx)(th,{isPresent:e,childRef:a,sizeRef:l,pop:s,children:!1===s?t:v.cloneElement(t,{ref:u})})}let tc=({children:t,initial:e,isPresent:i,onExitComplete:r,custom:n,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:l,root:h})=>{let u=(0,tr.M)(td),c=(0,v.useId)(),d=(0,v.useRef)(i),p=(0,v.useRef)(r);(0,tn.E)(()=>{d.current=i,p.current=r});let f=!0,m=(0,v.useMemo)(()=>(f=!1,{id:c,initial:e,isPresent:i,custom:n,onExitComplete:t=>
9{for(let e of(u.set(t,!0),u.values()))if(!e)return;r&&r()},register:t=>(u.set(t,!1),()=>{u.delete(t),d.current||u.size||p.current?.()})}),[i,u,r]);return s&&f&&(m={...m}),(0,v.useMemo)(()=>{u.forEach((t,e)=>u.set(e,!1))},[i]),v.useEffect(()=>{i||u.size||!r||r()},[i]),t=(0,y.jsx)(tu,{pop:"popLayout"===o,isPresent:i,anchorX:a,anchorY:l,root:h,children:t}),(0,y.jsx)(ts.t.Provider,{value:m,children:t})};function td(){return new Map}var tp=i(8243);let tf=t=>t.key||"";function tm(t){let e=[];return v.Children.forEach(t,t=>{(0,v.isValidElement)(t)&&e.push(t)}),e}let tg=({children:t,custom:e,initial:i=!0,onExitComplete:r,presenceAffectsLayout:n=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:l="top",root:h})=>{let[u,c]=(0,tp.xQ)(o),d=(0,v.useMemo)(()=>tm(t),[t]),p=o&&!u?[]:d.map(tf),f=(0,v.useRef)(!0),m=(0,v.useRef)(d),g=(0,tr.M)(()=>new Map),b=(0,v.useRef)(new Set),[x,w]=(0,v.useState)(d),[S,T]=(0,v.useState)(d);(0,tn.E)(()=>{f.current=!1,m.current=d;for(let t=0;t<S.length;t++){let e=tf(S[t]);p.includes(e)?(g.delete(e),b.current.delete(e)):!0!==g.get(e)&&g.set(e,!1)}},[S,p.length,p.join("-")]);let E=[];if(d!==x){let t=[...d];for(let e=0;e<S.length;e++){let i=S[e],r=tf(i);p.includes(r)||(t.splice(e,0,i),E.push(i))}return"wait"===s&&E.length&&(t=E),T(tm(t)),w(d),null}let{forceRender:A}=(0,v.useContext)(ti.L);return(0,y.jsx)(y.Fragment,{children:S.map(t=>{let v=tf(t),x=(!o||!!u)&&(d===S||p.includes(v));return(0,y.jsx)(tc,{isPresent:x,initial:(!f.current||!!i)&&void 0,custom:e,presenceAffectsLayout:n,mode:s,root:h,onExitComplete:x?void 0:()=>{if(b.current.has(v)||!g.has(v))return;b.current.add(v),g.set(v,!0);let t=!0;g.forEach(e=>{e||(t=!1)}),t&&(A?.(),T(m.current),o&&c?.(),r&&r())},anchorX:a,anchorY:l,children:t},v)})})};var ty=i(8559);let tv=({groupTitle:t,links:e})=>{let[i,r]=(0,v.useState)(!1);return e&&0!==e.length?(0,y.jsxs)(tb.MobileMenuItem,{children:[(0,y.jsxs)(tb.Trigger,{onClick:()=>r(!i),children:[(0,y.jsx)(tb.LinkText,{children:t}),(0,y.jsx)(tb.Chevron,{$open:i,viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:(0,y.jsx)("path",{d:"M6 9l6 6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]}),(0,y.jsx)(tg,{initial:!1,children:i&&(0,y.jsx)(tb.Content,{initial:"close",animate:"open",exit:"close",variants:{open:{height:"auto"},close:{height:0}},transition:{duration:.3,ease:[.04,.62,.23,.98]},children:(0,y.jsx)(tb.ContentInner,{children:e.map((t,e)=>(0,y.jsx)(tt,{link:(0,D.z)(t.link),linkText:t.link_text,nested:!0},e))})})})]}):null},tb={MobileMenuItem:b.Ay.div.withConfig({componentId:"sc-8578f568-0"})(["display:flex;flex-direction:column;align-items:center;padding-bottom:calc(var(--gutter) * 0.5);max-width:400px;width:100%;border-bottom:1px solid #424242;"]),Trigger:b.Ay.div.withConfig({componentId:"sc-8578f568-1"})(["display:flex;align-items:center;justify-content:center;gap:10px;width:100%;cursor:pointer;"]),LinkText:b.Ay.div.withConfig({componentId:"sc-8578f568-2"})(["",";width:max-content;font-weight:700;line-height:1;text-transform:uppercase;color:",";"],(0,k.Ig)(x.GR.defaultMin,x.GR.default),x.Tj.white),Chevron:b.Ay.svg.withConfig({componentId:"sc-8578f568-3"})(["flex-shrink:0;width:18px;height:18px;color:",";transform:rotate(",");transition:transform ",";"],x.Tj.white,t=>t.$open?"180deg":"0deg",x.WT.defaultDuration),Content:(0,b.Ay)(ty.P.div).withConfig({componentId:"sc-8578f568-4"})(["width:100%;overflow:hidden;"]),ContentInner:b.Ay.div.withConfig({componentId:"sc-8578f568-5"})(["display:flex;flex-direction:column;align-items:center;gap:12px;padding-top:12px;"])},tx=({layout:t,headerTheme:e,className:i,page:r})=>{let n=t?.navigation_links?.filter(t=>t.link&&t.link_text),s=n&&n?.length>0,o=t?.slices2,a=!!t?.enable_navigation_group_links;if(r?.override_header_navigation===!0){let t=(r.header_navigation_links?.length??0)>0;return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(U,{headerTheme:e,showBurger:t,className:i,children:r.header_navigation_links?.map((t,e)=>(0,y.jsx)(X,{link:(0,D.z)(t.link),linkText:t.link_text},e))}),(0,y.jsx)(Q,{className:i,children:r.header_navigation_links?.map((t,e)=>(0,y.jsx)(tt,{link:(0,D.z)(t.link),linkText:t.link_text},e))})]})}let l=a?o?.map(t=>{let e=t?.primary;if(e&&e.group_number&&e.group_number>=0)return{groupTitle:e.group_title,groupNumber:e.group_number,groupNavigationLinks:n?.filter(t=>t.group_number===e.group_number)}}).filter(t=>!!t)??[]:[],h=[];return n?.forEach(t=>{if(a&&t.group_number&&t.group_number>=0){if(h.some(e=>"groupNumber"in e&&e.groupNumber===t.group_number))return;let e=l.find(e=>e.groupNumber===t.group_number);e&&h.push(e)}else h.push(t)}),(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(U,{headerTheme:e,showBurger:s,className:i,children:h.map((t,e)=>"groupTitle"in t?(0,y.jsx)(Y,{groupTitle:t.groupTitle,links:t.groupNavigationLinks},e):(0,y.jsx)(X,{link:(0,D.z)(t.link),linkText:t.link_text},e))}),(0,y.jsx)(Q,{className:i,children:h.map((t,e)=>"groupTitle"in t?(0,y.jsx)(tv,{groupTitle:t.groupTitle,links:t.groupNavigationLinks},e):(0,y.jsx)(tt,{link:(0,D.z)(t.link),linkText:t.link_text},e))})]})};function tw(t,e){let i=e&&e.cache?e.cache:tP,r=e&&e.serializer?e.serializer:tE;return(e&&e.strategy?e.strategy:function(t,e){var i,r;let n=1===t.length?tS:tT;return i=e.cache.create(),r=e.serializer,n.bind(this,t,i,r)})(t,{cache:i,serializer:r})}function tS(t,e,i,r){let n=null==r||"number"==typeof r||"boolean"==typeof r?r:i(r),s=e.get(n);return void 0===s&&(s=t.call(this,r),e.set(n,s)),s}function tT(t,e,i){let r=Array.prototype.slice.call(arguments,3),n=i(r),s=e.get(n);return void 0===s&&(s=t.apply(this,r),e.set(n,s)),s}let tE=function(){return JSON.stringify(arguments)};var tA=class{constructor(){this.cache=Object.create(null)}get(t){return this.cache[t]}set(t,e){this.cache[t]=e}};let tP={create:function(){return new tA}},tC={variadic:function(t,e){var i,r;return i=e.cache.create(),r=e.serializer,tT.bind(this,t,i,r)},monadic:function(t,e){var i,r;return i=e.cache.create(),r=e.serializer,tS.bind(this,t,i,r)}},tk=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g,tM=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i,tI=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,tB=/^(@+)?(\+|#+)?[rs]?$/g,tR=/(\*)(0+)|(#+)(0+)|(0+)/g,tL=/^(0+)$/;function tj(t){let e={};return"r"===t[t.length-1]?e.roundingPriority="morePrecision":"s"===t[t.length-1]&&(e.roundingPriority="lessPrecision"),t.replace(tB,function(t,i,r){return"string"!=typeof r?(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length):"+"===r?e.minimumSignificantDigits=i.length:"#"===i[0]?e.maximumSignificantDigits=i.length:(e.minimumSignificantDigits=i.length,e.maximumSignificantDigits=i.length+("string"==typeof r?r.length:0)),""}),e}function tD(t){switch(t){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function tN(t){let e=tD(t);return e||{}}let tH=((r={})[r.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",r[r.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",r[r.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",r[r.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",r[r.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",r[r.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",r[r.INVALID_
9NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",r[r.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",r[r.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",r[r.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",r[r.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",r[r.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",r[r.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",r[r.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",r[r.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",r[r.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",r[r.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",r[r.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",r[r.INVALID_TAG=23]="INVALID_TAG",r[r.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",r[r.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",r[r.UNCLOSED_TAG=27]="UNCLOSED_TAG",r),tO=((n={})[n.literal=0]="literal",n[n.argument=1]="argument",n[n.number=2]="number",n[n.date=3]="date",n[n.time=4]="time",n[n.select=5]="select",n[n.plural=6]="plural",n[n.pound=7]="pound",n[n.tag=8]="tag",n);function t_(t){return!!(t&&"object"==typeof t&&0===t.type)}function tF(t){return!!(t&&"object"==typeof t&&1===t.type)}let tV=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,t$={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GS:["H","h","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
9:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ku-SY":["H","hB"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]},tG=RegExp(`^${tV.source}*`),tz=RegExp(`${tV.source}*$`);function tU(t,e){return{start:t,end:e}}let tW=!!Object.fromEntries,tq=!!String.prototype.trimStart,tX=!!String.prototype.trimEnd,tK=tW?Object.fromEntries:function(t){let e={};for(let[i,r]of t)e[i]=r;return e},tY=tq?function(t){return t.trimStart()}:function(t){return t.replace(tG,"")},tZ=tX?function(t){return t.trimEnd()}:function(t){return t.replace(tz,"")},tQ=RegExp("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");var tJ=class{constructor(t,e={}){this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}parse(){if(0!==this.offset())throw Error("parser can only be used once");if(this.message.length>0){let t=this.message.charCodeAt(0);if(35!==t&&39!==t&&60!==t&&123!==t&&125!==t){let t=function(t){if(0===t.length)return null;let e=1,i=1;for(let r=0;r<t.length;){let n=t.charCodeAt(r);switch(n){case 35:case 39:case 60:case 123:case 125:return null}if(10===n)e++,i=1,r++;else if(i++,n>=55296&&n<=56319&&r+1<t.length){let e=t.charCodeAt(r+1);r+=e>=56320&&e<=57343?2:1}else r++}return{offset:t.length,line:e,column:i}}(this.message);if(t){let e=this.clonePosition();return this.position=t,{val:[{type:0,value:this.message,location:tU(e,this.clonePosition())}],err:null}}}}return this.parseMessage(0,"",!1)}parseMessage(t,e,i){let r=[];for(;!this.isEOF();){let n=this.char();if(123===n){let e=this.parseArgument(t,i);if(e.err)return e;r.push(e.val)}else if(125===n&&t>0)break;else if(35===n&&("plural"===e||"selectordinal"===e)){let t=this.clonePosition();this.bump(),r.push({type:7,location:tU(t,this.clonePosition())})}else if(60!==n||this.ignoreTag||47!==this.peek())if(60===n&&!this.ignoreTag&&t0(this.peek()||0)){let i=this.parseTag(t,e);if(i.err)return i;r.push(i.val)}else{let i=this.parseLiteral(t,e);if(i.err)return i;r.push(i.val)}else if(!i)return this.error(26,tU(this.clonePosition(),this.clonePosition()));else break}return{val:r,err:null}}parseTag(t,e){let i=this.clonePosition();this.bump();let r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:0,value:`<${r}/>`,location:tU(i,this.clonePosition())},err:null};if(!this.bumpIf(">"))return this.error(23,tU(i,this.clonePosition()));{let n=this.parseMessage(t+1,e,!0);if(n.err)return n;let s=n.val,o=this.clonePosition();if(!this.bumpIf("</"))return this.error(27,tU(i,this.clonePosition()));{if(this.isEOF()||!t0(this.char()))return this.error(23,tU(o,this.clonePosition()));let t=this.clonePosition();return r!==this.parseTagName()?this.error(26,tU(t,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">"))?{val:{type:8,value:r,children:s,location:tU(i,this.clonePosition())},err:null}:this.error(23,tU(o,this.clonePosition()))}}}parseTagName(){var t;let e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(e,this.offset())}parseLiteral(t,e){let i=this.clonePosition(),r="";for(;;){let i=this.tryParseQuote(e);if(i){r+=i;continue}let n=this.tryParseUnquoted(t,e);if(n){r+=n;continue}let s=this.tryParseLeftAngleBracket();if(s){r+=s;continue}break}return{val:{type:0,value:r,location:tU(i,this.clonePosition())},err:null}}tryParseLeftAngleBracket(){var t;return this.isEOF()||60!==this.char()||!this.ignoreTag&&(t0(t=this.peek()||0)||47===t)?null:(this.bump(),"<")}tryParseQuote(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";
9case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();let e=[this.char()];for(this.bump();!this.isEOF();){let t=this.char();if(39===t)if(39===this.peek())e.push(39),this.bump();else{this.bump();break}else e.push(t);this.bump()}return String.fromCodePoint(...e)}tryParseUnquoted(t,e){if(this.isEOF())return null;let i=this.char();return 60===i||123===i||35===i&&("plural"===e||"selectordinal"===e)||125===i&&t>0?null:(this.bump(),String.fromCodePoint(i))}parseArgument(t,e){let i=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,tU(i,this.clonePosition()));if(125===this.char())return this.bump(),this.error(2,tU(i,this.clonePosition()));let r=this.parseIdentifierIfPossible().value;if(!r)return this.error(3,tU(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(1,tU(i,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:1,value:r,location:tU(i,this.clonePosition())},err:null};case 44:if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(1,tU(i,this.clonePosition()));return this.parseArgumentOptions(t,e,r,i);default:return this.error(3,tU(i,this.clonePosition()))}}parseIdentifierIfPossible(){var t;let e=this.clonePosition(),i=this.offset(),r=(t=this.message,tQ.lastIndex=i,tQ.exec(t)[1]??""),n=i+r.length;return this.bumpTo(n),{value:r,location:tU(e,this.clonePosition())}}parseArgumentOptions(t,e,i,r){let n=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();switch(s){case"":return this.error(4,tU(n,o));case"number":case"date":case"time":{this.bumpSpace();let t=null;if(this.bumpIf(",")){this.bumpSpace();let e=this.clonePosition(),i=this.parseSimpleArgStyleIfPossible();if(i.err)return i;let r=tZ(i.val);if(0===r.length)return this.error(6,tU(this.clonePosition(),this.clonePosition()));t={style:r,styleLocation:tU(e,this.clonePosition())}}let e=this.tryParseArgumentClose(r);if(e.err)return e;let n=tU(r,this.clonePosition());if(t&&t.style.startsWith("::")){let e=tY(t.style.slice(2));if("number"===s){let r=this.parseNumberSkeletonFromString(e,t.styleLocation);if(r.err)return r;return{val:{type:2,value:i,location:n,style:r.val},err:null}}{let r;if(0===e.length)return this.error(10,n);let o=e;return this.locale&&(o=function(t,e){let i="";for(let r=0;r<t.length;r++){let n=t.charAt(r);if("j"===n){let s=0;for(;r+1<t.length&&t.charAt(r+1)===n;)s++,r++;let o=1+(1&s),a=s<2?1:3+(s>>1),l=function(t){let e,i=t.hourCycle;if(void 0===i&&t.hourCycles&&t.hourCycles.length&&(i=t.hourCycles[0]),i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw Error("Invalid hourCycle")}let r=t.language;return"root"!==r&&(e=t.maximize().region),(t$[e||""]||t$[r||""]||t$[`${r}-001`]||t$["001"])[0]}(e);for(("H"==l||"k"==l)&&(a=0);a-- >0;)i+="a";for(;o-- >0;)i=l+i}else"J"===n?i+="H":i+=n}return i}(e,this.locale)),{val:{type:"date"===s?3:4,value:i,location:n,style:{type:1,pattern:o,location:t.styleLocation,parsedOptions:this.shouldParseSkeletons?(r={},o.replace(tk,t=>{let e=t.length;switch(t[0]){case"G":r.era=4===e?"long":5===e?"narrow":"short";break;case"y":r.year=2===e?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":r.month=["numeric","2-digit","short","long","narrow"][e-1];break;case"w":case"W":throw RangeError("`w/W` (week) patterns are not supported");case"d":r.day=["numeric","2-digit"][e-1];break;case"D":case"F":case"g":throw RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":r.weekday=4===e?"long":5===e?"narrow":"short";break;case"e":if(e<4)throw RangeError("`e..eee` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-3];break;case"c":if(e<4)throw RangeError("`c..ccc` (weekday) patterns are not supported");r.weekday=["short","long","narrow","short"][e-3];break;case"a":r.hour12=!0;break;case"b":case"B":throw RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":r.hourCycle="h12",r.hour=["numeric","2-digit"][e-1];break;case"H":r.hourCycle="h23",r.hour=["numeric","2-digit"][e-1];break;case"K":r.hourCycle="h11",r.hour=["numeric","2-digit"][e-1];break;case"k":r.hourCycle="h24",r.hour=["numeric","2-digit"][e-1];break;case"j":case"J":case"C":throw RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":r.minute=["numeric","2-digit"][e-1];break;case"s":r.second=["numeric","2-digit"][e-1];break;case"S":case"A":throw RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":r.timeZoneName=e<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),r):{}}},err:null}}}return{val:{type:"number"===s?2:"date"===s?3:4,value:i,location:n,style:t?.style??null},err:null}}
9case"plural":case"selectordinal":case"select":{let n=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(12,tU(n,{...n}));this.bumpSpace();let o=this.parseIdentifierIfPossible(),a=0;if("select"!==s&&"offset"===o.value){if(!this.bumpIf(":"))return this.error(13,tU(this.clonePosition(),this.clonePosition()));this.bumpSpace();let t=this.tryParseDecimalInteger(13,14);if(t.err)return t;this.bumpSpace(),o=this.parseIdentifierIfPossible(),a=t.val}let l=this.tryParsePluralOrSelectOptions(t,s,e,o);if(l.err)return l;let h=this.tryParseArgumentClose(r);if(h.err)return h;let u=tU(r,this.clonePosition());if("select"===s)return{val:{type:5,value:i,options:tK(l.val),location:u},err:null};return{val:{type:6,value:i,options:tK(l.val),offset:a,pluralType:"plural"===s?"cardinal":"ordinal",location:u},err:null}}default:return this.error(5,tU(n,o))}}tryParseArgumentClose(t){return this.isEOF()||125!==this.char()?this.error(1,tU(t,this.clonePosition())):(this.bump(),{val:!0,err:null})}parseSimpleArgStyleIfPossible(){let t=0,e=this.clonePosition();for(;!this.isEOF();)switch(this.char()){case 39:{this.bump();let t=this.clonePosition();if(!this.bumpUntil("'"))return this.error(11,tU(t,this.clonePosition()));this.bump();break}case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}}parseNumberSkeletonFromString(t,e){let i=[];try{i=function(t){if(0===t.length)throw Error("Number skeleton cannot be empty");let e=t.split(tM).filter(t=>t.length>0),i=[];for(let t of e){let e=t.split("/");if(0===e.length)throw Error("Invalid number skeleton");let[r,...n]=e;for(let t of n)if(0===t.length)throw Error("Invalid number skeleton");i.push({stem:r,options:n})}return i}(t)}catch{return this.error(7,e)}return{val:{type:0,tokens:i,location:e,parsedOptions:this.shouldParseSkeletons?function(t){let e={};for(let i of t){switch(i.stem){case"percent":case"%":e.style="percent";continue;case"%x100":e.style="percent",e.scale=100;continue;case"currency":e.style="currency",e.currency=i.options[0];continue;case"group-off":case",_":e.useGrouping=!1;continue;case"precision-integer":case".":e.maximumFractionDigits=0;continue;case"measure-unit":case"unit":e.style="unit",e.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":e.notation="compact",e.compactDisplay="short";continue;case"compact-long":case"KK":e.notation="compact",e.compactDisplay="long";continue;case"scientific":e={...e,notation:"scientific",...i.options.reduce((t,e)=>({...t,...tN(e)}),{})};continue;case"engineering":e={...e,notation:"engineering",...i.options.reduce((t,e)=>({...t,...tN(e)}),{})};continue;case"notation-simple":e.notation="standard";continue;case"unit-width-narrow":e.currencyDisplay="narrowSymbol",e.unitDisplay="narrow";continue;case"unit-width-short":e.currencyDisplay="code",e.unitDisplay="short";continue;case"unit-width-full-name":e.currencyDisplay="name",e.unitDisplay="long";continue;case"unit-width-iso-code":e.currencyDisplay="symbol";continue;case"scale":e.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":e.roundingMode="floor";continue;case"rounding-mode-ceiling":e.roundingMode="ceil";continue;case"rounding-mode-down":e.roundingMode="trunc";continue;case"rounding-mode-up":e.roundingMode="expand";continue;case"rounding-mode-half-even":e.roundingMode="halfEven";continue;case"rounding-mode-half-down":e.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":e.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw RangeError("integer-width stems only accept a single optional option");i.options[0].replace(tR,function(t,i,r,n,s,o){if(i)e.minimumIntegerDigits=r.length;else if(n&&s)throw Error("We currently do not support maximum integer digits");else if(o)throw Error("We currently do not support exact integer digits");return""});continue}if(tL.test(i.stem)){e.minimumIntegerDigits=i.stem.length;continue}if(tI.test(i.stem)){if(i.options.length>1)throw RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(tI,function(t,i,r,n,s,o){return"*"===r?e.minimumFractionDigits=i.length:n&&"#"===n[0]?e.maximumFractionDigits=n.length:s&&o?(e.minimumFractionDigits=s.length,e.maximumFractionDigits=s.length+o.length):(e.minimumFractionDigits=i.length,e.maximumFractionDigits=i.length),""});let t=i.options[0];
9"w"===t?e={...e,trailingZeroDisplay:"stripIfInteger"}:t&&(e={...e,...tj(t)});continue}if(tB.test(i.stem)){e={...e,...tj(i.stem)};continue}let t=tD(i.stem);t&&(e={...e,...t});let r=function(t){let e;if("E"===t[0]&&"E"===t[1]?(e={notation:"engineering"},t=t.slice(2)):"E"===t[0]&&(e={notation:"scientific"},t=t.slice(1)),e){let i=t.slice(0,2);if("+!"===i?(e.signDisplay="always",t=t.slice(2)):"+?"===i&&(e.signDisplay="exceptZero",t=t.slice(2)),!tL.test(t))throw Error("Malformed concise eng/scientific notation");e.minimumIntegerDigits=t.length}return e}(i.stem);r&&(e={...e,...r})}return e}(i):{}},err:null}}tryParsePluralOrSelectOptions(t,e,i,r){let n=!1,s=[],o=new Set,{value:a,location:l}=r;for(;;){if(0===a.length){let t=this.clonePosition();if("select"!==e&&this.bumpIf("=")){let e=this.tryParseDecimalInteger(16,19);if(e.err)return e;l=tU(t,this.clonePosition()),a=this.message.slice(t.offset,this.offset())}else break}if(o.has(a))return this.error("select"===e?21:20,l);"other"===a&&(n=!0),this.bumpSpace();let r=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?17:18,tU(this.clonePosition(),this.clonePosition()));let h=this.parseMessage(t+1,e,i);if(h.err)return h;let u=this.tryParseArgumentClose(r);if(u.err)return u;s.push([a,{value:h.val,location:tU(r,this.clonePosition())}]),o.add(a),this.bumpSpace(),{value:a,location:l}=this.parseIdentifierIfPossible()}return 0===s.length?this.error("select"===e?15:16,tU(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!n?this.error(22,tU(this.clonePosition(),this.clonePosition())):{val:s,err:null}}tryParseDecimalInteger(t,e){let i=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);let n=!1,s=0;for(;!this.isEOF();){let t=this.char();if(t>=48&&t<=57)n=!0,s=10*s+(t-48),this.bump();else break}let o=tU(r,this.clonePosition());return n?Number.isSafeInteger(s*=i)?{val:s,err:null}:this.error(e,o):this.error(t,o)}offset(){return this.position.offset}isEOF(){return this.offset()===this.message.length}clonePosition(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}}char(){let t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");let e=this.message.codePointAt(t);if(void 0===e)throw Error(`Offset ${t} is at invalid UTF-16 code unit boundary`);return e}error(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}}bump(){if(this.isEOF())return;let t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}bumpIf(t){if(this.message.startsWith(t,this.offset())){for(let e=0;e<t.length;e++)this.bump();return!0}return!1}bumpUntil(t){let e=this.offset(),i=this.message.indexOf(t,e);return i>=0?(this.bumpTo(i),!0):(this.bumpTo(this.message.length),!1)}bumpTo(t){if(this.offset()>t)throw Error(`targetOffset ${t} must be greater than or equal to the current offset ${this.offset()}`);for(t=Math.min(t,this.message.length);;){let e=this.offset();if(e===t)break;if(e>t)throw Error(`targetOffset ${t} is at invalid UTF-16 code unit boundary`);if(this.bump(),this.isEOF())break}}bumpSpace(){for(var t;!this.isEOF()&&((t=this.char())>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t);)this.bump()}peek(){if(this.isEOF())return null;let t=this.char(),e=this.offset();return this.message.charCodeAt(e+(t>=65536?2:1))??null}};function t0(t){return t>=97&&t<=122||t>=65&&t<=90}function t1(t,e={}){let i=new tJ(t,e={shouldParseSkeletons:!0,requiresOtherClause:!0,...e}).parse();if(i.err){let t=SyntaxError(tH[i.err.kind]);throw t.location=i.err.location,t.originalMessage=i.err.message,t}return e?.captureLocation||function t(e){e.forEach(e=>{if(delete e.location,5===e.type||6===e.type)for(let i in e.options)delete e.options[i].location,t(e.options[i].value);else 2===e.type&&t_(e.style)||(3===e.type||4===e.type)&&tF(e.style)?delete e.style.location:8===e.type&&t(e.children)})}(i.val),i.val}let t2=((s={}).MISSING_VALUE="MISSING_VALUE",s.INVALID_VALUE="INVALID_VALUE",s.MISSING_INTL_API="MISSING_INTL_API",s);
9var t3=class extends Error{constructor(t,e,i){super(t),this.code=e,this.originalMessage=i}toString(){return`[formatjs Error: ${this.code}] ${this.message}`}},t4=class extends t3{constructor(t,e,i,r){super(`Invalid values for "${t}": "${e}". Options are "${Object.keys(i).join('", "')}"`,"INVALID_VALUE",r)}},t5=class extends t3{constructor(t,e,i){super(`Value for "${t}" must be of type ${e}`,"INVALID_VALUE",i)}},t8=class extends t3{constructor(t,e){super(`The intl string context variable "${t}" was not provided to the string "${e}"`,"MISSING_VALUE",e)}};function t9(t){return"function"==typeof t}function t6(t){return{create:()=>({get:e=>t[e],set(e,i){t[e]=i}})}}var t7=class t{constructor(e,i=t.defaultLocale,r,n){if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=t=>{let e=this.formatToParts(t);if(1===e.length)return e[0].value;let i=e.reduce((t,e)=>(t.length&&0===e.type&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t),[]);return i.length<=1?i[0]||"":i},this.formatToParts=t=>(function t(e,i,r,n,s,o,a){if(1===e.length&&0===e[0].type)return[{type:0,value:e[0].value}];let l=[];for(let h of e){if(0===h.type){l.push({type:0,value:h.value});continue}if(7===h.type){"number"==typeof o&&l.push({type:0,value:r.getNumberFormat(i).format(o)});continue}let{value:e}=h;if(!(s&&e in s))throw new t8(e,a);let u=s[e];if(1===h.type){u&&"string"!=typeof u&&"number"!=typeof u&&"bigint"!=typeof u||(u="string"==typeof u||"number"==typeof u||"bigint"==typeof u?String(u):""),l.push({type:+("string"!=typeof u),value:u});continue}if(3===h.type){let t="string"==typeof h.style?n.date[h.style]:tF(h.style)?h.style.parsedOptions:void 0;l.push({type:0,value:r.getDateTimeFormat(i,t).format(u)});continue}if(4===h.type){let t="string"==typeof h.style?n.time[h.style]:tF(h.style)?h.style.parsedOptions:n.time.medium;l.push({type:0,value:r.getDateTimeFormat(i,t).format(u)});continue}if(2===h.type){let t="string"==typeof h.style?n.number[h.style]:t_(h.style)?h.style.parsedOptions:void 0;if(t&&t.scale){let e=t.scale||1;if("bigint"==typeof u){if(!Number.isInteger(e))throw TypeError(`Cannot apply fractional scale ${e} to bigint value. Scale must be an integer when formatting bigint.`);u*=BigInt(e)}else u*=e}l.push({type:0,value:r.getNumberFormat(i,t).format(u)});continue}if(8===h.type){let{children:e,value:u}=h,c=s[u];if(!t9(c))throw new t5(u,"function",a);let d=c(t(e,i,r,n,s,o).map(t=>t.value));Array.isArray(d)||(d=[d]),l.push(...d.map(t=>({type:+("string"!=typeof t),value:t})))}if(5===h.type){let e=u,o=(Object.prototype.hasOwnProperty.call(h.options,e)?h.options[e]:void 0)||h.options.other;if(!o)throw new t4(h.value,u,Object.keys(h.options),a);l.push(...t(o.value,i,r,n,s));continue}if(6===h.type){let e=`=${u}`,o=Object.prototype.hasOwnProperty.call(h.options,e)?h.options[e]:void 0;if(!o){if(!Intl.PluralRules)throw new t3(`Intl.PluralRules is not available in this environment. 10Try polyfilling it using "@formatjs/intl-pluralrules" 11`,"MISSING_INTL_API",a);let t="bigint"==typeof u?Number(u):u,e=r.getPluralRules(i,{type:h.pluralType}).select(t-(h.offset||0));o=(Object.prototype.hasOwnProperty.call(h.options,e)?h.options[e]:void 0)||h.options.other}if(!o)throw new t4(h.value,u,Object.keys(h.options),a);let c="bigint"==typeof u?Number(u):u;l.push(...t(o.value,i,r,n,s,c-(h.offset||0)));continue}}return l.length<2?l:l.reduce((t,e)=>{let i=t[t.length-1];return i&&0===i.type&&0===e.type?i.value+=e.value:t.push(e),t},[])})(this.ast,this.locales,this.formatters,this.formats,t,void 0,this.message),this.resolvedOptions=()=>({locale:this.resolvedLocale?.toString()||Intl.NumberFormat.supportedLocalesOf(this.locales)[0]}),this.getAst=()=>this.ast,this.locales=i,this.resolvedLocale=t.resolveLocale(i),"string"==typeof e){if(this.message=e,!t.__parse)throw TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");const{...i}=n||{};this.ast=t.__parse(e,{...i,locale:this.resolvedLocale})}else this.ast=e;if(!Array.isArray(this.ast))throw TypeError("A message must be provided as a String or AST.");this.formats=function(t,e){return e?Object.keys(t).reduce((i,r)=>{var n,s;return i[r]=(n=t[r],(s=e[r])?{...n,...s,...Object.keys(n).reduce((t,e)=>(t[e]={...n[e],...s[e]},t),{})}:n),i},{...t}):t}(t.formats,r),this.formatters=n&&n.formatters||function(t={number:{},dateTime:{},pluralRules:{}}){return{getNumberFormat:tw((...t)=>new Intl.NumberFormat(...t),{cache:t6(t.number),strategy:tC.variadic}),getDateTimeFormat:tw((...t)=>new Intl.DateTimeFormat(...t),{cache:t6(t.dateTime),strategy:tC.variadic}),getPluralRules:tw((...t)=>new Intl.PluralRules(...t),{cache:t6(t.pluralRules),strategy:tC.variadic})}}(this.formatterCache)}static{this.memoizedDefaultLocale=null}static get defaultLocale(){return t.memoizedDefaultLocale||(t.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),t.memoizedDefaultLocale}static{this.resolveLocale=t=>{if(void 0===Intl.Locale)return;let e=Intl.NumberFormat.supportedLocalesOf(t);return new Intl.Locale(e.length>0?e[0]:"string"==typeof t?t:t[0])}}static{this.__parse=t1}static{this.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}}}}
11,et=class t extends Error{constructor(e,i,r){const n=r?r instanceof Error?r:Error(String(r)):void 0;super(`[@formatjs/intl Error ${e}] ${i} 12${n?` 13${n.message} 14${n.stack}`:""}`),this.code=e,"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,t)}},ee=class extends et{constructor(t,e){super("UNSUPPORTED_FORMATTER",t,e)}},ei=class extends et{constructor(t,e){super("INVALID_CONFIG",t,e)}},er=class extends et{constructor(t,e){super("MISSING_DATA",t,e)}},en=class extends et{constructor(t,e,i){super("FORMAT_ERROR",`${t} 15Locale: ${e} 16`,i),this.locale=e}},es=class extends en{constructor(t,e,i,r){super(`${t} 17MessageID: ${i?.id} 18Default Message: ${i?.defaultMessage} 19Description: ${i?.description} 20`,e,r),this.descriptor=i,this.locale=e}},eo=class extends et{constructor(t,e){super("MISSING_TRANSLATION",`Missing message: "${t.id}" for locale "${e}", using ${t.defaultMessage?`default message (${"string"==typeof t.defaultMessage?t.defaultMessage:t.defaultMessage.map(t=>t.value??JSON.stringify(t)).join()})`:"id"} as fallback.`),this.descriptor=t}};function ea(t,e,i={}){return e.reduce((e,r)=>(r in t?e[r]=t[r]:r in i&&(e[r]=i[r]),e),{})}let el={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:t=>{},onWarn:t=>{}};function eh(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function eu(t){return{create:()=>({get:e=>t[e],set(e,i){t[e]=i}})}}function ec(t,e,i,r){let n,s=t&&t[e];if(s&&(n=s[i]),n)return n;r(new ee(`No ${e} format named: ${i}`))}function ed(t,e){return Object.keys(t).reduce((i,r)=>(i[r]={timeZone:e,...t[r]},i),{})}function ep(t,e){return Object.keys({...t,...e}).reduce((i,r)=>(i[r]={...t[r],...e[r]},i),{})}function ef(t,e){if(!e)return t;let i=t7.formats;return{...i,...t,date:ep(ed(i.date,e),ed(t.date||{},e)),time:ep(ed(i.time,e),ed(t.time||{},e))}}let em=({locale:t,formats:e,messages:i,defaultLocale:r,defaultFormats:n,fallbackOnEmptyString:s,onError:o,timeZone:a,defaultRichTextElements:l},h,u={id:""},c,d)=>{let{id:p,defaultMessage:f}=u;!function(t,e,i=Error){if(!t)throw new i(e)}(!!p,"[@formatjs/intl] An `id` must be provided to format a message. You can either:\n1. Configure your build toolchain with [babel-plugin-formatjs](https://formatjs.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue");let m=String(p),g=i&&Object.prototype.hasOwnProperty.call(i,m)&&i[m];if(Array.isArray(g)&&1===g.length&&g[0].type===tO.literal)return g[0].value;if(c={...l,...c},e=ef(e,a),n=ef(n,a),!g){if(!1===s&&""===g)return g;if((!f||t&&t.toLowerCase()!==r.toLowerCase())&&o(new eo(u,t)),f)try{return h.getMessageFormat(f,r,n,d).format(c)}catch(e){return o(new es(`Error formatting default message for: "${m}", rendering default message verbatim`,t,u,e)),"string"==typeof f?f:m}return m}try{return h.getMessageFormat(g,t,e,{formatters:h,...d}).format(c)}catch(e){o(new es(`Error formatting message: "${m}", using ${f?"default message":"id"} as fallback.`,t,u,e))}if(f)try{return h.getMessageFormat(f,r,n,d).format(c)}catch(e){o(new es(`Error formatting the default message for: "${m}", rendering message verbatim`,t,u,e))}return"string"==typeof g?g:"string"==typeof f?f:m},eg=["formatMatcher","timeZone","hour12","weekday","era","year","month","day","hour","minute","second","timeZoneName","hourCycle","dateStyle","timeStyle","calendar","numberingSystem","fractionalSecondDigits"];function ey({locale:t,formats:e,onError:i,timeZone:r},n,s,o={}){let{format:a}=o,l=ea(o,eg,{...r&&{timeZone:r},...a&&ec(e,n,a,i)});return"time"!==n||l.hour||l.minute||l.second||l.timeStyle||l.dateStyle||(l={...l,hour:"numeric",minute:"numeric"}),s(t,l)}function ev(t,e,i,r={}){let n="string"==typeof i?new Date(i||0):i;try{return ey(t,"date",e,r).format(n)}catch(e){t.onError(new en("Error formatting date.",t.locale,e))}return String(n)}function eb(t,e,i,r={}){let n="string"==typeof i?new Date(i||0):i;try{return ey(t,"time",e,r).format(n)}catch(e){t.onError(new en("Error formatting time.",t.locale,e))}return String(n)}function ex(t,e,i,r,n={}){let s="string"==typeof i?new Date(i||0):i,o="string"==typeof r?new Date(r||0):r;try{return ey(t,"dateTimeRange",e,n).formatRange(s,o)}catch(e){t.onError(new en("Error formatting date time range.",t.locale,e))}return String(s)}function ew(t,e,i,r={}){let n="string"==typeof i?new Date(i||0):i;try{return ey(t,"date",e,r).formatToParts(n)}catch(e){t.onError(new en("Error formatting date.",t.locale,e))}return[]}function eS(t,e,i,r={}){let n="string"==typeof i?new Date(i||0):i;try{return ey(t,"time",e,r).formatToParts(n)}catch(e){t.onError(new en("Error formatting time.",t.locale,e))}return[]}let eT=["style","type","fallback","languageDisplay"];function eE({locale:t,onError:e}
20,i,r,n){Intl.DisplayNames||e(new t3(`Intl.DisplayNames is not available in this environment. 21Try polyfilling it using "@formatjs/intl-displaynames" 22`,t2.MISSING_INTL_API));let s=ea(n,eT);try{return i(t,s).of(r)}catch(i){e(new en("Error formatting display name.",t,i))}}let eA=["type","style"],eP=Date.now();function eC(t,e,i,r={}){let n=ek(t,e,i,r).reduce((t,e)=>{let i=e.value;return"string"!=typeof i?t.push(i):"string"==typeof t[t.length-1]?t[t.length-1]+=i:t.push(i),t},[]);return 1===n.length?n[0]:0===n.length?"":n}function ek({locale:t,onError:e},i,r,n={}){Intl.ListFormat||e(new t3(`Intl.ListFormat is not available in this environment. 23Try polyfilling it using "@formatjs/intl-listformat" 24`,t2.MISSING_INTL_API));let s=ea(n,eA);try{let e={},n=Array.from(r).map((t,i)=>{if("object"==typeof t&&null!==t){let r=`${eP}_${i}_${eP}`;return e[r]=t,r}return String(t)});return i(t,s).formatToParts(n).map(t=>"literal"===t.type?t:{...t,value:e[t.value]||t.value})}catch(i){e(new en("Error formatting list.",t,i))}return r}let eM=["type"];function eI({locale:t,onError:e},i,r,n={}){Intl.PluralRules||e(new t3(`Intl.PluralRules is not available in this environment. 25Try polyfilling it using "@formatjs/intl-pluralrules" 26`,t2.MISSING_INTL_API));let s=ea(n,eM);try{return i(t,s).select(r)}catch(i){e(new en("Error formatting plural.",t,i))}return"other"}let eB=["numeric","style"];function eR(t,e,i,r,n={}){r||(r="second"),Intl.RelativeTimeFormat||t.onError(new t3(`Intl.RelativeTimeFormat is not available in this environment. 27Try polyfilling it using "@formatjs/intl-relativetimeformat" 28`,t2.MISSING_INTL_API));try{return(function({locale:t,formats:e,onError:i},r,n={}){let{format:s}=n;return r(t,ea(n,eB,!!s&&ec(e,"relative",s,i)||{}))})(t,e,n).format(i,r)}catch(e){t.onError(new en("Error formatting relative time.",t.locale,e))}return String(i)}let eL=["style","currency","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","currencyDisplay","currencySign","notation","signDisplay","unit","unitDisplay","numberingSystem","trailingZeroDisplay","roundingPriority","roundingIncrement","roundingMode"];function ej({locale:t,formats:e,onError:i},r,n={}){let{format:s}=n;return r(t,ea(n,eL,s&&ec(e,"number",s,i)||{}))}function eD(t,e,i,r={}){try{return ej(t,e,r).format(i)}catch(e){t.onError(new en("Error formatting number.",t.locale,e))}return String(i)}function eN(t,e,i,r={}){try{return ej(t,e,r).formatToParts(i)}catch(e){t.onError(new en("Error formatting number.",t.locale,e))}return[]}function eH(t){!function(t,e,i=Error){if(!t)throw new i(e)}(t,"[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.")}let eO={...el,textComponent:v.Fragment},e_=t=>v.Children.toArray(t).map((t,e)=>v.isValidElement(t)?(0,y.jsx)(v.Fragment,{children:t},e):t);function eF(t,e){if(t===e)return!0;if(!t||!e)return!1;var i=Object.keys(t),r=Object.keys(e),n=i.length;if(r.length!==n)return!1;for(var s=0;s<n;s++){var o=i[s];if(t[o]!==e[o]||!Object.prototype.hasOwnProperty.call(e,o))return!1}return!0}let eV=v.createContext(null),e$=eV.Provider;function eG(){let t=v.useContext(eV);return eH(t),t}var ez=((o=ez||{}).formatDate="FormattedDate",o.formatTime="FormattedTime",o.formatNumber="FormattedNumber",o.formatList="FormattedList",o.formatDisplayName="FormattedDisplayName",o),eU=((a=eU||{}).formatDate="FormattedDateParts",a.formatTime="FormattedTimeParts",a.formatNumber="FormattedNumberParts",a.formatList="FormattedListParts",a);function eW(t){let e=e=>{let i=eG(),{value:r,children:n,...s}=e,o="string"==typeof r?new Date(r||0):r;return n("formatDate"===t?i.formatDateToParts(o,s):i.formatTimeToParts(o,s))};return e.displayName=eU[t],e}function eq(t){let e=e=>{let i=eG(),{value:r,children:n,...s}=e,o=i[t](r,s);return"function"==typeof n?n(o):(0,y.jsx)(i.textComponent||v.Fragment,{children:o})};return e.displayName=ez[t],e}function eX(t){return t?Object.keys(t).reduce((e,i)=>{let r=t[i];return e[i]=t9(r)?function(t){return r(e_(t))}:r,e},{}):t}let eK=(t,e,i,r,...n)=>{let s=em(t,e,i,eX(r),...n);return Array.isArray(s)?e_(s):s};function eY(t){let{formatMessage:e,textComponent:i=v.Fragment}=eG(),{id:r,description:n,defaultMessage:s,values:o,children:a,tagName:l=i,ignoreTag:h}=t,u=e({id:r,description:n,defaultMessage:s},o,{ignoreTag:h});return"function"==typeof a?a(Array.isArray(u)?u:[u]):l?(0,y.jsx)(l,{children:u}):(0,y.jsx)(y.Fragment,{children:u})}function eZ(t){var e;
28let i=v.useRef(eh()),r=v.useRef(void 0),n=v.useRef(void 0),s={};for(let e in t)void 0!==t[e]&&(s[e]=t[e]);let o={locale:(e={...eO,...s}).locale,timeZone:e.timeZone,fallbackOnEmptyString:e.fallbackOnEmptyString,formats:e.formats,textComponent:e.textComponent,messages:e.messages,defaultLocale:e.defaultLocale,defaultFormats:e.defaultFormats,onError:e.onError,onWarn:e.onWarn,wrapRichTextChunksInFragment:e.wrapRichTextChunksInFragment,defaultRichTextElements:e.defaultRichTextElements};return r.current&&eF(r.current,o)||(r.current=o,n.current=(({defaultRichTextElements:t,...e},i)=>{let r=eX(t),n=function(t,e){var i;let r=function(t=eh()){let e=Intl.RelativeTimeFormat,i=Intl.ListFormat,r=Intl.DisplayNames,n=tw((...t)=>new Intl.DateTimeFormat(...t),{cache:eu(t.dateTime),strategy:tC.variadic}),s=tw((...t)=>new Intl.NumberFormat(...t),{cache:eu(t.number),strategy:tC.variadic}),o=tw((...t)=>new Intl.PluralRules(...t),{cache:eu(t.pluralRules),strategy:tC.variadic});return{getDateTimeFormat:n,getNumberFormat:s,getMessageFormat:tw((t,e,i,r)=>
28new t7(t,e,i,{formatters:{getNumberFormat:s,getDateTimeFormat:n,getPluralRules:o},...r}),{cache:eu(t.message),strategy:tC.variadic}),getRelativeTimeFormat:tw((...t)=>new e(...t),{cache:eu(t.relativeTime),strategy:tC.variadic}),getPluralRules:o,getListFormat:tw((...t)=>new i(...t),{cache:eu(t.list),strategy:tC.variadic}),getDisplayNames:tw((...t)=>new r(...t),{cache:eu(t.displayNames),strategy:tC.variadic})}}(e),n={...el,...t},{locale:s,defaultLocale:o,onError:a}=n;return s?!Intl.NumberFormat.supportedLocalesOf(s).length&&a?a(new er(`Missing locale data for locale: "${s}" in Intl.NumberFormat. Using default locale: "${o}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):!Intl.DateTimeFormat.supportedLocalesOf(s).length&&a&&a(new er(`Missing locale data for locale: "${s}" in Intl.DateTimeFormat. Using default locale: "${o}" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details`)):(a&&a(new ei(`"locale" was not configured, using "${o}" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details`)),n.locale=n.defaultLocale||"en"),n.onWarn&&n.defaultRichTextElements&&"string"==typeof(i=n.messages||{})[Object.keys(i)[0]]&&n.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. 29Please consider using "@formatjs/cli" to pre-compile your messages for performance. 30For more details see https://formatjs.github.io/docs/getting-started/message-distribution`),{...n,formatters:r,formatNumber:eD.bind(null,n,r.getNumberFormat),formatNumberToParts:eN.bind(null,n,r.getNumberFormat),formatRelativeTime:eR.bind(null,n,r.getRelativeTimeFormat),formatDate:ev.bind(null,n,r.getDateTimeFormat),formatDateToParts:ew.bind(null,n,r.getDateTimeFormat),formatTime:eb.bind(null,n,r.getDateTimeFormat),formatDateTimeRange:ex.bind(null,n,r.getDateTimeFormat),formatTimeToParts:eS.bind(null,n,r.getDateTimeFormat),formatPlural:eI.bind(null,n,r.getPluralRules),formatMessage:em.bind(null,n,r),$t:em.bind(null,n,r),formatList:eC.bind(null,n,r.getListFormat),formatListToParts:ek.bind(null,n,r.getListFormat),formatDisplayName:eE.bind(null,n,r.getDisplayNames)}}({...eO,...e,defaultRichTextElements:r},i),s={locale:n.locale,timeZone:n.timeZone,fallbackOnEmptyString:n.fallbackOnEmptyString,formats:n.formats,defaultLocale:n.defaultLocale,defaultFormats:n.defaultFormats,messages:n.messages,onError:n.onError,defaultRichTextElements:r};return{...n,formatMessage:eK.bind(null,s,n.formatters),$t:eK.bind(null,s,n.formatters)}})(o,i.current)),eH(n.current),(0,y.jsx)(e$,{value:n.current,children:t.children})}eY.displayName="FormattedMessage",v.memo(eY,function(t,e){let{values:i,...r}=t,{values:n,...s}=e;return eF(n,i)&&eF(r,s)}).displayName="MemoizedFormattedMessage",eZ.displayName="IntlProvider";eq("formatDate"),eq("formatTime"),eq("formatNumber"),eq("formatList"),eq("formatDisplayName"),eW("formatDate"),eW("formatTime"),i(2272).env.PRISMIC_REPOSITORY_LOCALE;let eQ={is:{title:"Titill",partnerLogin:"Partner login"},en:{title:"Title",partnerLogin:"Partner login"}};var eJ=i(6447),e0=i.n(eJ),e1=i(6140),e2=i.n(e1),e3=i(3909),e4=i.n(e3),e5=i(742),e8=i.n(e5),e9=i(5406),e6=i.n(e9),e7=i(5883),it=i.n(e7),ie=i(4440),ii=i.n(ie),ir=i(6800),is=i.n(ir),io=i(3116),ia=i.n(io),il=i(517),ih=i.n(il);let iu=({layout:t,preview:e,children:i,headerTheme:r,fontTheme:n,page:s})=>{let o,a="en-us"===(o=((0,w.useRouter)().locale??"").toLowerCase())||"en"===o?"en":"is";(0,v.useEffect)(()=>{let t=document.createElement("div");t.style.cssText="position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll;",document.body.appendChild(t);let e=t.getBoundingClientRect().width-t.clientWidth;document.body.removeChild(t),document.documentElement.style.setProperty("--scrollbar-width",e+"px")},[]);let l=(t=>{switch(t){case"jost":default:return e0();case"poppins":return e2();case"lato":return e4();case"merriweather":return e8();case"montserrat":return e6();case"asap-condensed":return it();case"nunito":return ii();case"roboto":return is();case"aleo":return ia();case"mulish":return ih()}})(n);return(0,y.jsx)(eZ,{locale:a,messages:eQ[a],defaultLocale:"is",onError:()=>!1,children:(0,y.jsxs)(ic.Layout,{children:[(0,y.jsx)(tx,{layout:t,headerTheme:r,className:l.className,page:s}),(0,y.jsx)("main",{id:"main",className:l.className,children:i}),(0,y.jsx)(j,{layout:t,className:l.className}),e&&(0,y.jsx)(S,{})]})})},ic={Layout:b.Ay.div.withConfig({componentId:"sc-211a8947-0"})(["min-height:100vh;"])};var id=i(7493);let ip=(0,b.DU)([":root{--color-primary:",";--color-secondary:",";--color-background:"," --color-font:",";--color-black:",";--color-white:",";--color-red:",";--color-grid-overlay:",";--color-header:",";--grid-column-count:",";--grid-column-width:",";--gutter:",";--page-width:",";--container-gutter-min:",";--container-gutter-max:",";--container-gutter:",";--section-padding-mobile:",";--section-padding:",";--font-size:",";--font-size-min:",";--font-size-small:",";--font-size-small-min:",";--default-ease:",";--smooth-ease:",";--ease-out-cubic:",";--default-duration:",";--smooth-duration:",";--material-shadow:",";--zindex-header:",";--zindex-mobile-menu:",";--header-height:",";}body{font-weight:400;background-color:",";color:",";}html{"," &.nav-open{","}body{padding:0;margin:0;line-height:",";font-weight:400;}}a{text-decoration:none;color:inherit;}*{box-sizing:border-box;}"],x.Ay.colors.primary,x.Ay.colors.secondary,x.Ay.colors.background,x.Ay.colors.font,x.Ay.colors.black,x.Ay.colors.white,x.Ay.colors.red,x.Ay.colors.gridOverlay,x.Ay.colors.header,x.Ay.grid.columnCount,x.Ay.grid.columnWidth,x.Ay.grid.gutter,x.Ay.container.pageWidth,x.Ay.container.containerGutterMin,x.Ay.container.containerGutterMax,x.Ay.container.containerGutter,x.Ay.section.paddingMobile,x.Ay.section.padding,x.Ay.fontSizes.default,x.Ay.fontSizes.defaultMin,x.Ay.fontSizes.small,x.Ay.fontSizes.smallMin,x.Ay.animations.defaultEase,x.Ay.animations.smoothEase,x.Ay.animations.easeOutCubic,x.Ay.animations.defaultDuration,x.Ay.animations.smoothDuration,x.Ay.shadows.material,x.Ay.zIndex.header,x.Ay.zIndex.mobileMenu,x.Ay.misc.headerHeight,x.Ay.colors.background,x.Ay.colors.font,k.vE.responsiveFont(x.Ay.fontSizes.defaultMin,x.Ay.fontSizes.default),k.e5,x.Ay.fonts.lineHeight),im=function({Component:t,pageProps:e}){let i=e.layout,r=e.page,n=e.headerTheme??"black",s=i?.font_theme??"jost";return(0,y.jsxs)(y.Fragment,{children:[(0,y.jsx)(ip,{}),(0,y.jsx)(id.c,{children:(0,y.jsx)(b.NP,{theme:x.Ay,children:(0,y.jsx)(iu,{layout:i,preview:e.preview??!1,headerTheme:n,fontTheme:s,page:r,children:(0,y.jsx)(t,{...e})})})}),!1]})}},7738:(t,e,i)=>{"use strict";i.d(e,{v:()=>n});var r=i(4632);class n{constructor(){this.subscriptions=[]}add(t){return(0,r.Kq)(this.subscriptions,t),()=>(0,r.Ai)(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},7965:(t,e,i)=>{"use strict";i.d(e,{OQ:()=>h,bt:()=>a});var r=i(7738),n=i(6703),s=i(5962),o=i(6312);let a={current:void 0};class l{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=s.k.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=s.k.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new r.v);let i=this.events[t].add(e);return"change"===t?()=>{i(),o.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=s.k.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return(0,n.f)(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),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 h(t,e){return new l(t,e)}},8050:(t,e,i)=>{"use strict";i.d(e,{m:()=>
30o});var r=i(5383);i(4343);var n=i(1828),s=i(9193);let o=({fluid:t,debug:e,className:i,children:n})=>(0,r.jsx)(a.Container,{fluid:t,debug:e,className:i,children:n}),a={Container:n.Ay.div.withConfig({componentId:"sc-8924b0fa-0"})(["border:",";",""],({debug:t})=>t?"1px solid red":"none",t=>s.vE.container(t.fluid))}},8126:(t,e,i)=>{"use strict";i.d(e,{Z:()=>s});var r=i(4970),n=i(7363);function s(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let o=(0,r.q)(0,e,s);t.push((0,n.k)(i,1,o))}}(e,t.length-1),e}},8243:(t,e,i)=>{"use strict";i.d(e,{xQ:()=>s});var r=i(4343),n=i(964);function s(t=!0){let e=(0,r.useContext)(n.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:o,register:a}=e,l=(0,r.useId)();(0,r.useEffect)(()=>{if(t)return a(l)},[t]);let h=(0,r.useCallback)(()=>t&&o&&o(l),[l,o,t]);return!i&&o?[!1,h]:[!0]}},8265:(t,e,i)=>{"use strict";i.d(e,{X:()=>n});let r=t=>null!==t;function n(t,{repeat:e,repeatType:i="loop"},s,o=1){let a=t.filter(r),l=o<0||e&&"loop"!==i&&e%2==1?0:a.length-1;return l&&void 0!==s?s:a[l]}},8559:(t,e,i)=>{"use strict";i.d(e,{P:()=>nh});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],n=new Set([...r,"pathRotation"]);var s,o=i(9051),a=i(1461),l=i(3813);let h=new Set(["brightness","contrast","saturate","opacity"]);function u(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(l.S)||[];if(!r)return t;let n=i.replace(r,""),s=+!!h.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let c=/\b([a-z-]*)\(.*?\)/gu,d={...a.f,getAnimatableNone:t=>{let e=t.match(c);return e?e.map(u).join(" "):t}},p={...a.f,getAnimatableNone:t=>{let e=a.f.parse(t);return a.f.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}};var f=i(2028);let m={...f.ai,transform:Math.round};var g=i(2585);let y={rotate:g.uj,pathRotation:g.uj,rotateX:g.uj,rotateY:g.uj,rotateZ:g.uj,scale:f.hs,scaleX:f.hs,scaleY:f.hs,scaleZ:f.hs,skew:g.uj,skewX:g.uj,skewY:g.uj,distance:g.px,translateX:g.px,translateY:g.px,translateZ:g.px,x:g.px,y:g.px,z:g.px,perspective:g.px,transformPerspective:g.px,opacity:f.X4,originX:g.gQ,originY:g.gQ,originZ:g.px},v={borderWidth:g.px,borderTopWidth:g.px,borderRightWidth:g.px,borderBottomWidth:g.px,borderLeftWidth:g.px,borderRadius:g.px,borderTopLeftRadius:g.px,borderTopRightRadius:g.px,borderBottomRightRadius:g.px,borderBottomLeftRadius:g.px,width:g.px,maxWidth:g.px,height:g.px,maxHeight:g.px,top:g.px,right:g.px,bottom:g.px,left:g.px,inset:g.px,insetBlock:g.px,insetBlockStart:g.px,insetBlockEnd:g.px,insetInline:g.px,insetInlineStart:g.px,insetInlineEnd:g.px,padding:g.px,paddingTop:g.px,paddingRight:g.px,paddingBottom:g.px,paddingLeft:g.px,paddingBlock:g.px,paddingBlockStart:g.px,paddingBlockEnd:g.px,paddingInline:g.px,paddingInlineStart:g.px,paddingInlineEnd:g.px,margin:g.px,marginTop:g.px,marginRight:g.px,marginBottom:g.px,marginLeft:g.px,marginBlock:g.px,marginBlockStart:g.px,marginBlockEnd:g.px,marginInline:g.px,marginInlineStart:g.px,marginInlineEnd:g.px,fontSize:g.px,backgroundPositionX:g.px,backgroundPositionY:g.px,...y,zIndex:m,fillOpacity:f.X4,strokeOpacity:f.X4,numOctaves:m},b={...v,color:o.y,backgroundColor:o.y,outlineColor:o.y,fill:o.y,stroke:o.y,borderColor:o.y,borderTopColor:o.y,borderRightColor:o.y,borderBottomColor:o.y,borderLeftColor:o.y,filter:d,WebkitFilter:d,mask:p,WebkitMask:p},x=t=>b[t],w=()=>({translate:0,scale:1,origin:0,originPoint:0}),S=()=>({x:w(),y:w()}),T=()=>({min:0,max:0}),E=()=>({x:T(),y:T()});var A=i(6536);let P=new Set(["width","height","top","left","right","bottom",...r]),C=t=>e=>e.test(t),k=[f.ai,g.px,g.KN,g.uj,g.vw,g.vh,{test:t=>"auto"===t,parse:t=>t}],M=t=>k.find(C(t));var I=i(4598),B=i(2413);let R=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,L=t=>180*t/Math.PI,j=t=>N(L(Math.atan2(t[1],t[0]))),D={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:j,rotateZ:j,skewX:t=>L(Math.atan(t[1])),skewY:t=>L(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},N=t=>((t%=360)<0&&(t+=360),t),H=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),O=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),_={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:H,scaleY:O,scale:t=>(H(t)+O(t))/2,rotateX:t=>N(L(Math.atan2(t[6],t[5]))),rotateY:t=>N(L(Math.atan2(-t[2],t[0]))),rotateZ:j,rotate:j,skewX:t=>L(Math.atan(t[4])),skewY:t=>L(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function F(t){return+!!t.includes("scale")}function V(t,e){let i,r;if(!t||"none"===t)return F(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=_,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=D,r=e}if(!r)return F(e);let s=i[e],o=r[1].split(",").map($);return"function"==typeof s?s(o):o[s]}function $(t){return parseFloat(t.trim())}let G=t=>t===f.ai||t===g.px,z=new Set(["x","y","z"]),U=r.filter(t=>!z.has(t)),W={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:r})=>{let n=t.max-t.min;return"border-box"===r?n:n-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:r})=>{let n=t.max-t.min;return"border-box"===r?n:n-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>V(e,"x"),y:(t,{transform:e})=>V(e,"y")};W.translateX=W.x,W.translateY=W.y;var q=i(6312);let X=new Set,K=!1,Y=!1,Z=!1;function Q(){if(Y){let t=Array.from(X).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>
30{let e,r=(e=[],U.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e);r.length&&(i.set(t,r),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}Y=!1,K=!1,X.forEach(t=>t.complete(Z)),X.clear()}function J(){X.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Y=!0)})}class tt{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(X.add(this),K||(K=!0,q.Gt.read(J),q.Gt.resolveKeyframes(Q))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),X.delete(this)}cancel(){"scheduled"===this.state&&(X.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let te=new Set([d,p]);function ti(t,e){let i=x(t);return te.has(i)||(i=a.f),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tr=new Set(["auto","none","0"]);class tn extends tt{constructor(t,e,i,r,n){super(t,e,i,r,n,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let r=t[i];if("string"==typeof r&&(r=r.trim(),(0,B.pG)(r))){let n=function t(e,i,r=1){(0,I.V)(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(t){let e=R.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return(0,B.pG)(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!P.has(i)||2!==t.length)return;let[r,n]=t,s=M(r),o=M(n);if((0,B.rm)(r)!==(0,B.rm)(n)&&W[i]){this.needsMeasurement=!0;return}if(s!==o)if(G(s)&&G(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else W[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!tr.has(e)&&(0,a.V)(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=ti(i,r)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=W[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=W[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
30h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}var ts=i(1499),to=i(7738),ta=i(9847);function tl(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}var th=i(7145),tu=i(8265),tc=i(641),td=i(9821);let tp=(0,i(3899).J)(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing");var tf=i(6204);let tm=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,tg={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tm([0,.65,.55,1]),circOut:tm([.55,0,1,.45]),backIn:tm([.31,.01,.66,-.59]),backOut:tm([.33,1.53,.69,.99])};function ty(t){return"function"==typeof t&&"applyToOptions"in t}class tv extends tc.q{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,(0,I.V)("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return ty(t)&&tp()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},h){let u={[e]:i};l&&(u.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?tp()?(0,tf.K)(e,i):"ease-out":(0,td.D)(e)?tm(e):Array.isArray(e)?e.map(e=>t(e,i)||tg.easeOut):tg[e]}(a,n);Array.isArray(c)&&(u.easing=c);let d={delay:r,duration:n,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};return h&&(d.pseudoElement=h),t.animate(u,d)}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=(0,tu.X)(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tl(e,i,t),this.animation.cancel()}a?.(),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(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){let t=this.animation.effect?.getComputedTiming?.().duration||0;return(0,ts.X)(Number(t))}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+(0,ts.X)(t)}get time(){return(0,ts.X)(Number(this.animation.currentTime)||0)}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=(0,ts.f)(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&(0,th.J)())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),ta.l):r(this)}}let tb=new Set(["opacity","clipPath","filter","transform"]);var tx=i(8820),tw=i(5962),tS=i(7965);let tT=[...k,o.y,a.f],tE=new WeakMap;function tA(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function tP(t){return"string"==typeof t||Array.isArray(t)}let tC=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tk=["initial",...tC];function tM(t){return tA(t.animate)||tk.some(e=>tP(t[e]))}function tI(t){return!!(tM(t)||t.variants)}let tB={current:null},tR={current:!1},tL="u">typeof window;function tj(t){let e=[{},{}];
30return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function tD(t,e,i,r){if("function"==typeof e){let[n,s]=tj(r);e=e(void 0!==i?i:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=tj(r);e=e(void 0!==i?i:t.custom,n,s)}return e}let tN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],tH={};class tO{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,skipAnimations:n,blockInitialAnimation:s,visualState:o},a={}){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=tt,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 t=tw.k.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,q.Gt.render(this.render,!1,!0))};const{latestValues:l,renderState:h}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=h,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=n,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=tM(e),this.isVariantNode=tI(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in c){const e=c[t];void 0!==l[t]&&(0,A.S)(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,tE.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tR.current||function(){if(tR.current=!0,tL)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tB.current=t.matches;t.addEventListener("change",e),e()}else tB.current=!1}(),this.shouldReduceMotion=tB.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),(0,q.WG)(this.notifyUpdate),(0,q.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&tb.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:n,ease:s,duration:o}=e.accelerate,a=new tv({element:this.current,name:t,keyframes:r,times:n,ease:s,duration:(0,ts.f)(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let r=n.has(t);r&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&q.Gt.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in tH){let e=tH[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];
30e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):E()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<tN.length;e++){let i=tN[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if((0,A.S)(n))t.addValue(r,n);else if((0,A.S)(s))t.addValue(r,(0,tS.OQ)(n,{owner:t}));else if(s!==n)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,(0,tS.OQ)(void 0!==e?e:n,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]: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(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=(0,tS.OQ)(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let r,n;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let r;r=i,!tT.find(C(r))&&a.f.test(e)&&(i=ti(t,e))}this.setBaseTarget(t,(0,A.S)(i)?i.get():i)}return(0,A.S)(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let r=tD(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||(0,A.S)(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new to.v),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){tx.k.render(this.render)}}class t_ extends tO{constructor(){super(...arguments),this.KeyframeResolver=tn}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;(0,A.S)(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function tF(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let tV=(t,e)=>e&&"number"==typeof t?e.transform(t):t,t$={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},tG=r.length;function tz(t,e,i){let{style:s,vars:o,transformOrigin:a}=t,l=!1,h=!1;for(let t in e){let i=e[t];if(n.has(t)){l=!0;continue}if((0,B.j4)(t)){o[t]=i;continue}{let e=tV(i,v[t]);t.startsWith("origin")?(h=!0,a[t]=e):s[t]=e}}
30if(!e.transform&&(l||i?s.transform=function(t,e,i){let n="",s=!0;for(let o=0;o<tG;o++){let a=r[o],l=t[a];if(void 0===l)continue;let h=!0;if("number"==typeof l)h=l===+!!a.startsWith("scale");else{let t=parseFloat(l);h=a.startsWith("scale")?1===t:0===t}if(!h||i){let t=tV(l,v[a]);if(!h){s=!1;let e=t$[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}let o=t.pathRotation;return o&&(s=!1,n+=`rotate(${tV(o,v.pathRotation)}) `),n=n.trim(),i?n=i(e,s?"":n):s&&(n="none"),n}(e,t.transform,i):s.transform&&(s.transform="none")),h){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;s.transformOrigin=`${t} ${e} ${i}`}}let tU={offset:"stroke-dashoffset",array:"stroke-dasharray"},tW={offset:"strokeDashoffset",array:"strokeDasharray"},tq=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function tX(t,{attrX:e,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,h,u){if(tz(t,a,h),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;for(let t of(c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=u?.transformBox??"fill-box",delete c.transformBox),tq))void 0!==c[t]&&(d[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==r&&(c.scale=r),void 0!==n&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?tU:tW;t[s.offset]=`${-r}`,t[s.array]=`${e} ${i}`}(c,n,s,o,!1)}let tK=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"]),tY=t=>"string"==typeof t&&"svg"===t.toLowerCase();function tZ(t,{style:e,vars:i},r,n){let s,o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}let tQ=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];function tJ(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let t0={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!g.px.test(t))return t;else t=parseFloat(t);let i=tJ(t,e.target.x),r=tJ(t,e.target.y);return`${i}% ${r}%`}};var t1=i(7363);let t2={borderRadius:{...t0,applyTo:[...tQ]},borderTopLeftRadius:t0,borderTopRightRadius:t0,borderBottomLeftRadius:t0,borderBottomRightRadius:t0,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=a.f.parse(t);if(r.length>5)return t;let n=a.f.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,l=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=l;let h=(0,t1.k)(o,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=h),"number"==typeof r[3+s]&&(r[3+s]/=h),n(r)}}};function t3(t,{layout:e,layoutId:i}){return n.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!t2[t]||"opacity"===t)}function t4(t,e,i){let r=t.style,n=e?.style,s={};if(!r)return s;for(let e in r)((0,A.S)(r[e])||n&&(0,A.S)(n[e])||t3(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=r[e]);return s}function t5(t,e,i){let n=t4(t,e,i);for(let i in t)((0,A.S)(t[i])||(0,A.S)(e[i]))&&(n[-1!==r.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class t8 extends t_{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=E}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(n.has(e)){let t=x(e);return t&&t.default||0}return e=tK.has(e)?e:tF(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return t5(t,e,i)}build(t,e,i){tX(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in tZ(t,e,void 0,r),e.attrs)t.setAttribute(tK.has(i)?i:tF(i),e.attrs[i])}mount(t){this.isSVGTag=tY(t.tagName),super.mount(t)}}function t9({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function t6(t){return void 0===t||1===t}function t7({scale:t,scaleX:e,scaleY:i}){return!t6(t)||!t6(e)||!t6(i)}function et(t){return t7(t)||ee(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ee(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function ei(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}
30function er(t,e=0,i=1,r,n){t.min=ei(t.min,e,i,r,n),t.max=ei(t.max,e,i,r,n)}function en(t,{x:e,y:i}){er(t.x,e.translate,e.scale,e.originPoint),er(t.y,i.translate,i.scale,i.originPoint)}function es(t,e){t.min+=e,t.max+=e}function eo(t,e,i,r,n=.5){let s=(0,t1.k)(t.min,t.max,n);er(t,e,i,s,r)}function ea(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function el(t,e,i){let r=i??t;eo(t.x,ea(e.x,r.x),e.scaleX,e.scale,e.originX),eo(t.y,ea(e.y,r.y),e.scaleY,e.scale,e.originY)}function eh(t,e){return t9(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}class eu extends t_{constructor(){super(...arguments),this.type="html",this.renderInstance=tZ}readValueFromInstance(t,e){if(n.has(e))return this.projection?.isProjecting?F(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return V(i,e)})(t,e);{let i=window.getComputedStyle(t),r=((0,B.j4)(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return eh(t,e)}build(t,e,i){tz(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return t4(t,e,i)}}var ec=i(4343);let ed=["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 ep(t){if("string"!=typeof t||t.includes("-"));else if(ed.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var ef=i(5383),em=i(5430);let eg=(0,ec.createContext)({strict:!1});var ey=i(7473);let ev=(0,ec.createContext)({});function eb(t){return Array.isArray(t)?t.join(" "):t}let ex=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ew(t,e,i){for(let r in e)(0,A.S)(e[r])||t3(r,i)||(t[r]=e[r])}let eS=()=>({...ex(),attrs:{}}),eT=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 eE(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eT.has(t)}let eA=t=>!eE(t);try{s=require("@emotion/is-prop-valid").default,"function"==typeof s&&(eA=t=>t.startsWith("on")?!eE(t):s(t))}catch{}function eP(t){return(0,A.S)(t)?t.get():t}var eC=i(964),ek=i(5018);let eM=t=>(e,i)=>{let r=(0,ec.useContext)(ev),n=(0,ec.useContext)(eC.t),s=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,r,n){return{latestValues:function(t,e,i,r){let n={},s=r(t,{});for(let t in s)n[t]=eP(s[t]);let{initial:o,animate:a}=t,l=tM(t),h=tI(t);e&&h&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let u=!!i&&!1===i.initial,c=(u=u||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!tA(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let r=tD(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=u?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(i,r,n,t),renderState:e()}})(t,e,r,n);return i?s():(0,ek.M)(s)},eI=eM({scrapeMotionValuesFromProps:t4,createRenderState:ex}),eB=eM({scrapeMotionValuesFromProps:t5,createRenderState:eS}),eR={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"]},eL=!1;function ej(){return!function(){if(eL)return;let t={};for(let e in eR)t[e]={isEnabled:t=>eR[e].some(e=>!!t[e])};tH=t,eL=!0}(),tH}let eD=Symbol.for("motionComponentSymbol"),eN="data-"+tF("framerAppearId"),eH=(0,ec.createContext)({});function eO(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var e_=i(1242);function eF(t,{forwardMotionProps:e=!1,type:i}={},r,n){r&&function(t){let e=ej();for(let i in t)e[i]={...e[i],...t[i]};tH=e}(r);let s=i?"svg"===i:ep(t),o=s?eB:eI;function a(i,r){var a;let l,h,u,c={...(0,ec.useContext)(ey.Q),...i,layoutId:function({layoutId:t}){let e=(0,ec.useContext)(em.L).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:d}=c,p=function(t){let{initial:e,animate:i}=function(t,e){if(tM(t)){let{initial:e,animate:i}=t;return{initial:!1===e||tP(e)?e:void 0,animate:tP(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,ec.useContext)(ev));return(0,ec.useMemo)(()=>({initial:e,animate:i}),[eb(e),eb(i)])}(i),f=o(i,d);if(!d&&"u">typeof window){(0,ec.useContext)(eg).strict;let e=function(t){let{drag:e,layout:i}=ej();if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
30(c);l=e.MeasureLayout,p.visualElement=function(t,e,i,r,n,s){let{visualElement:o}=(0,ec.useContext)(ev),a=(0,ec.useContext)(eg),l=(0,ec.useContext)(eC.t),h=(0,ec.useContext)(ey.Q),u=h.reducedMotion,c=h.skipAnimations,d=(0,ec.useRef)(null),p=(0,ec.useRef)(!1);r=r||a.renderer,!d.current&&r&&(d.current=r(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,skipAnimations:c,isSVG:s}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));let f=d.current,m=(0,ec.useContext)(eH);f&&!f.projection&&n&&("html"===f.type||"svg"===f.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:h,layoutAnchor:u,layoutCrossfade:c}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&eO(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:h,layoutAnchor:u})}(d.current,i,n,m);let g=(0,ec.useRef)(!1);(0,ec.useInsertionEffect)(()=>{f&&g.current&&f.update(i,l)});let y=i[eN],v=(0,ec.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return(0,e_.E)(()=>{p.current=!0,f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),(0,ec.useEffect)(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),f.enteringChildren=void 0)}),f}(t,f,c,n,e.ProjectionNode,s)}return(0,ef.jsxs)(ev.Provider,{value:p,children:[l&&p.visualElement?(0,ef.jsx)(l,{visualElement:p.visualElement,...c}):null,function(t,e,i,{latestValues:r},n,s=!1,o){let a=(o??ep(t)?function(t,e,i,r){let n=(0,ec.useMemo)(()=>{let i=eS();return tX(i,e,tY(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};ew(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,r,n={},s=(i=t.style||{},ew(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,ec.useMemo)(()=>{let i=ex();return tz(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n})(e,r,n,t),l=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&!(0,A.S)(t[n])&&(eA(n)||!0===i&&eE(n)||!e&&!eE(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(e,"string"==typeof t,s),h=t!==ec.Fragment?{...l,...a,ref:i}
30:{},{children:u}=e,c=(0,ec.useMemo)(()=>(0,A.S)(u)?u.get():u,[u]);return(0,ec.createElement)(t,{...h,children:c})}(t,i,(a=p.visualElement,h=(0,ec.useRef)(r),(0,ec.useInsertionEffect)(()=>{h.current=r}),u=(0,ec.useRef)(null),(0,ec.useCallback)(t=>{t&&f.onMount?.(t),a&&(t?a.mount(t):a.unmount());let e=h.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(u.current=i)}else u.current?(u.current(),u.current=null):e(t);else e&&(e.current=t)},[a])),f,d,e,s)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,ec.forwardRef)(a);return l[eD]=t,l}class eV{constructor(t){this.isMounted=!1,this.node=t}update(){}}function e$(t,e,i){let r=t.getProps();return tD(r,e,void 0!==i?i:r.custom,t)}function eG(t,e){if(t?.inherit&&e){let{inherit:i,...r}=t;return{...e,...r}}return t}function ez(t,e){let i=t?.[e]??t?.default??t;return i!==t?eG(i,t):i}let eU=t=>Array.isArray(t);var eW=i(2175);function eq(t,e){let i=t.getValue("willChange");if((0,A.S)(i)&&i.add)return i.add(e);if(!i&&eW.W.WillChange){let i=new eW.W.WillChange("auto");t.addValue("willChange",i),i.add(e)}}var eX=i(2218),eK=i(9238),eY=i(4611),eZ=i(5217),eQ=i(9184),eJ=i(1156);let e0={anticipate:eZ.b,backInOut:eQ.ZZ,circInOut:eJ.tn};class e1 extends tv{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in e0&&(t.ease=e0[t.ease])}(t),(0,eY.E)(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:r,element:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new eX.s({...s,autoplay:!1}),a=Math.max(10,tw.k.now()-this.startTime),l=(0,eK.q)(0,10,a-10),h=o.sample(a).value,{name:u}=this.options;n&&u&&tl(n,u,h),e.setWithVelocity(o.sample(Math.max(0,a-l)).value,h,l),o.stop()}}let e2=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(a.f.test(t)||"0"===t)&&!t.startsWith("url("));function e3(t){t.duration=0,t.type="keyframes"}var e4=i(2573);let e5=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,e8=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),e9=(0,e4.p)(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class e6 extends tc.q{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:h,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tw.k.now();const c={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:h,...u},d=h?.KeyframeResolver||tt;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,h),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){let n;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:h,onUpdate:u}=i;this.resolvedAt=tw.k.now();let c=!0;!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=e2(n,e),a=e2(s,e);return(0,I.$)(o===a,`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||ty(i))&&r)}(t,s,o,a)&&(c=!1,(eW.W.instantAnimations||!l)&&u?.((0,tu.X)(t,i,e)),t[0]=t[t.length-1],e3(i),i.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=c&&!h&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:h}=e.owner.getProps();return e9()&&i&&(tb.has(i)||e8.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&e5.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!h)&&!l&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(d),f=d.motionValue?.owner?.current;if(p)try{n=new e1({...d,element:f})}catch{n=new eX.s(d)}else n=new eX.s(d);n.finished.then(()=>{this.notifyFinished()}).catch(ta.l),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(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Z=!0,J(),Q(),Z=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let e7={type:"spring",stiffness:500,damping:25,restSpeed:10},it={type:"keyframes",duration:.8},ie={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ii=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),ir=(t,e,i,r={},s,o)=>a=>{let l=ez(r,t)||{},h=l.delay||r.delay||0,{elapsed:u=0}=r;u-=(0,ts.f)(h);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-u,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:s};!function(t){for(let e in t)if(!ii.has(e))return!0;return!1}(l)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?it:n.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:e7:ie)(t,c)),c.duration&&(c.duration=(0,ts.f)(c.duration)),c.repeatDelay&&(c.repeatDelay=(0,ts.f)(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(e3(c),0===c.delay&&(d=!0)),(eW.W.instantAnimations||eW.W.ski
30pAnimations||s?.shouldSkipAnimations||l.skipAnimations)&&(d=!0,e3(c),c.delay=0),c.allowFlatten=!l.type&&!l.ease,d&&!o&&void 0!==e.get()){let t=(0,tu.X)(c.keyframes,l);if(void 0!==t)return void q.Gt.update(()=>{c.onUpdate(t),c.onComplete()})}return l.isSync?new eX.s(c):new e6(c)};function is(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?eG(s,l):l;let h=s?.reduceMotion,u=s?.skipAnimations;r&&(s=r);let c=[],d=n&&t.animationState&&t.animationState.getState()[n],p=s?.path;for(let e in p&&p.animateVisualElement(t,a,s,i,c),a){let r=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||d&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(d,e))continue;let o={delay:i,...ez(s||{},e)};u&&(o.skipAnimations=!0);let l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(n)&&n===l&&!o.velocity){q.Gt.update(()=>r.set(n));continue}let p=!1;if(window.MotionHandoffAnimation){let i=t.props[eN];if(i){let t=window.MotionHandoffAnimation(i,e,q.Gt);null!==t&&(o.startTime=t,p=!0)}}eq(t,e);let f=h??t.shouldReduceMotion;r.start(ir(e,r,n,f&&P.has(e)?{type:!1}:o,t,p));let m=r.animation;m&&c.push(m)}if(o){let e=()=>q.Gt.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=e$(t,e)||{};for(let e in n={...n,...i}){var s;let i=eU(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,(0,tS.OQ)(i))}}(t,o)});c.length?Promise.all(c).then(e):e()}return c}function io(t,e,i,r=0,n=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}function ia(t,e,i={}){let r=e$(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(is(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;return function(t,e,i=0,r=0,n=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(ia(l,e,{...o,delay:i+("function"==typeof r?0:r)+io(t.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}let il=tk.length;function ih(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}let iu=[...tC].reverse(),ic=tC.length;function id(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ip(){return{animate:id(!0),whileInView:id(),whileHover:id(),whileTap:id(),whileDrag:id(),whileFocus:id(),exit:id()}}class im extends eV{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>ia(t,e,i)));else if("string"==typeof e)r=ia(t,e,i);else{let n="function"==typeof e?e$(t,e,i.custom):e;r=Promise.all(is(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=ip(),r=!0,n=!1,s=e=>(i,r)=>{let n=e$(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...e}}return i};function o(o){let{props:a}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<il;t++){let r=tk[t],n=e.props[r];(tP(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},h=[],u=new Set,c={},d=1/0;for(let e=0;e<ic;e++){var p,f;let m=iu[e],g=i[m],y=void 0!==a[m]?a[m]:l[m],v=tP(y),b=m===o?g.isActive:null;!1===b&&(d=e);let x=y===l[m]&&y!==a[m]&&v;if(x&&(r||n)&&t.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...c},!g.isActive&&null===b||!y&&!g.prevProp||tA(y)||"boolean"==typeof y)continue;if("exit"===m&&g.isActive&&!0!==b){g.prevResolvedValues&&(c={...c,...g.prevResolvedValues});continue}let w=(p=g.prevProp,"string"==typeof(f=y)?f!==p:!!Array.isArray(f)&&!ih(f,p)),S=w||m===o&&g.isActive&&!x&&v||e>d&&v,T=!1,E=Array.isArray(y)?y:[y],A=E.reduce(s(m),{});!1===b&&(A={});let{prevResolvedValues:P={}}=g,C={...P,...A},k=e=>{S=!0,u.has(e)&&(T=!0,u.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);
30i&&(i.liveStyle=!1)};for(let t in C){let e=A[t],i=P[t];if(!c.hasOwnProperty(t))(eU(e)&&eU(i)?!ih(e,i)||w:e!==i)?null!=e?k(t):u.add(t):void 0!==e&&u.has(t)?k(t):g.protectedKeys[t]=!0}g.prevProp=y,g.prevResolvedValues=A,g.isActive&&(c={...c,...A}),(r||n)&&t.blockInitialAnimation&&(S=!1);let M=x&&w,I=!M||T;S&&I&&h.push(...E.map(e=>{let i={type:m};if("string"==typeof e&&(r||n)&&!M&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,n=e$(r,e);if(r.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=io(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof a.initial){let i=e$(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),h.push({animation:e})}let m=!!h.length;return r&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(m=!1),r=!1,n=!1,m?e(h):Promise.resolve()}return{animateChanges:o,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let n=o(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=ip(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();tA(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let ig=0;class iy extends eV{constructor(){super(...arguments),this.id=ig++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=e$(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...r}=i;for(let t in r)this.node.getValue(t)?.jump(r[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
30e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let iv={x:!1,y:!1};function ib(t){return[t("x"),t("y")]}function ix(t){return t.max-t.min}function iw(t,e,i,r=.5){t.origin=r,t.originPoint=(0,t1.k)(e.min,e.max,t.origin),t.scale=ix(i)/ix(e),t.translate=(0,t1.k)(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function iS(t,e,i,r){iw(t.x,e.x,i.x,r?r.originX:void 0),iw(t.y,e.y,i.y,r?r.originY:void 0)}function iT(t,e,i,r=0){t.min=(r?(0,t1.k)(i.min,i.max,r):i.min)+e.min,t.max=t.min+ix(e)}function iE(t,e,i,r=0){let n=r?(0,t1.k)(i.min,i.max,r):i.min;t.min=e.min-n,t.max=t.min+ix(e)}function iA(t,e,i,r){iE(t.x,e.x,i.x,r?.x),iE(t.y,e.y,i.y,r?.y)}let iP=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),iC=new Set(["INPUT","SELECT","TEXTAREA"]);function ik(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i,r)}var iM=i(618);let iI=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function iB(t){return{point:{x:t.pageX,y:t.pageY}}}function iR(t,e,i,r){return ik(t,e,t=>iI(t)&&i(t,iB(t)),r)}let iL=({current:t})=>t?t.ownerDocument.defaultView:null;var ij=i(7155);let iD=(t,e)=>Math.abs(t-e),iN=new Set(["auto","scroll"]);class iH{constructor(t,e,{transformPagePoint:i,contextWindow:r=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=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=iO(this.lastRawMoveEventInfo,this.transformPagePoint));let i=iF(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(iD(t.x,e.x)**2+iD(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=q.uv;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=iO(e,this.transformPagePoint),q.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=iF("pointercancel"===t.type?this.lastMoveEventInfo:iO(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!iI(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;
30const a=iO(iB(t),this.transformPagePoint),{point:l}=a,{timestamp:h}=q.uv;this.history=[{...l,timestamp:h}];const{onSessionStart:u}=e;u&&u(t,iF(a,this.history));const c={passive:!0,capture:!0};this.removeListeners=(0,ij.F)(iR(this.contextWindow,"pointermove",this.handlePointerMove,c),iR(this.contextWindow,"pointerup",this.handlePointerUp,c),iR(this.contextWindow,"pointercancel",this.handlePointerUp,c)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(iN.has(t.overflowX)||iN.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.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(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,r=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},n={x:r.x-e.x,y:r.y-e.y};(0!==n.x||0!==n.y)&&(i?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(t,r),q.Gt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),(0,q.WG)(this.updatePoint)}}function iO(t,e){return e?{point:e(t.point)}:t}function i_(t,e){return{x:t.x-e.x,y:t.y-e.y}}function iF({point:t},e){return{point:t,delta:i_(t,iV(e)),offset:i_(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=iV(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>(0,ts.f)(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&r.timestamp-i.timestamp>2*(0,ts.f)(.1)&&(i=t[1]);let n=(0,ts.X)(r.timestamp-i.timestamp);if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function iV(t){return t[t.length-1]}var i$=i(4970);function iG(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function iz(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}function iU(t,e,i){return{min:iW(t,e),max:iW(t,i)}}function iW(t,e){return"number"==typeof t?t:t[e]||0}let iq=new WeakMap;class iX{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=E(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=t=>{e&&this.snapToCursor(iB(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(iv[t])return null;else return iv[t]=!0,()=>{iv[t]=!1};return iv.x||iv.y?null:(iv.x=iv.y=!0,()=>{iv.x=iv.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ib(t=>{let e=this.getAxisMotionValue(t).get()||0;if(g.KN.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=ix(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&q.Gt.update(()=>n(t,e),!1,!0),eq(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&q.Gt.update(()=>s(t,e),!1,!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:h}=this.getProps();this.panSession=new iH(t,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:h,distanceThreshold:i,contextWindow:iL(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&q.Gt.postRender(()=>o(i,r))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:r}=this.getProps();if(!i||!iY(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?(0,t1.k)(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?(0,t1.k)(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;t&&eO(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:iG(t.x,i,n),y:iG(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:iU(t,"left","right"),y:iU(t,"top","bottom")}}(e),r!==this.constraints&&!eO(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&ib(t=>{var e,r;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],n={},void 0!==r.min&&(n.min=r.min-e.min),void 0!==r.max&&(n.max=r.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!eO(e))return!1;let r=e.current;(0,I.V)(null!==r,"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());
30let s=function(t,e,i){let r=eh(t,i),{scroll:n}=e;return n&&(es(r.x,n.offset.x),es(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:iz(t.x,s.x),y:iz(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=t9(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(ib(o=>{if(!iY(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={min:0,max:0});let h={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,h)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return eq(this.visualElement,t),i.start(ir(t,i,0,e,this.visualElement,!1))}stopAnimation(){ib(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){ib(e=>{let{drag:i}=this.getProps();if(!iY(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e],o=n.get()||0;n.set(t[e]-(0,t1.k)(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!eO(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};ib(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let s,o,a,l=e.get();r[t]=(i={min:l,max:l},n=this.constraints[t],s=.5,o=ix(i),(a=ix(n))>o?s=(0,i$.q)(n.min,n.max-o,i.min):o>a&&(s=(0,i$.q)(i.min,i.max-a,n.min)),(0,eK.q)(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),ib(e=>{if(!iY(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set((0,t1.k)(n,s,r[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;iq.set(this.visualElement,this);let e=this.visualElement.current,i=iR(e,"pointerdown",t=>{let{drag:i,dragListener:r=!0}=this.getProps(),n=t.target,s=n!==e&&(iC.has(n.tagName)||!0===n.isContentEditable);i&&r&&!s&&this.start(t)}),r=()=>{var i,r,n;let s,o,{dragConstraints:a}=this.getProps();eO(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,r=a.current,n=()=>this.scalePositionWithinConstraints(),s=(0,iM.X)(i,iK(n)),o=(0,iM.X)(r,iK(n)),t=()=>{s(),o()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),q.Gt.read(r);let o=ik(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(ib(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),s(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function iK(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function iY(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class iZ extends eV{constructor(t){super(t),this.removeGroupControls=ta.l,this.removeListeners=ta.l,this.controls=new iX(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ta.l}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let iQ=t=>(e,i)=>{t&&q.Gt.update(()=>t(e,i),!1,!0)};class iJ extends eV{constructor(){super(...arguments),this.removePointerDownListener=ta.l}onPointerDown(t){this.session=new iH(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:iL(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:iQ(t),onStart:iQ(e),onMove:iQ(i),onEnd:(t,e)=>{delete this.session,r&&q.Gt.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=iR(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let i0={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var i1=i(8243);let i2=!1;class i3 extends ec.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),i2&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),i0.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),i2=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||q.Gt.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),tx.k.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;i2=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function i4(t){let[e,i]=(0,i1.xQ)(),r=(0,ec.useContext)(em.L);return(0,ef.jsx)(i3,{...t,layoutGroup:r,switchLayoutGroup:(0,ec.useContext)(eH),isPresent:e,safeToRemove:i})}var i5=i(9007);let i8=tQ.length,i9=t=>"string"==typeof t?parseFloat(t):t,i6=t=>"number"==typeof t||g.px.test(t);function i7(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rt=ri(0,.5,eJ.yT),re=ri(.5,.95,ta.l);function ri(t,e,i){return r=>r<t?0:r>e?1:i((0,i$.q)(t,e,r))}function rr(t,e){t.min=e.min,t.max=e.max}function rn(t,e){rr(t.x,e.x),rr(t.y,e.y)}function rs(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function ro(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function ra(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(g.KN.test(e)&&(e=parseFloat(e),e=(0,t1.k)(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=(0,t1.k)(s.min,s.max,r);t===s&&(a-=e),t.min=ro(t.min,e,i,a,n),t.max=ro(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let rl=["x","scaleX","originX"],rh=["y","scaleY","originY"];function ru(t,e,i,r){ra(t.x,e,rl,i?i.x:void 0,r?r.x:void 0),ra(t.y,e,rh,i?i.y:void 0,r?r.y:void 0)}function rc(t){return 0===t.translate&&1===t.scale}function rd(t){return rc(t.x)&&rc(t.y)}function rp(t,e){return t.min===e.min&&t.max===e.max}function rf(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rm(t,e){return rf(t.x,e.x)&&rf(t.y,e.y)}function rg(t){return ix(t.x)/ix(t.y)}function ry(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}var rv=i(4632);class rb{constructor(){this.members=[]}add(t){(0,rv.Kq)(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let r=i.instance;r&&!1!==r.isConnected||i.snapshot||((0,rv.Ai)(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if((0,rv.Ai)(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}
30}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:r}=i.options,{layoutDependency:n}=t.options;(void 0===r||r!==n)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let rx=(t,e)=>t.depth-e.depth;class rw{constructor(){this.children=[],this.isDirty=!1}add(t){(0,rv.Kq)(this.children,t),this.isDirty=!0}remove(t){(0,rv.Ai)(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rx),this.isDirty=!1,this.children.forEach(t)}}let rS=["","X","Y","Z"],rT=0;function rE(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function rA({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=rT++,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,this.nodes.forEach(rk),this.nodes.forEach(rH),this.nodes.forEach(rO),this.nodes.forEach(rM)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rw)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new to.v),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=(0,i5.x)(e)&&(!(0,i5.x)(e)||"svg"!==e.tagName),this.instance=e;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;q.Gt.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==r){let e,s;r=t,this.root.updateBlockedByResize=!0,i&&i(),e=tw.k.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&((0,q.WG)(s),n(i-250))},q.Gt.setup(s,!0),i=()=>(0,q.WG)(s),i0.hasAnimatedSinceResize&&(i0.hasAnimatedSinceResize=!1,this.nodes.forEach(rN))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||rz,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!rm(this.targetLayout,r),h=!e&&i;if(this.options.layoutRoot||this.resumeFrom||h||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...ez(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,h,e.path)}else e||rN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),(0,q.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEac
30h(r_),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let r=i.props[eN];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",q.Gt,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEach(rR),this.nodes.forEach(rB);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(rL);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(rj),this.nodes.forEach(rD),this.nodes.forEach(rP),this.nodes.forEach(rC)):this.nodes.forEach(rL),this.clearAllSnapshots();let t=tw.k.now();q.uv.delta=(0,eK.q)(0,1e3/60,t-q.uv.timestamp),q.uv.timestamp=t,q.uv.isProcessing=!0,q.PP.update.process(q.uv),q.PP.preRender.process(q.uv),q.PP.render.process(q.uv),q.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tx.k.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rI),this.sharedNodes.forEach(rF)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,q.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){q.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||ix(this.snapshot.measuredBox.x)||ix(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 t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=E()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=r(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!rd(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||et(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),rq((e=r).x),rq(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return E();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(rK))){let{scroll:t}=this.root;t&&(es(e.x,t.offset.x),es(e.y,t.offset.y))}return e}removeElementScroll(t){let e=E();if(rn(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&rn(e,t),es(e.x,n.offset.x),es(e.y,n.offset.y))}return e}applyTransform(t,e=!1,i){let r=i||E();rn(r,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(es(r.x,-i.scroll.offset.x),es(r.y,-i.scroll.offset.y)),et(i.latestValues)&&el(r,i.latestValues,i.layout?.layoutBox)}return et(this.latestValues)&&el(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(t){let e=E();rn(e,t);for(let t=0;t<this.path.length;t++){let i,r=this.path[t];et(r.latestValues)&&(r.instance&&(t7(r.latestValues)&&r.updateSnapshot(),r
30n(i=E(),r.measurePageBox())),ru(e,r.latestValues,r.snapshot?.layoutBox,i))}return et(this.latestValues)&&ru(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.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!==q.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:n}=this.options;if(!this.layout||!(r||n))return;this.resolvedRelativeTargetAt=q.uv.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=E(),this.targetWithTransforms=E()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,h;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,h=this.options.layoutAnchor||void 0,iT(o.x,a.x,l.x,h?.x),iT(o.y,a.y,l.y,h?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):rn(this.target,this.layout.layoutBox),en(this.target,this.targetDelta)):rn(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||t7(this.parent.latestValues)||ee(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(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=E(),this.relativeTargetOrigin=E(),iA(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),rn(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===q.uv.timestamp&&(i=!1),i)return;let{layout:r,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||!(r||n))return;rn(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(es(t.x,-n.scroll.offset.x),es(t.y,-n.scroll.offset.y)),s&&(e.x*=s.x.scale,e.y*=s.y.scale,en(t,s)),r&&et(n.latestValues)&&el(t,n.latestValues,n.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=E());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rs(this.prevProjectionDelta.x,this.projectionDelta.x),rs(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),iS(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&ry(this.projectionDelta.x,this.prevProjectionDelta.x)&&ry(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=S(),this.projectionDelta=S(),this.projectionDeltaWithTransform=S()}setAnimationOrigin(t,e=!1,i){let r,n=this.snapshot,s=n?n.latestValues:{},o={...this.latestValues},a=S();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=E(),h=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(h&&!c&&!0===this.options.crossfade&&!this.path.some(rG));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,n=p?.(i);if(n?(a.x.translate=n.x,a.x.scale=(0,t1.k)(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=n.y,a.y.scale=(0,t1.k)(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(rV(a.x,t.x,i),rV(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,f,m,y,v,b;iA(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,y=this.relativeTargetOrigin,v=l,b=i,r$(m.x,y.x,v.x,b),r$(m.y,y.y,v.y,b),r&&(u=this.relativeTarget,f=r,rp(u.x,f.x)&&rp(u.y,f.y))&&(this.isProjectionDirty=!1),r||(r=E()),rn(r,this.relativeTarget)}
30h&&(this.animationValues=o,function(t,e,i,r,n,s){n?(t.opacity=(0,t1.k)(0,i.opacity??1,rt(r)),t.opacityExit=(0,t1.k)(e.opacity??1,0,re(r))):s&&(t.opacity=(0,t1.k)(e.opacity??1,i.opacity??1,r));for(let n=0;n<i8;n++){let s=tQ[n],o=i7(e,s),a=i7(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||i6(o)===i6(a)?(t[s]=Math.max((0,t1.k)(i9(o),i9(a),r),0),(g.KN.test(a)||g.KN.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=(0,t1.k)(e.rotate||0,i.rotate||0,r))}(o,s,this.latestValues,i,d,c)),n&&void 0!==n.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=n.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&((0,q.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=q.Gt.update(()=>{var e,i,r;let n;i0.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=(0,t
30S.OQ)(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],r={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}},(n=(0,A.S)(e)?e:(0,tS.OQ)(e)).start(ir("",n,i,r)),n.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 t=this.getStack();t&&t.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 t=this.getLead(),{targetWithTransforms:e,target:i,layout:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&rX(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||E();let e=ix(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=ix(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}rn(e,i),el(e,n),iS(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rb),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
30return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let r={};i.z&&rE("z",t,r,this.animationValues);for(let e=0;e<rS.length;e++)rE(`rotate${rS[e]}`,t,r,this.animationValues),rE(`skew${rS[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=eP(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eP(e?.pointerEvents)||""),this.hasProjected&&!et(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:n,rotateX:s,rotateY:o,skewX:a,skewY:l}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotate(${n}deg) `),s&&(r+=`rotateX(${s}deg) `),o&&(r+=`rotateY(${o}deg) `),a&&(r+=`skewX(${a}deg) `),l&&(r+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,t2){if(void 0===n[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=t2[e],l="none"===s?n[e]:i(n[e],r);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=r===this?eP(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(rB),this.root.sharedNodes.clear()}}}function rP(t){t.updateLayout()}function rC(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;if("size"===n)ib(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=ix(r);r.min=i[t].min,r.max=r.min+n});else if("x"===n||"y"===n){let t="x"===n?"y":"x";rr(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else rX(n,e.layoutBox,i)&&ib(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=ix(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=S();iS(o,i,e.layoutBox);let a=S();s?iS(a,t.applyTransform(r,!0),e.measuredBox):iS(a,i,e.layoutBox);let l=!rd(o),h=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=t.options.layoutAnchor||void 0,a=E();iA(a,e.layoutBox,n.layoutBox,o);let l=E();iA(l,i,s.layoutBox,o),rm(a,l)||(h=!0),r.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function rk(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
30isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rM(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rI(t){t.clearSnapshot()}function rB(t){t.clearMeasurements()}function rR(t){t.isLayoutDirty=!0,t.updateLayout()}function rL(t){t.isLayoutDirty=!1}function rj(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function rD(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rN(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rH(t){t.resolveTargetDelta()}function rO(t){t.calcProjection()}function r_(t){t.resetSkewAndRotation()}function rF(t){t.removeLeadSnapshot()}function rV(t,e,i){t.translate=(0,t1.k)(e.translate,0,i),t.scale=(0,t1.k)(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function r$(t,e,i,r){t.min=(0,t1.k)(e.min,i.min,r),t.max=(0,t1.k)(e.max,i.max,r)}function rG(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let rz={duration:.45,ease:[.4,0,.1,1]},rU=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),rW=rU("applewebkit/")&&!rU("chrome/")?Math.round:ta.l;function rq(t){t.min=rW(t.min),t.max=rW(t.max)}function rX(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rg(e)-rg(i)))}function rK(t){return t!==t.root&&t.scroll?.wasRoot}let rY=rA({attachResizeListener:(t,e)=>ik(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),rZ={current:void 0},rQ=rA({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rZ.current){let t=new rY({});t.mount(window),t.setOptions({layoutScroll:!0}),rZ.current=t}return rZ.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});var rJ=i(4643);function r0(t,e){let i=(0,rJ.K)(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function r1(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&q.Gt.postRender(()=>n(e,iB(e)))}class r2 extends eV{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=r0(t,i);return r.forEach(t=>{let i,r=!1,s=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(r){s=!0;return}o(t)}};t.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||iv.x||iv.y)return;s=!1;let o=e(t,r);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,n))},n),t.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),s}(t,(t,e)=>(r1(this.node,e,"Start"),t=>r1(this.node,t,"End"))))}unmount(){}}class r3 extends eV{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&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,ij.F)(ik(this.node.current,"focus",()=>this.onFocus()),ik(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var r4=i(7648);let r5=(t,e)=>!!e&&(t===e||r5(t,e.parentElement)),r8=new WeakSet;function r9(t){return e=>{"Enter"===e.key&&t(e)}}function r6(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function r7(t){return iI(t)&&!(iv.x||iv.y)}let nt=new WeakSet;function ne(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&q.Gt.postRender(()=>n(e,iB(e)))}class ni extends eV{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;
30this.unmount=function(t,e,i={}){let[r,n,s]=r0(t,i),o=t=>{let r=t.currentTarget;if(!r7(t)||nt.has(t))return;r8.add(r),i.stopPropagation&&nt.add(t);let s=e(r,t),o={...n,capture:!0},a=(t,e)=>{window.removeEventListener("pointerup",l,o),window.removeEventListener("pointercancel",h,o),r8.has(r)&&r8.delete(r),r7(t)&&"function"==typeof s&&s(t,{success:e})},l=t=>{a(t,r===window||r===document||i.useGlobalTarget||r5(r,t.target))},h=t=>{a(t,!1)};window.addEventListener("pointerup",l,o),window.addEventListener("pointercancel",h,o)};return r.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),(0,r4.s)(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=r9(()=>{if(r8.has(i))return;r6(i,"down");let t=r9(()=>{r6(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>r6(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),iP.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(ne(this.node,e,"Start"),(t,{success:e})=>ne(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}let nr=new WeakMap,nn=new WeakMap,ns=t=>{let e=nr.get(t.target);e&&e(t)},no=t=>{t.forEach(ns)},na={some:0,all:1};
30class nl extends eV{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:na[s]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:r}=this.node.getProps(),n=e?i:r;n&&n(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;nn.has(i)||nn.set(i,{});let r=nn.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(no,{root:t,...e})),r[n]}(a),nr.set(t,l),e.observe(t),()=>{nr.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}let nh=function(t,e){if("u"<typeof Proxy)return eF;let i=new Map,r=(i,r)=>eF(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,eF(s,void 0,t,e)),i.get(s))})}({animation:{Feature:im},exit:{Feature:iy},inView:{Feature:nl},tap:{Feature:ni},focus:{Feature:r3},hover:{Feature:r2},pan:{Feature:iJ},drag:{Feature:iZ,ProjectionNode:rQ,MeasureLayout:i4},layout:{ProjectionNode:rQ,MeasureLayout:i4}},(t,e)=>e.isSVG??ep(t)?new t8(e):new eu(e,{allowProjection:t!==ec.Fragment}))},8593:(t,e,i)=>{"use strict";i.d(e,{B:()=>l});var r=i(9238),n=i(2028),s=i(6692),o=i(9829);let a={...n.ai,transform:t=>Math.round((0,r.q)(0,255,t))},l={test:(0,o.$)("rgb","red"),parse:(0,o.q)("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+a.transform(t)+", "+a.transform(e)+", "+a.transform(i)+", "+(0,s.a)(n.X4.transform(r))+")"}},8820:(t,e,i)=>{"use strict";i.d(e,{c:()=>n,k:()=>r});let{schedule:r,cancel:n}=(0,i(7535).I)(queueMicrotask,!1)},9007:(t,e,i)=>{"use strict";i.d(e,{x:()=>n});var r=i(6003);function n(t){return(0,r.G)(t)&&"ownerSVGElement"in t}},9051:(t,e,i)=>{"use strict";i.d(e,{y:()=>o});var r=i(1056),n=i(3565),s=i(8593);let o={test:t=>s.B.test(t)||r.u.test(t)||n.V.test(t),parse:t=>s.B.test(t)?s.B.parse(t):n.V.test(t)?n.V.parse(t):r.u.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?s.B.transform(t):n.V.transform(t),getAnimatableNone:t=>{let e=o.parse(t);return e.alpha=0,o.transform(e)}}},9184:(t,e,i)=>{"use strict";i.d(e,{Sz:()=>o,ZZ:()=>l,dg:()=>a});var r=i(9220),n=i(5621),s=i(5920);let o=(0,r.A)(.33,1.53,.69,.99),a=(0,s.G)(o),l=(0,n.V)(a)},9193:(t,e,i)=>{"use strict";i.d(e,{Ig:()=>a,cH:()=>o,e5:()=>u,vE:()=>c,yF:()=>s});var r=i(1828),n=i(6192);let s=(t,e=n.Ay.fontSizes.default)=>`${l(t)/l(e)}em`,o=(t,e)=>(0,r.AH)(["display:block;padding-bottom:","%;"],t/e*100),a=(t=n.Ay.fontSizes.defaultMin,e=n.Ay.fontSizes.default,i=n.Ay.breakpoints.minMobile,s=n.Ay.container.pageWidth)=>{let o=l(t),a=l(e),h=l(i),u=(a-o)/(l(s)-h),c=o-u*h,d=`${100*u}vw + ${c}px`;return(0,r.AH)(["font-size:","px;@supports (font-size:clamp(1px,2px,3px)){font-size:clamp(","px,",",","px);}@supports not (font-size:clamp(1px,2px,3px)){@media (min-width:$min-desktop){font-size:","px;}}"],o,o,d,a,a)},l=t=>"number"==typeof t?t:Number(t.replace(/[^\d.-]/g,"")),h=(t=n.Ay.fontSizes.h1Min,e=n.Ay.fontSizes.h1)=>(0,r.AH)(["",";font-weight:600;line-height:1.1;color:",";"],a(t,e),n.Ay.colors.heading),u=()=>(0,r.AH)(["overflow-y:hidden;body{padding-right:var(--scrollbar-width);touch-action:none;}"]),c={scaleToEm:s,aspectRatio:o,fit:()=>(0,r.AH)(["position:absolute;top:0;right:0;bottom:0;left:0;
30"]),mediaPosition:(t="cover",e="center")=>(0,r.AH)(["width:100%;height:100%;object-fit:",";background-position:",";"],t,e),container:(t=!1)=>(0,r.AH)(["margin:0 auto;padding:0 ",";width:100%;max-width:",";"],n.Ay.container.containerGutter,t?"auto":`calc(${n.Ay.container.pageWidth} + (${n.Ay.container.containerGutter} * 2))`),grid:({gridColumnCount:t=n.Ay.grid.columnCount,direction:e="ltr",gridRowGap:i=0,gridColumnGap:s=n.Ay.grid.gutter,container:o=!0,align:a="flex-start"})=>(0,r.AH)([""," display:grid;align-items:",";gap:"," 0;grid-template-rows:auto;grid-template-columns:repeat(",",minmax(0,1fr));flex:none;direction:",";width:100%;@media (min-width:","){gap:"," ",";}"],o&&c.container(),a,i,t,e,n.Ay.breakpoints.minMobile,i,s),gridItem:({columns:t=0,offset:e=0,gridColumnCount:i=n.Ay.grid.columnCount})=>t>0?t>i||t+e>i?(0,r.AH)(["grid-column:1 / -1;"]):e>0?(0,r.AH)(["grid-column:"," / span ",";"],e+1,t):(0,r.AH)(["grid-column:auto / span ",";"],t):(0,r.AH)(["grid-column:auto / span ",";"],i),stripUnit:l,responsiveFont:a,heading:h,h1:()=>h(n.Ay.fontSizes.h1Min,n.Ay.fontSizes.h1),h2:()=>h(n.Ay.fontSizes.h2Min,n.Ay.fontSizes.h2),h3:()=>h(n.Ay.fontSizes.h3Min,n.Ay.fontSizes.h3),h4:()=>h(n.Ay.fontSizes.h4Min,n.Ay.fontSizes.h4),h5:()=>h(n.Ay.fontSizes.h5Min,n.Ay.fontSizes.h5),h6:()=>h(n.Ay.fontSizes.h6Min,n.Ay.fontSizes.h6),htmlOverflowHidden:u}},9220:(t,e,i)=>{"use strict";i.d(e,{A:()=>s});var r=i(9847);let n=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function s(t,e,i,s){return t===e&&i===s?r.l:r=>0===r||1===r?r:n(function(t,e,i,r,s){let o,a,l=0;do(o=n(a=e+(i-e)/2,r,s)-t)>0?i=a:e=a;while(Math.abs(o)>1e-7&&++l<12);return a}(r,0,1,t,i),e,s)}},9238:(t,e,i)=>{"use strict";i.d(e,{q:()=>r});let r=(t,e,i)=>i>e?e:i<t?t:i},9821:(t,e,i)=>{"use strict";i.d(e,{D:()=>r});let r=t=>Array.isArray(t)&&"number"==typeof t[0]},9829:(t,e,i)=>{"use strict";i.d(e,{$:()=>s,q:()=>o});var r=i(3813);let n=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,s=(t,e)=>i=>!!("string"==typeof i&&n.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),o=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,o,a,l]=n.match(r.S);return{[t]:parseFloat(s),[e]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},9847:(t,e,i)=>{"use strict";i.d(e,{l:()=>r});let r=t=>t}},t=>{var e=e=>t(t.s=e);t.O(0,[593,792],()=>(e(3457),e(5405))),_N_E=t.O()}]);
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.