File "extendify-vendors-461f11ddeb9066692e19.js"

Full Path: /home/safaelji/recrut.automotomaroc.com/wp-content/plugins/extendify/public/build/extendify-vendors-461f11ddeb9066692e19.js
File size: 433.84 KB
MIME-type: text/plain
Charset: utf-8

(globalThis.webpackChunkextendify=globalThis.webpackChunkextendify||[]).push([[65],{74:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM11 16H4v-1.5h7V16Zm1 0h8v-1.5h-8V16Zm-4 4H4v-1.5h4V20Zm7-1.5V20H9v-1.5h6Z"})})},307:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})})},308: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,n){void 0===n&&(n={});for(var r=[],o="function"==typeof n.replace,u=n.transform||s.returnFirstArg,c=n.library||a,d=c.cloneElement,h=c.createElement,f=c.isValidElement,p=t.length,m=0;m<p;m++){var g=t[m];if(o){var v=n.replace(g,m);if(f(v)){p>1&&(v=d(v,{key:v.key||m})),r.push(u(v,g,m));continue}}if("text"!==g.type){var y=g,b={};l(y)?((0,s.setStyleProp)(y.attribs.style,y.attribs),b=y.attribs):y.attribs&&(b=(0,i.default)(y.attribs,y.name));var x=void 0;switch(g.type){case"script":case"style":g.children[0]&&(b.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?b.defaultValue=g.children[0].data:g.children&&g.children.length&&(x=e(g.children,n));break;default:continue}p>1&&(b.key=m),r.push(u(h(g.name,b,x),g,m))}else{var w=!g.data.trim().length;if(w&&g.parent&&!(0,s.canTextBeChildOfNode)(g.parent))continue;if(n.trim&&w)continue;r.push(u(g.data,g,m))}}return 1===r.length?r[0]:r};var o=n(1609),i=r(n(840)),s=n(4958),a={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function l(e){return s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,s.isCustomComponent)(e.name,e.attribs)}},353:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})})},442: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.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,s.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||l),t):[]};var o=r(n(2471));t.htmlToDOM=o.default;var i=r(n(840));t.attributesToProps=i.default;var s=r(n(308));t.domToReact=s.default;var a=n(1141);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.Text}});var l={lowerCaseAttributeNames:!1}},540:(e,t,n)=>{"use strict";n.d(t,{JU:()=>g,b0:()=>p,o2:()=>f});var r=n(1609),o=n(5015),i=n(6339),s=n(8975),a=n(5448),l=n(5953),u=n(7280),c=n(6206);let d=(0,r.createContext)(null);function h(){let e=(0,r.useContext)(d);if(null===e){let e=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,h),e}return e}function f(e){var t,n,o;let i=null!=(n=null==(t=(0,r.useContext)(d))?void 0:t.value)?n:void 0;return(null!=(o=null==e?void 0:e.length)?o:0)>0?[i,...e].filter(Boolean).join(" "):i}function p({inherit:e=!1}={}){let t=f(),[n,i]=(0,r.useState)([]),s=e?[t,...n].filter(Boolean):n;return[s.length>0?s.join(" "):void 0,(0,r.useMemo)((()=>function(e){let t=(0,o._)((e=>(i((t=>[...t,e])),()=>i((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),n=(0,r.useMemo)((()=>({register:t,slot:e.slot,name:e.name,props:e.props,value:e.value})),[t,e.slot,e.name,e.props,e.value]);return r.createElement(d.Provider,{value:n},e.children)}),[i])]}d.displayName="LabelContext";let m=(0,c.FX)((function(e,t){var n;let d=(0,r.useId)(),f=h(),p=(0,l.q)(),m=(0,a._)(),{id:g=`headlessui-label-${d}`,htmlFor:v=(null!=p?p:null==(n=f.props)?void 0:n.htmlFor),passive:y=!1,...b}=e,x=(0,s.P)(t);(0,i.s)((()=>f.register(g)),[g,f.register]);let w=(0,o._)((e=>{let t=e.currentTarget;if((e.target===e.currentTarget||!u.H5(e.target))&&(u.kS(t)&&e.preventDefault(),f.props&&"onClick"in f.props&&"function"==typeof f.props.onClick&&f.props.onClick(e),u.kS(t))){let e=document.getElementById(t.htmlFor);if(e){let t=e.getAttribute("disabled");if("true"===t||""===t)return;let n=e.getAttribute("aria-disabled");if("true"===n||""===n)return;(u.A3(e)&&("file"===e.type||"radio"===e.type||"checkbox"===e.type)||"radio"===e.role||"checkbox"===e.role||"switch"===e.role)&&e.click(),e.focus({preventScroll:!0})}}})),E=m||!1,S=(0,r.useMemo)((()=>({...f.slot,disabled:E})),[f.slot,E]),k={ref:x,...f.props,id:g,htmlFor:v,onClick:w};return y&&("onClick"in k&&(delete k.htmlFor,delete k.onClick),"onClick"in b&&delete b.onClick),(0,c.Ci)()({ourProps:k,theirProps:b,slot:S,defaultTag:v?"label":"div",name:f.name||"Label"})})),g=Object.assign(m,{})},641:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z"})})},642:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 3.9 6.5 9.5l1 1 3.8-3.7V20h1.5V6.8l3.7 3.7 1-1z"})})},684:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",d:"M10.289 4.836A1 1 0 0111.275 4h1.306a1 1 0 01.987.836l.244 1.466c.787.26 1.503.679 2.108 1.218l1.393-.522a1 1 0 011.216.437l.653 1.13a1 1 0 01-.23 1.273l-1.148.944a6.025 6.025 0 010 2.435l1.149.946a1 1 0 01.23 1.272l-.653 1.13a1 1 0 01-1.216.437l-1.394-.522c-.605.54-1.32.958-2.108 1.218l-.244 1.466a1 1 0 01-.987.836h-1.306a1 1 0 01-.986-.836l-.244-1.466a5.995 5.995 0 01-2.108-1.218l-1.394.522a1 1 0 01-1.217-.436l-.653-1.131a1 1 0 01.23-1.272l1.149-.946a6.026 6.026 0 010-2.435l-1.148-.944a1 1 0 01-.23-1.272l.653-1.131a1 1 0 011.217-.437l1.393.522a5.994 5.994 0 012.108-1.218l.244-1.466zM14.929 12a3 3 0 11-6 0 3 3 0 016 0z",clipRule:"evenodd"})})},837:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4 14.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h8v13zm4.5-.5c0 .3-.2.5-.5.5h-2.5v-13H18c.3 0 .5.2.5.5v12z"})})},840:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},u=Boolean(e.type&&a[e.type]);for(var c in e){var d=e[c];if((0,r.isCustomAttribute)(c))n[c]=d;else{var h=c.toLowerCase(),f=l(h);if(f){var p=(0,r.getPropertyInfo)(f);switch(i.includes(f)&&s.includes(t)&&!u&&(f=l("default"+h)),n[f]=d,p&&p.type){case r.BOOLEAN:n[f]=!0;break;case r.OVERLOADED_BOOLEAN:""===d&&(n[f]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[c]=d)}}return(0,o.setStyleProp)(e.style,n),n};var r=n(4210),o=n(4958),i=["checked","value"],s=["input","select","textarea"],a={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},845:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm11.53-1.47-1.06-1.06L11 12.94l-1.47-1.47-1.06 1.06L11 15.06l4.53-4.53Z"})})},900:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(442);const o=r.default||r},998:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})})},1062:(e,t,n)=>{"use strict";n.d(t,{T:()=>d});var r=n(6737),o=n(6638),i=n(1609),s=n(5448),a=n(5953),l=n(6206),u=n(9124),c=n(540);let d=(0,l.FX)((function(e,t){let n=(0,i.useId)(),d=(0,a.q)(),h=(0,s._)(),{id:f=d||`headlessui-textarea-${n}`,disabled:p=h||!1,autoFocus:m=!1,invalid:g=!1,...v}=e,y=(0,c.o2)(),b=(0,u.MM)(),{isFocused:x,focusProps:w}=(0,r.o)({autoFocus:m}),{isHovered:E,hoverProps:S}=(0,o.M)({isDisabled:p}),k=(0,l.v6)({ref:t,id:f,"aria-labelledby":y,"aria-describedby":b,"aria-invalid":g?"true":void 0,disabled:p||void 0,autoFocus:m},w,S),P=(0,i.useMemo)((()=>({disabled:p,invalid:g,hover:E,focus:x,autofocus:m})),[p,g,E,x,m]);return(0,l.Ci)()({ourProps:k,theirProps:v,slot:P,defaultTag:"textarea",name:"Textarea"})}))},1083:(e,t,n)=>{"use strict";n.d(t,{A:()=>yt});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>he,hasStandardBrowserEnv:()=>pe,hasStandardBrowserWebWorkerEnv:()=>me,navigator:()=>fe,origin:()=>ge});const{toString:i}=Object.prototype,{getPrototypeOf:s}=Object,{iterator:a,toStringTag:l}=Symbol,u=(p=Object.create(null),e=>{const t=i.call(e);return p[t]||(p[t]=t.slice(8,-1).toLowerCase())}),c=e=>(e=e.toLowerCase(),t=>u(t)===e),d=e=>t=>typeof t===e,{isArray:h}=Array,f=d("undefined");var p;const m=c("ArrayBuffer"),g=d("string"),v=d("function"),y=d("number"),b=e=>null!==e&&"object"==typeof e,x=e=>{if("object"!==u(e))return!1;const t=s(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||l in e||a in e)},w=c("Date"),E=c("File"),S=c("Blob"),k=c("FileList"),P=c("URLSearchParams"),[T,C,A,R]=["ReadableStream","Request","Response","Headers"].map(c);function M(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),h(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let s;for(r=0;r<i;r++)s=o[r],t.call(null,e[s],s,e)}}function O(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const D="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,L=e=>!f(e)&&e!==D,I=(j="undefined"!=typeof Uint8Array&&s(Uint8Array),e=>j&&e instanceof j);var j;const F=c("HTMLFormElement"),V=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),N=c("RegExp"),_=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};M(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},B=c("AsyncFunction"),z=(U="function"==typeof setImmediate,H=v(D.postMessage),U?setImmediate:H?(W=`axios@${Math.random()}`,q=[],D.addEventListener("message",(({source:e,data:t})=>{e===D&&t===W&&q.length&&q.shift()()}),!1),e=>{q.push(e),D.postMessage(W,"*")}):e=>setTimeout(e));var U,H,W,q;const G="undefined"!=typeof queueMicrotask?queueMicrotask.bind(D):"undefined"!=typeof process&&process.nextTick||z,$={isArray:h,isArrayBuffer:m,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&v(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||v(e.append)&&("formdata"===(t=u(e))||"object"===t&&v(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&m(e.buffer),t},isString:g,isNumber:y,isBoolean:e=>!0===e||!1===e,isObject:b,isPlainObject:x,isReadableStream:T,isRequest:C,isResponse:A,isHeaders:R,isUndefined:f,isDate:w,isFile:E,isBlob:S,isRegExp:N,isFunction:v,isStream:e=>b(e)&&v(e.pipe),isURLSearchParams:P,isTypedArray:I,isFileList:k,forEach:M,merge:function e(){const{caseless:t}=L(this)&&this||{},n={},r=(r,o)=>{const i=t&&O(n,o)||o;x(n[i])&&x(r)?n[i]=e(n[i],r):x(r)?n[i]=e({},r):h(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&M(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(M(t,((t,r)=>{n&&v(t)?e[r]=o(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:u,kindOfTest:c,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(h(e))return e;let t=e.length;if(!y(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[a]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:F,hasOwnProperty:V,hasOwnProp:V,reduceDescriptors:_,freezeMethods:e=>{_(e,((t,n)=>{if(v(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];v(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return h(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:O,global:D,isContextDefined:L,isSpecCompliantForm:function(e){return!!(e&&v(e.append)&&"FormData"===e[l]&&e[a])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(b(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=h(e)?[]:{};return M(e,((e,t)=>{const i=n(e,r+1);!f(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:B,isThenable:e=>e&&(b(e)||v(e))&&v(e.then)&&v(e.catch),setImmediate:z,asap:G,isIterable:e=>null!=e&&v(e[a])};function Y(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}$.inherits(Y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:$.toJSONObject(this.config),code:this.code,status:this.status}}});const X=Y.prototype,K={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{K[e]={value:e}})),Object.defineProperties(Y,K),Object.defineProperty(X,"isAxiosError",{value:!0}),Y.from=(e,t,n,r,o,i)=>{const s=Object.create(X);return $.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Y.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const Z=Y;function J(e){return $.isPlainObject(e)||$.isArray(e)}function Q(e){return $.endsWith(e,"[]")?e.slice(0,-2):e}function ee(e,t,n){return e?e.concat(t).map((function(e,t){return e=Q(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const te=$.toFlatObject($,{},null,(function(e){return/^is[A-Z]/.test(e)})),ne=function(e,t,n){if(!$.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=$.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!$.isUndefined(t[e])}))).metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&$.isSpecCompliantForm(t);if(!$.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if($.isDate(e))return e.toISOString();if(!a&&$.isBlob(e))throw new Z("Blob is not supported. Use a Buffer instead.");return $.isArrayBuffer(e)||$.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let a=e;if(e&&!o&&"object"==typeof e)if($.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if($.isArray(e)&&function(e){return $.isArray(e)&&!e.some(J)}(e)||($.isFileList(e)||$.endsWith(n,"[]"))&&(a=$.toArray(e)))return n=Q(n),a.forEach((function(e,r){!$.isUndefined(e)&&null!==e&&t.append(!0===s?ee([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!J(e)||(t.append(ee(o,n,i),l(e)),!1)}const c=[],d=Object.assign(te,{defaultVisitor:u,convertValue:l,isVisitable:J});if(!$.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!$.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),$.forEach(n,(function(n,i){!0===(!($.isUndefined(n)||null===n)&&o.call(t,n,$.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),c.pop()}}(e),t};function re(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function oe(e,t){this._pairs=[],e&&ne(e,this,t)}const ie=oe.prototype;ie.append=function(e,t){this._pairs.push([e,t])},ie.toString=function(e){const t=e?function(t){return e.call(this,t,re)}:re;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const se=oe;function ae(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function le(e,t,n){if(!t)return e;const r=n&&n.encode||ae;$.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(t,n):$.isURLSearchParams(t)?t.toString():new se(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const ue=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){$.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ce={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},de={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:se,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},he="undefined"!=typeof window&&"undefined"!=typeof document,fe="object"==typeof navigator&&navigator||void 0,pe=he&&(!fe||["ReactNative","NativeScript","NS"].indexOf(fe.product)<0),me="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ge=he&&window.location.href||"http://localhost",ve={...r,...de},ye=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;return i=!i&&$.isArray(r)?r.length:i,a?($.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s):(r[i]&&$.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&$.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!s)}if($.isFormData(e)&&$.isFunction(e.entries)){const n={};return $.forEachEntry(e,((e,r)=>{t(function(e){return $.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},be={transitional:ce,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=$.isObject(e);if(o&&$.isHTMLForm(e)&&(e=new FormData(e)),$.isFormData(e))return r?JSON.stringify(ye(e)):e;if($.isArrayBuffer(e)||$.isBuffer(e)||$.isStream(e)||$.isFile(e)||$.isBlob(e)||$.isReadableStream(e))return e;if($.isArrayBufferView(e))return e.buffer;if($.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ne(e,new ve.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ve.isNode&&$.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=$.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ne(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e){if($.isString(e))try{return(0,JSON.parse)(e),$.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||be.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if($.isResponse(e)||$.isReadableStream(e))return e;if(e&&$.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw Z.from(e,Z.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ve.classes.FormData,Blob:ve.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};$.forEach(["delete","get","head","post","put","patch"],(e=>{be.headers[e]={}}));const xe=be,we=$.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ee=Symbol("internals");function Se(e){return e&&String(e).trim().toLowerCase()}function ke(e){return!1===e||null==e?e:$.isArray(e)?e.map(ke):String(e)}function Pe(e,t,n,r,o){return $.isFunction(r)?r.call(this,t,n):(o&&(t=n),$.isString(t)?$.isString(r)?-1!==t.indexOf(r):$.isRegExp(r)?r.test(t):void 0:void 0)}class Te{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Se(t);if(!o)throw new Error("header name must be a non-empty string");const i=$.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=ke(e))}const i=(e,t)=>$.forEach(e,((e,n)=>o(e,n,t)));if($.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if($.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&we[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if($.isObject(e)&&$.isIterable(e)){let n,r,o={};for(const t of e){if(!$.isArray(t))throw TypeError("Object iterator must return a key-value pair");o[r=t[0]]=(n=o[r])?$.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}i(o,t)}else null!=e&&o(t,e,n);return this}get(e,t){if(e=Se(e)){const n=$.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if($.isFunction(t))return t.call(this,e,n);if($.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Se(e)){const n=$.findKey(this,e);return!(!n||void 0===this[n]||t&&!Pe(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Se(e)){const o=$.findKey(n,e);!o||t&&!Pe(0,n[o],o,t)||(delete n[o],r=!0)}}return $.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Pe(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return $.forEach(this,((r,o)=>{const i=$.findKey(n,o);if(i)return t[i]=ke(r),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();s!==o&&delete t[o],t[s]=ke(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return $.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&$.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Ee]=this[Ee]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Se(e);t[r]||(function(e,t){const n=$.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return $.isArray(e)?e.forEach(r):r(e),this}}Te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),$.reduceDescriptors(Te.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),$.freezeMethods(Te);const Ce=Te;function Ae(e,t){const n=this||xe,r=t||n,o=Ce.from(r.headers);let i=r.data;return $.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Re(e){return!(!e||!e.__CANCEL__)}function Me(e,t,n){Z.call(this,null==e?"canceled":e,Z.ERR_CANCELED,t,n),this.name="CanceledError"}$.inherits(Me,Z,{__CANCEL__:!0});const Oe=Me;function De(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new Z("Request failed with status code "+n.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Le=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),u=r[s];o||(o=l),n[i]=a,r[i]=l;let c=s,d=0;for(;c!==i;)d+=n[c++],c%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),l-o<t)return;const h=u&&l-u;return h?Math.round(1e3*d/h):void 0}}(50,250);return function(e,t){let n,r,o=0,i=1e3/t;const s=(t,i=Date.now())=>{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=i?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},()=>n&&s(n)]}((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,l=o(a);r=i,e({loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&i<=s?(s-i)/l:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},Ie=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},je=e=>(...t)=>$.asap((()=>e(...t))),Fe=ve.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,ve.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(ve.origin),ve.navigator&&/(msie|trident)/i.test(ve.navigator.userAgent)):()=>!0,Ve=ve.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];$.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),$.isString(r)&&s.push("path="+r),$.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Ne(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const _e=e=>e instanceof Ce?{...e}:e;function Be(e,t){t=t||{};const n={};function r(e,t,n,r){return $.isPlainObject(e)&&$.isPlainObject(t)?$.merge.call({caseless:r},e,t):$.isPlainObject(t)?$.merge({},t):$.isArray(t)?t.slice():t}function o(e,t,n,o){return $.isUndefined(t)?$.isUndefined(e)?void 0:r(void 0,e,0,o):r(e,t,0,o)}function i(e,t){if(!$.isUndefined(t))return r(void 0,t)}function s(e,t){return $.isUndefined(t)?$.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t,n)=>o(_e(e),_e(t),0,!0)};return $.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,s=i(e[r],t[r],r);$.isUndefined(s)&&i!==a||(n[r]=s)})),n}const ze=e=>{const t=Be({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;if(t.headers=a=Ce.from(a),t.url=le(Ne(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),$.isFormData(r))if(ve.hasStandardBrowserEnv||ve.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(ve.hasStandardBrowserEnv&&(o&&$.isFunction(o)&&(o=o(t)),o||!1!==o&&Fe(t.url))){const e=i&&s&&Ve.read(s);e&&a.set(i,e)}return t},Ue="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=ze(e);let o=r.data;const i=Ce.from(r.headers).normalize();let s,a,l,u,c,{responseType:d,onUploadProgress:h,onDownloadProgress:f}=r;function p(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=Ce.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());De((function(e){t(e),p()}),(function(e){n(e),p()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new Z("Request aborted",Z.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new Z("Network Error",Z.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||ce;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new Z(t,o.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&$.forEach(i.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),$.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),f&&([l,c]=Le(f,!0),m.addEventListener("progress",l)),h&&m.upload&&([a,u]=Le(h),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(s=t=>{m&&(n(!t||t.type?new Oe(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===ve.protocols.indexOf(v)?n(new Z("Unsupported protocol "+v+":",Z.ERR_BAD_REQUEST,e)):m.send(o||null)}))},He=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Z?t:new Oe(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null,o(new Z(`timeout ${t} of ms exceeded`,Z.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(o):e.removeEventListener("abort",o)})),e=null)};e.forEach((e=>e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=()=>$.asap(s),a}},We=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,o=0;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},qe=(e,t,n,r)=>{const o=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*We(n,t)}(e,t);let i,s=0,a=e=>{i||(i=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await o.next();if(t)return a(),void e.close();let i=r.byteLength;if(n){let e=s+=i;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw a(e),e}},cancel:e=>(a(e),o.return())},{highWaterMark:2})},Ge="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,$e=Ge&&"function"==typeof ReadableStream,Ye=Ge&&("function"==typeof TextEncoder?(Xe=new TextEncoder,e=>Xe.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Xe;const Ke=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Ze=$e&&Ke((()=>{let e=!1;const t=new Request(ve.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Je=$e&&Ke((()=>$.isReadableStream(new Response("").body))),Qe={stream:Je&&(e=>e.body)};var et;Ge&&(et=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Qe[e]&&(Qe[e]=$.isFunction(et[e])?t=>t[e]():(t,n)=>{throw new Z(`Response type '${e}' is not supported`,Z.ERR_NOT_SUPPORT,n)})})));const tt={http:null,xhr:Ue,fetch:Ge&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:c,withCredentials:d="same-origin",fetchOptions:h}=ze(e);u=u?(u+"").toLowerCase():"text";let f,p=He([o,i&&i.toAbortSignal()],s);const m=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(l&&Ze&&"get"!==n&&"head"!==n&&0!==(g=await(async(e,t)=>{const n=$.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if($.isBlob(e))return e.size;if($.isSpecCompliantForm(e)){const t=new Request(ve.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return $.isArrayBufferView(e)||$.isArrayBuffer(e)?e.byteLength:($.isURLSearchParams(e)&&(e+=""),$.isString(e)?(await Ye(e)).byteLength:void 0)})(t):n})(c,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if($.isFormData(r)&&(e=n.headers.get("content-type"))&&c.setContentType(e),n.body){const[e,t]=Ie(g,Le(je(l)));r=qe(n.body,65536,e,t)}}$.isString(d)||(d=d?"include":"omit");const o="credentials"in Request.prototype;f=new Request(t,{...h,signal:p,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:o?d:void 0});let i=await fetch(f);const s=Je&&("stream"===u||"response"===u);if(Je&&(a||s&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=$.toFiniteNumber(i.headers.get("content-length")),[n,r]=a&&Ie(t,Le(je(a),!0))||[];i=new Response(qe(i.body,65536,n,(()=>{r&&r(),m&&m()})),e)}u=u||"text";let v=await Qe[$.findKey(Qe,u)||"text"](i,e);return!s&&m&&m(),await new Promise(((t,n)=>{De(t,n,{data:v,headers:Ce.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:f})}))}catch(t){if(m&&m(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new Z("Network Error",Z.ERR_NETWORK,e,f),{cause:t.cause||t});throw Z.from(t,t&&t.code,e,f)}})};$.forEach(tt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const nt=e=>`- ${e}`,rt=e=>$.isFunction(e)||null===e||!1===e,ot=e=>{e=$.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!rt(n)&&(r=tt[(t=String(n)).toLowerCase()],void 0===r))throw new Z(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(nt).join("\n"):" "+nt(e[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function it(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Oe(null,e)}function st(e){return it(e),e.headers=Ce.from(e.headers),e.data=Ae.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ot(e.adapter||xe.adapter)(e).then((function(t){return it(e),t.data=Ae.call(e,e.transformResponse,t),t.headers=Ce.from(t.headers),t}),(function(t){return Re(t)||(it(e),t&&t.response&&(t.response.data=Ae.call(e,e.transformResponse,t.response),t.response.headers=Ce.from(t.response.headers))),Promise.reject(t)}))}const at={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{at[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const lt={};at.transitional=function(e,t,n){function r(e,t){return"[Axios v1.9.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new Z(r(o," has been removed"+(t?" in "+t:"")),Z.ERR_DEPRECATED);return t&&!lt[o]&&(lt[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}},at.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const ut={assertOptions:function(e,t,n){if("object"!=typeof e)throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new Z("option "+i+" must be "+n,Z.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new Z("Unknown option "+i,Z.ERR_BAD_OPTION)}},validators:at},ct=ut.validators;class dt{constructor(e){this.defaults=e||{},this.interceptors={request:new ue,response:new ue}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Be(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&ut.assertOptions(n,{silentJSONParsing:ct.transitional(ct.boolean),forcedJSONParsing:ct.transitional(ct.boolean),clarifyTimeoutError:ct.transitional(ct.boolean)},!1),null!=r&&($.isFunction(r)?t.paramsSerializer={serialize:r}:ut.assertOptions(r,{encode:ct.function,serialize:ct.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ut.assertOptions(t,{baseUrl:ct.spelling("baseURL"),withXsrfToken:ct.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&$.merge(o.common,o[t.method]);o&&$.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Ce.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let c,d=0;if(!a){const e=[st.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,l),c=e.length,u=Promise.resolve(t);d<c;)u=u.then(e[d++],e[d++]);return u}c=s.length;let h=t;for(d=0;d<c;){const e=s[d++],t=s[d++];try{h=e(h)}catch(e){t.call(this,e);break}}try{u=st.call(this,h)}catch(e){return Promise.reject(e)}for(d=0,c=l.length;d<c;)u=u.then(l[d++],l[d++]);return u}getUri(e){return le(Ne((e=Be(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}$.forEach(["delete","get","head","options"],(function(e){dt.prototype[e]=function(t,n){return this.request(Be(n||{},{method:e,url:t,data:(n||{}).data}))}})),$.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Be(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}dt.prototype[e]=t(),dt.prototype[e+"Form"]=t(!0)}));const ht=dt;class ft{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Oe(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new ft((function(t){e=t})),cancel:e}}}const pt=ft,mt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(mt).forEach((([e,t])=>{mt[t]=e}));const gt=mt,vt=function e(t){const n=new ht(t),r=o(ht.prototype.request,n);return $.extend(r,ht.prototype,n,{allOwnKeys:!0}),$.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Be(t,n))},r}(xe);vt.Axios=ht,vt.CanceledError=Oe,vt.CancelToken=pt,vt.isCancel=Re,vt.VERSION="1.9.0",vt.toFormData=ne,vt.AxiosError=Z,vt.Cancel=vt.CanceledError,vt.all=function(e){return Promise.all(e)},vt.spread=function(e){return function(t){return e.apply(null,t)}},vt.isAxiosError=function(e){return $.isObject(e)&&!0===e.isAxiosError},vt.mergeConfig=Be,vt.AxiosHeaders=Ce,vt.formToJSON=e=>ye($.isHTMLForm(e)?new FormData(e):e),vt.getAdapter=ot,vt.HttpStatusCode=gt,vt.default=vt;const yt=vt},1133: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,o.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n};var o=r(n(9788))},1141:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(5413),s=n(6957);o(n(6957),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new s.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},1375:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 18.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13ZM4 12a8 8 0 1 1 16 0 8 8 0 0 1-16 0Zm8 4a4 4 0 0 0 4-4H8a4 4 0 0 0 4 4Z"})})},1467:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"})})},1496:(e,t,n)=>{"use strict";n.d(t,{CC:()=>r,I0:()=>s,jB:()=>o,q2:()=>i});const r=0,o=1,i=2,s=3},1619:(e,t,n)=>{"use strict";n.d(t,{bq:()=>a,wt:()=>l,sD:()=>s});var r=n(4836);let o=!1;function i(){return o}function s(e,t){if(!i())return!(!t||!e)&&e.contains(t);if(!e||!t)return!1;let n=t;for(;null!==n;){if(n===e)return!0;n="SLOT"===n.tagName&&n.assignedSlot?n.assignedSlot.parentNode:(0,r.Ng)(n)?n.host:n.parentNode}return!1}const a=(e=document)=>{var t;if(!i())return e.activeElement;let n=e.activeElement;for(;n&&"shadowRoot"in n&&(null===(t=n.shadowRoot)||void 0===t?void 0:t.activeElement);)n=n.shadowRoot.activeElement;return n};function l(e){return i()&&e.target.shadowRoot&&e.composedPath?e.composedPath()[0]:e.target}},1621:(e,t,n)=>{"use strict";n.d(t,{vt:()=>d});const r=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,i={setState:r,getState:o,getInitialState:()=>s,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},s=t=e(r,o,i);return i};var o=n(1609),i=n(9242);const{useDebugValue:s}=o,{useSyncExternalStoreWithSelector:a}=i;let l=!1;const u=e=>e,c=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(e=>e?r(e):r)(e):e,n=(e,n)=>function(e,t=u,n){n&&!l&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),l=!0);const r=a(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return s(r),r}(t,e,n);return Object.assign(n,t),n},d=e=>e?c(e):c},1694:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})})},1848:(e,t,n)=>{"use strict";n.d(t,{oz:()=>U,fu:()=>N,wb:()=>_,Kp:()=>z,T2:()=>B});var r=n(6737),o=n(6638),i=n(1609),s=n(4867),a=n(5015),l=n(6339),u=n(4424),c=n(9821),d=n(8975),h=n(4610),f=n(9528);function p({onFocus:e}){let[t,n]=(0,i.useState)(!0),r=(0,h.a)();return t?i.createElement(f.j,{as:"button",type:"button",features:f.u.Focusable,onFocus:t=>{t.preventDefault();let o,i=50;o=requestAnimationFrame((function t(){if(i--<=0)o&&cancelAnimationFrame(o);else if(e()){if(cancelAnimationFrame(o),!r.current)return;n(!1)}else o=requestAnimationFrame(t)}))}}):null}var m=n(4122),g=n(5897),v=n(2924),y=n(2211),b=n(6206);const x=i.createContext(null);function w({children:e}){let t=i.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let o=null!=(n=r.get(t))?n:0;return r.set(t,o+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return i.createElement(x.Provider,{value:t},e)}function E(e){let t=i.useContext(x);if(!t)throw new Error("You must wrap your component in a <StableCollection>");let n=i.useId(),[r,o]=t.current.get(e,n);return i.useEffect((()=>o),[]),r}var S,k,P,T=n(4586),C=((k=C||{})[k.Forwards=0]="Forwards",k[k.Backwards=1]="Backwards",k),A=((P=A||{})[P.Less=-1]="Less",P[P.Equal=0]="Equal",P[P.Greater=1]="Greater",P),R=((S=R||{})[S.SetSelectedIndex=0]="SetSelectedIndex",S[S.RegisterTab=1]="RegisterTab",S[S.UnregisterTab=2]="UnregisterTab",S[S.RegisterPanel=3]="RegisterPanel",S[S.UnregisterPanel=4]="UnregisterPanel",S);let M={0(e,t){var n;let r=(0,m.wl)(e.tabs,(e=>e.current)),o=(0,m.wl)(e.panels,(e=>e.current)),i=r.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),s={...e,tabs:r,panels:o};if(t.index<0||t.index>r.length-1){let n=(0,g.Y)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,g.Y)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===i.length)return s;let o=(0,g.Y)(n,{0:()=>r.indexOf(i[0]),1:()=>r.indexOf(i[i.length-1])});return{...s,selectedIndex:-1===o?e.selectedIndex:o}}let a=r.slice(0,t.index),l=[...r.slice(t.index),...a].find((e=>i.includes(e)));if(!l)return s;let u=null!=(n=r.indexOf(l))?n:e.selectedIndex;return-1===u&&(u=e.selectedIndex),{...s,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=(0,m.wl)([...e.tabs,t.tab],(e=>e.current)),o=e.selectedIndex;return e.info.current.isControlled||(o=r.indexOf(n),-1===o&&(o=e.selectedIndex)),{...e,tabs:r,selectedIndex:o}},2:(e,t)=>({...e,tabs:e.tabs.filter((e=>e!==t.tab))}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,m.wl)([...e.panels,t.panel],(e=>e.current))},4:(e,t)=>({...e,panels:e.panels.filter((e=>e!==t.panel))})},O=(0,i.createContext)(null);function D(e){let t=(0,i.useContext)(O);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,D),t}return t}O.displayName="TabsDataContext";let L=(0,i.createContext)(null);function I(e){let t=(0,i.useContext)(L);if(null===t){let t=new Error(`<${e} /> is missing a parent <Tab.Group /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,I),t}return t}function j(e,t){return(0,g.Y)(t.type,M,e,t)}L.displayName="TabsActionsContext";let F=b.Ac.RenderStrategy|b.Ac.Static,V=(0,b.FX)((function(e,t){var n,u;let h=(0,i.useId)(),{id:f=`headlessui-tabs-tab-${h}`,disabled:p=!1,autoFocus:x=!1,...w}=e,{orientation:S,activation:k,selectedIndex:P,tabs:C,panels:A}=D("Tab"),R=I("Tab"),M=D("Tab"),[O,L]=(0,i.useState)(null),j=(0,i.useRef)(null),F=(0,d.P)(j,t,L);(0,l.s)((()=>R.registerTab(j)),[R,j]);let V=E("tabs"),N=C.indexOf(j);-1===N&&(N=V);let _=N===P,B=(0,a._)((e=>{var t;let n=e();if(n===m.Me.Success&&"auto"===k){let e=null==(t=(0,y.T)(j))?void 0:t.activeElement,n=M.tabs.findIndex((t=>t.current===e));-1!==n&&R.change(n)}return n})),z=(0,a._)((e=>{let t=C.map((e=>e.current)).filter(Boolean);if(e.key===T.D.Space||e.key===T.D.Enter)return e.preventDefault(),e.stopPropagation(),void R.change(N);switch(e.key){case T.D.Home:case T.D.PageUp:return e.preventDefault(),e.stopPropagation(),B((()=>(0,m.CU)(t,m.BD.First)));case T.D.End:case T.D.PageDown:return e.preventDefault(),e.stopPropagation(),B((()=>(0,m.CU)(t,m.BD.Last)))}return B((()=>(0,g.Y)(S,{vertical:()=>e.key===T.D.ArrowUp?(0,m.CU)(t,m.BD.Previous|m.BD.WrapAround):e.key===T.D.ArrowDown?(0,m.CU)(t,m.BD.Next|m.BD.WrapAround):m.Me.Error,horizontal:()=>e.key===T.D.ArrowLeft?(0,m.CU)(t,m.BD.Previous|m.BD.WrapAround):e.key===T.D.ArrowRight?(0,m.CU)(t,m.BD.Next|m.BD.WrapAround):m.Me.Error})))===m.Me.Success?e.preventDefault():void 0})),U=(0,i.useRef)(!1),H=(0,a._)((()=>{var e;U.current||(U.current=!0,null==(e=j.current)||e.focus({preventScroll:!0}),R.change(N),(0,v._)((()=>{U.current=!1})))})),W=(0,a._)((e=>{e.preventDefault()})),{isFocusVisible:q,focusProps:G}=(0,r.o)({autoFocus:x}),{isHovered:$,hoverProps:Y}=(0,o.M)({isDisabled:p}),{pressed:X,pressProps:K}=(0,s.Z)({disabled:p}),Z=(0,i.useMemo)((()=>({selected:_,hover:$,active:X,focus:q,autofocus:x,disabled:p})),[_,$,q,X,x,p]),J=(0,b.v6)({ref:F,onKeyDown:z,onMouseDown:W,onClick:H,id:f,role:"tab",type:(0,c.c)(e,O),"aria-controls":null==(u=null==(n=A[N])?void 0:n.current)?void 0:u.id,"aria-selected":_,tabIndex:_?0:-1,disabled:p||void 0,autoFocus:x},G,Y,K);return(0,b.Ci)()({ourProps:J,theirProps:w,slot:Z,defaultTag:"button",name:"Tabs.Tab"})})),N=(0,b.FX)((function(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:o=!1,onChange:s,selectedIndex:c=null,...h}=e;const f=r?"vertical":"horizontal",g=o?"manual":"auto";let v=null!==c,y=(0,u.Y)({isControlled:v}),x=(0,d.P)(t),[E,S]=(0,i.useReducer)(j,{info:y,selectedIndex:null!=c?c:n,tabs:[],panels:[]}),k=(0,i.useMemo)((()=>({selectedIndex:E.selectedIndex})),[E.selectedIndex]),P=(0,u.Y)(s||(()=>{})),T=(0,u.Y)(E.tabs),C=(0,i.useMemo)((()=>({orientation:f,activation:g,...E})),[f,g,E]),A=(0,a._)((e=>(S({type:1,tab:e}),()=>S({type:2,tab:e})))),R=(0,a._)((e=>(S({type:3,panel:e}),()=>S({type:4,panel:e})))),M=(0,a._)((e=>{D.current!==e&&P.current(e),v||S({type:0,index:e})})),D=(0,u.Y)(v?e.selectedIndex:E.selectedIndex),I=(0,i.useMemo)((()=>({registerTab:A,registerPanel:R,change:M})),[]);(0,l.s)((()=>{S({type:0,index:null!=c?c:n})}),[c]),(0,l.s)((()=>{if(void 0===D.current||E.tabs.length<=0)return;let e=(0,m.wl)(E.tabs,(e=>e.current));e.some(((e,t)=>E.tabs[t]!==e))&&M(e.indexOf(E.tabs[D.current]))}));let F={ref:x},V=(0,b.Ci)();return i.createElement(w,null,i.createElement(L.Provider,{value:I},i.createElement(O.Provider,{value:C},C.tabs.length<=0&&i.createElement(p,{onFocus:()=>{var e,t;for(let n of T.current)if(0===(null==(e=n.current)?void 0:e.tabIndex))return null==(t=n.current)||t.focus(),!0;return!1}}),V({ourProps:F,theirProps:h,slot:k,defaultTag:"div",name:"Tabs"}))))})),_=(0,b.FX)((function(e,t){let{orientation:n,selectedIndex:r}=D("Tab.List"),o=(0,d.P)(t),s=(0,i.useMemo)((()=>({selectedIndex:r})),[r]),a=e,l={ref:o,role:"tablist","aria-orientation":n};return(0,b.Ci)()({ourProps:l,theirProps:a,slot:s,defaultTag:"div",name:"Tabs.List"})})),B=(0,b.FX)((function(e,t){let{selectedIndex:n}=D("Tab.Panels"),r=(0,d.P)(t),o=(0,i.useMemo)((()=>({selectedIndex:n})),[n]),s=e,a={ref:r};return(0,b.Ci)()({ourProps:a,theirProps:s,slot:o,defaultTag:"div",name:"Tabs.Panels"})})),z=(0,b.FX)((function(e,t){var n,o,s,a;let u=(0,i.useId)(),{id:c=`headlessui-tabs-panel-${u}`,tabIndex:h=0,...p}=e,{selectedIndex:m,tabs:g,panels:v}=D("Tab.Panel"),y=I("Tab.Panel"),x=(0,i.useRef)(null),w=(0,d.P)(x,t);(0,l.s)((()=>y.registerPanel(x)),[y,x]);let S=E("panels"),k=v.indexOf(x);-1===k&&(k=S);let P=k===m,{isFocusVisible:T,focusProps:C}=(0,r.o)(),A=(0,i.useMemo)((()=>({selected:P,focus:T})),[P,T]),R=(0,b.v6)({ref:w,id:c,role:"tabpanel","aria-labelledby":null==(o=null==(n=g[k])?void 0:n.current)?void 0:o.id,tabIndex:P?h:-1},C),M=(0,b.Ci)();return P||null!=(s=p.unmount)&&!s||null!=(a=p.static)&&a?M({ourProps:R,theirProps:p,slot:A,defaultTag:"div",features:F,visible:P,name:"Tabs.Panel"}):i.createElement(f.j,{"aria-hidden":"true",...R})})),U=Object.assign(V,{Group:N,List:_,Panels:B,Panel:z})},1903:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"})})},2034:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})})},2043:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M18.7 3H5.3C4 3 3 4 3 5.3v13.4C3 20 4 21 5.3 21h13.4c1.3 0 2.3-1 2.3-2.3V5.3C21 4 20 3 18.7 3zm.8 15.7c0 .4-.4.8-.8.8H5.3c-.4 0-.8-.4-.8-.8V5.3c0-.4.4-.8.8-.8h13.4c.4 0 .8.4.8.8v13.4zM10 15l5-3-5-3v6z"})})},2162:(e,t,n)=>{"use strict";var r=n(1609),o=n(9888),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=o.useSyncExternalStore,a=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=a(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;d=u((function(){function e(e){if(!l){if(l=!0,s=e,e=r(e),void 0!==o&&h.hasValue){var t=h.value;if(o(t,e))return a=t}return a=e}if(t=a,i(s,e))return t;var n=r(e);return void 0!==o&&o(t,n)?(s=e,t):(s=e,a=n)}var s,a,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,o]);var f=s(e,d[0],d[1]);return l((function(){h.hasValue=!0,h.value=f}),[f]),c(f),f}},2177:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h,BE:()=>d});var r=n(1609),o=n(9888),i=n(3349),s=n(1496),a=n(4993);const l=()=>{};l(),new WeakMap;const u=r.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e}}),c={dedupe:!0},d=i.O.defineProperty(i.g,"defaultValue",{value:i.d}),h=(0,a.qm)(((e,t,n)=>{const{cache:l,compare:d,suspense:h,fallbackData:f,revalidateOnMount:p,revalidateIfStale:m,refreshInterval:g,refreshWhenHidden:v,refreshWhenOffline:y,keepPreviousData:b}=n,[x,w,E,S]=i.b.get(l),[k,P]=(0,i.s)(e),T=(0,r.useRef)(!1),C=(0,r.useRef)(!1),A=(0,r.useRef)(k),R=(0,r.useRef)(t),M=(0,r.useRef)(n),O=()=>M.current,D=()=>O().isVisible()&&O().isOnline(),[L,I,j,F]=(0,i.z)(l,k),V=(0,r.useRef)({}).current,N=(0,i.e)(f)?(0,i.e)(n.fallback)?i.U:n.fallback[k]:f,_=(e,t)=>{for(const n in V){const r=n;if("data"===r){if(!d(e[r],t[r])){if(!(0,i.e)(e[r]))return!1;if(!d(Y,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},B=(0,r.useMemo)((()=>{const e=!!k&&!!t&&((0,i.e)(p)?!O().isPaused()&&!h&&!1!==m:p),n=t=>{const n=(0,i.m)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=L(),o=F(),s=n(r),a=r===o?s:n(o);let l=s;return[()=>{const e=n(L());return _(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>a]}),[l,k]),z=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>j(k,((t,n)=>{_(n,t)||e()}))),[l,k]),B[0],B[1]),U=!T.current,H=x[k]&&x[k].length>0,W=z.data,q=(0,i.e)(W)?N&&(0,i.B)(N)?u(N):N:W,G=z.error,$=(0,r.useRef)(q),Y=b?(0,i.e)(W)?(0,i.e)($.current)?q:$.current:W:q,X=!(H&&!(0,i.e)(G))&&(U&&!(0,i.e)(p)?p:!O().isPaused()&&(h?!(0,i.e)(q)&&m:(0,i.e)(q)||m)),K=!!(k&&t&&U&&X),Z=(0,i.e)(z.isValidating)?K:z.isValidating,J=(0,i.e)(z.isLoading)?K:z.isLoading,Q=(0,r.useCallback)((async e=>{const t=R.current;if(!k||!t||C.current||O().isPaused())return!1;let r,o,a=!0;const l=e||{},u=!E[k]||!l.dedupe,c=()=>i.I?!C.current&&k===A.current&&T.current:k===A.current,h={isValidating:!1,isLoading:!1},f=()=>{I(h)},p=()=>{const e=E[k];e&&e[1]===o&&delete E[k]},m={isValidating:!0};(0,i.e)(L().data)&&(m.isLoading=!0);try{if(u&&(I(m),n.loadingTimeout&&(0,i.e)(L().data)&&setTimeout((()=>{a&&c()&&O().onLoadingSlow(k,n)}),n.loadingTimeout),E[k]=[t(P),(0,i.o)()]),[r,o]=E[k],r=await r,u&&setTimeout(p,n.dedupingInterval),!E[k]||E[k][1]!==o)return u&&c()&&O().onDiscarded(k),!1;h.error=i.U;const e=w[k];if(!(0,i.e)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return f(),u&&c()&&O().onDiscarded(k),!1;const s=L().data;h.data=d(s,r)?s:r,u&&c()&&O().onSuccess(r,k,n)}catch(e){p();const t=O(),{shouldRetryOnError:n}=t;t.isPaused()||(h.error=e,u&&c()&&(t.onError(e,k,t),(!0===n||(0,i.a)(n)&&n(e))&&(O().revalidateOnFocus&&O().revalidateOnReconnect&&!D()||t.onErrorRetry(e,k,t,(e=>{const t=x[k];t&&t[0]&&t[0](s.I0,e)}),{retryCount:(l.retryCount||0)+1,dedupe:!0}))))}return a=!1,f(),!0}),[k,l]),ee=(0,r.useCallback)(((...e)=>(0,i.n)(l,A.current,...e)),[]);if((0,i.u)((()=>{R.current=t,M.current=n,(0,i.e)(W)||($.current=W)})),(0,i.u)((()=>{if(!k)return;const e=Q.bind(i.U,c);let t=0;if(O().revalidateOnFocus){const e=Date.now();t=e+O().focusThrottleInterval}const n=(0,a.aw)(k,x,((n,r={})=>{if(n==s.CC){const n=Date.now();O().revalidateOnFocus&&n>t&&D()&&(t=n+O().focusThrottleInterval,e())}else if(n==s.jB)O().revalidateOnReconnect&&D()&&e();else{if(n==s.q2)return Q();if(n==s.I0)return Q(r)}}));return C.current=!1,A.current=k,T.current=!0,I({_k:P}),X&&((0,i.e)(q)||i.r?e():(0,i.t)(e)),()=>{C.current=!0,n()}}),[k]),(0,i.u)((()=>{let e;function t(){const t=(0,i.a)(g)?g(L().data):g;t&&-1!==e&&(e=setTimeout(n,t))}function n(){L().error||!v&&!O().isVisible()||!y&&!O().isOnline()?t():Q(c).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[g,v,y,k]),(0,r.useDebugValue)(Y),h&&(0,i.e)(q)&&k){if(!i.I&&i.r)throw new Error("Fallback data is required when using Suspense in SSR.");R.current=t,M.current=n,C.current=!1;const e=S[k];if(!(0,i.e)(e)){const t=ee(e);u(t)}if(!(0,i.e)(G))throw G;{const e=Q(c);(0,i.e)(Y)||(e.status="fulfilled",e.value=!0),u(e)}}return{mutate:ee,get data(){return V.data=!0,Y},get error(){return V.error=!0,G},get isValidating(){return V.isValidating=!0,Z},get isLoading(){return V.isLoading=!0,J}}}))},2211:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var r=n(9851);function o(e){var t,n;return r._.isServer?null:e?"ownerDocument"in e?e.ownerDocument:"current"in e?null!=(n=null==(t=e.current)?void 0:t.ownerDocument)?n:document:null:document}},2390:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})})},2471: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){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(s),n=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,n)};var o=r(n(5496)),i=n(7731),s=/<(![a-zA-Z\s]+)>/},2485:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})})},2599:(e,t,n)=>{"use strict";n.d(t,{e:()=>o});var r=n(2924);function o(){let e=[],t={addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),t.add((()=>e.removeEventListener(n,r,o)))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return(0,r._)((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=o();return e(t),this.add((()=>t.dispose()))},add:t=>(e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}},2625:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12.5 5L10 19h1.9l2.5-14z"})})},2809:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})})},2849:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,o=t.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return void 0===r||t.call(e,r)},a=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;if(o)return o(e,n).value}return e[n]};e.exports=function e(){var t,n,r,o,u,c,d=arguments[0],h=1,f=arguments.length,p=!1;for("boolean"==typeof d&&(p=d,d=arguments[1]||{},h=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});h<f;++h)if(null!=(t=arguments[h]))for(n in t)r=l(d,n),d!==(o=l(t,n))&&(p&&o&&(s(o)||(u=i(o)))?(u?(u=!1,c=r&&i(r)?r:[]):c=r&&s(r)?r:{},a(d,{name:n,newValue:e(p,c,o)})):void 0!==o&&a(d,{name:n,newValue:o}));return d}},2888:(e,t,n)=>{"use strict";n.d(t,{B:()=>d,p:()=>h});var r,o,i=n(1609),s=n(2599),a=n(6992),l=n(6339);"undefined"!=typeof process&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&"test"===(null==(r=null==process?void 0:{})?void 0:r.NODE_ENV)&&void 0===(null==(o=null==Element?void 0:Element.prototype)?void 0:o.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join("\n")),[]});var u,c=((u=c||{})[u.None=0]="None",u[u.Closed=1]="Closed",u[u.Enter=2]="Enter",u[u.Leave=4]="Leave",u);function d(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t}function h(e,t,n,r){let[o,u]=(0,i.useState)(n),{hasFlag:c,addFlag:d,removeFlag:h}=function(e=0){let[t,n]=(0,i.useState)(e),r=(0,i.useCallback)((e=>n(e)),[t]),o=(0,i.useCallback)((e=>n((t=>t|e))),[t]),s=(0,i.useCallback)((e=>(t&e)===e),[t]),a=(0,i.useCallback)((e=>n((t=>t&~e))),[n]),l=(0,i.useCallback)((e=>n((t=>t^e))),[n]);return{flags:t,setFlag:r,addFlag:o,hasFlag:s,removeFlag:a,toggleFlag:l}}(e&&o?3:0),f=(0,i.useRef)(!1),p=(0,i.useRef)(!1),m=(0,a.L)();return(0,l.s)((()=>{var o;if(e)return n&&u(!0),t?(null==(o=null==r?void 0:r.start)||o.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:o}){let i=(0,s.e)();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return void n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:o}),i.nextFrame((()=>{n(),i.requestAnimationFrame((()=>{i.add(function(e,t){var n,r;let o=(0,s.e)();if(!e)return o.dispose;let i=!1;o.add((()=>{i=!0}));let a=null!=(r=null==(n=e.getAnimations)?void 0:n.call(e).filter((e=>e instanceof CSSTransition)))?r:[];return 0===a.length?(t(),o.dispose):(Promise.allSettled(a.map((e=>e.finished))).then((()=>{i||t()})),o.dispose)}(e,r))}))})),i.dispose}(t,{inFlight:f,prepare(){p.current?p.current=!1:p.current=f.current,f.current=!0,!p.current&&(n?(d(3),h(4)):(d(4),h(2)))},run(){p.current?n?(h(3),d(4)):(h(4),d(3)):n?h(1):d(1)},done(){var e;p.current&&"function"==typeof t.getAnimations&&t.getAnimations().length>0||(f.current=!1,h(7),n||u(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})):void(n&&d(3))}),[e,n,t,m]),e?[o,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}},2924:(e,t,n)=>{"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}n.d(t,{_:()=>r})},2933:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M17.5 10h-1.7l-3.7 10.5h1.7l.9-2.6h3.9l.9 2.6h1.7L17.5 10zm-2.2 6.3 1.4-4 1.4 4h-2.8zm-4.8-3.8c1.6-1.8 2.9-3.6 3.7-5.7H16V5.2h-5.8V3H8.8v2.2H3v1.5h9.6c-.7 1.6-1.8 3.1-3.1 4.6C8.6 10.2 7.8 9 7.2 8H5.6c.6 1.4 1.7 2.9 2.9 4.4l-2.4 2.4c-.3.4-.7.8-1.1 1.2l1 1 1.2-1.2c.8-.8 1.6-1.5 2.3-2.3.8.9 1.7 1.7 2.5 2.5l.6-1.5c-.7-.6-1.4-1.3-2.1-2z"})})},3041:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>y});var r=n(1609),o=n(2177),i=n(3349),s=n(5430),a=n(4993),l=n(9888);const u=()=>{},c=u(),d=Object,h=e=>e===c,f=new WeakMap,p=(e,t)=>d.prototype.toString.call(e)===`[object ${t}]`;let m=0;const g=e=>{const t=typeof e,n=p(e,"Date"),r=p(e,"RegExp"),o=p(e,"Object");let i,s;if(d(e)!==e||n||r)i=n?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(i=f.get(e),i)return i;if(i=++m+"~",f.set(e,i),Array.isArray(e)){for(i="@",s=0;s<e.length;s++)i+=g(e[s])+",";f.set(e,i)}if(o){i="#";const t=d.keys(e).sort();for(;!h(s=t.pop());)h(e[s])||(i+=s+":"+g(e[s])+",");f.set(e,i)}}return i},v=Promise.resolve(),y=(0,a.Ht)(o.Ay,(e=>(t,n,o)=>{const a=(0,r.useRef)(!1),{cache:u,initialSize:c=1,revalidateAll:d=!1,persistSize:h=!1,revalidateFirstPage:f=!0,revalidateOnMount:p=!1,parallel:m=!1}=o,[,,,y]=i.b.get(i.c);let b;try{b=(e=>(e=>{if("function"==typeof e)try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?g(e):"",t]})(e?e(0,null):null)[0])(t),b&&(b=s.q+b)}catch(e){}const[x,w,E]=(0,i.z)(u,b),S=(0,r.useCallback)((()=>(0,i.e)(x()._l)?c:x()._l),[u,b,c]);(0,l.useSyncExternalStore)((0,r.useCallback)((e=>b?E(b,(()=>{e()})):()=>{}),[u,b]),S,S);const k=(0,r.useCallback)((()=>{const e=x()._l;return(0,i.e)(e)?c:e}),[b,c]),P=(0,r.useRef)(k());(0,i.u)((()=>{a.current?b&&w({_l:h?P.current:k()}):a.current=!0}),[b,u]);const T=p&&!a.current,C=e(b,(async e=>{const r=x()._i,s=x()._r;w({_r:i.U});const a=[],l=k(),[c]=(0,i.z)(u,e),h=c().data,p=[];let g=null;for(let e=0;e<l;++e){const[l,c]=(0,i.s)(t(e,m?null:g));if(!l)break;const[v,b]=(0,i.z)(u,l);let x=v().data;const w=d||r||(0,i.e)(x)||f&&!e&&!(0,i.e)(h)||T||h&&!(0,i.e)(h[e])&&!o.compare(h[e],x);if(n&&("function"==typeof s?s(x,c):w)){const t=async()=>{if(l in y){const e=y[l];delete y[l],x=await e}else x=await n(c);b({data:x,_k:c}),a[e]=x};m?p.push(t):await t()}else a[e]=x;m||(g=x)}return m&&await Promise.all(p.map((e=>e()))),w({_i:i.U}),a}),o),A=(0,r.useCallback)((function(e,t){const n="boolean"==typeof t?{revalidate:t}:t||{},r=!1!==n.revalidate;return b?(r&&((0,i.e)(e)?w({_i:!0,_r:n.revalidate}):w({_i:!1,_r:n.revalidate})),arguments.length?C.mutate(e,{...n,revalidate:r}):C.mutate()):v}),[b,u]),R=(0,r.useCallback)((e=>{if(!b)return v;const[,n]=(0,i.z)(u,b);let r;if((0,i.a)(e)?r=e(k()):"number"==typeof e&&(r=e),"number"!=typeof r)return v;n({_l:r}),P.current=r;const o=[],[s]=(0,i.z)(u,b);let a=null;for(let e=0;e<r;++e){const[n]=(0,i.s)(t(e,a)),[r]=(0,i.z)(u,n),l=n?r().data:i.U;if((0,i.e)(l))return A(s().data);o.push(l),a=l}return A(o)}),[b,u,A,k]);return{size:k(),setSize:R,mutate:A,get data(){return C.data},get error(){return C.error},get isValidating(){return C.isValidating},get isLoading(){return C.isLoading}}}))},3149:(e,t,n)=>{"use strict";n.d(t,{$x:()=>u,El:()=>l,O_:()=>a,Uw:()=>s});var r=n(1609);let o=(0,r.createContext)(null);o.displayName="OpenClosedContext";var i,s=((i=s||{})[i.Open=1]="Open",i[i.Closed=2]="Closed",i[i.Closing=4]="Closing",i[i.Opening=8]="Opening",i);function a(){return(0,r.useContext)(o)}function l({value:e,children:t}){return r.createElement(o.Provider,{value:e},t)}function u({children:e}){return r.createElement(o.Provider,{value:null},e)}},3349:(e,t,n)=>{"use strict";n.d(t,{B:()=>f,I:()=>T,O:()=>u,S:()=>G,U:()=>l,a:()=>d,b:()=>s,c:()=>U,d:()=>W,e:()=>c,f:()=>q,g:()=>$,i:()=>v,m:()=>h,n:()=>_,o:()=>N,r:()=>C,s:()=>F,t:()=>A,u:()=>R,z:()=>x});var r=n(1609),o=n(1496),i=Object.prototype.hasOwnProperty;const s=new WeakMap,a=()=>{},l=a(),u=Object,c=e=>e===l,d=e=>"function"==typeof e,h=(e,t)=>({...e,...t}),f=e=>d(e.then),p={},m={},g="undefined",v=typeof window!=g,y=typeof document!=g,b=v&&"Deno"in window,x=(e,t)=>{const n=s.get(e);return[()=>!c(t)&&e.get(t)||p,r=>{if(!c(t)){const o=e.get(t);t in m||(m[t]=o),n[5](t,h(o,r),o||p)}},n[6],()=>!c(t)&&t in m?m[t]:!c(t)&&e.get(t)||p]};let w=!0;const[E,S]=v&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[a,a],k={isOnline:()=>w,isVisible:()=>{const e=y&&document.visibilityState;return c(e)||"hidden"!==e}},P={initFocus:e=>(y&&document.addEventListener("visibilitychange",e),E("focus",e),()=>{y&&document.removeEventListener("visibilitychange",e),S("focus",e)}),initReconnect:e=>{const t=()=>{w=!0,e()},n=()=>{w=!1};return E("online",t),E("offline",n),()=>{S("online",t),S("offline",n)}}},T=!r.useId,C=!v||b,A=e=>v&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1),R=C?r.useEffect:r.useLayoutEffect,M="undefined"!=typeof navigator&&navigator.connection,O=!C&&M&&(["slow-2g","2g"].includes(M.effectiveType)||M.saveData),D=new WeakMap,L=(e,t)=>u.prototype.toString.call(e)===`[object ${t}]`;let I=0;const j=e=>{const t=typeof e,n=L(e,"Date"),r=L(e,"RegExp"),o=L(e,"Object");let i,s;if(u(e)!==e||n||r)i=n?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(i=D.get(e),i)return i;if(i=++I+"~",D.set(e,i),Array.isArray(e)){for(i="@",s=0;s<e.length;s++)i+=j(e[s])+",";D.set(e,i)}if(o){i="#";const t=u.keys(e).sort();for(;!c(s=t.pop());)c(e[s])||(i+=s+":"+j(e[s])+",");D.set(e,i)}}return i},F=e=>{if(d(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?j(e):"",t]};let V=0;const N=()=>++V;async function _(...e){const[t,n,r,i]=e,a=h({populateCache:!0,throwOnError:!0},"boolean"==typeof i?{revalidate:i}:i||{});let u=a.populateCache;const p=a.rollbackOnError;let m=a.optimisticData;const g=a.throwOnError;if(d(n)){const e=n,r=[],o=t.keys();for(const n of o)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(v))}return v(n);async function v(n){const[i]=F(n);if(!i)return;const[h,v]=x(t,i),[y,b,w,E]=s.get(t),S=()=>{const e=y[i];return(d(a.revalidate)?a.revalidate(h().data,n):!1!==a.revalidate)&&(delete w[i],delete E[i],e&&e[0])?e[0](o.q2).then((()=>h().data)):h().data};if(e.length<3)return S();let k,P=r;const T=N();b[i]=[T,0];const C=!c(m),A=h(),R=A.data,M=A._c,O=c(M)?R:M;if(C&&(m=d(m)?m(O,R):m,v({data:m,_c:O})),d(P))try{P=P(O)}catch(e){k=e}if(P&&f(P)){if(P=await P.catch((e=>{k=e})),T!==b[i][0]){if(k)throw k;return P}k&&C&&(e=>"function"==typeof p?p(e):!1!==p)(k)&&(u=!0,v({data:O,_c:l}))}if(u&&!k)if(d(u)){const e=u(P,O);v({data:e,error:l,_c:l})}else v({data:P,error:l,_c:l});if(b[i][1]=N(),Promise.resolve(S()).then((()=>{v({_c:l})})),!k)return P;if(g)throw k}}const B=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},z=(e,t)=>{if(!s.has(e)){const n=h(P,t),r=Object.create(null),i=_.bind(l,e);let u=a;const c=Object.create(null),d=(e,t)=>{const n=c[e]||[];return c[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},f=(t,n,r)=>{e.set(t,n);const o=c[t];if(o)for(const e of o)e(n,r)},p=()=>{if(!s.has(e)&&(s.set(e,[r,Object.create(null),Object.create(null),Object.create(null),i,f,d]),!C)){const t=n.initFocus(setTimeout.bind(l,B.bind(l,r,o.CC))),i=n.initReconnect(setTimeout.bind(l,B.bind(l,r,o.jB)));u=()=>{t&&t(),i&&i(),s.delete(e)}}};return p(),[e,i,p,u]}return[e,s.get(e)[4]]},[U,H]=z(new Map),W=h({onLoadingSlow:a,onSuccess:a,onError:a,onErrorRetry:(e,__,t,n,r)=>{const o=t.errorRetryCount,i=r.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*t.errorRetryInterval;!c(o)&&i>o||setTimeout(n,s,r)},onDiscarded:a,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:O?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:O?5e3:3e3,compare:function e(t,n){var r,o;if(t===n)return!0;if(t&&n&&(r=t.constructor)===n.constructor){if(r===Date)return t.getTime()===n.getTime();if(r===RegExp)return t.toString()===n.toString();if(r===Array){if((o=t.length)===n.length)for(;o--&&e(t[o],n[o]););return-1===o}if(!r||"object"==typeof t){for(r in o=0,t){if(i.call(t,r)&&++o&&!i.call(n,r))return!1;if(!(r in n)||!e(t[r],n[r]))return!1}return Object.keys(n).length===o}}return t!=t&&n!=n},isPaused:()=>!1,cache:U,mutate:H,fallback:{}},k),q=(e,t)=>{const n=h(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:s}=t;r&&i&&(n.use=r.concat(i)),o&&s&&(n.fallback=h(o,s))}return n},G=(0,r.createContext)({}),$=e=>{const{value:t}=e,n=(0,r.useContext)(G),o=d(t),i=(0,r.useMemo)((()=>o?t(n):t),[o,n,t]),s=(0,r.useMemo)((()=>o?i:q(n,i)),[o,n,i]),a=i&&i.provider,u=(0,r.useRef)(l);a&&!u.current&&(u.current=z(a(s.cache||U),i));const c=u.current;return c&&(s.cache=c[0],s.mutate=c[1]),R((()=>{if(c)return c[2]&&c[2](),c[3]}),[]),(0,r.createElement)(G.Provider,h(e,{value:s}))}},3382:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})})},3483:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M5 11.25h14v1.5H5z"})})},3519:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M16 10h4c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-4c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1zm-8 4H4c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h4c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm10-2.6L14.5 15l1.1 1.1 1.7-1.7c-.1 1.1-.3 2.3-.9 2.9-.3.3-.7.5-1.3.5h-4.5v1.5H15c.9 0 1.7-.3 2.3-.9 1-1 1.3-2.7 1.4-4l1.8 1.8 1.1-1.1-3.6-3.7zM6.8 9.7c.1-1.1.3-2.3.9-2.9.4-.4.8-.6 1.3-.6h4.5V4.8H9c-.9 0-1.7.3-2.3.9-1 1-1.3 2.7-1.4 4L3.5 8l-1 1L6 12.6 9.5 9l-1-1-1.7 1.7z"})})},3640:(e,t,n)=>{"use strict";n.d(t,{Mj:()=>A});var r={grad:.9,turn:360,rad:360/(2*Math.PI)},o=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},i=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},s=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},a=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},l=function(e){return{r:s(e.r,0,255),g:s(e.g,0,255),b:s(e.b,0,255),a:s(e.a)}},u=function(e){return{r:i(e.r),g:i(e.g),b:i(e.b),a:i(e.a,3)}},c=/^#([0-9a-f]{3,8})$/i,d=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},h=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),s=i-Math.min(t,n,r),a=s?i===t?(n-r)/s:i===n?2+(r-t)/s:4+(t-n)/s:0;return{h:60*(a<0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:o}},f=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),s=r*(1-n),a=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),u=i%6;return{r:255*[r,a,s,s,l,r][u],g:255*[l,r,r,a,s,s][u],b:255*[s,s,l,r,r,a][u],a:o}},p=function(e){return{h:a(e.h),s:s(e.s,0,100),l:s(e.l,0,100),a:s(e.a)}},m=function(e){return{h:i(e.h),s:i(e.s),l:i(e.l),a:i(e.a,3)}},g=function(e){return f((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},v=function(e){return{h:(t=h(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},y=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,b=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,x=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,w=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,E={string:[[function(e){var t=c.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?i(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?i(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=x.exec(e)||w.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:l({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=y.exec(e)||b.exec(e);if(!t)return null;var n,o,i=p({h:(n=t[1],o=t[2],void 0===o&&(o="deg"),Number(n)*(r[o]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return g(i)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,i=e.a,s=void 0===i?1:i;return o(t)&&o(n)&&o(r)?l({r:Number(t),g:Number(n),b:Number(r),a:Number(s)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,i=e.a,s=void 0===i?1:i;if(!o(t)||!o(n)||!o(r))return null;var a=p({h:Number(t),s:Number(n),l:Number(r),a:Number(s)});return g(a)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,i=e.a,l=void 0===i?1:i;if(!o(t)||!o(n)||!o(r))return null;var u=function(e){return{h:a(e.h),s:s(e.s,0,100),v:s(e.v,0,100),a:s(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(l)});return f(u)},"hsv"]]},S=function(e,t){for(var n=0;n<t.length;n++){var r=t[n][0](e);if(r)return[r,t[n][1]]}return[null,void 0]},k=function(e,t){var n=v(e);return{h:n.h,s:s(n.s+100*t,0,100),l:n.l,a:n.a}},P=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},T=function(e,t){var n=v(e);return{h:n.h,s:n.s,l:s(n.l+100*t,0,100),a:n.a}},C=function(){function e(e){this.parsed=function(e){return"string"==typeof e?S(e.trim(),E.string):"object"==typeof e&&null!==e?S(e,E.object):[null,void 0]}(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return i(P(this.rgba),2)},e.prototype.isDark=function(){return P(this.rgba)<.5},e.prototype.isLight=function(){return P(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=u(this.rgba)).r,n=e.g,r=e.b,s=(o=e.a)<1?d(i(255*o)):"","#"+d(t)+d(n)+d(r)+s;var e,t,n,r,o,s},e.prototype.toRgb=function(){return u(this.rgba)},e.prototype.toRgbString=function(){return t=(e=u(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return m(v(this.rgba))},e.prototype.toHslString=function(){return t=(e=m(v(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=h(this.rgba),{h:i(e.h),s:i(e.s),v:i(e.v),a:i(e.a,3)};var e},e.prototype.invert=function(){return A({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),A(k(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),A(k(this.rgba,-e))},e.prototype.grayscale=function(){return A(k(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),A(T(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),A(T(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?A({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):i(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=v(this.rgba);return"number"==typeof e?A({h:e,s:t.s,l:t.l,a:t.a}):i(t.h)},e.prototype.isEqual=function(e){return this.toHex()===A(e).toHex()},e}(),A=function(e){return e instanceof C?e:new C(e)}},3659:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});const r=e=>e},3756:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})})},3776:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z"})})},3784:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})})},3803:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});const r=n(998).A},3889:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12.218 5.377a.25.25 0 0 0-.436 0l-7.29 12.96a.25.25 0 0 0 .218.373h14.58a.25.25 0 0 0 .218-.372l-7.29-12.96Zm-1.743-.735c.669-1.19 2.381-1.19 3.05 0l7.29 12.96a1.75 1.75 0 0 1-1.525 2.608H4.71a1.75 1.75 0 0 1-1.525-2.608l7.29-12.96ZM12.75 17.46h-1.5v-1.5h1.5v1.5Zm-1.5-3h1.5v-5h-1.5v5Z"})})},3988:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})})},4122:(e,t,n)=>{"use strict";n.d(t,{BD:()=>c,Bm:()=>p,CU:()=>b,MZ:()=>f,Me:()=>d,Uo:()=>i,pW:()=>g,wl:()=>y});var r=n(5897),o=n(2211);let i=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(","),s=["[data-autofocus]"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var a,l,u,c=((l=c||{})[l.First=1]="First",l[l.Previous=2]="Previous",l[l.Next=4]="Next",l[l.Last=8]="Last",l[l.WrapAround=16]="WrapAround",l[l.NoScroll=32]="NoScroll",l[l.AutoFocus=64]="AutoFocus",l),d=((u=d||{})[u.Error=0]="Error",u[u.Overflow=1]="Overflow",u[u.Success=2]="Success",u[u.Underflow=3]="Underflow",u),h=((a=h||{})[a.Previous=-1]="Previous",a[a.Next=1]="Next",a);var f=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(f||{});function p(e,t=0){var n;return e!==(null==(n=(0,o.T)(e))?void 0:n.body)&&(0,r.Y)(t,{0:()=>e.matches(i),1(){let t=e;for(;null!==t;){if(t.matches(i))return!0;t=t.parentElement}return!1}})}var m=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(m||{});function g(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let v=["textarea","input"].join(",");function y(e,t=e=>e){return e.slice().sort(((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let i=r.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function b(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,l=Array.isArray(e)?n?y(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(s)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e):function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(i)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);o.length>0&&l.length>1&&(l=l.filter((e=>!o.some((t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))))),r=null!=r?r:a.activeElement;let u,c=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,l.indexOf(r))-1;if(4&t)return Math.max(0,l.indexOf(r))+1;if(8&t)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=32&t?{preventScroll:!0}:{},f=0,p=l.length;do{if(f>=p||f+p<=0)return 0;let e=d+f;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}u=l[e],null==u||u.focus(h),f+=c}while(u!==a.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,v))&&n}(u)&&u.select(),2}},4210:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{o[e]=new r(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{o[e]=new r(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{o[e]=new r(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((e=>{o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{o[e]=new r(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{o[e]=new r(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{o[e]=new r(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)}));const i=/[\-\:]([a-z])/g,s=e=>e[1].toUpperCase();["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((e=>{const t=e.replace(i,s);o[t]=new r(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(i,s);o[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(i,s);o[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)})),o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:a,SAME:l,possibleStandardNames:u}=n(6811),c=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),d=Object.keys(u).reduce(((e,t)=>{const n=u[t];return n===l?e[t]=t:n===a?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=c,t.possibleStandardNames=d},4225:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2177);const o=(0,n(4993).Ht)(r.Ay,(e=>(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r))))},4335:(e,t,n)=>{"use strict";var r;n.d(t,{g:()=>s});var o=n(1609),i=n(9851);function s(){let e=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in(r||(r=n.t(o,2)))&&(r||(r=n.t(o,2))).useSyncExternalStore((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,s]=o.useState(i._.isHandoffComplete);return t&&!1===i._.isHandoffComplete&&s(!1),o.useEffect((()=>{!0!==t&&s(!0)}),[t]),o.useEffect((()=>i._.handoff()),[]),!e&&t}},4424:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});var r=n(1609),o=n(6339);function i(e){let t=(0,r.useRef)(e);return(0,o.s)((()=>{t.current=e}),[e]),t}},4485:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,o.jsx)(r.Path,{d:"M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z"})})},4586:(e,t,n)=>{"use strict";n.d(t,{D:()=>o});var r,o=((r=o||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},4596:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M7 11.5h10V13H7z"})})},4610:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var r=n(1609),o=n(6339);function i(){let e=(0,r.useRef)(!1);return(0,o.s)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}},4611:(e,t,n)=>{"use strict";n.d(t,{D:()=>h});var r=n(1609),o=n(5448),i=(n(5795),n(9528));let s=(0,r.createContext)(null);function a(e){let[t,n]=(0,r.useState)(null);return r.createElement(s.Provider,{value:{target:t}},e.children,r.createElement(i.j,{features:i.u.Hidden,ref:n}))}var l=n(5953),u=n(6206),c=n(9124),d=n(540);let h=(0,u.FX)((function(e,t){let n=`headlessui-control-${(0,r.useId)()}`,[i,s]=(0,d.b0)(),[h,f]=(0,c.rU)(),p=(0,o._)(),{disabled:m=p||!1,...g}=e,v=(0,r.useMemo)((()=>({disabled:m})),[m]),y={ref:t,disabled:m||void 0,"aria-disabled":m||void 0},b=(0,u.Ci)();return r.createElement(o.S,{value:m},r.createElement(s,{value:i},r.createElement(f,{value:h},r.createElement(l.J,{id:n},b({ourProps:y,theirProps:{...g,children:r.createElement(a,null,"function"==typeof g.children?g.children(v):g.children)},slot:v,defaultTag:"div",name:"Field"})))))}))},4685:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r={};!function e(t,n,r,o){var i=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),s="function"==typeof Path2D&&"function"==typeof DOMMatrix,a=function(){if(!t.OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),n=e.getContext("2d");n.fillRect(0,0,1,1);var r=e.transferToImageBitmap();try{n.createPattern(r,"no-repeat")}catch(e){return!1}return!0}();function l(){}function u(e){var r=n.exports.Promise,o=void 0!==r?r:t.Promise;return"function"==typeof o?new o(e):(e(l,l),null)}var c,d,h,f,p,m,g,v,y,b,x,w=(c=a,d=new Map,{transform:function(e){if(c)return e;if(d.has(e))return d.get(e);var t=new OffscreenCanvas(e.width,e.height);return t.getContext("2d").drawImage(e,0,0),d.set(e,t),t},clear:function(){d.clear()}}),E=(p=Math.floor(1e3/60),m={},g=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(h=function(e){var t=Math.random();return m[t]=requestAnimationFrame((function n(r){g===r||g+p-1<r?(g=r,delete m[t],e()):m[t]=requestAnimationFrame(n)})),t},f=function(e){m[e]&&cancelAnimationFrame(m[e])}):(h=function(e){return setTimeout(e,p)},f=function(e){return clearTimeout(e)}),{frame:h,cancel:f}),S=(b={},function(){if(v)return v;if(!r&&i){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {","  if (msg.data.options) {","    CONFETTI(msg.data.options).then(function () {","      if (msg.data.callback) {","        postMessage({ callback: msg.data.callback });","      }","    });","  } else if (msg.data.reset) {","    CONFETTI && CONFETTI.reset();","  } else if (msg.data.resize) {","    SIZE.width = msg.data.resize.width;","    SIZE.height = msg.data.resize.height;","  } else if (msg.data.canvas) {","    SIZE.width = msg.data.canvas.width;","    SIZE.height = msg.data.canvas.height;","    CONFETTI = module.exports.create(msg.data.canvas);","  }","}"].join("\n");try{v=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}!function(e){function t(t,n){e.postMessage({options:t||{},callback:n})}e.init=function(t){var n=t.transferControlToOffscreen();e.postMessage({canvas:n},[n])},e.fire=function(n,r,o){if(y)return t(n,null),y;var i=Math.random().toString(36).slice(2);return y=u((function(r){function s(t){t.data.callback===i&&(delete b[i],e.removeEventListener("message",s),y=null,w.clear(),o(),r())}e.addEventListener("message",s),t(n,i),b[i]=s.bind(null,{data:{callback:i}})}))},e.reset=function(){for(var t in e.postMessage({reset:!0}),b)b[t](),delete b[t]}}(v)}return v}),k={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function P(e,t,n){return function(e,t){return t?t(e):e}(e&&null!=e[t]?e[t]:k[t],n)}function T(e){return e<0?0:Math.floor(e)}function C(e){return parseInt(e,16)}function A(e){return e.map(R)}function R(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:C(t.substring(0,2)),g:C(t.substring(2,4)),b:C(t.substring(4,6))}}function M(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function O(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function D(e,n){var a,l=!e,c=!!P(n||{},"resize"),d=!1,h=P(n,"disableForReducedMotion",Boolean),f=i&&P(n||{},"useWorker")?S():null,p=l?M:O,m=!(!e||!f||!e.__confetti_initialized),g="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function v(t,n,i){for(var l,c,d,h,f=P(t,"particleCount",T),m=P(t,"angle",Number),g=P(t,"spread",Number),v=P(t,"startVelocity",Number),y=P(t,"decay",Number),b=P(t,"gravity",Number),x=P(t,"drift",Number),S=P(t,"colors",A),k=P(t,"ticks",Number),C=P(t,"shapes"),R=P(t,"scalar"),M=!!P(t,"flat"),O=function(e){var t=P(e,"origin",Object);return t.x=P(t,"x",Number),t.y=P(t,"y",Number),t}(t),D=f,L=[],I=e.width*O.x,j=e.height*O.y;D--;)L.push((void 0,void 0,c=(l={x:I,y:j,angle:m,spread:g,startVelocity:v,color:S[D%S.length],shape:C[(h=C.length,Math.floor(Math.random()*(h-0))+0)],ticks:k,decay:y,gravity:b,drift:x,scalar:R,flat:M}).angle*(Math.PI/180),d=l.spread*(Math.PI/180),{x:l.x,y:l.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*l.startVelocity+Math.random()*l.startVelocity,angle2D:-c+(.5*d-Math.random()*d),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:l.color,shape:l.shape,tick:0,totalTicks:l.ticks,decay:l.decay,drift:l.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*l.gravity,ovalScalar:.6,scalar:l.scalar,flat:l.flat}));return a?a.addFettis(L):(a=function(e,t,n,i,a){var l,c,d=t.slice(),h=e.getContext("2d"),f=u((function(t){function u(){l=c=null,h.clearRect(0,0,i.width,i.height),w.clear(),a(),t()}l=E.frame((function t(){!r||i.width===o.width&&i.height===o.height||(i.width=e.width=o.width,i.height=e.height=o.height),i.width||i.height||(n(e),i.width=e.width,i.height=e.height),h.clearRect(0,0,i.width,i.height),(d=d.filter((function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.velocity*=t.decay,t.flat?(t.wobble=0,t.wobbleX=t.x+10*t.scalar,t.wobbleY=t.y+10*t.scalar,t.tiltSin=0,t.tiltCos=0,t.random=1):(t.wobble+=t.wobbleSpeed,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble),t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2);var n=t.tick++/t.totalTicks,r=t.x+t.random*t.tiltCos,o=t.y+t.random*t.tiltSin,i=t.wobbleX+t.random*t.tiltCos,a=t.wobbleY+t.random*t.tiltSin;if(e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-n)+")",e.beginPath(),s&&"path"===t.shape.type&&"string"==typeof t.shape.path&&Array.isArray(t.shape.matrix))e.fill(function(e,t,n,r,o,i,s){var a=new Path2D(e),l=new Path2D;l.addPath(a,new DOMMatrix(t));var u=new Path2D;return u.addPath(l,new DOMMatrix([Math.cos(s)*o,Math.sin(s)*o,-Math.sin(s)*i,Math.cos(s)*i,n,r])),u}(t.shape.path,t.shape.matrix,t.x,t.y,.1*Math.abs(i-r),.1*Math.abs(a-o),Math.PI/10*t.wobble));else if("bitmap"===t.shape.type){var l=Math.PI/10*t.wobble,u=.1*Math.abs(i-r),c=.1*Math.abs(a-o),d=t.shape.bitmap.width*t.scalar,h=t.shape.bitmap.height*t.scalar,f=new DOMMatrix([Math.cos(l)*u,Math.sin(l)*u,-Math.sin(l)*c,Math.cos(l)*c,t.x,t.y]);f.multiplySelf(new DOMMatrix(t.shape.matrix));var p=e.createPattern(w.transform(t.shape.bitmap),"no-repeat");p.setTransform(f),e.globalAlpha=1-n,e.fillStyle=p,e.fillRect(t.x-d/2,t.y-h/2,d,h),e.globalAlpha=1}else if("circle"===t.shape)e.ellipse?e.ellipse(t.x,t.y,Math.abs(i-r)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,n,r,o,i,s,a){e.save(),e.translate(t,n),e.rotate(i),e.scale(r,o),e.arc(0,0,1,0,a,void 0),e.restore()}(e,t.x,t.y,Math.abs(i-r)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI);else if("star"===t.shape)for(var m=Math.PI/2*3,g=4*t.scalar,v=8*t.scalar,y=t.x,b=t.y,x=5,E=Math.PI/x;x--;)y=t.x+Math.cos(m)*v,b=t.y+Math.sin(m)*v,e.lineTo(y,b),m+=E,y=t.x+Math.cos(m)*g,b=t.y+Math.sin(m)*g,e.lineTo(y,b),m+=E;else e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(o)),e.lineTo(Math.floor(i),Math.floor(a)),e.lineTo(Math.floor(r),Math.floor(t.wobbleY));return e.closePath(),e.fill(),t.tick<t.totalTicks}(h,e)}))).length?l=E.frame(t):u()})),c=u}));return{addFettis:function(e){return d=d.concat(e),f},canvas:e,promise:f,reset:function(){l&&E.cancel(l),c&&c()}}}(e,L,p,n,i),a.promise)}function y(n){var r=h||P(n,"disableForReducedMotion",Boolean),o=P(n,"zIndex",Number);if(r&&g)return u((function(e){e()}));l&&a?e=a.canvas:l&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(o),document.body.appendChild(e)),c&&!m&&p(e);var i={width:e.width,height:e.height};function s(){if(f){var t={getBoundingClientRect:function(){if(!l)return e.getBoundingClientRect()}};return p(t),void f.postMessage({resize:{width:t.width,height:t.height}})}i.width=i.height=null}function y(){a=null,c&&(d=!1,t.removeEventListener("resize",s)),l&&e&&(document.body.contains(e)&&document.body.removeChild(e),e=null,m=!1)}return f&&!m&&f.init(e),m=!0,f&&(e.__confetti_initialized=!0),c&&!d&&(d=!0,t.addEventListener("resize",s,!1)),f?f.fire(n,i,y):v(n,i,y)}return y.reset=function(){f&&f.reset(),a&&a.reset()},y}function L(){return x||(x=D(null,{useWorker:!0,resize:!0})),x}n.exports=function(){return L().apply(this,arguments)},n.exports.reset=function(){L().reset()},n.exports.create=D,n.exports.shapeFromPath=function(e){if(!s)throw new Error("path confetti are not supported in this browser");var t,n;"string"==typeof e?t=e:(t=e.path,n=e.matrix);var r=new Path2D(t),o=document.createElement("canvas").getContext("2d");if(!n){for(var i,a,l=1e3,u=l,c=l,d=0,h=0,f=0;f<l;f+=2)for(var p=0;p<l;p+=2)o.isPointInPath(r,f,p,"nonzero")&&(u=Math.min(u,f),c=Math.min(c,p),d=Math.max(d,f),h=Math.max(h,p));i=d-u,a=h-c;var m=Math.min(10/i,10/a);n=[m,0,0,m,-Math.round(i/2+u)*m,-Math.round(a/2+c)*m]}return{type:"path",path:t,matrix:n}},n.exports.shapeFromText=function(e){var t,n=1,r="#000000",o='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';"string"==typeof e?t=e:(t=e.text,n="scalar"in e?e.scalar:n,o="fontFamily"in e?e.fontFamily:o,r="color"in e?e.color:r);var i=10*n,s=i+"px "+o,a=new OffscreenCanvas(i,i),l=a.getContext("2d");l.font=s;var u=l.measureText(t),c=Math.ceil(u.actualBoundingBoxRight+u.actualBoundingBoxLeft),d=Math.ceil(u.actualBoundingBoxAscent+u.actualBoundingBoxDescent),h=u.actualBoundingBoxLeft+2,f=u.actualBoundingBoxAscent+2;c+=4,d+=4,(l=(a=new OffscreenCanvas(c,d)).getContext("2d")).font=s,l.fillStyle=r,l.fillText(t,h,f);var p=1/n;return{type:"bitmap",bitmap:a.transferToImageBitmap(),matrix:[p,0,0,p,-c*p/2,-d*p/2]}}}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),r,!1);const o=r.exports;r.exports.create},4707:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})})},4836:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>i,TW:()=>r,mD:()=>o});const r=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},o=e=>e&&"window"in e&&e.window===e?e:r(e).defaultView||window;function i(e){return null!==(t=e)&&"object"==typeof t&&"nodeType"in t&&"number"==typeof t.nodeType&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&"host"in e;var t}},4848:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 4V2.2L9 4.8l3 2.5V5.5c3.6 0 6.5 2.9 6.5 6.5 0 2.9-1.9 5.3-4.5 6.2v.2l-.1-.2c-.4.1-.7.2-1.1.2l.2 1.5c.3 0 .6-.1 1-.2 3.5-.9 6-4 6-7.7 0-4.4-3.6-8-8-8zm-7.9 7l1.5.2c.1-1.2.5-2.3 1.2-3.2l-1.1-.9C4.8 8.2 4.3 9.6 4.1 11zm1.5 1.8l-1.5.2c.1.7.3 1.4.5 2 .3.7.6 1.3 1 1.8l1.2-.8c-.3-.5-.6-1-.8-1.5s-.4-1.1-.4-1.7zm1.5 5.5c1.1.9 2.4 1.4 3.8 1.6l.2-1.5c-1.1-.1-2.2-.5-3.1-1.2l-.9 1.1z"})})},4867:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var r=n(1609),o=n(2211),i=n(6992),s=n(5015);function a({disabled:e=!1}={}){let t=(0,r.useRef)(null),[n,a]=(0,r.useState)(!1),l=(0,i.L)(),u=(0,s._)((()=>{t.current=null,a(!1),l.dispose()})),c=(0,s._)((e=>{if(l.dispose(),null===t.current){t.current=e.currentTarget,a(!0);{let n=(0,o.T)(e.currentTarget);l.addEventListener(n,"pointerup",u,!1),l.addEventListener(n,"pointermove",(e=>{if(t.current){let n=function(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}(e);a(function(e,t){return!(!e||!t||e.right<t.left||e.left>t.right||e.bottom<t.top||e.top>t.bottom)}(n,t.current.getBoundingClientRect()))}}),!1),l.addEventListener(n,"pointercancel",u,!1)}}}));return{pressed:n,pressProps:e?{}:{onPointerDown:c,onPointerUp:u,onClick:u}}}},4909:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 4 4 19h16L12 4zm0 3.2 5.5 10.3H12V7.2z"})})},4958: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.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!s.has(e):Boolean(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,i.default)(e,a)}catch(e){t.style={}}else t.style={}};var o=n(1609),i=r(n(5229)),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),a={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},4993:(e,t,n)=>{"use strict";n.d(t,{Ht:()=>f,aw:()=>h,iX:()=>u,qm:()=>d});var r=n(3349),o=n(5430),i=n(1609);const s=r.i&&window.__SWR_DEVTOOLS_USE__,a=s?window.__SWR_DEVTOOLS_USE__:[],l=e=>(0,r.a)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],u=()=>(0,r.m)(r.d,(0,i.useContext)(r.S)),c=a.concat((e=>(t,n,i)=>e(t,n&&((...e)=>{const[i]=(0,r.s)(t),[,,,s]=r.b.get(r.c);if(i.startsWith(o.q))return n(...e);const a=s[i];return(0,r.e)(a)?n(...e):(delete s[i],a)}),i))),d=e=>function(...t){const n=u(),[o,i,s]=l(t),a=(0,r.f)(n,s);let d=e;const{use:h}=a,f=(h||[]).concat(c);for(let e=f.length;e--;)d=f[e](d);return d(o,i||a.fetcher||null,a)},h=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},f=(e,t)=>(...n)=>{const[r,o,i]=l(n),s=(i.use||[]).concat(t);return e(r,o,{...i,use:s})};s&&(window.__SWR_DEVTOOLS_REACT__=i)},5015:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=n(1609),o=n(4424);let i=function(e){let t=(0,o.Y)(e);return r.useCallback(((...e)=>t.current(...e)),[t])}},5020:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"})})},5095:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})})},5128:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var r=n(1609);const o=n(8288).B?r.useLayoutEffect:r.useEffect},5160:(e,t,n)=>{"use strict";var r=n(1609),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useSyncExternalStore,s=r.useRef,a=r.useEffect,l=r.useMemo,u=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,c){var d=s(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;d=l((function(){function e(e){if(!a){if(a=!0,i=e,e=r(e),void 0!==c&&h.hasValue){var t=h.value;if(c(t,e))return s=t}return s=e}if(t=s,o(i,e))return t;var n=r(e);return void 0!==c&&c(t,n)?(i=e,t):(i=e,s=n)}var i,s,a=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]}),[t,n,r,c]);var f=i(e,d[0],d[1]);return a((function(){h.hasValue=!0,h.value=f}),[f]),u(f),f}},5221:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z"})})},5229:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(1133)),o=n(8917);function i(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)})),n):n}i.default=i,e.exports=i},5238:(e,t,n)=>{"use strict";n.d(t,{$:()=>o,V:()=>i});var r=n(3659);let o=r.l,i=r.l},5270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=new RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},5320:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})})},5413:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},5430:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});const r="$inf$"},5446:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});const r=(0,n(1609).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},5448:(e,t,n)=>{"use strict";n.d(t,{S:()=>s,_:()=>i});var r=n(1609);let o=(0,r.createContext)(void 0);function i(){return(0,r.useContext)(o)}function s({value:e,children:t}){return r.createElement(o.Provider,{value:e},t)}},5496:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,h=(e=(0,r.escapeSpecialCharacters)(e)).match(a),f=h&&h[1]?h[1].toLowerCase():"";switch(f){case o:var p=d(e);return l.test(e)||null===(t=null==(v=p.querySelector(i))?void 0:v.parentNode)||void 0===t||t.removeChild(v),u.test(e)||null===(n=null==(v=p.querySelector(s))?void 0:v.parentNode)||void 0===n||n.removeChild(v),p.querySelectorAll(o);case i:case s:var g=c(e).querySelectorAll(f);return u.test(e)&&l.test(e)?g[0].parentNode.childNodes:g;default:return m?m(e):(v=c(e,s).querySelector(s)).childNodes;var v}};var r=n(7731),o="html",i="head",s="body",a=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,u=/<body[^]*>/i,c=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},d=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},h="object"==typeof window&&window.DOMParser;if("function"==typeof h){var f=new h;c=d=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),f.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var p=document.implementation.createHTMLDocument();c=function(e,t){if(t){var n=p.documentElement.querySelector(t);return n&&(n.innerHTML=e),p}return p.documentElement.innerHTML=e,p}}var m,g="object"==typeof document&&document.createElement("template");g&&g.content&&(m=function(e){return g.innerHTML=e,g.content.childNodes})},5692:(e,t,n)=>{"use strict";n.d(t,{Wx:()=>u});var r=n(1609),o=(Object.defineProperty,new Map),i=new WeakMap,s=0,a=void 0;function l(e,t,n={},r=a){if(void 0===window.IntersectionObserver&&void 0!==r){const o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}const{id:l,observer:u,elements:c}=function(e){const t=function(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(i.has(n)||(s+=1,i.set(n,s.toString())),i.get(n)):"0"):e[t]}`;var n})).toString()}(e);let n=o.get(t);if(!n){const r=new Map;let i;const s=new IntersectionObserver((t=>{t.forEach((t=>{var n;const o=t.isIntersecting&&i.some((e=>t.intersectionRatio>=e));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=r.get(t.target))||n.forEach((e=>{e(o,t)}))}))}),e);i=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:r},o.set(t,n)}return n}(n),d=c.get(e)||[];return c.has(e)||c.set(e,d),d.push(t),u.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(c.delete(e),u.unobserve(e)),0===c.size&&(u.disconnect(),o.delete(l))}}function u({threshold:e,delay:t,trackVisibility:n,rootMargin:o,root:i,triggerOnce:s,skip:a,initialInView:u,fallbackInView:c,onChange:d}={}){var h;const[f,p]=r.useState(null),m=r.useRef(d),[g,v]=r.useState({inView:!!u,entry:void 0});m.current=d,r.useEffect((()=>{if(a||!f)return;let r;return r=l(f,((e,t)=>{v({inView:e,entry:t}),m.current&&m.current(e,t),t.isIntersecting&&s&&r&&(r(),r=void 0)}),{root:i,rootMargin:o,threshold:e,trackVisibility:n,delay:t},c),()=>{r&&r()}}),[Array.isArray(e)?e.toString():e,f,i,o,s,a,n,c,t]);const y=null==(h=g.entry)?void 0:h.target,b=r.useRef(void 0);f||!y||s||a||b.current===y||(b.current=y,v({inView:!!u,entry:void 0}));const x=[p,g.inView,g.entry];return x.ref=x[0],x.inView=x[1],x.entry=x[2],x}r.Component},5730:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})})},5897:(e,t,n)=>{"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,r),o}n.d(t,{Y:()=>r})},5953:(e,t,n)=>{"use strict";n.d(t,{J:()=>s,q:()=>i});var r=n(1609);let o=(0,r.createContext)(void 0);function i(){return(0,r.useContext)(o)}function s({id:e,children:t}){return r.createElement(o.Provider,{value:e},t)}},6104:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsxs)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,o.jsx)(r.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,o.jsx)(r.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]})},6206:(e,t,n)=>{"use strict";n.d(t,{Ac:()=>l,Ci:()=>c,FX:()=>m,mK:()=>u,oE:()=>g,v6:()=>p});var r,o,i=n(1609),s=n(6421),a=n(5897),l=((o=l||{})[o.None=0]="None",o[o.RenderStrategy=1]="RenderStrategy",o[o.Static=2]="Static",o),u=((r=u||{})[r.Unmount=0]="Unmount",r[r.Hidden=1]="Hidden",r);function c(){let e=function(){let e=(0,i.useRef)([]),t=(0,i.useCallback)((t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)}),[]);return(...n)=>{if(!n.every((e=>null==e)))return e.current=n,t}}();return(0,i.useCallback)((t=>function({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:s,mergeRefs:l}){l=null!=l?l:h;let u=f(t,e);if(i)return d(u,n,r,s,l);let c=null!=o?o:0;if(2&c){let{static:e=!1,...t}=u;if(e)return d(t,n,r,s,l)}if(1&c){let{unmount:e=!0,...t}=u;return(0,a.Y)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,r,s,l)})}return d(u,n,r,s,l)}({mergeRefs:e,...t})),[e])}function d(e,t={},n,r,o){let{as:a=n,children:l,refName:u="ref",...c}=v(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},h="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let p={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)));if(e){p["data-headlessui-state"]=n.join(" ");for(let e of n)p[`data-${e}`]=""}}if(a===i.Fragment&&(Object.keys(g(c)).length>0||Object.keys(g(p)).length>0)){if((0,i.isValidElement)(h)&&!(Array.isArray(h)&&h.length>1)){let e=h.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>(0,s.x)(t(...e),c.className):(0,s.x)(t,c.className),r=n?{className:n}:{},a=f(h.props,g(v(c,["ref"])));for(let e in p)e in a&&delete p[e];return(0,i.cloneElement)(h,Object.assign({},a,p,d,{ref:o(y(h),d.ref)},r))}if(Object.keys(g(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(g(c)).concat(Object.keys(g(p))).map((e=>`  - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>`  - ${e}`)).join("\n")].join("\n"))}return(0,i.createElement)(a,Object.assign({},v(c,["ref"]),a!==i.Fragment&&d,a!==i.Fragment&&p),h)}function h(...e){return e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function f(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let e in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(n[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in n)Object.assign(t,{[e](t,...r){let o=n[e];for(let e of o){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function p(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let e in n)Object.assign(t,{[e](...t){let r=n[e];for(let e of r)null==e||e(...t)}});return t}function m(e){var t;return Object.assign((0,i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function g(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function v(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}function y(e){return i.version.split(".")[0]>="19"?e.props.ref:e.ref}},6221:(e,t,n)=>{"use strict";n.d(t,{N:()=>v});var r=n(790),o=n(1609),i=n(6719),s=n(8601),a=n(5446);class l extends o.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){const n=(0,o.useId)(),i=(0,o.useRef)(null),s=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:u}=(0,o.useContext)(a.Q);return(0,o.useInsertionEffect)((()=>{const{width:e,height:r,top:o,left:a}=s.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;const l=document.createElement("style");return u&&(l.nonce=u),document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n          [data-motion-pop-id="${n}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${r}px !important;\n            top: ${o}px !important;\n            left: ${a}px !important;\n          }\n        `),()=>{document.head.removeChild(l)}}),[t]),(0,r.jsx)(l,{isPresent:t,childRef:i,sizeRef:s,children:o.cloneElement(e,{ref:i})})}const c=({children:e,initial:t,isPresent:n,onExitComplete:a,custom:l,presenceAffectsLayout:c,mode:h})=>{const f=(0,s.M)(d),p=(0,o.useId)(),m=(0,o.useMemo)((()=>({id:p,initial:t,isPresent:n,custom:l,onExitComplete:e=>{f.set(e,!0);for(const e of f.values())if(!e)return;a&&a()},register:e=>(f.set(e,!1),()=>f.delete(e))})),c?[Math.random()]:[n]);return(0,o.useMemo)((()=>{f.forEach(((e,t)=>f.set(t,!1)))}),[n]),o.useEffect((()=>{!n&&!f.size&&a&&a()}),[n]),"popLayout"===h&&(e=(0,r.jsx)(u,{isPresent:n,children:e})),(0,r.jsx)(i.t.Provider,{value:m,children:e})};function d(){return new Map}var h=n(9473),f=n(5238);const p=e=>e.key||"";function m(e){const t=[];return o.Children.forEach(e,(e=>{(0,o.isValidElement)(e)&&t.push(e)})),t}var g=n(5128);const v=({children:e,exitBeforeEnter:t,custom:n,initial:i=!0,onExitComplete:a,presenceAffectsLayout:l=!0,mode:u="sync"})=>{(0,f.V)(!t,"Replace exitBeforeEnter with mode='wait'");const d=(0,o.useMemo)((()=>m(e)),[e]),v=d.map(p),y=(0,o.useRef)(!0),b=(0,o.useRef)(d),x=(0,s.M)((()=>new Map)),[w,E]=(0,o.useState)(d),[S,k]=(0,o.useState)(d);(0,g.E)((()=>{y.current=!1,b.current=d;for(let e=0;e<S.length;e++){const t=p(S[e]);v.includes(t)?x.delete(t):!0!==x.get(t)&&x.set(t,!1)}}),[S,v.length,v.join("-")]);const P=[];if(d!==w){let e=[...d];for(let t=0;t<S.length;t++){const n=S[t],r=p(n);v.includes(r)||(e.splice(t,0,n),P.push(n))}return"wait"===u&&P.length&&(e=P),k(m(e)),void E(d)}const{forceRender:T}=(0,o.useContext)(h.L);return(0,r.jsx)(r.Fragment,{children:S.map((e=>{const t=p(e),o=d===S||v.includes(t);return(0,r.jsx)(c,{isPresent:o,initial:!(y.current&&!i)&&void 0,custom:o?void 0:n,presenceAffectsLayout:l,mode:u,onExitComplete:o?void 0:()=>{if(!x.has(t))return;x.set(t,!0);let e=!0;x.forEach((t=>{t||(e=!1)})),e&&(null==T||T(),k(b.current),a&&a())},children:e},t)}))})}},6339:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});var r=n(1609),o=n(9851);let i=(e,t)=>{o._.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},6421:(e,t,n)=>{"use strict";function r(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}n.d(t,{x:()=>r})},6541:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z"})})},6638:(e,t,n)=>{"use strict";n.d(t,{M:()=>d});var r=n(6948),o=n(4836),i=n(1619),s=n(1609);let a=!1,l=0;function u(e){"touch"===e.pointerType&&(a=!0,setTimeout((()=>{a=!1}),50))}function c(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent&&document.addEventListener("pointerup",u),l++,()=>{l--,l>0||"undefined"!=typeof PointerEvent&&document.removeEventListener("pointerup",u)}}function d(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:l,isDisabled:u}=e,[d,h]=(0,s.useState)(!1),f=(0,s.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,s.useEffect)(c,[]);let{addGlobalListener:p,removeAllGlobalListeners:m}=(0,r.A)(),{hoverProps:g,triggerHoverEnd:v}=(0,s.useMemo)((()=>{let e=(e,t)=>{let r=f.target;f.pointerType="",f.target=null,"touch"!==t&&f.isHovered&&r&&(f.isHovered=!1,m(),l&&l({type:"hoverend",target:r,pointerType:t}),n&&n(!1),h(!1))},r={};return"undefined"!=typeof PointerEvent&&(r.onPointerEnter=r=>{a&&"mouse"===r.pointerType||((r,s)=>{if(f.pointerType=s,u||"touch"===s||f.isHovered||!r.currentTarget.contains(r.target))return;f.isHovered=!0;let a=r.currentTarget;f.target=a,p((0,o.TW)(r.target),"pointerover",(t=>{f.isHovered&&f.target&&!(0,i.sD)(f.target,t.target)&&e(0,t.pointerType)}),{capture:!0}),t&&t({type:"hoverstart",target:a,pointerType:s}),n&&n(!0),h(!0)})(r,r.pointerType)},r.onPointerLeave=t=>{!u&&t.currentTarget.contains(t.target)&&e(0,t.pointerType)}),{hoverProps:r,triggerHoverEnd:e}}),[t,n,l,u,f,p,m]);return(0,s.useEffect)((()=>{u&&v({currentTarget:f.target},f.pointerType)}),[u]),{hoverProps:g,isHovered:d}}},6644:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,o.jsx)(r.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"})})},6655:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})})},6719:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});const r=(0,n(1609).createContext)(null)},6737:(e,t,n)=>{"use strict";n.d(t,{o:()=>V});var r=n(1609);const o="undefined"!=typeof document?r.useLayoutEffect:()=>{};function i(e){let t=e;return t.nativeEvent=e,t.isDefaultPrevented=()=>t.defaultPrevented,t.isPropagationStopped=()=>t.cancelBubble,t.persist=()=>{},t}function s(e){let t=(0,r.useRef)({isFocused:!1,observer:null});o((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let n=function(e){const t=(0,r.useRef)(null);return o((()=>{t.current=e}),[e]),(0,r.useCallback)(((...e)=>{const n=t.current;return null==n?void 0:n(...e)}),[])}((t=>{null==e||e(t)}));return(0,r.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target,o=e=>{if(t.current.isFocused=!1,r.disabled){let t=i(e);n(t)}t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver((()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}})),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}}),[n])}let a=!1;function l(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}function u(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function c(e){let t=null;return()=>(null==t&&(t=e()),t)}const d=c((function(){return u(/^Mac/i)})),h=c((function(){return u(/^iPhone/i)})),f=c((function(){return u(/^iPad/i)||d()&&navigator.maxTouchPoints>1})),p=c((function(){return h()||f()})),m=(c((function(){return d()||p()})),c((function(){return l(/AppleWebKit/i)&&!m()})),c((function(){return l(/Chrome/i)}))),g=c((function(){return l(/Android/i)}));c((function(){return l(/Firefox/i)}));var v=n(4836);let y=null,b=new Set,x=new Map,w=!1,E=!1;const S={Tab:!0,Escape:!0};function k(e,t){for(let n of b)n(e,t)}function P(e){w=!0,function(e){return!(e.metaKey||!d()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(y="keyboard",k("keyboard",e))}function T(e){y="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(w=!0,k("pointer",e))}function C(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||(g()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(w=!0,y="virtual")}function A(e){e.target!==window&&e.target!==document&&!a&&e.isTrusted&&(w||E||(y="virtual",k("virtual",e)),w=!1,E=!1)}function R(){a||(w=!1,E=!0)}function M(e){if("undefined"==typeof window||x.get((0,v.mD)(e)))return;const t=(0,v.mD)(e),n=(0,v.TW)(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){w=!0,r.apply(this,arguments)},n.addEventListener("keydown",P,!0),n.addEventListener("keyup",P,!0),n.addEventListener("click",C,!0),t.addEventListener("focus",A,!0),t.addEventListener("blur",R,!1),"undefined"!=typeof PointerEvent&&(n.addEventListener("pointerdown",T,!0),n.addEventListener("pointermove",T,!0),n.addEventListener("pointerup",T,!0)),t.addEventListener("beforeunload",(()=>{O(e)}),{once:!0}),x.set(t,{focus:r})}const O=(e,t)=>{const n=(0,v.mD)(e),r=(0,v.TW)(e);t&&r.removeEventListener("DOMContentLoaded",t),x.has(n)&&(n.HTMLElement.prototype.focus=x.get(n).focus,r.removeEventListener("keydown",P,!0),r.removeEventListener("keyup",P,!0),r.removeEventListener("click",C,!0),n.removeEventListener("focus",A,!0),n.removeEventListener("blur",R,!1),"undefined"!=typeof PointerEvent&&(r.removeEventListener("pointerdown",T,!0),r.removeEventListener("pointermove",T,!0),r.removeEventListener("pointerup",T,!0)),x.delete(n))};function D(){return"pointer"!==y}"undefined"!=typeof document&&function(e){const t=(0,v.TW)(e);let n;"loading"!==t.readyState?M(e):(n=()=>{M(e)},t.addEventListener("DOMContentLoaded",n))}();const L=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);var I=n(1619);var j=n(6948);function F(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:o,onFocusWithinChange:a}=e,l=(0,r.useRef)({isFocusWithin:!1}),{addGlobalListener:u,removeAllGlobalListeners:c}=(0,j.A)(),d=(0,r.useCallback)((e=>{e.currentTarget.contains(e.target)&&l.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(l.current.isFocusWithin=!1,c(),n&&n(e),a&&a(!1))}),[n,a,l,c]),h=s(d),f=(0,r.useCallback)((e=>{if(!e.currentTarget.contains(e.target))return;const t=(0,v.TW)(e.target),n=(0,I.bq)(t);if(!l.current.isFocusWithin&&n===(0,I.wt)(e.nativeEvent)){o&&o(e),a&&a(!0),l.current.isFocusWithin=!0,h(e);let n=e.currentTarget;u(t,"focus",(e=>{if(l.current.isFocusWithin&&!(0,I.sD)(n,e.target)){let r=new t.defaultView.FocusEvent("blur",{relatedTarget:e.target});!function(e,t){Object.defineProperty(e,"target",{value:t}),Object.defineProperty(e,"currentTarget",{value:t})}(r,n);let o=i(r);d(o)}}),{capture:!0})}}),[o,a,h,u,d]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:f,onBlur:d}}}function V(e={}){let{autoFocus:t=!1,isTextInput:n,within:o}=e,i=(0,r.useRef)({isFocused:!1,isFocusVisible:t||D()}),[a,l]=(0,r.useState)(!1),[u,c]=(0,r.useState)((()=>i.current.isFocused&&i.current.isFocusVisible)),d=(0,r.useCallback)((()=>c(i.current.isFocused&&i.current.isFocusVisible)),[]),h=(0,r.useCallback)((e=>{i.current.isFocused=e,l(e),d()}),[d]);var f,p,m;f=e=>{i.current.isFocusVisible=e,d()},p=[],m={isTextInput:n},M(),(0,r.useEffect)((()=>{let e=(e,t)=>{(function(e,t,n){let r=(0,v.TW)(null==n?void 0:n.target);const o="undefined"!=typeof window?(0,v.mD)(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?(0,v.mD)(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?(0,v.mD)(null==n?void 0:n.target).HTMLElement:HTMLElement,a="undefined"!=typeof window?(0,v.mD)(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||r.activeElement instanceof o&&!L.has(r.activeElement.type)||r.activeElement instanceof i||r.activeElement instanceof s&&r.activeElement.isContentEditable)&&"keyboard"===t&&n instanceof a&&!S[n.key])})(!!(null==m?void 0:m.isTextInput),e,t)&&f(D())};return b.add(e),()=>{b.delete(e)}}),p);let{focusProps:g}=function(e){let{isDisabled:t,onFocus:n,onBlur:o,onFocusChange:i}=e;const a=(0,r.useCallback)((e=>{if(e.target===e.currentTarget)return o&&o(e),i&&i(!1),!0}),[o,i]),l=s(a),u=(0,r.useCallback)((e=>{const t=(0,v.TW)(e.target),r=t?(0,I.bq)(t):(0,I.bq)();e.target===e.currentTarget&&r===(0,I.wt)(e.nativeEvent)&&(n&&n(e),i&&i(!0),l(e))}),[i,n,l]);return{focusProps:{onFocus:!t&&(n||i||o)?u:void 0,onBlur:t||!o&&!i?void 0:a}}}({isDisabled:o,onFocusChange:h}),{focusWithinProps:y}=F({isDisabled:!o,onFocusWithinChange:h});return{isFocused:a,isFocusVisible:u,focusProps:o?y:g}}},6745:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M18 20v-2h2v-1.5H7.75a.25.25 0 0 1-.25-.25V4H6v2H4v1.5h2v8.75c0 .966.784 1.75 1.75 1.75h8.75v2H18ZM9.273 7.5h6.977a.25.25 0 0 1 .25.25v6.977H18V7.75A1.75 1.75 0 0 0 16.25 6H9.273v1.5Z"})})},6786:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M7 7.2h8.2L13.5 9l1.1 1.1 3.6-3.6-3.5-4-1.1 1 1.9 2.3H7c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.2-.5zm13.8 4V11h-1.5v.3c0 1.1 0 3.5-1 4.5-.3.3-.7.5-1.3.5H8.8l1.7-1.7-1.1-1.1L5.9 17l3.5 4 1.1-1-1.9-2.3H17c.9 0 1.7-.3 2.3-.9 1.5-1.4 1.5-4.2 1.5-5.6z"})})},6811:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},6862:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M14.7 11.3c1-.6 1.5-1.6 1.5-3 0-2.3-1.3-3.4-4-3.4H7v14h5.8c1.4 0 2.5-.3 3.3-1 .8-.7 1.2-1.7 1.2-2.9.1-1.9-.8-3.1-2.6-3.7zm-5.1-4h2.3c.6 0 1.1.1 1.4.4.3.3.5.7.5 1.2s-.2 1-.5 1.2c-.3.3-.8.4-1.4.4H9.6V7.3zm4.6 9c-.4.3-1 .4-1.7.4H9.6v-3.9h2.9c.7 0 1.3.2 1.7.5.4.3.6.8.6 1.5s-.2 1.2-.6 1.5z"})})},6891:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4ZM12.75 8V13H11.25V8H12.75ZM12.75 14.5V16H11.25V14.5H12.75Z"})})},6897:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})})},6942:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=s(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.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=s(t,n));return t}function s(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},6948:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(1609);function o(){let e=(0,r.useRef)(new Map),t=(0,r.useCallback)(((t,n,r,o)=>{let i=(null==o?void 0:o.once)?(...t)=>{e.current.delete(r),r(...t)}:r;e.current.set(r,{type:n,eventTarget:t,fn:i,options:o}),t.addEventListener(n,i,o)}),[]),n=(0,r.useCallback)(((t,n,r,o)=>{var i;let s=(null===(i=e.current.get(r))||void 0===i?void 0:i.fn)||r;t.removeEventListener(n,s,o),e.current.delete(r)}),[]),o=(0,r.useCallback)((()=>{e.current.forEach(((e,t)=>{n(e.eventTarget,e.type,t,e.options)}))}),[n]);return(0,r.useEffect)((()=>o),[o]),{addGlobalListener:t,removeGlobalListener:n,removeAllGlobalListeners:o}}},6956:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"})})},6957:function(e,t,n){"use strict";var r,o=this&&this.__extends||(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])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var s=n(5413),a=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),E(this,e)},e}();t.Node=a;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(a);t.DataNode=l;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=u;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=c;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=s.ElementType.Directive,r}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var h=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);t.CDATA=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);t.Document=p;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(h);function g(e){return(0,s.isTag)(e)}function v(e){return e.type===s.ElementType.CDATA}function y(e){return e.type===s.ElementType.Text}function b(e){return e.type===s.ElementType.Comment}function x(e){return e.type===s.ElementType.Directive}function w(e){return e.type===s.ElementType.Root}function E(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new u(e.data);else if(b(e))n=new c(e.data);else if(g(e)){var r=t?S(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(v(e)){r=t?S(e.children):[];var s=new f(r);r.forEach((function(e){return e.parent=s})),n=s}else if(w(e)){r=t?S(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),n=a}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function S(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=g,t.isCDATA=v,t.isText=y,t.isComment=b,t.isDirective=x,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=E},6992:(e,t,n)=>{"use strict";n.d(t,{L:()=>i});var r=n(1609),o=n(2599);function i(){let[e]=(0,r.useState)(o.e);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}},7108:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},7134:(e,t,n)=>{"use strict";n.d(t,{KU:()=>a,Zr:()=>u,lt:()=>i});const r=new Map,o=e=>{const t=r.get(e);return t?Object.fromEntries(Object.entries(t.stores).map((([e,t])=>[e,t.getState()]))):{}},i=(e,t={})=>(n,i,a)=>{const{enabled:l,anonymousActionType:u,store:c,...d}=t;let h;try{h=(null==l||l)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!h)return l&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,i,a);const{connection:f,...p}=((e,t,n)=>{if(void 0===e)return{type:"untracked",connection:t.connect(n)};const o=r.get(n.name);if(o)return{type:"tracked",store:e,...o};const i={connection:t.connect(n),stores:{}};return r.set(n.name,i),{type:"tracked",store:e,...i}})(c,h,d);let m=!0;a.setState=(e,t,r)=>{const s=n(e,t);if(!m)return s;const l=void 0===r?{type:u||"anonymous"}:"string"==typeof r?{type:r}:r;return void 0===c?(null==f||f.send(l,i()),s):(null==f||f.send({...l,type:`${c}/${l.type}`},{...o(d.name),[c]:a.getState()}),s)};const g=(...e)=>{const t=m;m=!1,n(...e),m=t},v=e(a.setState,i,a);if("untracked"===p.type?null==f||f.init(v):(p.stores[p.store]=a,null==f||f.init(Object.fromEntries(Object.entries(p.stores).map((([e,t])=>[e,e===p.store?v:t.getState()]))))),a.dispatchFromDevtools&&"function"==typeof a.dispatch){let e=!1;const t=a.dispatch;a.dispatch=(...n)=>{"__setState"!==n[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...n)}}return f.subscribe((e=>{var t;switch(e.type){case"ACTION":return"string"!=typeof e.payload?void console.error("[zustand devtools middleware] Unsupported action format"):s(e.payload,(e=>{if("__setState"!==e.type)a.dispatchFromDevtools&&"function"==typeof a.dispatch&&a.dispatch(e);else{if(void 0===c)return void g(e.state);1!==Object.keys(e.state).length&&console.error('\n                    [zustand devtools middleware] Unsupported __setState action format. \n                    When using \'store\' option in devtools(), the \'state\' should have only one key, which is a value of \'store\' that was passed in devtools(),\n                    and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }\n                    ');const t=e.state[c];if(null==t)return;JSON.stringify(a.getState())!==JSON.stringify(t)&&g(t)}}));case"DISPATCH":switch(e.payload.type){case"RESET":return g(v),void 0===c?null==f?void 0:f.init(a.getState()):null==f?void 0:f.init(o(d.name));case"COMMIT":return void 0===c?void(null==f||f.init(a.getState())):null==f?void 0:f.init(o(d.name));case"ROLLBACK":return s(e.state,(e=>{if(void 0===c)return g(e),void(null==f||f.init(a.getState()));g(e[c]),null==f||f.init(o(d.name))}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return s(e.state,(e=>{void 0!==c?JSON.stringify(a.getState())!==JSON.stringify(e[c])&&g(e[c]):g(e)}));case"IMPORT_STATE":{const{nextLiftedState:n}=e.payload,r=null==(t=n.computedStates.slice(-1)[0])?void 0:t.state;if(!r)return;return g(void 0===c?r:r[c]),void(null==f||f.send(null,n))}case"PAUSE_RECORDING":return m=!m}return}})),v},s=(e,t)=>{let n;try{n=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==n&&t(n)};function a(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var r;const o=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),i=null!=(r=n.getItem(e))?r:null;return i instanceof Promise?i.then(o):o(i)},setItem:(e,r)=>n.setItem(e,JSON.stringify(r,null==t?void 0:t.replacer)),removeItem:e=>n.removeItem(e)}}const l=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then:e=>l(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>l(t)(e)}}},u=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),((e,t)=>(n,r,o)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1;const a=new Set,u=new Set;let c;try{c=i.getStorage()}catch(e){}if(!c)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...e)}),r,o);const d=l(i.serialize),h=()=>{const e=i.partialize({...r()});let t;const n=d({state:e,version:i.version}).then((e=>c.setItem(i.name,e))).catch((e=>{t=e}));if(t)throw t;return n},f=o.setState;o.setState=(e,t)=>{f(e,t),h()};const p=e(((...e)=>{n(...e),h()}),r,o);let m;const g=()=>{var e;if(!c)return;s=!1,a.forEach((e=>e(r())));const t=(null==(e=i.onRehydrateStorage)?void 0:e.call(i,r()))||void 0;return l(c.getItem.bind(c))(i.name).then((e=>{if(e)return i.deserialize(e)})).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return e.state;if(i.migrate)return i.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((e=>{var t;return m=i.merge(e,null!=(t=r())?t:p),n(m,!0),h()})).then((()=>{null==t||t(m,void 0),s=!0,u.forEach((e=>e(m)))})).catch((e=>{null==t||t(void 0,e)}))};return o.persist={setOptions:e=>{i={...i,...e},e.getStorage&&(c=e.getStorage())},clearStorage:()=>{null==c||c.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>g(),hasHydrated:()=>s,onHydrate:e=>(a.add(e),()=>{a.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},g(),m||p})(e,t)):((e,t)=>(n,r,o)=>{let i={storage:a((()=>localStorage)),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1;const u=new Set,c=new Set;let d=i.storage;if(!d)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...e)}),r,o);const h=()=>{const e=i.partialize({...r()});return d.setItem(i.name,{state:e,version:i.version})},f=o.setState;o.setState=(e,t)=>{f(e,t),h()};const p=e(((...e)=>{n(...e),h()}),r,o);let m;o.getInitialState=()=>p;const g=()=>{var e,t;if(!d)return;s=!1,u.forEach((e=>{var t;return e(null!=(t=r())?t:p)}));const o=(null==(t=i.onRehydrateStorage)?void 0:t.call(i,null!=(e=r())?e:p))||void 0;return l(d.getItem.bind(d))(i.name).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return[!1,e.state];if(i.migrate)return[!0,i.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]})).then((e=>{var t;const[o,s]=e;if(m=i.merge(s,null!=(t=r())?t:p),n(m,!0),o)return h()})).then((()=>{null==o||o(m,void 0),m=r(),s=!0,c.forEach((e=>e(m)))})).catch((e=>{null==o||o(void 0,e)}))};return o.persist={setOptions:e=>{i={...i,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>g(),hasHydrated:()=>s,onHydrate:e=>(u.add(e),()=>{u.delete(e)}),onFinishHydration:e=>(c.add(e),()=>{c.delete(e)})},i.skipHydration||g(),m||p})(e,t)},7217:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1 16v-2h2v2h-2zm2-3v-1.141A3.991 3.991 0 0016 10a4 4 0 00-8 0h2c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2a1 1 0 00-1 1v2h2z"})})},7280:(e,t,n)=>{"use strict";function r(e){return"object"==typeof e&&null!==e&&"nodeType"in e}function o(e){return r(e)&&"tagName"in e}function i(e){return o(e)&&"accessKey"in e}function s(e){return o(e)&&"tabIndex"in e}function a(e){return o(e)&&"style"in e}function l(e){return i(e)&&"IFRAME"===e.nodeName}function u(e){return i(e)&&"INPUT"===e.nodeName}function c(e){return i(e)&&"LABEL"===e.nodeName}function d(e){return i(e)&&"FIELDSET"===e.nodeName}function h(e){return i(e)&&"LEGEND"===e.nodeName}function f(e){return!!o(e)&&e.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]')}n.d(t,{A3:()=>u,Er:()=>d,Gu:()=>l,H5:()=>f,Jb:()=>h,Lk:()=>s,Ll:()=>r,kS:()=>c,pv:()=>a,sb:()=>i,vq:()=>o})},7406:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})})},7442:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var r=n(1609);let o=(0,r.createContext)((()=>{}));function i({value:e,children:t}){return r.createElement(o.Provider,{value:e},t)}},7589:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})})},7651:(e,t,n)=>{"use strict";n.d(t,{EN:()=>F});var r=n(6737),o=n(6638),i=n(1609),s=n(4867),a=n(5015),l=n(9821),u=n(8975),c=n(2888),d=n(7442),h=n(3149),f=n(7280);var p,m=n(5897),g=n(2211),v=n(6206);let y=null!=(p=i.startTransition)?p:function(e){e()};var b,x,w=n(4586),E=((x=E||{})[x.Open=0]="Open",x[x.Closed=1]="Closed",x),S=((b=S||{})[b.ToggleDisclosure=0]="ToggleDisclosure",b[b.CloseDisclosure=1]="CloseDisclosure",b[b.SetButtonId=2]="SetButtonId",b[b.SetPanelId=3]="SetPanelId",b[b.SetButtonElement=4]="SetButtonElement",b[b.SetPanelElement=5]="SetPanelElement",b);let k={0:e=>({...e,disclosureState:(0,m.Y)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId},4:(e,t)=>e.buttonElement===t.element?e:{...e,buttonElement:t.element},5:(e,t)=>e.panelElement===t.element?e:{...e,panelElement:t.element}},P=(0,i.createContext)(null);function T(e){let t=(0,i.useContext)(P);if(null===t){let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,T),t}return t}P.displayName="DisclosureContext";let C=(0,i.createContext)(null);function A(e){let t=(0,i.useContext)(C);if(null===t){let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,A),t}return t}C.displayName="DisclosureAPIContext";let R=(0,i.createContext)(null);function M(e,t){return(0,m.Y)(t.type,k,e,t)}R.displayName="DisclosurePanelContext";let O=i.Fragment,D=v.Ac.RenderStrategy|v.Ac.Static,L=(0,v.FX)((function(e,t){let{defaultOpen:n=!1,...r}=e,o=(0,i.useRef)(null),s=(0,u.P)(t,(0,u.a)((e=>{o.current=e}),void 0===e.as||e.as===i.Fragment)),l=(0,i.useReducer)(M,{disclosureState:n?0:1,buttonElement:null,panelElement:null,buttonId:null,panelId:null}),[{disclosureState:c,buttonId:p},y]=l,b=(0,a._)((e=>{y({type:1});let t=(0,g.T)(o);if(!t||!p)return;let n=e?f.Lk(e)?e:"current"in e&&f.Lk(e.current)?e.current:t.getElementById(p):t.getElementById(p);null==n||n.focus()})),x=(0,i.useMemo)((()=>({close:b})),[b]),w=(0,i.useMemo)((()=>({open:0===c,close:b})),[c,b]),E={ref:s},S=(0,v.Ci)();return i.createElement(P.Provider,{value:l},i.createElement(C.Provider,{value:x},i.createElement(d.e,{value:b},i.createElement(h.El,{value:(0,m.Y)(c,{0:h.Uw.Open,1:h.Uw.Closed})},S({ourProps:E,theirProps:r,slot:w,defaultTag:O,name:"Disclosure"})))))})),I=(0,v.FX)((function(e,t){let n=(0,i.useId)(),{id:c=`headlessui-disclosure-button-${n}`,disabled:d=!1,autoFocus:h=!1,...p}=e,[m,g]=T("Disclosure.Button"),y=(0,i.useContext)(R),b=null!==y&&y===m.panelId,x=(0,i.useRef)(null),E=(0,u.P)(x,t,(0,a._)((e=>{if(!b)return g({type:4,element:e})})));(0,i.useEffect)((()=>{if(!b)return g({type:2,buttonId:c}),()=>{g({type:2,buttonId:null})}}),[c,g,b]);let S=(0,a._)((e=>{var t;if(b){if(1===m.disclosureState)return;switch(e.key){case w.D.Space:case w.D.Enter:e.preventDefault(),e.stopPropagation(),g({type:0}),null==(t=m.buttonElement)||t.focus()}}else switch(e.key){case w.D.Space:case w.D.Enter:e.preventDefault(),e.stopPropagation(),g({type:0})}})),k=(0,a._)((e=>{e.key===w.D.Space&&e.preventDefault()})),P=(0,a._)((e=>{var t;(function(e){let t=e.parentElement,n=null;for(;t&&!f.Er(t);)f.Jb(t)&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(f.Jb(t))return!1;t=t.previousElementSibling}return!0}(n))&&r})(e.currentTarget)||d||(b?(g({type:0}),null==(t=m.buttonElement)||t.focus()):g({type:0}))})),{isFocusVisible:C,focusProps:A}=(0,r.o)({autoFocus:h}),{isHovered:M,hoverProps:O}=(0,o.M)({isDisabled:d}),{pressed:D,pressProps:L}=(0,s.Z)({disabled:d}),I=(0,i.useMemo)((()=>({open:0===m.disclosureState,hover:M,active:D,disabled:d,focus:C,autofocus:h})),[m,M,D,C,d,h]),j=(0,l.c)(e,m.buttonElement),F=b?(0,v.v6)({ref:E,type:j,disabled:d||void 0,autoFocus:h,onKeyDown:S,onClick:P},A,O,L):(0,v.v6)({ref:E,id:c,type:j,"aria-expanded":0===m.disclosureState,"aria-controls":m.panelElement?m.panelId:void 0,disabled:d||void 0,autoFocus:h,onKeyDown:S,onKeyUp:k,onClick:P},A,O,L);return(0,v.Ci)()({ourProps:F,theirProps:p,slot:I,defaultTag:"button",name:"Disclosure.Button"})})),j=(0,v.FX)((function(e,t){let n=(0,i.useId)(),{id:r=`headlessui-disclosure-panel-${n}`,transition:o=!1,...s}=e,[l,d]=T("Disclosure.Panel"),{close:f}=A("Disclosure.Panel"),[p,m]=(0,i.useState)(null),g=(0,u.P)(t,(0,a._)((e=>{y((()=>d({type:5,element:e})))})),m);(0,i.useEffect)((()=>(d({type:3,panelId:r}),()=>{d({type:3,panelId:null})})),[r,d]);let b=(0,h.O_)(),[x,w]=(0,c.p)(o,p,null!==b?(b&h.Uw.Open)===h.Uw.Open:0===l.disclosureState),E=(0,i.useMemo)((()=>({open:0===l.disclosureState,close:f})),[l.disclosureState,f]),S={ref:g,id:r,...(0,c.B)(w)},k=(0,v.Ci)();return i.createElement(h.$x,null,i.createElement(R.Provider,{value:l.panelId},k({ourProps:S,theirProps:s,slot:E,defaultTag:"div",features:D,visible:x,name:"Disclosure.Panel"})))})),F=Object.assign(L,{Button:I,Panel:j})},7677:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6087);const o=(0,r.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,r.cloneElement)(e,{width:t,height:t,...n,ref:o})}))},7731:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.escapeSpecialCharacters=function(e){return e.replace(o.CARRIAGE_RETURN_REGEX,o.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=a,t.formatDOM=function e(t,n,o){void 0===n&&(n=null);for(var l,u=[],c=0,d=t.length;c<d;c++){var h=t[c];switch(h.nodeType){case 1:var f=s(h.nodeName);(l=new r.Element(f,i(h.attributes))).children=e("template"===f?h.content.childNodes:h.childNodes,l);break;case 3:l=new r.Text(a(h.nodeValue));break;case 8:l=new r.Comment(h.nodeValue);break;default:continue}var p=u[c-1]||null;p&&(p.next=l),l.parent=n,l.prev=p,l.next=null,u.push(l)}return o&&((l=new r.ProcessingInstruction(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=u[0]||null,l.parent=n,u.unshift(l),u[1]&&(u[1].prev=u[0])),u};var r=n(1141),o=n(5270);function i(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function s(e){return function(e){return o.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}function a(e){return e.replace(o.CARRIAGE_RETURN_PLACEHOLDER_REGEX,o.CARRIAGE_RETURN)}},7783:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m16.5 13.5-3.7 3.7V4h-1.5v13.2l-3.8-3.7-1 1 5.5 5.6 5.5-5.6z"})})},7832:(e,t,n)=>{"use strict";n.d(t,{_:()=>C,e:()=>A});var r=n(1609),o=n(6992),i=n(5015),s=n(4610),a=n(6339),l=n(4424),u=n(4335),c=n(8975),d=n(2888),h=n(3149),f=n(6421),p=n(5897),m=n(6206);function g(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:S)!==r.Fragment||1===r.Children.count(e.children)}let v=(0,r.createContext)(null);v.displayName="TransitionContext";var y,b=((y=b||{}).Visible="visible",y.Hidden="hidden",y);let x=(0,r.createContext)(null);function w(e){return"children"in e?w(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function E(e,t){let n=(0,l.Y)(e),a=(0,r.useRef)([]),u=(0,s.a)(),c=(0,o.L)(),d=(0,i._)(((e,t=m.mK.Hidden)=>{let r=a.current.findIndex((({el:t})=>t===e));-1!==r&&((0,p.Y)(t,{[m.mK.Unmount](){a.current.splice(r,1)},[m.mK.Hidden](){a.current[r].state="hidden"}}),c.microTask((()=>{var e;!w(a)&&u.current&&(null==(e=n.current)||e.call(n))})))})),h=(0,i._)((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>d(e,m.mK.Unmount)})),f=(0,r.useRef)([]),g=(0,r.useRef)(Promise.resolve()),v=(0,r.useRef)({enter:[],leave:[]}),y=(0,i._)(((e,n,r)=>{f.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{f.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(v.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?g.current=g.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),b=(0,i._)(((e,t,n)=>{Promise.all(v.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=f.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:a,register:h,unregister:d,onStart:y,onStop:b,wait:g,chains:v})),[h,d,a,y,b,v,g])}x.displayName="NestingContext";let S=r.Fragment,k=m.Ac.RenderStrategy,P=(0,m.FX)((function(e,t){let{show:n,appear:o=!1,unmount:s=!0,...l}=e,d=(0,r.useRef)(null),f=g(e),p=(0,c.P)(...f?[d,t]:null===t?[]:[t]);(0,u.g)();let y=(0,h.O_)();if(void 0===n&&null!==y&&(n=(y&h.Uw.Open)===h.Uw.Open),void 0===n)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[b,S]=(0,r.useState)(n?"visible":"hidden"),P=E((()=>{n||S("hidden")})),[C,A]=(0,r.useState)(!0),R=(0,r.useRef)([n]);(0,a.s)((()=>{!1!==C&&R.current[R.current.length-1]!==n&&(R.current.push(n),A(!1))}),[R,n]);let M=(0,r.useMemo)((()=>({show:n,appear:o,initial:C})),[n,o,C]);(0,a.s)((()=>{n?S("visible"):!w(P)&&null!==d.current&&S("hidden")}),[n,P]);let O={unmount:s},D=(0,i._)((()=>{var t;C&&A(!1),null==(t=e.beforeEnter)||t.call(e)})),L=(0,i._)((()=>{var t;C&&A(!1),null==(t=e.beforeLeave)||t.call(e)})),I=(0,m.Ci)();return r.createElement(x.Provider,{value:P},r.createElement(v.Provider,{value:M},I({ourProps:{...O,as:r.Fragment,children:r.createElement(T,{ref:p,...O,...l,beforeEnter:D,beforeLeave:L})},theirProps:{},defaultTag:r.Fragment,features:k,visible:"visible"===b,name:"Transition"})))})),T=(0,m.FX)((function(e,t){var n,o;let{transition:s=!0,beforeEnter:l,afterEnter:y,beforeLeave:b,afterLeave:P,enter:T,enterFrom:C,enterTo:A,entered:R,leave:M,leaveFrom:O,leaveTo:D,...L}=e,[I,j]=(0,r.useState)(null),F=(0,r.useRef)(null),V=g(e),N=(0,c.P)(...V?[F,t,j]:null===t?[]:[t]),_=null==(n=L.unmount)||n?m.mK.Unmount:m.mK.Hidden,{show:B,appear:z,initial:U}=function(){let e=(0,r.useContext)(v);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[H,W]=(0,r.useState)(B?"visible":"hidden"),q=function(){let e=(0,r.useContext)(x);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:G,unregister:$}=q;(0,a.s)((()=>G(F)),[G,F]),(0,a.s)((()=>{if(_===m.mK.Hidden&&F.current)return B&&"visible"!==H?void W("visible"):(0,p.Y)(H,{hidden:()=>$(F),visible:()=>G(F)})}),[H,F,G,$,B,_]);let Y=(0,u.g)();(0,a.s)((()=>{if(V&&Y&&"visible"===H&&null===F.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[F,H,Y,V]);let X=U&&!z,K=z&&B&&U,Z=(0,r.useRef)(!1),J=E((()=>{Z.current||(W("hidden"),$(F))}),q),Q=(0,i._)((e=>{Z.current=!0;let t=e?"enter":"leave";J.onStart(F,t,(e=>{"enter"===e?null==l||l():"leave"===e&&(null==b||b())}))})),ee=(0,i._)((e=>{let t=e?"enter":"leave";Z.current=!1,J.onStop(F,t,(e=>{"enter"===e?null==y||y():"leave"===e&&(null==P||P())})),"leave"===t&&!w(J)&&(W("hidden"),$(F))}));(0,r.useEffect)((()=>{V&&s||(Q(B),ee(B))}),[B,V,s]);let te=!(!s||!V||!Y||X),[,ne]=(0,d.p)(te,I,B,{start:Q,end:ee}),re=(0,m.oE)({ref:N,className:(null==(o=(0,f.x)(L.className,K&&T,K&&C,ne.enter&&T,ne.enter&&ne.closed&&C,ne.enter&&!ne.closed&&A,ne.leave&&M,ne.leave&&!ne.closed&&O,ne.leave&&ne.closed&&D,!ne.transition&&B&&R))?void 0:o.trim())||void 0,...(0,d.B)(ne)}),oe=0;"visible"===H&&(oe|=h.Uw.Open),"hidden"===H&&(oe|=h.Uw.Closed),B&&"hidden"===H&&(oe|=h.Uw.Opening),!B&&"visible"===H&&(oe|=h.Uw.Closing);let ie=(0,m.Ci)();return r.createElement(x.Provider,{value:J},r.createElement(h.El,{value:oe},ie({ourProps:re,theirProps:L,defaultTag:S,features:k,visible:"visible"===H,name:"Transition.Child"})))})),C=(0,m.FX)((function(e,t){let n=null!==(0,r.useContext)(v),o=null!==(0,h.O_)();return r.createElement(r.Fragment,null,!n&&o?r.createElement(P,{ref:t,...e}):r.createElement(T,{ref:t,...e}))})),A=Object.assign(P,{Child:C,Root:P})},7845:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})})},8046:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 1.5c4.1 0 7.5 3.4 7.5 7.5v.1c-1.4-.8-3.3-1.7-3.4-1.8-.2-.1-.5-.1-.8.1l-2.9 2.1L9 11.3c-.2-.1-.4 0-.6.1l-3.7 2.2c-.1-.5-.2-1-.2-1.5 0-4.2 3.4-7.6 7.5-7.6zm0 15c-3.1 0-5.7-1.9-6.9-4.5l3.7-2.2 3.5 1.2c.2.1.5 0 .7-.1l2.9-2.1c.8.4 2.5 1.2 3.5 1.9-.9 3.3-3.9 5.8-7.4 5.8z"})})},8053:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})},8148:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})})},8169:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})})},8176:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 4.75a7.25 7.25 0 100 14.5 7.25 7.25 0 000-14.5zM3.25 12a8.75 8.75 0 1117.5 0 8.75 8.75 0 01-17.5 0zM12 8.75a1.5 1.5 0 01.167 2.99c-.465.052-.917.44-.917 1.01V14h1.5v-.845A3 3 0 109 10.25h1.5a1.5 1.5 0 011.5-1.5zM11.25 15v1.5h1.5V15h-1.5z"})})},8253:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})})},8288:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});const r="undefined"!=typeof window},8334:(e,t,n)=>{"use strict";n.d(t,{oz:()=>Sr});var r={};n.r(r),n.d(r,{boolean:()=>g,booleanish:()=>v,commaOrSpaceSeparated:()=>E,commaSeparated:()=>w,number:()=>b,overloadedBoolean:()=>y,spaceSeparated:()=>x});var o={};n.r(o),n.d(o,{attentionMarkers:()=>Kt,contentInitial:()=>Wt,disable:()=>Zt,document:()=>Ht,flow:()=>Gt,flowInitial:()=>qt,insideSpan:()=>Xt,string:()=>$t,text:()=>Yt});const i=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a={};function l(e,t){return((t||a).jsx?s:i).test(e)}const u=/[ \t\n\f\r]/g;function c(e){return""===e.replace(u,"")}class d{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function h(e,t){const n={},r={};for(const t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new d(n,r,t)}function f(e){return e.toLowerCase()}d.prototype.normal={},d.prototype.property={},d.prototype.space=void 0;class p{constructor(e,t){this.attribute=t,this.property=e}}p.prototype.attribute="",p.prototype.booleanish=!1,p.prototype.boolean=!1,p.prototype.commaOrSpaceSeparated=!1,p.prototype.commaSeparated=!1,p.prototype.defined=!1,p.prototype.mustUseProperty=!1,p.prototype.number=!1,p.prototype.overloadedBoolean=!1,p.prototype.property="",p.prototype.spaceSeparated=!1,p.prototype.space=void 0;let m=0;const g=S(),v=S(),y=S(),b=S(),x=S(),w=S(),E=S();function S(){return 2**++m}const k=Object.keys(r);class P extends p{constructor(e,t,n,o){let i=-1;if(super(e,t),T(this,"space",o),"number"==typeof n)for(;++i<k.length;){const e=k[i];T(this,k[i],(n&r[e])===r[e])}}}function T(e,t,n){n&&(e[t]=n)}function C(e){const t={},n={};for(const[r,o]of Object.entries(e.properties)){const i=new P(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[f(r)]=r,n[f(i.attribute)]=r}return new d(t,n,e.space)}P.prototype.defined=!0;const A=C({properties:{ariaActiveDescendant:null,ariaAtomic:v,ariaAutoComplete:null,ariaBusy:v,ariaChecked:v,ariaColCount:b,ariaColIndex:b,ariaColSpan:b,ariaControls:x,ariaCurrent:null,ariaDescribedBy:x,ariaDetails:null,ariaDisabled:v,ariaDropEffect:x,ariaErrorMessage:null,ariaExpanded:v,ariaFlowTo:x,ariaGrabbed:v,ariaHasPopup:null,ariaHidden:v,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:x,ariaLevel:b,ariaLive:null,ariaModal:v,ariaMultiLine:v,ariaMultiSelectable:v,ariaOrientation:null,ariaOwns:x,ariaPlaceholder:null,ariaPosInSet:b,ariaPressed:v,ariaReadOnly:v,ariaRelevant:null,ariaRequired:v,ariaRoleDescription:x,ariaRowCount:b,ariaRowIndex:b,ariaRowSpan:b,ariaSelected:v,ariaSetSize:b,ariaSort:null,ariaValueMax:b,ariaValueMin:b,ariaValueNow:b,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function R(e,t){return t in e?e[t]:t}function M(e,t){return R(e,t.toLowerCase())}const O=C({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:w,acceptCharset:x,accessKey:x,action:null,allow:null,allowFullScreen:g,allowPaymentRequest:g,allowUserMedia:g,alt:null,as:null,async:g,autoCapitalize:null,autoComplete:x,autoFocus:g,autoPlay:g,blocking:x,capture:null,charSet:null,checked:g,cite:null,className:x,cols:b,colSpan:null,content:null,contentEditable:v,controls:g,controlsList:x,coords:b|w,crossOrigin:null,data:null,dateTime:null,decoding:null,default:g,defer:g,dir:null,dirName:null,disabled:g,download:y,draggable:v,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:g,formTarget:null,headers:x,height:b,hidden:y,high:b,href:null,hrefLang:null,htmlFor:x,httpEquiv:x,id:null,imageSizes:null,imageSrcSet:null,inert:g,inputMode:null,integrity:null,is:null,isMap:g,itemId:null,itemProp:x,itemRef:x,itemScope:g,itemType:x,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:g,low:b,manifest:null,max:null,maxLength:b,media:null,method:null,min:null,minLength:b,multiple:g,muted:g,name:null,nonce:null,noModule:g,noValidate:g,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:g,optimum:b,pattern:null,ping:x,placeholder:null,playsInline:g,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:g,referrerPolicy:null,rel:x,required:g,reversed:g,rows:b,rowSpan:b,sandbox:x,scope:null,scoped:g,seamless:g,selected:g,shadowRootClonable:g,shadowRootDelegatesFocus:g,shadowRootMode:null,shape:null,size:b,sizes:null,slot:null,span:b,spellCheck:v,src:null,srcDoc:null,srcLang:null,srcSet:null,start:b,step:null,style:null,tabIndex:b,target:null,title:null,translate:null,type:null,typeMustMatch:g,useMap:null,value:v,width:b,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:x,axis:null,background:null,bgColor:null,border:b,borderColor:null,bottomMargin:b,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:g,declare:g,event:null,face:null,frame:null,frameBorder:null,hSpace:b,leftMargin:b,link:null,longDesc:null,lowSrc:null,marginHeight:b,marginWidth:b,noResize:g,noHref:g,noShade:g,noWrap:g,object:null,profile:null,prompt:null,rev:null,rightMargin:b,rules:null,scheme:null,scrolling:v,standby:null,summary:null,text:null,topMargin:b,valueType:null,version:null,vAlign:null,vLink:null,vSpace:b,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:g,disableRemotePlayback:g,prefix:null,property:null,results:b,security:null,unselectable:null},space:"html",transform:M}),D=C({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",colorRendering:"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:E,accentHeight:b,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:b,amplitude:b,arabicForm:null,ascent:b,attributeName:null,attributeType:null,azimuth:b,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:b,by:null,calcMode:null,capHeight:b,className:x,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:b,diffuseConstant:b,direction:null,display:null,dur:null,divisor:b,dominantBaseline:null,download:g,dx:null,dy:null,edgeMode:null,editable:null,elevation:b,enableBackground:null,end:null,event:null,exponent:b,externalResourcesRequired:null,fill:null,fillOpacity:b,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:w,g2:w,glyphName:w,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:b,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:b,horizOriginX:b,horizOriginY:b,id:null,ideographic:b,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:b,k:b,k1:b,k2:b,k3:b,k4:b,kernelMatrix:E,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:b,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:b,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:b,overlineThickness:b,paintOrder:null,panose1:null,path:null,pathLength:b,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:x,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:b,pointsAtY:b,pointsAtZ:b,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:E,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:E,rev:E,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:E,requiredFeatures:E,requiredFonts:E,requiredFormats:E,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:b,specularExponent:b,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:b,strikethroughThickness:b,string:null,stroke:null,strokeDashArray:E,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:b,strokeOpacity:b,strokeWidth:null,style:null,surfaceScale:b,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:E,tabIndex:b,tableValues:null,target:null,targetX:b,targetY:b,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:E,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:b,underlineThickness:b,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:b,values:null,vAlphabetic:b,vMathematical:b,vectorEffect:null,vHanging:b,vIdeographic:b,version:null,vertAdvY:b,vertOriginX:b,vertOriginY:b,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:b,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:R}),L=C({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),I=C({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:M}),j=C({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),F=h([A,O,L,I,j],"html"),V=h([A,D,L,I,j],"svg"),N=/[A-Z]/g,_=/-[a-z]/g,B=/^data[-\w.:]+$/i;function z(e){return"-"+e.toLowerCase()}function U(e){return e.charAt(1).toUpperCase()}const H={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var W=n(5229);const q=$("end"),G=$("start");function $(e){return function(t){const 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 Y(e){return e&&"object"==typeof e?"position"in e||"type"in e?K(e.position):"start"in e||"end"in e?K(e):"line"in e||"column"in e?X(e):"":""}function X(e){return Z(e&&e.line)+":"+Z(e&&e.column)}function K(e){return X(e&&e.start)+"-"+X(e&&e.end)}function Z(e){return e&&"number"==typeof e?e:1}class J extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},i=!1;if(t&&(o="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:!o.cause&&e&&(i=!0,r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){const e=n.indexOf(":");-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1];e&&(o.place=e.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file,this.message=r,this.line=s?s.line:void 0,this.name=Y(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=i&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",this.actual,this.expected,this.note,this.url}}J.prototype.file="",J.prototype.name="",J.prototype.reason="",J.prototype.message="",J.prototype.stack="",J.prototype.column=void 0,J.prototype.line=void 0,J.prototype.ancestors=void 0,J.prototype.cause=void 0,J.prototype.fatal=void 0,J.prototype.place=void 0,J.prototype.ruleId=void 0,J.prototype.source=void 0;const Q={}.hasOwnProperty,ee=new Map,te=/[A-Z]/g,ne=new Set(["table","tbody","thead","tfoot","tr"]),re=new Set(["td","th"]),oe="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ie(e,t,n){return"element"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(o=V,e.schema=o),e.ancestors.push(t);const i=ce(e,t.tagName,!1),s=function(e,t){const n={};let r,o;for(o in t.properties)if("children"!==o&&Q.call(t.properties,o)){const i=ue(e,o,t.properties[o]);if(i){const[o,s]=i;e.tableCellAlignToStyle&&"align"===o&&"string"==typeof s&&re.has(t.tagName)?r=s:n[o]=s}}return r&&((n.style||(n.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),n}(e,t);let a=le(e,t);return ne.has(t.tagName)&&(a=a.filter((function(e){return"string"!=typeof e||!("object"==typeof(t=e)?"text"===t.type&&c(t.value):c(t));var t}))),se(e,s,i,t),ae(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}de(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){const r=e.schema;let o=r;"svg"===t.name&&"html"===r.space&&(o=V,e.schema=o),e.ancestors.push(t);const i=null===t.name?e.Fragment:ce(e,t.name,!0),s=function(e,t){const n={};for(const r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){const t=r.data.estree.body[0];t.type;const o=t.expression;o.type;const i=o.properties[0];i.type,Object.assign(n,e.evaluater.evaluateExpression(i.argument))}else de(e,t.position);else{const o=r.name;let i;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){const t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else de(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),a=le(e,t);return se(e,s,i,t),ae(s,a),e.ancestors.pop(),e.schema=r,e.create(t,i,s,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);de(e,t.position)}(e,t):"root"===t.type?function(e,t,n){const r={};return ae(r,le(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?function(e,t){return t.value}(0,t):void 0}function se(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ae(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function le(e,t){const n=[];let r=-1;const o=e.passKeys?new Map:ee;for(;++r<t.children.length;){const i=t.children[r];let s;if(e.passKeys){const e="element"===i.type?i.tagName:"mdxJsxFlowElement"===i.type||"mdxJsxTextElement"===i.type?i.name:void 0;if(e){const t=o.get(e)||0;s=e+"-"+t,o.set(e,t+1)}}const a=ie(e,i,s);void 0!==a&&n.push(a)}return n}function ue(e,t,n){const r=function(e,t){const n=f(t);let r=t,o=p;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&B.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(_,U);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!_.test(e)){let n=e.replace(N,z);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=P}return new o(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e){const t={};return(""===e[e.length-1]?[...e,""]:e).join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return W(t,{reactCompat:!0})}catch(t){if(e.ignoreInvalidStyle)return{};const n=t,r=new J("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=oe+"#cannot-parse-style-attribute",r}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){const t={};let n;for(n in e)Q.call(e,n)&&(t[he(n)]=e[n]);return t}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?H[r.property]||r.property:r.attribute,n]}}function ce(e,t,n){let r;if(n)if(t.includes(".")){const e=t.split(".");let n,o=-1;for(;++o<e.length;){const t=l(e[o])?{type:"Identifier",name:e[o]}:{type:"Literal",value:e[o]};n=n?{type:"MemberExpression",object:n,property:t,computed:Boolean(o&&"Literal"===t.type),optional:!1}:t}r=n}else r=l(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){const t=r.value;return Q.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);de(e)}function de(e,t){const n=new J("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=oe+"#cannot-handle-mdx-estrees-without-createevaluater",n}function he(e){let t=e.replace(te,fe);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function fe(e){return"-"+e.toLowerCase()}const pe={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var me=n(790);n(1609);const ge={};function ve(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return ye(e.children,t,n)}return Array.isArray(e)?ye(e,t,n):""}function ye(e,t,n){const r=[];let o=-1;for(;++o<e.length;)r[o]=ve(e[o],t,n);return r.join("")}function be(e,t,n,r){const o=e.length;let i,s=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),i.unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)i=r.slice(s,s+1e4),i.unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function xe(e,t){return e.length>0?(be(e,e.length,0,t),e):t}class we{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw new 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){const n=null==t?Number.POSITIVE_INFINITY:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Ee(this.left,n),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Ee(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Ee(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){const t=this.left.splice(e,Number.POSITIVE_INFINITY);Ee(this.right,t.reverse())}else{const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY);Ee(this.left,t.reverse())}}}function Ee(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 Se(e){const t={};let n,r,o,i,s,a,l,u=-1;const c=new we(e);for(;++u<c.length;){for(;u in t;)u=t[u];if(n=c.get(u),u&&"chunkFlow"===n[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&(a=n[1]._tokenizer.events,o=0,o<a.length&&"lineEndingBlank"===a[o][1].type&&(o+=2),o<a.length&&"content"===a[o][1].type))for(;++o<a.length&&"content"!==a[o][1].type;)"chunkText"===a[o][1].type&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if("enter"===n[0])n[1].contentType&&(Object.assign(t,ke(c,u)),u=t[u],l=!0);else if(n[1]._container){for(o=u,r=void 0;o--;)if(i=c.get(o),"lineEnding"===i[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(r&&(c.get(r)[1].type="lineEndingBlank"),i[1].type="lineEnding",r=o);else if("linePrefix"!==i[1].type&&"listItemIndent"!==i[1].type)break;r&&(n[1].end={...c.get(r)[1].start},s=c.slice(r,u),s.unshift(n),c.splice(r,u-r+1,s))}}return be(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function ke(e,t){const n=e.get(t)[1],r=e.get(t)[2];let o=t-1;const i=[];let s=n._tokenizer;s||(s=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const a=s.events,l=[],u={};let c,d,h=-1,f=n,p=0,m=0;const g=[m];for(;f;){for(;e.get(++o)[1]!==f;);i.push(o),f._tokenizer||(c=r.sliceStream(f),f.next||c.push(null),d&&s.defineSkip(f.start),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),d=f,f=f.next}for(f=n;++h<a.length;)"exit"===a[h][0]&&"enter"===a[h-1][0]&&a[h][1].type===a[h-1][1].type&&a[h][1].start.line!==a[h][1].end.line&&(m=h+1,g.push(m),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(s.events=[],f?(f._tokenizer=void 0,f.previous=void 0):g.pop(),h=g.length;h--;){const t=a.slice(g[h],g[h+1]),n=i.pop();l.push([n,n+t.length-1]),e.splice(n,2,t)}for(l.reverse(),h=-1;++h<l.length;)u[p+l[h][0]]=p+l[h][1],p+=l[h][1]-l[h][0]-1;return u}const Pe={}.hasOwnProperty;function Te(e,t){let n;for(n in t){const r=(Pe.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let i;if(o)for(i in o){Pe.call(r,i)||(r[i]=[]);const e=o[i];Ce(r[i],Array.isArray(e)?e:e?[e]:[])}}}function Ce(e,t){let n=-1;const r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);be(e,0,0,r)}const Ae=Be(/[A-Za-z]/),Re=Be(/[\dA-Za-z]/),Me=Be(/[#-'*+\--9=?A-Z^-~]/);function Oe(e){return null!==e&&(e<32||127===e)}const De=Be(/\d/),Le=Be(/[\dA-Fa-f]/),Ie=Be(/[!-/:-@[-`{-~]/);function je(e){return null!==e&&e<-2}function Fe(e){return null!==e&&(e<0||32===e)}function Ve(e){return-2===e||-1===e||32===e}const Ne=Be(/\p{P}|\p{S}/u),_e=Be(/\s/);function Be(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function ze(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let i=0;return function(r){return Ve(r)?(e.enter(n),s(r)):t(r)};function s(r){return Ve(r)&&i++<o?(e.consume(r),s):(e.exit(n),t(r))}}const Ue={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ze(e,t,"linePrefix");e.consume(n)}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):je(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),o)}}},He={tokenize:function(e){const t=this,n=[];let r,o,i,s=0;return a;function a(r){if(s<n.length){const o=n[s];return t.containerState=o[1],e.attempt(o[0].continuation,l,u)(r)}return u(r)}function l(e){if(s++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,r&&y();const n=t.events.length;let o,i=n;for(;i--;)if("exit"===t.events[i][0]&&"chunkFlow"===t.events[i][1].type){o=t.events[i][1].end;break}v(s);let a=n;for(;a<t.events.length;)t.events[a][1].end={...o},a++;return be(t.events,i+1,0,t.events.slice(n)),t.events.length=a,u(e)}return a(e)}function u(o){if(s===n.length){if(!r)return h(o);if(r.currentConstruct&&r.currentConstruct.concrete)return p(o);t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(We,c,d)(o)}function c(e){return r&&y(),v(s),h(e)}function d(e){return t.parser.lazy[t.now().line]=s!==n.length,i=t.now().offset,p(e)}function h(n){return t.containerState={},e.attempt(We,f,p)(n)}function f(e){return s++,n.push([t.currentConstruct,t.containerState]),h(e)}function p(n){return null===n?(r&&y(),v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:r,contentType:"flow",previous:o}),m(n))}function m(n){return null===n?(g(e.exit("chunkFlow"),!0),v(0),void e.consume(n)):je(n)?(e.consume(n),g(e.exit("chunkFlow")),s=0,t.interrupt=void 0,a):(e.consume(n),m)}function g(e,n){const a=t.sliceStream(e);if(n&&a.push(null),e.previous=o,o&&(o.next=e),o=e,r.defineSkip(e.start),r.write(a),t.parser.lazy[e.start.line]){let e=r.events.length;for(;e--;)if(r.events[e][1].start.offset<i&&(!r.events[e][1].end||r.events[e][1].end.offset>i))return;const n=t.events.length;let o,a,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){a=t.events[l][1].end;break}o=!0}for(v(s),e=n;e<t.events.length;)t.events[e][1].end={...a},e++;be(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function v(r){let o=n.length;for(;o-- >r;){const r=n[o];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function y(){r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},We={tokenize:function(e,t,n){return ze(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},qe={partial:!0,tokenize:function(e,t,n){return function(t){return Ve(t)?ze(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||je(e)?t(e):n(e)}}},Ge={resolve:function(e){return Se(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?o(t):je(t)?e.check($e,i,o)(t):(e.consume(t),r)}function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function i(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},$e={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ze(e,o,"linePrefix")};function o(o){if(null===o||je(o))return n(o);const i=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)}}},Ye={tokenize:function(e){const t=this,n=e.attempt(qe,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,ze(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Ge,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},Xe={resolveAll:Qe()},Ke=Je("string"),Ze=Je("text");function Je(e){return{resolveAll:Qe("text"===e?et:void 0),tokenize:function(t){const n=this,r=this.parser.constructs[e],o=t.attempt(r,i,s);return i;function i(e){return l(e)?o(e):s(e)}function s(e){if(null!==e)return t.enter("data"),t.consume(e),a;t.consume(e)}function a(e){return l(e)?(t.exit("data"),o(e)):(t.consume(e),a)}function l(e){if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function Qe(e){return function(t,n){let r,o=-1;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function et(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){const r=e[n-1][1],o=t.sliceStream(r);let i,s=o.length,a=-1,l=0;for(;s--;){const e=o[s];if("string"==typeof e){for(a=e.length;32===e.charCodeAt(a-1);)l++,a--;if(a)break;a=-1}else if(-2===e)i=!0,l++;else if(-1!==e){s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){const o={type:n===e.length||i||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?a:r.start._bufferIndex+a,_index:r.start._index+s,line:r.end.line,column:r.end.column-l,offset:r.end.offset-l},end:{...r.end}};r.end={...o.start},r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}const tt={name:"thematicBreak",tokenize:function(e,t,n){let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){return r=e,i(e)}(t)};function i(i){return i===r?(e.enter("thematicBreakSequence"),s(i)):o>=3&&(null===i||je(i))?(e.exit("thematicBreak"),t(i)):n(i)}function s(t){return t===r?(e.consume(t),o++,s):(e.exit("thematicBreakSequence"),Ve(t)?ze(e,i,"whitespace")(t):i(t))}}},nt={continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(qe,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ze(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){return r.containerState.furtherBlankLines||!Ve(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,o(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(ot,t,o)(n))}));function o(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,ze(e,e.attempt(nt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){const r=this,o=r.events[r.events.length-1];let i=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,s=0;return function(t){const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:De(t)){if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0})),"listUnordered"===o)return e.enter("listItemPrefix"),42===t||45===t?e.check(tt,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(t)}return n(t)};function a(t){return De(t)&&++s<10?(e.consume(t),a):(!r.interrupt||s<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(qe,r.interrupt?n:u,e.attempt(rt,d,c))}function u(e){return r.containerState.initialBlankLine=!0,i++,d(e)}function c(t){return Ve(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){return r.containerState.size=i+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},rt={partial:!0,tokenize:function(e,t,n){const r=this;return ze(e,(function(e){const o=r.events[r.events.length-1];return!Ve(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},ot={partial:!0,tokenize:function(e,t,n){const r=this;return ze(e,(function(e){const o=r.events[r.events.length-1];return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)}},it={continuation:{tokenize:function(e,t,n){const r=this;return function(t){return Ve(t)?ze(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):o(t)};function o(r){return e.attempt(it,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){const r=this;return function(t){if(62===t){const 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"),o}return n(t)};function o(n){return Ve(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function st(e,t,n,r,o,i,s,a,l){const u=l||Number.POSITIVE_INFINITY;let c=0;return function(t){return 60===t?(e.enter(r),e.enter(o),e.enter(i),e.consume(t),e.exit(i),d):null===t||32===t||41===t||Oe(t)?n(t):(e.enter(r),e.enter(s),e.enter(a),e.enter("chunkString",{contentType:"string"}),p(t))};function d(n){return 62===n?(e.enter(i),e.consume(n),e.exit(i),e.exit(o),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),h(n))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(a),d(t)):null===t||60===t||je(t)?n(t):(e.consume(t),92===t?f:h)}function f(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function p(o){return c||null!==o&&41!==o&&!Fe(o)?c<u&&40===o?(e.consume(o),c++,p):41===o?(e.consume(o),c--,p):null===o||32===o||40===o||Oe(o)?n(o):(e.consume(o),92===o?m:p):(e.exit("chunkString"),e.exit(a),e.exit(s),e.exit(r),t(o))}function m(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function at(e,t,n,r,o,i){const s=this;let a,l=0;return function(t){return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(i),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(i),e.enter(o),e.consume(d),e.exit(o),e.exit(r),t):je(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||je(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!Ve(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function lt(e,t,n,r,o,i){let s;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(o),e.consume(t),e.exit(o),s=40===t?41:t,a):n(t)};function a(n){return n===s?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(i),l(n))}function l(t){return t===s?(e.exit(i),a(s)):null===t?n(t):je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ze(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===s||null===t||je(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===s||92===t?(e.consume(t),u):u(t)}}function ut(e,t){let n;return function r(o){return je(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r):Ve(o)?ze(e,r,n?"linePrefix":"lineSuffix")(o):t(o)}}function ct(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const dt={name:"definition",tokenize:function(e,t,n){const r=this;let o;return function(t){return e.enter("definition"),function(t){return at.call(r,e,i,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function i(t){return o=ct(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return Fe(t)?ut(e,a)(t):a(t)}function a(t){return st(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(ht,u,u)(t)}function u(t){return Ve(t)?ze(e,c,"whitespace")(t):c(t)}function c(i){return null===i||je(i)?(e.exit("definition"),r.parser.defined.push(o),t(i)):n(i)}}},ht={partial:!0,tokenize:function(e,t,n){return function(t){return Fe(t)?ut(e,r)(t):n(t)};function r(t){return lt(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function o(t){return Ve(t)?ze(e,i,"whitespace")(t):i(t)}function i(e){return null===e||je(e)?t(e):n(e)}}},ft={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),ze(e,o,"linePrefix",5)(t)};function o(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?i(e):n(e)}function i(t){return null===t?a(t):je(t)?e.attempt(pt,i,a)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||je(t)?(e.exit("codeFlowValue"),i(t)):(e.consume(t),s)}function a(n){return e.exit("codeIndented"),t(n)}}},pt={partial:!0,tokenize:function(e,t,n){const r=this;return o;function o(t){return r.parser.lazy[r.now().line]?n(t):je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):ze(e,i,"linePrefix",5)(t)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?t(e):je(e)?o(e):n(e)}}},mt={name:"headingAtx",resolve:function(e,t){let n,r,o=e.length-2,i=3;return"whitespace"===e[i][1].type&&(i+=2),o-2>i&&"whitespace"===e[o][1].type&&(o-=2),"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4),o>i&&(n={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},be(e,i,o-i+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){return 35===t&&r++<6?(e.consume(t),o):null===t||Fe(t)?(e.exit("atxHeadingSequence"),i(t)):n(t)}function i(n){return 35===n?(e.enter("atxHeadingSequence"),s(n)):null===n||je(n)?(e.exit("atxHeading"),t(n)):Ve(n)?ze(e,i,"whitespace")(n):(e.enter("atxHeadingText"),a(n))}function s(t){return 35===t?(e.consume(t),s):(e.exit("atxHeadingSequence"),i(t))}function a(t){return null===t||35===t||Fe(t)?(e.exit("atxHeadingText"),i(t)):(e.consume(t),a)}}},gt={name:"setextUnderline",resolveTo:function(e,t){let n,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){n=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",s,t]),e.splice(o+1,0,["exit",e[n][1],t]),e[n][1].end={...e[o][1].end}):e[n][1]=s,e.push(["exit",s,t]),e},tokenize:function(e,t,n){const r=this;let o;return function(t){let s,a=r.events.length;for(;a--;)if("lineEnding"!==r.events[a][1].type&&"linePrefix"!==r.events[a][1].type&&"content"!==r.events[a][1].type){s="paragraph"===r.events[a][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!s?n(t):(e.enter("setextHeadingLine"),o=t,function(t){return e.enter("setextHeadingLineSequence"),i(t)}(t))};function i(t){return t===o?(e.consume(t),i):(e.exit("setextHeadingLineSequence"),Ve(t)?ze(e,s,"lineSuffix")(t):s(t))}function s(r){return null===r||je(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},vt=["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"],yt=["pre","script","style","textarea"],bt={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){const r=this;let o,i,s,a,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),u}(t)};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,f):63===a?(e.consume(a),o=3,r.interrupt?t:I):Ae(a)?(e.consume(a),s=String.fromCharCode(a),p):n(a)}function c(i){return 45===i?(e.consume(i),o=2,d):91===i?(e.consume(i),o=5,a=0,h):Ae(i)?(e.consume(i),o=4,r.interrupt?t:I):n(i)}function d(o){return 45===o?(e.consume(o),r.interrupt?t:I):n(o)}function h(o){return o==="CDATA[".charCodeAt(a++)?(e.consume(o),6===a?r.interrupt?t:T:h):n(o)}function f(t){return Ae(t)?(e.consume(t),s=String.fromCharCode(t),p):n(t)}function p(a){if(null===a||47===a||62===a||Fe(a)){const l=47===a,u=s.toLowerCase();return l||i||!yt.includes(u)?vt.includes(s.toLowerCase())?(o=6,l?(e.consume(a),m):r.interrupt?t(a):T(a)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(a):i?g(a):v(a)):(o=1,r.interrupt?t(a):T(a))}return 45===a||Re(a)?(e.consume(a),s+=String.fromCharCode(a),p):n(a)}function m(o){return 62===o?(e.consume(o),r.interrupt?t:T):n(o)}function g(t){return Ve(t)?(e.consume(t),g):k(t)}function v(t){return 47===t?(e.consume(t),k):58===t||95===t||Ae(t)?(e.consume(t),y):Ve(t)?(e.consume(t),v):k(t)}function y(t){return 45===t||46===t||58===t||95===t||Re(t)?(e.consume(t),y):b(t)}function b(t){return 61===t?(e.consume(t),x):Ve(t)?(e.consume(t),b):v(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,w):Ve(t)?(e.consume(t),x):E(t)}function w(t){return t===l?(e.consume(t),l=null,S):null===t||je(t)?n(t):(e.consume(t),w)}function E(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||Fe(t)?b(t):(e.consume(t),E)}function S(e){return 47===e||62===e||Ve(e)?v(e):n(e)}function k(t){return 62===t?(e.consume(t),P):n(t)}function P(t){return null===t||je(t)?T(t):Ve(t)?(e.consume(t),P):n(t)}function T(t){return 45===t&&2===o?(e.consume(t),M):60===t&&1===o?(e.consume(t),O):62===t&&4===o?(e.consume(t),j):63===t&&3===o?(e.consume(t),I):93===t&&5===o?(e.consume(t),L):!je(t)||6!==o&&7!==o?null===t||je(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),T):(e.exit("htmlFlowData"),e.check(xt,F,C)(t))}function C(t){return e.check(wt,A,F)(t)}function A(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),R}function R(t){return null===t||je(t)?C(t):(e.enter("htmlFlowData"),T(t))}function M(t){return 45===t?(e.consume(t),I):T(t)}function O(t){return 47===t?(e.consume(t),s="",D):T(t)}function D(t){if(62===t){const n=s.toLowerCase();return yt.includes(n)?(e.consume(t),j):T(t)}return Ae(t)&&s.length<8?(e.consume(t),s+=String.fromCharCode(t),D):T(t)}function L(t){return 93===t?(e.consume(t),I):T(t)}function I(t){return 62===t?(e.consume(t),j):45===t&&2===o?(e.consume(t),I):T(t)}function j(t){return null===t||je(t)?(e.exit("htmlFlowData"),F(t)):(e.consume(t),j)}function F(n){return e.exit("htmlFlow"),t(n)}}},xt={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(qe,t,n)}}},wt={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},Et={partial:!0,tokenize:function(e,t,n){const r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},St={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){const r=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"),s};function s(t){return e.enter("codeFencedFence"),Ve(t)?ze(e,l,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===i?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}function u(t){return t===i?(o++,e.consume(t),u):o>=a?(e.exit("codeFencedFenceSequence"),Ve(t)?ze(e,c,"whitespace")(t):c(t)):n(t)}function c(r){return null===r||je(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}};let i,s=0,a=0;return function(t){return function(t){const n=r.events[r.events.length-1];return s=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,i=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===i?(a++,e.consume(t),l):a<3?n(t):(e.exit("codeFencedFenceSequence"),Ve(t)?ze(e,u,"whitespace")(t):u(t))}function u(n){return null===n||je(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Et,f,y)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),c(n))}function c(t){return null===t||je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),u(t)):Ve(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ze(e,d,"whitespace")(t)):96===t&&t===i?n(t):(e.consume(t),c)}function d(t){return null===t||je(t)?u(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),h(t))}function h(t){return null===t||je(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),u(t)):96===t&&t===i?n(t):(e.consume(t),h)}function f(t){return e.attempt(o,y,p)(t)}function p(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return s>0&&Ve(t)?ze(e,g,"linePrefix",s+1)(t):g(t)}function g(t){return null===t||je(t)?e.check(Et,f,y)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||je(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function y(n){return e.exit("codeFenced"),t(n)}}},kt=document.createElement("i");function Pt(e){const t="&"+e+";";kt.innerHTML=t;const n=kt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}const Tt={name:"characterReference",tokenize:function(e,t,n){const r=this;let o,i,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),o=31,i=Re,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,i=Le,u):(e.enter("characterReferenceValue"),o=7,i=De,u(t))}function u(a){if(59===a&&s){const o=e.exit("characterReferenceValue");return i!==Re||Pt(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&s++<o?(e.consume(a),u):n(a)}}},Ct={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 Ie(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},At={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ze(e,t,"linePrefix")}}};function Rt(e,t,n){const r=[];let o=-1;for(;++o<e.length;){const i=e[o].resolveAll;i&&!r.includes(i)&&(t=i(t,n),r.push(i))}return t}const Mt={name:"labelEnd",resolveAll:function(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){const e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&be(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,o,i,s=e.length,a=0;for(;s--;)if(n=e[s][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[s][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){if("enter"===e[s][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=s,"labelLink"!==n.type)){a=2;break}}else"labelEnd"===n.type&&(o=s);const 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[o][1].end}},c={type:"labelText",start:{...e[r+a+2][1].end},end:{...e[o-2][1].start}};return i=[["enter",l,t],["enter",u,t]],i=xe(i,e.slice(r+1,r+a+3)),i=xe(i,[["enter",c,t]]),i=xe(i,Rt(t.parser.constructs.insideSpan.null,e.slice(r+a+4,o-3),t)),i=xe(i,[["exit",c,t],e[o-2],e[o-1],["exit",u,t]]),i=xe(i,e.slice(o+1)),i=xe(i,[["exit",l,t]]),be(e,r,e.length,i),e},tokenize:function(e,t,n){const r=this;let o,i,s=r.events.length;for(;s--;)if(("labelImage"===r.events[s][1].type||"labelLink"===r.events[s][1].type)&&!r.events[s][1]._balanced){o=r.events[s][1];break}return function(t){return o?o._inactive?c(t):(i=r.parser.defined.includes(ct(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(Ot,u,i?u:c)(t):91===t?e.attempt(Dt,u,i?l:c)(t):i?u(t):c(t)}function l(t){return e.attempt(Lt,u,c)(t)}function u(e){return t(e)}function c(e){return o._balanced=!0,n(e)}}},Ot={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 Fe(t)?ut(e,o)(t):o(t)}function o(t){return 41===t?u(t):st(e,i,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function i(t){return Fe(t)?ut(e,a)(t):u(t)}function s(e){return n(e)}function a(t){return 34===t||39===t||40===t?lt(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function l(t){return Fe(t)?ut(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)}}},Dt={tokenize:function(e,t,n){const r=this;return function(t){return at.call(r,e,o,i,"reference","referenceMarker","referenceString")(t)};function o(e){return r.parser.defined.includes(ct(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function i(e){return n(e)}}},Lt={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)}}},It={name:"labelStartImage",resolveAll:Mt.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o};function o(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),i):n(t)}function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function jt(e){return null===e||Fe(e)||_e(e)?1:Ne(e)?2:void 0}const Ft={name:"attention",resolveAll:function(e,t){let n,r,o,i,s,a,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[n][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;a=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const d={...e[n][1].end},h={...e[c][1].start};Vt(d,-a),Vt(h,a),i={type:a>1?"strongSequence":"emphasisSequence",start:d,end:{...e[n][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:h},o={type:a>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:a>1?"strong":"emphasis",start:{...i.start},end:{...s.end}},e[n][1].end={...i.start},e[c][1].start={...s.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=xe(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=xe(l,[["enter",r,t],["enter",i,t],["exit",i,t],["enter",o,t]]),l=xe(l,Rt(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=xe(l,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=xe(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,be(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){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=jt(r);let i;return function(t){return i=t,e.enter("attentionSequence"),s(t)};function s(a){if(a===i)return e.consume(a),s;const l=e.exit("attentionSequence"),u=jt(a),c=!u||2===u&&o||n.includes(a),d=!o||2===o&&u||n.includes(r);return l._open=Boolean(42===i?c:c&&(o||!d)),l._close=Boolean(42===i?d:d&&(u||!c)),t(a)}}};function Vt(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Nt={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"),o};function o(t){return Ae(t)?(e.consume(t),i):64===t?n(t):l(t)}function i(e){return 43===e||45===e||46===e||Re(e)?(r=1,s(e)):l(e)}function s(t){return 58===t?(e.consume(t),r=0,a):(43===t||45===t||46===t||Re(t))&&r++<32?(e.consume(t),s):(r=0,l(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||Oe(r)?n(r):(e.consume(r),a)}function l(t){return 64===t?(e.consume(t),u):Me(t)?(e.consume(t),l):n(t)}function u(e){return Re(e)?c(e):n(e)}function c(n){return 46===n?(e.consume(n),r=0,u):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){if((45===t||Re(t))&&r++<63){const n=45===t?d:c;return e.consume(t),n}return n(t)}}},_t={name:"htmlText",tokenize:function(e,t,n){const r=this;let o,i,s;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),x):63===t?(e.consume(t),y):Ae(t)?(e.consume(t),S):n(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,f):Ae(t)?(e.consume(t),v):n(t)}function u(t){return 45===t?(e.consume(t),h):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):je(t)?(s=c,D(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),h):c(t)}function h(e){return 62===e?O(e):45===e?d(e):c(e)}function f(t){return t==="CDATA[".charCodeAt(i++)?(e.consume(t),6===i?p:f):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),m):je(t)?(s=p,D(t)):(e.consume(t),p)}function m(t){return 93===t?(e.consume(t),g):p(t)}function g(t){return 62===t?O(t):93===t?(e.consume(t),g):p(t)}function v(t){return null===t||62===t?O(t):je(t)?(s=v,D(t)):(e.consume(t),v)}function y(t){return null===t?n(t):63===t?(e.consume(t),b):je(t)?(s=y,D(t)):(e.consume(t),y)}function b(e){return 62===e?O(e):y(e)}function x(t){return Ae(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||Re(t)?(e.consume(t),w):E(t)}function E(t){return je(t)?(s=E,D(t)):Ve(t)?(e.consume(t),E):O(t)}function S(t){return 45===t||Re(t)?(e.consume(t),S):47===t||62===t||Fe(t)?k(t):n(t)}function k(t){return 47===t?(e.consume(t),O):58===t||95===t||Ae(t)?(e.consume(t),P):je(t)?(s=k,D(t)):Ve(t)?(e.consume(t),k):O(t)}function P(t){return 45===t||46===t||58===t||95===t||Re(t)?(e.consume(t),P):T(t)}function T(t){return 61===t?(e.consume(t),C):je(t)?(s=T,D(t)):Ve(t)?(e.consume(t),T):k(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,A):je(t)?(s=C,D(t)):Ve(t)?(e.consume(t),C):(e.consume(t),R)}function A(t){return t===o?(e.consume(t),o=void 0,M):null===t?n(t):je(t)?(s=A,D(t)):(e.consume(t),A)}function R(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||Fe(t)?k(t):(e.consume(t),R)}function M(e){return 47===e||62===e||Fe(e)?k(e):n(e)}function O(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function D(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),L}function L(t){return Ve(t)?ze(e,I,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),s(t)}}},Bt={name:"labelStartLink",resolveAll:Mt.resolveAll,tokenize:function(e,t,n){const r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o};function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},zt={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return je(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},Ut={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,o=3;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}for(t=o-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,o,i=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)};function s(t){return 96===t?(e.consume(t),i++,s):(e.exit("codeTextSequence"),a(t))}function a(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),a):96===t?(o=e.enter("codeTextSequence"),r=0,u(t)):je(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||je(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),l)}function u(n){return 96===n?(e.consume(n),r++,u):r===i?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(o.type="codeTextData",l(n))}}},Ht={42:nt,43:nt,45:nt,48:nt,49:nt,50:nt,51:nt,52:nt,53:nt,54:nt,55:nt,56:nt,57:nt,62:it},Wt={91:dt},qt={[-2]:ft,[-1]:ft,32:ft},Gt={35:mt,42:tt,45:[gt,tt],60:bt,61:gt,95:tt,96:St,126:St},$t={38:Tt,92:Ct},Yt={[-5]:At,[-4]:At,[-3]:At,33:It,38:Tt,42:Ft,60:[Nt,_t],91:Bt,92:[zt,Ct],93:Mt,95:Ft,96:Ut},Xt={null:[Ft,Xe]},Kt={null:[42,95]},Zt={null:[]};function Jt(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const o={},i=[];let s=[],a=[],l=!0;const u={attempt:v((function(e,t){y(e,t.from)})),check:v(g),consume:function(e){je(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===s[r._index].length&&(r._bufferIndex=-1,r._index++)),c.previous=e,l=!0},enter:function(e,t){const n=t||{};return n.type=e,n.start=p(),c.events.push(["enter",n,c]),a.push(n),n},exit:function(e){const t=a.pop();return t.end=p(),c.events.push(["exit",t,c]),t},interrupt:v(g,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){o[e.line]=e.column,b()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n=-1;const r=[];let o;for(;++n<e.length;){const i=e[n];let s;if("string"==typeof i)s=i;else switch(i){case-5:s="\r";break;case-4:s="\n";break;case-3:s="\r\n";break;case-2:s=t?" ":"\t";break;case-1:if(!t&&o)continue;s=" ";break;default:s=String.fromCharCode(i)}o=-2===i,r.push(s)}return r.join("")}(f(e),t)},sliceStream:f,write:function(e){return s=xe(s,e),function(){let e;for(;r._index<s.length;){const t=s[r._index];if("string"==typeof t)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)m(t.charCodeAt(r._bufferIndex));else m(t)}}(),null!==s[s.length-1]?[]:(y(t,0),c.events=Rt(i,c.events,c),c.events)}};let d,h=t.tokenize.call(c,u);return t.resolveAll&&i.push(t),c;function f(e){return function(e,t){const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,i=t.end._bufferIndex;let s;if(n===o)s=[e[n].slice(r,i)];else{if(s=e.slice(n,o),r>-1){const e=s[0];"string"==typeof e?s[0]=e.slice(r):s.shift()}i>0&&s.push(e[o].slice(0,i))}return s}(s,e)}function p(){const{_bufferIndex:e,_index:t,line:n,column:o,offset:i}=r;return{_bufferIndex:e,_index:t,line:n,column:o,offset:i}}function m(e){l=void 0,d=e,h=h(e)}function g(e,t){t.restore()}function v(e,t){return function(n,o,i){let s,d,h,f;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(m=n,function(e){const t=null!==e&&m[e],n=null!==e&&m.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});var m;function g(e){return s=e,d=0,0===e.length?i:v(e[d])}function v(e){return function(n){return f=function(){const e=p(),t=c.previous,n=c.currentConstruct,o=c.events.length,i=Array.from(a);return{from:o,restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,a=i,b()}}}(),h=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?x():e.tokenize.call(t?Object.assign(Object.create(c),t):c,u,y,x)(n)}}function y(t){return l=!0,e(h,f),o}function x(e){return l=!0,f.restore(),++d<s.length?v(s[d]):i}}}function y(e,t){e.resolveAll&&!i.includes(e)&&i.push(e),e.resolve&&be(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function b(){r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const Qt=/[\0\t\n\r]/g;function en(e,t){const 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)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const tn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function nn(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return en(n.slice(t?2:1),t?16:10)}return Pt(n)||e}const rn={}.hasOwnProperty;function on(e,t,n){return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(y),autolinkProtocol:c,autolinkEmail:c,atxHeading:o(m),blockQuote:o((function(){return{type:"blockquote",children:[]}})),characterEscape:c,characterReference:c,codeFenced:o(p),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:o(p,i),codeText:o((function(){return{type:"inlineCode",value:""}}),i),codeTextData:c,data:c,codeFlowValue:c,definition:o((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:o((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:o(g),hardBreakTrailing:o(g),htmlFlow:o(v,i),htmlFlowData:c,htmlText:o(v,i),htmlTextData:c,image:o((function(){return{type:"image",title:null,url:"",alt:null}})),label:i,link:o(y),listItem:o((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:o(b,(function(){this.data.expectingFirstListItemValue=!0})),listUnordered:o(b),paragraph:o((function(){return{type:"paragraph",children:[]}})),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:o(m),strong:o((function(){return{type:"strong",children:[]}})),thematicBreak:o((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:a(),atxHeadingSequence:function(e){const t=this.stack[this.stack.length-1];if(!t.depth){const n=this.sliceSerialize(e).length;t.depth=n}},autolink:a(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r;n?(r=en(t,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):r=Pt(t);this.stack[this.stack.length-1].value+=r},characterReference:function(e){this.stack.pop().position.end=sn(e.end)},codeFenced:a((function(){const 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(){const e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){const e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:d,codeIndented:a((function(){const e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")})),codeText:a((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),codeTextData:d,data:d,definition:a(),definitionDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ct(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){const e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(h),hardBreakTrailing:a(h),htmlFlow:a((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlFlowData:d,htmlText:a((function(){const e=this.resume();this.stack[this.stack.length-1].value=e})),htmlTextData:d,image:a((function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const 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(){const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t}else n.alt=t},labelText:function(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=function(e){return e.replace(tn,nn)}(t),n.identifier=ct(t).toLowerCase()},lineEnding:function(e){const n=this.stack[this.stack.length-1];if(this.data.atHardBreak)return n.children[n.children.length-1].position.end=sn(e.end),void(this.data.atHardBreak=void 0);!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),d.call(this,e))},link:a((function(){const e=this.stack[this.stack.length-1];if(this.data.inReference){const 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){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=ct(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){const e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){const 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()}};an(t,(e||{}).mdastExtensions||[]);const n={};return function(e){let o={type:"root",children:[]};const a={stack:[o],tokenStack:[],config:t,enter:s,exit:l,buffer:i,resume:u,data:n},c=[];let d=-1;for(;++d<e.length;)"listOrdered"!==e[d][1].type&&"listUnordered"!==e[d][1].type||("enter"===e[d][0]?c.push(d):d=r(e,c.pop(),d));for(d=-1;++d<e.length;){const n=t[e[d][0]];rn.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){const e=a.tokenStack[a.tokenStack.length-1];(e[1]||un).call(a,void 0,e[0])}for(o.position={start:sn(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:sn(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)o=t.transforms[d](o)||o;return o};function r(e,t,n){let r,o,i,s,a=t-1,l=-1,u=!1;for(;++a<=n;){const t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||l||i||(i=a),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=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 s=a;for(o=void 0;s--;){const t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;o&&(e[o][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",o=s}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break}i&&(!o||i<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||a,0,["exit",r,t[2]]),a++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=o,e.splice(a,0,["enter",o,t[2]]),a++,n++,i=void 0,s=!0}}}return e[t][1]._spread=u,n}function o(e,t){return function(n){s.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function s(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:sn(t.start),end:void 0}}function a(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){const n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw new Error("Cannot close `"+e.type+"` ("+Y({start:e.start,end:e.end})+"): it’s not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||un).call(this,e,r[0])),n.position.end=sn(e.end)}function u(){return function(e){const t=ge;return ve(e,"boolean"!=typeof t.includeImageAlt||t.includeImageAlt,"boolean"!=typeof t.includeHtml||t.includeHtml)}(this.stack.pop())}function c(e){const t=this.stack[this.stack.length-1].children;let n=t[t.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:sn(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){const t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=sn(e.end)}function h(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function p(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function v(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function b(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}}(n)(function(e){for(;!Se(e););return e}(function(e){const t=function(e){const t={};let n=-1;for(;++n<e.length;)Te(t,e[n]);return t}([o,...(e||{}).extensions||[]]),n={constructs:t,content:r(Ue),defined:[],document:r(He),flow:r(Ye),lazy:{},string:r(Ke),text:r(Ze)};return n;function r(e){return function(t){return Jt(n,e,t)}}}(n).document().write(function(){let e,t=1,n="",r=!0;return function(o,i,s){const a=[];let l,u,c,d,h;for(o=n+("string"==typeof o?o.toString():new TextDecoder(i||void 0).decode(o)),c=0,n="",r&&(65279===o.charCodeAt(0)&&c++,r=void 0);c<o.length;){if(Qt.lastIndex=c,l=Qt.exec(o),d=l&&void 0!==l.index?l.index:o.length,h=o.charCodeAt(d),!l){n=o.slice(c);break}if(10===h&&c===d&&e)a.push(-3),e=void 0;else switch(e&&(a.push(-5),e=void 0),c<d&&(a.push(o.slice(c,d)),t+=d-c),h){case 0:a.push(65533),t++;break;case 9:for(u=4*Math.ceil(t/4),a.push(-2);t++<u;)a.push(-1);break;case 10:a.push(-4),t=1;break;default:e=!0,t=1}c=d+1}return s&&(e&&a.push(-5),n&&a.push(n),a.push(null)),a}}()(e,t,!0))))}function sn(e){return{line:e.line,column:e.column,offset:e.offset}}function an(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?an(e,r):ln(e,r)}}function ln(e,t){let n;for(n in t)if(rn.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function un(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Y({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Y({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Y({start:t.start,end:t.end})+") is still open")}function cn(e){const t=this;t.parser=function(n){return on(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}const dn="object"==typeof self?self:globalThis,hn=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[i,s]=t[o];switch(i){case 0:case-1:return n(s,o);case 1:{const e=n([],o);for(const t of s)e.push(r(t));return e}case 2:{const e=n({},o);for(const[t,n]of s)e[r(t)]=r(n);return e}case 3:return n(new Date(s),o);case 4:{const{source:e,flags:t}=s;return n(new RegExp(e,t),o)}case 5:{const e=n(new Map,o);for(const[t,n]of s)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,o);for(const t of s)e.add(r(t));return e}case 7:{const{name:e,message:t}=s;return n(new dn[e](t),o)}case 8:return n(BigInt(s),o);case"BigInt":return n(Object(BigInt(s)),o)}return n(new dn[i](s),o)};return r})(new Map,e)(0),fn="",{toString:pn}={},{keys:mn}=Object,gn=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=pn.call(e).slice(8,-1);switch(n){case"Array":return[1,fn];case"Object":return[2,fn];case"Date":return[3,fn];case"RegExp":return[4,fn];case"Map":return[5,fn];case"Set":return[6,fn]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},vn=([e,t])=>0===e&&("function"===t||"symbol"===t),yn=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1;return n.set(t,o),o},i=r=>{if(n.has(r))return n.get(r);let[s,a]=gn(r);switch(s){case 0:{let t=r;switch(a){case"bigint":s=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);t=null;break;case"undefined":return o([-1],r)}return o([s,t],r)}case 1:{if(a)return o([a,[...r]],r);const e=[],t=o([s,e],r);for(const t of r)e.push(i(t));return t}case 2:{if(a)switch(a){case"BigInt":return o([a,r.toString()],r);case"Boolean":case"Number":case"String":return o([a,r.valueOf()],r)}if(t&&"toJSON"in r)return i(r.toJSON());const n=[],l=o([s,n],r);for(const t of mn(r))!e&&vn(gn(r[t]))||n.push([i(t),i(r[t])]);return l}case 3:return o([s,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([s,{source:e,flags:t}],r)}case 5:{const t=[],n=o([s,t],r);for(const[n,o]of r)(e||!vn(gn(n))&&!vn(gn(o)))&&t.push([i(n),i(o)]);return n}case 6:{const t=[],n=o([s,t],r);for(const n of r)!e&&vn(gn(n))||t.push(i(n));return n}}const{message:l}=r;return o([s,{name:a,message:l}],r)};return i})(!(t||n),!!t,new Map,r)(e),r},bn="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?hn(yn(e,t)):structuredClone(e):(e,t)=>hn(yn(e,t));function xn(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){const i=e.charCodeAt(n);let s="";if(37===i&&Re(e.charCodeAt(n+1))&&Re(e.charCodeAt(n+2)))o=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const t=e.charCodeAt(n+1);i<56320&&t>56319&&t<57344?(s=String.fromCharCode(i,t),o=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(r,n),encodeURIComponent(s)),r=n+o+1,s=""),o&&(n+=o,o=0)}return t.join("")+e.slice(r)}function wn(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function En(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const Sn=function(e){if(null==e)return Pn;if("function"==typeof e)return kn(e);if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Sn(e[n]);return kn((function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}))}(e):function(e){const t=e;return kn((function(n){const r=n;let o;for(o in e)if(r[o]!==t[o])return!1;return!0}))}(e);if("string"==typeof e)return t=e,kn((function(e){return e&&e.type===t}));var t;throw new Error("Expected function, string, or object as test")};function kn(e){return function(t,n,r){return Boolean(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 Pn(){return!0}const Tn=[],Cn=!0,An=!1,Rn="skip";function Mn(e,t,n,r){let o,i,s;"function"==typeof t&&"function"!=typeof n?(i=void 0,s=t,o=n):(i=t,s=n,o=r),function(e,t,n,r){let o;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const i=Sn(o),s=r?-1:1;!function e(o,a,l){const u=o&&"object"==typeof o?o:{};if("string"==typeof u.type){const e="string"==typeof u.tagName?u.tagName:"string"==typeof u.name?u.name:void 0;Object.defineProperty(c,"name",{value:"node ("+o.type+(e?"<"+e+">":"")+")"})}return c;function c(){let u,c,d,h=Tn;if((!t||i(o,a,l[l.length-1]||void 0))&&(h=function(e){return Array.isArray(e)?e:"number"==typeof e?[Cn,e]:null==e?Tn:[e]}(n(o,l)),h[0]===An))return h;if("children"in o&&o.children){const t=o;if(t.children&&h[0]!==Rn)for(c=(r?t.children.length:-1)+s,d=l.concat(t);c>-1&&c<t.children.length;){const n=t.children[c];if(u=e(n,c,d)(),u[0]===An)return u;c="number"==typeof u[1]?u[1]:c+s}}return h}}(e,void 0,[])()}(e,i,(function(e,t){const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return s(e,r,n)}),o)}function On(e,t){const n=t.referenceType;let r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];const o=e.all(t),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift({type:"text",value:"["});const s=o[o.length-1];return s&&"text"===s.type?s.value+=r:o.push({type:"text",value:r}),o}function Dn(e){const t=e.spread;return null==t?e.children.length>1:t}function Ln(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),o=0;const i=[];for(;r;)i.push(In(t.slice(o,r.index),o>0,!0),r[0]),o=r.index+r[0].length,r=n.exec(t);return i.push(In(t.slice(o),o>0,!1)),i.join("")}function In(e,t,n){let r=0,o=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(o-1);for(;9===t||32===t;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}const jn={blockquote:function(e,t){const 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){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=xn(r.toLowerCase()),i=e.footnoteOrder.indexOf(r);let s,a=e.footnoteCounts.get(r);void 0===a?(a=0,e.footnoteOrder.push(r),s=e.footnoteOrder.length):s=i+1,a+=1,e.footnoteCounts.set(r,a);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,l);const u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){const 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){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return On(e,t);const o={src:xn(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"img",properties:o,children:[]};return e.patch(t,i),e.applyData(t,i)},image:function(e,t){const n={src:xn(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return On(e,t);const o={href:xn(r.url||"")};null!==r.title&&void 0!==r.title&&(o.title=r.title);const i={type:"element",tagName:"a",properties:o,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)},link:function(e,t){const n={href:xn(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const 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){const r=e.all(t),o=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=Dn(n[r])}return t}(n):Dn(t),i={},s=[];if("boolean"==typeof t.checked){const e=r[0];let n;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",properties:{},children:[]},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let a=-1;for(;++a<r.length;){const e=r[a];(o||0!==a||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||o?s.push(e):s.push(...e.children)}const l=r[r.length-1];l&&(o||"element"!==l.type||"p"!==l.tagName)&&s.push({type:"text",value:"\n"});const u={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){const n={},r=e.all(t);let o=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){const e=r[o];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}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,i),e.applyData(t,i)},paragraph:function(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},i=G(t.children[1]),s=q(t.children[t.children.length-1]);i&&s&&(r.position={start:i,end:s}),o.push(r)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(o,!0)};return e.patch(t,i),e.applyData(t,i)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",i=n&&"table"===n.type?n.align:void 0,s=i?i.length:t.children.length;let a=-1;const l=[];for(;++a<s;){const n=t.children[a],r={},s=i?i[a]:void 0;s&&(r.align=s);let u={type:"element",tagName:o,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),l.push(u)}const u={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){const n={type:"text",value:Ln(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:Fn,yaml:Fn,definition:Fn,footnoteDefinition:Fn};function Fn(){}const Vn={}.hasOwnProperty,Nn={};function Bn(e,t){e.position&&(t.position=function(e){const t=G(e),n=q(e);if(t&&n)return{start:t,end:n}}(e))}function zn(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=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&&o&&Object.assign(n.properties,bn(o)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function Un(e,t){const n=t.data||{},r=!("value"in t)||Vn.call(n,"hProperties")||Vn.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function Hn(e,t){const n=[];let 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 Wn(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function qn(e,t){const n=function(e,t){const n=t||Nn,r=new Map,o=new Map,i=new Map,s={...jn,...n.handlers},a={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r<n.length;){const o=a.one(n[r],e);if(o){if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=Wn(o.value)),!Array.isArray(o)&&"element"===o.type)){const e=o.children[0];e&&"text"===e.type&&(e.value=Wn(e.value))}Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:zn,definitionById:r,footnoteById:o,footnoteCounts:i,footnoteOrder:[],handlers:s,one:function(e,t){const n=e.type,r=a.handlers[n];if(Vn.call(a.handlers,n)&&r)return r(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(n)){if("children"in e){const{children:t,...n}=e,r=bn(n);return r.children=a.all(e),r}return bn(e)}return(a.options.unknownHandler||Un)(a,e,t)},options:n,patch:Bn,wrap:Hn};return Mn(e,(function(e){if("definition"===e.type||"footnoteDefinition"===e.type){const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}})),a}(e,t),r=n.one(e,void 0),o=function(e){const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||wn,r=e.options.footnoteBackLabel||En,o=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[];let l=-1;for(;++l<e.footnoteOrder.length;){const o=e.footnoteById.get(e.footnoteOrder[l]);if(!o)continue;const i=e.all(o),s=String(o.identifier).toUpperCase(),u=xn(s.toLowerCase());let c=0;const d=[],h=e.footnoteCounts.get(s);for(;void 0!==h&&++c<=h;){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]})}const f=i[i.length-1];if(f&&"element"===f.type&&"p"===f.tagName){const e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...d)}else i.push(...d);const p={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(i,!0)};e.patch(o,p),a.push(p)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:{...bn(s),id:"footnote-label"},children:[{type:"text",value:o}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(n),i=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return o&&i.children.push({type:"text",value:"\n"},o),i}function Gn(e,t){return e&&"run"in e?async function(n,r){const o=qn(n,{file:r,...t});await e.run(o,r)}:function(n,r){return qn(n,{file:r,...e||t})}}function $n(e){if(e)throw e}var Yn=n(2849);function Xn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}const Kn=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');tr(e);let n,r=0,o=-1,i=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else o<0&&(n=!0,o=i+1);return o<0?"":e.slice(r,o)}if(t===e)return"";let s=-1,a=t.length-1;for(;i--;)if(47===e.codePointAt(i)){if(n){r=i+1;break}}else s<0&&(n=!0,s=i+1),a>-1&&(e.codePointAt(i)===t.codePointAt(a--)?a<0&&(o=i):(a=-1,o=s));return r===o?o=s:o<0&&(o=e.length),e.slice(r,o)},Zn=function(e){if(tr(e),0===e.length)return".";let t,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)},Jn=function(e){tr(e);let t,n=e.length,r=-1,o=0,i=-1,s=0;for(;n--;){const a=e.codePointAt(n);if(47!==a)r<0&&(t=!0,r=n+1),46===a?i<0?i=n:1!==s&&(s=1):i>-1&&(s=-1);else if(t){o=n+1;break}}return i<0||r<0||0===s||1===s&&i===r-1&&i===o+1?"":e.slice(i,r)},Qn=function(...e){let t,n=-1;for(;++n<e.length;)tr(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){tr(e);const t=47===e.codePointAt(0);let n=function(e,t){let n,r,o="",i=0,s=-1,a=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else{if(47===n)break;n=47}if(47===n){if(s===l-1||1===a);else if(s!==l-1&&2===a){if(o.length<2||2!==i||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),s=l,a=0;continue}}else if(o.length>0){o="",i=0,s=l,a=0;continue}t&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(s+1,l):o=e.slice(s+1,l),i=l-s-1;s=l,a=0}else 46===n&&a>-1?a++:a=-1}return o}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},er="/";function tr(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const nr=function(){return"/"};function rr(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const or=["history","path","basename","stem","extname","dirname"];class ir{constructor(e){let t;t=e?rr(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":nr(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++r<or.length;){const e=or[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)or.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?Kn(this.path):void 0}set basename(e){ar(e,"basename"),sr(e,"basename"),this.path=Qn(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?Zn(this.path):void 0}set dirname(e){lr(this.basename,"dirname"),this.path=Qn(e||"",this.basename)}get extname(){return"string"==typeof this.path?Jn(this.path):void 0}set extname(e){if(sr(e,"extname"),lr(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw new Error("`extname` must start with `.`");if(e.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=Qn(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){rr(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!rr(e)){const t=new 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){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const t=e.pathname;let n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){const e=t.codePointAt(n+2);if(70===e||102===e){const e=new TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),ar(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?Kn(this.path,this.extname):void 0}set stem(e){ar(e,"stem"),sr(e,"stem"),this.path=Qn(this.dirname||"",e+(this.extname||""))}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){const r=new J(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 sr(e,t){if(e&&e.includes(er))throw new Error("`"+t+"` cannot be a path: did not expect `"+er+"`")}function ar(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function lr(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}const ur=function(e){const t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},cr={}.hasOwnProperty;class dr extends ur{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(){const e=[],t={run:function(...t){let n=-1;const r=t.pop();if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r);!function o(i,...s){const a=e[++n];let l=-1;if(i)r(i);else{for(;++l<t.length;)null!==s[l]&&void 0!==s[l]||(s[l]=t[l]);t=s,a?function(e,t){let n;return function(...t){const i=e.length>t.length;let s;i&&t.push(r);try{s=e.apply(this,t)}catch(e){if(i&&n)throw e;return r(e)}i||(s&&s.then&&"function"==typeof s.then?s.then(o,r):s instanceof Error?r(s):o(s))};function r(e,...r){n||(n=!0,t(e,...r))}function o(e){r(null,e)}}(a,o)(...s):r(null,...s)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){const e=new dr;let t=-1;for(;++t<this.attachers.length;){const n=this.attachers[t];e.use(...n)}return e.data(Yn(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2===arguments.length?(mr("data",this.frozen),this.namespace[e]=t,this):cr.call(this.namespace,e)&&this.namespace[e]||void 0:e?(mr("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;const e=this;for(;++this.freezeIndex<this.attachers.length;){const[t,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){this.freeze();const t=yr(e),n=this.parser||this.Parser;return fr("parse",n),n(String(t),t)}process(e,t){const n=this;return this.freeze(),fr("process",this.parser||this.Parser),pr("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,o){const i=yr(e),s=n.parse(i);function a(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(s,i,(function(e,t,r){if(e||!t||!r)return a(e);const o=t,i=n.stringify(o,r);var s;"string"==typeof(s=i)||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(s)?r.value=i:r.result=i,a(e,r)}))}}processSync(e){let t,n=!1;return this.freeze(),fr("processSync",this.parser||this.Parser),pr("processSync",this.compiler||this.Compiler),this.process(e,(function(e,r){n=!0,$n(e),t=r})),vr("processSync","process",n),t}run(e,t,n){gr(e),this.freeze();const r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o);function o(o,i){const s=yr(t);r.run(e,s,(function(t,r,s){const a=r||e;t?i(t):o?o(a):n(void 0,a,s)}))}}runSync(e,t){let n,r=!1;return this.run(e,t,(function(e,t){$n(e),n=t,r=!0})),vr("runSync","run",r),n}stringify(e,t){this.freeze();const n=yr(t),r=this.compiler||this.Compiler;return pr("stringify",r),gr(e),r(e,n)}use(e,...t){const n=this.attachers,r=this.namespace;if(mr("use",this.frozen),null==e);else if("function"==typeof e)a(e,t);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");Array.isArray(e)?s(e):i(e)}return this;function o(e){if("function"==typeof e)a(e,[]);else{if("object"!=typeof e)throw new TypeError("Expected usable value, not `"+e+"`");if(Array.isArray(e)){const[t,...n]=e;a(t,n)}else i(e)}}function i(e){if(!("plugins"in e)&&!("settings"in e))throw new 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");s(e.plugins),e.settings&&(r.settings=Yn(!0,r.settings,e.settings))}function s(e){let t=-1;if(null==e);else{if(!Array.isArray(e))throw new TypeError("Expected a list of plugins, not `"+e+"`");for(;++t<e.length;)o(e[t])}}function a(e,t){let r=-1,o=-1;for(;++r<n.length;)if(n[r][0]===e){o=r;break}if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...i]=t;const s=n[o][1];Xn(s)&&Xn(r)&&(r=Yn(!0,s,r)),n[o]=[e,r,...i]}}}}const hr=(new dr).freeze();function fr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function pr(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function mr(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function gr(e){if(!Xn(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function vr(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function yr(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new ir(e)}const br=[],xr={allowDangerousHtml:!0},wr=/^(https?|ircs?|mailto|xmpp)$/i,Er=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function Sr(e){const t=function(e){const t=e.rehypePlugins||br,n=e.remarkPlugins||br,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...xr}:xr;return hr().use(cn).use(n).use(Gn,r).use(t)}(e),n=function(e){const t=e.children||"",n=new ir;return"string"==typeof t&&(n.value=t),n}(e);return function(e,t){const n=t.allowedElements,r=t.allowElement,o=t.components,i=t.disallowedElements,s=t.skipHtml,a=t.unwrapDisallowed,l=t.urlTransform||kr;for(const e of Er)Object.hasOwn(t,e.from)&&(e.from,e.to&&e.to,e.id);return Mn(e,(function(e,t,o){if("raw"===e.type&&o&&"number"==typeof t)return s?o.children.splice(t,1):o.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in pe)if(Object.hasOwn(pe,t)&&Object.hasOwn(e.properties,t)){const n=e.properties[t],r=pe[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=l(String(n||""),t,e))}}if("element"===e.type){let s=n?!n.includes(e.tagName):!!i&&i.includes(e.tagName);if(!s&&r&&"number"==typeof t&&(s=!r(e,t,o)),s&&o&&"number"==typeof t)return a&&e.children?o.children.splice(t,1,...e.children):o.children.splice(t,1),t}})),function(e,t){if(!t||void 0===t.Fragment)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if("function"!=typeof t.jsxDEV)throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=function(e,t){return function(n,r,o,i){const s=Array.isArray(o.children),a=G(n);return t(r,o,i,s,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}(n,t.jsxDEV)}else{if("function"!=typeof t.jsx)throw new TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw new TypeError("Expected `jsxs` in production options");o=t.jsx,i=t.jsxs,r=function(e,t,n,r){const s=Array.isArray(n.children)?i:o;return r?s(t,n,r):s(t,n)}}var o,i;const s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?V:F,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},a=ie(s,e,void 0);return a&&"string"!=typeof a?a:s.create(e,s.Fragment,{children:a||void 0},void 0)}(e,{Fragment:me.Fragment,components:o,ignoreInvalidStyle:!0,jsx:me.jsx,jsxs:me.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function kr(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),o=e.indexOf("/");return-1===t||-1!==o&&t>o||-1!==n&&t>n||-1!==r&&t>r||wr.test(e.slice(0,t))?e:""}},8351:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})})},8418:(e,t,n)=>{"use strict";e.exports=n(5160)},8493:(e,t,n)=>{"use strict";var r=n(1609),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,s=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return a((function(){o.value=n,o.getSnapshot=t,u(o)&&c({inst:o})}),[e,n,t]),s((function(){return u(o)&&c({inst:o}),e((function(){u(o)&&c({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},8601:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var r=n(1609);function o(e){const t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},8765:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})})},8851:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5 12a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm.75 4v1.5h-1.5V8h1.5Zm0 8v-5h-1.5v5h1.5Z"})})},8917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(i,l)).replace(r,a))}},8971:(e,t,n)=>{"use strict";n.d(t,{lG:()=>Ye,L3:()=>$e});var r=n(1609),o=n(4586),i=n(4424);function s(e,t,n,o){let s=(0,i.Y)(n);(0,r.useEffect)((()=>{function n(e){s.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}),[e,t,o])}class a extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}var l,u,c,d=n(2599),h=Object.defineProperty,f=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},p=(e,t,n)=>(f(e,t,"read from private field"),n?n.call(e):t.get(e)),m=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},g=(e,t,n,r)=>(f(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);class v{constructor(e){m(this,l,{}),m(this,u,new a((()=>new Set))),m(this,c,new Set),((e,t,n)=>{((e,t,n)=>{t in e?h(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n)})(this,"disposables",(0,d.e)()),g(this,l,e)}dispose(){this.disposables.dispose()}get state(){return p(this,l)}subscribe(e,t){let n={selector:e,callback:t,current:e(p(this,l))};return p(this,c).add(n),this.disposables.add((()=>{p(this,c).delete(n)}))}on(e,t){return p(this,u).get(e).add(t),this.disposables.add((()=>{p(this,u).get(e).delete(t)}))}send(e){let t=this.reduce(p(this,l),e);if(t!==p(this,l)){g(this,l,t);for(let e of p(this,c)){let t=e.selector(p(this,l));y(e.current,t)||(e.current=t,e.callback(t))}for(let t of p(this,u).get(e.type))t(p(this,l),e)}}}function y(e,t){return!!Object.is(e,t)||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&(Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&b(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&b(e.entries(),t.entries()):!(!x(e)||!x(t))&&b(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function b(e,t){for(;;){let n=e.next(),r=t.next();if(n.done&&r.done)return!0;if(n.done||r.done||!Object.is(n.value,r.value))return!1}}function x(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}l=new WeakMap,u=new WeakMap,c=new WeakMap;var w=n(5897),E=Object.defineProperty,S=(e,t,n)=>(((e,t,n)=>{t in e?E(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),k=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(k||{});let P={0(e,t){let n=t.id,r=e.stack,o=e.stack.indexOf(n);if(-1!==o){let t=e.stack.slice();return t.splice(o,1),t.push(n),r=t,{...e,stack:r}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,r=e.stack.indexOf(n);if(-1===r)return e;let o=e.stack.slice();return o.splice(r,1),{...e,stack:o}}};class T extends v{constructor(){super(...arguments),S(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),S(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}static new(){return new T({stack:[]})}reduce(e,t){return(0,w.Y)(t.type,P,e,t)}}const C=new a((()=>T.new()));var A=n(8418),R=n(5015);function M(e,t,n=y){return(0,A.useSyncExternalStoreWithSelector)((0,R._)((t=>e.subscribe(O,t))),(0,R._)((()=>e.state)),(0,R._)((()=>e.state)),(0,R._)(t),n)}function O(e){return e}var D=n(6339);function L(e,t){let n=(0,r.useId)(),o=C.get(t),[i,s]=M(o,(0,r.useCallback)((e=>[o.selectors.isTop(e,n),o.selectors.inStack(e,n)]),[o,n]));return(0,D.s)((()=>{if(e)return o.actions.push(n),()=>o.actions.pop(n)}),[o,e,n]),!!e&&(!s||i)}function I(e,t=("undefined"!=typeof document?document.defaultView:null),n){let r=L(e,"escape");s(t,"keydown",(e=>{r&&(e.defaultPrevented||e.key===o.D.Escape&&n(e))}))}var j=n(2211);let F=new Map,V=new Map;function N(e){var t;let n=null!=(t=V.get(e))?t:0;return V.set(e,n+1),0!==n||(F.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>function(e){var t;let n=null!=(t=V.get(e))?t:1;if(1===n?V.delete(e):V.set(e,n-1),1!==n)return;let r=F.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,F.delete(e))}(e)}function _(e,{allowed:t,disallowed:n}={}){let r=L(e,"inert-others");(0,D.s)((()=>{var e,o;if(!r)return;let i=(0,d.e)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&i.add(N(t));let s=null!=(o=null==t?void 0:t())?o:[];for(let e of s){if(!e)continue;let t=(0,j.T)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)s.some((t=>e.contains(t)))||i.add(N(e));n=n.parentElement}}return i.dispose}),[r,t,n])}var B=n(7280),z=n(4122);function U(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function H(){return U()||/Android/gi.test(window.navigator.userAgent)}function W(e,t,n,o){let s=(0,i.Y)(n);(0,r.useEffect)((()=>{if(e)return document.addEventListener(t,n,o),()=>document.removeEventListener(t,n,o);function n(e){s.current(e)}}),[e,t,o])}function q(e,t,n,o){let s=(0,i.Y)(n);(0,r.useEffect)((()=>{if(e)return window.addEventListener(t,n,o),()=>window.removeEventListener(t,n,o);function n(e){s.current(e)}}),[e,t,o])}function G(...e){return(0,r.useMemo)((()=>(0,j.T)(...e)),[...e])}var $=n(9528);let Y=(0,r.createContext)(null);function X({children:e,node:t}){let[n,o]=(0,r.useState)(null),i=K(null!=t?t:n);return r.createElement(Y.Provider,{value:i},e,null===i&&r.createElement($.j,{features:$.u.Hidden,ref:e=>{var t,n;if(e)for(let r of null!=(n=null==(t=(0,j.T)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&B.vq(r)&&null!=r&&r.contains(e)){o(r);break}}}))}function K(e=null){var t;return null!=(t=(0,r.useContext)(Y))?t:e}function Z(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=null!=(n=t.defaultView)?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),i=Math.max(0,e-o);n.style(r,"paddingRight",`${i}px`)}}}function J(){return U()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=(0,d.e)();n.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>n.dispose()))))}let o=null!=(n=window.scrollY)?n:window.pageYOffset,i=null;t.addEventListener(e,"click",(t=>{if(B.Lk(t.target))try{let n=t.target.closest("a");if(!n)return;let{hash:o}=new URL(n.href),s=e.querySelector(o);B.Lk(s)&&!r(s)&&(i=s)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(B.Lk(e.target)&&B.pv(e.target))if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(B.Lk(e.target)){if(B.A3(e.target))return;if(r(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;o!==t&&window.scrollTo(0,o),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)}))}))}}:{}}function Q(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let ee=function(e,t){let n=new Map,r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...o){let i=t[e].call(n,...o);i&&(n=i,r.forEach((e=>e())))}}}(0,{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,d.e)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:Q(n)},o=[J(),Z(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];o.forEach((({before:e})=>null==e?void 0:e(r))),o.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function te(e,t,n=()=>[document.body]){!function(e,t,n=()=>({containers:[]})){let o=function(e){return(0,r.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}(ee),i=t?o.get(t):void 0,s=!!i&&i.count>0;(0,D.s)((()=>{if(t&&e)return ee.dispatch("PUSH",t,n),()=>ee.dispatch("POP",t,n)}),[e,t])}(L(e,"scroll-lock"),t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}}))}ee.subscribe((()=>{let e=ee.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&ee.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&ee.dispatch("TEARDOWN",n)}}));var ne=n(4335),re=n(8975),oe=n(7442),ie=n(3149);let se=(0,r.createContext)(!1);function ae(){return(0,r.useContext)(se)}function le(e){return r.createElement(se.Provider,{value:e.force},e.children)}var ue=n(6206),ce=n(9124),de=n(6992),he=n(4610),fe=n(2924);function pe(e){let t=(0,R._)(e),n=(0,r.useRef)(!1);(0,r.useEffect)((()=>(n.current=!1,()=>{n.current=!0,(0,fe._)((()=>{n.current&&t()}))})),[t])}var me,ge=((me=ge||{})[me.Forwards=0]="Forwards",me[me.Backwards=1]="Backwards",me);function ve(e,t){let n=(0,r.useRef)([]),o=(0,R._)(e);(0,r.useEffect)((()=>{let e=[...n.current];for(let[r,i]of t.entries())if(n.current[r]!==i){let r=o(t,e);return n.current=t,r}}),[o,...t])}let ye=[];function be(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)B.vq(n.current)&&t.add(n.current);return t}!function(){function e(){"loading"!==document.readyState&&((()=>{function e(e){if(!B.Lk(e.target)||e.target===document.body||ye[0]===e.target)return;let t=e.target;t=t.closest(z.Uo),ye.unshift(null!=t?t:e.target),ye=ye.filter((e=>null!=e&&e.isConnected)),ye.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",e))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",e),e())}();var xe=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.RestoreFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(xe||{});let we=(0,ue.FX)((function(e,t){let n=(0,r.useRef)(null),o=(0,re.P)(n,t),{initialFocus:i,initialFocusFallback:a,containers:l,features:u=15,...c}=e;(0,ne.g)()||(u=0);let d=G(n);!function(e,{ownerDocument:t}){let n=!!(8&e),o=function(e=!0){let t=(0,r.useRef)(ye.slice());return ve((([e],[n])=>{!0===n&&!1===e&&(0,fe._)((()=>{t.current.splice(0)})),!1===n&&!0===e&&(t.current=ye.slice())}),[e,ye,t]),(0,R._)((()=>{var e;return null!=(e=t.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(n);ve((()=>{n||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&(0,z.pW)(o())}),[n]),pe((()=>{n&&(0,z.pW)(o())}))}(u,{ownerDocument:d});let h=function(e,{ownerDocument:t,container:n,initialFocus:o,initialFocusFallback:i}){let s=(0,r.useRef)(null),a=L(!!(1&e),"focus-trap#initial-focus"),l=(0,he.a)();return ve((()=>{if(0===e)return;if(!a)return void(null!=i&&i.current&&(0,z.pW)(i.current));let r=n.current;r&&(0,fe._)((()=>{if(!l.current)return;let n=null==t?void 0:t.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===n)return void(s.current=n)}else if(r.contains(n))return void(s.current=n);if(null!=o&&o.current)(0,z.pW)(o.current);else{if(16&e){if((0,z.CU)(r,z.BD.First|z.BD.AutoFocus)!==z.Me.Error)return}else if((0,z.CU)(r,z.BD.First)!==z.Me.Error)return;if(null!=i&&i.current&&((0,z.pW)(i.current),(null==t?void 0:t.activeElement)===i.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}s.current=null==t?void 0:t.activeElement}))}),[i,a,e]),s}(u,{ownerDocument:d,container:n,initialFocus:i,initialFocusFallback:a});!function(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let i=(0,he.a)(),a=!!(4&e);s(null==t?void 0:t.defaultView,"focus",(e=>{if(!a||!i.current)return;let t=be(r);B.sb(n.current)&&t.add(n.current);let s=o.current;if(!s)return;let l=e.target;B.sb(l)?Se(t,l)?(o.current=l,(0,z.pW)(l)):(e.preventDefault(),e.stopPropagation(),(0,z.pW)(s)):(0,z.pW)(o.current)}),!0)}(u,{ownerDocument:d,container:n,containers:l,previousActiveElement:h});let f=function(){let e=(0,r.useRef)(0);return q(!0,"keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),p=(0,R._)((e=>{if(!B.sb(n.current))return;let t=n.current;(0,w.Y)(f.current,{[ge.Forwards]:()=>{(0,z.CU)(t,z.BD.First,{skipElements:[e.relatedTarget,a]})},[ge.Backwards]:()=>{(0,z.CU)(t,z.BD.Last,{skipElements:[e.relatedTarget,a]})}})})),m=L(!!(2&u),"focus-trap#tab-lock"),g=(0,de.L)(),v=(0,r.useRef)(!1),y={ref:o,onKeyDown(e){"Tab"==e.key&&(v.current=!0,g.requestAnimationFrame((()=>{v.current=!1})))},onBlur(e){if(!(4&u))return;let t=be(l);B.sb(n.current)&&t.add(n.current);let r=e.relatedTarget;B.Lk(r)&&"true"!==r.dataset.headlessuiFocusGuard&&(Se(t,r)||(v.current?(0,z.CU)(n.current,(0,w.Y)(f.current,{[ge.Forwards]:()=>z.BD.Next,[ge.Backwards]:()=>z.BD.Previous})|z.BD.WrapAround,{relativeTo:e.target}):B.Lk(e.target)&&(0,z.pW)(e.target)))}},b=(0,ue.Ci)();return r.createElement(r.Fragment,null,m&&r.createElement($.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:$.u.Focusable}),b({ourProps:y,theirProps:c,defaultTag:"div",name:"FocusTrap"}),m&&r.createElement($.j,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:p,features:$.u.Focusable}))})),Ee=Object.assign(we,{features:xe});function Se(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var ke=n(5795),Pe=n(9851);let Te=r.Fragment,Ce=(0,ue.FX)((function(e,t){let{ownerDocument:n=null,...o}=e,i=(0,r.useRef)(null),s=(0,re.P)((0,re.a)((e=>{i.current=e})),t),a=G(i),l=null!=n?n:a,u=function(e){let t=ae(),n=(0,r.useContext)(Re),[o,i]=(0,r.useState)((()=>{var r;if(!t&&null!==n)return null!=(r=n.current)?r:null;if(Pe._.isServer)return null;let o=null==e?void 0:e.getElementById("headlessui-portal-root");if(o)return o;if(null===e)return null;let i=e.createElement("div");return i.setAttribute("id","headlessui-portal-root"),e.body.appendChild(i)}));return(0,r.useEffect)((()=>{null!==o&&(null!=e&&e.body.contains(o)||null==e||e.body.appendChild(o))}),[o,e]),(0,r.useEffect)((()=>{t||null!==n&&i(n.current)}),[n,i,t]),o}(l),[c]=(0,r.useState)((()=>{var e;return Pe._.isServer?null:null!=(e=null==l?void 0:l.createElement("div"))?e:null})),d=(0,r.useContext)(Me),h=(0,ne.g)();(0,D.s)((()=>{!u||!c||u.contains(c)||(c.setAttribute("data-headlessui-portal",""),u.appendChild(c))}),[u,c]),(0,D.s)((()=>{if(c&&d)return d.register(c)}),[d,c]),pe((()=>{var e;!u||!c||(B.Ll(c)&&u.contains(c)&&u.removeChild(c),u.childNodes.length<=0&&(null==(e=u.parentElement)||e.removeChild(u)))}));let f=(0,ue.Ci)();return h&&u&&c?(0,ke.createPortal)(f({ourProps:{ref:s},theirProps:o,slot:{},defaultTag:Te,name:"Portal"}),c):null})),Ae=r.Fragment,Re=(0,r.createContext)(null),Me=(0,r.createContext)(null);function Oe(){let e=(0,r.useContext)(Me),t=(0,r.useRef)([]),n=(0,R._)((n=>(t.current.push(n),e&&e.register(n),()=>o(n)))),o=(0,R._)((n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)})),i=(0,r.useMemo)((()=>({register:n,unregister:o,portals:t})),[n,o,t]);return[t,(0,r.useMemo)((()=>function({children:e}){return r.createElement(Me.Provider,{value:i},e)}),[i])]}let De=(0,ue.FX)((function(e,t){let n=(0,re.P)(t),{enabled:o=!0,ownerDocument:i,...s}=e,a=(0,ue.Ci)();return o?r.createElement(Ce,{...s,ownerDocument:i,ref:n}):a({ourProps:{ref:n},theirProps:s,slot:{},defaultTag:Te,name:"Portal"})})),Le=(0,ue.FX)((function(e,t){let{target:n,...o}=e,i={ref:(0,re.P)(t)},s=(0,ue.Ci)();return r.createElement(Re.Provider,{value:n},s({ourProps:i,theirProps:o,defaultTag:Ae,name:"Popover.Group"}))})),Ie=Object.assign(De,{Group:Le});var je=n(7832),Fe=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Fe||{}),Ve=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Ve||{});let Ne={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},_e=(0,r.createContext)(null);function Be(e){let t=(0,r.useContext)(_e);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Be),t}return t}function ze(e,t){return(0,w.Y)(t.type,Ne,e,t)}_e.displayName="DialogContext";let Ue=(0,ue.FX)((function(e,t){let n=(0,r.useId)(),{id:o=`headlessui-dialog-${n}`,open:s,onClose:a,initialFocus:l,role:u="dialog",autoFocus:c=!0,__demoMode:h=!1,unmount:f=!1,...p}=e,m=(0,r.useRef)(!1);u="dialog"===u||"alertdialog"===u?u:(m.current||(m.current=!0,console.warn(`Invalid role [${u}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let g=(0,ie.O_)();void 0===s&&null!==g&&(s=(g&ie.Uw.Open)===ie.Uw.Open);let v=(0,r.useRef)(null),y=(0,re.P)(v,t),b=G(v),x=s?0:1,[w,E]=(0,r.useReducer)(ze,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),S=(0,R._)((()=>a(!1))),k=(0,R._)((e=>E({type:0,id:e}))),P=!!(0,ne.g)()&&0===x,[T,A]=Oe(),O={get current(){var e;return null!=(e=w.panelRef.current)?e:v.current}},L=K(),{resolveContainers:j}=function({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=G(n),o=(0,R._)((()=>{var o,i;let s=[];for(let t of e)null!==t&&(B.vq(t)?s.push(t):"current"in t&&B.vq(t.current)&&s.push(t.current));if(null!=t&&t.current)for(let e of t.current)s.push(e);for(let e of null!=(o=null==r?void 0:r.querySelectorAll("html > *, body > *"))?o:[])e!==document.body&&e!==document.head&&B.vq(e)&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(i=null==n?void 0:n.getRootNode())?void 0:i.host))||s.some((t=>e.contains(t)))||s.push(e));return s}));return{resolveContainers:o,contains:(0,R._)((e=>o().some((t=>t.contains(e)))))}}({mainTreeNode:L,portals:T,defaultContainers:[O]}),F=null!==g&&(g&ie.Uw.Closing)===ie.Uw.Closing;_(!h&&!F&&P,{allowed:(0,R._)((()=>{var e,t;return[null!=(t=null==(e=v.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]})),disallowed:(0,R._)((()=>{var e;return[null!=(e=null==L?void 0:L.closest("body > *:not(#headlessui-portal-root)"))?e:null]}))});let V=C.get(null);(0,D.s)((()=>{if(P)return V.actions.push(o),()=>V.actions.pop(o)}),[V,o,P]);let N=M(V,(0,r.useCallback)((e=>V.selectors.isTop(e,o)),[V,o]));(function(e,t,n){let o=(0,i.Y)(n),s=(0,r.useCallback)((function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null===r||!r.getRootNode().contains(r)||!r.isConnected)return;let i=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of i)if(null!==t&&(t.contains(r)||e.composed&&e.composedPath().includes(t)))return;return!(0,z.Bm)(r,z.MZ.Loose)&&-1!==r.tabIndex&&e.preventDefault(),o.current(e,r)}),[o,t]),a=(0,r.useRef)(null);W(e,"pointerdown",(e=>{var t,n;H()||(a.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)}),!0),W(e,"pointerup",(e=>{if(H()||!a.current)return;let t=a.current;return a.current=null,s(e,(()=>t))}),!0);let l=(0,r.useRef)({x:0,y:0});W(e,"touchstart",(e=>{l.current.x=e.touches[0].clientX,l.current.y=e.touches[0].clientY}),!0),W(e,"touchend",(e=>{let t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY;if(!(Math.abs(t-l.current.x)>=30||Math.abs(n-l.current.y)>=30))return s(e,(()=>B.Lk(e.target)?e.target:null))}),!0),q(e,"blur",(e=>s(e,(()=>B.Gu(window.document.activeElement)?window.document.activeElement:null))),!0)})(N,j,(e=>{e.preventDefault(),S()})),I(N,null==b?void 0:b.defaultView,(e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),S()})),te(!h&&!F&&P,b,j),function(e,t,n){let o=(0,i.Y)((e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()}));(0,r.useEffect)((()=>{if(!e)return;let n=null===t?null:B.sb(t)?t:t.current;if(!n)return;let r=(0,d.e)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver((()=>o.current(n)));e.observe(n),r.add((()=>e.disconnect()))}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver((()=>o.current(n)));e.observe(n),r.add((()=>e.disconnect()))}return()=>r.dispose()}),[t,o,e])}(P,v,S);let[U,$]=(0,ce.rU)(),Y=(0,r.useMemo)((()=>[{dialogState:x,close:S,setTitleId:k,unmount:f},w]),[x,w,S,k,f]),X=(0,r.useMemo)((()=>({open:0===x})),[x]),Z={ref:y,id:o,role:u,tabIndex:-1,"aria-modal":h?void 0:0===x||void 0,"aria-labelledby":w.titleId,"aria-describedby":U,unmount:f},J=!function(){var e;let[t]=(0,r.useState)((()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null)),[n,o]=(0,r.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,D.s)((()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){o(e.matches)}}),[t]),n}(),Q=xe.None;P&&!h&&(Q|=xe.RestoreFocus,Q|=xe.TabLock,c&&(Q|=xe.AutoFocus),J&&(Q|=xe.InitialFocus));let ee=(0,ue.Ci)();return r.createElement(ie.$x,null,r.createElement(le,{force:!0},r.createElement(Ie,null,r.createElement(_e.Provider,{value:Y},r.createElement(Le,{target:v},r.createElement(le,{force:!1},r.createElement($,{slot:X},r.createElement(A,null,r.createElement(Ee,{initialFocus:l,initialFocusFallback:v,containers:j,features:Q},r.createElement(oe.e,{value:S},ee({ourProps:Z,theirProps:p,slot:X,defaultTag:He,features:We,visible:0===x,name:"Dialog"})))))))))))})),He="div",We=ue.Ac.RenderStrategy|ue.Ac.Static,qe=(0,ue.FX)((function(e,t){let{transition:n=!1,open:o,...i}=e,s=(0,ie.O_)(),a=e.hasOwnProperty("open")||null!==s,l=e.hasOwnProperty("onClose");if(!a&&!l)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!a)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!l)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!s&&"boolean"!=typeof e.open)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return void 0===o&&!n||i.static?r.createElement(X,null,r.createElement(Ue,{ref:t,open:o,...i})):r.createElement(X,null,r.createElement(je.e,{show:o,transition:n,unmount:i.unmount},r.createElement(Ue,{ref:t,...i})))})),Ge=(0,ue.FX)((function(e,t){let n=(0,r.useId)(),{id:o=`headlessui-dialog-panel-${n}`,transition:i=!1,...s}=e,[{dialogState:a,unmount:l},u]=Be("Dialog.Panel"),c=(0,re.P)(t,u.panelRef),d=(0,r.useMemo)((()=>({open:0===a})),[a]),h=(0,R._)((e=>{e.stopPropagation()})),f={ref:c,id:o,onClick:h},p=i?je._:r.Fragment,m=i?{unmount:l}:{},g=(0,ue.Ci)();return r.createElement(p,{...m},g({ourProps:f,theirProps:s,slot:d,defaultTag:"div",name:"Dialog.Panel"}))})),$e=((0,ue.FX)((function(e,t){let{transition:n=!1,...o}=e,[{dialogState:i,unmount:s}]=Be("Dialog.Backdrop"),a=(0,r.useMemo)((()=>({open:0===i})),[i]),l={ref:t,"aria-hidden":!0},u=n?je._:r.Fragment,c=n?{unmount:s}:{},d=(0,ue.Ci)();return r.createElement(u,{...c},d({ourProps:l,theirProps:o,slot:a,defaultTag:"div",name:"Dialog.Backdrop"}))})),(0,ue.FX)((function(e,t){let n=(0,r.useId)(),{id:o=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:s,setTitleId:a}]=Be("Dialog.Title"),l=(0,re.P)(t);(0,r.useEffect)((()=>(a(o),()=>a(null))),[o,a]);let u=(0,r.useMemo)((()=>({open:0===s})),[s]),c={ref:l,id:o};return(0,ue.Ci)()({ourProps:c,theirProps:i,slot:u,defaultTag:"h2",name:"Dialog.Title"})}))),Ye=Object.assign(qe,{Panel:Ge,Title:$e,Description:ce.VY})},8975:(e,t,n)=>{"use strict";n.d(t,{P:()=>a,a:()=>s});var r=n(1609),o=n(5015);let i=Symbol();function s(e,t=!0){return Object.assign(e,{[i]:t})}function a(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=(0,o._)((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[i])))?void 0:n}},9095:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"})})},9124:(e,t,n)=>{"use strict";n.d(t,{MM:()=>d,VY:()=>p,rU:()=>h});var r=n(1609),o=n(5015),i=n(6339),s=n(8975),a=n(5448),l=n(6206);let u=(0,r.createContext)(null);function c(){let e=(0,r.useContext)(u);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,c),e}return e}function d(){var e,t;return null!=(t=null==(e=(0,r.useContext)(u))?void 0:e.value)?t:void 0}function h(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=(0,o._)((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),i=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value})),[n,e.slot,e.name,e.props,e.value]);return r.createElement(u.Provider,{value:i},e.children)}),[t])]}u.displayName="DescriptionContext";let f=(0,l.FX)((function(e,t){let n=(0,r.useId)(),o=(0,a._)(),{id:u=`headlessui-description-${n}`,...d}=e,h=c(),f=(0,s.P)(t);(0,i.s)((()=>h.register(u)),[u,h.register]);let p=o||!1,m=(0,r.useMemo)((()=>({...h.slot,disabled:p})),[h.slot,p]),g={ref:f,...h.props,id:u};return(0,l.Ci)()({ourProps:g,theirProps:d,slot:m,defaultTag:"p",name:h.name||"Description"})})),p=Object.assign(f,{})},9148:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",d:"M17.375 15.656A6.47 6.47 0 0018.5 12a6.47 6.47 0 00-.943-3.374l-1.262.813c.448.749.705 1.625.705 2.561a4.977 4.977 0 01-.887 2.844l1.262.813zm-1.951 1.87l-.813-1.261A4.976 4.976 0 0112 17c-.958 0-1.852-.27-2.613-.736l-.812 1.261A6.47 6.47 0 0012 18.5a6.47 6.47 0 003.424-.974zm-8.8-1.87A6.47 6.47 0 015.5 12c0-1.235.344-2.39.943-3.373l1.261.812A4.977 4.977 0 007 12c0 1.056.328 2.036.887 2.843l-1.262.813zm2.581-7.803A4.977 4.977 0 0112 7c1.035 0 1.996.314 2.794.853l.812-1.262A6.47 6.47 0 0012 5.5a6.47 6.47 0 00-3.607 1.092l.812 1.261zM12 20a8 8 0 100-16 8 8 0 000 16zm0-4.5a3.5 3.5 0 100-7 3.5 3.5 0 000 7z",clipRule:"evenodd"})})},9179:(e,t,n)=>{"use strict";n.d(t,{P:()=>hs});var r=n(790),o=n(1609),i=n(5446);const s=(0,o.createContext)({});var a=n(6719),l=n(5128);const u=(0,o.createContext)({strict:!1}),c=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),d="data-"+c("framerAppearId"),h=["read","resolveKeyframes","update","preRender","render","postRender"];function f(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=h.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){i.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,o=!1,s=!1)=>{const a=s&&r?t:n;return o&&i.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{s=e,r?o=!0:(r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,o&&(o=!1,l.process(e)))}};return l}(i),e)),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=s,p=()=>{const i=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(p))};return{schedule:h.reduce(((t,i)=>{const a=s[i];return t[i]=(t,i=!1,s=!1)=>(n||(n=!0,r=!0,o.isProcessing||e(p)),a.schedule(t,i,s)),t}),{}),cancel:e=>{for(let t=0;t<h.length;t++)s[h[t]].cancel(e)},state:o,steps:s}}const{schedule:p,cancel:m}=f(queueMicrotask,!1);function g(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}const v=(0,o.createContext)({});let y=!1;function b(e,t,n,r,c){const{visualElement:h}=(0,o.useContext)(s),f=(0,o.useContext)(u),m=(0,o.useContext)(a.t),b=(0,o.useContext)(i.Q).reducedMotion,E=(0,o.useRef)();r=r||f.renderer,!E.current&&r&&(E.current=r(e,{visualState:t,parent:h,props:n,presenceContext:m,blockInitialAnimation:!!m&&!1===m.initial,reducedMotionConfig:b}));const S=E.current,k=(0,o.useContext)(v);!S||S.projection||!c||"html"!==S.type&&"svg"!==S.type||function(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:w(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:Boolean(s)||a&&g(a),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}(E.current,n,c,k),(0,o.useInsertionEffect)((()=>{S&&S.update(n,m)}));const P=(0,o.useRef)(Boolean(n[d]&&!window.HandoffComplete));return(0,l.E)((()=>{S&&(S.updateFeatures(),p.render(S.render),P.current&&S.animationState&&S.animationState.animateChanges())})),(0,o.useEffect)((()=>{S&&(!P.current&&S.animationState&&S.animationState.animateChanges(),P.current&&(P.current=!1,y||(y=!0,queueMicrotask(x))))})),S}function x(){window.HandoffComplete=!0}function w(e){if(e)return!1!==e.options.allowProjection?e.projection:w(e.parent)}function E(e,t,n){return(0,o.useCallback)((r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):g(n)&&(n.current=r))}),[t])}function S(e){return"string"==typeof e||Array.isArray(e)}function k(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const P=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],T=["initial",...P];function C(e){return k(e.animate)||T.some((t=>S(e[t])))}function A(e){return Boolean(C(e)||e.variants)}function R(e){return Array.isArray(e)?e.join(" "):e}const M={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"]},O={};for(const e in M)O[e]={isEnabled:t=>M[e].some((e=>!!t[e]))};var D=n(8288),L=n(9473);const I=Symbol.for("motionComponentSymbol");function j({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:a,Component:l}){e&&function(e){for(const t in e)O[t]={...O[t],...e[t]}}(e);const c=(0,o.forwardRef)((function(e,c){let d;const h={...(0,o.useContext)(i.Q),...e,layoutId:F(e)},{isStatic:f}=h,p=function(e){const{initial:t,animate:n}=function(e,t){if(C(e)){const{initial:t,animate:n}=e;return{initial:!1===t||S(t)?t:void 0,animate:S(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(s));return(0,o.useMemo)((()=>({initial:t,animate:n})),[R(t),R(n)])}(e),m=a(e,f);if(!f&&D.B){(0,o.useContext)(u).strict;const e=function(e){const{drag:t,layout:n}=O;if(!t&&!n)return{};const 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}}(h);d=e.MeasureLayout,p.visualElement=b(l,m,h,t,e.ProjectionNode)}return(0,r.jsxs)(s.Provider,{value:p,children:[d&&p.visualElement?(0,r.jsx)(d,{visualElement:p.visualElement,...h}):null,n(l,e,E(m,p.visualElement,c),m,f,p.visualElement)]})}));return c[I]=l,c}function F({layoutId:e}){const t=(0,o.useContext)(L.L).id;return t&&void 0!==e?t+"-"+e:e}function V(e){function t(t,n={}){return j(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const N=["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 _(e){return"string"==typeof e&&!e.includes("-")&&!!(N.indexOf(e)>-1||/[A-Z]/u.test(e))}const B={},z=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],U=new Set(z);function H(e,{layout:t,layoutId:n}){return U.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!B[e]||"opacity"===e)}const W=e=>Boolean(e&&e.getVelocity),q=(e,t)=>t&&"number"==typeof e?t.transform(e):e,G=(e,t,n)=>n>t?t:n<e?e:n,$={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Y={...$,transform:e=>G(0,1,e)},X={...$,default:1},K=e=>Math.round(1e5*e)/1e5,Z=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,J=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Q=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ee(e){return"string"==typeof e}const te=e=>({test:t=>ee(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),ne=te("deg"),re=te("%"),oe=te("px"),ie=te("vh"),se=te("vw"),ae={...re,parse:e=>re.parse(e)/100,transform:e=>re.transform(100*e)},le={...$,transform:Math.round},ue={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,size:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,rotate:ne,rotateX:ne,rotateY:ne,rotateZ:ne,scale:X,scaleX:X,scaleY:X,scaleZ:X,skew:ne,skewX:ne,skewY:ne,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:Y,originX:ae,originY:ae,originZ:oe,zIndex:le,backgroundPositionX:oe,backgroundPositionY:oe,fillOpacity:Y,strokeOpacity:Y,numOctaves:le},ce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},de=z.length,he=e=>t=>"string"==typeof t&&t.startsWith(e),fe=he("--"),pe=he("var(--"),me=e=>!!pe(e)&&ge.test(e.split("/*")[0].trim()),ge=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ve(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const e in t){const n=t[e];if(U.has(e))s=!0;else if(fe(e))o[e]=n;else{const t=q(n,ue[e]);e.startsWith("origin")?(a=!0,i[e]=t):r[e]=t}}if(t.transform||(s||n?r.transform=function(e,t,n){let r="",o=!0;for(let i=0;i<de;i++){const s=z[i],a=e[s];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(s.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const e=q(a,ue[s]);l||(o=!1,r+=`${ce[s]||s}(${e}) `),n&&(t[s]=e)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:e="50%",originY:t="50%",originZ:n=0}=i;r.transformOrigin=`${e} ${t} ${n}`}}function ye(e,t,n){for(const r in t)W(t[r])||H(r,n)||(e[r]=t[r])}function be(e,t){const n={},r=function(e,t){const n={};return ye(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,o.useMemo)((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return ve(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const xe=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 we(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||xe.has(e)}let Ee=e=>!we(e);try{(Se=require("@emotion/is-prop-valid").default)&&(Ee=e=>e.startsWith("on")?!we(e):Se(e))}catch(e){}var Se;function ke(e,t,n){return"string"==typeof e?e:oe.transform(t+n*e)}const Pe={offset:"stroke-dashoffset",array:"stroke-dasharray"},Te={offset:"strokeDashoffset",array:"strokeDasharray"};function Ce(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d){if(ve(e,u,d),c)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:f,dimensions:p}=e;h.transform&&(p&&(f.transform=h.transform),delete h.transform),p&&(void 0!==o||void 0!==i||f.transform)&&(f.transformOrigin=function(e,t,n){return`${ke(t,e.x,e.width)} ${ke(n,e.y,e.height)}`}(p,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==s&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Pe:Te;e[i.offset]=oe.transform(-r);const s=oe.transform(t),a=oe.transform(n);e[i.array]=`${s} ${a}`}(h,s,a,l,!1)}const Ae=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Re(e,t,n,r){const i=(0,o.useMemo)((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Ce(n,t,Ae(r),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};ye(t,e.style,e),i.style={...t,...i.style}}return i}function Me(e=!1){return(t,n,r,{latestValues:i},s)=>{const a=(_(t)?Re:be)(n,i,s,t),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(Ee(o)||!0===n&&we(o)||!t&&!we(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),u=t!==o.Fragment?{...l,...a,ref:r}:{},{children:c}=n,d=(0,o.useMemo)((()=>W(c)?c.get():c),[c]);return(0,o.createElement)(t,{...u,children:d})}}function Oe(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const De=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 Le(e,t,n,r){Oe(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(De.has(n)?n:c(n),t.attrs[n])}function Ie(e,t,n){var r;const{style:o}=e,i={};for(const s in o)(W(o[s])||t.style&&W(t.style[s])||H(s,e)||void 0!==(null===(r=null==n?void 0:n.getValue(s))||void 0===r?void 0:r.liveStyle))&&(i[s]=o[s]);return n&&o&&"string"==typeof o.willChange&&(n.applyWillChange=!1),i}function je(e,t,n){const r=Ie(e,t,n);for(const n in e)(W(e[n])||W(t[n]))&&(r[-1!==z.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}function Fe(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function Ve(e,t,n,r){if("function"==typeof t){const[o,i]=Fe(r);t=t(void 0!==n?n:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=Fe(r);t=t(void 0!==n?n:e.custom,o,i)}return t}var Ne=n(8601);const _e=e=>Array.isArray(e);function Be(e){const t=W(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const ze=new Set(["opacity","clipPath","filter","transform"]);function Ue(e){return U.has(e)?"transform":ze.has(e)?c(e):void 0}function He(e,t){-1===e.indexOf(t)&&e.push(t)}function We(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const qe=e=>(t,n)=>{const r=(0,o.useContext)(s),i=(0,o.useContext)(a.t),l=()=>function({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},o,i,s,a){const l={latestValues:Ye(o,i,s,!a&&e,t),renderState:n()};return r&&(l.mount=e=>r(o,e,l)),l}(e,t,r,i,n);return n?l():(0,Ne.M)(l)};function Ge(e,t){const n=Ue(t);n&&He(e,n)}function $e(e,t,n){const r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){const o=Ve(e,r[t]);if(o){const{transitionEnd:e,transition:t,...r}=o;n(r,e)}}}function Ye(e,t,n,r,o){var i;const s={},a=[],l=r&&void 0===(null===(i=e.style)||void 0===i?void 0:i.willChange),u=o(e,{});for(const e in u)s[e]=Be(u[e]);let{initial:c,animate:d}=e;const h=C(e),f=A(e);t&&f&&!h&&!1!==e.inherit&&(void 0===c&&(c=t.initial),void 0===d&&(d=t.animate));let p=!!n&&!1===n.initial;p=p||!1===c;const m=p?d:c;return m&&"boolean"!=typeof m&&!k(m)&&$e(e,m,((e,t)=>{for(const t in e){let n=e[t];Array.isArray(n)&&(n=n[p?n.length-1:0]),null!==n&&(s[t]=n)}for(const e in t)s[e]=t[e]})),l&&(d&&!1!==c&&!k(d)&&$e(e,d,(e=>{for(const t in e)Ge(a,t)})),a.length&&(s.willChange=a.join(","))),s}var Xe=n(3659);const{schedule:Ke,cancel:Ze,state:Je,steps:Qe}=f("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Xe.l,!0),et={useVisualState:qe({scrapeMotionValuesFromProps:je,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),onMount:(e,t,{renderState:n,latestValues:r})=>{Ke.read((()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}})),Ke.render((()=>{Ce(n,r,Ae(t.tagName),e.transformTemplate),Le(t,n)}))}})},tt={useVisualState:qe({applyWillChange:!0,scrapeMotionValuesFromProps:Ie,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})})};function nt(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const rt=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ot(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}function it(e,t,n,r){return nt(e,t,(e=>t=>rt(t)&&e(t,ot(t)))(n),r)}const st=(e,t)=>n=>t(e(n)),at=(...e)=>e.reduce(st);function lt(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}const ut=lt("dragHorizontal"),ct=lt("dragVertical");function dt(e){let t=!1;if("y"===e)t=ct();else if("x"===e)t=ut();else{const e=ut(),n=ct();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function ht(){const e=dt(!0);return!e||(e(),!1)}class ft{constructor(e){this.isMounted=!1,this.node=e}update(){}}function pt(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd";return it(e.current,n,((n,o)=>{if("touch"===n.pointerType||ht())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);const s=i[r];s&&Ke.postRender((()=>s(n,o)))}),{passive:!e.getProps()[r]})}const mt=(e,t)=>!!t&&(e===t||mt(e,t.parentElement));function gt(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,ot(n))}const vt=new WeakMap,yt=new WeakMap,bt=e=>{const t=vt.get(e.target);t&&t(e)},xt=e=>{e.forEach(bt)};const wt={some:0,all:1},Et={inView:{Feature:class extends ft{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:wt[r]};return function(e,t,n){const r=function({root:e,...t}){const n=e||document;yt.has(n)||yt.set(n,{});const r=yt.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(xt,{root:e,...t})),r[o]}(t);return vt.set(e,n),r.observe(e),()=>{vt.delete(e),r.unobserve(e)}}(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{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(){}}},tap:{Feature:class extends ft{constructor(){super(...arguments),this.removeStartListeners=Xe.l,this.removeEndListeners=Xe.l,this.removeAccessibleListeners=Xe.l,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),r=it(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r,globalTapTarget:o}=this.node.getProps(),i=o||mt(this.node.current,e.target)?n:r;i&&Ke.update((()=>i(e,t)))}),{passive:!(n.onTap||n.onPointerUp)}),o=it(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=at(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=nt(this.node.current,"keydown",(e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=nt(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&gt("up",((e,t)=>{const{onTap:n}=this.node.getProps();n&&Ke.postRender((()=>n(e,t)))}))})),gt("down",((e,t)=>{this.startPress(e,t)})))})),t=nt(this.node.current,"blur",(()=>{this.isPressing&&gt("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=at(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Ke.postRender((()=>n(e,t)))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ht()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Ke.postRender((()=>n(e,t)))}mount(){const e=this.node.getProps(),t=it(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=nt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=at(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends ft{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=at(nt(this.node.current,"focus",(()=>this.onFocus())),nt(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends ft{mount(){this.unmount=at(pt(this.node,!0),pt(this.node,!1))}unmount(){}}}};function St(e,t){if(!Array.isArray(t))return!1;const 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 kt(e,t,n){const r=e.getProps();return Ve(r,t,void 0!==n?n:r.custom,e)}const Pt=e=>1e3*e,Tt=e=>e/1e3,Ct={type:"spring",stiffness:500,damping:25,restSpeed:10},At={type:"keyframes",duration:.8},Rt={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Mt=(e,{keyframes:t})=>t.length>2?At:U.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Ct:Rt;function Ot(e,t){return e[t]||e.default||e}const Dt=e=>null!==e;function Lt(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(Dt),i=t&&"loop"!==n&&t%2==1?0:o.length-1;return i&&void 0!==r?r:o[i]}let It;function jt(){It=void 0}const Ft={now:()=>(void 0===It&&Ft.set(Je.isProcessing?Je.timestamp:performance.now()),It),set:e=>{It=e,queueMicrotask(jt)}},Vt=e=>/^0[^.\s]+$/u.test(e);var Nt=n(5238);const _t=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Bt=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function zt(e,t,n=1){(0,Nt.V)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=Bt.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${null!=n?n:r}`,o]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const e=i.trim();return _t(e)?parseFloat(e):e}return me(o)?zt(o,t,n+1):o}const Ut=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ht=e=>e===$||e===oe,Wt=(e,t)=>parseFloat(e.split(", ")[t]),qt=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return Wt(o[1],t);{const t=r.match(/^matrix\((.+)\)$/u);return t?Wt(t[1],e):0}},Gt=new Set(["x","y","z"]),$t=z.filter((e=>!Gt.has(e))),Yt={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:qt(4,13),y:qt(5,14)};Yt.translateX=Yt.x,Yt.translateY=Yt.y;const Xt=e=>t=>t.test(e),Kt=[$,oe,re,ne,se,ie,{test:e=>"auto"===e,parse:e=>e}],Zt=e=>Kt.find(Xt(e)),Jt=new Set;let Qt=!1,en=!1;function tn(){if(en){const e=Array.from(Jt).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return $t.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}en=!1,Qt=!1,Jt.forEach((e=>e.complete())),Jt.clear()}function nn(){Jt.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(en=!0)}))}class rn{constructor(e,t,n,r,o,i=!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=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Jt.add(this),Qt||(Qt=!0,Ke.read(nn),Ke.resolveKeyframes(tn))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let o=0;o<e.length;o++)if(null===e[o])if(0===o){const o=null==r?void 0:r.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const r=n.readValue(t,i);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=i),r&&void 0===o&&r.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Jt.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Jt.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const on=(e,t)=>n=>Boolean(ee(n)&&Q.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),sn=(e,t,n)=>r=>{if(!ee(r))return r;const[o,i,s,a]=r.match(Z);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},an={...$,transform:e=>Math.round((e=>G(0,255,e))(e))},ln={test:on("rgb","red"),parse:sn("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+an.transform(e)+", "+an.transform(t)+", "+an.transform(n)+", "+K(Y.transform(r))+")"},un={test:on("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:ln.transform},cn={test:on("hsl","hue"),parse:sn("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+re.transform(K(t))+", "+re.transform(K(n))+", "+K(Y.transform(r))+")"},dn={test:e=>ln.test(e)||un.test(e)||cn.test(e),parse:e=>ln.test(e)?ln.parse(e):cn.test(e)?cn.parse(e):un.parse(e),transform:e=>ee(e)?e:e.hasOwnProperty("red")?ln.transform(e):cn.transform(e)},hn="number",fn="color",pn=/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 mn(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const s=t.replace(pn,(e=>(dn.test(e)?(r.color.push(i),o.push(fn),n.push(dn.parse(e))):e.startsWith("var(")?(r.var.push(i),o.push("var"),n.push(e)):(r.number.push(i),o.push(hn),n.push(parseFloat(e))),++i,"${}"))).split("${}");return{values:n,split:s,indexes:r,types:o}}function gn(e){return mn(e).values}function vn(e){const{split:t,types:n}=mn(e),r=t.length;return e=>{let o="";for(let i=0;i<r;i++)if(o+=t[i],void 0!==e[i]){const t=n[i];o+=t===hn?K(e[i]):t===fn?dn.transform(e[i]):e[i]}return o}}const yn=e=>"number"==typeof e?0:e,bn={test:function(e){var t,n;return isNaN(e)&&ee(e)&&((null===(t=e.match(Z))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(J))||void 0===n?void 0:n.length)||0)>0},parse:gn,createTransformer:vn,getAnimatableNone:function(e){const t=gn(e);return vn(e)(t.map(yn))}},xn=new Set(["brightness","contrast","saturate","opacity"]);function wn(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(Z)||[];if(!r)return e;const o=n.replace(r,"");let i=xn.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const En=/\b([a-z-]*)\(.*?\)/gu,Sn={...bn,getAnimatableNone:e=>{const t=e.match(En);return t?t.map(wn).join(" "):e}},kn={...ue,color:dn,backgroundColor:dn,outlineColor:dn,fill:dn,stroke:dn,borderColor:dn,borderTopColor:dn,borderRightColor:dn,borderBottomColor:dn,borderLeftColor:dn,filter:Sn,WebkitFilter:Sn},Pn=e=>kn[e];function Tn(e,t){let n=Pn(e);return n!==Sn&&(n=bn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Cn=new Set(["auto","none","0"]);class An extends rn{constructor(e,t,n,r){super(e,t,n,r,null==r?void 0:r.owner,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),me(r))){const o=zt(r,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Ut.has(n)||2!==e.length)return;const[r,o]=e,i=Zt(r),s=Zt(o);if(i!==s)if(Ht(i)&&Ht(s))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||Vt(r))&&n.push(t);var r;n.length&&function(e,t,n){let r,o=0;for(;o<e.length&&!r;){const t=e[o];"string"==typeof t&&!Cn.has(t)&&mn(t).values.length&&(r=e[o]),o++}if(r&&n)for(const o of t)e[o]=Tn(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Yt[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,s=r[i];r[i]=Yt[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}function Rn(e){let t;return()=>(void 0===t&&(t=e()),t)}const Mn=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!bn.test(e)&&"0"!==e||e.startsWith("url(")));class On{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:o,repeatType:i,...s},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(nn(),tn()),this._resolved}onKeyframesResolved(e,t){this.hasAttemptedResolve=!0;const{name:n,type:r,velocity:o,delay:i,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(e,t,n,r){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],s=Mn(o,t),a=Mn(i,t);return(0,Nt.$)(s===a,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!(!s||!a)&&(function(e){const 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,o)){if(!i)return null==a||a(Lt(e,this.options,t)),null==s||s(),void this.resolveFinishedPromise();this.options.duration=0}const 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 Dn(e,t){return t?e*(1e3/t):0}function Ln(e,t,n){const r=Math.max(t-5,0);return Dn(n-e(r),t-r)}const In=12;function jn(e,t){return e*Math.sqrt(1-t*t)}const Fn=["duration","bounce"],Vn=["stiffness","damping","mass"];function Nn(e,t){return t.some((t=>void 0!==e[t]))}function Bn({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Nn(e,Vn)&&Nn(e,Fn)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;(0,Nt.$)(e<=Pt(10),"Spring duration must be 10 seconds or less");let s=1-t;s=G(.05,1,s),e=G(.01,10,Tt(e)),s<1?(o=t=>{const r=t*s,o=r*e;return.001-(r-n)/jn(t,s)*Math.exp(-o)},i=t=>{const r=t*s*e,i=r*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-r),u=jn(Math.pow(t,2),s);return(.001-o(t)>0?-1:1)*((i-a)*l)/u}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let r=n;for(let n=1;n<In;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Pt(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(a,2)*r;return{stiffness:t,damping:2*s*Math.sqrt(r*t),duration:e}}}(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...r,velocity:-Tt(r.velocity||0)}),f=d||0,p=l/(2*Math.sqrt(a*u)),m=i-o,g=Tt(Math.sqrt(a/u)),v=Math.abs(m)<5;let y;if(n||(n=v?.01:2),t||(t=v?.005:.5),p<1){const e=jn(g,p);y=t=>{const n=Math.exp(-p*g*t);return i-n*((f+p*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===p)y=e=>i-Math.exp(-g*e)*(m+(f+g*m)*e);else{const e=g*Math.sqrt(p*p-1);y=t=>{const n=Math.exp(-p*g*t),r=Math.min(e*t,300);return i-n*((f+p*g*m)*Math.sinh(r)+e*m*Math.cosh(r))/e}}return{calculatedDuration:h&&c||null,next:e=>{const r=y(e);if(h)s.done=e>=c;else{let o=f;0!==e&&(o=p<1?Ln(y,e,r):0);const a=Math.abs(o)<=n,l=Math.abs(i-r)<=t;s.done=a&&l}return s.value=s.done?i:r,s}}}function zn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],h={done:!1,value:d},f=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let p=n*t;const m=d+p,g=void 0===s?m:s(m);g!==m&&(p=g-d);const v=e=>-p*Math.exp(-e/r),y=e=>g+v(e),b=e=>{const t=v(e),n=y(e);h.done=Math.abs(t)<=u,h.value=h.done?g:n};let x,w;const E=e=>{var t;t=h.value,(void 0!==a&&t<a||void 0!==l&&t>l)&&(x=e,w=Bn({keyframes:[h.value,f(h.value)],velocity:Ln(y,e,h.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return E(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,b(e),E(e)),void 0!==x&&e>=x?w.next(e-x):(!t&&b(e),h)}}}const Un=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function Hn(e,t,n,r){if(e===t&&n===r)return Xe.l;return o=>0===o||1===o?o:Un(function(e,t,n,r,o){let i,s,a=0;do{s=t+(n-t)/2,i=Un(s,r,o)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(o,0,1,e,n),t,r)}const Wn=Hn(.42,0,1,1),qn=Hn(0,0,.58,1),Gn=Hn(.42,0,.58,1),$n=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Yn=e=>t=>1-e(1-t),Xn=e=>1-Math.sin(Math.acos(e)),Kn=Yn(Xn),Zn=$n(Xn),Jn=Hn(.33,1.53,.69,.99),Qn=Yn(Jn),er=$n(Qn),tr={linear:Xe.l,easeIn:Wn,easeInOut:Gn,easeOut:qn,circIn:Xn,circInOut:Zn,circOut:Kn,backIn:Qn,backInOut:er,backOut:Jn,anticipate:e=>(e*=2)<1?.5*Qn(e):.5*(2-Math.pow(2,-10*(e-1)))},nr=e=>{if(Array.isArray(e)){(0,Nt.V)(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return Hn(t,n,r,o)}return"string"==typeof e?((0,Nt.V)(void 0!==tr[e],`Invalid easing type '${e}'`),tr[e]):e},rr=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},or=(e,t,n)=>e+(t-e)*n;function ir(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function sr(e,t){return n=>n>0?t:e}const ar=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},lr=[un,ln,cn];function ur(e){const t=(n=e,lr.find((e=>e.test(n))));var n;if((0,Nt.$)(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let r=t.parse(e);return t===cn&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,s=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;o=ir(a,r,e+1/3),i=ir(a,r,e),s=ir(a,r,e-1/3)}else o=i=s=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*s),alpha:r}}(r)),r}const cr=(e,t)=>{const n=ur(e),r=ur(t);if(!n||!r)return sr(e,t);const o={...n};return e=>(o.red=ar(n.red,r.red,e),o.green=ar(n.green,r.green,e),o.blue=ar(n.blue,r.blue,e),o.alpha=or(n.alpha,r.alpha,e),ln.transform(o))},dr=new Set(["none","hidden"]);function hr(e,t){return n=>or(e,t,n)}function fr(e){return"number"==typeof e?hr:"string"==typeof e?me(e)?sr:dn.test(e)?cr:gr:Array.isArray(e)?pr:"object"==typeof e?dn.test(e)?cr:mr:sr}function pr(e,t){const n=[...e],r=n.length,o=e.map(((e,n)=>fr(e)(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function mr(e,t){const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=fr(e[o])(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const gr=(e,t)=>{const n=bn.createTransformer(t),r=mn(e),o=mn(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?dr.has(e)&&!o.values.length||dr.has(t)&&!r.values.length?function(e,t){return dr.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):at(pr(function(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],a=e.indexes[s][o[s]],l=null!==(n=e.values[a])&&void 0!==n?n:0;r[i]=l,o[s]++}return r}(r,o),o.values),n):((0,Nt.$)(!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.`),sr(e,t))};function vr(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?or(e,t,n):fr(e)(e,t)}function yr({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(nr):nr(r),i={done:!1,value:t[0]},s=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:function(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=rr(0,t,r);e.push(or(n,1,o))}}(t,e.length-1),t}(t),e),a=function(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if((0,Nt.V)(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=function(e,t,n){const r=[],o=n||vr,i=e.length-1;for(let n=0;n<i;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||Xe.l:t;i=at(e,i)}r.push(i)}return r}(t,r,o),a=s.length,l=t=>{let n=0;if(a>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=rr(e[n],e[n+1],t);return s[n](r)};return n?t=>l(G(e[0],e[i-1],t)):l}(s,t,{ease:Array.isArray(o)?o:(l=t,u=o,l.map((()=>u||Gn)).splice(0,l.length-1))});var l,u;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}const br=e=>{const t=({timestamp:t})=>e(t);return{start:()=>Ke.update(t,!0),stop:()=>Ze(t),now:()=>Je.isProcessing?Je.timestamp:Ft.now()}},xr={decay:zn,inertia:zn,tween:yr,keyframes:yr,spring:Bn},wr=e=>e/100;class Er extends On{constructor({KeyframeResolver:e=rn,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:n,motionValue:r,keyframes:o}=this.options,i=(e,t)=>this.onKeyframesResolved(e,t);n&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(o,i,n,r):this.resolver=new e(o,i,n,r),this.resolver.scheduleResolve()}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:i=0}=this.options,s=xr[t]||yr;let a,l;s!==yr&&"number"!=typeof e[0]&&(a=at(wr,vr(e[0],e[1])),e=[0,100]);const u=s({...this.options,keyframes:e});"mirror"===o&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-i})),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));const{calculatedDuration:c}=u,d=c+r;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(n+1)-r}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:r,generator:o,mirroredGenerator:i,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return o.next(0);const{delay:d,repeat:h,repeatType:f,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;const 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=o;if(h){const e=Math.min(this.currentTime,u)/c;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,h+1),Boolean(t%2)&&("reverse"===f?(n=1-n,p&&(n-=p/c)):"mirror"===f&&(b=i)),y=G(0,1,n)*c}const x=v?{done:!1,value:a[0]}:b.next(y);s&&(x.value=s(x.value));let{done:w}=x;v||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return E&&void 0!==r&&(x.value=Lt(a,this.options,r)),m&&m(x.value),E&&this.finish(),x}get duration(){const{resolved:e}=this;return e?Tt(e.calculatedDuration):0}get time(){return Tt(this.currentTime)}set time(e){e=Pt(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){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Tt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=br,onPlay:t}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=n),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{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)}}const Sr=e=>Array.isArray(e)&&"number"==typeof e[0];function kr(e){return Boolean(!e||"string"==typeof e&&e in Tr||Sr(e)||Array.isArray(e)&&e.every(kr))}const Pr=([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:Pr([0,.65,.55,1]),circOut:Pr([.55,0,1,.45]),backIn:Pr([.31,.01,.66,-.59]),backOut:Pr([.33,1.53,.69,.99])};function Cr(e){return Ar(e)||Tr.easeOut}function Ar(e){return e?Sr(e)?Pr(e):Array.isArray(e)?e.map(Cr):Tr[e]:void 0}const Rr=Rn((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));class Mr extends On{constructor(e){super(e);const{name:t,motionValue:n,keyframes:r}=this.options;this.resolver=new An(r,((e,t)=>this.onKeyframesResolved(e,t)),t,n),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:o,ease:i,type:s,motionValue:a,name:l}=this.options;if(!(null===(n=a.owner)||void 0===n?void 0:n.current))return!1;if("spring"===(u=this.options).type||!kr(u.ease)){const{onComplete:t,onUpdate:n,motionValue:a,...l}=this.options,u=function(e,t){const n=new Er({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<2e4;)r=n.sample(i),o.push(r.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,l);1===(e=u.keyframes).length&&(e[1]=e[0]),r=u.duration,o=u.times,i=u.ease,s="keyframes"}var u;const c=function(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=Ar(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(a.owner.current,l,e,{...this.options,duration:r,times:o,ease:i});return c.startTime=Ft.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:n}=this.options;a.set(Lt(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:o,type:s,ease:i,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return Tt(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return Tt(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=Pt(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return Xe.l;const{animation:n}=t;n.timeline=e,n.onfinish=null}else this.pendingTimeline=e;return Xe.l}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:r,type:o,ease:i,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:a,...l}=this.options,u=new Er({...l,keyframes:n,duration:r,type:o,ease:i,times:s,isGenerator:!0}),c=Pt(this.time);e.setWithVelocity(u.sample(c-10).value,u.sample(c).value,10)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:s}=e;return Rr()&&n&&ze.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==o&&0!==i&&"inertia"!==s}}const Or=Rn((()=>void 0!==window.ScrollTimeline));class Dr{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){const t=this.animations.map((t=>{if(!Or()||!t.attachTimeline)return t.pause(),function(e,n){let r;const o=()=>{const{currentTime:e}=n,o=(null===e?0:e.value)/100;r!==o&&(e=>{t.time=t.duration*e})(o),r=o};return Ke.update(o,!0),()=>Ze(o)}(0,e);t.attachTimeline(e)}));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 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")}}const Lr=(e,t,n,r={},o,i,s)=>a=>{const l=Ot(r,e)||{},u=l.delay||r.delay||0;let{elapsed:c=0}=r;c-=Pt(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:()=>{a(),l.onComplete&&l.onComplete(),s&&s()},onStop:s,name:e,motionValue:t,element:i?void 0:o};(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(l)||(d={...d,...Mt(e,d)}),d.duration&&(d.duration=Pt(d.duration)),d.repeatDelay&&(d.repeatDelay=Pt(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if((!1===d.type||0===d.duration&&!d.repeatDelay)&&(d.duration=0,0===d.delay&&(h=!0)),h&&!i&&void 0!==t.get()){const e=Lt(d.keyframes,l);if(void 0!==e)return Ke.update((()=>{d.onUpdate(e),d.onComplete()})),new Dr([])}return!i&&Mr.supports(d)?new Mr(d):new Er(d)};class Ir{constructor(){this.subscriptions=[]}add(e){return He(this.subscriptions,e),()=>We(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const jr={current:void 0};class Fr{constructor(e,t={}){this.version="11.3.21",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=Ft.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){var t;this.current=e,this.updatedAt=Ft.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}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 Ir);const n=this.events[e].add(t);return"change"===e?()=>{n(),Ke.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return jr.current&&jr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=Ft.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Dn(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Vr(e,t){return new Fr(e,t)}function Nr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Vr(n))}function _r(e){return e.getProps()[d]}class Br extends Fr{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){const t=Ue(e);if(!t)return;const 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;const e=this.counts.get(t)-1;this.counts.set(t,e),0===e&&(We(this.output,t),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function zr(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");return r||(null===(n=e.props.style)||void 0===n?void 0:n.willChange)||(r=new Br("auto"),e.addValue("willChange",r)),o=r,Boolean(W(o)&&o.add)?r.add(t):void 0;var o}function Ur({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function Hr(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);const u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(const t in l){const r=e.getValue(t,null!==(i=e.latestValues[t])&&void 0!==i?i:null),o=l[t];if(void 0===o||c&&Ur(c,t))continue;const a={delay:n,elapsed:0,...Ot(s||{},t)};let d=!1;if(window.HandoffAppearAnimations){const n=_r(e);if(n){const e=window.HandoffAppearAnimations(n,t,r,Ke);null!==e&&(a.elapsed=e,d=!0)}}r.start(Lr(t,r,o,e.shouldReduceMotion&&U.has(t)?{type:!1}:a,e,d,zr(e,t)));const h=r.animation;h&&u.push(h)}return a&&Promise.all(u).then((()=>{Ke.update((()=>{a&&function(e,t){const n=kt(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const t in i)Nr(e,t,(s=i[t],_e(s)?s[s.length-1]||0:s));var s}(e,a)}))})),u}function Wr(e,t,n={}){var r;const o=kt(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const s=o?()=>Promise.all(Hr(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(qr).forEach(((e,r)=>{e.notify("AnimationStart",t),s.push(Wr(e,t,{...i,delay:n+l(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(s)}(e,t,o+r,s,a,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then((()=>t()))}return Promise.all([s(),a(n.delay)])}function qr(e,t){return e.sortNodePosition(t)}const Gr=[...P].reverse(),$r=P.length;function Yr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Xr(){return{animate:Yr(!0),whileInView:Yr(),whileHover:Yr(),whileTap:Yr(),whileDrag:Yr(),whileFocus:Yr(),exit:Yr()}}let Kr=0;const Zr={animation:{Feature:class extends ft{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=function(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>Wr(e,t,n)));r=Promise.all(o)}else if("string"==typeof t)r=Wr(e,t,n);else{const o="function"==typeof t?kt(e,t,n.custom):t;r=Promise.all(Hr(e,o,n))}return r.then((()=>{e.notify("AnimationComplete",t)}))}(e,t,n))))}(e),n=Xr(),r=!0;const o=t=>(n,r)=>{var o;const i=kt(e,r,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){const{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function i(i){const s=e.getProps(),a=e.getVariantContext(!0)||{},l=[],u=new Set;let c={},d=1/0;for(let t=0;t<$r;t++){const p=Gr[t],m=n[p],g=void 0!==s[p]?s[p]:a[p],v=S(g),y=p===i?m.isActive:null;!1===y&&(d=t);let b=g===a[p]&&g!==s[p]&&v;if(b&&r&&e.manuallyAnimateOnMount&&(b=!1),m.protectedKeys={...c},!m.isActive&&null===y||!g&&!m.prevProp||k(g)||"boolean"==typeof g)continue;let x=(h=m.prevProp,("string"==typeof(f=g)?f!==h:!!Array.isArray(f)&&!St(f,h))||p===i&&m.isActive&&!b&&v||t>d&&v),w=!1;const E=Array.isArray(g)?g:[g];let P=E.reduce(o(p),{});!1===y&&(P={});const{prevResolvedValues:T={}}=m,C={...T,...P},A=t=>{x=!0,u.has(t)&&(w=!0,u.delete(t)),m.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in C){const t=P[e],n=T[e];if(c.hasOwnProperty(e))continue;let r=!1;r=_e(t)&&_e(n)?!St(t,n):t!==n,r?null!=t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):m.protectedKeys[e]=!0}m.prevProp=g,m.prevResolvedValues=P,m.isActive&&(c={...c,...P}),r&&e.blockInitialAnimation&&(x=!1),!x||b&&!w||l.push(...E.map((e=>({animation:e,options:{type:p}}))))}var h,f;if(u.size){const t={};u.forEach((n=>{const r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=null!=r?r:null})),l.push({animation:t})}let p=Boolean(l.length);return!r||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(p=!1),r=!1,p?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,r){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;const s=i(t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Xr(),r=!0}}}(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();k(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends ft{constructor(){super(...arguments),this.id=Kr++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},Jr=(e,t)=>Math.abs(e-t);class Qr{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=no(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Jr(e.x,t.x),r=Jr(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=Je;this.history.push({...r,timestamp:o});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=eo(t,this.transformPagePoint),Ke.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=no("pointercancel"===e.type?this.lastMoveEventInfo:eo(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!rt(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const i=eo(ot(e),this.transformPagePoint),{point:s}=i,{timestamp:a}=Je;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=t;l&&l(e,no(i,this.history)),this.removeListeners=at(it(this.contextWindow,"pointermove",this.handlePointerMove),it(this.contextWindow,"pointerup",this.handlePointerUp),it(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Ze(this.updatePoint)}}function eo(e,t){return t?{point:t(e.point)}:e}function to(e,t){return{x:e.x-t.x,y:e.y-t.y}}function no({point:e},t){return{point:e,delta:to(e,oo(t)),offset:to(e,ro(t)),velocity:io(t,.1)}}function ro(e){return e[0]}function oo(e){return e[e.length-1]}function io(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=oo(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Pt(t)));)n--;if(!r)return{x:0,y:0};const i=Tt(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function so(e){return e.max-e.min}function ao(e,t,n,r=.5){e.origin=r,e.originPoint=or(t.min,t.max,e.origin),e.scale=so(n)/so(t),e.translate=or(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 lo(e,t,n,r){ao(e.x,t.x,n.x,r?r.originX:void 0),ao(e.y,t.y,n.y,r?r.originY:void 0)}function uo(e,t,n){e.min=n.min+t.min,e.max=e.min+so(t)}function co(e,t,n){e.min=t.min-n.min,e.max=e.min+so(t)}function ho(e,t,n){co(e.x,t.x,n.x),co(e.y,t.y,n.y)}function fo(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 po(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}}const mo=.35;function go(e,t,n){return{min:vo(e,t),max:vo(e,n)}}function vo(e,t){return"number"==typeof e?e:e[t]||0}const yo=()=>({x:{min:0,max:0},y:{min:0,max:0}});function bo(e){return[e("x"),e("y")]}function xo({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function wo(e){return void 0===e||1===e}function Eo({scale:e,scaleX:t,scaleY:n}){return!wo(e)||!wo(t)||!wo(n)}function So(e){return Eo(e)||ko(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ko(e){return Po(e.x)||Po(e.y)}function Po(e){return e&&"0%"!==e}function To(e,t,n){return n+t*(e-n)}function Co(e,t,n,r,o){return void 0!==o&&(e=To(e,o,r)),To(e,n,r)+t}function Ao(e,t=0,n=1,r,o){e.min=Co(e.min,t,n,r,o),e.max=Co(e.max,t,n,r,o)}function Ro(e,{x:t,y:n}){Ao(e.x,t.translate,t.scale,t.originPoint),Ao(e.y,n.translate,n.scale,n.originPoint)}const Mo=.999999999999,Oo=1.0000000000001;function Do(e,t){e.min=e.min+t,e.max=e.max+t}function Lo(e,t,n,r,o=.5){Ao(e,t,n,or(e.min,e.max,o),r)}function Io(e,t){Lo(e.x,t.x,t.scaleX,t.scale,t.originX),Lo(e.y,t.y,t.scaleY,t.scale,t.originY)}function jo(e,t){return xo(function(e,t){if(!t)return e;const 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))}const Fo=({current:e})=>e?e.ownerDocument.defaultView:null,Vo=new WeakMap;class No{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={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new Qr(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(ot(e,"page").point)},onStart:(e,t)=>{var n;const{drag:r,dragPropagation:o,onDragStart:i}=this.getProps();if(r&&!o&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=dt(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),bo((e=>{let t=this.getAxisMotionValue(e).get()||0;if(re.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];r&&(t=so(r)*(parseFloat(t)/100))}}this.originPoint[e]=t})),i&&Ke.postRender((()=>i(e,t))),null===(n=this.removeWillChange)||void 0===n||n.call(this),this.removeWillChange=zr(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(r&&null===this.currentDirection)return 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}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>bo((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:Fo(this.visualElement)})}stop(e,t){var n;null===(n=this.removeWillChange)||void 0===n||n.call(this);const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=t;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&Ke.postRender((()=>i(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!_o(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?or(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?or(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&g(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:fo(e.x,n,o),y:fo(e.y,t,r)}}(r.layoutBox,t),this.elastic=function(e=mo){return!1===e?e=0:!0===e&&(e=mo),{x:go(e,"left","right"),y:go(e,"top","bottom")}}(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&bo((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!g(e))return!1;const n=e.current;(0,Nt.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=jo(e,n),{scroll:o}=t;return o&&(Do(r.x,o.offset.x),Do(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:po(e.x,t.x),y:po(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=xo(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=bo((s=>{if(!_o(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,d)}));return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start(Lr(e,n,0,t,this.visualElement,!1,zr(this.visualElement,e)))}stopAnimation(){bo((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){bo((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const 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){bo((t=>{const{drag:n}=this.getProps();if(!_o(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-or(n,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!g(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};bo((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=so(e),o=so(t);return o>r?n=rr(t.min,t.max-r,e.min):r>o&&(n=rr(e.min,e.max-o,t.min)),G(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),bo((t=>{if(!_o(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(or(o,i,r[t]))}))}addListeners(){if(!this.visualElement.current)return;Vo.set(this.visualElement,this);const e=it(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();g(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()),Ke.read(t);const o=nt(window,"resize",(()=>this.scalePositionWithinConstraints())),i=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(bo((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=mo,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:s}}}function _o(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Bo=e=>(t,n)=>{e&&Ke.postRender((()=>e(t,n)))},zo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Uo(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Ho={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!oe.test(e))return e;e=parseFloat(e)}return`${Uo(e,t.target.x)}% ${Uo(e,t.target.y)}%`}},Wo={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=bn.parse(e);if(o.length>5)return r;const i=bn.createTransformer(e),s="number"!=typeof o[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const u=or(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=u),"number"==typeof o[3+s]&&(o[3+s]/=u),i(o)}};class qo extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=$o,Object.assign(B,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),zo.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||Ke.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),p.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{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(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Go(e){const[t,n]=function(){const e=(0,o.useContext)(a.t);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=(0,o.useId)();(0,o.useEffect)((()=>r(i)),[]);const s=(0,o.useCallback)((()=>n&&n(i)),[i,n]);return!t&&n?[!1,s]:[!0]}(),i=(0,o.useContext)(L.L);return(0,r.jsx)(qo,{...e,layoutGroup:i,switchLayoutGroup:(0,o.useContext)(v),isPresent:t,safeToRemove:n})}const $o={borderRadius:{...Ho,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Ho,borderTopRightRadius:Ho,borderBottomLeftRadius:Ho,borderBottomRightRadius:Ho,boxShadow:Wo},Yo=["TopLeft","TopRight","BottomLeft","BottomRight"],Xo=Yo.length,Ko=e=>"string"==typeof e?parseFloat(e):e,Zo=e=>"number"==typeof e||oe.test(e);function Jo(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Qo=ti(0,.5,Kn),ei=ti(.5,.95,Xe.l);function ti(e,t,n){return r=>r<e?0:r>t?1:n(rr(e,t,r))}function ni(e,t){e.min=t.min,e.max=t.max}function ri(e,t){ni(e.x,t.x),ni(e.y,t.y)}function oi(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function ii(e,t,n,r,o){return e=To(e-=t,1/n,r),void 0!==o&&(e=To(e,1/o,r)),e}function si(e,t,[n,r,o],i,s){!function(e,t=0,n=1,r=.5,o,i=e,s=e){if(re.test(t)&&(t=parseFloat(t),t=or(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=or(i.min,i.max,r);e===i&&(a-=t),e.min=ii(e.min,t,n,a,o),e.max=ii(e.max,t,n,a,o)}(e,t[n],t[r],t[o],t.scale,i,s)}const ai=["x","scaleX","originX"],li=["y","scaleY","originY"];function ui(e,t,n,r){si(e.x,t,ai,n?n.x:void 0,r?r.x:void 0),si(e.y,t,li,n?n.y:void 0,r?r.y:void 0)}function ci(e){return 0===e.translate&&1===e.scale}function di(e){return ci(e.x)&&ci(e.y)}function hi(e,t){return e.min===t.min&&e.max===t.max}function fi(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function pi(e,t){return fi(e.x,t.x)&&fi(e.y,t.y)}function mi(e){return so(e.x)/so(e.y)}function gi(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class vi{constructor(){this.members=[]}add(e){He(this.members,e),e.scheduleRender()}remove(e){if(We(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const 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);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{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)}}const yi=(e,t)=>e.depth-t.depth;class bi{constructor(){this.children=[],this.isDirty=!1}add(e){He(this.children,e),this.isDirty=!0}remove(e){We(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(yi),this.isDirty=!1,this.children.forEach(e)}}const xi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},wi="undefined"!=typeof window&&void 0!==window.MotionDebug,Ei=["","X","Y","Z"],Si={visibility:"hidden"};let ki=0;function Pi(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Ti(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;const{visualElement:t}=e.options;return!!t&&(!!_r(t)||!(!e.parent||e.parent.hasCheckedOptimisedAppear)&&Ti(e.parent))}function Ci({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=ki++,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,wi&&(xi.totalNodes=xi.resolvedTargetDeltas=xi.recalculatedProjection=0),this.nodes.forEach(Mi),this.nodes.forEach(Vi),this.nodes.forEach(Ni),this.nodes.forEach(Oi),wi&&window.MotionDebug.record(xi)},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 bi)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Ir),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const 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;var r;this.isSVG=(r=t)instanceof SVGElement&&"svg"!==r.tagName,this.instance=t;const{layoutId:o,layout:i,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(i||o)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e){const t=Ft.now(),n=({timestamp:r})=>{const o=r-t;o>=250&&(Ze(n),e(o-250))};return Ke.read(n,!0),()=>Ze(n)}(r),zo.hasAnimatedSinceResize&&(zo.hasAnimatedSinceResize=!1,this.nodes.forEach(Fi))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||i)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||s.getDefaultTransition()||Wi,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!pi(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);const t={...Ot(o,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||Fi(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Ze(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(_i),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.HandoffCancelAllAnimations&&Ti(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Li);this.isUpdating||this.nodes.forEach(Ii),this.isUpdating=!1,this.nodes.forEach(ji),this.nodes.forEach(Ai),this.nodes.forEach(Ri),this.clearAllSnapshots();const e=Ft.now();Je.delta=G(0,1e3/60,e-Je.timestamp),Je.timestamp=e,Je.isProcessing=!0,Qe.update.process(Je),Qe.preRender.process(Je),Qe.render.process(Je),Je.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,p.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Di),this.sharedNodes.forEach(Bi)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Ke.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Ke.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(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();const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const 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(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!di(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||So(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var r;return e&&(n=this.removeTransform(n)),$i((r=n).x),$i(r.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!(null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)&&!this.path.some(Xi)){const{scroll:e}=this.root;e&&(Do(n.x,e.offset.x),Do(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(ri(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let t=0;t<this.path.length;t++){const r=this.path[t],{scroll:o,options:i}=r;r!==this.root&&o&&i.layoutScroll&&(o.wasRoot&&ri(n,e),Do(n.x,o.offset.x),Do(n.y,o.offset.y))}return n}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};ri(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Io(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),So(r.latestValues)&&Io(n,r.latestValues)}return So(this.latestValues)&&Io(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};ri(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance)continue;if(!So(n.latestValues))continue;Eo(n.latestValues)&&n.updateSnapshot();const r={x:{min:0,max:0},y:{min:0,max:0}};ri(r,n.measurePageBox()),ui(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return So(this.latestValues)&&ui(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!==Je.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=Je.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ho(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),ri(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,uo(s.x,a.x,l.x),uo(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):ri(this.target,this.layout.layoutBox),Ro(this.target,this.targetDelta)):ri(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},ho(this.relativeTargetOrigin,this.target,e.target),ri(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}wi&&xi.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Eo(this.parent.latestValues)&&!ko(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let r=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===Je.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;ri(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,s;t.x=t.y=1;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;const{visualElement:o}=i.options;o&&o.props.style&&"contents"===o.props.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Io(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,Ro(e,s)),r&&So(i.latestValues)&&Io(e,i.latestValues))}t.x<Oo&&t.x>Mo&&(t.x=1),t.y<Oo&&t.y>Mo&&(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={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(oi(this.prevProjectionDelta.x,this.projectionDelta.x),oi(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),lo(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&gi(this.projectionDelta.x,this.prevProjectionDelta.x)&&gi(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),wi&&xi.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(a&&!u&&!0===this.options.crossfade&&!this.path.some(Hi));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,h,f,p,m,g;zi(i.x,e.x,n),zi(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ho(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,m=s,g=n,Ui(f.x,p.x,m.x,g),Ui(f.y,p.y,m.y,g),d&&(l=this.relativeTarget,h=d,hi(l.x,h.x)&&hi(l.y,h.y))&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),ri(d,this.relativeTarget)),a&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=or(0,void 0!==n.opacity?n.opacity:1,Qo(r)),e.opacityExit=or(void 0!==t.opacity?t.opacity:1,0,ei(r))):i&&(e.opacity=or(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<Xo;o++){const i=`border${Yo[o]}Radius`;let s=Jo(t,i),a=Jo(n,i);void 0===s&&void 0===a||(s||(s=0),a||(a=0),0===s||0===a||Zo(s)===Zo(a)?(e[i]=Math.max(or(Ko(s),Ko(a),r),0),(re.test(a)||re.test(s))&&(e[i]+="%")):e[i]=a)}(t.rotate||n.rotate)&&(e.rotate=or(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Ze(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ke.update((()=>{zo.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=W(0)?0:Vr(0);return r.start(Lr("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const 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(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&Yi(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=so(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=so(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}ri(t,n),Io(t,o),lo(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new vi),this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&Pi("z",e,r,this.animationValues);for(let t=0;t<Ei.length;t++)Pi(`rotate${Ei[t]}`,e,r,this.animationValues),Pi(`skew${Ei[t]}`,e,r,this.animationValues);e.render();for(const t in 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 Si;const r={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Be(null==e?void 0:e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Be(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!So(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const s=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),1===t.x&&1===t.y||(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:i,skewX:s,skewY:a}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),o&&(r+=`rotateX(${o}deg) `),i&&(r+=`rotateY(${i}deg) `),s&&(r+=`skewX(${s}deg) `),a&&(r+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),o&&(r.transform=o(s,r.transform));const{x:a,y:l}=this.projectionDelta;r.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:r.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in B){if(void 0===s[e])continue;const{correct:t,applyTo:n}=B[e],o="none"===r.transform?s[e]:t(s[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?Be(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Li),this.root.sharedNodes.clear()}}}function Ai(e){e.updateLayout()}function Ri(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?bo((e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=so(r);r.min=t[e].min,r.max=r.min+o})):Yi(o,n.layoutBox,t)&&bo((r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],s=so(t[r]);o.max=o.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)}));const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};lo(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?lo(a,e.applyTransform(r,!0),n.measuredBox):lo(a,t,n.layoutBox);const l=!di(s);let u=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const s={x:{min:0,max:0},y:{min:0,max:0}};ho(s,n.layoutBox,o.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};ho(a,t,i.layoutBox),pi(s,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Mi(e){wi&&xi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Oi(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Di(e){e.clearSnapshot()}function Li(e){e.clearMeasurements()}function Ii(e){e.isLayoutDirty=!1}function ji(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Fi(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Vi(e){e.resolveTargetDelta()}function Ni(e){e.calcProjection()}function _i(e){e.resetSkewAndRotation()}function Bi(e){e.removeLeadSnapshot()}function zi(e,t,n){e.translate=or(t.translate,0,n),e.scale=or(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ui(e,t,n,r){e.min=or(t.min,n.min,r),e.max=or(t.max,n.max,r)}function Hi(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Wi={duration:.45,ease:[.4,0,.1,1]},qi=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Gi=qi("applewebkit/")&&!qi("chrome/")?Math.round:Xe.l;function $i(e){e.min=Gi(e.min),e.max=Gi(e.max)}function Yi(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=mi(t),o=mi(n),!(Math.abs(r-o)<=.2));var r,o}function Xi(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const Ki=Ci({attachResizeListener:(e,t)=>nt(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Zi={current:void 0},Ji=Ci({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Zi.current){const e=new Ki({});e.mount(window),e.setOptions({layoutScroll:!0}),Zi.current=e}return Zi.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Qi={pan:{Feature:class extends ft{constructor(){super(...arguments),this.removePointerDownListener=Xe.l}onPointerDown(e){this.session=new Qr(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Fo(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:Bo(e),onStart:Bo(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&Ke.postRender((()=>r(e,t)))}}}mount(){this.removePointerDownListener=it(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ft{constructor(e){super(e),this.removeGroupControls=Xe.l,this.removeListeners=Xe.l,this.controls=new No(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Xe.l}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Ji,MeasureLayout:Go}},es={current:null},ts={current:!1},ns=new WeakMap,rs=[...Kt,dn,bn],os=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],is=T.length;class ss{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:o,visualState:i},s={}){this.applyWillChange=!1,this.resolveKeyframes=(e,t,n,r)=>new this.KeyframeResolver(e,t,n,r,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=rn,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,Ke.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=C(t),this.isVariantNode=A(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in c){const t=c[e];void 0!==a[e]&&W(t)&&t.set(a[e],!1)}}mount(e){this.current=e,ns.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),ts.current||function(){if(ts.current=!0,D.B)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>es.current=e.matches;e.addListener(t),t()}else es.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||es.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){ns.delete(this.current),this.projection&&this.projection.unmount(),Ze(this.notifyUpdate),Ze(this.render),this.valueSubscriptions.forEach((e=>e())),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){const n=U.has(e),r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&Ke.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(()=>{r(),o(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in O){const t=O[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const 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):{x:{min:0,max:0},y:{min:0,max:0}}}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<os.length;t++){const n=os[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const o=t[r],i=n[r];if(W(o))e.addValue(r,o);else if(W(i))e.addValue(r,Vr(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,Vr(void 0!==t?t:o,{owner:e}))}}for(const 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){const e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}const t={};for(let e=0;e<is;e++){const n=T[e],r=this.props[n];(S(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const 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);const 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=Vr(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var o;return null!=r&&("string"==typeof r&&(_t(r)||Vt(r))?r=parseFloat(r):(o=r,!rs.find(Xt(o))&&bn.test(t)&&(r=Tn(e,t))),this.setBaseTarget(e,W(r)?r.get():r)),W(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let r;if("string"==typeof n||"object"==typeof n){const o=Ve(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(r=o[e])}if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||W(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Ir),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class as extends ss{constructor(){super(...arguments),this.KeyframeResolver=An}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 ls extends as{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Oe}readValueFromInstance(e,t){if(U.has(t)){const e=Pn(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(fe(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return jo(e,t)}build(e,t,n){ve(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Ie(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;W(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}class us extends as{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=yo}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(U.has(t)){const e=Pn(t);return e&&e.default||0}return t=De.has(t)?t:c(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return je(e,t,n)}build(e,t,n){Ce(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){Le(e,t,0,r)}mount(e){this.isSVGTag=Ae(e.tagName),super.mount(e)}}const cs=(e,t)=>_(e)?new us(t):new ls(t,{allowProjection:e!==o.Fragment}),ds={...Zr,...Et,...Qi,layout:{ProjectionNode:Ji,MeasureLayout:Go}},hs=V(((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{..._(e)?et:tt,preloadedFeatures:n,useRender:Me(t),createVisualElement:r,Component:e}}(e,t,ds,cs)))},9242:(e,t,n)=>{"use strict";e.exports=n(2162)},9254:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M6.9 7L3 17.8h1.7l1-2.8h4.1l1 2.8h1.7L8.6 7H6.9zm-.7 6.6l1.5-4.3 1.5 4.3h-3zM21.6 17c-.1.1-.2.2-.3.2-.1.1-.2.1-.4.1s-.3-.1-.4-.2c-.1-.1-.1-.3-.1-.6V12c0-.5 0-1-.1-1.4-.1-.4-.3-.7-.5-1-.2-.2-.5-.4-.9-.5-.4 0-.8-.1-1.3-.1s-1 .1-1.4.2c-.4.1-.7.3-1 .4-.2.2-.4.3-.6.5-.1.2-.2.4-.2.7 0 .3.1.5.2.8.2.2.4.3.8.3.3 0 .6-.1.8-.3.2-.2.3-.4.3-.7 0-.3-.1-.5-.2-.7-.2-.2-.4-.3-.6-.4.2-.2.4-.3.7-.4.3-.1.6-.1.8-.1.3 0 .6 0 .8.1.2.1.4.3.5.5.1.2.2.5.2.9v1.1c0 .3-.1.5-.3.6-.2.2-.5.3-.9.4-.3.1-.7.3-1.1.4-.4.1-.8.3-1.1.5-.3.2-.6.4-.8.7-.2.3-.3.7-.3 1.2 0 .6.2 1.1.5 1.4.3.4.9.5 1.6.5.5 0 1-.1 1.4-.3.4-.2.8-.6 1.1-1.1 0 .4.1.7.3 1 .2.3.6.4 1.2.4.4 0 .7-.1.9-.2.2-.1.5-.3.7-.4h-.3zm-3-.9c-.2.4-.5.7-.8.8-.3.2-.6.2-.8.2-.4 0-.6-.1-.9-.3-.2-.2-.3-.6-.3-1.1 0-.5.1-.9.3-1.2s.5-.5.8-.7c.3-.2.7-.3 1-.5.3-.1.6-.3.7-.6v3.4z"})})},9473:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});const r=(0,n(1609).createContext)({})},9481:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m12 20-4.5-3.6-.9 1.2L12 22l5.5-4.4-.9-1.2L12 20zm0-16 4.5 3.6.9-1.2L12 2 6.5 6.4l.9 1.2L12 4z"})})},9528:(e,t,n)=>{"use strict";n.d(t,{j:()=>s,u:()=>i});var r,o=n(6206),i=((r=i||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let s=(0,o.FX)((function(e,t){var n;let{features:r=1,...i}=e,s={ref:t,"aria-hidden":!(2&~r)||(null!=(n=i["aria-hidden"])?n:void 0),hidden:!(4&~r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~r)&&!!(2&~r)&&{display:"none"}}};return(0,o.Ci)()({ourProps:s,theirProps:i,slot:{},defaultTag:"span",name:"Hidden"})}))},9594:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(1609),o=n.n(r);function i(){return 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},i.apply(this,arguments)}function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class u extends o().Component{constructor(e){let t;super(e),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),t=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:t}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame((()=>{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let n=1/0,r=t.default||2;for(let o in t){const i=parseInt(o);i>0&&e<=i&&i<n&&(n=i,r=t[o])}r=Math.max(1,parseInt(r)||1),this.state.columnCount!==r&&this.setState({columnCount:r})}itemsInColumns(){const e=this.state.columnCount,t=new Array(e),n=o().Children.toArray(this.props.children);for(let r=0;r<n.length;r++){const o=r%e;t[o]||(t[o]=[]),t[o].push(n[r])}return t}renderColumns(){const{column:e,columnAttrs:t={},columnClassName:n}=this.props,r=this.itemsInColumns(),s=100/r.length+"%";let l=n;l&&"string"!=typeof l&&(this.logDeprecated('The property "columnClassName" requires a string'),void 0===l&&(l="my-masonry-grid_column"));const u=a(a(a({},e),t),{},{style:a(a({},t.style),{},{width:s}),className:l});return r.map(((e,t)=>o().createElement("div",i({},u,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:n,columnClassName:r,columnAttrs:s,column:a,className:l}=e,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let c=l;return"string"!=typeof l&&(this.logDeprecated('The property "className" requires a string'),void 0===l&&(c="my-masonry-grid")),o().createElement("div",i({},u,{className:c}),this.renderColumns())}}u.defaultProps={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};const c=u},9694:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})})},9703:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(5573),o=n(790);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})})},9788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,h=1;function f(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function p(){var e={line:d,column:h};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:d,column:h},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+d+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=h,n.source=e,!l.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function b(){y(r)}function x(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return h+=2,f(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}function E(){var e=p(),n=y(o);if(n){if(w(),!y(i))return v("property missing ':'");var r=y(s),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(a),l}}return b(),function(){var e,t=[];for(x(t);e=E();)!1!==e&&(t.push(e),x(t));return t}()}},9821:(e,t,n)=>{"use strict";n.d(t,{c:()=>o});var r=n(1609);function o(e,t){return(0,r.useMemo)((()=>{var n;if(e.type)return e.type;let r=null!=(n=e.as)?n:"button";return"string"==typeof r&&"button"===r.toLowerCase()||"BUTTON"===(null==t?void 0:t.tagName)&&!t.hasAttribute("type")?"button":void 0}),[e.type,e.as,t])}},9851:(e,t,n)=>{"use strict";n.d(t,{_:()=>i});var r=Object.defineProperty,o=(e,t,n)=>(((e,t,n)=>{t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let i=new class{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},9888:(e,t,n)=>{"use strict";e.exports=n(8493)}}]);