PageSourceSearch

https://devconnect.org/_next/static/chunks/pages/_app-902ed502b8e5a736.js

js devconnect.org collected 2026-10-03 21:01:24 UTC 435,565 bytes, 16 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{3205:(e,t)=>{"use strict";function n({widthInt:e,heightInt:t,blurWidth:n,blurHeight:r,blurDataURL:i,objectFit:o}){let a=n?40*n:e,s=r?40*r:t,l=a&&s?`viewBox='0 0 ${a} ${s}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${l}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${l?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${i}'/%3E%3C/svg%3E`}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},4728:(e,t,n)=>{"use strict";n.d(t,{hO:()=>l,sG:()=>s});var r=n(96810),i=n(62795),o=n(34037),a=n(73154),s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,t)=>{let n=(0,o.TL)(`Primitive.${t}`),i=r.forwardRef((e,r)=>{let{asChild:i,...o}=e;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,a.jsx)(i?n:t,{...o,ref:r})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function l(e,t){e&&i.flushSync(()=>e.dispatchEvent(t))}},5295:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});let r=n(78175);function i(e,t,i,o){{let a=n(77203).normalizeLocalePath,s=n(93554).detectDomainLocale,l=t||a(e,i).detectedLocale,u=s(o,void 0,l);if(u){let t=`http${u.http?"":"s"}://`,n=l===u.defaultLocale?"":`/${l}`;return`${t}${u.domain}${(0,r.normalizePathTrailingSlash)(`${n}${e}`)}`}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6010:(e,t)=>{"use strict";function n(e,t){let n=e||75;return t?.qualities?.length?t.qualities.reduce((e,t)=>Math.abs(t-n)<Math.abs(e-n)?t:e,0):n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"findClosestQuality",{enumerable:!0,get:function(){return n}})},7204:(e,t,n)=>{"use strict";n.d(t,{C:()=>a});var r=n(96810),i=n(60517),o=n(36854),a=e=>{var t;let n,a,{present:l,children:u}=e,c=function(e){var t,n;let[i,a]=r.useState(),l=r.useRef(null),u=r.useRef(e),c=r.useRef("none"),[d,f]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},r.useReducer((e,t)=>n[e][t]??e,t));return r.useEffect(()=>{let e=s(l.current);c.current="mounted"===d?e:"none"},[d]),(0,o.N)(()=>{let t=l.current,n=u.current;if(n!==e){let r=c.current,i=s(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):n&&r!==i?f("ANIMATION_OUT"):f("UNMOUNT"),u.current=e}},[e,f]),(0,o.N)(()=>{if(i){let e,t=i.ownerDocument.defaultView??window,n=n=>{let r=s(l.current).includes(n.animationName);if(n.target===i&&r&&(f("ANIMATION_END"),!u.current)){let n=i.style.animationFillMode;i.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===i.style.animationFillMode&&(i.style.animationFillMode=n)})}},r=e=>{e.target===i&&(c.current=s(l.current))};return i.addEventListener("animationstart",r),i.addEventListener("animationcancel",n),i.addEventListener("animationend",n),()=>{t.clearTimeout(e),i.removeEventListener("animationstart",r),i.removeEventListener("animationcancel",n),i.removeEventListener("animationend",n)}}f("ANIMATION_END")},[i,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:r.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(l),d="function"==typeof u?u({present:c.isPresent}):r.Children.only(u),f=(0,i.s)(c.ref,(t=d,(a=(n=Object.getOwnPropertyDescriptor(t.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.ref:(a=(n=Object.getOwnPropertyDescriptor(t,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?t.props.ref:t.props.ref||t.ref));return"function"==typeof u||c.isPresent?r.cloneElement(d,{ref:f}):null};function s(e){return e?.animationName||"none"}a.displayName="Presence"},8729:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;
1\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,d=1;function f(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:c,column:d};return function(t){return t.position=new p(e),v(r),t}}function p(e){this.start=e,this.end={line:c,column:d},this.source=l.source}p.prototype.content=e;var m=[];function g(t){var n=Error(l.source+":"+c+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=c,n.column=d,n.source=e,l.silent)m.push(n);else throw n}function v(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}v(r);var x,w=[];for(y(w);x=function(){var e=h(),n=v(i);if(n){if(b(),!v(o))return g("property missing ':'");var r=v(a),l=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return v(s),l}}();)!1!==x&&(w.push(x),y(w));return w}},9281:(e,t,n)=>{"use strict";function r(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(n=0;n<o;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{$:()=>r})},13150:(e,t,n)=>{"use strict";n.d(t,{l$:()=>w,oR:()=>g});var r=n(96810),i=n(62795);let o=Array(12).fill(0),a=({visible:e,className:t})=>r.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},r.createElement("div",{className:"sonner-spinner"},o.map((e,t)=>r.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${t}`})))),s=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),l=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),u=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),c=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},r.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),d=r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},r.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),r.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),f=1;class h{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>
vendor: 1,075 bytes, line 1
1{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i="number"==typeof(null==e?void 0:e.id)||(null==(t=e.id)?void 0:t.length)>0?e.id:f++,o=this.toasts.find(e=>e.id===i),a=void 0===e.dismissible||e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(t=>t.id===i?(this.publish({...t,...e,id:i,title:n}),{...t,...e,id:i,dismissible:a,title:n}):t):this.addToast({title:n,...r,dismissible:a,id:i}),i},this.dismiss=e=>(e?(this.dismissedToasts.add(e),requestAnimationFrame(()=>this.subscribers.forEach(t=>t({id:e,dismiss:!0})))):this.toasts.forEach(e=>{this.subscribers.forEach(t=>t({id:e.id,dismiss:!0}))}),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
1this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{let n,i;if(!t)return;void 0!==t.loading&&(i=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));let o=Promise.resolve(e instanceof Function?e():e),a=void 0!==i,s=o.then(async e=>{if(n=["resolve",e],r.isValidElement(e))a=!1,this.create({id:i,type:"default",message:e});else if(m(e)&&!e.ok){a=!1;let n="function"==typeof t.error?await t.error(`HTTP error! status: ${e.status}`):t.error,o="function"==typeof t.description?await t.description(`HTTP error! status: ${e.status}`):t.description,s="object"!=typeof n||r.isValidElement(n)?{message:n}:n;this.create({id:i,type:"error",description:o,...s})}else if(e instanceof Error){a=!1;let n="function"==typeof t.error?await t.error(e):t.error,o="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof n||r.isValidElement(n)?{message:n}:n;this.create({id:i,type:"error",description:o,...s})}else if(void 0!==t.success){a=!1;let n="function"==typeof t.success?await t.success(e):t.success,o="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof n||r.isValidElement(n)?{message:n}:n;this.create({id:i,type:"success",description:o,...s})}}).catch(async e=>{if(n=["reject",e],void 0!==t.error){a=!1;let n="function"==typeof t.error?await t.error(e):t.error,o="function"==typeof t.description?await t.description(e):t.description,s="object"!=typeof n||r.isValidElement(n)?{message:n}:n;this.create({id:i,type:"error",description:o,...s})}}).finally(()=>{a&&(this.dismiss(i),i=void 0),null==t.finally||t.finally.call(t)}),l=()=>new Promise((e,t)=>s.then(()=>"reject"===n[0]?t(n[1]):e(n[1])).catch(t));return"string"!=typeof i&&"number"!=typeof i?{unwrap:l}:Object.assign(i,{unwrap:l})},this.custom=(e,t)=>{let n=(null==t?void 0:t.id)||f++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}let p=new h,m=e=>e&&"object"==typeof e&&"ok"in e&&"boolean"==typeof e.ok&&"status"in e&&"number"==typeof e.status,g=Object.assign((e,t)=>{let n=(null==t?void 0:t.id)||f++;return p.addToast({title:e,...t,id:n}),n},{success:p.success,info:p.info,warning:p.warning,error:p.error,custom:p.custom,message:p.message,promise:p.promise,dismiss:p.dismiss,loading:p.loading},{getHistory:()=>p.toasts,getToasts:()=>p.getActiveToasts()});function v(e){return void 0!==e.label}function y(...e){return e.filter(Boolean).join(" ")}!function(e){if(!e||"undefined"==typeof document)return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}
vendor: 14,864 bytes, line 1
1("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);background:var(--normal-bg);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
1let b=e=>{var t,n,i,o,f,h,p,m,g,b,x,w,k;let{invert:S,toast:E,unstyled:P,interacting:A,setHeights:C,visibleToasts:T,heights:j,index:M,toasts:R,expanded:O,removeToast:D,defaultRichColors:_,closeButton:L,style:N,cancelButtonStyle:I,actionButtonStyle:F,className:V="",descriptionClassName:z="",duration:B,position:U,gap:H,expandByDefault:$,classNames:W,icons:q,closeButtonAriaLabel:Y="Close toast"}=e,[K,X]=r.useState(null),[G,Z]=r.useState(null),[Q,J]=r.useState(!1),[ee,et]=r.useState(!1),[en,er]=r.useState(!1),[ei,eo]=r.useState(!1),[ea,es]=r.useState(!1),[el,eu]=r.useState(0),[e
1c,ed]=r.useState(0),ef=r.useRef(E.duration||B||4e3),eh=r.useRef(null),ep=r.useRef(null),em=0===M,eg=M+1<=T,ev=E.type,ey=!1!==E.dismissible,eb=E.className||"",ex=E.descriptionClassName||"",ew=r.useMemo(()=>j.findIndex(e=>e.toastId===E.id)||0,[j,E.id]),ek=r.useMemo(()=>{var e;return null!=(e=E.closeButton)?e:L},[E.closeButton,L]),eS=r.useMemo(()=>E.duration||B||4e3,[E.duration,B]),eE=r.useRef(0),eP=r.useRef(0),eA=r.useRef(0),eC=r.useRef(null),[eT,ej]=U.split("-"),eM=r.useMemo(()=>j.reduce((e,t,n)=>n>=ew?e:e+t.height,0),[j,ew]),eR=(()=>{let[e,t]=r.useState(document.hidden);return r.useEffect(()=>{let e=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",e),()=>window.removeEventListener("visibilitychange",e)},[]),e})(),eO=E.invert||S,eD="loading"===ev;eP.current=r.useMemo(()=>ew*H+eM,[ew,eM]),r.useEffect(()=>{ef.current=eS},[eS]),r.useEffect(()=>{J(!0)},[]),r.useEffect(()=>{let e=ep.current;if(e){let t=e.getBoundingClientRect().height;return ed(t),C(e=>[{toastId:E.id,height:t,position:E.position},...e]),()=>C(e=>e.filter(e=>e.toastId!==E.id))}},[C,E.id]),r.useLayoutEffect(()=>{if(!Q)return;let e=ep.current,t=e.style.height;e.style.height="auto";let n=e.getBoundingClientRect().height;e.style.height=t,ed(n),C(e=>e.find(e=>e.toastId===E.id)?e.map(e=>e.toastId===E.id?{...e,height:n}:e):[{toastId:E.id,height:n,position:E.position},...e])},[Q,E.title,E.description,C,E.id,E.jsx,E.action,E.cancel]);let e_=r.useCallback(()=>{et(!0),eu(eP.current),C(e=>e.filter(e=>e.toastId!==E.id)),setTimeout(()=>{D(E)},200)},[E,D,C,eP]);r.useEffect(()=>{let e;if((!E.promise||"loading"!==ev)&&E.duration!==1/0&&"loading"!==E.type){if(O||A||eR){if(eA.current<eE.current){let e=new Date().getTime()-eE.current;ef.current=ef.current-e}eA.current=new Date().getTime()}else ef.current!==1/0&&(eE.current=new Date().getTime(),e=setTimeout(()=>{null==E.onAutoClose||E.onAutoClose.call(E,E),e_()},ef.current));return()=>clearTimeout(e)}},[O,A,E,ev,eR,e_]),r.useEffect(()=>{E.delete&&(e_(),null==E.onDismiss||E.onDismiss.call(E,E))},[e_,E.delete]);let eL=E.icon||(null==q?void 0:q[ev])||(e=>{switch(e){case"success":return s;case"info":return u;case"warning":return l;case"error":return c;default:return null}})(ev);return r.createElement("li",{tabIndex:0,ref:ep,className:y(V,eb,null==W?void 0:W.toast,null==E||null==(t=E.classNames)?void 0:t.toast,null==W?void 0:W.default,null==W?void 0:W[ev],null==E||null==(n=E.classNames)?void 0:n[ev]),"data-sonner-toast":"","data-rich-colors":null!=(b=E.richColors)?b:_,"data-styled":!(E.jsx||E.unstyled||P),"data-mounted":Q,"data-promise":!!E.promise,"data-swiped":ea,"data-removed":ee,"data-visible":eg,"data-y-position":eT,"data-x-position":ej,"data-index":M,"data-front":em,"data-swiping":en,"data-dismissible":ey,"data-type":ev,"data-invert":eO,"data-swipe-out":ei,"data-swipe-direction":G,"data-expanded":!!(O||$&&Q),style:{"--index":M,"--toasts-before":M,"--z-index":R.length-M,"--offset":`${ee?el:eP.current}px`,"--initial-height":$?"auto":`${ec}px`,...N,...E.style},onDragEnd:()=>{er(!1),X(null),eC.current=null},onPointerDown:e=>{2===e.button||eD||!ey||(eh.current=new Date,eu(eP.current),e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(er(!0),eC.current={x:e.clientX,y:e.clientY}))},onPointerUp:()=>{var e,t,n,r,i;if(ei||!ey)return;eC.current=null;let o=Number((null==(e=ep.current)?void 0:e.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),a=Number((null==(t=ep.current)?void 0:t.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),s=new Date().getTime()-(null==(n=eh.current)?void 0:n.getTime()),l="x"===K?o:a,u=Math.abs(l)/s;if(Math.abs(l)>=45||u>.11){eu(eP.current),null==E.onDismiss||E.onDismiss.call(E,E),"x"===K?Z(o>0?"right":"left"):Z(a>0?"down":"up"),e_(),eo(!0);return}null==(r=ep.current)||r.style.setProperty("--swipe-amount-x","0px"),null==(i=ep.current)||i.style.setProperty("--swipe-amount-y","0px"),es(!1),er(!1),X(null)},onPointerMove:t=>{var n,r,i,o;if(!eC.current||!ey||(null==(n=window.getSelection())?void 0:n.toString().length)>0)return;let a=t.clientY-eC.current.y,s=t.clientX-eC.current.x,l=null!=(o=e.swipeDirections)?o:function(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}(U);!K&&(Math.abs(s)>1||Math.abs(a)>1)&&X(Math.abs(s)>Math.abs(a)?"x":"y");let u={x:0,y:0},c=e=>1/(1.5+Math.abs(e)/20);if("y"===K){if(l.includes("top")||l.includes("bottom"))if(l.includes("top")&&a<0||l.includes("bottom")&&a>0)u.y=a;else{let e=a*c(a);u.y=Math.abs(e)<Math.abs(a)?e:a}}else if("x"===K&&(l.includes("left")||l.includes("right")))if(l.includes("left")&&s<0||l.includes("right")&&s>0)u.x=s;else{let e=s*c(s);u.x=Math.abs(e)<Math.abs(s)?e:s}(Math.abs(u.x)>0||Math.abs(u.y)>0)&&es(!0),null==(r=ep.current)||r.style.setProperty("--swipe-amount-x",`${u.x}px`),null==(i=ep.current)||i.style.setProperty("--swipe-amount-y",`${u.y}px`)}},ek&&!E.jsx&&"loading"!==ev?r.createElement("button",{"aria-label":Y,"data-disabled":eD,"data-close-button":!0,onClick:eD||!ey?()=>{}:()=>{e_(),null==E.onDismiss||E.onDismiss.call(E,E)},className:y(null==W?void 0:W.closeButton,null==E||null==(i=E.classNames)?void 0:i.closeButton)},null!=(x=null==q?void 0:q.close)?x:d):null,(ev||E.icon||E.promise)&&null!==E.icon&&((null==q?void 0:q[ev])!==null||E.icon)?r.createElement("div",{"data-icon":"",className:y(null==W?void 0:W.icon,null==E||null==(o=E.classNames)?void 0:o.icon)},E.promise||"loading"===E.type&&!E.icon?E.icon||((null==q?void 0:q.loading)?r.createElement("div",{className:y(null==W?void 0:W.loader,null==E||null==(k=E.classNames)?void 0:k.loader,"sonner-loader"),"data-visible":"loading"===ev},q.loading):r.createElement(a,{className:y(null==W?void 0:W.loader,null==E||null==(w=E.classNames)?void 0:w.loader),visible:"loading"===ev})):null,"loading"!==E.type?eL:null):null,r.createElement("div",{"data-content":"",className:y(null==W?void 0:W.content,null==E||null==(f=E.classNames)?void 0:f.content)},r.createElement("div",{"data-title":"",className:y(null==W?void 0:W.title,null==E||null==(h=E.classNames)?void 0:h.title)},E.jsx?E.jsx:"function"==typeof E.title?E.title():E.title),E.description?r.createElement("div",{"data-description":"",className:y(z,ex,null==W?void 0:W.description,null==E||null==(p=E.classNames)?void 0:p.description)},"function"==typeof E.description?E.description():E.description):null),r.isValidElement(E.cancel)?E.cancel:E.cancel&&v(E.cancel)?r.createElement("button",{"data-button":!0,"data-cancel":!0,style:E.cancelButtonStyle||I,onClick:e=>{!v(E.cancel)||ey&&(null==E.cancel.onClick||E.cancel.onClick.call(E.cancel,e),e_())}
1,className:y(null==W?void 0:W.cancelButton,null==E||null==(m=E.classNames)?void 0:m.cancelButton)},E.cancel.label):null,r.isValidElement(E.action)?E.action:E.action&&v(E.action)?r.createElement("button",{"data-button":!0,"data-action":!0,style:E.actionButtonStyle||F,onClick:e=>{!v(E.action)||(null==E.action.onClick||E.action.onClick.call(E.action,e),e.defaultPrevented||e_())},className:y(null==W?void 0:W.actionButton,null==E||null==(g=E.classNames)?void 0:g.actionButton)},E.action.label):null)};function x(){if("undefined"==typeof window||"undefined"==typeof document)return"ltr";let e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}let w=r.forwardRef(function(e,t){let{invert:n,position:o="bottom-right",hotkey:a=["altKey","KeyT"],expand:s,closeButton:l,className:u,offset:c,mobileOffset:d,theme:f="light",richColors:h,duration:m,style:g,visibleToasts:v=3,toastOptions:y,dir:w=x(),gap:k=14,icons:S,containerAriaLabel:E="Notifications"}=e,[P,A]=r.useState([]),C=r.useMemo(()=>Array.from(new Set([o].concat(P.filter(e=>e.position).map(e=>e.position)))),[P,o]),[T,j]=r.useState([]),[M,R]=r.useState(!1),[O,D]=r.useState(!1),[_,L]=r.useState("system"!==f?f:"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),N=r.useRef(null),I=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),F=r.useRef(null),V=r.useRef(!1),z=r.useCallback(e=>{A(t=>{var n;return(null==(n=t.find(t=>t.id===e.id))?void 0:n.delete)||p.dismiss(e.id),t.filter(({id:t})=>t!==e.id)})},[]);return r.useEffect(()=>p.subscribe(e=>{e.dismiss?requestAnimationFrame(()=>{A(t=>t.map(t=>t.id===e.id?{...t,delete:!0}:t))}):setTimeout(()=>{i.flushSync(()=>{A(t=>{let n=t.findIndex(t=>t.id===e.id);return -1!==n?[...t.slice(0,n),{...t[n],...e},...t.slice(n+1)]:[e,...t]})})})}),[P]),r.useEffect(()=>{if("system"!==f)return void L(f);if("system"===f&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?L("dark"):L("light")),"undefined"==typeof window)return;let e=window.matchMedia("(prefers-color-scheme: dark)");try{e.addEventListener("change",({matches:e})=>{e?L("dark"):L("light")})}catch(t){e.addListener(({matches:e})=>{try{e?L("dark"):L("light")}catch(e){console.error(e)}})}},[f]),r.useEffect(()=>{P.length<=1&&R(!1)},[P]),r.useEffect(()=>{let e=e=>{var t,n;a.every(t=>e[t]||e.code===t)&&(R(!0),null==(n=N.current)||n.focus()),"Escape"===e.code&&(document.activeElement===N.current||(null==(t=N.current)?void 0:t.contains(document.activeElement)))&&R(!1)};return document.addEventListener("keydown",e),()=>document.removeEventListener("keydown",e)},[a]),r.useEffect(()=>{if(N.current)return()=>{F.current&&(F.current.focus({preventScroll:!0}),F.current=null,V.current=!1)}},[N.current]),r.createElement("section",{ref:t,"aria-label":`${E} ${I}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},C.map((t,i)=>{var o;let a,[f,p]=t.split("-");return P.length?r.createElement("ol",{key:t,dir:"auto"===w?x():w,tabIndex:-1,ref:N,className:u,"data-sonner-toaster":!0,"data-sonner-theme":_,"data-y-position":f,"data-x-position":p,style:{"--front-toast-height":`${(null==(o=T[0])?void 0:o.height)||0}px`,"--width":"356px","--gap":`${k}px`,...g,...(a={},[c,d].forEach((e,t)=>{let n=1===t,r=n?"--mobile-offset":"--offset",i=n?"16px":"24px";function o(e){["top","right","bottom","left"].forEach(t=>{a[`${r}-${t}`]="number"==typeof e?`${e}px`:e})}"number"==typeof e||"string"==typeof e?o(e):"object"==typeof e?["top","right","bottom","left"].forEach(t=>{void 0===e[t]?a[`${r}-${t}`]=i:a[`${r}-${t}`]="number"==typeof e[t]?`${e[t]}px`:e[t]}):o(i)}),a)},onBlur:e=>{V.current&&!e.currentTarget.contains(e.relatedTarget)&&(V.current=!1,F.current&&(F.current.focus({preventScroll:!0}),F.current=null))},onFocus:e=>{!(e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible)&&(V.current||(V.current=!0,F.current=e.relatedTarget))},onMouseEnter:()=>R(!0),onMouseMove:()=>R(!0),onMouseLeave:()=>{O||R(!1)},onDragEnd:()=>R(!1),onPointerDown:e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||D(!0)},onPointerUp:()=>D(!1)},P.filter(e=>!e.position&&0===i||e.position===t).map((i,o)=>{var a,u;
1return r.createElement(b,{key:i.id,icons:S,index:o,toast:i,defaultRichColors:h,duration:null!=(a=null==y?void 0:y.duration)?a:m,className:null==y?void 0:y.className,descriptionClassName:null==y?void 0:y.descriptionClassName,invert:n,visibleToasts:v,closeButton:null!=(u=null==y?void 0:y.closeButton)?u:l,interacting:O,position:t,style:null==y?void 0:y.style,unstyled:null==y?void 0:y.unstyled,classNames:null==y?void 0:y.classNames,cancelButtonStyle:null==y?void 0:y.cancelButtonStyle,actionButtonStyle:null==y?void 0:y.actionButtonStyle,closeButtonAriaLabel:null==y?void 0:y.closeButtonAriaLabel,removeToast:z,toasts:P.filter(e=>e.position==i.position),heights:T.filter(e=>e.position==i.position),setHeights:j,expandByDefault:s,gap:k,expanded:M,swipeDirections:e.swipeDirections})})):null}))})},15604:(e,t,n)=>{"use strict";n.d(t,{$:()=>i,V:()=>o});var r=n(58893);let i=r.l,o=r.l},16447:(e,t,n)=>{e.exports=n(73308)},18721:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},22405:(e,t,n)=>{"use strict";n.d(t,{Oh:()=>o});var r=n(96810),i=0;function o(){r.useEffect(()=>{let e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??a()),document.body.insertAdjacentElement("beforeend",e[1]??a()),i++,()=>{1===i&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),i--}},[])}function a(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}},24182:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});let r="undefined"!=typeof window},25100:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});let r=n(6010),i=n(20470);function o({config:e,src:t,width:n,quality:o}){if(t.startsWith("/")&&t.includes("?")&&e.localPatterns?.length===1&&"**"===e.localPatterns[0].pathname&&""===e.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${t}" is using a query string which is not configured in images.localPatterns.
2Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let a=(0,r.findClosestQuality)(o,e),s=(0,i.getDeploymentId)();return`${e.path}?url=${encodeURIComponent(t)}&w=${n}&q=${a}${t.startsWith("/")&&s?`&dpl=${s}`:""}`}o.__next_img_default=!0;let a=o},27245:(e,t,n)=>{"use strict";n.d(t,{A:()=>X});var r,i,o,a,s,l,u,c=n(54193),d=n(96810),f="right-scroll-bar-position",h="width-before-scroll-bar";function p(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var m="undefined"!=typeof window?d.useLayoutEffect:d.useEffect,g=new WeakMap,v=(void 0===r&&(r={}),(void 0===i&&(i=function(e){return e}),o=[],a=!1,s={read:function(){if(a)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return o.length?o[o.length-1]:null},useMedium:function(e){var t=i(e,a);return o.push(t),function(){o=o.filter(function(e){return e!==t})}},assignSyncMedium:function(e){for(a=!0;o.length;){var t=o;o=[],t.forEach(e)}o={push:function(t){return e(t)},filter:function(){return o}}},assignMedium:function(e){a=!0;var t=[];if(o.length){var n=o;o=[],n.forEach(e),t=o}var r=function(){var n=t;t=[],n.forEach(e)},i=function(){return Promise.resolve().then(r)};i(),o={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),o}}}}).options=(0,c.__assign)({async:!0,ssr:!1},r),s),y=function(){},b=d.forwardRef(function(e,t){var n,r,i,o,a=d.useRef(null),s=d.useState({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:y}),l=s[0],u=s[1],f=e.forwardProps,h=e.children,b=e.className,x=e.removeScrollBar,w=e.enabled,k=e.shards,S=e.sideCar,E=e.noRelative,P=e.noIsolation,A=e.inert,C=e.allowPinchZoom,T=e.as,j=e.gapMode,M=(0,c.__rest)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),R=(n=[a,t],r=function(e){return n.forEac
2h(function(t){return p(t,e)})},(i=(0,d.useState)(function(){return{value:null,callback:r,facade:{get current(){return i.value},set current(value){var e=i.value;e!==value&&(i.value=value,i.callback(value,e))}}}})[0]).callback=r,o=i.facade,m(function(){var e=g.get(o);if(e){var t=new Set(e),r=new Set(n),i=o.current;t.forEach(function(e){r.has(e)||p(e,null)}),r.forEach(function(e){t.has(e)||p(e,i)})}g.set(o,n)},[n]),o),O=(0,c.__assign)((0,c.__assign)({},M),l);return d.createElement(d.Fragment,null,w&&d.createElement(S,{sideCar:v,removeScrollBar:x,shards:k,noRelative:E,noIsolation:P,inert:A,setCallbacks:u,allowPinchZoom:!!C,lockRef:a,gapMode:j}),f?d.cloneElement(d.Children.only(h),(0,c.__assign)((0,c.__assign)({},O),{ref:R})):d.createElement(void 0===T?"div":T,(0,c.__assign)({},O,{className:b,ref:R}),h))});b.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},b.classNames={fullWidth:h,zeroRight:f};var x=function(e){var t=e.sideCar,n=(0,c.__rest)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw Error("Sidecar medium not found");return d.createElement(r,(0,c.__assign)({},n))};x.isSideCarExport=!0;var w=function(){var e=0,t=null;return{add:function(r){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=u||n.nc;return t&&e.setAttribute("nonce",t),e}())){var i,o;(i=t).styleSheet?i.styleSheet.cssText=r:i.appendChild(document.createTextNode(r)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},k=function(){var e=w();return function(t,n){d.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},S=function(){var e=k();return function(t){return e(t.styles,t.dynamic),null}},E={left:0,top:0,right:0,gap:0},P=function(e){return parseInt(e||"",10)||0},A=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],i=t["padding"===e?"paddingRight":"marginRight"];return[P(n),P(r),P(i)]},C=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return E;var t=A(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},T=S(),j="data-scroll-locked",M=function(e,t,n,r){var i=e.left,o=e.top,a=e.right,s=e.gap;return void 0===n&&(n="margin"),"\n  .".concat("with-scroll-bars-hidden"," {\n   overflow: hidden ").concat(r,";\n   padding-right: ").concat(s,"px ").concat(r,";\n  }\n  body[").concat(j,"] {\n    overflow: hidden ").concat(r,";\n    overscroll-behavior: contain;\n    ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n    padding-left: ".concat(i,"px;\n    padding-top: ").concat(o,"px;\n    padding-right: ").concat(a,"px;\n    margin-left:0;\n    margin-top:0;\n    margin-right: ").concat(s,"px ").concat(r,";\n    "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n  }\n  \n  .").concat(f," {\n    right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(h," {\n    margin-right: ").concat(s,"px ").concat(r,";\n  }\n  \n  .").concat(f," .").concat(f," {\n    right: 0 ").concat(r,";\n  }\n  \n  .").concat(h," .").concat(h," {\n    margin-right: 0 ").concat(r,";\n  }\n  \n  body[").concat(j,"] {\n    ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n  }\n")},R=function(){var e=parseInt(document.body.getAttribute(j)||"0",10);return isFinite(e)?e:0},O=function(){d.useEffect(function(){return document.body.setAttribute(j,(R()+1).toString()),function(){var e=R()-1;e<=0?document.body.removeAttribute(j):document.body.setAttribute(j,e.toString())}},[])},D=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=void 0===r?"margin":r;O();var o=d.useMemo(function(){return C(i)},[i]);return d.createElement(T,{styles:M(o,!t,i,n?"":"!important")})},_=!1;if("undefined"!=typeof window)try{var L=Object.defineProperty({},"passive",{get:function(){return _=!0,!0}});window.addEventListener("test",L,L),window.removeEventListener("test",L,L)}catch(e){_=!1}var N=!!_&&{passive:!1},I=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&(n.overflowY!==n.overflowX||"TEXTAREA"===e.tagName||"visible"!==n[t])},F=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),V(e,r)){var i=z(e,r);if(i[1]>i[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},V=function(e,t){return"v"===e?I(t,"overflowY"):I(t,"overflowX")},z=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},B=function(e,t,n,r,i){var o,a=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),s=a*r,l=n.target,u=t.contains(l),c=!1,d=s>0,f=0,h=0;
2do{if(!l)break;var p=z(e,l),m=p[0],g=p[1]-p[2]-a*m;(m||g)&&V(e,l)&&(f+=g,h+=m);var v=l.parentNode;l=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!u&&l!==document.body||u&&(t.contains(l)||t===l));return d&&(i&&1>Math.abs(f)||!i&&s>f)?c=!0:!d&&(i&&1>Math.abs(h)||!i&&-s>h)&&(c=!0),c},U=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},H=function(e){return[e.deltaX,e.deltaY]},$=function(e){return e&&"current"in e?e.current:e},W=0,q=[];let Y=(l=function(e){var t=d.useRef([]),n=d.useRef([0,0]),r=d.useRef(),i=d.useState(W++)[0],o=d.useState(S)[0],a=d.useRef(e);d.useEffect(function(){a.current=e},[e]),d.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var t=(0,c.__spreadArray)([e.lockRef.current],(e.shards||[]).map($),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var s=d.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!a.current.allowPinchZoom;var i,o=U(e),s=n.current,l="deltaX"in e?e.deltaX:s[0]-o[0],u="deltaY"in e?e.deltaY:s[1]-o[1],c=e.target,d=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===d&&"range"===c.type)return!1;var f=F(d,c);if(!f)return!0;if(f?i=d:(i="v"===d?"h":"v",f=F(d,c)),!f)return!1;if(!r.current&&"changedTouches"in e&&(l||u)&&(r.current=i),!i)return!0;var h=r.current||i;return B(h,t,e,"h"===h?l:u,!0)},[]),l=d.useCallback(function(e){if(q.length&&q[q.length-1]===o){var n="deltaY"in e?H(e):U(e),r=t.current.filter(function(t){var r;return t.name===e.type&&(t.target===e.target||e.target===t.shadowParent)&&(r=t.delta,r[0]===n[0]&&r[1]===n[1])})[0];if(r&&r.should){e.cancelable&&e.preventDefault();return}if(!r){var i=(a.current.shards||[]).map($).filter(Boolean).filter(function(t){return t.contains(e.target)});(i.length>0?s(e,i[0]):!a.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=d.useCallback(function(e,n,r,i){var o={name:e,delta:n,target:r,should:i,shadowParent:function(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),f=d.useCallback(function(e){n.current=U(e),r.current=void 0},[]),h=d.useCallback(function(t){u(t.type,H(t),t.target,s(t,e.lockRef.current))},[]),p=d.useCallback(function(t){u(t.type,U(t),t.target,s(t,e.lockRef.current))},[]);d.useEffect(function(){return q.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:p}),document.addEventListener("wheel",l,N),document.addEventListener("touchmove",l,N),document.addEventListener("touchstart",f,N),function(){q=q.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,N),document.removeEventListener("touchmove",l,N),document.removeEventListener("touchstart",f,N)}},[]);var m=e.removeScrollBar,g=e.inert;return d.createElement(d.Fragment,null,g?d.createElement(o,{styles:"\n  .block-interactivity-".concat(i," {pointer-events: none;}\n  .allow-interactivity-").concat(i," {pointer-events: all;}\n")}):null,m?d.createElement(D,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},v.useMedium(l),x);var K=d.forwardRef(function(e,t){return d.createElement(b,(0,c.__assign)({},e,{ref:t,sideCar:Y}))});K.classNames=b.classNames;let X=K},28843:function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(e){var t=[function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.default=((r=n(1))&&r.__esModule?r:{default:r}).default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(2),s=(r=a)&&r.__esModule?r:{default:r};t.default=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.smoothScroll=n.smoothScroll.bind(n),n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),o(t,[{key:"c
2omponentDidMount",value:function(){n(3).polyfill()}},{key:"smoothScroll",value:function(e){var t=this;e.preventDefault();var n=function(){return 0};void 0!==this.props.offset&&(n=this.props.offset&&this.props.offset.constructor&&this.props.offset.apply?this.props.offset:function(){return parseInt(t.props.offset)});var r=e.currentTarget.getAttribute("href").slice(1),i=document.getElementById(r).getBoundingClientRect().top+window.pageYOffset;window.scroll({top:i-n(),behavior:"smooth"}),this.props.onClick&&this.props.onClick(e)}},{key:"render",value:function(){var e=this.props,t=(e.offset,function(e,t){var n={};for(var r in e)!(t.indexOf(r)>=0)&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["offset"]));return s.default.createElement("a",i({},t,{onClick:this.smoothScroll}))}}]),t}(a.Component)},function(t,n){t.exports=e},function(e,t,n){!function(){"use strict";e.exports={polyfill:function(){var e=window,t=document;if(!("scrollBehavior"in t.documentElement.style)||!0===e.__forceSmoothScrollPolyfill__){var n,r=e.HTMLElement||e.Element,i=468,o={scroll:e.scroll||e.scrollTo,scrollBy:e.scrollBy,elementScroll:r.prototype.scroll||l,scrollIntoView:r.prototype.scrollIntoView},a=e.performance&&e.performance.now?e.performance.now.bind(e.performance):Date.now,s=+(n=e.navigator.userAgent,!!RegExp("MSIE |Trident/|Edge/").test(n));e.scroll=e.scrollTo=function(){if(void 0!==arguments[0]){if(!0===u(arguments[0]))return void o.scroll.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:e.scrollY||e.pageYOffset);f.call(e,t.body,void 0!==arguments[0].left?~~arguments[0].left:e.scrollX||e.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:e.scrollY||e.pageYOffset)}},e.scrollBy=function(){if(void 0!==arguments[0]){if(u(arguments[0]))return void o.scrollBy.call(e,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0);f.call(e,t.body,~~arguments[0].left+(e.scrollX||e.pageXOffset),~~arguments[0].top+(e.scrollY||e.pageYOffset))}},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0]){if(!0===u(arguments[0])){if("number"==typeof arguments[0]&&void 0===arguments[1])throw SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop);return}var e=arguments[0].left,t=arguments[0].top;f.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}},r.prototype.scrollBy=function(){if(void 0!==arguments[0]){if(!0===u(arguments[0]))return void o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop);this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior})}},r.prototype.scrollIntoView=function(){if(!0===u(arguments[0]))return void o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0]);var n=function(e){var n;do n=(e=e.parentNode)===t.body;while(!1===n&&!1===function(e){var t=c(e,"Y")&&d(e,"Y"),n=c(e,"X")&&d(e,"X");return t||n}(e));return n=null,e}(this),r=n.getBoundingClientRect(),i=this.getBoundingClientRect();n!==t.body?(f.call(this,n,n.scrollLeft+i.left-r.left,n.scrollTop+i.top-r.top),"fixed"!==e.getComputedStyle(n).position&&e.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):e.scrollBy({left:i.left,top:i.top,behavior:"smooth"})}}function l(e,t){this.scrollLeft=e,this.scrollTop=t}function u(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function c(e,t){return"Y"===t?e.clientHeight+s<e.scrollHeight:"X"===t?e.clientWidth+s<e.scrollWidth:void 0}function d(t,n){var r=e.getComputedStyle(t,null)["overflow"+n];return"auto"===r||"scroll"===r}function f(n,r,s){var u,c,d,f,h=a();n===t.body?(u=e,c=e.scrollX||e.pageXOffset,d=e.scrollY||e.pageYOffset,f=o.scroll):(u=n,c=n.scrollLeft,d=n.scrollTop,f=l),function t(n){var r,o,s,l=(a()-n.startTime)/i;r=.5*(1-Math.cos(Math.PI*(l=l>1?1:l))),o=n.startX+(n.x-n.startX)*r,s=n.startY+(n.y-n.startY)*r,n.method.call(n.scrollable,o,s),(o!==n.x||s!==n.y)&&e.requestAnimationFrame(t.bind(e,n))}({scrollable:u,method:f,startTime:h,startX:c,startY:d,x:r,y:s})}}}}()}],n={};function r(e){if(n[e])return n[e].exports;var i=n[e]={i:e,l:!1,exports:{}};return t[e].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=n,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})}
2,r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=0)}(n(96810))},30303:(e,t,n)=>{"use strict";n.d(t,{w:()=>c});var r=n(73154),i=n(96810),o=n(4728),a="horizontal",s=["horizontal","vertical"],l=i.forwardRef((e,t)=>{var n;let{decorative:i,orientation:l=a,...u}=e,c=(n=l,s.includes(n))?l:a;return(0,r.jsx)(o.sG.div,{"data-orientation":c,...i?{role:"none"}:{"aria-orientation":"vertical"===c?c:void 0,role:"separator"},...u,ref:t})});l.displayName="Separator";var u=n(53943);let c=i.forwardRef(({className:e,orientation:t="horizontal",decorative:n=!0,...i},o)=>(0,r.jsx)(l,{ref:o,decorative:n,orientation:t,className:(0,u.cn)("shrink-0 bg-neutral-200 dark:bg-neutral-800","horizontal"===t?"h-[1px] w-full":"h-full w-[1px]",e),...i}));c.displayName=l.displayName},32127:e=>{e.exports={spinner:"loader_spinner__XXF0P"}},33944:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return n(64422)}])},34037:(e,t,n)=>{"use strict";n.d(t,{TL:()=>a});var r=n(96810),i=n(60517),o=n(73154);function a(e){var t;let n,a=(t=e,(n=r.forwardRef((e,t)=>{let{children:n,...o}=e;if(r.isValidElement(n)){var a;let e,s,l=(a=n,(s=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(s=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),u=function(e,t){let n={...t};for(let r in t){let i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...e)=>{let t=o(...e);return i(...e),t}:i&&(n[r]=i):"style"===r?n[r]={...i,...o}:"className"===r&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}(o,n.props);return n.type!==r.Fragment&&(u.ref=t?(0,i.t)(t,l):l),r.cloneElement(n,u)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${t}.SlotClone`,n),s=r.forwardRef((e,t)=>{let{children:n,...i}=e,s=r.Children.toArray(n),u=s.find(l);if(u){let e=u.props.children,n=s.map(t=>t!==u?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,o.jsx)(a,{...i,ref:t,children:r.isValidElement(e)?r.cloneElement(e,void 0,n):null})}return(0,o.jsx)(a,{...i,ref:t,children:n})});return s.displayName=`${e}.Slot`,s}var s=Symbol("radix.slottable");function l(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}},36060:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(60206)),i=n(85716);function o(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}o.default=o,e.exports=o},36854:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(96810),i=globalThis?.document?r.useLayoutEffect:()=>{}},38713:e=>{e.exports={button:"button_button__8MVwf"}},41137:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={default:function(){return E},useLinkStatus:function(){return S}};for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]});let o=n(65991),a=n(73154),s=o._(n(96810)),l=n(75695),u=n(95247),c=n(56178),d=n(56984),f=n(37909),h=n(43706),p=n(94594),m=n(5295),g=n(67582),v=n(56763);n(18721);let y=new Set;function b(e,t,n,r){if((0,u.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(y.has(i))return;y.add(i)}e.prefetch(t,n,r).catch(e=>{})}}function x(e){return"string"==typeof e?e:(0,c.formatUrl)(e)}let w=s.default.forwardRef(function(e,t){let n,r,{href:i,as:o,children:c,prefetch:y=null,passHref:w,replace:k,shallow:S,scroll:E,locale:P,onClick:A,onNavigate:C,onMouseEnter:T,onTouchStart:j,legacyBehavior:M=!1,...R}=e;n=c,M&&("string"==typeof n||"number"==typeof n)&&(n=(0,a.jsx)("a",{children:n}));let O=s.default.useContext(h.RouterContext),D=!1!==y,{href:_,as:L}=s.default.useMemo(()=>{if(!O){let e=x(i);return{href:e,as:o?x(o):e}}let[e,t]=(0,l.resolveHref)(O,i,!0);return{href:e,as:o?(0,l.resolveHref)(O,o):t||e}},[O,i,o]),N=s.default.useRef(_),I=s.default.useRef(L);M&&(r=s.default.Children.only(n));let F=M?r&&"object"==typeof r&&r.ref:t,[V,z,B]=(0,p.useIntersection)({rootMargin:"200px"}),U=s.default.useCallback(e=>{(I.current!==L||N.current!==_)&&(B(),I.current=L,N.current=_),V(e)},[L,_,B,V]),H=(0,v.useMergedRef)(U,F);s.default.useEffect(()=>{!O||z&&D&&b(O,_,L,{locale:P})},[L,_,z,P,D,O?.locale,O]);let $={ref:H,onClick(e){M||"function"!=typeof A||A(e),M&&r.props&&"function"==typeof r.props.onClick&&r.props.onClick(e),!O||e.defaultPrevented||function(e,t,n,r,i,o,a,s,l){let c,{nodeName:d}=e.currentTarget;if(!("A"===d.toUpperCase()&&((c=e.currentTarget.getAttribute("target"))&&"_self"!==c||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))){if
2(!(0,u.isLocalURL)(n)){i&&(e.preventDefault(),location.replace(n));return}e.preventDefault(),(()=>{if(l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let e=a??!0;"beforePopState"in t?t[i?"replace":"push"](n,r,{shallow:o,locale:s,scroll:e}):t[i?"replace":"push"](r||n,{scroll:e})})()}}(e,O,_,L,k,S,E,P,C)},onMouseEnter(e){M||"function"!=typeof T||T(e),M&&r.props&&"function"==typeof r.props.onMouseEnter&&r.props.onMouseEnter(e),O&&b(O,_,L,{locale:P,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){M||"function"!=typeof j||j(e),M&&r.props&&"function"==typeof r.props.onTouchStart&&r.props.onTouchStart(e),O&&b(O,_,L,{locale:P,priority:!0,bypassPrefetchedCheck:!0})}};if((0,d.isAbsoluteUrl)(L))$.href=L;else if(!M||w||"a"===r.type&&!("href"in r.props)){let e=void 0!==P?P:O?.locale;$.href=O?.isLocaleDomain&&(0,m.getDomainLocale)(L,e,O?.locales,O?.domainLocales)||(0,g.addBasePath)((0,f.addLocale)(L,e,O?.defaultLocale))}return M?s.default.cloneElement(r,$):(0,a.jsx)("a",{...R,...$,children:n})}),k=(0,s.createContext)({pending:!1}),S=()=>(0,s.useContext)(k),E=w;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41432:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return u}}),n(5377);let r=n(20470),i=n(3205),o=n(26257),a=["-moz-initial","fill","none","scale-down",void 0];function s(e){return void 0!==e.default}function l(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u({src:e,sizes:t,unoptimized:n=!1,priority:u=!1,preload:c=!1,loading:d,className:f,quality:h,width:p,height:m,fill:g=!1,style:v,overrideSrc:y,onLoad:b,onLoadingComplete:x,placeholder:w="empty",blurDataURL:k,fetchPriority:S,decoding:E="async",layout:P,objectFit:A,objectPosition:C,lazyBoundary:T,lazyRoot:j,...M},R){var O;let D,_,L,{imgConf:N,showAltText:I,blurComplete:F,defaultLoader:V}=R,z=N||o.imageConfigDefault;if("allSizes"in z)D=z;else{let e=[...z.deviceSizes,...z.imageSizes].sort((e,t)=>e-t),t=z.deviceSizes.sort((e,t)=>e-t),n=z.qualities?.sort((e,t)=>e-t);D={...z,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===V)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let B=M.loader||V;delete M.loader,delete M.srcSet;let U="__next_img_default"in B;if(U){if("custom"===D.loader)throw Object.defineProperty(Error(`Image with src "${e}" is missing "loader" prop.
3Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=B;B=t=>{let{config:n,...r}=t;return e(r)}}if(P){"fill"===P&&(g=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(v={...v,...e});let n={responsive:"100vw",fill:"100vw"}[P];n&&!t&&(t=n)}let H="",$=l(p),W=l(m);if((O=e)&&"object"==typeof O&&(s(O)||void 0!==O.src)){let t=s(e)?e.default:e;if(!t.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!t.height||!t.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(t)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(_=t.blurWidth,L=t.blurHeight,k=k||t.blurDataURL,H=t.src,!g)if($||W){if($&&!W){let e=$/t.width;W=Math.round(t.height*e)}else if(!$&&W){let e=W/t.height;$=Math.round(t.width*e)}}else $=t.width,W=t.height}let q=!u&&!c&&("lazy"===d||void 0===d);(!(e="string"==typeof e?e:H)||e.startsWith("data:")||e.startsWith("blob:"))&&(n=!0,q=!1),D.unoptimized&&(n=!0),U&&
3!D.dangerouslyAllowSVG&&e.split("?",1)[0].endsWith(".svg")&&(n=!0);let Y=l(h),K=Object.assign(g?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:A,objectPosition:C}:{},I?{}:{color:"transparent"},v),X=F||"empty"===w?null:"blur"===w?`url("data:image/svg+xml;charset=utf-8,${(0,i.getImageBlurSvg)({widthInt:$,heightInt:W,blurWidth:_,blurHeight:L,blurDataURL:k||"",objectFit:K.objectFit})}")`:`url("${w}")`,G=a.includes(K.objectFit)?"fill"===K.objectFit?"100% 100%":"cover":K.objectFit,Z=X?{backgroundSize:G,backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:X}:{},Q=function({config:e,src:t,unoptimized:n,width:i,quality:o,sizes:a,loader:s}){if(n){let e=(0,r.getDeploymentId)();if(t.startsWith("/")&&!t.startsWith("//")&&e){let n=t.includes("?")?"&":"?";t=`${t}${n}dpl=${e}`}return{src:t,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:e,allSizes:t},n,r){if(r){let n=/(^|\s)(1?\d?\d)vw/g,i=[];for(let e;e=n.exec(r);)i.push(parseInt(e[2]));if(i.length){let n=.01*Math.min(...i);return{widths:t.filter(t=>t>=e[0]*n),kind:"w"}}return{widths:t,kind:"w"}}return"number"!=typeof n?{widths:e,kind:"w"}:{widths:[...new Set([n,2*n].map(e=>t.find(t=>t>=e)||t[t.length-1]))],kind:"x"}}(e,i,a),c=l.length-1;return{sizes:a||"w"!==u?a:"100vw",srcSet:l.map((n,r)=>`${s({config:e,src:t,quality:o,width:n})} ${"w"===u?n:r+1}${u}`).join(", "),src:s({config:e,src:t,quality:o,width:l[c]})}}({config:D,src:e,unoptimized:n,width:$,quality:Y,sizes:t,loader:B}),J=q?"lazy":d;return{props:{...M,loading:J,fetchPriority:S,width:$,height:W,decoding:E,className:f,style:{...K,...Z},sizes:Q.sizes,srcSet:Q.srcSet,src:y||Q.src},meta:{unoptimized:n,preload:c||u,placeholder:w,fill:g}}}},42155:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}(n)))}return e}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=(function(){return i}).apply(t,[]))||(e.exports=n)}()},42167:()=>{},42311:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});var r=n(96810);function i(e){let t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},42739:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,q:()=>o});var r=n(96810),i=n(73154);function o(e,t){let n=r.createContext(t),o=e=>{let{children:t,...o}=e,a=r.useMemo(()=>o,Object.values(o));return(0,i.jsx)(n.Provider,{value:a,children:t})};return o.displayName=e+"Provider",[o,function(i){let o=r.useContext(n);if(o)return o;if(void 0!==t)return t;throw Error(`\`${i}\` must be used within \`${e}\``)}]}function a(e,t=[]){let n=[],o=()=>{let t=n.map(e=>r.createContext(e));return function(n){let i=n?.[e]||t;return r.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(t,o){let a=r.createContext(o),s=n.length;n=[...n,o];let l=t=>{let{scope:n,children:o,...l}=t,u=n?.[e]?.[s]||a,c=r.useMemo(()=>l,Object.values(l));return(0,i.jsx)(u.Provider,{value:c,children:o})};return l.displayName=t+"Provider",[l,function(n,i){let l=i?.[e]?.[s]||a,u=r.useContext(l);if(u)return u;if(void 0!==o)return o;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return r.useMemo(()=>({[`__scope${t.scopeName}`]:i}),[i])}};return n.scopeName=t.scopeName,n}(o,...t)]}},45202:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r={src:"/_next/static/media/cube-logo.6e90fa94.png",height:185,width:163,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAaVBMVEVVVUFgOSH8ugqYmKGWkKXs6ONqmMRsq+SMlKTb29/R0diyoq+5ucDu2d6+v8ZRfKSvWnCScZJkiLPDj7eelIm7pWqqfiCFfV5/oK63iyHJmCDm5+z7+/trmsv3gqG0x9dwt+24zOXqsiUvT1aiAAAAG3RSTlMBFP6c/P79/kX8+cek/PyNZtnc/dD9b+P8mu5DpOWZAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAP0lEQVR4nAXBBwLAEBAAwSU40ntD2v8fmRnUca4Am9bf7CHvi42pxsmb2hRwclsTSrKYJsaC8ZmuyoPqhh74AWZRAxAUgmWAAAAAAElFTkSuQmCC",blurWidth:7,blurHeight:8}},46117:(e,t,n)=>{"use strict";n.d(t,{AM:()=>tP,Rp:()=>tC,hl:()=>tT,Wv:()=>tA});var r=n(73154),i=n(96810),o=n(90387),a=n(60517),s=n(42739),l=n(69940),u=n(22405),c=n(70679),d=n(52810);let f=["top","right","bottom","left"],h=Math.min,p=Math.max,m=Math.round,g=Math.floor,v=e=>({x:e,y:e}
3),y={left:"right",right:"left",bottom:"top",top:"bottom"},b={start:"end",end:"start"};function x(e,t){return"function"==typeof e?e(t):e}function w(e){return e.split("-")[0]}function k(e){return e.split("-")[1]}function S(e){return"x"===e?"y":"x"}function E(e){return"y"===e?"height":"width"}let P=new Set(["top","bottom"]);function A(e){return P.has(w(e))?"y":"x"}function C(e){return e.replace(/start|end/g,e=>b[e])}let T=["left","right"],j=["right","left"],M=["top","bottom"],R=["bottom","top"];function O(e){return e.replace(/left|right|bottom|top/g,e=>y[e])}function D(e){return"number"!=typeof e?{top:0,right:0,bottom:0,left:0,...e}:{top:e,right:e,bottom:e,left:e}}function _(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function L(e,t,n){let r,{reference:i,floating:o}=e,a=A(t),s=S(A(t)),l=E(s),u=w(t),c="y"===a,d=i.x+i.width/2-o.width/2,f=i.y+i.height/2-o.height/2,h=i[l]/2-o[l]/2;switch(u){case"top":r={x:d,y:i.y-o.height};break;case"bottom":r={x:d,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:f};break;case"left":r={x:i.x-o.width,y:f};break;default:r={x:i.x,y:i.y}}switch(k(t)){case"start":r[s]-=h*(n&&c?-1:1);break;case"end":r[s]+=h*(n&&c?-1:1)}return r}let N=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:a}=n,s=o.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=L(u,r,l),f=r,h={},p=0;for(let n=0;n<s.length;n++){let{name:o,fn:m}=s[n],{x:g,y:v,data:y,reset:b}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=g?g:c,d=null!=v?v:d,h={...h,[o]:{...h[o],...y}},b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(u=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):b.rects),{x:c,y:d}=L(u,f,l)),n=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}};async function I(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:o,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=x(t,e),p=D(h),m=s[f?"floating"===d?"reference":"floating":d],g=_(await o.getClippingRect({element:null==(n=await (null==o.isElement?void 0:o.isElement(m)))||n?m:m.contextElement||await (null==o.getDocumentElement?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),v="floating"===d?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,y=await (null==o.getOffsetParent?void 0:o.getOffsetParent(s.floating)),b=await (null==o.isElement?void 0:o.isElement(y))&&await (null==o.getScale?void 0:o.getScale(y))||{x:1,y:1},w=_(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-w.top+p.top)/b.y,bottom:(w.bottom-g.bottom+p.bottom)/b.y,left:(g.left-w.left+p.left)/b.x,right:(w.right-g.right+p.right)/b.x}}function F(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function V(e){return f.some(t=>e[t]>=0)}let z=new Set(["left","top"]);async function B(e,t){let{placement:n,platform:r,elements:i}=e,o=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=w(n),s=k(n),l="y"===A(n),u=z.has(a)?-1:1,c=o&&l?-1:1,d=x(t,e),{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}function U(){return"undefined"!=typeof window}function H(e){return q(e)?(e.nodeName||"").toLowerCase():"#document"}function $(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function W(e){var t;return null==(t=(q(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function q(e){return!!U()&&(e instanceof Node||e instanceof $(e).Node)}function Y(e){return!!U()&&(e instanceof Element||e instanceof $(e).Element)}function K(e){return!!U()&&(e instanceof HTMLElement||e instanceof $(e).HTMLElement)}function X(e){return!!U()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof $(e).ShadowRoot)}let G=new Set(["inline","contents"]);function Z(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=el(e);
3return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!G.has(i)}let Q=new Set(["table","td","th"]),J=[":popover-open",":modal"];function ee(e){return J.some(t=>{try{return e.matches(t)}catch(e){return!1}})}let et=["transform","translate","scale","rotate","perspective"],en=["transform","translate","scale","rotate","perspective","filter"],er=["paint","layout","strict","content"];function ei(e){let t=eo(),n=Y(e)?el(e):e;return et.some(e=>!!n[e]&&"none"!==n[e])||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||en.some(e=>(n.willChange||"").includes(e))||er.some(e=>(n.contain||"").includes(e))}function eo(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}let ea=new Set(["html","body","#document"]);function es(e){return ea.has(H(e))}function el(e){return $(e).getComputedStyle(e)}function eu(e){return Y(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ec(e){if("html"===H(e))return e;let t=e.assignedSlot||e.parentNode||X(e)&&e.host||W(e);return X(t)?t.host:t}function ed(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);let i=function e(t){let n=ec(t);return es(n)?t.ownerDocument?t.ownerDocument.body:t.body:K(n)&&Z(n)?n:e(n)}(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=$(i);if(o){let e=ef(a);return t.concat(a,a.visualViewport||[],Z(i)?i:[],e&&n?ed(e):[])}return t.concat(i,ed(i,[],n))}function ef(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function eh(e){let t=el(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=K(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=m(n)!==o||m(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}function ep(e){return Y(e)?e:e.contextElement}function em(e){let t=ep(e);if(!K(t))return v(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:o}=eh(t),a=(o?m(n.width):n.width)/r,s=(o?m(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}let eg=v(0);function ev(e){let t=$(e);return eo()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:eg}function ey(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let o=e.getBoundingClientRect(),a=ep(e),s=v(1);t&&(r?Y(r)&&(s=em(r)):s=em(e));let l=(void 0===(i=n)&&(i=!1),r&&(!i||r===$(a))&&i)?ev(a):v(0),u=(o.left+l.x)/s.x,c=(o.top+l.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(a){let e=$(a),t=r&&Y(r)?$(r):r,n=e,i=ef(n);for(;i&&r&&t!==n;){let e=em(i),t=i.getBoundingClientRect(),r=el(i),o=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,c*=e.y,d*=e.x,f*=e.y,u+=o,c+=a,i=ef(n=$(i))}}return _({width:d,height:f,x:u,y:c})}function eb(e,t){let n=eu(e).scrollLeft;return t?t.left+n:ey(W(e)).left+n}function ex(e,t,n){void 0===n&&(n=!1);let r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:eb(e,r)),y:r.top+t.scrollTop}}let ew=new Set(["absolute","fixed"]);function ek(e,t,n){var r;let i;if("viewport"===t)i=function(e,t){let n=$(e),r=W(e),i=n.visualViewport,o=r.clientWidth,a=r.clientHeight,s=0,l=0;if(i){o=i.width,a=i.height;let e=eo();(!e||e&&"fixed"===t)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:o,height:a,x:s,y:l}}(e,n);else if("document"===t){let t,n,o,a,s,l,u;r=W(e),t=W(r),n=eu(r),o=r.ownerDocument.body,a=p(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),s=p(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight),l=-n.scrollLeft+eb(r),u=-n.scrollTop,"rtl"===el(o).direction&&(l+=p(t.clientWidth,o.clientWidth)-a),i={width:a,height:s,x:l,y:u}}else if(Y(t)){let e,r,o,a,s,l;r=(e=ey(t,!0,"fixed"===n)).top+t.clientTop,o=e.left+t.clientLeft,a=K(t)?em(t):v(1),s=t.clientWidth*a.x,l=t.clientHeight*a.y,i={width:s,height:l,x:o*a.x,y:r*a.y}}else{let n=ev(e);i={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return _(i)}function eS(e){return"static"===el(e).position}function eE(e,t){if(!K(e)||"fixed"===el(e).position)return null;if(t)return t(e);let n=e.offsetParent;return W(e)===n&&(n=n.ownerDocument.body),n}function eP(e,t){var n;let r=$(e);
3if(ee(e))return r;if(!K(e)){let t=ec(e);for(;t&&!es(t);){if(Y(t)&&!eS(t))return t;t=ec(t)}return r}let i=eE(e,t);for(;i&&(n=i,Q.has(H(n)))&&eS(i);)i=eE(i,t);return i&&es(i)&&eS(i)&&!ei(i)?r:i||function(e){let t=ec(e);for(;K(t)&&!es(t);){if(ei(t))return t;if(ee(t))break;t=ec(t)}return null}(e)||r}let eA=async function(e){let t=this.getOffsetParent||eP,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=K(t),i=W(t),o="fixed"===n,a=ey(e,!0,o,t),s={scrollLeft:0,scrollTop:0},l=v(0);if(r||!r&&!o)if(("body"!==H(t)||Z(i))&&(s=eu(t)),r){let e=ey(t,!0,o,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else i&&(l.x=eb(i));o&&!r&&i&&(l.x=eb(i));let u=!i||r||o?v(0):ex(i,s);return{x:a.left+s.scrollLeft-l.x-u.x,y:a.top+s.scrollTop-l.y-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},eC={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,o="fixed"===i,a=W(r),s=!!t&&ee(t.floating);if(r===a||s&&o)return n;let l={scrollLeft:0,scrollTop:0},u=v(1),c=v(0),d=K(r);if((d||!d&&!o)&&(("body"!==H(r)||Z(a))&&(l=eu(r)),K(r))){let e=ey(r);u=em(r),c.x=e.x+r.clientLeft,c.y=e.y+r.clientTop}let f=!a||d||o?v(0):ex(a,l,!0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-l.scrollTop*u.y+c.y+f.y}},getDocumentElement:W,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,o=[..."clippingAncestors"===n?ee(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=ed(e,[],!1).filter(e=>Y(e)&&"body"!==H(e)),i=null,o="fixed"===el(e).position,a=o?ec(e):e;for(;Y(a)&&!es(a);){let t=el(a),n=ei(a);n||"fixed"!==t.position||(i=null),(o?!n&&!i:!n&&"static"===t.position&&!!i&&ew.has(i.position)||Z(a)&&!n&&function e(t,n){let r=ec(t);return!(r===n||!Y(r)||es(r))&&("fixed"===el(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=ec(a)}return t.set(e,r),r}(t,this._c):[].concat(n),r],a=o[0],s=o.reduce((e,n)=>{let r=ek(t,n,i);return e.top=p(r.top,e.top),e.right=h(r.right,e.right),e.bottom=h(r.bottom,e.bottom),e.left=p(r.left,e.left),e},ek(t,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:eP,getElementRects:eA,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=eh(e);return{width:t,height:n}},getScale:em,isElement:Y,isRTL:function(e){return"rtl"===el(e).direction}};function eT(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}let ej=e=>({name:"arrow",options:e,async fn(t){let{x:n,y:r,placement:i,rects:o,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=x(e,t)||{};if(null==u)return{};let d=D(c),f={x:n,y:r},m=S(A(i)),g=E(m),v=await a.getDimensions(u),y="y"===m,b=y?"clientHeight":"clientWidth",w=o.reference[g]+o.reference[m]-f[m]-o.floating[g],P=f[m]-o.reference[m],C=await (null==a.getOffsetParent?void 0:a.getOffsetParent(u)),T=C?C[b]:0;T&&await (null==a.isElement?void 0:a.isElement(C))||(T=s.floating[b]||o.floating[g]);let j=T/2-v[g]/2-1,M=h(d[y?"top":"left"],j),R=h(d[y?"bottom":"right"],j),O=T-v[g]-R,_=T/2-v[g]/2+(w/2-P/2),L=p(M,h(_,O)),N=!l.arrow&&null!=k(i)&&_!==L&&o.reference[g]/2-(_<M?M:R)-v[g]/2<0,I=N?_<M?_-M:_-O:0;return{[m]:f[m]+I,data:{[m]:L,centerOffset:_-L-I,...N&&{alignmentOffset:I}},reset:N}}});var eM=n(62795),eR="undefined"!=typeof document?i.useLayoutEffect:function(){};function eO(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!eO(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!eO(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function eD(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function e_(e,t){let n=eD(e);return Math.round(t*n)/n}function eL(e){let t=i.useRef(e);return eR(()=>{t.current=e}),t}var eN=n(4728),eI=i.forwardRef((e,t)=>
3{let{children:n,width:i=10,height:o=5,...a}=e;return(0,r.jsx)(eN.sG.svg,{...a,ref:t,width:i,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,r.jsx)("polygon",{points:"0,0 30,0 15,10"})})});eI.displayName="Arrow";var eF=n(67174),eV=n(36854),ez=n(86878),eB="Popper",[eU,eH]=(0,s.A)(eB),[e$,eW]=eU(eB),eq=e=>{let{__scopePopper:t,children:n}=e,[o,a]=i.useState(null);return(0,r.jsx)(e$,{scope:t,anchor:o,onAnchorChange:a,children:n})};eq.displayName=eB;var eY="PopperAnchor",eK=i.forwardRef((e,t)=>{let{__scopePopper:n,virtualRef:o,...s}=e,l=eW(eY,n),u=i.useRef(null),c=(0,a.s)(t,u);return i.useEffect(()=>{l.onAnchorChange(o?.current||u.current)}),o?null:(0,r.jsx)(eN.sG.div,{...s,ref:c})});eK.displayName=eY;var eX="PopperContent",[eG,eZ]=eU(eX),eQ=i.forwardRef((e,t)=>{var n,o,s,l,u,c,d,f,m,v,y,b,P,D,_,L,U,H,$,q,Y;let{__scopePopper:K,side:X="bottom",sideOffset:G=0,align:Z="center",alignOffset:Q=0,arrowPadding:J=0,avoidCollisions:ee=!0,collisionBoundary:et=[],collisionPadding:en=0,sticky:er="partial",hideWhenDetached:ei=!1,updatePositionStrategy:eo="optimized",onPlaced:ea,...es}=e,el=eW(eX,K),[eu,ec]=i.useState(null),ef=(0,a.s)(t,e=>ec(e)),[eh,em]=i.useState(null),eg=(0,ez.X)(eh),ev=eg?.width??0,eb=eg?.height??0,ex="number"==typeof en?en:{top:0,right:0,bottom:0,left:0,...en},ew=Array.isArray(et)?et:[et],ek=ew.length>0,eS={padding:ex,boundary:ew.filter(e2),altBoundary:ek},{refs:eE,floatingStyles:eP,placement:eA,isPositioned:eI,middlewareData:eB}=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:u,open:c}=e,[d,f]=i.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=i.useState(r);eO(h,r)||p(r);let[m,g]=i.useState(null),[v,y]=i.useState(null),b=i.useCallback(e=>{e!==S.current&&(S.current=e,g(e))},[]),x=i.useCallback(e=>{e!==E.current&&(E.current=e,y(e))},[]),w=a||m,k=s||v,S=i.useRef(null),E=i.useRef(null),P=i.useRef(d),A=null!=u,C=eL(u),T=eL(o),j=eL(c),M=i.useCallback(()=>{var e,r;let i,o,a;if(!S.current||!E.current)return;let s={placement:t,strategy:n,middleware:h};T.current&&(s.platform=T.current),(e=S.current,r=E.current,i=new Map,a={...(o={platform:eC,...s}).platform,_c:i},N(e,r,{...o,platform:a})).then(e=>{let t={...e,isPositioned:!1!==j.current};R.current&&!eO(P.current,t)&&(P.current=t,eM.flushSync(()=>{f(t)}))})},[h,t,n,T,j]);eR(()=>{!1===c&&P.current.isPositioned&&(P.current.isPositioned=!1,f(e=>({...e,isPositioned:!1})))},[c]);let R=i.useRef(!1);eR(()=>(R.current=!0,()=>{R.current=!1}),[]),eR(()=>{if(w&&(S.current=w),k&&(E.current=k),w&&k){if(C.current)return C.current(w,k,M);M()}},[w,k,M,C,A]);let O=i.useMemo(()=>({reference:S,floating:E,setReference:b,setFloating:x}),[b,x]),D=i.useMemo(()=>({reference:w,floating:k}),[w,k]),_=i.useMemo(()=>{let e={position:n,left:0,top:0};if(!D.floating)return e;let t=e_(D.floating,d.x),r=e_(D.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...eD(D.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,D.floating,d.x,d.y]);return i.useMemo(()=>({...d,update:M,refs:O,elements:D,floatingStyles:_}),[d,M,O,D,_])}({strategy:"fixed",placement:X+("center"!==Z?"-"+Z:""),whileElementsMounted:(...e)=>(function(e,t,n,r){let i;void 0===r&&(r={});let{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:s="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,c=ep(e),d=o||a?[...c?ed(c):[],...ed(t)]:[];d.forEach(e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)});let f=c&&l?function(e,t){let n,r=null,i=W(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return!function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();let u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:m}=u;if(s||t(),!f||!m)return;let v={rootMargin:-g(d)+"px "+-g(i.clientWidth-(c+f))+"px "+-g(i.clientHeight-(d+m))+"px "+-g(c)+"px",threshold:p(0,h(1,l))||1},y=!0;function b(t){let r=t[0].intersectionRatio;if(r!==l){if(!y)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||eT(u,e.getBoundingClientRect())||a(),y=!1}try{r=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(b,v)}r.observe(e)}(!0),o}(c,n):null,m=-1,v=null;s&&(v=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&v&&(v.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=v)||e.observe(t)})),n()}),c&&!u&&v.observe(c),v.observe(t));let y=u?ey(e):null;return u&&function t(){let r=ey(e);y&&!eT(y,r)&&n(),y=r,i=requestAnimationFrame(t)}(),n(),()=>{var e;
3d.forEach(e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)}),null==f||f(),null==(e=v)||e.disconnect(),v=null,u&&cancelAnimationFrame(i)}})(...e,{animationFrame:"always"===eo}),elements:{reference:el.anchor},middleware:[{...{name:"offset",options:s=n={mainAxis:G+eb,alignmentAxis:Q},async fn(e){var t,n;let{x:r,y:i,placement:o,middlewareData:a}=e,l=await B(e,s);return o===(null==(t=a.offset)?void 0:t.placement)&&null!=(n=a.arrow)&&n.alignmentOffset?{}:{x:r+l.x,y:i+l.y,data:{...l,placement:o}}}},options:[n,o]},ee&&{...{name:"shift",options:m=d={mainAxis:!0,crossAxis:!1,limiter:"partial"===er?{...(void 0===(c=l)&&(c={}),{options:c,fn(e){let{x:t,y:n,placement:r,rects:i,middlewareData:o}=e,{offset:a=0,mainAxis:s=!0,crossAxis:l=!0}=x(c,e),u={x:t,y:n},d=A(r),f=S(d),h=u[f],p=u[d],m=x(a,e),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(s){let e="y"===f?"height":"width",t=i.reference[f]-i.floating[e]+g.mainAxis,n=i.reference[f]+i.reference[e]-g.mainAxis;h<t?h=t:h>n&&(h=n)}if(l){var v,y;let e="y"===f?"width":"height",t=z.has(w(r)),n=i.reference[d]-i.floating[e]+(t&&(null==(v=o.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),a=i.reference[d]+i.reference[e]+(t?0:(null==(y=o.offset)?void 0:y[d])||0)-(t?g.crossAxis:0);p<n?p=n:p>a&&(p=a)}return{[f]:h,[d]:p}}}),options:[l,u]}:void 0,...eS},async fn(e){let{x:t,y:n,placement:r}=e,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...s}=x(m,e),l={x:t,y:n},u=await I(e,s),c=A(w(r)),d=S(c),f=l[d],g=l[c];if(i){let e="y"===d?"top":"left",t="y"===d?"bottom":"right",n=f+u[e],r=f-u[t];f=p(n,h(f,r))}if(o){let e="y"===c?"top":"left",t="y"===c?"bottom":"right",n=g+u[e],r=g-u[t];g=p(n,h(g,r))}let v=a.fn({...e,[d]:f,[c]:g});return{...v,data:{x:v.x-t,y:v.y-n,enabled:{[d]:i,[c]:o}}}}},options:[d,f]},ee&&{...{name:"flip",options:b=v={...eS},async fn(e){var t,n,r,i,o,a,s,l;let u,c,d,{placement:f,middlewareData:h,rects:p,initialPlacement:m,platform:g,elements:v}=e,{mainAxis:y=!0,crossAxis:P=!0,fallbackPlacements:D,fallbackStrategy:_="bestFit",fallbackAxisSideDirection:L="none",flipAlignment:N=!0,...F}=x(b,e);if(null!=(t=h.arrow)&&t.alignmentOffset)return{};let V=w(f),z=A(m),B=w(m)===m,U=await (null==g.isRTL?void 0:g.isRTL(v.floating)),H=D||(B||!N?[O(m)]:(u=O(m),[C(m),u,C(u)])),$="none"!==L;!D&&$&&H.push(...(c=k(m),d=function(e,t,n){switch(e){case"top":case"bottom":if(n)return t?j:T;return t?T:j;case"left":case"right":return t?M:R;default:return[]}}(w(m),"start"===L,U),c&&(d=d.map(e=>e+"-"+c),N&&(d=d.concat(d.map(C)))),d));let W=[m,...H],q=await I(e,F),Y=[],K=(null==(n=h.flip)?void 0:n.overflows)||[];if(y&&Y.push(q[V]),P){let e,t,n,r,i=(a=f,s=p,void 0===(l=U)&&(l=!1),e=k(a),n=E(t=S(A(a))),r="x"===t?e===(l?"end":"start")?"right":"left":"start"===e?"bottom":"top",s.reference[n]>s.floating[n]&&(r=O(r)),[r,O(r)]);Y.push(q[i[0]],q[i[1]])}if(K=[...K,{placement:f,overflows:Y}],!Y.every(e=>e<=0)){let e=((null==(r=h.flip)?void 0:r.index)||0)+1,t=W[e];if(t&&("alignment"!==P||z===A(t)||K.every(e=>e.overflows[0]>0&&A(e.placement)===z)))return{data:{index:e,overflows:K},reset:{placement:t}};let n=null==(i=K.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:i.placement;if(!n)switch(_){case"bestFit":{let e=null==(o=K.filter(e=>{if($){let t=A(e.placement);return t===z||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:o[0];e&&(n=e);break}case"initialPlacement":n=m}if(f!==n)return{reset:{placement:n}}}return{}}},options:[v,y]},{...{name:"size",options:_=P={...eS,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:o}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${i}px`),a.setProperty("--radix-popper-anchor-height",`${o}px`)}},async fn(e){var t,n;let r,i,{placement:o,rects:a,platform:s,elements:l}=e,{apply:u=()=>{},...c}
3=x(_,e),d=await I(e,c),f=w(o),m=k(o),g="y"===A(o),{width:v,height:y}=a.floating;"top"===f||"bottom"===f?(r=f,i=m===(await (null==s.isRTL?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(i=f,r="end"===m?"top":"bottom");let b=y-d.top-d.bottom,S=v-d.left-d.right,E=h(y-d[r],b),P=h(v-d[i],S),C=!e.middlewareData.shift,T=E,j=P;if(null!=(t=e.middlewareData.shift)&&t.enabled.x&&(j=S),null!=(n=e.middlewareData.shift)&&n.enabled.y&&(T=b),C&&!m){let e=p(d.left,0),t=p(d.right,0),n=p(d.top,0),r=p(d.bottom,0);g?j=v-2*(0!==e||0!==t?e+t:p(d.left,d.right)):T=y-2*(0!==n||0!==r?n+r:p(d.top,d.bottom))}await u({...e,availableWidth:j,availableHeight:T});let M=await s.getDimensions(l.floating);return v!==M.width||y!==M.height?{reset:{rects:!0}}:{}}},options:[P,D]},eh&&{...{name:"arrow",options:H=L={element:eh,padding:J},fn(e){let{element:t,padding:n}="function"==typeof H?H(e):H;return t&&({}).hasOwnProperty.call(t,"current")?null!=t.current?ej({element:t.current,padding:n}).fn(e):{}:t?ej({element:t,padding:n}).fn(e):{}}},options:[L,U]},e5({arrowWidth:ev,arrowHeight:eb}),ei&&{...{name:"hide",options:Y=$={strategy:"referenceHidden",...eS},async fn(e){let{rects:t}=e,{strategy:n="referenceHidden",...r}=x(Y,e);switch(n){case"referenceHidden":{let n=F(await I(e,{...r,elementContext:"reference"}),t.reference);return{data:{referenceHiddenOffsets:n,referenceHidden:V(n)}}}case"escaped":{let n=F(await I(e,{...r,altBoundary:!0}),t.floating);return{data:{escapedOffsets:n,escaped:V(n)}}}default:return{}}}},options:[$,q]}]}),[eU,eH]=e4(eA),e$=(0,eF.c)(ea);(0,eV.N)(()=>{eI&&e$?.()},[eI,e$]);let eq=eB.arrow?.x,eY=eB.arrow?.y,eK=eB.arrow?.centerOffset!==0,[eZ,eQ]=i.useState();return(0,eV.N)(()=>{eu&&eQ(window.getComputedStyle(eu).zIndex)},[eu]),(0,r.jsx)("div",{ref:eE.setFloating,"data-radix-popper-content-wrapper":"",style:{...eP,transform:eI?eP.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:eZ,"--radix-popper-transform-origin":[eB.transformOrigin?.x,eB.transformOrigin?.y].join(" "),...eB.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,r.jsx)(eG,{scope:K,placedSide:eU,onArrowChange:em,arrowX:eq,arrowY:eY,shouldHideArrow:eK,children:(0,r.jsx)(eN.sG.div,{"data-side":eU,"data-align":eH,...es,ref:ef,style:{...es.style,animation:eI?void 0:"none"}})})})});eQ.displayName=eX;var eJ="PopperArrow",e0={top:"bottom",right:"left",bottom:"top",left:"right"},e1=i.forwardRef(function(e,t){let{__scopePopper:n,...i}=e,o=eZ(eJ,n),a=e0[o.placedSide];return(0,r.jsx)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:(0,r.jsx)(eI,{...i,ref:t,style:{...i.style,display:"block"}})})});function e2(e){return null!==e}e1.displayName=eJ;var e5=e=>({name:"transformOrigin",options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,o=i.arrow?.centerOffset!==0,a=o?0:e.arrowWidth,s=o?0:e.arrowHeight,[l,u]=e4(n),c={start:"0%",center:"50%",end:"100%"}[u],d=(i.arrow?.x??0)+a/2,f=(i.arrow?.y??0)+s/2,h="",p="";return"bottom"===l?(h=o?c:`${d}px`,p=`${-s}px`):"top"===l?(h=o?c:`${d}px`,p=`${r.floating.height+s}px`):"right"===l?(h=`${-s}px`,p=o?c:`${f}px`):"left"===l&&(h=`${r.floating.width+s}px`,p=o?c:`${f}px`),{data:{x:h,y:p}}}});function e4(e){let[t,n="center"]=e.split("-");return[t,n]}var e3=n(64636),e6=n(7204),e7=n(34037),e9=n(60118),e8=n(89838),te=n(27245),tt="Popover",[tn,tr]=(0,s.A)(tt,[eH]),ti=eH(),[to,ta]=tn(tt),ts=e=>{let{__scopePopover:t,children:n,open:o,defaultOpen:a,onOpenChange:s,modal:l=!1}=e,u=ti(t),c=i.useRef(null),[f,h]=i.useState(!1),[p,m]=(0,e9.i)({prop:o,defaultProp:a??!1,onChange:s,caller:tt});return(0,r.jsx)(eq,{...u,children:(0,r.jsx)(to,{scope:t,contentId:(0,d.B)(),triggerRef:c,open:p,onOpenChange:m,onOpenToggle:i.useCallback(()=>m(e=>!e),[m]),hasCustomAnchor:f,onCustomAnchorAdd:i.useCallback(()=>h(!0),[]),onCustomAnchorRemove:i.useCallback(()=>h(!1),[]),modal:l,children:n})})};ts.displayName=tt;var tl="PopoverAnchor";i.forwardRef((e,t)=>
3{let{__scopePopover:n,...o}=e,a=ta(tl,n),s=ti(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:u}=a;return i.useEffect(()=>(l(),()=>u()),[l,u]),(0,r.jsx)(eK,{...s,...o,ref:t})}).displayName=tl;var tu="PopoverTrigger",tc=i.forwardRef((e,t)=>{let{__scopePopover:n,...i}=e,s=ta(tu,n),l=ti(n),u=(0,a.s)(t,s.triggerRef),c=(0,r.jsx)(eN.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":tS(s.open),...i,ref:u,onClick:(0,o.m)(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?c:(0,r.jsx)(eK,{asChild:!0,...l,children:c})});tc.displayName=tu;var td="PopoverPortal",[tf,th]=tn(td,{forceMount:void 0}),tp=e=>{let{__scopePopover:t,forceMount:n,children:i,container:o}=e,a=ta(td,t);return(0,r.jsx)(tf,{scope:t,forceMount:n,children:(0,r.jsx)(e6.C,{present:n||a.open,children:(0,r.jsx)(e3.Z,{asChild:!0,container:o,children:i})})})};tp.displayName=td;var tm="PopoverContent",tg=i.forwardRef((e,t)=>{let n=th(tm,e.__scopePopover),{forceMount:i=n.forceMount,...o}=e,a=ta(tm,e.__scopePopover);return(0,r.jsx)(e6.C,{present:i||a.open,children:a.modal?(0,r.jsx)(ty,{...o,ref:t}):(0,r.jsx)(tb,{...o,ref:t})})});tg.displayName=tm;var tv=(0,e7.TL)("PopoverContent.RemoveScroll"),ty=i.forwardRef((e,t)=>{let n=ta(tm,e.__scopePopover),s=i.useRef(null),l=(0,a.s)(t,s),u=i.useRef(!1);return i.useEffect(()=>{let e=s.current;if(e)return(0,e8.Eq)(e)},[]),(0,r.jsx)(te.A,{as:tv,allowPinchZoom:!0,children:(0,r.jsx)(tx,{...e,ref:l,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,o.m)(e.onCloseAutoFocus,e=>{e.preventDefault(),u.current||n.triggerRef.current?.focus()}),onPointerDownOutside:(0,o.m)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||n},{checkForDefaultPrevented:!1}),onFocusOutside:(0,o.m)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),tb=i.forwardRef((e,t)=>{let n=ta(tm,e.__scopePopover),o=i.useRef(!1),a=i.useRef(!1);return(0,r.jsx)(tx,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(o.current||n.triggerRef.current?.focus(),t.preventDefault()),o.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(o.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;n.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),tx=i.forwardRef((e,t)=>{let{__scopePopover:n,trapFocus:i,onOpenAutoFocus:o,onCloseAutoFocus:a,disableOutsidePointerEvents:s,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:h,onInteractOutside:p,...m}
3=e,g=ta(tm,n),v=ti(n);return(0,u.Oh)(),(0,r.jsx)(c.n,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:o,onUnmountAutoFocus:a,children:(0,r.jsx)(l.qW,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:p,onEscapeKeyDown:d,onPointerDownOutside:f,onFocusOutside:h,onDismiss:()=>g.onOpenChange(!1),children:(0,r.jsx)(eQ,{"data-state":tS(g.open),role:"dialog",id:g.contentId,...v,...m,ref:t,style:{...m.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),tw="PopoverClose";i.forwardRef((e,t)=>{let{__scopePopover:n,...i}=e,a=ta(tw,n);return(0,r.jsx)(eN.sG.button,{type:"button",...i,ref:t,onClick:(0,o.m)(e.onClick,()=>a.onOpenChange(!1))})}).displayName=tw;var tk=i.forwardRef((e,t)=>{let{__scopePopover:n,...i}=e,o=ti(n);return(0,r.jsx)(e1,{...o,...i,ref:t})});function tS(e){return e?"open":"closed"}tk.displayName="PopoverArrow";var tE=n(53943);let tP=ts,tA=tc,tC=tk,tT=i.forwardRef(({className:e,align:t="center",sideOffset:n=4,...i},o)=>(0,r.jsx)(tp,{children:(0,r.jsx)(tg,{ref:o,align:t,sideOffset:n,className:(0,tE.cn)("z-50 w-72 rounded-md border border-neutral-200 bg-white p-4 text-neutral-950 shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 dark:border-neutral-800 dark:bg-neutral-950 dark:text-neutral-50",e),...i})}));tT.displayName=tg.displayName},48921:e=>{e.exports={link:"link_link__9ZwE_","external-indicator":"link_external-indicator__rEIKK",icon:"link_icon__BWN66"}},52810:(e,t,n)=>{"use strict";n.d(t,{B:()=>l});var r,i=n(96810),o=n(36854),a=(r||(r=n.t(i,2)))[" useId ".trim().toString()]||(()=>void 0),s=0;function l(e){let[t,n]=i.useState(a());return(0,o.N)(()=>{e||n(e=>e??String(s++))},[e]),e||(t?`radix-${t}`:"")}},53943:(e,t,n)=>{"use strict";n.d(t,{cn:()=>$});var r=n(9281);let i=(e,t)=>{if(0===e.length)return t.classGroupId;let n=e[0],r=t.nextPart.get(n),o=r?i(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;let a=e.join("-");return t.validators.find(({validator:e})=>e(a))?.classGroupId},o=/^\[(.+)\]$/,a=(e,t,n,r)=>{e.forEach(e=>{if("string"==typeof e){(""===e?t:s(t,e)).classGroupId=n;return}"function"==typeof e?l(e)?a(e(r),t,n,r):t.validators.push({validator:e,classGroupId:n}):Object.entries(e).forEach(([e,i])=>{a(i,s(t,e),n,r)})})},s=(e,t)=>{let n=e;return t.split("-").forEach(e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)}),n},l=e=>e.isThemeGetter,u=(e,t)=>t?e.map(([e,n])=>[e,n.map(e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,n])=>[t+e,n])):e)]):e,c=e=>{if(e.length<=1)return e;let t=[],n=[];return e.forEach(e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)}),t.push(...n.sort()),t},d=/\s+/;function f(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=h(e))&&(r&&(r+=" "),r+=t);return r}let h=e=>{let t;if("string"==typeof e)return e;let n="";for(let r=0;r<e.length;r++)e[r]&&(t=h(e[r]))&&(n&&(n+=" "),n+=t);return n},p=e=>{let t=t=>t[e]||[];return t.isThemeGetter=!0,t},m=/^\[(?:([a-z-]+):)?(.+)\]$/i,g=/^\d+\/\d+$/,v=new Set(["px","full","screen"]),y=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,b=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,x=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,w=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,k=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,S=e=>P(e)||v.has(e)||g.test(e),E=e=>F(e,"length",V),P=e=>!!e&&!Number.isNaN(Number(e)),A=e=>F(e,"number",P),C=e=>!!e&&Number.isInteger(Number(e)),T=e=>e.endsWith("%")&&P(e.slice(0,-1)),j=e=>m.test(e),M=e=>y.test(e),R=new Set(["length","size","percentage"]),O=e=>F(e,R,z),D=e=>F(e,"position",z),_=new Set(["image","url"]),L=e=>F(e,_,U),N=e=>F(e,"",B),I=()=>!0,F=(e,t,n)=>{let r=m.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},V=e=>b.test(e)&&!x.test(e),z=()=>!1,B=e=>w.test(e),U=e=>k.test(e),H=function(e,...t){let n,r,s,l=function(c){let d;return r=(n={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=new Map,r=new Map,i=(i,o)=>{n.set(i,o),++t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(i(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):i(e,t)}}})((d=t.reduce((e,t)=>
3t(e),e())).cacheSize),parseClassName:(e=>{let{separator:t,experimentalParseClassName:n}=e,r=1===t.length,i=t[0],o=t.length,a=e=>{let n,a=[],s=0,l=0;for(let u=0;u<e.length;u++){let c=e[u];if(0===s){if(c===i&&(r||e.slice(u,u+o)===t)){a.push(e.slice(l,u)),l=u+o;continue}if("/"===c){n=u;continue}}"["===c?s++:"]"===c&&s--}let u=0===a.length?e:e.substring(l),c=u.startsWith("!"),d=c?u.substring(1):u;return{modifiers:a,hasImportantModifier:c,baseClassName:d,maybePostfixModifierPosition:n&&n>l?n-l:void 0}};return n?e=>n({className:e,parseClassName:a}):a})(d),...(e=>{let t=(e=>{let{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return u(Object.entries(e.classGroups),n).forEach(([e,n])=>{a(n,r,e,t)}),r})(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{let n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),i(n,t)||(e=>{if(o.test(e)){let t=o.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}})(e)},getConflictingClassGroupIds:(e,t)=>{let i=n[e]||[];return t&&r[e]?[...i,...r[e]]:i}}})(d)}).cache.get,s=n.cache.set,l=h,h(c)};function h(e){let t=r(e);if(t)return t;let i=((e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],a=e.trim().split(d),s="";for(let e=a.length-1;e>=0;e-=1){let t=a[e],{modifiers:l,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:f}=n(t),h=!!f,p=r(h?d.substring(0,f):d);if(!p){if(!h||!(p=r(d))){s=t+(s.length>0?" "+s:s);continue}h=!1}let m=c(l).join(":"),g=u?m+"!":m,v=g+p;if(o.includes(v))continue;o.push(v);let y=i(p,h);for(let e=0;e<y.length;++e){let t=y[e];o.push(g+t)}s=t+(s.length>0?" "+s:s)}return s})(e,n);return s(e,i),i}return function(){return l(f.apply(null,arguments))}}(()=>{let e=p("colors"),t=p("spacing"),n=p("blur"),r=p("brightness"),i=p("borderColor"),o=p("borderRadius"),a=p("borderSpacing"),s=p("borderWidth"),l=p("contrast"),u=p("grayscale"),c=p("hueRotate"),d=p("invert"),f=p("gap"),h=p("gradientColorStops"),m=p("gradientColorStopPositions"),g=p("inset"),v=p("margin"),y=p("opacity"),b=p("padding"),x=p("saturate"),w=p("scale"),k=p("sepia"),R=p("skew"),_=p("space"),F=p("translate"),V=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",j,t],U=()=>[j,t],H=()=>["",S,E],$=()=>["auto",P,j],W=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>["start","end","center","between","around","evenly","stretch"],X=()=>["","0",j],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[P,j];return{cacheSize:500,separator:":",theme:{colors:[I],spacing:[S,E],blur:["none","",M,j],brightness:Z(),borderColor:[e],borderRadius:["none","","full",M,j],borderSpacing:U(),borderWidth:H(),contrast:Z(),grayscale:X(),hueRotate:Z(),invert:X(),gap:U(),gradientColorStops:[e],gradientColorStopPositions:[T,E],inset:B(),margin:B(),opacity:Z(),padding:U(),saturate:Z(),scale:Z(),sepia:X(),skew:Z(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",j]}],container:["container"],columns:[{columns:[M]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...W(),j]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:V()}],"overscroll-x":[{"overscroll-x":V()}],"overscroll-y":[{"overscroll-y":V()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}
vendor: 4,723 bytes, line 3
3],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",C,j]}],basis:[{basis:B()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",j]}],grow:[{grow:X()}],shrink:[{shrink:X()}],order:[{order:["first","last","none",C,j]}],"grid-cols":[{"grid-cols":[I]}],"col-start-end":[{col:["auto",{span:["full",C,j]},j]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[I]}],"row-start-end":[{row:["auto",{span:[C,j]},j]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",j]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",j]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[v]}],mx:[{mx:[v]}],my:[{my:[v]}],ms:[{ms:[v]}],me:[{me:[v]}],mt:[{mt:[v]}],mr:[{mr:[v]}],mb:[{mb:[v]}],ml:[{ml:[v]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",j,t]}],"min-w":[{"min-w":[j,t,"min","max","fit"]}],"max-w":[{"max-w":[j,t,"none","full","min","max","fit","prose",{screen:[M]},M]}],h:[{h:[j,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[j,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[j,t,"auto","min","max","fit"]}],"font-size":[{text:["base",M,E]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",A]}],"font-family":[{font:[I]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",j]}],"line-clamp":[{"line-clamp":["none",P,A]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",S,j]}],"list-image":[{"list-image":["none",j]}],"list-style-type":[{list:["none","disc","decimal",j]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",S,E]}],"underline-offset":[{"underline-offset":["auto",S,j]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",j]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",j]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...W(),D]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",O]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},L]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}
3],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}
vendor: 4,445 bytes, line 3
3],"divide-style":[{divide:q()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[S,j]}],"outline-w":[{outline:[S,E]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[S,E]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",M,N]}],"shadow-color":[{shadow:[I]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":[...Y(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",M,j]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[x]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[x]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",j]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",j]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",j]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[w]}],"scale-x":[{"scale-x":[w]}],"scale-y":[{"scale-y":[w]}],rotate:[{rotate:[C,j]}],"translate-x":[{"translate-x":[F]}],"translate-y":[{"translate-y":[F]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",j]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",j]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",j]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[S,E,A]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","
3none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}});function $(...e){return H((0,r.$)(e))}}
3,54193:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__addDisposableResource:()=>L,__assign:()=>o,__asyncDelegator:()=>P,__asyncGenerator:()=>E,__asyncValues:()=>A,__await:()=>S,__awaiter:()=>p,__classPrivateFieldGet:()=>O,__classPrivateFieldIn:()=>_,__classPrivateFieldSet:()=>D,__createBinding:()=>g,__decorate:()=>s,__disposeResources:()=>I,__esDecorate:()=>u,__exportStar:()=>v,__extends:()=>i,__generator:()=>m,__importDefault:()=>R,__importStar:()=>M,__makeTemplateObject:()=>C,__metadata:()=>h,__param:()=>l,__propKey:()=>d,__read:()=>b,__rest:()=>a,__rewriteRelativeImportExtension:()=>F,__runInitializers:()=>c,__setFunctionName:()=>f,__spread:()=>x,__spreadArray:()=>k,__spreadArrays:()=>w,__values:()=>y,default:()=>V});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function s(e,t,n,r){var i,o=arguments.length,a=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(o<3?i(a):o>3?i(t,n,a):i(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,r){t(n,r,e)}}function u(e,t,n,r,i,o){function a(e){if(void 0!==e&&"function"!=typeof e)throw TypeError("Function expected");return e}for(var s,l=r.kind,u="getter"===l?"get":"setter"===l?"set":"value",c=!t&&e?r.static?e:e.prototype:null,d=t||(c?Object.getOwnPropertyDescriptor(c,r.name):{}),f=!1,h=n.length-1;h>=0;h--){var p={};for(var m in r)p[m]="access"===m?{}:r[m];for(var m in r.access)p.access[m]=r.access[m];p.addInitializer=function(e){if(f)throw TypeError("Cannot add initializers after decoration has completed");o.push(a(e||null))};var g=(0,n[h])("accessor"===l?{get:d.get,set:d.set}:d[u],p);if("accessor"===l){if(void 0===g)continue;if(null===g||"object"!=typeof g)throw TypeError("Object expected");(s=a(g.get))&&(d.get=s),(s=a(g.set))&&(d.set=s),(s=a(g.init))&&i.unshift(s)}else(s=a(g))&&("field"===l?i.unshift(s):d[u]=s)}c&&Object.defineProperty(c,r.name,d),f=!0}function c(e,t,n){for(var r=arguments.length>2,i=0;i<t.length;i++)n=r?t[i].call(e,n):t[i].call(e);return r?n:void 0}function d(e){return"symbol"==typeof e?e:"".concat(e)}function f(e,t,n){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:n?"".concat(n," ",t):t})}function h(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function p(e,t,n,r){return new(n||(n=Promise))(function(i,o){function a(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}l((r=r.apply(e,t||[])).next())})}function m(e,t){var n,r,i,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]},a=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function s(s){return function(l){var u=[s,l];if(n)throw TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(o=0)),o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===u[0]||2===u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]<i[3])){o.label=u[1];break}if(6===u[0]&&o.label<i[1]){o.label=i[1],i=u;break}if(i&&o.label<i[2]){o.label=i[2],o.ops.push(u);break}i[2]&&o.ops.pop(),o.trys.pop();continue}u=t.call(e,o)}catch(e){u=[6,e],r=0}finally{n=i=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}}var g=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);
vendor: 4,267 bytes, line 3
3(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]};function v(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||g(t,e,n)}function y(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function b(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a}function x(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(b(arguments[t]));return e}function w(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),i=0,t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}function k(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function S(e){return this instanceof S?(this.v=e,this):new S(e)}function E(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),o=[];return r=Object.create(("function"==typeof AsyncIterator?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",function(e){return function(t){return Promise.resolve(t).then(e,u)}}),r[Symbol.asyncIterator]=function(){return this},r;function a(e,t){i[e]&&(r[e]=function(t){return new Promise(function(n,r){o.push([e,t,n,r])>1||s(e,t)})},t&&(r[e]=t(r[e])))}function s(e,t){try{var n;(n=i[e](t)).value instanceof S?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(e){c(o[0][3],e)}}function l(e){s("next",e)}function u(e){s("throw",e)}function c(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function P(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,i){t[r]=e[r]?function(t){return(n=!n)?{value:S(e[r](t)),done:!1}:i?i(t):t}:i}}function A(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=y(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,i){var o,a,s;o=r,a=i,s=(t=e[n](t)).done,Promise.resolve(t.value).then(function(e){o({value:e,done:s})},a)})}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var T=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},j=function(e){return(j=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)};function M(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=j(e),r=0;r<n.length;r++)"default"!==n[r]&&g(t,e,n[r]);return T(t,e),t}function R(e){return e&&e.__esModule?e:{default:e}}function O(e,t,n,r){if("a"===n&&!r)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function D(e,t,n,r,i){if("m"===r)throw TypeError("Private method is not writable");if("a"===r&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?i.call(e,n):i?i.value=n:t.set(e,n),n}function _(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function L(e,t,n){if(null!=t){var r,i;if("object"!=typeof t&&"function"!=typeof t)throw TypeError("Object expected.");
3if(n){if(!Symbol.asyncDispose)throw TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}var N="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function I(e){function t(t){e.error=e.hasError?new N(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var o=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(o).then(i,function(e){return t(e),i()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}function F(e,t){return"string"==typeof e&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(e,n,r,i,o){return n?t?".jsx":".js":!r||i&&o?r+i+"."+o.toLowerCase()+"js":e}):e}let V={__extends:i,__assign:o,__rest:a,__decorate:s,__param:l,__esDecorate:u,__runInitializers:c,__propKey:d,__setFunctionName:f,__metadata:h,__awaiter:p,__generator:m,__createBinding:g,__exportStar:v,__values:y,__read:b,__spread:x,__spreadArrays:w,__spreadArray:k,__await:S,__asyncGenerator:E,__asyncDelegator:P,__asyncValues:A,__makeTemplateOb
3ject:C,__importStar:M,__importDefault:R,__classPrivateFieldGet:O,__classPrivateFieldSet:D,__classPrivateFieldIn:_,__addDisposableResource:L,__disposeResources:I,__rewriteRelativeImportExtension:F}},54328:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(96810);let i=n(24182).B?r.useLayoutEffect:r.useEffect},56096:e=>{e.exports={style:{fontFamily:"'Roboto', 'Roboto Fallback'",fontStyle:"normal"},className:"__className_c06d0e",variable:"__variable_c06d0e"}},56763:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let r=n(96810);function i(e,t){let n=(0,r.useRef)(null),i=(0,r.useRef)(null);return(0,r.useCallback)(r=>{if(null===r){let e=n.current;e&&(n.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(n.current=o(e,r)),t&&(i.current=o(t,r))},[e,t])}function o(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let n=e(t);return"function"==typeof n?n:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},58407:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(58893);let i=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function o(e,t,n,o){return e===t&&n===o?r.l:r=>0===r||1===r?r:i(function(e,t,n,r,o){let a,s,l=0;do(a=i(s=t+(n-t)/2,r,o)-e)>0?n=s:t=s;while(Math.abs(a)>1e-7&&++l<12);return s}(r,0,1,e,n),t,o)}},58893:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});let r=e=>e},59291:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});let r=(0,n(96810).createContext)({})},60118:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var r,i=n(96810),o=n(36854),a=(r||(r=n.t(i,2)))[" useInsertionEffect ".trim().toString()]||o.N;function s({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){let[o,s,l]=function({defaultProp:e,onChange:t}){let[n,r]=i.useState(e),o=i.useRef(n),s=i.useRef(t);return a(()=>{s.current=t},[t]),i.useEffect(()=>{o.current!==n&&(s.current?.(n),o.current=n)},[n,o]),[n,r,s]}({defaultProp:t,onChange:n}),u=void 0!==e,c=u?e:o;{let t=i.useRef(void 0!==e);i.useEffect(()=>{let e=t.current;if(e!==u){let t=u?"controlled":"uncontrolled";console.warn(`${r} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=u},[u,r])}return[c,i.useCallback(t=>{if(u){let n="function"==typeof t?t(e):t;n!==e&&l.current?.(n)}else s(t)},[u,e,s,l])]}Symbol("RADIX:SYNC_STATE")},60206:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,i.default)(e),o="function"==typeof t;return r.forEach(function(e){if("declaration"===e.type){var r=e.property,i=e.value;o?t(r,i,e):i&&((n=n||{})[r]=i)}}),n};var i=r(n(8729))},60517:(e,t,n)=>{"use strict";n.d(t,{s:()=>a,t:()=>o});var r=n(96810);function i(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function o(...e){return t=>{let n=!1,r=e.map(e=>{let r=i(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];"function"==typeof n?n():i(e[t],null)}}}}function a(...e){return r.useCallback(o(...e),e)}},62352:(e,t,n)=>{"use strict";n.d(t,{$:()=>u});var r=n(73154),i=n(68178),o=n(38713),a=n.n(o);let s={default:{fill:{color:"#ffffff",background:"#9FA1B7",hover:"#9FA1B720"},ghost:{color:"#9FA1B7",hover:"#9FA1B720"}},"black-1":{fill:{color:"#ffffff",background:"#454545",hover:"#2e2c2c"},ghost:{color:"#454545",hover:"#45454520"}},"grey-1":{fill:{color:"#000000",background:"#45454520",hover:"#45454540"},ghost:{color:"#454545",hover:"#45454520"}},"purple-1":{fill:{color:"#ffffff",background:"#8c72ae",hover:"#695583"},ghost:{color:"#8c72ae",hover:"#8c72ae20"}},"blue-1":{fill:{color:"#ffffff",background:"#1B6FAE",hover:"#448dc3"},ghost:{color:"#1B6FAE",hover:"#1B6FAE20"}},"teal-1":{fill:{color:"#ffffff",background:"#00B3A4",hover:"#008176"},ghost:{color:"#00B3A4",hover:"#00B3A420"}},"green-1":{fill:{color:"#ffffff",background:"#88c43f",hover:"#40ad2e"},ghost:{color:"#88c43f",hover:"#88c43f20"}},"orange-1":{fill:{color:"#ffffff",background:"#EA766E",hover:"#D15F4C"},ghost:{color:"#EA766E",hover:"#EA766E20"}},"white-1":{fill:{color:"#000000",background:"#ffffff",hover:"#f0f0f0",border:"#e0e0e0"},ghost:{color:"#ffffff",hover:"#ffffff20",border:"#ffffff"}},"purple-2":{fill:{color:"#ffffff",background:"#7D52F4",hover:"#6A3FD1"},ghost:{color:"#7D52F4",hover:"#7D52F420"}}},l={sm:{text:"text-sm",icon:"[&>svg]:text-[0.85em]",padding:"py-1 px-2",fat:"py-3 px-5"},md:{text:"text-sm",icon:"[&>svg]:text-[0.85em]",padding:"py-1 px-3",fat:"py-3 px-5"},lg:{text:"text-md",icon:"[&>svg]:text-[0.82em]",padding:"py-1.5 px-4",fat:"py-3 px-5"}},u=e=>{let{className:t,rounded:n=!0,circle:o,square:u,disabled:c,fat:d,fill:f,color:h="default",size:p="md",style:m,...g}=e,v=[a().button,"inline-flex items-center justify-center",f?"":"border border-solid",n?"rounded-md":"",((e="md",t,n,r)=>{let i=[],{icon:o,text:a,padding:s,fat:u}=l[e];return i.push(a),t||n?(i.push("h-[3em] w-[3em]"),n&&i.push("!rounded-full")):(r?(i.push(u),i.push("!rounded-full")):i.push(s),i.push(o)),i.join(" ")})(p,u,o,d),c?"opacity-50":""].join(" ");t&&(v+=` ${t}`);let y=s[h][f?"fill":"ghost"];return(0,r.jsx)(i.P.button,{className:v,whileHover:{backgroundColor:y.hover},style:{...((e,t)=>
3{let{color:n,background:r,border:i}=s[e][t?"fill":"ghost"],o={"--color-icon":n,"--icon-color":n,"--button-color":n,"--button-text-color":n,"--button-border-color":i||n};return r&&(o["--button-background-color"]=r),o})(h,f),...m},disabled:c,...g,children:e.children})}},62818:(e,t,n)=>{"use strict";n.d(t,{i3:()=>X});var r=n(96810);function i(e,t){return e.map(function(e,n){return e+t[n]})}function o(e,t){return e.map(function(e,n){return e-t[n]})}function a(e){return Math.hypot.apply(Math,e)}function s(e){return Math.sign?Math.sign(e):Number(e>0)-Number(e<0)||+e}function l(e,t,n){return 0===t||Math.abs(t)===1/0?Math.pow(e,5*n):e*t*n/(t+n*e)}function u(e,t,n,r){return(void 0===r&&(r=.15),0===r)?Math.max(t,Math.min(e,n)):e<t?-l(t-e,n-t,r)+t:e>n?+l(e-n,n-t,r)+n:e}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function f(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return h(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function m(){}function g(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?m:1===t.length?t[0]:function(){for(var e,n,r=p(t);!(n=r()).done;)e=n.value.apply(this,arguments)||e;return e}}function v(e,t){if(void 0===e){if(void 0===t)throw Error("Must define fallback value if undefined is expected");e=t}return Array.isArray(e)?e:[e,e]}function y(e){if("function"!=typeof e)return e;for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}function b(e,t){void 0===e&&(e={});for(var n={},r=0,i=Object.entries(t);r<i.length;r++){var o=i[r],a=o[0],s=o[1];switch(typeof s){case"function":n[a]=s.call(n,e[a],a,e);break;case"object":n[a]=b(e[a],s);break;case"boolean":s&&(n[a]=e[a])}}return n}function x(){return"undefined"!=typeof window&&"ontouchstart"in window}function w(e){return"pointerId"in e?null:"touchend"===e.type?e.changedTouches:e.targetTouches}function k(e){return Array.from(w(e)).map(function(e){return e.identifier})}function S(e){return{buttons:"buttons"in e?e.buttons:0,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}var E=function(e){return e};function P(e,t){void 0===t&&(t=E);var n=w(e),r=n?n[0]:e;return t([r.clientX,r.clientY])}var A=c({},{threshold:function(e){return void 0===e&&(e=0),v(e)},rubberband:function(e){switch(void 0===e&&(e=0),e){case!0:return v(.15);case!1:return v(0);default:return v(e)}},enabled:function(e){return void 0===e&&(e=!0),e},triggerAllEvents:function(e){return void 0===e&&(e=!1),e},initial:function(e){return(void 0===e&&(e=0),"function"==typeof e)?e:v(e)},transform:!0},{axis:!0,lockDirection:function(e){return void 0===e&&(e=!1),e},bounds:function(e){if(void 0===e&&(e={}),"function"==typeof e)return function(t){return A.bounds(e(t))};var t=e,n=t.left,r=t.right,i=t.top,o=t.bottom;return[[void 0===n?-1/0:n,void 0===r?1/0:r],[void 0===i?-1/0:i,void 0===o?1/0:o]]}}),C="undefined"!=typeof window&&window.document&&window.document.createElement,T={enabled:function(e){return void 0===e&&(e=!0),e},domTarget:!0,window:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(e){return void 0===e&&(e=C?window:void 0),e}),eventOptions:function(e){var t=void 0===e?{}:e,n=t.passive,r=t.capture;return{passive:void 0===n||n,capture:void 0!==r&&r}},transform:!0},j=c({},A,{useTouch:function(e){void 0===e&&(e=!1);var t=x(),n="undefined"!=typeof window&&"onpointerdown"in window;return!!e&&!!t||!!t&&!n},experimental_preventWindowScrollY:function(e){return void 0===e&&(e=!1),e},threshold:function(e,t,n){var r=n.filterTaps,i=void 0!==r&&r,o=n.lockDirection,a=n.axis,s=v(e,i?3:void 0!==o&&o?1:+!!(void 0===a?void 0:a));return this.filterTaps=i,s},swipeVelocity:function(e){return void 0===e&&(e=.5),v(e)},swipeDistance:function(e){return void 0===e&&(e=50),v(e)},swipeDuration:function(e){return void 0===e&&(e=250),e},delay:function(e){switch(void 0===e&&(e=0),e){case!0:return 180;case!1:return 0;default:return e}}});function M(e){var t,n=e.domTarget,r=e.eventOptions,i=e.window,o=e.enabled,a=function(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)t.indexOf(n=o[r])>=0||(i[n]=e[n]);return i}(e,["domTarget","eventOptions","window","enabled"]),s=b({domTarget:n,eventOptions:r,
3window:i,enabled:o},T);return void 0===(t=a)&&(t={}),s.drag=b(t,j),s}function R(e){return c({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_threshold:[0,0],_lastEventType:void 0,_dragStarted:!1,_dragPreventScroll:!1,_dragIsTap:!0,_dragDelayed:!1,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:m,canceled:!1,memo:void 0,args:void 0},e)}function O(){return{shared:{hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1,locked:!1},drag:R({_pointerId:void 0,axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,tap:!1,swipe:[0,0]}),pinch:R({_pointerIds:[],da:[0,0],vdva:[0,0],origin:void 0,turns:0}),wheel:R({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),move:R({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),scroll:R({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0})}}var D=new Map,_=function(e){return e},L=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this.controller=e,this.args=t,this.debounced=!0,this.setTimeout=function(e,t){var r;void 0===t&&(t=140),clearTimeout(n.controller.timeouts[n.stateKey]);for(var i=arguments.length,o=Array(i>2?i-2:0),a=2;a<i;a++)o[a-2]=arguments[a];n.controller.timeouts[n.stateKey]=(r=window).setTimeout.apply(r,[e,t].concat(o))},this.clearTimeout=function(){clearTimeout(n.controller.timeouts[n.stateKey])},this.fireGestureHandler=function(e){if(void 0===e&&(e=!1),n.state._blocked)return n.debounced||(n.state._active=!1,n.clean()),null;if(!e&&!n.state.intentional&&!n.config.triggerAllEvents)return null;if(n.state.intentional){var t=n.state.active,r=n.state._active;n.state.active=r,n.state.first=r&&!t,n.state.last=t&&!r,n.controller.state.shared[n.ingKey]=r}var i=n.controller.pointerIds.size||n.controller.touchIds.size,o=n.controller.state.shared.buttons>0||i>0,a=c({},n.controller.state.shared,n.state,n.mapStateValues(n.state),{locked:!!document.pointerLockElement,touches:i,down:o}),s=n.handler(a);return n.state.memo=void 0!==s?s:n.state.memo,a},this.controller=e,this.args=t}var t,n=e.prototype;return n.updateSharedState=function(e){Object.assign(this.controller.state.shared,e)},n.updateGestureState=function(e){Object.assign(this.state,e)},n.checkIntentionality=function(e,t){return{_intentional:e,_blocked:!1}},n.getMovement=function(e){var t=this.config.rubberband,n=this.state,r=n._bounds,a=n._initial,s=n._active,l=n._intentional,u=n.lastOffset,d=n.movement,f=n._threshold,h=this.getInternalMovement(e,this.state),p=!1===l[0]?N(h[0],f[0]):l[0],m=!1===l[1]?N(h[1],f[1]):l[1],g=this.checkIntentionality([p,m],h);if(g._blocked)return c({},g,{_movement:h,delta:[0,0]});var v=g._intentional,y=[!1!==v[0]?h[0]-v[0]:0,!1!==v[1]?h[1]-v[1]:0],b=i(y,u),x=s?t:[0,0];return y=I(r,i(y,a),x),c({},g,{intentional:!1!==v[0]||!1!==v[1],_initial:a,_movement:h,movement:y,values:e,offset:I(r,b,x),delta:o(y,d)})},n.clean=function(){this.clearTimeout()},t=[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}},{key:"transform",get:function(){return this.config.transform||this.controller.config.transform||_}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(e.prototype,t),e}();function N(e,t){return Math.abs(e)>=t&&s(e)*t}function I(e,t,n){var r=t[0],i=t[1],o=n[0],a=n[1],s=e[0],l=s[0],c=s[1],d=e[1],f=d[0],h=d[1];return[u(r,l,c,o),u(i,f,h,a)]}function F(e,t,n){var r=e.state,i=t.timeStamp,o=t.type,a=r.values,s=n?0:i-r.startTime;return{_lastEventType:o,event:t,timeStamp:i,elapsedTime:s,previous:a}}var V=function(e){var t=this;this.classes=e,this.pointerIds=new Set,this.touchIds=new Set,this.supportsTouchEvents=x(),this.supportsGestureEvents=function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),this.bind=function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var i,o={},a=p(t.classes);!(i=a()).done;)new i.value(t,n).addBindings(o);var s=function(e){U(o,e,function(r){return t.nativeRefs[e](c({},t.state.shared,{event:r,args:n}))})};for(var l in t.nativeRefs)s(l);return t.config.domTarget?function(e,t){var n=e.config,r=e.domListeners,i=B(n);if(!i)throw Error("domTarget must be defined");var o=n.eventOptions;$(i,z(r),o);for(var a=0,s=Object.entries(t);a<s.length;a++){var l=s[a],u=l[0],c=l[1],d=u.slice(2).toLowerCase();r.push([d,g.apply(void 0,c)])}H(i,r,o)}(t,o):function(e,t){for(var n=e.config,r={},i=n.eventOptions.capture?"Capture":"",o=0,a=Object.entries(t);o<a.length;o++){var s=a[o],l=s[0],u=s[1],c=Array.isArray(u)?u:[u];r[l+i]=g.apply(void 0,c)}return r}(t,o)},this.effect=function(){return t.config.domTarget&&t.bind(),t.clean},this.clean=function(){var e=B(t.config),n=t.config.eventOptions;
3e&&$(e,z(t.domListeners),n),Object.values(t.timeouts).forEach(clearTimeout),function(e){var t=e.config,n=t.window,r=t.eventOptions,i=e.windowListeners;if(n){for(var o in i)$(n,i[o],r);e.windowListeners={}}}(t)},this.classes=e,this.state=O(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function z(e){return void 0===e&&(e=[]),e.splice(0,e.length)}function B(e){var t=e.domTarget;return t&&"current"in t?t.current:t}function U(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function H(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,i=p(t);!(r=i()).done;){var o=r.value,a=o[0],s=o[1];e.addEventListener(a,s,n)}}function $(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,i=p(t);!(r=i()).done;){var o=r.value,a=o[0],s=o[1];e.removeEventListener(a,s,n)}}function W(){}function q(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}var Y=function(e){function t(){var t;return t=e.apply(this,arguments)||this,t.ingKey="dragging",t.stateKey="drag",t.setPointerCapture=function(e){if(!t.config.useTouch&&!document.pointerLockElement){var n=e.target,r=e.pointerId;n&&"setPointerCapture"in n&&n.setPointerCapture(r),t.updateGestureState({_dragTarget:n,_dragPointerId:r})}},t.releasePointerCapture=function(){if(!t.config.useTouch&&!document.pointerLockElement){var e=t.state,n=e._dragTarget,r=e._dragPointerId;if(r&&n&&"releasePointerCapture"in n&&(!("hasPointerCapture"in n)||n.hasPointerCapture(r)))try{n.releasePointerCapture(r)}catch(e){}}},t.preventScroll=function(e){t.state._dragPreventScroll&&e.cancelable&&e.preventDefault()},t.getEventId=function(e){return t.config.useTouch?e.changedTouches[0].identifier:e.pointerId},t.isValidEvent=function(e){return t.state._pointerId===t.getEventId(e)},t.shouldPreventWindowScrollY=t.config.experimental_preventWindowScrollY&&t.controller.supportsTouchEvents,t.setUpWindowScrollDetection=function(e){var n,r,i,o,a,s;q(e),n=t.controller,r=t.stateKey,i=[["touchmove",t.preventScroll],["touchend",t.clean.bind(f(t))],["touchcancel",t.clean.bind(f(t))]],o={passive:!1},a=n.config,s=n.windowListeners,void 0===i&&(i=[]),void 0===o&&(o=a.eventOptions),a.window&&($(a.window,s[r],o),H(a.window,s[r]=i,o)),t.setTimeout(t.startDrag.bind(f(t)),250,e)},t.setUpDelayedDragTrigger=function(e){t.state._dragDelayed=!0,q(e),t.setTimeout(t.startDrag.bind(f(t)),t.config.delay,e)},t.setStartState=function(e){var n,r,i,a,s,l,u,d,h,p,m,g,v=P(e,t.transform);t.updateSharedState(S(e)),t.updateGestureState(c({},(n=f(t),r=n.state,i=n.config,a=n.stateKey,s=n.args,l=n.transform,u=r.offset,d=e.timeStamp,h=i.initial,p=i.bounds,m=o(l(i.threshold),l([0,0])).map(Math.abs),g=c({},O()[a],{_active:!0,args:s,values:v,initial:v,_threshold:m,offset:u,lastOffset:u,startTime:d}),c({},g,{_initial:y(h,g),_bounds:y(p,g)})),F(f(t),e,!0),{_pointerId:t.getEventId(e)})),t.updateGestureState(t.getMovement(v))},t.onDragStart=function(e){var n;n=t.controller,"pointerId"in e?n.pointerIds.add(e.pointerId):n.touchIds=new Set(k(e)),t.enabled&&!t.state._active&&(t.setStartState(e),t.setPointerCapture(e),t.shouldPreventWindowScrollY?t.setUpWindowScrollDetection(e):t.config.delay>0?t.setUpDelayedDragTrigger(e):t.startDrag(e,!0))},t.onDragChange=function(e){if(!t.state.canceled&&t.state._active&&t.isValidEvent(e)&&(t.state._lastEventType!==e.type||e.timeStamp!==t.state.timeStamp)){if(document.pointerLockElement){var n,r=e.movementX,o=e.movementY;n=i(t.transform([r,o]),t.state.values)}else n=P(e,t.transform);var s=t.getKinematics(n,e);if(!t.state._dragStarted){if(t.state._dragDelayed)return void t.startDrag(e);if(!t.shouldPreventWindowScrollY)return;if(t.state._dragPreventScroll||!s.axis)return;if("x"===s.axis)t.startDrag(e);else{t.state._active=!1;return}}var l=S(e);t.updateSharedState(l);var u=F(f(t),e),d=a(s._movement),h=t.state._dragIsTap;h&&d>=3&&(h=!1),t.updateGestureState(c({},u,s,{_dragIsTap:h})),t.fireGestureHandler()}},t.onDragEnd=function(e){var n;if((n=t.controller,"pointerId"in e?n.pointerIds.delete(e.pointerId):k(e).forEach(function(e){return n.touchIds.delete(e)}),t.isValidEvent(e))&&(t.clean(),t.state._active)){t.state._active=!1;var r=t.state._dragIsTap,i=t.state.velocities,o=i[0],a=i[1],l=t.state.movement,u=l[0],d=l[1],h=t.state._intentional,p=h[0],m=h[1],g=t.config.swipeVelocity,v=g[0],y=g[1],b=t.config.swipeDistance,x=b[0],w=b[1],S=t.config.swipeDuration,E=c({},F(f(t),e),t.getMovement(t.state.values)),P=[0,0];E.elapsedTime<S&&(!1!==p&&Math.abs(o)>v&&Math.abs(u)>x&&(P[0]=s(o)),!1!==m&&Math.abs(a)>y&&Math.abs(d)>w&&(P[1]=s(a))),t.updateSharedState({buttons:0}),t.updateGestureState(c({},E,{tap:r,swipe:P})),t.fireGestureHandler(t.config.filterTaps&&!0===r)}},t.clean=function(){var n,r,i,o,a;
3e.prototype.clean.call(f(t)),t.state._dragStarted=!1,t.releasePointerCapture(),n=t.controller,r=t.stateKey,o=n.config,a=n.windowListeners,void 0===i&&(i=o.eventOptions),o.window&&($(o.window,a[r],i),delete a[r])},t.onCancel=function(){t.state.canceled||(t.updateGestureState({canceled:!0,_active:!1}),t.updateSharedState({buttons:0}),setTimeout(function(){return t.fireGestureHandler()},0))},t.onClick=function(e){t.state._dragIsTap||e.stopPropagation()},t}d(t,e);var n=t.prototype;return n.startDrag=function(e,t){void 0===t&&(t=!1),this.state._active&&!this.state._dragStarted&&(t||this.setStartState(e),this.updateGestureState({_dragStarted:!0,_dragPreventScroll:!0,cancel:this.onCancel}),this.clearTimeout(),this.fireGestureHandler())},n.addBindings=function(e){this.config.useTouch?(U(e,"onTouchStart",this.onDragStart),U(e,"onTouchMove",this.onDragChange),U(e,"onTouchEnd",this.onDragEnd),U(e,"onTouchCancel",this.onDragEnd)):(U(e,"onPointerDown",this.onDragStart),U(e,"onPointerMove",this.onDragChange),U(e,"onPointerUp",this.onDragEnd),U(e,"onPointerCancel",this.onDragEnd)),this.config.filterTaps&&U(e,this.controller.config.eventOptions.capture?"onClick":"onClickCapture",this.onClick)},t}(function(e){function t(){return e.apply(this,arguments)||this}d(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return o(e,t.initial)},n.checkIntentionality=function(e,t){if(!1===e[0]&&!1===e[1])return{_intentional:e,axis:this.state.axis};var n=t.map(Math.abs),r=n[0],i=n[1],o=this.state.axis||(r>i?"x":r<i?"y":void 0);return this.config.axis||this.config.lockDirection?o?this.config.axis&&o!==this.config.axis?{_intentional:e,_blocked:!0,axis:o}:(e[+("x"===o)]=!1,{_intentional:e,_blocked:!1,axis:o}):{_intentional:[!1,!1],_blocked:!1,axis:o}:{_intentional:e,_blocked:!1,axis:o}},n.getKinematics=function(e,t){var n=this.getMovement(e);if(!n._blocked){var r,i,o,s,l,u,c,d=t.timeStamp-this.state.timeStamp;Object.assign(n,(r=n.movement,i=n.delta,s=0===(o=a(i))?0:1/o,l=0===d?0:1/d,u=i.map(function(e){return l*e}),c=i.map(function(e){return s*e}),{velocities:u,velocity:l*o,distance:a(r),direction:c}))}return n},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(L));function K(e,t){try{return function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){var r,i,o,a;if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!==n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if("function"==typeof Map&&t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(a=t.entries();!(i=a.next()).done;)if(!n.has(i.value[0]))return!1;for(a=t.entries();!(i=a.next()).done;)if(!e(i.value[1],n.get(i.value[0])))return!1;return!0}if("function"==typeof Set&&t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(a=t.entries();!(i=a.next()).done;)if(!n.has(i.value[0]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;if("undefined"!=typeof Element&&t instanceof Element)return!1;for(i=r;0!=i--;)if(("_owner"!==o[i]||!t.$$typeof)&&!e(t[o[i]],n[o[i]]))return!1;return!0}return t!=t&&n!=n}(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}function X(e,t){void 0===t&&(t={}),D.set("drag",Y);var n,i,o,a,s,l,u,c,d,f,h,p=(0,r.useRef)();return p.current||(s=[],l=!1,p.current=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return l&&o===this&&K(t,s)||(a=M.apply(this,t),l=!0,o=this,s=t),a}),u={drag:e},c=p.current(t),void 0===d&&(d={}),n=u,i=new Set,n.drag&&i.add(D.get("drag")),n.wheel&&i.add(D.get("wheel")),n.scroll&&i.add(D.get("scroll")),n.move&&i.add(D.get("move")),n.pinch&&i.add(D.get("pinch")),n.hover&&i.add(D.get("hover")),f=i,((h=r.useMemo(function(){return new V(f)},[])).config=c,h.handlers=u,h.nativeRefs=d,r.useEffect(h.effect,[]),h.config.domTarget)?W:h.bind}},63470:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var r=n(96810);let i=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({}
3,t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e))},a=t=e(r,i,o);return o},o=e=>{let t=e?i(e):i,n=e=>(function(e,t=e=>e){let n=r.useSyncExternalStore(e.subscribe,r.useCallback(()=>t(e.getState()),[e,t]),r.useCallback(()=>t(e.getInitialState()),[e,t]));return r.useDebugValue(n),n})(t,e);return Object.assign(n,t),n},a=e=>e?o(e):o},64422:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>rH,roboto:()=>m(),robotoCondensed:()=>v()});var r,i,o,a,s,l,u,c={};n.r(c),n.d(c,{boolean:()=>N,booleanish:()=>I,commaOrSpaceSeparated:()=>U,commaSeparated:()=>B,number:()=>V,overloadedBoolean:()=>F,spaceSeparated:()=>z});var d={};n.r(d),n.d(d,{attentionMarkers:()=>tq,contentInitial:()=>tz,disable:()=>tY,document:()=>tV,flow:()=>tU,flowInitial:()=>tB,insideSpan:()=>tW,string:()=>tH,text:()=>t$});var f=n(73154),h=n(96810);n(42167);var p=n(56096),m=n.n(p),g=n(72225),v=n.n(g),y=n(16447),b=n.n(y),x=n(89557);let w=x.A;var k=n(62352);function S(){return(S=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let E=function(e){return h.createElement("svg",S({width:"1em",height:"1em",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),r||(r=h.createElement("path",{d:"M14 1.41 12.59 0 7 5.59 1.41 0 0 1.41 5.59 7 0 12.59 1.41 14 7 8.41 12.59 14 14 12.59 8.41 7 14 1.41Z",fill:"#027357"})))},P=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,A=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,C={};function T(e,t){return((t||C).jsx?A:P).test(e)}let j=/[ \t\n\f\r]/g;function M(e){return""===e.replace(j,"")}class R{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function O(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new R(n,r,t)}function D(e){return e.toLowerCase()}R.prototype.normal={},R.prototype.property={},R.prototype.space=void 0;class _{constructor(e,t){this.attribute=t,this.property=e}}_.prototype.attribute="",_.prototype.booleanish=!1,_.prototype.boolean=!1,_.prototype.commaOrSpaceSeparated=!1,_.prototype.commaSeparated=!1,_.prototype.defined=!1,_.prototype.mustUseProperty=!1,_.prototype.number=!1,_.prototype.overloadedBoolean=!1,_.prototype.property="",_.prototype.spaceSeparated=!1,_.prototype.space=void 0;let L=0,N=H(),I=H(),F=H(),V=H(),z=H(),B=H(),U=H();function H(){return 2**++L}let $=Object.keys(c);class W extends _{constructor(e,t,n,r){let i=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",r),"number"==typeof n)for(;++i<$.length;){const e=$[i];!function(e,t,n){n&&(e[t]=n)}(this,$[i],(n&c[e])===c[e])}}}function q(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new W(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[D(r)]=r,n[D(o.attribute)]=r}return new R(t,n,e.space)}W.prototype.defined=!0;let Y=q({properties:{ariaActiveDescendant:null,ariaAtomic:I,ariaAutoComplete:null,ariaBusy:I,ariaChecked:I,ariaColCount:V,ariaColIndex:V,ariaColSpan:V,ariaControls:z,ariaCurrent:null,ariaDescribedBy:z,ariaDetails:null,ariaDisabled:I,ariaDropEffect:z,ariaErrorMessage:null,ariaExpanded:I,ariaFlowTo:z,ariaGrabbed:I,ariaHasPopup:null,ariaHidden:I,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:z,ariaLevel:V,ariaLive:null,ariaModal:I,ariaMultiLine:I,ariaMultiSelectable:I,ariaOrientation:null,ariaOwns:z,ariaPlaceholder:null,ariaPosInSet:V,ariaPressed:I,ariaReadOnly:I,ariaRelevant:null,ariaRequired:I,ariaRoleDescription:z,ariaRowCount:V,ariaRowIndex:V,ariaRowSpan:V,ariaSelected:I,ariaSetSize:V,ariaSort:null,ariaValueMax:V,ariaValueMin:V,ariaValueNow:V,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function K(e,t){return t in e?e[t]:t}function X(e,t){return K(e,t.toLowerCase())}let G=q({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:B,acceptCharset:z,accessKey:z,action:null,allow:null,allowFullScreen:N,allowPaymentRequest:N,allowUserMedia:N,alt:null,as:null,async:N,autoCapitalize:null,autoComplete:z,autoF
3ocus:N,autoPlay:N,blocking:z,capture:null,charSet:null,checked:N,cite:null,className:z,cols:V,colSpan:null,content:null,contentEditable:I,controls:N,controlsList:z,coords:V|B,crossOrigin:null,data:null,dateTime:null,decoding:null,default:N,defer:N,dir:null,dirName:null,disabled:N,download:F,draggable:I,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:N,formTarget:null,headers:z,height:V,hidden:F,high:V,href:null,hrefLang:null,htmlFor:z,httpEquiv:z,id:null,imageSizes:null,imageSrcSet:null,inert:N,inputMode:null,integrity:null,is:null,isMap:N,itemId:null,itemProp:z,itemRef:z,itemScope:N,itemType:z,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:N,low:V,manifest:null,max:null,maxLength:V,media:null,method:null,min:null,minLength:V,multiple:N,muted:N,name:null,nonce:null,noModule:N,noValidate:N,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:N,optimum:V,pattern:null,ping:z,placeholder:null,playsInline:N,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:N,referrerPolicy:null,rel:z,required:N,reversed:N,rows:V,rowSpan:V,sandbox:z,scope:null,scoped:N,seamless:N,selected:N,shadowRootClonable:N,shadowRootDelegatesFocus:N,shadowRootMode:null,shape:null,size:V,sizes:null,slot:null,span:V,spellCheck:I,src:null,srcDoc:null,srcLang:null,srcSet:null,start:V,step:null,style:null,tabIndex:V,target:null,title:null,translate:null,type:null,typeMustMatch:N,useMap:null,value:I,width:V,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:z,axis:null,background:null,bgColor:null,border:V,borderColor:null,bottomMargin:V,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:N,declare:N,event:null,face:null,frame:null,frameBorder:null,hSpace:V,leftMargin:V,link:null,longDesc:null,lowSrc:null,marginHeight:V,marginWidth:V,noResize:N,noHref:N,noShade:N,noWrap:N,object:null,profile:null,prompt:null,rev:null,rightMargin:V,rules:null,scheme:null,scrolling:I,standby:null,summary:null,text:null,topMargin:V,valueType:null,version:null,vAlign:null,vLink:null,vSpace:V,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:N,disableRemotePlayback:N,prefix:null,property:null,results:V,security:null,unselectable:null},space:"html",transform:X}),Z=q({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
3dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:U,accentHeight:V,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:V,amplitude:V,arabicForm:null,ascent:V,attributeName:null,attributeType:null,azimuth:V,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:V,by:null,calcMode:null,capHeight:V,className:z,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRen
3dering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:V,diffuseConstant:V,direction:null,display:null,dur:null,divisor:V,dominantBaseline:null,download:N,dx:null,dy:null,edgeMode:null,editable:null,elevation:V,enableBackground:null,end:null,event:null,exponent:V,externalResourcesRequired:null,fill:null,fillOpacity:V,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:B,g2:B,glyphName:B,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:V,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:V,horizOriginX:V,horizOriginY:V,id:null,ideographic:V,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:V,k:V,k1:V,k2:V,k3:V,k4:V,kernelMatrix:U,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:V,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:V,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:V,overlineThickness:V,paintOrder:null,panose1:null,path:null,pathLength:V,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:z,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:V,pointsAtY:V,pointsAtZ:V,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:U,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:U,rev:U,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:U,requiredFeatures:U,requiredFonts:U,requiredFormats:U,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:V,specularExponent:V,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:V,strikethroughThickness:V,string:null,stroke:null,strokeDashArray:U,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:V,strokeOpacity:V,strokeWidth:null,style:null,surfaceScale:V,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:U,tabIndex:V,tableValues:null,target:null,targetX:V,targetY:V,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:U,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:V,underlineThickness:V,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:V,values:null,vAlphabetic:V,vMathematical:V,vectorEffect:null,vHanging:V,vIdeographic:V,version:null,vertAdvY:V,vertOriginX:V,vertOriginY:V,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:V,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:K}),Q=q({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>
3"xlink:"+t.slice(5).toLowerCase()}),J=q({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:X}),ee=q({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),et=O([Y,G,Q,J,ee],"html"),en=O([Y,Z,Q,J,ee],"svg"),er=/[A-Z]/g,ei=/-[a-z]/g,eo=/^data[-\w.:]+$/i;function ea(e){return"-"+e.toLowerCase()}function es(e){return e.charAt(1).toUpperCase()}let el={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var eu=n(36060);let ec=ef("end"),ed=ef("start");function ef(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function eh(e){return e&&"object"==typeof e?"position"in e||"type"in e?em(e.position):"start"in e||"end"in e?em(e):"line"in e||"column"in e?ep(e):"":""}function ep(e){return eg(e&&e.line)+":"+eg(e&&e.column)}function em(e){return ep(e&&e.start)+"-"+ep(e&&e.end)}function eg(e){return e&&"number"==typeof e?e:1}class ev extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},o=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){const e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}const a=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=a?a.line:void 0,this.name=eh(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual,this.expected,this.note,this.url}}ev.prototype.file="",ev.prototype.name="",ev.prototype.reason="",ev.prototype.message="",ev.prototype.stack="",ev.prototype.column=void 0,ev.prototype.line=void 0,ev.prototype.ancestors=void 0,ev.prototype.cause=void 0,ev.prototype.fatal=void 0,ev.prototype.place=void 0,ev.prototype.ruleId=void 0,ev.prototype.source=void 0;let ey={}.hasOwnProperty,eb=new Map,ex=/[A-Z]/g,ew=new Set(["table","tbody","thead","tfoot","tr"]),ek=new Set(["td","th"]),eS="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function eE(e,t,n){var r,i,o,a,s,l,u,c,d;let f,h,p,m,g,v,y,b,x,w,k;return"element"===t.type?(r=e,i=t,o=n,h=f=r.schema,"svg"===i.tagName.toLowerCase()&&"html"===f.space&&(r.schema=en),r.ancestors.push(i),p=eT(r,i.tagName,!1),m=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&ey.call(t.properties,r)){let o=function(e,t,n){let r=function(e,t){let n=D(t),r=t,i=_;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&eo.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(ei,es);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!ei.test(e)){let n=e.replace(er,ea);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=W}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){var i;let t;if(Array.isArray(n)&&(n=r.commaSeparated?(t={},(""===(i=n)[i.length-1]?[...i,""]:i).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return eu(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new ev("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});
3throw t.file=e.filePath||void 0,t.url=eS+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)ey.call(e,t)&&(n[function(e){let t=e.replace(ex,eM);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?el[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(o){let[r,a]=o;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof a&&ek.has(t.tagName)?n=a:i[r]=a}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(r,i),g=eC(r,i),ew.has(i.tagName)&&(g=g.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&M(e.value):M(e))})),eP(r,m,p,i),eA(m,g),r.ancestors.pop(),r.schema=f,r.create(i,p,m,o)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}ej(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(a=e,s=t,l=n,y=v=a.schema,"svg"===s.name&&"html"===v.space&&(a.schema=en),a.ancestors.push(s),b=null===s.name?a.Fragment:eT(a,s.name,!0),x=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let o=i.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else ej(e,t.position);else{let i,o=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else ej(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(a,s),w=eC(a,s),eP(a,x,b,s),eA(x,w),a.ancestors.pop(),a.schema=v,a.create(s,b,x,l)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ej(e,t.position)}(e,t):"root"===t.type?(u=e,c=t,d=n,eA(k={},eC(u,c)),u.create(c,u.Fragment,k,d)):"text"===t.type?t.value:void 0}function eP(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function eA(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function eC(e,t){let n=[],r=-1,i=e.passKeys?new Map:eb;for(;++r<t.children.length;){let o,a=t.children[r];if(e.passKeys){let e="element"===a.type?a.tagName:"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.name:void 0;if(e){let t=i.get(e)||0;o=e+"-"+t,i.set(e,t+1)}}let s=eE(e,a,o);void 0!==s&&n.push(s)}return n}function eT(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),i=-1;for(;++i<n.length;){let t=T(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}r=e}else r=T(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return ey.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);ej(e)}function ej(e,t){let n=new ev("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=eS+"#cannot-handle-mdx-estrees-without-createevaluater",n}function eM(e){return"-"+e.toLowerCase()}let eR={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},eO={};function eD(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return e_(e.children,t,n)}return Array.isArray(e)?e_(e,t,n):""}function e_(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=eD(e[i],t,n);return r.join("")}function eL(e,t,n,r){let i,o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function eN(e,t){return e.length>0?(eL(e,e.length,0,t),e):t}class eI{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&eF(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),eF(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),eF(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);eF(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);eF(this.left,t.reverse())}}}function eF(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function eV(e){let t,n,r,i,o,a,s,l={},u=-1,c=new eI(e);for(;++u<c.length;){for(;u in l;)u=l[u];if(t=c.get(u),u&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r,i=e.get(t)[1],o=e.get(t)[2],a=t-1,s=[],l=i._tokenizer;!l&&(l=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let u=l.events,c=[],d={},f=-1,h=i,p=0,m=0,g=[0];for(;h;){for(;e.get(++a)[1]!==h;);s.push(a),!h._tokenizer&&(n=o.sliceStream(h),h.next||n.push(null),r&&l.defineSki
3p(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=h,h=h.next}for(h=i;++f<u.length;)"exit"===u[f][0]&&"enter"===u[f-1][0]&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(m=f+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),f=g.length;f--;){let t=u.slice(g[f],g[f+1]),n=s.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)d[p+c[f][0]]=p+c[f][1],p+=c[f][1]-c[f][0]-1;return d}(c,u)),u=l[u],s=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(o=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,o))}}return eL(e,0,1/0,c.slice(0)),!s}let ez={}.hasOwnProperty,eB=eJ(/[A-Za-z]/),eU=eJ(/[\dA-Za-z]/),eH=eJ(/[#-'*+\--9=?A-Z^-~]/);function e$(e){return null!==e&&(e<32||127===e)}let eW=eJ(/\d/),eq=eJ(/[\dA-Fa-f]/),eY=eJ(/[!-/:-@[-`{-~]/);function eK(e){return null!==e&&e<-2}function eX(e){return null!==e&&(e<0||32===e)}function eG(e){return -2===e||-1===e||32===e}let eZ=eJ(/\p{P}|\p{S}/u),eQ=eJ(/\s/);function eJ(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function e0(e,t,n,r){let i=r?r-1:1/0,o=0;return function(r){return eG(r)?(e.enter(n),function r(a){return eG(a)&&o++<i?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}}let e1={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e0(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return eK(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},e2={tokenize:function(e){let t,n,r,i=this,o=[],a=0;return s;function s(t){if(a<o.length){let n=o[a];return i.containerState=n[1],e.attempt(n[0].continuation,l,u)(t)}return u(t)}function l(e){if(a++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&v();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}g(a);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;return eL(i.events,o+1,0,i.events.slice(r)),i.events.length=s,u(e)}return s(e)}function u(n){if(a===o.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return p(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(e5,c,d)(n)}function c(e){return t&&v(),g(a),f(e)}function d(e){return i.parser.lazy[i.now().line]=a!==o.length,r=i.now().offset,p(e)}function f(t){return i.containerState={},e.attempt(e5,h,p)(t)}function h(e){return a++,o.push([i.currentConstruct,i.containerState]),f(e)}function p(r){if(null===r){t&&v(),g(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return eK(n)?(e.consume(n),m(e.exit("chunkFlow")),a=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function m(e,o){let s=i.sliceStream(e);if(o&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let s=i.events.length,l=s;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(g(a),o=s;o<i.events.length;)i.events[o][1].end={...n},o++;eL(i.events,l+1,0,i.events.slice(s)),i.events.length=o}}function g(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function v(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},e5={tokenize:function(e,t,n){return e0(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},e4={partial:!0,tokenize:function(e,t,n){return function(t){return eG(t)?e0(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||eK(e)?t(e):n(e)}}},e3={resolve:function(e){return eV(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):eK(t)?e.check(e6,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},e6={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e0(e,i,"linePrefix")};function i(i){if(null===i||eK(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},e7={tokenize:function(e){let t=this,n=e.attempt(e4,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,e0(e,e.attempt(this.parser.constructs.flow,r,e.attempt(e3,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},e9={resolveAll:tn()},e8=tt("string"),te=tt("text");function tt(e){return{resolveAll:tn("text"===e?tr:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),s)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function tn(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function tr(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],o=t.sliceStream(i),a=o.length,s=-1,l=0;for(;a--;){let e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let o={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:i.start._bufferIndex+s,_index:i.start._index+a,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}let ti={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){var a;return e.enter("thematicBreak"),r=a=o,function o(a){return a===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),eG(n)?e0(e,o,"whitespace")(n):o(n))}
3(a)):i>=3&&(null===a||eK(a))?(e.exit("thematicBreak"),t(a)):n(a)}(a)}}},to={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(e4,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,e0(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!eG(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ts,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,e0(e,e.attempt(to,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:eW(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(ti,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return eW(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),s(i)):n(i)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(e4,r.interrupt?n:l,e.attempt(ta,c,u))}
3function l(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return eG(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},ta={partial:!0,tokenize:function(e,t,n){let r=this;return e0(e,function(e){let i=r.events[r.events.length-1];return!eG(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},ts={partial:!0,tokenize:function(e,t,n){let r=this;return e0(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},tl={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return eG(t)?e0(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(tl,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return eG(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function tu(e,t,n,r,i,o,a,s,l){let u=l||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),d):null===t||32===t||41===t||e$(t)?n(t):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(t))};function d(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(s),d(t)):null===t||60===t||eK(t)?n(t):(e.consume(t),92===t?h:f)}function h(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function p(i){return!c&&(null===i||41===i||eX(i))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,p):41===i?(e.consume(i),c--,p):null===i||32===i||40===i||e$(i)?n(i):(e.consume(i),92===i?m:p)}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function tc(e,t,n,r,i,o){let a,s=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(d){return l>999||null===d||91===d||93===d&&!a||94===d&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(d):93===d?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):eK(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||eK(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!eG(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function td(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s):n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):eK(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e0(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||eK(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function tf(e,t){let n;return function r(i){return eK(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):eG(i)?e0(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function th(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let tp={partial:!0,tokenize:function(e,t,n){return function(t){return eX(t)?tf(e,r)(t):n(t)};function r(t){return td(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return eG(t)?e0(e,o,"whitespace")(t):o(t)}function o(e){return null===e||eK(e)?t(e):n(e)}}},tm={name:"codeIndented",tokenize:function(e,t,n){let r=this;
3return function(t){return e.enter("codeIndented"),e0(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):eK(n)?e.attempt(tg,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||eK(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},tg={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):eK(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):e0(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):eK(e)?i(e):n(e)}}},tv={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=a,e.push(["exit",a,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var a;let s,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){s="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||s)?(e.enter("setextHeadingLine"),r=t,a=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),eG(n)?e0(e,o,"lineSuffix")(n):o(n))}(a)):n(t)};function o(r){return null===r||eK(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},ty=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],tb=["pre","script","style","textarea"],tx={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(e4,t,n)}}},tw={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return eK(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},tk={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},tS={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),eG(t)?e0(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=s?(e.exit("codeFencedFenceSequence"),eG(i)?e0(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||eK(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},a=0,s=0;return function(t){var o;let u;return o=t,a=(u=i.events[i.events.length-1])&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(s++,e.consume(i),t):s<3?n(i):(e.exit("codeFencedFenceSequence"),eG(i)?e0(e,l,"whitespace")(i):l(i))}(o)};function l(o){return null===o||eK(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(tk,c,p)(o)):(e.enter("co
3deFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eK(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):eG(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),e0(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||eK(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eK(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,p,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return a>0&&eG(t)?e0(e,h,"linePrefix",a+1)(t):h(t)}function h(t){return null===t||eK(t)?e.check(tk,c,p)(t):(e.enter("codeFlowValue"),function t(n){return null===n||eK(n)?(e.exit("codeFlowValue"),h(n)):(e.consume(n),t)}(t))}function p(n){return e.exit("codeFenced"),t(n)}}},tE=document.createElement("i");function tP(e){let t="&"+e+";";tE.innerHTML=t;let n=tE.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let tA={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=eU,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=eq,u):(e.enter("characterReferenceValue"),r=7,i=eW,u(t))}function u(s){if(59===s&&a){let r=e.exit("characterReferenceValue");return i!==eU||tP(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++<r?(e.consume(s),u):n(s)}}},tC={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return eY(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},tT={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e0(e,t,"linePrefix")}}};function tj(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}let tM={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&eL(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return o=eN(o=[["enter",l,t],["enter",u,t]],e.slice(r+1,r+s+3)),o=eN(o,[["enter",c,t]]),o=eN(o,tj(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=eN(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=eN(o,e.slice(i+1)),o=eN(o,[["exit",l,t]]),eL(e,r,e.length,o),e},tokenize:function(e,t,n){let r,i,o=this,a=o.events.length;for(;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(th(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(tR,u,i?u:c)(t):91===t?e.attempt(tO,u,i?l:c)(t):i?u(t):c(t)}function l(t){return e.attempt(tD,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},tR={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return eX(t)?tf(e,i)(t):i(t)}function i(t){return 41===t?u(t):tu(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return eX(t)?tf(e,s)(t):u(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?td(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function l(t){return eX(t)?tf(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},tO={tokenize:function(e,t,n){let r=this;return function(t){return tc.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(th(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},tD={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},t_={name:"labelStartImage",resolveAll:tM.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function tL(e){return null===e||eX(e)||eQ(e)?1:eZ(e)?2:void 0}let tN={name:"attention",resolveAll:function(e,t){let n,r,i,o,a,s,l,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[
3n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let d={...e[n][1].end},f={...e[c][1].start};tI(d,-s),tI(f,s),o={type:s>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:f},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:s>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[n][1].end={...o.start},e[c][1].start={...a.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=eN(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=eN(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=eN(l,tj(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=eN(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=eN(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,eL(e,n-1,c-n+3,l),c=n+l.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=tL(i);return function(a){return n=a,e.enter("attentionSequence"),function a(s){if(s===n)return e.consume(s),a;let l=e.exit("attentionSequence"),u=tL(s),c=!u||2===u&&o||r.includes(s),d=!o||2===o&&u||r.includes(i);return l._open=!!(42===n?c:c&&(o||!d)),l._close=!!(42===n?d:d&&(u||!c)),t(s)}(a)}}};function tI(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tF={name:"labelStartLink",resolveAll:tM.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},tV={42:to,43:to,45:to,48:to,49:to,50:to,51:to,52:to,53:to,54:to,55:to,56:to,57:to,62:tl},tz={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,tc.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=th(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return eX(t)?tf(e,s)(t):s(t)}function s(t){return tu(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(tp,u,u)(t)}function u(t){return eG(t)?e0(e,c,"whitespace")(t):c(t)}function c(o){return null===o||eK(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},tB={[-2]:tm,[-1]:tm,32:tm},tU={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},eL(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var o;return e.enter("atxHeading"),o=i,e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||eX(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||eK(r)?(e.exit("atxHeading"),t(r)):eG(r)?e0(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||eX(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:ti,45:[tv,ti],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,a,s,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,h):63===a?(e.consume(a),r=3,l.interrupt?t:O):eB(a)?(e.consume(a),o=String.fromCharCode(a),p):n(a)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,a=0,f):eB(i)?(e.consume(i),r=4,l.interrupt?t:O):n(i)}function d(r){return 45===r?(e.consume(r),l.interrupt?t:O):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(a++)?(e.consume(r),a===i.length)?l.interrupt?t:E:f:n(r)}function h(t){return eB(t)?(e.consume(t),o=String.fromCharCode(t),p):n(t)}
3function p(a){if(null===a||47===a||62===a||eX(a)){let s=47===a,u=o.toLowerCase();return!s&&!i&&tb.includes(u)?(r=1,l.interrupt?t(a):E(a)):ty.includes(o.toLowerCase())?(r=6,s)?(e.consume(a),m):l.interrupt?t(a):E(a):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(a):i?function t(n){return eG(n)?(e.consume(n),t):k(n)}(a):g(a))}return 45===a||eU(a)?(e.consume(a),o+=String.fromCharCode(a),p):n(a)}function m(r){return 62===r?(e.consume(r),l.interrupt?t:E):n(r)}function g(t){return 47===t?(e.consume(t),k):58===t||95===t||eB(t)?(e.consume(t),v):eG(t)?(e.consume(t),g):k(t)}function v(t){return 45===t||46===t||58===t||95===t||eU(t)?(e.consume(t),v):y(t)}function y(t){return 61===t?(e.consume(t),b):eG(t)?(e.consume(t),y):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,x):eG(t)?(e.consume(t),b):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||eX(n)?y(n):(e.consume(n),t)}(t)}function x(t){return t===s?(e.consume(t),s=null,w):null===t||eK(t)?n(t):(e.consume(t),x)}function w(e){return 47===e||62===e||eG(e)?g(e):n(e)}function k(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||eK(t)?E(t):eG(t)?(e.consume(t),S):n(t)}function E(t){return 45===t&&2===r?(e.consume(t),T):60===t&&1===r?(e.consume(t),j):62===t&&4===r?(e.consume(t),D):63===t&&3===r?(e.consume(t),O):93===t&&5===r?(e.consume(t),R):eK(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(tx,_,P)(t)):null===t||eK(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),E)}function P(t){return e.check(tw,A,_)(t)}function A(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),C}function C(t){return null===t||eK(t)?P(t):(e.enter("htmlFlowData"),E(t))}function T(t){return 45===t?(e.consume(t),O):E(t)}function j(t){return 47===t?(e.consume(t),o="",M):E(t)}function M(t){if(62===t){let n=o.toLowerCase();return tb.includes(n)?(e.consume(t),D):E(t)}return eB(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),M):E(t)}function R(t){return 93===t?(e.consume(t),O):E(t)}function O(t){return 62===t?(e.consume(t),D):45===t&&2===r?(e.consume(t),O):E(t)}function D(t){return null===t||eK(t)?(e.exit("htmlFlowData"),_(t)):(e.consume(t),D)}function _(n){return e.exit("htmlFlow"),t(n)}}},61:tv,95:ti,96:tS,126:tS},tH={38:tA,92:tC},t$={[-5]:tT,[-4]:tT,[-3]:tT,33:t_,38:tA,42:tN,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return eB(t)?(e.consume(t),o):64===t?n(t):s(t)}function o(t){return 43===t||45===t||46===t||eU(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||eU(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||e$(r)?n(r):(e.consume(r),a)}function s(t){return 64===t?(e.consume(t),l):eH(t)?(e.consume(t),s):n(t)}function l(i){return eU(i)?function i(o){return 46===o?(e.consume(o),r=0,l):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||eU(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),x):63===t?(e.consume(t),y):eB(t)?(e.consume(t),k):n(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,h):eB(t)?(e.consume(t),v):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):eK(t)?(o=c,M(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?j(e):45===e?d(e):c(e)}function h(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?p:h):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):eK(t)?(o=p,M(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?j(t):93===t?(e.consume(t),g):p(t)}function v(t){return null===t||62===t?j(t):eK(t)?(o=v,M(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),b):eK(t)?(o=y,M(t)):(e.consume(t),y)}function b(e){return 62===e?j(e):y(e)}function x(t){return eB(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||eU(t)?(e.consume(t),w):function t(n){return eK(n)?(o=t,M(n)):eG(n)?(e.consume(n),t):j(n)}(t)}function k(t){return 45===t||eU(t)?(e.consume(t),k):47===t||62===t||eX(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),j):58===t||95===t||eB(t)?(e.consume(t),E):eK(t)?(o=S,M(t)):eG(t)?(e.consume(t),S):j(t)}function E(t){return 45===t||46===t||58===t||95===t||eU(t)?(e.consume(t),E):function t(n){return 61===n?(e.consume(n),P):eK(n)?(o=t,M(n)):eG(n)?(e.consume(n),t):S(n)}(t)}function P(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,A):eK(t)?(o=P,M(t)):eG(t)?(e.consume(t),P):(e.consume(t),C)}function A(t){return t===r?(e.consume(t),r=void 0,T):null===t?n(t):eK(t)?(o=A,M(t)):(e.consume(t),A)}function C(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||eX(t)?S(t):(e.consume(t),C)}function T(e){return 47===e||62===e||eX(e)?S(e):n(e)}function j(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function M(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return eG(t)?e0(e,O,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):O(t)}function O(t){return e.enter("htmlTextData"),o(t)}}}],91:tF,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return eK(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},tC],93:tM,95:tN,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;
3return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),a):96===l?(i=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(i.type="codeTextData",s(a))}(l)):eK(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||eK(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),s)}}}},tW={null:[tN,e9]},tq={null:[42,95]},tY={null:[]},tK=/[\0\t\n\r]/g;function tX(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let tG=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tZ(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return tX(n.slice(t?2:1),t?16:10)}return tP(n)||e}let tQ={}.hasOwnProperty;function tJ(e){return{line:e.line,column:e.column,offset:e.offset}}function t0(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+eh({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+eh({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+eh({start:t.start,end:t.end})+") is still open")}function t1(e){let t=this;t.parser=function(n){var r,i;let o,a,s,l;return"string"!=typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(v),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(p),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(h),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(h,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(m),hardBreakTrailing:r(m),htmlFlow:r(g,i),htmlFlowData:u,htmlText:r(g,i),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(v),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(y,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(y),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(p),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:a(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tX(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=tP(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=tJ(e.end)},codeFenced:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:a(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=th(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(d),hardBreakTrailing:a(d),htmlFlow:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(tG,tZ),n.identifier=th(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=tJ(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.t
3ype)&&(u.call(this,e),c.call(this,e))},link:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=th(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:a(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:a(),thematicBreak:a()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(tQ.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},a={stack:[r],tokenStack:[],config:t,enter:o,exit:s,buffer:i,resume:l,data:n},u=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?u.push(c):c=function(e,t,n){let r,i,o,a,s=t-1,l=-1,u=!1;for(;++s<=n;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||l||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(i=void 0;a--;){let t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=a}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(s,0,["enter",i,t[2]]),s++,n++,o=void 0,a=!0}}}return e[t][1]._spread=u,n}(e,u.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];tQ.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},a),e[c][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||t0).call(a,void 0,e[0])}for(r.position={start:tJ(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tJ(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:tJ(t.start),end:void 0}}function a(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||t0).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+eh({start:e.start,end:e.end})+"): it’s not open");n.position.end=tJ(e.end)}function l(){var e;return e=this.stack.pop(),eD(e,"boolean"!=typeof eO.includeImageAlt||eO.includeImageAlt,"boolean"!=typeof eO.includeHtml||eO.includeHtml)}function u(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:tJ(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tJ(e.end)}function d(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function h(){return{type:"code",lang:null,meta:null,value:""}}function p(){return{type:"heading",depth:0,children:[]}}function m(){return{type:"break"}}function g(){return{type:"html",value:""}}function v(){return{type:"link",title:null,url:"",children:[]}}function y(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(i)(function(e){for(;!eV(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(ez.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(r in o){ez.call(i,r)||(i[r]=[]);let e=o[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);eL(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([d,...(e||{}).extensions||[]]),content:n(e1),defined:[],document:n(e2),flow:n(e7),lazy:{},string:n(e8),text:n(te)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,c
3olumn:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],a=[],s=[],l={attempt:p(function(e,t){m(e,t.from)}),check:p(h),consume:function(e){eK(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=f(),u.events.push(["exit",t,u]),t},interrupt:p(h,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o,a=e[r];if("string"==typeof a)o=a;else switch(a){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":"	";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(a)}n=-2===a,i.push(o)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(a=eN(a,e),function(){let e;for(;r._index<a.length;){let n=a[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),c=c(t)}else c=c(n)}}(),null!==a[a.length-1])?[]:(m(t,0),u.events=tj(o,u.events,u),u.events)}},c=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function d(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,a)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function h(e,t){t.restore()}function p(e,t){return function(n,i,o){var a;let c,d,h,p;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(a=n,function(e){let t=null!==e&&a[e],n=null!==e&&a.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(c=e,d=0,0===e.length)?o:v(e[d])}function v(e){return function(n){let i,o,a,c,d;return(i=f(),o=u.previous,a=u.currentConstruct,c=u.events.length,d=Array.from(s),p={from:c,restore:function(){r=i,u.previous=o,u.currentConstruct=a,u.events.length=c,s=d,g()}},h=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?b(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,y,b)(n)}}function y(t){return e(h,p),i}function b(e){return(p.restore(),++d<c.length)?v(c[d]):o}}}function m(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&eL(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(i).document().write((a=1,s="",l=!0,function(e,t,n){let r,i,u,c,d,f=[];for(e=s+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),u=0,s="",l&&(65279===e.charCodeAt(0)&&u++,l=void 0);u<e.length;){if(tK.lastIndex=u,c=(r=tK.exec(e))&&void 0!==r.index?r.index:e.length,d=e.charCodeAt(c),!r){s=e.slice(u);break}if(10===d&&u===c&&o)f.push(-3),o=void 0;else switch(o&&(f.push(-5),o=void 0),u<c&&(f.push(e.slice(u,c)),a+=c-u),d){case 0:f.push(65533),a++;break;case 9:for(i=4*Math.ceil(a/4),f.push(-2);a++<i;)f.push(-1);break;case 10:f.push(-4),a=1;break;default:o=!0,a=1}u=c+1}return n&&(o&&f.push(-5),s&&f.push(s),f.push(null)),f})(n,r,!0))))}}let t2="object"==typeof self?self:globalThis,t5=e=>{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=i=>{if(t.has(i))return t.get(i);let[o,a]=e[i];switch(o){case 0:case -1:return n(a,i);case 1:{let e=n([],i);for(let t of a)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),i);case 4:{let{source:e,flags:t}=a;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of a)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of a)e.add(r(t));return e}case 7:{let{name:e,message:t}=a;return n(new t2[e](t),i)}case 8:return n(BigInt(a),i);
3case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{let{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}}return n(new t2[o](a),i)})(0)},{toString:t4}={},{keys:t3}=Object,t6=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=t4.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},t7=([e,t])=>0===e&&("function"===t||"symbol"===t),t9=(e,{json:t,lossy:n}={})=>{var r,i,o;let a,s,l=[];return(r=!(t||n),i=!!t,o=new Map,a=(e,t)=>{let n=l.push(e)-1;return o.set(t,n),n},s=e=>{if(o.has(e))return o.get(e);let[t,n]=t6(e);switch(t){case 0:{let i=e;switch(n){case"bigint":t=8,i=e.toString();break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);i=null;break;case"undefined":return a([-1],e)}return a([t,i],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),a([n,[...t]],e)}let r=[],i=a([t,r],e);for(let t of e)r.push(s(t));return i}case 2:{if(n)switch(n){case"BigInt":return a([n,e.toString()],e);case"Boolean":case"Number":case"String":return a([n,e.valueOf()],e)}if(i&&"toJSON"in e)return s(e.toJSON());let o=[],l=a([t,o],e);for(let t of t3(e))(r||!t7(t6(e[t])))&&o.push([s(t),s(e[t])]);return l}case 3:return a([t,e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return a([t,{source:n,flags:r}],e)}case 5:{let n=[],i=a([t,n],e);for(let[t,i]of e)(r||!(t7(t6(t))||t7(t6(i))))&&n.push([s(t),s(i)]);return i}case 6:{let n=[],i=a([t,n],e);for(let t of e)(r||!t7(t6(t)))&&n.push(s(t));return i}}let{message:l}=e;return a([t,{name:n,message:l}],e)})(e),l},t8="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?t5(t9(e,t)):structuredClone(e):(e,t)=>t5(t9(e,t));function ne(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),a="";if(37===o&&eU(e.charCodeAt(n+1))&&eU(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function nt(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function nn(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let nr=function(e){var t,n;if(null==e)return no;if("function"==typeof e)return ni(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=nr(e[n]);return ni(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,ni(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,ni(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function ni(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function no(){return!0}let na=[];function ns(e,t,n,r){var i,o,a;let s,l,u,c,d,f;"function"==typeof t&&"function"!=typeof n?(l=void 0,u=t,s=n):(l=t,u=n,s=r),i=l,o=function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return u(e,r,n)},a=s,"function"==typeof i&&"function"!=typeof o?(a=o,o=i):c=i,d=nr(c),f=a?-1:1,(function e(t,n,r){let s=t&&"object"==typeof t?t:{};if("string"==typeof s.type){let e="string"==typeof s.tagName?s.tagName:"string"==typeof s.name?s.name:void 0;Object.defineProperty(l,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return l;function l(){var s;let l,u,c,h=na;if((!i||d(t,n,r[r.length-1]||void 0))&&!1===(h=Array.isArray(s=o(t,r))?s:"number"==typeof s?[!0,s]:null==s?na:[s])[0])return h;if("children"in t&&t.children&&t.children&&"skip"!==h[0])for(u=(a?t.children.length:-1)+f,c=r.concat(t);u>-1&&u<t.children.length;){if(!1===(l=e(t.children[u],u,c)())[0])return l;u="number"==typeof l[1]?l[1]:u+f}return h}})(e,void 0,[])()}function nl(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function nu(e){let t=e.spread;return null==t?e.children.length>1:t}function nc(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let nd={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let i={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i={type:"element",tagName:"pre",properties:{},children:[i=e.applyData(t,i)]},e.patch(t,i),i},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}
3,footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),o=ne(i.toLowerCase()),a=e.footnoteOrder.indexOf(i),s=e.footnoteCounts.get(i);void 0===s?(s=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=a+1,s+=1,e.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nl(e,t);let i={src:ne(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:ne(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return nl(e,t);let i={href:ne(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:ne(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=nu(n[r])}return t}(n):nu(t),o={},a=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){let e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=ed(t.children[1]),a=ec(t.children[t.children.length-1]);o&&a&&(r.position={start:o,end:a}),i.push(r)}let o={type:"element",tagName:"table",properties:{}
3,children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length,s=-1,l=[];for(;++s<a;){let n=t.children[s],r={},a=o?o[s]:void 0;a&&(r.align=a);let u={type:"element",tagName:i,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),l.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];for(;r;)o.push(nc(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(nc(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:nf,yaml:nf,definition:nf,footnoteDefinition:nf};function nf(){}let nh={}.hasOwnProperty,np={};function nm(e,t){e.position&&(t.position=function(e){let t=ed(e),n=ec(e);if(t&&n)return{start:t,end:n}}(e))}function ng(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,t8(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function nv(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function ny(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function nb(e,t){let n,r,i,o,a=(n=t||np,r=new Map,i=new Map,o={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=o.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=ny(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=ny(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:ng,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...nd,...n.handlers},one:function(e,t){let n=e.type,r=o.handlers[n];if(nh.call(o.handlers,n)&&r)return r(o,e,t);if(o.options.passThrough&&o.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=t8(n);return r.children=o.all(e),r}return t8(e)}return(o.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(nh.call(n,"hProperties")||nh.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(o,e,t)},options:n,patch:nm,wrap:nv},ns(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),o),s=a.one(e,void 0),l=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||nt,r=e.options.footnoteBackLabel||nn,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;let o=e.all(i),a=String(i.identifier).toUpperCase(),u=ne(a.toLowerCase()),c=0,d=[],f=e.footnoteCounts.get(a);for(;void 0!==f&&++c<=f;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,c);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let h=o[o.length-1];if(h&&"element"===h.type&&"p"===h.tagName){let e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...d)}else o.push(...d);let p={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,!0)};e.patch(i,p),s.push(p)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...t8(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)}
3,{type:"text",value:"\n"}]}}(a),u=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return l&&u.children.push({type:"text",value:"\n"},l),u}function nx(e,t){return e&&"run"in e?async function(n,r){let i=nb(n,{file:r,...t});await e.run(i,r)}:function(n,r){return nb(n,{file:r,...e||t})}}function nw(e){if(e)throw e}var nk=n(82394);function nS(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let nE=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');nT(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(i=o):(s=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},nP=function(e){let t;if(nT(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},nA=function(e){let t;nT(e);let n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){let s=e.codePointAt(n);if(47===s){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1)}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},nC=function(...e){var t;let n,r,i,o=-1;for(;++o<e.length;)nT(e[o]),e[o]&&(i=void 0===i?e[o]:i+"/"+e[o]);return void 0===i?".":(nT(t=i),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function nT(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function nj(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let nM=["history","path","basename","stem","extname","dirname"];class nR{constructor(e){let t,n;t=e?nj(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<nM.length;){const e=nM[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)nM.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?nE(this.path):void 0}set basename(e){nD(e,"basename"),nO(e,"basename"),this.path=nC(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?nP(this.path):void 0}set dirname(e){n_(this.basename,"dirname"),this.path=nC(e||"",this.basename)}get extname(){return"string"==typeof this.path?nA(this.path):void 0}set extname(e){if(nO(e,"extname"),n_(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=nC(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){nj(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!nj(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),nD(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?nE(this.path,this.extname):void 0}set stem(e){nD(e,"stem"),nO(e,"stem"),this.path=nC(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new ev(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function nO(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function nD(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function n_(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let nL=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},nN={}.hasOwnProperty;
3class nI extends nL{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(o,...a){let s=e[++n],l=-1;if(o)return void r(o);for(;++l<t.length;)(null===a[l]||void 0===a[l])&&(a[l]=t[l]);t=a,s?(function(e,t){let n;return function(...t){let o,a=e.length>t.length;a&&t.push(r);try{o=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(o&&o.then&&"function"==typeof o.then?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(s,i)(...a):r(null,...a)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new nI,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(nk(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(nB("data",this.frozen),this.namespace[e]=t,this):nN.call(this.namespace,e)&&this.namespace[e]||void 0:e?(nB("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=n$(e),n=this.parser||this.Parser;return nV("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),nV("process",this.parser||this.Parser),nz("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let o=n$(e),a=n.parse(o);function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(a,o,function(e,t,r){var i,o;if(e||!t||!r)return s(e);let a=n.stringify(t,r);"string"==typeof(i=a)||(o=i)&&"object"==typeof o&&"byteLength"in o&&"byteOffset"in o?r.value=a:r.result=a,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),nV("processSync",this.parser||this.Parser),nz("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,nw(e),t=r}),nH("processSync","process",n),t}run(e,t,n){nU(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,o){let a=n$(t);r.run(e,a,function(t,r,a){let s=r||e;t?o(t):i?i(s):n(void 0,s,a)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){nw(e),n=t,r=!0}),nH("runSync","run",r),n}stringify(e,t){this.freeze();let n=n$(t),r=this.compiler||this.Compiler;return nz("stringify",r),nU(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(nB("use",this.frozen),null==e);else if("function"==typeof e)a(e,t);else if("object"==typeof e)Array.isArray(e)?o(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=nk(!0,r.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)a(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;a(t,n)}else i(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function a(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...o]=t,a=n[i][1];nS(a)&&nS(r)&&(r=nk(!0,a,r)),n[i]=[e,r,...o]}}}}let nF=new nI().freeze();function nV(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nz(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function nB(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nU(e){if(!nS(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}
3function nH(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function n$(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new nR(e)}let nW=[],nq={allowDangerousHtml:!0},nY=/^(https?|ircs?|mailto|xmpp)$/i,nK=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function nX(e){var t;let n,r,i,o,a,s=(n=(t=e).rehypePlugins||nW,r=t.remarkPlugins||nW,i=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...nq}:nq,nF().use(t1).use(r).use(nx,i).use(n)),l=(o=e.children||"",a=new nR,"string"==typeof o&&(a.value=o),a);return function(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,a=t.skipHtml,s=t.unwrapDisallowed,l=t.urlTransform||nG;for(let e of nK)Object.hasOwn(t,e.from)&&(e.from,e.to&&e.to,e.id);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:"root"===e.type?e.children:[e]}),ns(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return a?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in eR)if(Object.hasOwn(eR,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=eR[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=l(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!o&&o.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,i)),a&&i&&"number"==typeof t)return s&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i,o;let a;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let s=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=s,r=t.jsxDEV,a=function(e,t,i,o){let a=Array.isArray(i.children),s=ed(e);return r(t,i,o,a,{columnNumber:s?s.column-1:void 0,fileName:n,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");
3if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,o=t.jsxs,a=function(e,t,n,r){let a=Array.isArray(n.children)?o:i;return r?a(t,n,r):a(t,n)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:s,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?en:et,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=eE(l,e,void 0);return u&&"string"!=typeof u?u:l.create(e,l.Fragment,{children:u||void 0},void 0)}(e,{Fragment:f.Fragment,components:i,ignoreInvalidStyle:!0,jsx:f.jsx,jsxs:f.jsxs,passKeys:!0,passNode:!0})}(s.runSync(s.parse(l),l),e)}function nG(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||nY.test(e.slice(0,t))?e:""}var nZ=n(67103),nQ=n(42311),nJ=n(94002);class n0 extends h.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function n1({children:e,isPresent:t}){let n=(0,h.useId)(),r=(0,h.useRef)(null),i=(0,h.useRef)({width:0,height:0,top:0,left:0}),{nonce:o}=(0,h.useContext)(nJ.Q);return(0,h.useInsertionEffect)(()=>{let{width:e,height:a,top:s,left:l}=i.current;if(t||!r.current||!e||!a)return;r.current.dataset.motionPopId=n;let u=document.createElement("style");return o&&(u.nonce=o),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
4          [data-motion-pop-id="${n}"] {
5            position: absolute !important;
6            width: ${e}px !important;
7            height: ${a}px !important;
8            top: ${s}px !important;
9            left: ${l}px !important;
10          }
11        `),()=>{document.head.removeChild(u)}},[t]),(0,f.jsx)(n0,{isPresent:t,childRef:r,sizeRef:i,children:h.cloneElement(e,{ref:r})})}let n2=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:o,mode:a})=>{let s=(0,nQ.M)(n5),l=(0,h.useId)(),u=(0,h.useMemo)(()=>({id:l,initial:t,isPresent:n,custom:i,onExitComplete:e=>{for(let t of(s.set(e,!0),s.values()))if(!t)return;r&&r()},register:e=>(s.set(e,!1),()=>s.delete(e))}),o?[Math.random()]:[n]);return(0,h.useMemo)(()=>{s.forEach((e,t)=>s.set(t,!1))},[n]),h.useEffect(()=>{n||s.size||!r||r()},[n]),"popLayout"===a&&(e=(0,f.jsx)(n1,{isPresent:n,children:e})),(0,f.jsx)(nZ.t.Provider,{value:u,children:e})};function n5(){return new Map}var n4=n(59291),n3=n(15604);let n6=e=>e.key||"";function n7(e){let t=[];return h.Children.forEach(e,e=>{(0,h.isValidElement)(e)&&t.push(e)}),t}var n9=n(54328);let n8=({children:e,exitBeforeEnter:t,custom:n,initial:r=!0,onExitComplete:i,presenceAffectsLayout:o=!0,mode:a="sync"})=>{(0,n3.V)(!t,"Replace exitBeforeEnter with mode='wait'");let s=(0,h.useMemo)(()=>n7(e),[e]),l=s.map(n6),u=(0,h.useRef)(!0),c=(0,h.useRef)(s),d=(0,nQ.M)(()=>new Map),[p,m]=(0,h.useState)(s),[g,v]=(0,h.useState)(s);(0,n9.E)(()=>{u.current=!1,c.current=s;for(let e=0;e<g.length;e++){let t=n6(g[e]);l.includes(t)?d.delete(t):!0!==d.get(t)&&d.set(t,!1)}},[g,l.length,l.join("-")]);let y=[];if(s!==p){let e=[...s];for(let t=0;t<g.length;t++){let n=g[t],r=n6(n);l.includes(r)||(e.splice(t,0,n),y.push(n))}"wait"===a&&y.length&&(e=y),v(n7(e)),m(s);return}let{forceRender:b}=(0,h.useContext)(n4.L);return(0,f.jsx)(f.Fragment,{children:g.map(e=>{let t=n6(e),h=s===g||l.includes(t);return(0,f.jsx)(n2,{isPresent:h,initial:(!u.current||!!r)&&void 0,custom:h?void 0:n,presenceAffectsLayout:o,mode:a,onExitComplete:h?void 0:()=>{if(!d.has(t))return;d.set(t,!0);let e=!0;d.forEach(t=>{t||(e=!1)}),e&&(null==b||b(),v(c.current),i&&i())},children:e},t)})})};var re=n(68178),rt=n(63470);let rn=(0,rt.v)(e=>({visible:!1,setVisible:t=>e({visible:t}),query:"",setQuery:t=>e({query:t}),executingQuery:!1,setExecutingQuery:t=>e({executingQuery:t}),error:"",setError:t=>e({error:t}),threadID:"",setThreadID:t=>e({threadID:t}),messages:[],setMessages:t=>e({messages:t}),reset:()=>e({threadID:"",messages:[],error:"",executingQuery:!1,query:""})}));var rr=n(46117),ri=n(42155),ro=n.n(ri),ra=n(71082),rs=n.n(ra);let rl=e=>{let[t,n]=h.useState(!1),r=(0,f.jsx)("div",{id:e.id,onClick:e.onClick,className:ro()("cursor-pointer rounded-full h-[20px] w-[20px] flex items-center justify-center border border-solid border-[#
11E1E4EA] hover:border-neutral-400 hover:scale-110 transition-all duration-500",rs()["circle-icon"],"animate-border",e.className),children:e.children});return e.popoverContent?(0,f.jsxs)(rr.AM,{open:t,onOpenChange:n,children:[(0,f.jsx)(rr.Wv,{className:"plain no-outline",onMouseEnter:()=>{n(!0)},onMouseLeave:()=>{n(!1)},children:r}),(0,f.jsx)(rr.hl,{children:(0,f.jsx)("div",{className:"text-sm",children:e.popoverContent})})]}):r};n(32127);let ru=[[1,2,3],[2,1,3],[2,3,1],[3,1,2]],rc=({dontAnimate:e=!1,loading:t=!1,size:n=100,color:r="#000000"})=>{let[i,o]=(0,h.useState)(0),[a,s]=(0,h.useState)(e);(0,h.useEffect)(()=>{let e=setTimeout(()=>{s(!0)},400);return()=>clearTimeout(e)},[]),(0,h.useEffect)(()=>{if(!a||e||!t)return;let n=setInterval(()=>{o(e=>(e+1)%ru.length)},400);return()=>clearInterval(n)},[a,e,t]);let l=e=>ro()("absolute transition-all duration-[150] px-0.5 flex items-center justify-center scale-[0.85]",{"-translate-x-[100%]":1===ru[i][e],"-translate-x-[0px]":2===ru[i][e],"translate-x-[100%]":3===ru[i][e]},{"opacity-0 !duration-1000":!a||!t,"opacity-100":a&&t});return(0,f.jsxs)("div",{className:"flex items-center justify-center relative",style:{width:`${n}px`,height:`${.27*n}px`},children:[(0,f.jsx)("div",{className:l(0),children:(0,f.jsx)("svg",{width:.25*n,height:.23*n,viewBox:"0 0 25 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,f.jsx)("path",{d:"M11.5459 1.48045C11.7501 0.288094 13.4626 0.28809 13.6669 1.48045L15.5373 12.3992C15.5806 12.6521 15.7128 12.8812 15.9102 13.0452L24.4309 20.1244C25.3614 20.8974 24.5052 22.3805 23.3705 21.9612L12.9793 18.1216C12.7386 18.0327 12.4741 18.0327 12.2335 18.1216L1.8423 21.9612C0.70756 22.3805 -0.148676 20.8974 0.781812 20.1244L9.30256 13.0452C9.4999 12.8812 9.63216 12.6521 9.67548 12.3992L11.5459 1.48045Z",fill:r})})}),(0,f.jsx)("div",{className:l(1),children:(0,f.jsx)("svg",{width:.26*n,height:.27*n,viewBox:"0 0 26 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,f.jsx)("path",{d:"M11.7876 1.46474C11.9855 0.263322 13.713 0.263327 13.9109 1.46475L15.3106 9.96233C15.3856 10.4174 15.7422 10.7741 16.1974 10.8491L24.6949 12.2488C25.8964 12.4467 25.8963 14.1741 24.6949 14.372L16.1973 15.7717C15.7422 15.8467 15.3856 16.2034 15.3106 16.6585L13.9109 25.1561C13.713 26.3575 11.9855 26.3575 11.7876 25.156L10.388 16.6585C10.313 16.2034 9.956 15.8467 9.5012 15.7717L1.00362 14.372C-0.197799 14.1741 -0.197794 12.4467 1.00363 12.2488L9.5012 10.8491C9.95631 10.7741 10.313 10.4174 10.388 9.96232L11.7876 1.46474Z",fill:r})})}),(0,f.jsx)("div",{className:l(2),children:(0,f.jsx)("svg",{width:.24*n,height:.23*n,viewBox:"0 0 24 23",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,f.jsx)("path",{d:"M11.7258 0.275617C11.9236 0.193716 12.1457 0.193716 12.3434 0.275617L19.6191 3.2893C19.8169 3.3712 19.9739 3.5283 20.0558 3.72602L23.0695 11.0017C23.1514 11.1994 23.1514 11.4216 23.0695 11.6193L20.0558 18.895C19.9739 19.0927 19.8169 19.2498 19.6191 19.3317L12.3434 22.3454C12.1457 22.4273 11.9236 22.4273 11.7258 22.3454L4.45014 19.3317C4.25242 19.2498 4.09533 19.0927 4.01343 18.895L0.999738 11.6193C0.917837 11.4216 0.917837 11.1994 0.999738 11.0017L4.01343 3.72602C4.09533 3.5283 4.25242 3.3712 4.45014 3.2893L11.7258 0.275617Z",fill:r})})})]})},rd=({dontAnimate:e=!1,loading:t=!1,className:n,size:r=100,color:i="#000000"})=>(0,f.jsx)("div",{className:ro()("flex flex-col items-center gap-2",n),children:(0,f.jsx)(rc,{dontAnimate:e,loading:t,size:r,color:i})});var rf=n(30303);function rh(){return(rh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let rp=function(e){return h.createElement("svg",rh({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),i||(i=h.createElement("path",{d:"M8 15.5a7.5 7.5 0 1 1 0-15 7.5 7.5 0 0 1 0 15Zm-.75-8.25v4.5h1.5v-4.5h-1.5Zm0-3v1.5h1.5v-1.5h-1.5Z",fill:"#7D52F4"})))};var rm=n(78268),rg=n.n(rm),rv=n(62818),ry=n(66902);let rb=(0,h.forwardRef)((e,t)=>{let n=h.useRef(null),r=h.useRef(null),[i,o]=h.useState(0),[a,s]=h.useState(!0),[l,u]=h.useState(""),c=h.useRef(0),d=h.useCallback(t=>{let n=!1,r=!1,o=!!e.scrollIndicatorDirections?.left,s=!!e.scrollIndicatorDirections?.right;if(a){let e=t.scrollLeft<t.scrollWidth-t.clientWidth-5,i=t.scrollLeft>5;n=e&&s,r=i&&o}
11else{let e=c.current<i-5,t=c.current>5;n=e&&s,r=t&&o}let l=t.scrollWidth>t.clientWidth+5;(r&&n?u(rg()["mask-both"]):n?u(rg()["mask-right"]):r?u(rg()["mask-left"]):u(""),e.alwaysShowscrollIndicators)?o&&s?u(rg()["mask-both"]):s?u(rg()["mask-right"]):o&&u(rg()["mask-left"]):l||u("")},[i,e.alwaysShowscrollIndicators,e.scrollIndicatorDirections,a]),p=h.useCallback(()=>{if(n.current){let t=n.current;c.current=0,t.style.transform="translateX(0px)",e.syncElement?.current&&e.syncElement.current.style.setProperty("--scroll-x","0px"),d(t)}},[d]),{observe:m}=(0,ry.Ay)({onResize:({width:t})=>{s(!window.matchMedia("not all and (hover: none)").matches),e.noScrollReset||p(),n.current&&n.current.scrollWidth&&o(n.current.scrollWidth-t)}});h.useEffect(()=>{if(e.noScrollReset)return window.addEventListener("resize",p),()=>{window.removeEventListener("resize",p)}},[p]);let g=h.useRef(()=>{});g.current=h.useCallback(t=>{if(n.current){let r=n.current,o=r.getBoundingClientRect(),s=t.getBoundingClientRect(),l=Math.max(0,Math.min(s.left-o.left+r.scrollLeft-o.width/2+s.width/2,i));a?(r.scrollTo({left:l,behavior:"smooth"}),e.syncElement?.current&&e.syncElement.current.scrollTo({left:l,behavior:"smooth"})):(r.style.transform=`translateX(-${l}px)`,e.syncElement?.current&&e.syncElement.current.style.setProperty("--scroll-x",`-${l}px`)),c.current=l,d(r)}},[i,d,a]),(0,h.useImperativeHandle)(t,()=>({setScroll:e=>{g.current(e)}}));let v=(0,rv.i3)(({down:t,delta:o})=>{let a=n.current,s=e.speed||1.5;c.current=Math.min(Math.max(0,c.current-o[0]*s),i),a.style.transform=`translateX(-${c.current}px)`,e.syncElement?.current&&e.syncElement.current.style.setProperty("--scroll-x",`-${c.current}px`),t?r.current.style.cursor="grabbing":r.current.style.cursor="auto"}),y=`${rg().container}`;l&&(y+=` ${l}`),e.noBounds&&(y+=` ${rg()["no-bounds"]}`);let b="h-full select-none";a&&(b+=` overflow-x-auto ${rg()["no-transform"]}`);let x=v();return(0,f.jsx)("div",{...x,ref:r,className:y,"data-type":"swipe-to-scroll-container",onPointerDown:e=>{e.target.closest("[data-state='open']")||x?.onPointerDown&&x.onPointerDown(e)},children:(0,f.jsx)("div",{ref:e=>{n.current=e,m(e)},className:b,onScroll:t=>{e.syncElement?.current&&(e.syncElement.current.scrollLeft=t.target.scrollLeft)},onMouseDown:e=>{e.preventDefault()},children:e.children})})}),rx={src:"/_next/static/media/login-logo.19a384b1.png",height:96,width:507,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABnRSTlMdcmBnMC2+2+VbAAAACXBIWXMAACE4AAAhOAFFljFgAAAAFUlEQVR4nGNgYWWAAGZGRmYmRkYmAADpABh4zuPuAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:2};function rw(){return(rw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let rk=function(e){return h.createElement("svg",rw({width:"1em",height:"1em",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),o||(o=h.createElement("path",{d:"M14.25 11.75h1.5v1.5h-15v-1.5h1.5V6.5a6 6 0 1 1 12 0v5.25Zm-1.5 0V6.5a4.5 4.5 0 1 0-9 0v5.25h9Zm-6.75 3h4.5v1.5H6v-1.5Z",fill:"#A897FF"})))};function rS(){return(rS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let rE=function(e){return h.createElement("svg",rS({width:"1em",height:"1em",viewBox:"0 0 19 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),a||(a=h.createElement("path",{d:"M11.643 2.786A2.786 2.786 0 0 0 14.429 0h1.285A2.786 2.786 0 0 0 18.5 2.786V4.07a2.786 2.786 0 0 0-2.786 2.786H14.43a2.786 2.786 0 0 0-2.786-2.786V2.786Zm-9.429 1.5c0-.947.768-1.715 1.715-1.715h6V.857h-6A3.429 3.429 0 0 0 .5 4.286v8.571a3.429 3.429 0 0 0 3.429 3.429h10.285a3.429 3.429 0 0 0 3.429-3.429V8.571h-1.714v4.286c0 .947-.768 1.714-1.715 1.714H3.93a1.714 1.714 0 0 1-1.715-1.714V4.286Z",fill:"#7D52F4"})))},rP={src:"/_next/static/media/ai-generate.861d7a6f.png",height:76,width:224,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAKlBMVEV5TO2DVPwFFQCIWvBZP6ZqVf8rK0hbQayceuJcQa1mRPoYIRzFctPOqM6DPk83AAAADnRSTlNOQzRtbAw1eH9eNGpMmpjvplUAAAAJcEhZcwAAFiUAABYlAUlSJPAAAAAiSURBVHicBcGHAQAwCMMwh9XJ/+8iARLIsWeV/S8nYrFdAwReAGhFtpLLAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:3};function rA(){return(rA=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let rC=function(e){return h.createElement("svg",rA({width:"1em",height:"1em",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),s||(s=h.createElement("path",{d:"M9 0c4.968 0 9 4.032 9 9s-4.032 9-9 9-9-4.032-9-9 4.032-9 9-9Zm0 16.2c3.978 0 7.2-3.222 7.2-7.2S12.978 1.8 9 1.8A7.198 7.198 0 0 0 1.8 9c0 3.978 3.222 7.2 7.2 7.2ZM9.9 9h2.7L9 12.6 5.4 9h2.7V5.4h1.8V9Z",fill:"#717784"})))};function rT(){return(rT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let rj=function(e){return h.createElement("svg",rT({width:"1em",height:"1em",viewBox:"0 0 15 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),l||(l=h.createElement("path",{d:"M.25 8.75h4.5v-1.5H.25V.385A.375.375 0 0 1 .806.056l13.846 7.616a.375.375 0 0 1 0 .657L.806 15.944a.375.375 0 0 1-.556-.328V8.75Z",fill:"#fff"})))};function rM(){return(rM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let rR=function(e){return h.createElement("svg",rM({width:"1em",height:"1em",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),u||(u=h.createElement("path",{d:"M4.25 2V.5h7.5V2h3.75v1.5H14v11.25a.75.75 0 0 1-.75.75H2.75a.75.75 0 0 1-.75-.75V3.5H.5V2h3.75ZM3.5 3.5V14h9V3.5h-9Zm2.25 2.25h1.5v6h-1.5v-6Zm3 0h1.5v6h-1.5v-6Z",fill:"#525866"})))},rO=new Map;async function rD(e){if(rO.has(e)&&!e.endsWith("/version"))return rO.get(e);let t=await fetch(`https://api.devcon.org${e}`).then(e=>e.json()),n=t;return t.data&&(n=t.data),t.data?.items&&(n=t.data.items),rO.set(e,n),n}let r_=async()=>await rD("/sessions?sort=slot_start&order=asc&event=devcon-7&size=1000"),rL=({className:e})=>(0,f.jsxs)("svg",{width:"42",height:"18",viewBox:"0 0 42 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,f.jsx)("path",{d:"M16.418 6.40037V0.693848H17.8039V2.87048H20.1354L21.7088 0.693848H23.3311L21.3501 3.41667L23.3392 6.40037H21.6925L20.1109 4.05254L17.8039 4.04439V6.40037H16.418Z",fill:"black"}),(0,f.jsx)("path",{d:"M12.122 2.98438C14.0704 3.16372 15.0731 3.33492 15.0731 4.82677C15.0731 5.8784 14.3801 6.54688 12.3176 6.54688H11.5024C9.27684 6.54688 8.64096 5.911 8.63281 4.45992H10.0921C10.0676 5.10394 10.3285 5.42187 11.8693 5.42187H12.0323C13.3611 5.42187 13.6464 5.29959 13.6464 4.82677C13.6464 4.28057 12.8638 4.2072 11.5187 4.07677C9.99424 3.93003 8.76325 3.59579 8.76325 2.27514C8.76325 1.13383 9.42358 0.546875 11.5187 0.546875H12.3339C14.1274 0.546875 14.959 1.31318 14.9671 2.62568H13.5079V2.64198C13.5079 1.9572 13.1329 1.67187 11.9671 1.67187H11.804C10.4263 1.67187 10.1817 1.80231 10.
111817 2.23437C10.1817 2.73166 11.0214 2.8784 12.122 2.98438ZM14.9671 2.62568V2.64198V2.62568ZM10.0921 4.43546V4.45992V4.43546ZM8.63281 4.45992V4.44361V4.45992Z",fill:"black"}),(0,f.jsx)("path",{d:"M6.10144 5.44656H2.52261L2.03347 6.40037H0.574219L3.51718 0.693848H5.0498L8.08244 6.40037H6.60688L6.10144 5.44656ZM5.50633 4.31341L4.2998 2.06341L3.10957 4.31341H5.50633Z",fill:"black"}),(0,f.jsx)("path",{d:"M39.7627 17.4531V8.54688H41.9256V17.4531H39.7627Z",fill:"#7D52F4"}),(0,f.jsx)("path",{d:"M35.2416 15.9645H29.6562L28.8928 17.4531H26.6154L31.2084 8.54688H33.6004L38.3334 17.4531H36.0305L35.2416 15.9645ZM34.3129 14.1959L32.4298 10.6844L30.5723 14.1959H34.3129Z",fill:"black"}),(0,f.jsx)("path",{d:"M20.8009 17.4531L17.5565 8.54688H19.8466L21.9587 15.0611L24.0453 8.54688H26.3354L23.091 17.4531H20.8009Z",fill:"black"}),(0,f.jsx)("path",{d:"M12.3755 10.3281V11.9821H15.8999V13.7634H12.3755V15.6718H16.4088V17.4531H10.3398V8.54688H16.4088V10.3281H12.3755Z",fill:"black"}),(0,f.jsx)("path",{d:"M0.574219 8.54688H3.23335C6.37597 8.54688 8.30988 10.2391 8.30988 13C8.30988 15.7609 6.37597 17.4531 3.23335 17.4531H0.574219V8.54688ZM2.60992 15.6718H3.23335C5.06549 15.6718 6.18512 14.654 6.18512 13C6.18512 11.346 5.06549 10.3281 3.23335 10.3281H2.60992V15.6718Z",fill:"black"})]}),rN=({botVersion:e,sessions:t,onToggle:n,defaultPrompt:r,setDefaultPrompt:i,autoFetchSessions:o,toggled:a,notifications:s,notificationsCount:l,renderNotifications:u,markNotificationsAsRead:c,SessionComponent:d,logo:p,logoClassName:m})=>{let{query:g,setQuery:v,executingQuery:y,setExecutingQuery:S,error:P,setError:A,threadID:C,setThreadID:T,messages:j,setMessages:M,reset:R}=rn(),O=h.useRef(null),D=(0,x.P)(),[_,L]=(0,h.useState)([]);h.useEffect(()=>{o&&r_().then(e=>{L(e)})},[o]);let[N,I]=h.useState(0),[F,V]=h.useState(!1),[z,B]=h.useState(""),[U,H]=h.useState(!1);h.useEffect(()=>{r&&("tab:notifications"===r?(I(1),i&&i("")):(I(0),v(r)))},[r]),(0,h.useEffect)(()=>{let e=new URLSearchParams(window.location.search).get("devabot");e&&n(e)},[]),h.useEffect(()=>{let e=()=>{H(window.innerWidth<500)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),h.useEffect(()=>{V("ontouchstart"in window||navigator.maxTouchPoints>0)},[]),h.useEffect(()=>{A("")},[g]),h.useEffect(()=>{if(C){let e=JSON.parse(localStorage.getItem("devabot_threads")||"[]");e.some(e=>e.threadID===C)||(e.push({threadID:C,convoTitle:g,createdAt:new Date().toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}),localStorage.setItem("devabot_threads",JSON.stringify(e)),q())}},[C]);let[$,W]=(0,h.useState)([]),q=()=>{W(JSON.parse(localStorage.getItem("devabot_threads")||"[]"))};h.useEffect(()=>{q()},[]);let Y=h.useRef(null),K=h.useRef(null),[X,G]=h.useState(!0),Z=()=>{let e=K.current;e&&G(e.scrollHeight-e.scrollTop<=e.clientHeight+50)},Q=e=>{Y.current&&(X||e)&&Y.current.scrollIntoView({behavior:"smooth"})};h.useEffect(()=>{let e;return y&&X&&(e=setInterval(Q,300)),()=>{e&&clearInterval(e)}},[y,X]),h.useEffect(()=>{Q()},[j]),h.useEffect(()=>{let e=K.current;return e&&e.addEventListener("scroll",Z),()=>{e&&e.removeEventListener("scroll",Z)}},[]);let J=()=>{S(!1),B(""),R(),G(!0)},ee=async t=>{let n=t||g;if(!y&&0!==n.length){S(!0),B("");try{let t="https://api.devcon.org/devabot";t+=`?version=${encodeURIComponent(e)}`;let r=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},credentials:"include",body:JSON.stringify({message:n,threadID:C})});if(!r.body)throw Error("No response body");let i=r.body.pipeThrough(new TextDecoderStream).getReader(),o="",a="_chunk_end_",s=e=>{try{let t=JSON.parse(e);if(t.error){A(t.error),S(!1);return}"thread.message.delta"===t.type&&B(e=>e+t.content),"done"===t.type&&(T(t.threadID),M(t.messages),B(""),S(!1))}catch(e){console.error("Error parsing chunk:",e)}};for(;;){let e,{value:t,done:n}=await i.read();if(n)break;for(o+=t;-1!==(e=o.indexOf(a));){let t=o.slice(0,e);s(t),o=o.slice(e+a.length)}}o.length>0&&s(o)}catch(e){console.error(e,"error"),A("An error occurred: "+e.message),S(!1)}}};h.useEffect(()=>{y||P||v("")},[y]);let et=h.useRef(0),en=h.useRef(!1),[er,ei]=h.useState(!1);return h.useEffect(()=>{let e;ei((e=window.navigator.userAgent.toLowerCase(),/iphone|ipad|ipod/.test(e)))},[]),h.useEffect(()=>{1===N&&c&&c()},[N]),h.useEffect(()=>{a?(et.current=window.scrollY,en.current=!0,er?setTimeout(()=>{en.current&&(document.documentElement.style.overflow="hidden",document.documentElement.style.height="100vh",document.body.style.overflow="hidden",document.body.style.height="100vh")},250):document.body.style.overflow="hidden"):(en.current=!1,er?(document.documentElement.style.overflow="",document.documentElement.style.height="",document.body.style.overflow="",document.body.style.height=""):document.body.style.overflow="",window.scrollTo(0,et.current))},[a,er]),(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(n8,{children:a&&(0,f.jsx)(re.P.div,{className:"fixed bottom-0 right-0 left-0 top-0 z-[1000000000] overflow-hidden text-black",onClick:()=>n(!1),initial:{background:"#00000000"},animate:{background:"#00000095"},exit:{background:"#00000000"},transition:{duration:.35},children:(0,f.jsxs)(re.P.div,{onClick:e=>e.stopPropagation(),className:"absolute right-0 h-full z-10 h-[100vh] w-[500px] md:w-[400px] max-w-full lg:max-w-auto bg-[#FDFDFF] shadow-xl flex flex-col gap-0 items-start overflow-hidden rounded-tl-[var(--safe-area-corner-radius)] rounded-tr-[var(--safe-area-corner-radius)]",style:{paddingTop:"calc(0px + max(16px, env(safe-area-inset-top)))",paddingBottom:"calc(0px + max(16px, env(safe-area-inset-bottom)))"},initial:{[U?"y":"x"]:"100%"},animate:{[U?"y":"x"]:"0%"},exit:{[U?"y":"x"]:"100%"},transition:{duration:.35},children:[P&&(0,f.jsxs)("div",{className:"text-red-500 absolute inset-0 z-[100] bg-opacity-90 bg-white flex flex-col items-center justify-center",children:[(0,f.jsx)("p",{className:"text-lg font-bold px-8 text-center",children:"Deva crashed for an unknown reason! Please try again."}),(0,f.jsx)(k.$,{onClick:J,color:"black-1",className:"mt-4 plain",fill:!0,children:"Start Over"})]}),(0,f.jsx)("div",{className:"flex flex-col gap-2 shrink-0 w-full mb-2 px-4",children:(0,f.jsxs)("div",{className:"flex justify-between w-full",children:[(0,f.jsx)("div",{className:"shrink-0 bold",children:(0,f.jsx)(b(),{src:p||rx,alt:"Devcon Passport Graphic",className:ro()(m,"w-[180px] object-cover")})}),(0,f.jsx)("div",{className:"flex items-center justify-center w-[28px] h-[28px] rounded-full bg-[#222530] select-none cursor-pointer hover:scale-110 transition-all duration-300",onClick:()=>n(!1),children:(0,f.jsx)(E,{style:{fill:"#fff",fontSize:"12px"}})})]})}),s&&(0,f.jsxs)("div",{className:"flex justify-evenly gap-2 bg-[#EFEBFF] rounded-lg p-1 mt-4 max-w-[350px] shrink-0 mb-2 w-full self
11-center px-4",children:[(0,f.jsxs)("div",{className:ro()("flex justify-center items-center self-center grow rounded-md gap-2 text-[#A897FF] hover:bg-white hover:shadow-md cursor-pointer p-1 transition-all duration-300 select-none",{"bg-white shadow-md text-[#7D52F4]":0===N}),onClick:()=>I(0),children:[(0,f.jsx)(rE,{className:"transition-all duration-300",style:0===N?{fill:"#7D52F4",fontSize:"18px"}:{fill:"#A897FF",fontSize:"18px"}}),(0,f.jsx)(rL,{className:"w-[50px]"})]}),(0,f.jsxs)("div",{className:ro()("flex justify-center items-center w-[175px] rounded-md gap-2 text-[#A897FF] hover:bg-white hover:shadow-md cursor-pointer p-1 transition-all duration-300 select-none",{"bg-white shadow-md text-[#7D52F4]":1===N}),onClick:()=>{I(1)},children:[(0,f.jsx)(rk,{className:"transition-all duration-300",style:1===N?{fill:"#7D52F4"}:{fill:"#A897FF"}}),(0,f.jsx)("div",{className:"text-sm",children:"Notifications"}),l>0&&(0,f.jsx)("div",{className:"bg-[#7D52F4] text-white rounded-full w-5 h-5 flex items-center justify-center text-xs lg:text-[12px] scale-90",children:l})]})]}),1===N&&s&&u&&(0,f.jsx)("div",{className:"relative grow overflow-auto no-scrollbarw-full px-4",children:u()}),0===N&&(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{className:"relative flex flex-col grow w-full gap-4 no-scrollbar px-4",children:[(0,f.jsxs)("div",{className:"relative overflow-auto flex flex-col grow w-full gap-2 no-scrollbar pb-10 mt-2 text-base lg:text-sm",ref:K,onScroll:Z,children:[j&&j.length>0&&j.map((n,r)=>{let i,a,s,l="assistant"===n.role;return(0,f.jsx)("div",{className:"shrink-0 flex flex-col",children:(0,f.jsxs)("div",{className:ro()("markdown p-3 py-2 w-auto",{"mr-2 bg-[#F0F2FF] rounded-tl-xl rounded-tr-xl rounded-br-xl text-left self-start":l,"ml-2 bg-[#7D52F4] text-white rounded-tl-xl rounded-tr-xl rounded-bl-xl self-end":!l}),children:[(0,f.jsx)(nX,{className:ro()("markdown"),children:n.text.split("System: The current date and time is:")[0]}),n.files.length>0&&(0,f.jsx)("div",{className:ro()("flex flex-col text-sm",{hidden:"devconnect"===e}),children:(i={},a=[],s=[],n.files.forEach(({file:e,fileUrl:n},r)=>{if(["ai_context.txt","ai_context.json"].includes(e.filename))return;let l=e?.filename?.startsWith("session_")&&e.filename.endsWith(".json")&&e.filename.split("session_")[1].split(".json")[0];if(l){if(o&&!_){t&&s.push((0,f.jsx)("div",{children:"Sessions are loading..."}));return}let e=o?_.find(e=>e.id===l):t.find(e=>e.id===l);e&&!i[l]&&(i[l]=!0,s.push(d?(0,f.jsx)(d,{session:e},r):(0,f.jsxs)(w,{href:`https://app.devcon.org/schedule/${e.sourceId}`,className:"p-2 bg-[#303030] rounded-md !text-white text-xs flex flex-col gap-1 hover:bg-[#232323] transition-all duration-300 w-full",children:[(0,f.jsx)("p",{className:"",children:e.title}),(0,f.jsx)("p",{children:e.type}),(0,f.jsx)("p",{className:"opacity-70",children:e.speakers.map(e=>e.name).join(", ")})]},r)))}else if(n)i[e.fileUrl]||(i[e.fileUrl]=!0,a.push((0,f.jsxs)(w,{href:`https://devcon.org${n}`,target:"_blank",rel:"noopener noreferrer",children:["https://devcon.org",n]},r)));else{if(!e?.filename?.includes("Devcon Thrival Guide")||i.thrival)return;i.thrival=!0,a.push((0,f.jsx)(w,{href:"https://thrive.devcon.org",children:"Devcon Thrival Guide"},r))}}),(0,f.jsxs)(f.Fragment,{children:[a.length>0&&(0,f.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,f.jsx)("p",{className:"mt-1 font-bold",children:"References"}),(0,f.jsx)("div",{className:"flex gap-2 flex-wrap",children:a})]}),s.length>0&&(0,f.jsxs)("div",{className:"flex flex-col gap-2 mt-2",children:[(0,f.jsx)("p",{className:"mt-1 font-bold",children:"Related Sessions"}),(0,f.jsx)("div",{className:"flex gap-2 flex-wrap",children:s})]})]}))})]})},r)}),z&&(0,f.jsxs)("div",{className:"shrink-0 flex flex-col",children:[(0,f.jsx)("span",{className:"text-sm opacity-50",children:"Deva is responding..."}),(0,f.jsx)(nX,{className:"markdown",children:z})]}),(0,f.jsx)("div",{ref:Y}),(0,f.jsx)(n8,{children:!y&&!z&&j&&0===j.length&&(0,f.jsx)(re.P.div,{className:"mt-2 lg:mt-0",initial:{opacity:0}
11,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},children:(0,f.jsxs)("div",{className:"flex flex-row gap-3 p-4 bg-[#F0F2FF] rounded-xl select-none",children:[(0,f.jsx)(rp,{className:"shrink-0 mt-[3px] icon",style:{"--icon-color":"#7D52F4","--color-icon":"#7D52F4",fontSize:"18px",fill:"#7D52F4"}}),(0,f.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,f.jsx)("p",{className:"font-bold text-base",children:"Experimental Feature"}),(0,f.jsx)("p",{className:"text-sm text-[#6B6186]",children:"This is an MVP and Deva may sometimes provide answers that are not true - we take no responsibility for, or endorse, anything Deva says beyond Event information."})]})]})})})]}),(0,f.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-10 bg-gradient-to-t from-white to-transparent pointer-events-none"}),!X&&!er&&(0,f.jsx)(n8,{children:(0,f.jsx)(re.P.div,{className:"absolute right-0 left-0 bottom-4 translate-y-full flex justify-center items-center select-none",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.3},children:(0,f.jsx)(rl,{className:"bg-[#F0F2FF] w-[30px] h-[30px]",onClick:()=>Q(!0),children:(0,f.jsx)(rC,{style:{fontSize:"18px"}})})})}),(0,f.jsx)("div",{className:"absolute right-0 bottom-2 pr-4",children:(0,f.jsx)(rd,{loading:y,size:60})})]}),(0,f.jsx)(n8,{children:!y&&!z&&$&&0===$.length&&j&&0===j.length&&(0,f.jsxs)(re.P.div,{initial:{opacity:0}
11,animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-lg w-full flex items-center justify-center px-4 text-center flex-col gap-2",children:[(0,f.jsx)(b(),{src:rP,alt:"Deva AI",className:"w-[150px] select-none",quality:100}),(0,f.jsx)("p",{className:"font-semibold w-[250px]",children:"Ask me anything related to Devcon and Devconnect."})]})}),(0,f.jsx)(n8,{children:!y&&!z&&$&&$.length>0&&j&&0===j.length&&(0,f.jsx)(re.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.5},className:"text-lg relative w-full flex text-sm text-center flex-col gap-2 grow px-4 items-end justify-end",children:(0,f.jsxs)("div",{className:"w-full max-h-[40vh] flex flex-col rounded-xl border border-solid border-gray-300 overflow-auto",children:[(0,f.jsxs)("div",{className:"font-bold sticky top-0 z-10 bg-white shrink-0 flex justify-between w-full items-center gap-1 border-b border-solid border-gray-300 p-2.5 px-3",children:[(0,f.jsxs)("div",{className:"shrink-0 flex gap-1 items-center",children:[(0,f.jsx)(rE,{className:"mr-1"}),"Conversation History"]}),(0,f.jsx)("div",{className:"shrink-0 cursor-pointer",onClick:()=>{window.confirm("Are you sure you want to delete all conversation history? This is irreversible.")&&(localStorage.removeItem("devabot_threads"),W([]))},children:(0,f.jsx)(rR,{className:"icon",style:{"--icon-color":"black","--color-icon":"black"}})})]}),$?.map((e,t)=>(0,f.jsxs)("div",{onClick:()=>{var t;let n;return t=e.threadID,n=`https://api.devcon.org/devabot/threads/${t}`,void(S(!0),fetch(n,{method:"GET",headers:{"Content-Type":"application/json"},credentials:"include"}).then(e=>e.json()).then(e=>{T(t),M(e),B(""),S(!1),G(!0)}).catch(e=>{A("An error occurred: "+e.message),S(!1)}))},className:ro()("border shrink-0 border-solid border-gray-300 rounded-lg p-2 cursor-pointer hover:bg-gray-100 truncate mx-2 mb-2",{"mt-2":0===t}),children:[e.createdAt," -"," ",(0,f.jsx)("strong",{children:e.convoTitle})]},e.threadID))]})})}),j.length>0&&!y&&(0,f.jsx)("div",{className:"flex justify-start ml-4 w-full mb-2 shrink-0 z-10 pointer-events-none",children:(0,f.jsx)("div",{onClick:J,className:"shrink-0 select-none pointer-events-auto cursor-pointer mr-2 rounded-full bg-white border border-solid border-[#E1E4EA] px-3 py-1 text-xs flex items-center justify-center text-[#717784] hover:text-black transition-all duration-300",children:(0,f.jsx)("p",{children:"Start New Conversation"})})}),(0,f.jsx)("div",{className:ro()("",{hidden:y||j.length>0}),children:(0,f.jsx)(rb,{scrollIndicatorDirections:{right:!0},children:(0,f.jsx)("div",{className:"flex my-1",children:(0,f.jsx)("div",{className:`flex flex-wrap gap-2 py-2 shrink-0 ${j.length>0?"hidden":""}`,children:["What is the difference between Devcon and Devconnect?"].map((e,t,n)=>(0,f.jsx)("div",{...D,className:`shrink-0 select-none pointer-events-auto cursor-pointer mr-1 rounded-full bg-white border border-solid border-[#E1E4EA] px-3 py-1 text-xs flex items-center justify-center text-[#717784] hover:text-black transition-all duration-300 ${(n.length,"")} ${0===t?"ml-4":""}`,onClick:()=>{v(e),O.current?.focus()},children:e},t))})})})}),(0,f.jsx)(rf.w,{className:"mb-3 w-full"}),(0,f.jsxs)("div",{className:ro()("shrink-0 flex items-center justify-center gap-1 mb-0 mt-1.5 w-full relative px-4 pr-2",{"mt-0":y||j.length>0}),children:[(0,f.jsxs)("div",{className:ro()("grow relative"),children:[(0,f.jsx)("input",{className:ro()("w-full py-3 h-[35px] px-4 pr-10 bg-[#F0F2FF] text-base lg:text-sm rounded-full placeholder-[#747474] focus:outline-none",{"opacity-50":y}),ref:O,value:g,onChange:e=>{y||v(e.target.value)},onKeyDown:e=>{"Enter"!==e.key||e.shiftKey||y||(e.preventDefault(),ee())},type:"text",placeholder:"Ask me anything..."}),(0,f.jsx)("div",{className:ro()("absolute right-4 top-1/2 transform -translate-y-1/2 focus:outline-none hover:scale-110 transition-all pb-[2px] cursor-pointer",{"opacity-50":y,"opacity-0":0===g.length}),onClick:()=>{y||(v(""),O.current?.focus())},children:(0,f.jsx)(E,{style:{fontSize:"10px",fill:"#646E83"}})})]}),(0,f.jsx)("div",{children:(0,f.jsxs)(rl,{className:ro()("mx-1 h-[34px] w-[34px] text-2xl bg-[#F0F2FF]",{"!bg-[#7D52F4]":g.length>0}),onClick:()=>{ee()},disabled:y||0===g.length,children:[y,(0,f.jsx)(rj,{className:"text-lg icon transition-all duration-500",style:{fontSize:"12px",fill:g.length>0?"white":"#646E83"}})]})})]})]})]})})})})};var rI=n(13150),rF=n(45202),rV=n(69405);let rz=(0,rt.v)(e=>({visible:!1,setVisible:t=>e({visible:t}),toggleVisible:()=>e(e=>({visible:!e.visible}))}));var rB=n(72329);let rU=!1;{let e=()=>{document.documentElement.style.setProperty("--viewport-height",`${window.innerHeight}px`)};window.addEventListener("resize",e),window.addEventListener("orientationchange",e),e()}let rH=function({Component:e,pageProps:t}){let[n,r]=(0,h.useState)(!0),{visible:i,toggleVisible:o}=rz(),{setUtmParams:a}=(0,rB.w)();return h.useEffect(()=>{{let e=null;try{let t=localStorage.getItem("devconnect_utm_params");t&&(e=JSON.parse(t))}catch(e){console.error("Error reading UTM params from localStorage:",e)}let t=new URLSearchParams(window.location.search),n=t.get("mtm_campaign"),r=t.get("mtm_kwd"),i=t.get("mtm_content");
11if(n||r||i){let e={...n&&{mtm_campaign:n},...r&&{mtm_kwd:r},...i&&{mtm_content:i}};a(e),localStorage.setItem("devconnect_utm_params",JSON.stringify(e))}else e&&a(e)}},[a]),h.useEffect(()=>{rU||((0,rV.init)({url:"https://ethereumfoundation.matomo.cloud",siteId:"29",onInitialization:()=>{(0,rV.push)(["setCookieDomain","*.devconnect.org"]),(0,rV.push)(["setExcludedQueryParams",["code","gist"]])}}),rU=!0)},[]),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)("style",{dangerouslySetInnerHTML:{__html:`
12          html {
13            --font-roboto: ${m().style.fontFamily};
14            --font-roboto-condensed: ${v().style.fontFamily};
15          }
16        `}}),(0,f.jsx)(rN,{botVersion:"devconnect",toggled:i,onToggle:o,logo:rF.A,logoClassName:"!w-[40px]"}),(0,f.jsx)(e,{...t}),(0,f.jsx)(rI.l$,{})]})}},64527:(e,t,n)=>{e.exports=n(83952)},64636:(e,t,n)=>{"use strict";n.d(t,{Z:()=>l});var r=n(96810),i=n(62795),o=n(4728),a=n(36854),s=n(73154),l=r.forwardRef((e,t)=>{let{container:n,...l}=e,[u,c]=r.useState(!1);(0,a.N)(()=>c(!0),[]);let d=n||u&&globalThis?.document?.body;return d?i.createPortal((0,s.jsx)(o.sG.div,{...l,ref:t}),d):null});l.displayName="Portal"},66902:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(96810);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var o=function(e){var t=(0,r.useRef)(e);return t.current=e,t},a=function(e,t){var n="",r=-1;return Object.keys(e).forEach(function(i){var o=e[i];t>=o&&o>r&&(n=i,r=o)}),n},s=function(e){var t=void 0===e?{}:e,n=t.useBorderBoxSize,s=t.breakpoints,l=t.updateOnBreakpointChange,u=t.shouldUpdate,c=t.onResize,d=t.polyfill,f=(0,r.useState)({currentBreakpoint:"",width:null,height:null}),h=f[0],p=f[1],m=(0,r.useRef)({}),g=(0,r.useRef)(),v=(0,r.useRef)(),y=(0,r.useRef)(!1),b=(0,r.useRef)(),x=o(c),w=o(u),k=(0,r.useCallback)(function(){v.current&&v.current.disconnect()},[]),S=(0,r.useCallback)(function(e){e&&e!==b.current&&(k(),b.current=e,p({currentBreakpoint:"",width:e.clientWidth,height:e.clientHeight})),v.current&&b.current&&v.current.observe(b.current)},[k]);return(0,r.useEffect)(function(){if((!("ResizeObserver"in window)||!("ResizeObserverEntry"in window))&&!d)return console.error("\uD83D\uDCA1 react-cool-dimensions: the browser doesn't support Resize Observer, please use polyfill: https://github.com/wellyshen/react-cool-dimensions#resizeobserver-polyfill"),function(){return null};var e=null;return v.current=new(d||ResizeObserver)(function(t){var r=t[0];e=requestAnimationFrame(function(){var e=r.contentBoxSize,t=r.borderBoxSize,i=r.contentRect,o=e;n&&(t?o=t:y.current||(console.warn("\uD83D\uDCA1 react-cool-dimensions: the browser doesn't support border-box size, fallback to content-box size. Please see: https://github.com/wellyshen/react-cool-dimensions#border-box-size-measurement"),y.current=!0));var u=(o=Array.isArray(o)?o[0]:o)?o.inlineSize:i.width,c=o?o.blockSize:i.height;if(u!==m.current.width||c!==m.current.height){m.current={width:u,height:c};var d={currentBreakpoint:"",width:u,height:c,entry:r,observe:S,unobserve:k};s?(d.currentBreakpoint=a(s,u),d.currentBreakpoint!==g.current&&(x.current&&x.current(d),g.current=d.currentBreakpoint)):x.current&&x.current(d);var f={currentBreakpoint:d.currentBreakpoint,width:u,height:c,entry:r};if(!w.current||w.current(f)){if(!w.current&&s&&l)return void p(function(e){return e.currentBreakpoint!==f.currentBreakpoint?f:e});p(f)}}})}),S(),function(){k(),e&&cancelAnimationFrame(e)}},[JSON.stringify(s),n,S,k,l]),i({},h,{observe:S,unobserve:k})}},67103:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});let r=(0,n(96810).createContext)(null)},67174:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});var r=n(96810);function i(e){let t=r.useRef(e);return r.useEffect(()=>{t.current=e}),r.useMemo(()=>(...e)=>t.current?.(...e),[])}},67716:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return x}});let r=n(35810),i=n(65991),o=n(73154),a=i._(n(96810)),s=r._(n(62795)),l=r._(n(32141)),u=n(41432),c=n(26257),d=n(13767);n(5377);let f=n(43706),h=r._(n(25100)),p=n(56763),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qual
16ities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,n,r,i,o,a){let s=e?.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),n?.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let r=!1,i=!1;n.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>r,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{r=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}r?.current&&r.current(e)}}))}function v(e){return a.use?{fetchPriority:e}:{fetchpriority:e}}let y=(0,a.forwardRef)(({src:e,srcSet:t,sizes:n,height:r,width:i,decoding:s,className:l,style:u,fetchPriority:c,placeholder:d,loading:f,unoptimized:h,fill:m,onLoadRef:y,onLoadingCompleteRef:b,setBlurComplete:x,setShowAltText:w,sizesInput:k,onLoad:S,onError:E,...P},A)=>{let C=(0,a.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,d,y,b,x,h,k))},[e,d,y,b,x,E,h,k]),T=(0,p.useMergedRef)(A,C);return(0,o.jsx)("img",{...P,...v(c),loading:f,width:i,height:r,decoding:s,"data-nimg":m?"fill":"1",className:l,style:u,sizes:n,srcSet:t,src:e,ref:T,onLoad:e=>{g(e.currentTarget,d,y,b,x,h,k)},onError:e=>{w(!0),"empty"!==d&&x(!0),E&&E(e)}})});function b({isAppRouter:e,imgAttributes:t}){let n={as:"image",imageSrcSet:t.srcSet,imageSizes:t.sizes,crossOrigin:t.crossOrigin,referrerPolicy:t.referrerPolicy,...v(t.fetchPriority)};return e&&s.default.preload?(s.default.preload(t.src,n),null):(0,o.jsx)(l.default,{children:(0,o.jsx)("link",{rel:"preload",href:t.srcSet?void 0:t.src,...n},"__nimg-"+t.src+t.srcSet+t.sizes)})}let x=(0,a.forwardRef)((e,t)=>{let n=(0,a.useContext)(f.RouterContext),r=(0,a.useContext)(d.ImageConfigContext),i=(0,a.useMemo)(()=>{let e=m||r||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),n=e.deviceSizes.sort((e,t)=>e-t),i=e.qualities?.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:n,qualities:i,localPatterns:e.localPatterns}},[r]),{onLoad:s,onLoadingComplete:l}=e,p=(0,a.useRef)(s);(0,a.useEffect)(()=>{p.current=s},[s]);let g=(0,a.useRef)(l);(0,a.useEffect)(()=>{g.current=l},[l]);let[v,x]=(0,a.useState)(!1),[w,k]=(0,a.useState)(!1),{props:S,meta:E}=(0,u.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:v,showAltText:w});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(y,{...S,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:p,onLoadingCompleteRef:g,setBlurComplete:x,setShowAltText:k,sizesInput:e.sizes,ref:t}),E.preload?(0,o.jsx)(b,{isAppRouter:!n,imgAttributes:S}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},68178:(e,t,n)=>{"use strict";let r,i;function o(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{P:()=>i4});let a=e=>Array.isArray(e);function s(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function l(e){return"string"==typeof e||Array.isArray(e)}function u(e){let t=[{},{}];return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function c(e,t,n,r){if("function"==typeof t){let[i,o]=u(r);t=t(void 0!==n?n:e.custom,i,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,o]=u(r);t=t(void 0!==n?n:e.custom,i,o)}return t}function d(e,t,n){let r=e.getProps();return c(r,t,void 0!==n?n:r.custom,e)}let f=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],h=["initial",...f],p=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],m=new Set(p),g=e=>1e3*e,v={type:"spring",stiffness:500,damping:25,restSpeed:10},y={type:"keyframes",duration:.8},b={type:"keyframes",ease:[.25,.1,.35,1],duration:.3};function x(e,t){return e[t]||e.default||e}let w=e=>null!==e;function k(e,{repeat:t,repeatType:n="loop"},r){let i=e.filter(w),o=t&&"loop"!==n&&t%2==1?0:i.length-1;return o&&void 0!==r?r:i[o]}var S,E,P,A=n(58893);let C=["read","resolveKeyframes","update","preRender","render","postRender"];function T(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,a=C.reduce((e,t)=>
16(e[t]=function(e){let t=new Set,n=new Set,r=!1,i=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1};function s(t){o.has(t)&&(l.schedule(t),e()),t(a)}let l={schedule:(e,i=!1,a=!1)=>{let s=a&&r?t:n;return i&&o.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(a=e,r){i=!0;return}r=!0,[t,n]=[n,t],n.clear(),t.forEach(s),r=!1,i&&(i=!1,l.process(e))}};return l}(o),e),{}),{read:s,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=a,h=()=>{let o=performance.now();n=!1,i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,40),1),i.timestamp=o,i.isProcessing=!0,s.process(i),l.process(i),u.process(i),c.process(i),d.process(i),f.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))};return{schedule:C.reduce((t,o)=>{let s=a[o];return t[o]=(t,o=!1,a=!1)=>(!n&&(n=!0,r=!0,i.isProcessing||e(h)),s.schedule(t,o,a)),t},{}),cancel:e=>{for(let t=0;t<C.length;t++)a[C[t]].cancel(e)},state:i,steps:a}}let{schedule:j,cancel:M,state:R,steps:O}=T("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:A.l,!0);var D=n(15604);let _=e=>t=>"string"==typeof t&&t.startsWith(e),L=_("--"),N=_("var(--"),I=e=>!!N(e)&&F.test(e.split("/*")[0].trim()),F=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,V=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,z=(e,t,n)=>n>t?t:n<e?e:n,B={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},U={...B,transform:e=>z(0,1,e)},H={...B,default:1},$=e=>Math.round(1e5*e)/1e5,W=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,q=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Y=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function K(e){return"string"==typeof e}let X=e=>({test:t=>K(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),G=X("deg"),Z=X("%"),Q=X("px"),J=X("vh"),ee=X("vw"),et={...Z,parse:e=>Z.parse(e)/100,transform:e=>Z.transform(100*e)},en=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),er=e=>e===B||e===Q,ei=(e,t)=>parseFloat(e.split(", ")[t]),eo=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;let i=r.match(/^matrix3d\((.+)\)$/u);if(i)return ei(i[1],t);{let t=r.match(/^matrix\((.+)\)$/u);return t?ei(t[1],e):0}},ea=new Set(["x","y","z"]),es=p.filter(e=>!ea.has(e)),el={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:eo(4,13),y:eo(5,14)};el.translateX=el.x,el.translateY=el.y;let eu=e=>t=>t.test(e),ec=[B,Q,Z,G,ee,J,{test:e=>"auto"===e,parse:e=>e}],ed=e=>ec.find(eu(e)),ef=new Set,eh=!1,ep=!1;function em(){if(ep){let e=Array.from(ef).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t,r=(t=[],es.forEach(n=>{let r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(+!!n.startsWith("scale")))}),t);r.length&&(n.set(e,r),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;null==(r=e.getValue(t))||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}ep=!1,eh=!1,ef.forEach(e=>e.complete()),ef.clear()}function eg(){ef.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(ep=!0)})}class ev{constructor(e,t,n,r,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(ef.add(this),eh||(eh=!0,j.read(eg),j.resolveKeyframes(em))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let i=0;i<e.length;i++)if(null===e[i])if(0===i){let i=null==r?void 0:r.get(),o=e[e.length-1];if(void 0!==i)e[0]=i;else if(n&&t){let r=n.readValue(t,o);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=o),r&&void 0===i&&r.set(e[0])}else e[i]=e[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),ef.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,ef.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let ey=(e,t)=>n=>!!(K(n)&&Y.test(n)&&n.startsWith(e)||t&&null!=n&&Object.prototype.hasOwnProperty.call(n,t)),eb=(e,t,n)=>r=>{if(!K(r))return r;let[i,o,a,s]=r.match(W);return{[e]:parseFloat(i),[t]:parseFloat(o),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},ex={...B,transform:e=>Math.round(z(0,255,e))},ew={test:ey("rgb","red"),parse:eb("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+ex.transform(e)+", "+ex.transform(t)+", "+ex.transform(n)+", "+$(U.transform(r))+")"},ek={test:ey("#"),parse:function(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
16a:i?parseInt(i,16)/255:1}},transform:ew.transform},eS={test:ey("hsl","hue"),parse:eb("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Z.transform($(t))+", "+Z.transform($(n))+", "+$(U.transform(r))+")"},eE={test:e=>ew.test(e)||ek.test(e)||eS.test(e),parse:e=>ew.test(e)?ew.parse(e):eS.test(e)?eS.parse(e):ek.parse(e),transform:e=>K(e)?e:e.hasOwnProperty("red")?ew.transform(e):eS.transform(e)},eP="number",eA="color",eC=/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 eT(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],o=0,a=t.replace(eC,e=>(eE.test(e)?(r.color.push(o),i.push(eA),n.push(eE.parse(e))):e.startsWith("var(")?(r.var.push(o),i.push("var"),n.push(e)):(r.number.push(o),i.push(eP),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:a,indexes:r,types:i}}function ej(e){return eT(e).values}function eM(e){let{split:t,types:n}=eT(e),r=t.length;return e=>{let i="";for(let o=0;o<r;o++)if(i+=t[o],void 0!==e[o]){let t=n[o];t===eP?i+=$(e[o]):t===eA?i+=eE.transform(e[o]):i+=e[o]}return i}}let eR=e=>"number"==typeof e?0:e,eO={test:function(e){var t,n;return isNaN(e)&&K(e)&&((null==(t=e.match(W))?void 0:t.length)||0)+((null==(n=e.match(q))?void 0:n.length)||0)>0},parse:ej,createTransformer:eM,getAnimatableNone:function(e){let t=ej(e);return eM(e)(t.map(eR))}},eD=new Set(["brightness","contrast","saturate","opacity"]);function e_(e){let[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[r]=n.match(W)||[];if(!r)return e;let i=n.replace(r,""),o=+!!eD.has(t);return r!==n&&(o*=100),t+"("+o+i+")"}let eL=/\b([a-z-]*)\(.*?\)/gu,eN={...eO,getAnimatableNone:e=>{let t=e.match(eL);return t?t.map(e_).join(" "):e}},eI={...B,transform:Math.round},eF={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,size:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,rotate:G,rotateX:G,rotateY:G,rotateZ:G,scale:H,scaleX:H,scaleY:H,scaleZ:H,skew:G,skewX:G,skewY:G,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:U,originX:et,originY:et,originZ:Q,zIndex:eI,backgroundPositionX:Q,backgroundPositionY:Q,fillOpacity:U,strokeOpacity:U,numOctaves:eI},eV={...eF,color:eE,backgroundColor:eE,outlineColor:eE,fill:eE,stroke:eE,borderColor:eE,borderTopColor:eE,borderRightColor:eE,borderBottomColor:eE,borderLeftColor:eE,filter:eN,WebkitFilter:eN},ez=e=>eV[e];function eB(e,t){let n=ez(e);return n!==eN&&(n=eO),n.getAnimatableNone?n.getAnimatableNone(t):void 0}let eU=new Set(["auto","none","0"]);class eH extends ev{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&I(r=r.trim())){let i=function e(t,n,r=1){(0,D.V)(r<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[i,o]=function(e){let t=V.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${null!=n?n:r}`,i]}(t);if(!i)return;let a=window.getComputedStyle(n).getPropertyValue(i);if(a){let e=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e)?parseFloat(e):e}return I(o)?e(o,n,r+1):o}(r,t.current);void 0!==i&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!en.has(n)||2!==e.length)return;let[r,i]=e,o=ed(r),a=ed(i);if(o!==a)if(er(o)&&er(a))for(let t=0;t<e.length;t++){let n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(function(e){if("number"==typeof e)return 0===e;if(null===e)return!0;return"none"===e||"0"===e||/^0[^.\s]+$/u.test(e)})(e[t])&&n.push(t);n.length&&function(e,t,n){let r,i=0;for(;i<e.length&&!r;){let t=e[i];"string"==typeof t&&!eU.has(t)&&eT(t).values.length&&(r=e[i]),i++}if(r&&n)for(let i of t)e[i]=eB(n,r)}(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=el[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;let{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;let i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);let o=r.length-1,a=r[o];r[o]=el[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),(null==(e=this.removedTransforms)?void 0:e.length)&&this.removedTransforms.forEac
16h(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}function e$(e){let t;return()=>(void 0===t&&(t=e()),t)}function eW(){r=void 0}let eq={now:()=>(void 0===r&&eq.set(R.isProcessing?R.timestamp:performance.now()),r),set:e=>{r=e,queueMicrotask(eW)}},eY=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(eO.test(e)||"0"===e)&&!e.startsWith("url("));class eK{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=eq.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(eg(),em()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=eq.now(),this.hasAttemptedResolve=!0;let{name:n,type:r,velocity:i,delay:o,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,n,r){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let o=e[e.length-1],a=eY(i,t),s=eY(o,t);return(0,D.$)(a===s,`You are trying to animate ${t} from "${i}" to "${o}". ${i} is not an animatable value - to enable this animation set ${i} to a value animatable to ${o} via the \`style\` property.`),!!a&&!!s&&(function(e){let t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||"spring"===n&&r)}(e,n,r,i))if(o)this.options.duration=0;else{null==s||s(k(e,this.options,t)),null==a||a(),this.resolveFinishedPromise();return}let u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function eX(e,t,n){var r,i;let o=Math.max(t-5,0);return r=n-e(o),(i=t-o)?1e3/i*r:0}function eG(e,t){return e*Math.sqrt(1-t*t)}let eZ=["duration","bounce"],eQ=["stiffness","damping","mass"];function eJ(e,t){return t.some(t=>void 0!==e[t])}function e0({keyframes:e,restDelta:t,restSpeed:n,...r}){let i,o=e[0],a=e[e.length-1],s={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!eJ(e,eQ)&&eJ(e,eZ)){let n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let i,o;(0,D.$)(e<=g(10),"Spring duration must be 10 seconds or less");let a=1-t;a=z(.05,1,a),e=z(.01,10,e/1e3),a<1?(i=t=>{let r=t*a,i=r*e;return .001-(r-n)/eG(t,a)*Math.exp(-i)},o=t=>{let r=t*a*e,o=Math.pow(a,2)*Math.pow(t,2)*e,s=Math.exp(-r),l=eG(Math.pow(t,2),a);return(r*n+n-o)*s*(-i(t)+.001>0?-1:1)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),o=t=>e*e*(n-t)*Math.exp(-t*e));let s=function(e,t,n){let r=n;for(let n=1;n<12;n++)r-=e(r)/t(r);return r}(i,o,5/e);if(e=g(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...n,mass:1}).isResolvedFromDuration=!0}return t}({...r,velocity:-((r.velocity||0)/1e3)}),p=f||0,m=u/(2*Math.sqrt(l*c)),v=a-o,y=Math.sqrt(l/c)/1e3,b=5>Math.abs(v);if(n||(n=b?.01:2),t||(t=b?.005:.5),m<1){let e=eG(y,m);i=t=>a-Math.exp(-m*y*t)*((p+m*y*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===m)i=e=>a-Math.exp(-y*e)*(v+(p+y*v)*e);else{let e=y*Math.sqrt(m*m-1);i=t=>{let n=Math.exp(-m*y*t),r=Math.min(e*t,300);return a-n*((p+m*y*v)*Math.sinh(r)+e*v*Math.cosh(r))/e}}return{calculatedDuration:h&&d||null,next:e=>{let r=i(e);if(h)s.done=e>=d;else{let o=0;m<1&&(o=0===e?g(p):eX(i,e,r));let l=Math.abs(a-r)<=t;s.done=Math.abs(o)<=n&&l}return s.value=s.done?a:r,s}}}function e1({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:o=500,modifyTarget:a,min:s,max:l,restDelta:u=.5,restSpeed:c}){let d,f,h=e[0],p={done:!1,value:h},m=n*t,g=h+m,v=void 0===a?g:a(g);v!==g&&(m=v-h);let y=e=>-m*Math.exp(-e/r),b=e=>v+y(e),x=e=>{let t=y(e),n=b(e);p.done=Math.abs(t)<=u,p.value=p.done?v:n},w=e=>{let t;if(t=p.value,void 0!==s&&t<s||void 0!==l&&t>l){var n;d=e,f=e0({keyframes:[p.value,(n=p.value,void 0===s?l:void 0===l||Math.abs(s-n)<Math.abs(l-n)?s:l)],velocity:eX(b,e,p.value),damping:i,stiffness:o,restDelta:u,restSpeed:c})}};return w(0),{calculatedDuration:null,next:e=>{let t=!1;return(f||void 0!==d||(t=!0,x(e),w(e)),void 0!==d&&e>=d)?f.next(e-d):(t||x(e),p)}}}var e2=n(58407);let e5=(0,e2.A)(.42,0,1,1),e4=(0,e2.A)(0,0,.58,1),e3=(0,e2.A)(.42,0,.58,1),e6=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,e7=e=>t=>1-e(1-t),e9=e=>1-Math.sin(Math.acos(e)),e8=e7(e9),te=e6(e9),tt=(0,e2.A)(.33,1.53,.69,.99),tn=e7(tt),tr=e6(tn),ti={linear:A.l,easeIn:e5,easeInOut:e3,easeOut:e4,circIn:e9,circInOut:te,circOut:e8,backIn:tn,backInOut:tr,backOut:tt,anticipate:e=>(e*=2)<1?.5*tn(e):.5*(2-Math.pow(2,-10*(e-1)))},to=e=>{if(Array.isArray(e)){(0,D.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,n,r,i]=e;return(0,e2.A)(t,n,r,i)}return"string"==typeof e?((0,D.V)(void 0!==ti[e],`Invalid easing type '${e}'`),ti[e]):e},ta=(e,t)=>n=>t(e(n)),ts=(...e)=>
16e.reduce(ta),tl=(e,t,n)=>{let r=t-e;return 0===r?1:(n-e)/r},tu=(e,t,n)=>e+(t-e)*n;function tc(e,t,n){return(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function td(e,t){return n=>n>0?t:e}let tf=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},th=[ek,ew,eS];function tp(e){let t=th.find(t=>t.test(e));if((0,D.$)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===eS&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let i=0,o=0,a=0;if(t/=100){let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=tc(s,r,e+1/3),o=tc(s,r,e),a=tc(s,r,e-1/3)}else i=o=a=n;return{red:Math.round(255*i),green:Math.round(255*o),blue:Math.round(255*a),alpha:r}}(n)),n}let tm=(e,t)=>{let n=tp(e),r=tp(t);if(!n||!r)return td(e,t);let i={...n};return e=>(i.red=tf(n.red,r.red,e),i.green=tf(n.green,r.green,e),i.blue=tf(n.blue,r.blue,e),i.alpha=tu(n.alpha,r.alpha,e),ew.transform(i))},tg=new Set(["none","hidden"]);function tv(e,t){return n=>tu(e,t,n)}function ty(e){return"number"==typeof e?tv:"string"==typeof e?I(e)?td:eE.test(e)?tm:tw:Array.isArray(e)?tb:"object"==typeof e?eE.test(e)?tm:tx:td}function tb(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>ty(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function tx(e,t){let n={...e,...t},r={};for(let i in n)void 0!==e[i]&&void 0!==t[i]&&(r[i]=ty(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}let tw=(e,t)=>{let n=eO.createTransformer(t),r=eT(e),i=eT(t);if(!(r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length))return(0,D.$)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),td(e,t);if(tg.has(e)&&!i.values.length||tg.has(t)&&!r.values.length)return tg.has(e)?n=>n<=0?e:t:n=>n>=1?t:e;return ts(tb(function(e,t){var n;let r=[],i={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){let a=t.types[o],s=e.indexes[a][i[a]],l=null!=(n=e.values[s])?n:0;r[o]=l,i[a]++}return r}(r,i),i.values),n)};function tk(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?tu(e,t,n):ty(e)(e,t)}function tS({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){var i;let o,a=Array.isArray(r)&&"number"!=typeof r[0]?r.map(to):to(r),s={done:!1,value:t[0]},l=function(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let o=e.length;if((0,D.V)(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];if(2===o&&e[0]===e[1])return()=>t[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,n){let r=[],i=n||tk,o=e.length-1;for(let n=0;n<o;n++){let o=i(e[n],e[n+1]);t&&(o=ts(Array.isArray(t)?t[n]||A.l:t,o)),r.push(o)}return r}(t,r,i),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);let r=tl(e[n],e[n+1],t);return a[n](r)};return n?t=>l(z(e[0],e[o-1],t)):l}((i=n&&n.length===t.length?n:(!function(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=tl(0,t,r);e.push(tu(n,1,i))}}(o=[0],t.length-1),o),i.map(t=>t*e)),t,{ease:Array.isArray(a)?a:t.map(()=>a||e3).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=l(t),s.done=t>=e,s)}}let tE=e=>{let t=({timestamp:t})=>e(t);return{start:()=>j.update(t,!0),stop:()=>M(t),now:()=>R.isProcessing?R.timestamp:eq.now()}},tP={decay:e1,inertia:e1,tween:tS,keyframes:tS,spring:e0},tA=e=>e/100;class tC extends eK{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{let{onStop:e}=this.options;e&&e(),this.resolver.cancel(),this.isStopped=!0,"idle"!==this.state&&this.teardown()};const{name:t,motionValue:n,element:r,keyframes:i}=this.options,o=(null==r?void 0:r.KeyframeResolver)||ev,a=(e,t)=>this.onKeyframesResolved(e,t);this.resolver=new o(i,a,t,n,r),this.resolver.scheduleResolve()}initPlayback(e){let t,n,{type:r="keyframes",repeat:i=0,repeatDelay:o=0,repeatType:a,velocity:s=0}=this.options,l=tP[r]||tS;l!==tS&&"number"!=typeof e[0]&&(t=ts(tA,tk(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===a&&(n=l({...this.options,keyframes:[...e].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:c}=u,d=c+o;return{generator:u,mirroredGenerator:n,mapPercentToKeyframes:t,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(i+1)-o}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:n}=this;if(!n){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return i.next(0);let{delay:d,repeat:f,repeatType:h,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let g=this.currentTime-d*(this.speed>=0?1:-1),v=this.speed>=0?g<0:g>u;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=i;if(f){let e=Math.min(this.currentTime,u)/c,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,(t=Math.min(t,f+1))%2&&("reverse"===h?(n=1-n,p&&(n-=p/c)):"mirror"===h&&(b=o)),y=z(0,1,n)*c}let x=v?{done:!1,value:s[0]}:b.next(y);a&&(x.value=a(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let S=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return S&&void 0!==r&&(x.value=k(s,this.options,r)),m&&m(x.value),S&&this.finish(),x}
16get duration(){let{resolved:e}=this;return e?e.calculatedDuration/1e3:0}get time(){return this.currentTime/1e3}set time(e){e=g(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=this.currentTime/1e3)}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=tE,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!=(e=this.currentTime)?e:0}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let tT=new Set(["opacity","clipPath","filter","transform"]),tj=e=>Array.isArray(e)&&"number"==typeof e[0],tM=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,tR={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 tO(e){return tD(e)||tR.easeOut}function tD(e){if(e)return tj(e)?tM(e):Array.isArray(e)?e.map(tO):tR[e]}let t_=e$(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class tL extends eK{constructor(e){super(e);const{name:t,motionValue:n,element:r,keyframes:i}=this.options;this.resolver=new eH(i,(e,t)=>this.onKeyframesResolved(e,t),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n,r;let{duration:i=300,times:o,ease:a,type:s,motionValue:l,name:u,startTime:c}=this.options;if(!(null==(n=l.owner)?void 0:n.current))return!1;if("spring"===(r=this.options).type||!function e(t){return!!(!t||"string"==typeof t&&t in tR||tj(t)||Array.isArray(t)&&t.every(e))}(r.ease)){let{onComplete:t,onUpdate:n,motionValue:r,element:l,...u}=this.options,c=function(e,t){let n=new tC({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0}),r={done:!1,value:e[0]},i=[],o=0;for(;!r.done&&o<2e4;)i.push((r=n.sample(o)).value),o+=10;return{times:void 0,keyframes:i,duration:o-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),i=c.duration,o=c.times,a=c.ease,s="keyframes"}let d=function(e,t,n,{delay:r=0,duration:i=300,repeat:o=0,repeatType:a="loop",ease:s,times:l}={}){let u={[t]:n};l&&(u.offset=l);let c=tD(s);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===a?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:i,times:o,ease:a});return d.startTime=null!=c?c:this.calcStartTime(),this.pendingTimeline?(d.timeline=this.pendingTimeline,this.pendingTimeline=void 0):d.onfinish=()=>{let{onComplete:n}=this.options;l.set(k(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:i,times:o,type:s,ease:a,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return t/1e3}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return(t.currentTime||0)/1e3}set time(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.currentTime=g(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:n}=t;n.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}get startTime(){let{resolved:e}=this;if(!e)return null;let{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return A.l;let{animation:n}=t;n.timeline=e,n.onfinish=null}else this.pendingTimeline=e;return A.l}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;
16"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:n,duration:r,type:i,ease:o,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){let{motionValue:e,onUpdate:t,onComplete:s,element:l,...u}=this.options,c=new tC({...u,keyframes:n,duration:r,type:i,ease:o,times:a,isGenerator:!0}),d=g(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}let{onStop:s}=this.options;s&&s(),this.cancel()}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:o,type:a}=e;return t_()&&n&&tT.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==i&&0!==o&&"inertia"!==a}}let tN=e$(()=>void 0!==window.ScrollTimeline);class tI{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>{if(tN()&&t.attachTimeline)t.attachTimeline(e);else{var n;let r,i;return t.pause(),n=e=>{t.time=t.duration*e},i=()=>{let{currentTime:t}=e,i=(null===t?0:t.value)/100;r!==i&&n(i),r=i},j.update(i,!0),()=>M(i)}});return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}let tF=(e,t,n,r={},i,o,a)=>s=>{let l=x(r,e)||{},u=l.delay||r.delay||0,{elapsed:c=0}=r;c-=g(u);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-c,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{s(),l.onComplete&&l.onComplete(),a&&a()},onStop:a,name:e,motionValue:t,element:o?void 0:i};!function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:o,repeatType:a,repeatDelay:s,from:l,elapsed:u,...c}){return!!Object.keys(c).length}(l)&&(d={...d,...((e,{keyframes:t})=>t.length>2?y:m.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:v:b)(e,d)}),d.duration&&(d.duration=g(d.duration)),d.repeatDelay&&(d.repeatDelay=g(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let f=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(d.duration=0,0===d.delay&&(f=!0)),f&&!o&&void 0!==t.get()){let e=k(d.keyframes,l);if(void 0!==e)return j.update(()=>{d.onUpdate(e),d.onComplete()}),new tI([])}return!o&&tL.supports(d)?new tL(d):new tC(d)},tV=e=>a(e)?e[e.length-1]||0:e;function tz(e,t){-1===e.indexOf(t)&&e.push(t)}function tB(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}class tU{constructor(){this.subscriptions=[]}add(e){return tz(this.subscriptions,e),()=>tB(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class tH{constructor(e,t={}){this.version="12.0.0-alpha.1",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{let n=eq.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=eq.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new tU);let n=this.events[e].add(t);return"change"===e?()=>{n(),j.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}
16setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return i&&i.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=eq.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let n=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),n?1e3/n*e:0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function t$(e,t){return new tH(e,t)}let tW=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),tq="data-"+tW("framerAppearId");function tY(e){return m.has(e)?"transform":tT.has(e)?tW(e):void 0}class tK extends tH{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){let t=tY(e);if(!t)return;let n=this.counts.get(t)||0;this.counts.set(t,n+1),0===n&&(this.output.push(t),this.update());let r=!1;return()=>{if(r)return;r=!0;let e=this.counts.get(t)-1;this.counts.set(t,e),0===e&&(tB(this.output,t),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}let tX=e=>!!(e&&e.getVelocity);function tG(e,t){var n,r;if(!e.applyWillChange)return;let i=e.getValue("willChange");if(i||(null==(n=e.props.style)?void 0:n.willChange)||(i=new tK("auto"),e.addValue("willChange",i)),tX(r=i)&&r.add)return i.add(t)}function tZ(e,t,{delay:n=0,transitionOverride:r,type:i}={}){var o;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;r&&(a=r);let u=[],c=i&&e.animationState&&e.animationState.getState()[i];for(let t in l){let r=e.getValue(t,null!=(o=e.latestValues[t])?o:null),i=l[t];if(void 0===i||c&&function({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}(c,t))continue;let s={delay:n,...x(a||{},t)},d=!1;if(window.MotionHandoffAnimation){let n=e.props[tq];if(n){let e=window.MotionHandoffAnimation(n,t,j);null!==e&&(s.startTime=e,d=!0)}}r.start(tF(t,r,i,e.shouldReduceMotion&&m.has(t)?{type:!1}:s,e,d,tG(e,t)));let f=r.animation;f&&u.push(f)}return s&&Promise.all(u).then(()=>{j.update(()=>{s&&function(e,t){let{transitionEnd:n={},transition:r={},...i}=d(e,t)||{};for(let t in i={...i,...n}){let n=tV(i[t]);e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,t$(n))}}(e,s)})}),u}function tQ(e,t,n={}){var r;let i=d(e,t,"exit"===n.type?null==(r=e.presenceContext)?void 0:r.custom:void 0),{transition:o=e.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(o=n.transitionOverride);let a=i?()=>Promise.all(tZ(e,i,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:i=0,staggerChildren:a,staggerDirection:s}=o;return function(e,t,n=0,r=0,i=1,o){let a=[],s=(e.variantChildren.size-1)*r,l=1===i?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(tJ).forEach((e,r)=>{e.notify("AnimationStart",t),a.push(tQ(e,t,{...o,delay:n+l(r)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(a)}(e,t,i+r,a,s,n)}:()=>Promise.resolve(),{when:l}=o;if(!l)return Promise.all([a(),s(n.delay)]);{let[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then(()=>t())}}function tJ(e,t){return e.sortNodePosition(t)}let t0=[...f].reverse(),t1=f.length;function t2(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function t5(){return{animate:t2(!0),whileInView:t2(),whileHover:t2(),whileTap:t2(),whileDrag:t2(),whileFocus:t2(),exit:t2()}}class t4{constructor(e){this.isMounted=!1,this.node=e}update(){}}class t3 extends t4{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:n})=>(function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>tQ(e,t,n)));else if("string"==typeof t)r=tQ(e,t,n);else{let i="function"==typeof t?d(e,t,n.custom):t;r=Promise.all(tZ(e,i,n))}return r.then(()=>
16{e.notify("AnimationComplete",t)})})(e,t,n))),n=t5(),r=!0,i=t=>(n,r)=>{var i;let o=d(e,r,"exit"===t?null==(i=e.presenceContext)?void 0:i.custom:void 0);if(o){let{transition:e,transitionEnd:t,...r}=o;n={...n,...r,...t}}return n};function u(u){let c=e.getProps(),d=e.getVariantContext(!0)||{},f=[],h=new Set,p={},m=1/0;for(let t=0;t<t1;t++){var g,v;let y=t0[t],b=n[y],x=void 0!==c[y]?c[y]:d[y],w=l(x),k=y===u?b.isActive:null;!1===k&&(m=t);let S=x===d[y]&&x!==c[y]&&w;if(S&&r&&e.manuallyAnimateOnMount&&(S=!1),b.protectedKeys={...p},!b.isActive&&null===k||!x&&!b.prevProp||o(x)||"boolean"==typeof x)continue;let E=(g=b.prevProp,("string"==typeof(v=x)?v!==g:!!Array.isArray(v)&&!s(v,g))||y===u&&b.isActive&&!S&&w||t>m&&w),P=!1,A=Array.isArray(x)?x:[x],C=A.reduce(i(y),{});!1===k&&(C={});let{prevResolvedValues:T={}}=b,j={...T,...C},M=t=>{E=!0,h.has(t)&&(P=!0,h.delete(t)),b.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in j){let t=C[e],n=T[e];if(!p.hasOwnProperty(e))(a(t)&&a(n)?s(t,n):t===n)?void 0!==t&&h.has(e)?M(e):b.protectedKeys[e]=!0:null!=t?M(e):h.add(e)}b.prevProp=x,b.prevResolvedValues=C,b.isActive&&(p={...p,...C}),r&&e.blockInitialAnimation&&(E=!1),E&&(!S||P)&&f.push(...A.map(e=>({animation:e,options:{type:y}})))}if(h.size){let t={};h.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=null!=r?r:null}),f.push({animation:t})}let y=!!f.length;return r&&(!1===c.initial||c.initial===c.animate)&&!e.manuallyAnimateOnMount&&(y=!1),r=!1,y?t(f):Promise.resolve()}return{animateChanges:u,setActive:function(t,r){var i;if(n[t].isActive===r)return Promise.resolve();null==(i=e.variantChildren)||i.forEach(e=>{var n;return null==(n=e.animationState)?void 0:n.setActive(t,r)}),n[t].isActive=r;let o=u(t);for(let e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=t5(),r=!0}}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();o(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null==(e=this.unmountControls)||e.call(this)}}let t6=0;class t7 extends t4{constructor(){super(...arguments),this.id=t6++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let t9=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function t8(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}function ne(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function nt(e,t,n,r){return ne(e,t,e=>t9(e)&&n(e,t8(e)),r)}let nn=(e,t)=>Math.abs(e-t);class nr{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=na(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,i=(e=n.offset,t={x:0,y:0},Math.sqrt(nn(e.x,t.x)**2+nn(e.y,t.y)**2)>=3);if(!r&&!i)return;let{point:o}=n,{timestamp:a}=R;this.history.push({...o,timestamp:a});let{onStart:s,onMove:l}=this.handlers;r||(s&&s(this.lastMoveEvent,n),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,n)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=ni(t,this.transformPagePoint),j.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let o=na("pointercancel"===e.type?this.lastMoveEventInfo:ni(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),r&&r(e,o)},!t9(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const o=ni(t8(e),this.transformPagePoint),{point:a}=o,{timestamp:s}=R;this.history=[{...a,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,na(o,this.history)),this.removeListeners=ts(nt(this.contextWindow,"pointermove",this.handlePointerMove),nt(this.contextWindow,"pointerup",this.handlePointerUp),nt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),M(this.updatePoint)}}function ni(e,t){return t?{point:t(e.point)}:e}function no(e,t){return{x:e.x-t.x,y:e.y-t.y}}function na({point:e},t){return{point:e,delta:no(e,ns(t)),offset:no(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=ns(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>g(.1)));)n--;if(!r)return{x:0,y:0};let o=(i.timestamp-r.timestamp)/1e3;if(0===o)return{x:0,y:0};let a={x:(i.x-r.x)/o,y:(i.y-r.y)/o};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(t,.1)}}function ns(e){return e[e.length-1]}function nl(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let nu=nl("dragHorizontal"),nc=nl("dragVertical");
16function nd(e){let t=!1;if("y"===e)t=nc();else if("x"===e)t=nu();else{let e=nu(),n=nc();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function nf(){let e=nd(!0);return!e||(e(),!1)}function nh(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function np(e){return e.max-e.min}function nm(e,t,n,r=.5){e.origin=r,e.originPoint=tu(t.min,t.max,e.origin),e.scale=np(n)/np(t),e.translate=tu(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function ng(e,t,n,r){nm(e.x,t.x,n.x,r?r.originX:void 0),nm(e.y,t.y,n.y,r?r.originY:void 0)}function nv(e,t,n){e.min=n.min+t.min,e.max=e.min+np(t)}function ny(e,t,n){e.min=t.min-n.min,e.max=e.min+np(t)}function nb(e,t,n){ny(e.x,t.x,n.x),ny(e.y,t.y,n.y)}function nx(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function nw(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function nk(e,t,n){return{min:nS(e,t),max:nS(e,n)}}function nS(e,t){return"number"==typeof e?e:e[t]||0}let nE=()=>({translate:0,scale:1,origin:0,originPoint:0}),nP=()=>({x:nE(),y:nE()}),nA=()=>({min:0,max:0}),nC=()=>({x:nA(),y:nA()});function nT(e){return[e("x"),e("y")]}function nj({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function nM(e){return void 0===e||1===e}function nR({scale:e,scaleX:t,scaleY:n}){return!nM(e)||!nM(t)||!nM(n)}function nO(e){return nR(e)||nD(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function nD(e){var t,n;return(t=e.x)&&"0%"!==t||(n=e.y)&&"0%"!==n}function n_(e,t,n,r,i){return void 0!==i&&(e=r+i*(e-r)),r+n*(e-r)+t}function nL(e,t=0,n=1,r,i){e.min=n_(e.min,t,n,r,i),e.max=n_(e.max,t,n,r,i)}function nN(e,{x:t,y:n}){nL(e.x,t.translate,t.scale,t.originPoint),nL(e.y,n.translate,n.scale,n.originPoint)}function nI(e,t){e.min=e.min+t,e.max=e.max+t}function nF(e,t,n,r,i=.5){let o=tu(e.min,e.max,i);nL(e,t,n,o,r)}function nV(e,t){nF(e.x,t.x,t.scaleX,t.scale,t.originX),nF(e.y,t.y,t.scaleY,t.scale,t.originY)}function nz(e,t){return nj(function(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}let nB=({current:e})=>e?e.ownerDocument.defaultView:null,nU=new WeakMap;class nH{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=nC(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(t8(e,"page").point)},i=(e,t)=>{var n;let{drag:r,dragPropagation:i,onDragStart:o}=this.getProps();if(r&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=nd(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nT(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Z.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=np(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),o&&j.postRender(()=>o(e,t)),null==(n=this.removeWillChange)||n.call(this),this.removeWillChange=tG(this.visualElement,"transform");let{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},o=(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:o}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:a}=t;if(r&&null===this.currentDirection){this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),o&&o(e,t)},a=(e,t)=>this.stop(e,t),s=()=>nT(e=>{var t;return"paused"===this.getAnimationState(e)&&(null==(t=this.getAxisMotionValue(e).animation)?void 0:t.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new nr(e,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a,resumeAnimation:s},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:nB(this.visualElement)})}stop(e,t){var n;null==(n=this.removeWillChange)||n.call(this);let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=t;this.startAnimation(i);let{onDragEnd:o}=this.getProps();o&&j.postRender(()=>o(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!n$(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?tu(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?tu(n,e,r.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),i.set(o)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null==(e=this.visualElement.projection)?void 0:e.layout,i=this.constraints;t&&nh(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=function(e,{top:t,left:n,bottom:r,right:i}){return{x:nx(e.x,n,i),y:nx(e.y,t,r)}}(r.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:nk(e,"left","right"),y:nk(e,"top","bottom")}}(n),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&nT(e=>{var t,n;let i;!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=(t=r.layoutBox[e],n=this.constraints[e],i={},void 0!==n.min&&(i.min=n.min-t.min),void 0!==n.max&&(i.max=n.max-t.min),i))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!nh(t))return!1;let r=t.current;(0,D.V)(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:i}=this.visualElement;if(!i||!i.layout)return!1;let o=function(e,t,n){let r=nz(e,n),{scroll:i}=t;return i&&(nI(r.x,i.offset.x),nI(r.y,i.offset.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),a=(e=i.layout.layoutBox,{x:nw(e.x,o.x),y:nw(e.y,o.y)});if(n){let e=n(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(a));this.hasMutatedConstraints=!!e,e&&(a=nj(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{};return Promise.all(nT(a=>{if(!n$(a,t,this.currentDirection))return;let l=s&&s[a]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:n?e[a]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return n.start(tF(e,n,0,t,this.visualElement,!1,tG(this.visualElement,e)))}stopAnimation(){nT(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){nT(e=>{var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.pause()})}getAnimationState(e){var t;return null==(t=this.getAxisMotionValue(e).animation)?void 0:t.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){nT(t=>{let{drag:n}=this.getProps();if(!n$(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:o}=r.layout.layoutBox[t];i.set(e[t]-tu(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!nh(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};nT(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){var n,i;let o,a,s,l=t.get();r[e]=(n={min:l,max:l},i=this.constraints[e],o=.5,a=np(n),(s=np(i))>a?o=tl(i.min,i.max-a,n.min):a>s&&(o=tl(n.min,n.max-s,i.min)),z(0,1,o))}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),nT(t=>{if(!n$(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:o}=this.constraints[t];n.set(tu(i,o,r[t]))})}addListeners(){if(!this.visualElement.current)return;nU.set(this.visualElement,this);let e=nt(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:n=!0}
16=this.getProps();t&&n&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();nh(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),j.read(t);let i=ne(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(nT(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{i(),e(),r(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=.35,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function n$(e,t,n){return(!0===t||t===e)&&(null===n||n===e)}class nW extends t4{constructor(e){super(e),this.removeGroupControls=A.l,this.removeListeners=A.l,this.controls=new nH(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||A.l}unmount(){this.removeGroupControls(),this.removeListeners()}}let nq=e=>(t,n)=>{e&&j.postRender(()=>e(t,n))};class nY extends t4{constructor(){super(...arguments),this.removePointerDownListener=A.l}onPointerDown(e){this.session=new nr(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nB(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:nq(e),onStart:nq(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&j.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=nt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var nK=n(73154),nX=n(96810),nG=n(67103),nZ=n(59291);let nQ=(0,nX.createContext)({}),nJ={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function n0(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let n1={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!Q.test(e))return e;else e=parseFloat(e);let n=n0(e,t.target.x),r=n0(e,t.target.y);return`${n}% ${r}%`}},n2={},{schedule:n5,cancel:n4}=T(queueMicrotask,!1);class n3 extends nX.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;Object.assign(n2,n7),i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),nJ.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,o=n.projection;return o&&(o.isPresent=i,r||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?o.promote():o.relegate()||j.postRender(()=>{let e=o.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),n5.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function n6(e){let[t,n]=function(){let e=(0,nX.useContext)(nG.t);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:n,register:r}=e,i=(0,nX.useId)();(0,nX.useEffect)(()=>r(i),[]);let o=(0,nX.useCallback)(()=>n&&n(i),[i,n]);return!t&&n?[!1,o]:[!0]}(),r=(0,nX.useContext)(nZ.L);return(0,nK.jsx)(n3,{...e,layoutGroup:r,switchLayoutGroup:(0,nX.useContext)(nQ),isPresent:t,safeToRemove:n})}let n7={borderRadius:{...n1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:n1,borderTopRightRadius:n1,borderBottomLeftRadius:n1,borderBottomRightRadius:n1,boxShadow:{correct:(e,{treeScale:t,projectionDelta:n})=>{let r=eO.parse(e);if(r.length>5)return e;let i=eO.createTransformer(e),o=+("number"!=typeof r[0]),a=n.x.scale*t.x,s=n.y.scale*t.y;r[0+o]/=a,r[1+o]/=s;let l=tu(a,s,.5);return"number"==typeof r[2+o]&&(r[2+o]/=l),"number"==typeof r[3+o]&&(r[3+o]/=l),i(r)}}},n9=["TopLeft","TopRight","BottomLeft","BottomRight"],n8=n9.length,re=e=>"string"==typeof e?parseFloat(e):e,rt=e=>"number"==typeof e||Q.test(e);function rn(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let rr=ro(0,.5,e8),ri=ro(.5,.95,A.l);function ro(e,t,n){return r=>r<e?0:r>t?1:n(tl(e,t,r))}function ra(e,t){e.min=t.min,e.max=t.max}function rs(e,t){ra(e.x,t.x),ra(e.y,t.y)}function rl(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function ru(e,t,n,r,i){return e-=t,e=r+1/n*(e-r),void 0!==i&&(e=r+1/i*(e-r)),e}function rc(e,t,[n,r,i],o,a){!function(e,t=0,n=1,r=.5,i,o=e,a=e){if(Z.test(t)&&(t=parseFloat(t),t=tu(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=tu(o.min,o.max,r);e===o&&(s-=t),e.min=ru(e.min,t,n,s,i),e.max=ru(e.max,t,n,s,i)}(e,t[n],t[r],t[i],t.scale,o,a)}let rd=["x","scaleX","originX"],rf=["y","scaleY","originY"];function rh(e,t,n,r){rc(e.x,t,rd,n?n.x:void 0,r?r.x:void 0),rc(e.y,t,rf,n?n.y:void 0,r?r.y:void 0)}function rp(e){return 0===e.translate&&1===e.scale}function rm(e){return rp(e.x)&&rp(e.y)}function rg(e,t){return e.min===t.min&&e.max===t.max}function rv(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function ry(e,t){return rv(e.x,t.x)&&rv(e.y,t.y)}function rb(e){return np(e.x)/np(e.y)}function rx(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class rw{constructor(){this.members=[]}add(e){tz(this.members,e),e.scheduleRender()}remove(e){if(tB(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t,n=this.members.findIndex(t=>e===t);if(0===n)return!1;for(let e=n;e>=0;e--){let n=this.members[e];if(!1!==n.isPresent){t=n;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;!1===r&&n.hide()}}
16exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rk=(e,t)=>e.depth-t.depth;class rS{constructor(){this.children=[],this.isDirty=!1}add(e){tz(this.children,e),this.isDirty=!0}remove(e){tB(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(rk),this.isDirty=!1,this.children.forEach(e)}}function rE(e){let t=tX(e)?e.get():e;return t&&"object"==typeof t&&t.mix&&t.toValue?t.toValue():t}let rP={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},rA="undefined"!=typeof window&&void 0!==window.MotionDebug,rC=["","X","Y","Z"],rT={visibility:"hidden"},rj=0;function rM(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function rR({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=null==t?void 0:t()){this.id=rj++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,rA&&(rP.totalNodes=rP.resolvedTargetDeltas=rP.recalculatedProjection=0),this.nodes.forEach(r_),this.nodes.forEach(rB),this.nodes.forEach(rU),this.nodes.forEach(rL),rA&&window.MotionDebug.record(rP)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new rS)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new tU),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:r,layout:i,visualElement:o}=this.options;if(o&&!o.current&&o.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||r)&&(this.isLayoutDirty=!0),e){let n,r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{let e,t;this.root.updateBlockedByResize=!0,n&&n(),e=eq.now(),t=({timestamp:n})=>{let i=n-e;i>=250&&(M(t),r(i-250))},j.read(t,!0),n=()=>M(t),nJ.hasAnimatedSinceResize&&(nJ.hasAnimatedSinceResize=!1,this.nodes.forEach(rz))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&o&&(r||i)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let i=this.options.transition||o.getDefaultTransition()||rK,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=o.getProps(),l=!this.targetLayout||!ry(this.targetLayout,r)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...x(i,"layout"),onPlay:a,onComplete:s};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||rz(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,M(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
16h(rH),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function e(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;let{visualElement:n}=t.options;if(!n)return;let r=n.props[tq];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:e,layoutId:n}=t.options;window.MotionCancelOptimisedAnimation(r,"transform",j,!(e||n))}let{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&e(i)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rI);return}this.isUpdating||this.nodes.forEach(rF),this.isUpdating=!1,this.nodes.forEach(rV),this.nodes.forEach(rO),this.nodes.forEach(rD),this.clearAllSnapshots();let e=eq.now();R.delta=z(0,1e3/60,e-R.timestamp),R.timestamp=e,R.isProcessing=!0,O.update.process(R),O.preRender.process(R),O.render.process(R),R.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,n5.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rN),this.sharedNodes.forEach(r$)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,j.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){j.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=nC(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!rm(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;e&&(t||nO(this.latestValues)||o)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let n=this.measurePageBox(),r=this.removeElementScroll(n);return e&&(r=this.removeTransform(r)),rZ((t=r).x),rZ(t.y),{animationId:this.root.animationId,measuredBox:n,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){var e;let{visualElement:t}=this.options;if(!t)return nC();let n=t.measureViewportBox();if(!((null==(e=this.scroll)?void 0:e.wasRoot)||this.path.some(rJ))){let{scroll:e}=this.root;e&&(nI(n.x,e.offset.x),nI(n.y,e.offset.y))}return n}removeElementScroll(e){var t;let n=nC();if(rs(n,e),null==(t=this.scroll)?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){let r=this.path[t],{scroll:i,options:o}=r;r!==this.root&&i&&o.layoutScroll&&(i.wasRoot&&rs(n,e),nI(n.x,i.offset.x),nI(n.y,i.offset.y))}return n}applyTransform(e,t=!1){let n=nC();rs(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&nV(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),nO(r.latestValues)&&nV(n,r.latestValues)}return nO(this.latestValues)&&nV(n,this.latestValues),n}removeTransform(e){let t=nC();rs(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!nO(n.latestValues))continue;nR(n.latestValues)&&n.updateSnapshot();let r=nC();rs(r,n.measurePageBox()),rh(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return nO(this.latestValues)&&rh(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==R.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,n,r,i;let o=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=o.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=o.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=o.isSharedProjectionDirty);let a=!!this.resumingFrom||this!==o;if(!(e||a&&this.isSharedProjectionDirty||this.isProjectionDirty||(null==(t=this.parent)?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:l}=this.options;if(this.layout&&(s||l)){if(this.resolvedRelativeTargetAt=R.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nC(),this.relativeTargetOrigin=nC(),nb(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),rs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=nC(),this.targetWithTransforms=nC()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),n=this.target,r=this.relativeTarget,i=this.relativeParent.target,nv(n.x,r.x,i.x),nv(n.y,r.
16y,i.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rs(this.target,this.layout.layoutBox),nN(this.target,this.targetDelta)):rs(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=nC(),this.relativeTargetOrigin=nC(),nb(this.relativeTargetOrigin,this.target,e.target),rs(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}rA&&rP.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||nR(this.parent.latestValues)||nD(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)}calcProjection(){var e;let t=this.getLead(),n=!!this.resumingFrom||this!==t,r=!0;if((this.isProjectionDirty||(null==(e=this.parent)?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===R.timestamp&&(r=!1),r)return;let{layout:i,layoutId:o}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(i||o))return;rs(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,s=this.treeScale.y;!function(e,t,n,r=!1){let i,o,a=n.length;if(a){t.x=t.y=1;for(let s=0;s<a;s++){o=(i=n[s]).projectionDelta;let{visualElement:a}=i.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&nV(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,nN(e,o)),r&&nO(i.latestValues)&&nV(e,i.latestValues))}t.x<1.0000000000001&&t.x>.999999999999&&(t.x=1),t.y<1.0000000000001&&t.y>.999999999999&&(t.y=1)}}(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=nC());let{target:l}=t;if(!l){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rl(this.prevProjectionDelta.x,this.projectionDelta.x),rl(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ng(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===a&&this.treeScale.y===s&&rx(this.projectionDelta.x,this.prevProjectionDelta.x)&&rx(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),rA&&rP.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null==(t=this.options.visualElement)||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=nP(),this.projectionDelta=nP(),this.projectionDeltaWithTransform=nP()}setAnimationOrigin(e,t=!1){let n,r=this.snapshot,i=r?r.latestValues:{},o={...this.latestValues},a=nP();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=nC(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(rY));this.animationProgress=0,this.mixTargetDelta=t=>{let r=t/1e3;if(rW(a.x,e.x,r),rW(a.y,e.y,r),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,f,h,p,m,g;nb(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),h=this.relativeTarget,p=this.relativeTargetOrigin,m=s,g=r,rq(h.x,p.x,m.x,g),rq(h.y,p.y,m.y,g),n&&(u=this.relativeTarget,f=n,rg(u.x,f.x)&&rg(u.y,f.y))&&(this.isProjectionDirty=!1),n||(n=nC()),r
16s(n,this.relativeTarget)}l&&(this.animationValues=o,function(e,t,n,r,i,o){i?(e.opacity=tu(0,void 0!==n.opacity?n.opacity:1,rr(r)),e.opacityExit=tu(void 0!==t.opacity?t.opacity:1,0,ri(r))):o&&(e.opacity=tu(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let i=0;i<n8;i++){let o=`border${n9[i]}Radius`,a=rn(t,o),s=rn(n,o);(void 0!==a||void 0!==s)&&(a||(a=0),s||(s=0),0===a||0===s||rt(a)===rt(s)?(e[o]=Math.max(tu(re(a),re(s),r),0),(Z.test(s)||Z.test(a))&&(e[o]+="%")):e[o]=s)}(t.rotate||n.rotate)&&(e.rotate=tu(t.rotate||0,n.rotate||0,r))}(o,i,this.latestValues,r,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(M(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=j.update(()=>{var t;let n;nJ.hasAnimatedSinceResize=!0,this.currentAnimation=(t={...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}},(n=tX(0)?0:t$(0)).start(tF("",n,1e3,t)),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 e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&rQ(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||nC();let t=np(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=np(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}rs(t,n),nV(t,i),ng(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new rw),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null==(e=this.getStack())?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null==(e=this.getStack())?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&rM("z",e,r,this.animationValues);for(let t=0;t<rC.length;t++)rM(`rotate${rC[t]}`,e,r,this.animationValues),rM(`skew${rC[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return rT;let r={visibility:""},i=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=rE(null==e?void 0:e.pointerEvents)||"",r.transform=i?i(this.latestValues,""):"none",r;let o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=rE(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!nO(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1),t}let a=o.animationValues||o.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="",i=e.x.translate/t.x,o=e.
16y.translate/t.y,a=(null==n?void 0:n.z)||0;if((i||o||a)&&(r=`translate3d(${i}px, ${o}px, ${a}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:o,skewX:a,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),o&&(r+=`rotateY(${o}deg) `),a&&(r+=`skewX(${a}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,a),i&&(r.transform=i(a,r.transform));let{x:s,y:l}=this.projectionDelta;for(let e in r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,o.animationValues?r.opacity=o===this?null!=(n=null!=(t=a.opacity)?t:this.latestValues.opacity)?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=o===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0,n2){if(void 0===a[e])continue;let{correct:t,applyTo:n}=n2[e],i="none"===r.transform?a[e]:t(a[e],o);if(n){let e=n.length;for(let t=0;t<e;t++)r[n[t]]=i}else r[e]=i}return this.options.layoutId&&(r.pointerEvents=o===this?rE(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null==(t=e.currentAnimation)?void 0:t.stop()}),this.root.nodes.forEach(rI),this.root.sharedNodes.clear()}}}function rO(e){e.updateLayout()}function rD(e){var t;let n=(null==(t=e.resumeFrom)?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;"size"===i?nT(e=>{let r=o?n.measuredBox[e]:n.layoutBox[e],i=np(r);r.min=t[e].min,r.max=r.min+i}):rQ(i,n.layoutBox,t)&&nT(r=>{let i=o?n.measuredBox[r]:n.layoutBox[r],a=np(t[r]);i.max=i.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)});let a=nP();ng(a,t,n.layoutBox);let s=nP();o?ng(s,e.applyTransform(r,!0),n.measuredBox):ng(s,t,n.layoutBox);let l=!rm(a),u=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:o}=r;if(i&&o){let a=nC();nb(a,n.layoutBox,i.layoutBox);let s=nC();nb(s,t,o.layoutBox),ry(a,s)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function r_(e){rA&&rP.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function rL(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function rN(e){e.clearSnapshot()}function rI(e){e.clearMeasurements()}function rF(e){e.isLayoutDirty=!1}function rV(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function rz(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function rB(e){e.resolveTargetDelta()}function rU(e){e.calcProjection()}function rH(e){e.resetSkewAndRotation()}function r$(e){e.removeLeadSnapshot()}function rW(e,t,n){e.translate=tu(t.translate,0,n),e.scale=tu(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function rq(e,t,n,r){e.min=tu(t.min,n.min,r),e.max=tu(t.max,n.max,r)}function rY(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let rK={duration:.45,ease:[.4,0,.1,1]},rX=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),rG=rX("applewebkit/")&&!rX("chrome/")?Math.round:A.l;function rZ(e){e.min=rG(e.min),e.max=rG(e.max)}function rQ(e,t,n){return"position"===e||"preserve-aspect"===e&&!(.2>=Math.abs(rb(t)-rb(n)))}function rJ(e){var t;return e!==e.root&&(null==(t=e.scroll)?void 0:t.wasRoot)}let r0=rR({attachResizeListener:(e,t)=>ne(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),r1={current:void 0},r2=rR({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!r1.current){let e=new r0({});e.mount(window),e.setOptions({layoutScroll:!0}),r1.current=e}return r1.current},resetTransform:(e,t)=>
16{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});function r5(e,t){let n=t?"onHoverStart":"onHoverEnd";return nt(e.current,t?"pointerenter":"pointerleave",(r,i)=>{if("touch"===r.pointerType||nf())return;let o=e.getProps();e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",t);let a=o[n];a&&j.postRender(()=>a(r,i))},{passive:!e.getProps()[n]})}class r4 extends t4{mount(){this.unmount=ts(r5(this.node,!0),r5(this.node,!1))}unmount(){}}class r3 extends t4{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ts(ne(this.node.current,"focus",()=>this.onFocus()),ne(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let r6=(e,t)=>!!t&&(e===t||r6(e,t.parentElement));function r7(e,t){if(!t)return;let n=new PointerEvent("pointer"+e);t(n,t8(n))}class r9 extends t4{constructor(){super(...arguments),this.removeStartListeners=A.l,this.removeEndListeners=A.l,this.removeAccessibleListeners=A.l,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let n=this.node.getProps(),r=nt(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:n,onTapCancel:r,globalTapTarget:i}=this.node.getProps(),o=i||r6(this.node.current,e.target)?n:r;o&&j.update(()=>o(e,t))},{passive:!(n.onTap||n.onPointerUp)}),i=nt(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ts(r,i),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=e=>{if("Enter"!==e.key||this.isPressing)return;let t=e=>{"Enter"===e.key&&this.checkPressEnd()&&r7("up",(e,t)=>{let{onTap:n}=this.node.getProps();n&&j.postRender(()=>n(e,t))})};this.removeEndListeners(),this.removeEndListeners=ne(this.node.current,"keyup",t),r7("down",(e,t)=>{this.startPress(e,t)})},t=ne(this.node.current,"keydown",e),n=()=>{this.isPressing&&r7("cancel",(e,t)=>this.cancelPress(e,t))},r=ne(this.node.current,"blur",n);this.removeAccessibleListeners=ts(t,r)}}startPress(e,t){this.isPressing=!0;let{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&j.postRender(()=>n(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!nf()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:n}=this.node.getProps();n&&j.postRender(()=>n(e,t))}mount(){let e=this.node.getProps(),t=nt(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=ne(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ts(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let r8=new WeakMap,ie=new WeakMap,it=e=>{let t=r8.get(e.target);t&&t(e)},ir=e=>{e.forEach(it)},ii={some:0,all:1};class io extends t4{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:n={}}=this.node.getProps(),{root:r,margin:i,amount:o="some",once:a}=n,s={root:r?r.current:void 0,rootMargin:i,threshold:"number"==typeof o?o:ii[o]},l=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,a&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)};return e=this.node.current,t=function({root:e,...t}){let n=e||document;ie.has(n)||ie.set(n,{});let r=ie.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(ir,{root:e,...t})),r[i]}(s),r8.set(e,l),t.observe(e),()=>{r8.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}var ia=n(94002);let is=(0,nX.createContext)({});var il=n(54328);let iu=(0,nX.createContext)({strict:!1}),ic=!1;function id(){window.MotionHandoffIsComplete=!0}function ih(e){return o(e.animate)||h.some(t=>l(e[t]))}function ip(e){return!!(ih(e)||e.variants)}function im(e){return Array.isArray(e)?e.join(" "):e}let ig={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"]},iv={};for(let e in ig)iv[e]={isEnabled:t=>ig[e].some(e=>!!t[e])};var iy=n(24182);let ib=Symbol.for("motionComponentSymbol"),ix=["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 iw(e){if("string"!=typeof e||e.includes("-"));else if(ix.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}function ik(e,{style:t,vars:n},r,i){for(let o in Object.assign(e.style,t,i&&i.getProjectionStyles(r)),n)e.style.setProperty(o,n[o])}let iS=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"]);function iE(e,t,n,r){for(let n in ik(e,t,void 0,r),t.attrs)e.setAttribute(iS.has(n)?n:tW(n),t.attrs[n])}function iP(e,{layout:t,layoutId:n}){return m.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!n2[e]||"opacity"===e)}function iA(e,t,n){var r;let{style:i}=e,o={};for(let a in i)(tX(i[a])||t.style&&tX(t.style[a])||iP(a,e)||(null==(r=null==n?void 0:n.getValue(a))?void 0:r.liveStyle)!==void 0)&&(o[a]=i[a]);return n&&i&&"string"==typeof i.willChange&&(n.applyWillChange=!1),o}function iC(e,t,n){let r=iA(e,t,n);for(let n in e)(tX(e[n])||tX(t[n]))&&(r[-1!==p.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}var iT=n(42311);let ij=e=>(t,n)=>{let r=(0,nX.useContext)(is),i=(0,nX.useContext)(nG.t),a=()=>(function({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},i,a,s,l){let u={latestValues:function(e,t,n,r,i){var a;let s={},l=[],u=r&&(null==(a=e.style)?void 0:a.willChange)===void 0,c=i(e,{});for(let e in c)s[e]=rE(c[e]);let{initial:d,animate:f}=e,h=ih(e),p=ip(e);
16t&&p&&!h&&!1!==e.inherit&&(void 0===d&&(d=t.initial),void 0===f&&(f=t.animate));let m=!!n&&!1===n.initial,g=(m=m||!1===d)?f:d;return g&&"boolean"!=typeof g&&!o(g)&&iM(e,g,(e,t)=>{for(let t in e){let n=e[t];if(Array.isArray(n)){let e=m?n.length-1:0;n=n[e]}null!==n&&(s[t]=n)}for(let e in t)s[e]=t[e]}),u&&(f&&!1!==d&&!o(f)&&iM(e,f,e=>{for(let t in e)!function(e,t){let n=tY(t);n&&tz(e,n)}(l,t)}),l.length&&(s.willChange=l.join(","))),s}(i,a,s,!l&&e,t),renderState:n()};return r&&(u.mount=e=>r(i,e,u)),u})(e,t,r,i,n);return n?a():(0,iT.M)(a)};function iM(e,t,n){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=c(e,r[t]);if(i){let{transitionEnd:e,transition:t,...r}=i;n(r,e)}}}let iR=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),iO=()=>({...iR(),attrs:{}}),iD=(e,t)=>t&&"number"==typeof e?t.transform(e):e,i_={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iL=p.length;function iN(e,t,n){let{style:r,vars:i,transformOrigin:o}=e,a=!1,s=!1;for(let e in t){let n=t[e];if(m.has(e)){a=!0;continue}if(L(e)){i[e]=n;continue}{let t=iD(n,eF[e]);e.startsWith("origin")?(s=!0,o[e]=t):r[e]=t}}if(!t.transform&&(a||n?r.transform=function(e,t,n){let r="",i=!0;for(let o=0;o<iL;o++){let a=p[o],s=e[a];if(void 0===s)continue;let l=!0;if(!(l="number"==typeof s?s===+!!a.startsWith("scale"):0===parseFloat(s))||n){let e=iD(s,eF[a]);if(!l){i=!1;let t=i_[a]||a;r+=`${t}(${e}) `}n&&(t[a]=e)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),s){let{originX:e="50%",originY:t="50%",originZ:n=0}=o;r.transformOrigin=`${e} ${t} ${n}`}}function iI(e,t,n){return"string"==typeof e?e:Q.transform(t+n*e)}let iF={offset:"stroke-dashoffset",array:"stroke-dasharray"},iV={offset:"strokeDashoffset",array:"strokeDasharray"};function iz(e,{attrX:t,attrY:n,attrScale:r,originX:i,originY:o,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...u},c,d){let f,h;if(iN(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:m,dimensions:g}=e;p.transform&&(g&&(m.transform=p.transform),delete p.transform),g&&(void 0!==i||void 0!==o||m.transform)&&(f=iI(void 0!==i?i:.5,g.x,g.width),h=iI(void 0!==o?o:.5,g.y,g.height),m.transformOrigin=`${f} ${h}`),void 0!==t&&(p.x=t),void 0!==n&&(p.y=n),void 0!==r&&(p.scale=r),void 0!==a&&function(e,t,n=1,r=0,i=!0){e.pathLength=1;let o=i?iF:iV;e[o.offset]=Q.transform(-r);let a=Q.transform(t),s=Q.transform(n);e[o.array]=`${a} ${s}`}(p,a,s,l,!1)}let iB=e=>"string"==typeof e&&"svg"===e.toLowerCase(),iU={useVisualState:ij({scrapeMotionValuesFromProps:iC,createRenderState:iO,onMount:(e,t,{renderState:n,latestValues:r})=>{j.read(()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}}),j.render(()=>{iz(n,r,iB(t.tagName),e.transformTemplate),iE(t,n)})}})},iH={useVisualState:ij({applyWillChange:!0,scrapeMotionValuesFromProps:iA,createRenderState:iR})};function i$(e,t,n){for(let r in t)tX(t[r])||iP(r,n)||(e[r]=t[r])}let iW=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function iq(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||iW.has(e)}let iY=e=>!iq(e);try{(S=require("@emotion/is-prop-valid").default)&&(iY=e=>e.startsWith("on")?!iq(e):S(e))}catch(e){}let iK={current:null},iX={current:!1},iG=new WeakMap,iZ=[...ec,eE,eO],iQ=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],iJ=h.length;class i0{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},a={}){this.applyWillChange=!1,this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=ev,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,j.render(this.render,!1,!0))};const{latestValues:s,renderState:l}=o;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=ih(t),this.isVariantNode=ip(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in c){const t=c[e];void 0!==s[e]&&tX(t)&&t.set(s[e],!1)}}mount(e){this.current=e,iG.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
16h((e,t)=>this.bindToMotionValue(t,e)),iX.current||function(){if(iX.current=!0,iy.B)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>iK.current=e.matches;e.addListener(t),t()}else iK.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iK.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in iG.delete(this.current),this.projection&&this.projection.unmount(),M(this.notifyUpdate),M(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){let n;this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let r=m.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&j.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);window.MotionCheckAppearSync&&(n=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),o(),n&&n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in iv){let t=iv[e];
16if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):nC()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<iQ.length;t++){let n=iQ[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(let r in t){let i=t[r],o=n[r];if(tX(i))e.addValue(r,i);else if(tX(o))e.addValue(r,t$(i,{owner:e}));else if(o!==i)if(e.hasValue(r)){let t=e.getValue(r);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,t$(void 0!==t?t:i,{owner:e}))}}for(let r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<iJ;e++){let n=h[e],r=this.props[n];(l(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=t$(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!=(n=this.getBaseTargetFromProps(this.props,e))?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];if(null!=r){let n,i;if("string"==typeof r&&(n=r,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(i=r,/^0[^.\s]+$/u.test(i))))r=parseFloat(r);else{let n;n=r,!iZ.find(eu(n))&&eO.test(t)&&(r=eB(e,t))}this.setBaseTarget(e,tX(r)?r.get():r)}return tX(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let n,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let i=c(this.props,r,null==(t=this.presenceContext)?void 0:t.custom);i&&(n=i[e])}if(r&&void 0!==n)return n;let i=this.getBaseTargetFromProps(this.props,e);return void 0===i||tX(i)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:i}on(e,t){return this.events[e]||(this.events[e]=new tU),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class i1 extends i0{constructor(){super(...arguments),this.KeyframeResolver=eH}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}}class i2 extends i1{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=ik}readValueFromInstance(e,t){if(m.has(t)){let e=ez(t);return e&&e.default||0}{let n=window.getComputedStyle(e),r=(L(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return nz(e,t)}build(e,t,n){iN(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return iA(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;tX(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class i5 extends i1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=nC}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(m.has(t)){let e=ez(t);return e&&e.default||0}return t=iS.has(t)?t:tW(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return iC(e,t,n)}
16build(e,t,n){iz(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){iE(e,t,n,r)}mount(e){this.isSVGTag=iB(e.tagName),super.mount(e)}}let i4=function(e){if("undefined"==typeof Proxy)return e;let t=new Map;return new Proxy((...t)=>e(...t),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}((E={animation:{Feature:t3},exit:{Feature:t7},inView:{Feature:io},tap:{Feature:r9},focus:{Feature:r3},hover:{Feature:r4},pan:{Feature:nY},drag:{Feature:nW,ProjectionNode:r2,MeasureLayout:n6},layout:{ProjectionNode:r2,MeasureLayout:n6}},P=(e,t)=>iw(e)?new i5(t):new i2(t,{allowProjection:e!==nX.Fragment}),function(e,{forwardMotionProps:t}={forwardMotionProps:!1}){return function({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:i}){e&&function(e){for(let t in e)iv[t]={...iv[t],...e[t]}}(e);let o=(0,nX.forwardRef)(function(e,o){var a,s,u;let c,d={...(0,nX.useContext)(ia.Q),...e,layoutId:function({layoutId:e}){let t=(0,nX.useContext)(nZ.L).id;return t&&void 0!==e?t+"-"+e:e}(e)},{isStatic:f}=d,h=function(e){let{initial:t,animate:n}=function(e,t){if(ih(e)){let{initial:t,animate:n}=e;return{initial:!1===t||l(t)?t:void 0,animate:l(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,nX.useContext)(is));return(0,nX.useMemo)(()=>({initial:t,animate:n}),[im(t),im(n)])}(e),p=r(e,f);if(!f&&iy.B){s=0,u=0,(0,nX.useContext)(iu).strict;let e=function(e){let{drag:t,layout:n}=iv;if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(d);c=e.MeasureLayout,h.visualElement=function(e,t,n,r,i){var o;let{visualElement:a}=(0,nX.useContext)(is),s=(0,nX.useContext)(iu),l=(0,nX.useContext)(nG.t),u=(0,nX.useContext)(ia.Q).reducedMotion,c=(0,nX.useRef)(void 0);r=r||s.renderer,!c.current&&r&&(c.current=r(e,{visualState:t,parent:a,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u}));let d=c.current,f=(0,nX.useContext)(nQ);d&&!d.projection&&i&&("html"===d.type||"svg"===d.type)&&function(e,t,n,r){let{layoutId:i,layout:o,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:i,layout:o,alwaysMeasureLayout:!!a||s&&nh(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(c.current,n,i,f),(0,nX.useInsertionEffect)(()=>{d&&d.update(n,l)});let h=n[tq],p=(0,nX.useRef)(!!h&&!window.MotionHandoffIsComplete&&(null==(o=window.MotionHasOptimisedAnimation)?void 0:o.call(window,h)));return(0,il.E)(()=>{d&&(d.updateFeatures(),n5.render(d.render),p.current&&d.animationState&&d.animationState.animateChanges())}),(0,nX.useEffect)(()=>{d&&(!p.current&&d.animationState&&d.animationState.animateChanges(),p.current=!1,ic||(ic=!0,queueMicrotask(id)))}),d}(i,p,d,t,e.ProjectionNode)}return(0,nK.jsxs)(is.Provider,{value:h,children:[c&&h.visualElement?(0,nK.jsx)(c,{visualElement:h.visualElement,...d}):null,n(i,e,(a=h.visualElement,(0,nX.useCallback)(e=>{e&&p.mount&&p.mount(e),a&&(e?a.mount(e):a.unmount()),o&&("function"==typeof o?o(e):nh(o)&&(o.current=e))},[a])),p,f,h.visualElement)]})});return o[ib]=i,o}({...iw(e)?iU:iH,preloadedFeatures:E,useRender:function(e=!1){return(t,n,r,{latestValues:i},o)=>{let a=(iw(t)?function(e,t,n,r){let i=(0,nX.useMemo)(()=>{let n=iO();return iz(n,t,iB(r),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};i$(t,e.style,e),i.style={...t,...i.style}}return i}:function(e,t){let n,r,i={},o=(n=e.style||{},i$(r={},n,e),Object.assign(r,function({transformTemplate:e},t){return(0,nX.useMemo)(()=>{let n=iR();return iN(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=o,i})(n,i,o,t),s=function(e,t,n){let r={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&(iY(i)||!0===n&&iq(i)||!t&&!iq(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}(n,"string"==typeof t,e),l=t!==nX.Fragment?{...s,...a,ref:r}:{},{children:u}=n,c=(0,nX.useMemo)(()=>tX(u)?u.get():u,[u]);return(0,nX.createElement)(t,{...l,children:c})}}(t),createVisualElement:P,Component:e})}))},69405:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esMo
16dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.init=t.push=void 0;var i=r(n(64527)),o=function(e,t){var n=!1;return t.forEach(function(t){null!==t.exec(e)&&(n=!0)}),n};function a(e){window._paq||(window._paq=[]),window._paq.push(e)}t.push=a;var s=function(e,t){return e.substring(0,t.length)===t},l={createScript:function(e){return e},createScriptURL:function(e){return e}};function u(e){var t,n,r,u,c=e.url,d=e.siteId,f=e.jsTrackerFile,h=e.phpTrackerFile,p=e.excludeUrlsPatterns,m=void 0===p?[]:p,g=e.disableCookies,v=e.onRouteChangeStart,y=void 0===v?void 0:v,b=e.onRouteChangeComplete,x=void 0===b?void 0:b,w=e.onInitialization,k=void 0===w?void 0:w,S=e.onScriptLoadingError,E=void 0===S?void 0:S,P=e.nonce,A=e.trustedPolicyName,C=e.logExcludedTracks;if(window._paq=null!==window._paq?window._paq:[],!c)return void console.warn("Matomo disabled, please provide matomo url");var T=null!=(n=null==(t=window.trustedTypes)?void 0:t.createPolicy(void 0===A?"matomo-next":A,l))?n:l,j="",M="undefined"!=typeof window&&o(window.location.pathname,m);k&&k(),M?"undefined"!=typeof window&&void 0!==C&&C&&console.log("matomo: exclude track "+window.location.pathname):a(["trackPageView"]),void 0!==g&&g&&a(["disableCookies"]),a(["enableLinkTracking"]),a(["setTrackerUrl",c+"/"+(void 0===h?"matomo.php":h)]),a(["setSiteId",d]);var R=document.createElement("script"),O=document.getElementsByTagName("script")[0];P&&R.setAttribute("nonce",P),R.type="text/javascript",R.async=!0,R.defer=!0;var D=c+"/"+(void 0===f?"matomo.js":f);R.src=null!=(u=null==(r=T.createScriptURL)?void 0:r.call(T,D))?u:D,E&&(R.onerror=function(){E()}),O.parentNode&&O.parentNode.insertBefore(R,O),j=location.pathname,i.default.events.on("routeChangeStart",function(e){if(!o(e,m)){var t=e.split("?")[0];t=t.replace(/#.*/,""),j&&a(["setReferrerUrl",""+j]),a(["setCustomUrl",t]),a(["deleteCustomVariables","page"]),j=t,y&&y(e)}}),i.default.events.on("routeChangeComplete",function(e){!o(e,m)&&(setTimeout(function(){var t=i.default.query.q;a(["setDocumentTitle",document.title]),s(e,"/recherche")||s(e,"/search")?a(["trackSiteSearch",null!=t?t:""]):a(["trackPageView"])},0),x&&x(e))})}t.init=u,t.default=u},69940:(e,t,n)=>{"use strict";n.d(t,{qW:()=>f});var r,i=n(96810),o=n(90387),a=n(4728),s=n(60517),l=n(67174),u=n(73154),c="dismissableLayer.update",d=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),f=i.forwardRef((e,t)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:f,onPointerDownOutside:m,onFocusOutside:g,onInteractOutside:v,onDismiss:y,...b}=e,x=i.useContext(d),[w,k]=i.useState(null),S=w?.ownerDocument??globalThis?.document,[,E]=i.useState({}),P=(0,s.s)(t,e=>k(e)),A=Array.from(x.layers),[C]=[...x.layersWithOutsidePointerEventsDisabled].slice(-1),T=A.indexOf(C),j=w?A.indexOf(w):-1,M=x.layersWithOutsidePointerEventsDisabled.size>0,R=j>=T,O=function(e,t=globalThis?.document){let n=(0,l.c)(e),r=i.useRef(!1),o=i.useRef(()=>{});return i.useEffect(()=>{let e=e=>{if(e.target&&!r.current){let r=function(){p("dismissableLayer.pointerDownOutside",n,i,{discrete:!0})},i={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=r,t.addEventListener("click",o.current,{once:!0})):r()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[...x.branches].some(e=>e.contains(t));R&&!n&&(m?.(e),v?.(e),e.defaultPrevented||y?.())},S),D=function(e,t=globalThis?.document){let n=(0,l.c)(e),r=i.useRef(!1);return i.useEffect(()=>{let e=e=>{e.target&&!r.current&&p("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;![...x.branches].some(e=>e.contains(t))&&(g?.(e),v?.(e),e.defaultPrevented||y?.())},S);return!function(e,t=globalThis?.document){let n=(0,l.c)(e);i.useEffect(()=>{let e=e=>{"Escape"===e.key&&n(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[n,t])}(e=>{j===x.layers.size-1&&(f?.(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},S),i.useEffect(()=>{if(w)return n&&(0===x.layersWithOutsidePointerEventsDisabled.size&&(r=S.body.style.pointerEvents,S.body.style.pointerEvents="none"),x.layersWithOutsidePointerEventsDisabled.add(w)),x.layers.add(w),h(),()=>{n&&1===x.layersWithOutsidePointerEventsDisabled.size&&(S.body.style.pointerEvents=r)}},[w,S,n,x]),i.useEffect(()=>()=>{w&&(x.layers.delete(w),x.layersWithOutsidePointerEventsDisabled.delete(w),h())},[w,x]),i.useEffect(()=>{let e=()=>E({});return document.addEventListener(c,e),()=>document.removeEventListener(c,e)},[]),(0,u.jsx)(a.sG.div,{...b,ref:P,style:{pointerEvents:M?R?"auto":"none":void 0,...e.style},onFocusCapture:(0,o.m)(e.onFocusCapture,D.onFocusCapture),onBlurCapture:(0,o.m)(e.onBlurCapture,D.onBlurCapture),onPointerDownCapture:(0,o.m)(e.onPointerDownCapture,O.onPointerDownCapture)})});function h(){let e=new CustomEvent(c);document.dispatchEvent(e)}function p(e,t,n,{discrete:r}){let i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?(0,a.hO)(i,o):i.dispatchEvent(o)}f.displayName="DismissableLayer",i.forwardRef((e,t)=>
16{let n=i.useContext(d),r=i.useRef(null),o=(0,s.s)(t,r);return i.useEffect(()=>{let e=r.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,u.jsx)(a.sG.div,{...e,ref:o})}).displayName="DismissableLayerBranch"},70679:(e,t,n)=>{"use strict";let r;n.d(t,{n:()=>f});var i=n(96810),o=n(60517),a=n(4728),s=n(67174),l=n(73154),u="focusScope.autoFocusOnMount",c="focusScope.autoFocusOnUnmount",d={bubbles:!1,cancelable:!0},f=i.forwardRef((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:f,onUnmountAutoFocus:v,...y}=e,[b,x]=i.useState(null),w=(0,s.c)(f),k=(0,s.c)(v),S=i.useRef(null),E=(0,o.s)(t,e=>x(e)),P=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(r){let e=function(e){if(P.paused||!b)return;let t=e.target;b.contains(t)?S.current=t:m(S.current,{select:!0})},t=function(e){if(P.paused||!b)return;let t=e.relatedTarget;null!==t&&(b.contains(t)||m(S.current,{select:!0}))};document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&m(b)});return b&&n.observe(b,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,b,P.paused]),i.useEffect(()=>{if(b){g.add(P);let e=document.activeElement;if(!b.contains(e)){let t=new CustomEvent(u,d);b.addEventListener(u,w),b.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(m(r,{select:t}),document.activeElement!==n)return}(h(b).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&m(b))}return()=>{b.removeEventListener(u,w),setTimeout(()=>{let t=new CustomEvent(c,d);b.addEventListener(c,k),b.dispatchEvent(t),t.defaultPrevented||m(e??document.body,{select:!0}),b.removeEventListener(c,k),g.remove(P)},0)}}},[b,w,k,P]);let A=i.useCallback(e=>{if(!n&&!r||P.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,i=document.activeElement;if(t&&i){var o;let t,r=e.currentTarget,[a,s]=[p(t=h(o=r),o),p(t.reverse(),o)];a&&s?e.shiftKey||i!==s?e.shiftKey&&i===a&&(e.preventDefault(),n&&m(s,{select:!0})):(e.preventDefault(),n&&m(a,{select:!0})):i===r&&e.preventDefault()}},[n,r,P.paused]);return(0,l.jsx)(a.sG.div,{tabIndex:-1,...y,ref:E,onKeyDown:A})});function h(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function p(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function m(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}f.displayName="FocusScope";var g=(r=[],{add(e){let t=r[0];e!==t&&t?.pause(),(r=v(r,e)).unshift(e)},remove(e){r=v(r,e),r[0]?.resume()}});function v(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}},71082:e=>{e.exports={"circle-icon":"icon_circle-icon__7w74K"}},72225:e=>{e.exports={style:{fontFamily:"'Roboto Condensed', 'Roboto Condensed Fallback'",fontStyle:"normal"},className:"__className_8fc59e",variable:"__variable_8fc59e"}},72329:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});let r=(0,n(63470).v)(e=>({mtm_campaign:void 0,mtm_kwd:void 0,mtm_content:void 0,setUtmParams:t=>e(t)}))},73308:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r={default:function(){return c},getImageProps:function(){return u}};for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]});let o=n(35810),a=n(41432),s=n(67716),l=o._(n(25100));function u(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qual
16ities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,n]of Object.entries(t))void 0===n&&delete t[e];return{props:t}}let c=s.Image},77203:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(73228).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},78268:e=>{e.exports={container:"sts_container__UxMWN","mask-left":"sts_mask-left__JwBGS","mask-right":"sts_mask-right__wa5N3","swipe-to-scroll":"sts_swipe-to-scroll__R7cH2","mask-both":"sts_mask-both__YY6De","no-bounds":"sts_no-bounds__sROkW","is-native-scroll":"sts_is-native-scroll__Jl0oL","no-transform":"sts_no-transform__Kf_Ti","fade-in":"sts_fade-in__xOLeJ"}},82394:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,d=arguments[0],f=1,h=arguments.length,p=!1;for("boolean"==typeof d&&(p=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<h;++f)if(t=arguments[f],null!=t)for(n in t)r=l(d,n),d!==(i=l(t,n))&&(p&&i&&(a(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},s(d,{name:n,newValue:e(p,c,i)})):void 0!==i&&s(d,{name:n,newValue:i}));return d}},85716:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||n.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(o,l)).replace(r,s))}},86234:(e,t,n)=>{e.exports=n(41137)},86878:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var r=n(96810),i=n(36854);function o(e){let[t,n]=r.useState(void 0);return(0,i.N)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,i;if(!Array.isArray(t)||!t.length)return;let o=t[0];if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,i=t.blockSize}else r=e.offsetWidth,i=e.offsetHeight;n({width:r,height:i})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}},89557:(e,t,n)=>{"use strict";n.d(t,{A:()=>g,P:()=>p});var r,i=n(73154),o=n(96810),a=n(86234),s=n.n(a);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}let u=function(e){return o.createElement("svg",l({width:"1em",height:"1em",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"icon"},e),r||(r=o.createElement("path",{d:"M21.333 21.333H2.667V2.667H12V0H0v24h24V12h-2.667v9.333ZM14.667 0v2.667h4.786L6.347 15.773l1.88 1.88L21.333 4.547v4.786H24V0h-9.333Z",fill:"#323232"})))};var c=n(48921),d=n.n(c),f=n(28843),h=n.n(f);let p=(e=5)=>{let t=(0,o.useRef)({x:0,y:0}),n=(0,o.useRef)(!1);return{onMouseDown:e=>{n.current=!1,t.current={x:e.clientX,y:e.clientY}},onMouseMove:r=>{let i=Math.abs(r.clientX-t.current.x),o=Math.abs(r.clientY-t.current.y);(i>e||o>e)&&(n.current=!0)},onClickCapture:e=>{n.current&&(e.stopPropagation(),e.preventDefault())},draggable:!1}}
16,m=(0,o.forwardRef)(({children:e,indicateExternal:t,external:n,allowDrag:r,onClick:o,href:a,...l},c)=>{let f=a.startsWith("mailto:"),m={...l,className:l.className?`${l.className} ${d().link}`:`${d().link}`,...p(),onClick:o};return f?(0,i.jsx)("a",{href:a,ref:c,...m,children:e}):a.match(/^([a-z0-9]*:|.{0})\/\/.*$/)?(0,i.jsxs)("a",{href:a,ref:c,...m,target:"_blank",rel:"noopener noreferrer",children:[(0,i.jsx)("span",{className:d().link,"data-type":"link-text",children:e}),t&&(0,i.jsxs)("span",{className:d()["external-indicator"],"data-type":"external-indicator",children:["\xa0",(0,i.jsx)(u,{className:`${d().icon} icon`})]})]}):a.startsWith("#")?(0,i.jsx)(h(),{href:a,...m,offset:125,children:e}):(0,i.jsx)(s(),{href:a,...m,children:(0,i.jsx)("span",{className:d().link,"data-type":"link-text",children:e})})});m.displayName="LinkComponent";let g=m},89838:(e,t,n)=>{"use strict";n.d(t,{Eq:()=>u});var r=new WeakMap,i=new WeakMap,o={},a=0,s=function(e){return e&&(e.host||s(e.parentNode))},l=function(e,t,n,l){var u=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var n=s(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});o[n]||(o[n]=new WeakMap);var c=o[n],d=[],f=new Set,h=new Set(u),p=function(e){!e||f.has(e)||(f.add(e),p(e.parentNode))};u.forEach(p);var m=function(e){!e||h.has(e)||Array.prototype.forEach.call(e.children,function(e){if(f.has(e))m(e);else try{var t=e.getAttribute(l),o=null!==t&&"false"!==t,a=(r.get(e)||0)+1,s=(c.get(e)||0)+1;r.set(e,a),c.set(e,s),d.push(e),1===a&&o&&i.set(e,!0),1===s&&e.setAttribute(n,"true"),o||e.setAttribute(l,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return m(t),f.clear(),a++,function(){d.forEach(function(e){var t=r.get(e)-1,o=c.get(e)-1;r.set(e,t),c.set(e,o),t||(i.has(e)||e.removeAttribute(l),i.delete(e)),o||e.removeAttribute(n)}),--a||(r=new WeakMap,r=new WeakMap,i=new WeakMap,o={})}},u=function(e,t,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),i=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return i?(r.push.apply(r,Array.from(i.querySelectorAll("[aria-live], script"))),l(r,i,n,"aria-hidden")):function(){return null}}},90387:(e,t,n)=>{"use strict";function r(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),!1===n||!r.defaultPrevented)return t?.(r)}}n.d(t,{m:()=>r})},94002:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});let r=(0,n(96810).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},94594:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(96810),i=n(7937),o="function"==typeof IntersectionObserver,a=new Map,s=[];function l({rootRef:e,rootMargin:t,disabled:n}){let l=n||!o,[u,c]=(0,r.useState)(!1),d=(0,r.useRef)(null),f=(0,r.useCallback)(e=>{d.current=e},[]);return(0,r.useEffect)(()=>{if(o){if(l||u)return;let n=d.current;if(n&&n.tagName)return function(e,t,n){let{id:r,observer:i,elements:o}=function(e){let t,n={root:e.root||null,margin:e.rootMargin||""},r=s.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},s.push(n),a.set(n,t),t}(n);return o.set(e,t),i.observe(e),function(){if(o.delete(e),i.unobserve(e),0===o.size){i.disconnect(),a.delete(r);let e=s.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&s.splice(e,1)}}}(n,e=>e&&c(e),{root:e?.current,rootMargin:t})}else if(!u){let e=(0,i.requestIdleCallback)(()=>c(!0));return()=>(0,i.cancelIdleCallback)(e)}},[l,t,e,u,d.current]),[f,u,(0,r.useCallback)(()=>{c(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(33944),t(83952))),_N_E=e.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.